(() => {
      // fetch('https://trustmate.io/widget/api/8af93462-0bd2-4c99-a9a2-77a3354cc80c/html?product=247915') - TODO: remove after platform multihornet fix - !!!frontend do not remove 
  
  const UI = {
    last: (where, what) => {where?.append(what)},
    first: (where, what) => {where?.insertBefore(what, where.firstChild)},
    after: (where, what) => {where?.parentNode.insertBefore(what, where.nextSibling)},
    before: (where, what) => {where?.parentNode.insertBefore(what, where)},
    replace: (where, what) => {where?.replaceWith(what)}
  };

  const RELOADS_LIMIT = 10;
  let reloadsCount = 0;

  function loadWidgetHtml() {
    const tag = document.getElementById('tm-widget-productFerret');

    if (tag) {
      widgetConfig = {
        target: tag.dataset.t,
        action: tag.dataset.a,
        observe: tag.dataset.o
      };

      if (widgetConfig.target && widgetConfig.action) {
        if (!Object.hasOwn(UI, widgetConfig.action)) {
          console.error(`TrustMate: action '${widgetConfig.action}' is wrong`);
          return;
        }

        const target = document.querySelector(widgetConfig.target);

        if (!target) {
          console.error(`TrustMate: target '${widgetConfig.target}' not found`);
          return;
        }

        UI[widgetConfig.action](target, tag);
      }

      tag.innerHTML = `<link rel="stylesheet" href="https://trustmate.io/build/css/widget/productFerret2.ed2e83cf.css"><meta name="viewport" content="width=device-width, initial-scale=1.0"><style>
 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
 
 </style><div
 style="display: none; "
 class="tm-ferret2 tm-productFerret2"
 data-url="https://trustmate.io/"
 data-rating-image=tm-new-star
 data-tm-enable-lazy-loading-image="1"
 data-tm-enable-lazy-loading-script="1"
 ><div class="tm-ferret2__upper-row"><div class="tm-ferret2__nav-buttons"><img
 loading="lazy"
 class="tm-ferret2__nav-button tm-ferret2__nav-button--disable tm-carousel-button-prev"
 width="20"
 height="30"
 src="https://trustmate.io/images/widgets/arrow_button.png"
 alt="prev"
 ><img
 loading="lazy"
 class="tm-ferret2__nav-button tm-ferret2__nav-button--next tm-carousel-button-next"
 id="navRightBtn"
 width="20"
 height="30"
 src="https://trustmate.io/images/widgets/arrow_button.png"
 alt="next"
 ></div><div class="tm-grades tm-grades--desktop"><div class="tm-grades__grade">
 0.0
 </div><div class="tm-grades__grade-text">
 Ocena
 </div><div class="tm-grades__logo"><img loading="lazy" width="186" height="36" src="https://trustmate.io/images/logo-trustmate-2022.png" alt="TrustMate logo"></div><div class="tm-grades__text"><span>Na podstawie</span><div class="tm-grades__text--mobile-version tm-score-platforms" data-reviews="0"><span class="tm-grades__text--color" data-tm-reviews-count="0">0</span>
 opinii
 </div></div></div><div class="tm-grades tm-grades--mobile"><div class="tm-grades__grade">
 0.0
 </div><div class="tm-grades__grade-text">
 Ocena
 </div><div class="tm-grades__text"><span>Na podstawie</span><div class="tm-grades__text--mobile-version tm-score-platforms" data-reviews="0"><span class="tm-grades__text--color" data-tm-reviews-count="0">0</span>
 opinii
 </div></div></div></div><div
 id="carousel-container"
 class="tm-carousel tm-carousel-wrapper"
 data-tmCarouselInterval=0
 ><div class="tm-carousel__omnibus-button-wrapper"><div class="tm-omnibus-modal__button" data-omnibus-modal-url=https://trustmate.io/api/widget/pl/ab23d0a5-2f08-467d-84c0-69164f1c8100/omnibus-modal><i class="tm-omnibus-modal__icon"></i><span>Jak zbieramy opinie?</span></div></div><div class="tm-carousel__inner tm-carousel"><div class="tm-carousel__track tm-carousel-track"></div></div></div><div class="tm-carousel__progress-track tm-carousel-progress-track"><div class="tm-carousel__dart tm-carousel-dart"></div></div><div class="tm-carousel__footer-mobile"><div class="tm-carousel__verified-mobile">zebranych i zweryfikowanych przez</div><div class="tm-score-box__logo-mobile"><img loading="lazy" width="140" height="27" src="https://trustmate.io/images/logo-trustmate-2022.png" alt="TrustMate logo"></div></div><div class="tm-productModal-wrapper"><style>
 @keyframes spin{0%{transform:translateX(-50%) rotate(0deg)}100%{transform:translateX(-50%) rotate(360deg)}}@keyframes spin{0%{transform:translateX(-50%) rotate(0deg)}100%{transform:translateX(-50%) rotate(360deg)}}@keyframes spin{0%{transform:translateX(-50%) rotate(0deg)}100%{transform:translateX(-50%) rotate(360deg)}}.tm-productModal-bg{align-items:center;display:none;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:2147483647;background:rgba(255,255,255,.3);backdrop-filter:blur(6px)}.tm-productModal-bg--open{display:flex}.tm-productModal{background:#fff;color:#1d1d1b;font-family:"Inter",sans-serif;font-size:10px;left:50%;position:fixed;top:50%;display:none;transition:all .2s ease-in-out;transform:scale(0) translate(-50%, -50%);transform-origin:top left;z-index:2147483647;box-shadow:6px 6px 19px rgba(0,0,0,.1019607843);border-radius:4px}.tm-productModal .tm-product-origin{opacity:.8}.tm-productModal .tm-translation-button{align-items:center;background-color:#fff;border-radius:1.6em;bottom:0;display:flex;gap:.8em;flex-direction:row;justify-content:center;max-height:3.4em;overflow:hidden;padding:3.2em;padding-bottom:2.4em;padding-top:2em;position:absolute;width:100%;z-index:999;cursor:pointer}.tm-productModal .tm-translation-button img{width:auto;height:14px}.tm-productModal .tm-translation-button>div:nth-child(2){display:none}.tm-productModal .tm-translation-button:focus>div:nth-child(3){display:none}.tm-productModal .tm-translation-button:focus>div:nth-child(2){display:block}.tm-productModal .tm-translation-button-text{font-size:1.2em}.tm-productModal .tm-productModal__review-original{display:none}.tm-productModal__review-default{font-size:1.3em;display:none}.tm-productModal .tm-translation-button:focus~.tm-productModal__review-wrapper>.tm-productModal__review>.tm-productModal__review-translated{display:none}.tm-productModal .tm-translation-button:focus~.tm-productModal__review-wrapper>.tm-productModal__review>.tm-productModal__review-original{display:block}.tm-productModal .tm-comment__comment{align-items:center;background-color:#fff;border-radius:1.6em;cursor:pointer;display:flex;gap:.4em;flex-direction:column;max-height:90%;overflow:hidden;padding-bottom:2.6em;position:absolute;transition:transform .5s ease-in-out;bottom:0;padding-left:0;padding-right:0;width:100%;z-index:10;transform:translateY(calc(100% - 4.8em))}.tm-productModal .tm-comment__comment:hover{transform:translateY(10%);z-index:11}.tm-productModal .tm-comment__comment--none{display:none}.tm-productModal .tm-comment__comment:hover .tm-comment__arrow--up{visibility:hidden}.tm-productModal .tm-comment__comment:hover .tm-comment__arrow--down{visibility:unset}.tm-productModal .tm-comment__arrow{border:1px solid blue}.tm-productModal .tm-comment__arrow--hidden{visibility:hidden}.tm-productModal .tm-comment__arrow--up{transform:rotate(180deg);width:100%;display:flex;align-items:center;justify-content:center}.tm-productModal .tm-comment__arrow--down{visibility:hidden;width:100%;display:flex;align-items:center;justify-content:center}.tm-productModal .tm-comment__icon-arrow{width:12px;height:10px;display:block;position:relative}.tm-productModal .tm-comment__icon-arrow:before{position:absolute;width:100%;top:0;left:0;height:100%;background-repeat:no-repeat;content:"";background-image:url("data:image/svg+xml;utf8,<svg width='auto' height='10' viewBox='0 0 18 12' fill='none' xmlns='http://www.w3.org/2000/svg'><g filter='url(%23filter0_d_5_23429)'><path d='M3 1L8 6L13 1L15 2L8 9L1 2L3 1Z' fill='%23FF8730'/></g><defs><filter id='filter0_d_5_23429' x='0' y='0' width='18' height='12' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'><feFlood flood-opacity='0' result='BackgroundImageFix'/><feColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/><feOffset dx='1' dy='1'/><feGaussianBlur stdDeviation='1'/><feComposite in2='hardAlpha' perator='out'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/><feBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_5_23429'/><feBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_5_23429' result='shape'/></filter></defs></svg>")}.tm-productModal .tm-comment__header{align-items:center;display:flex;gap:.8em;justify-content:center;margin-bottom:1.2em}.tm-productModal .tm-comment__chat-icon{width:14px;height:14px;position:relative}.tm-productModal .tm-comment__chat-icon:before{position:absolute;width:100%;top:0;left:0;height:100%;background-repeat:no-repeat;content:"";background-image:url("data:image/svg+xml;utf8,<svg width='auto' height='13' viewBox='0 0 20 18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 0.25C4.47661 0.25 0.00109863 3.88672 0.00109863 8.375C0.00109863 10.2355 0.778833 11.9395 2.0679 13.3047C1.48665 14.8477 0.276099 16.1516 0.256567 16.166C-0.00222169 16.4395 -0.0705811 16.8398 0.0759033 17.1816C0.22731 17.5234 0.561763 17.75 0.937544 17.75C3.33989 17.75 5.19926 16.7441 6.37114 15.9434C7.46489 16.2969 8.7227 16.5 10 16.5C15.5235 16.5 19.9649 12.8621 19.9649 8.375C19.9649 3.88789 15.5235 0.25 10 0.25ZM10.004 14.625C8.95903 14.625 7.92895 14.4639 6.94223 14.1516L6.05356 13.8732L5.29184 14.4104C4.7352 14.8057 3.9684 15.2455 3.04575 15.5432C3.33383 15.0697 3.60707 14.5373 3.82231 13.9709L4.23715 12.8771L3.43168 12.0229C2.72739 11.2695 1.87778 10.0234 1.87778 8.375C1.87778 4.92773 5.52036 2.125 10.0028 2.125C14.4852 2.125 18.1278 4.92773 18.1278 8.375C18.1278 11.8223 14.4844 14.625 10.004 14.625Z' fill='%23FF8730'/></svg>")}.tm-productModal .tm-comment__header-text{font-size:1.4em;font-weight:500}.tm-productModal .tm-comment__text{align-self:flex-start;font-size:1.2em;padding-left:.4em;overflow-y:auto;scrollbar-width:none;text-align:left;min-height:2.6em;max-height:60%;margin-bottom:.4em}.tm-productModal .tm-comment__text::-webkit-scrollbar{width:.4em}.tm-productModal .tm-comment__text::-webkit-scrollbar,.tm-productModal .tm-comment__text::-webkit-scrollbar-thumb{overflow:visible;border-radius:4px}.tm-productModal .tm-comment__text::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2)}.tm-productModal .tm-comment__comment:hover .tm-comment__arrow--up{visibility:hidden}.tm-productModal .tm-comment__comment .tm-comment__arrow--down{visibility:hidden}.tm-productModal .tm-comment__comment:hover .tm-comment__arrow--down{visibility:unset}.tm-productModal .tm-comment__comment:hover~.tm-productModal__review-wrapper,.tm-productModal .tm-comment__comment:hover~.tm-productModal__review-createdAt{filter:blur(6px) !important;transition:filter .4s ease-in-out}.tm-productModal__hidden{display:none !important}.tm-productModal__translation-button{display:flex;gap:.4em;justify-content:center;align-items:center;cursor:pointer;margin-top:2.4em}@keyframes fadein{0%{opacity:0}1%{opacity:0}100%{opacity:1}}.tm-productModal__animate{display:unset;transform:scale(1) translate(-50%, -50%);animation:.2s ease 0s normal forwards 1 fadein;transform-origin:top left}.tm-productModal__close{background:#ff8730;border-radius:50%;cursor:pointer;height:2.2em;position:absolute;right:-8px;top:-8px;transition:all .3s;width:2.2em;z-index:999}@media(max-width: 768px){.tm-productModal__close{right:8px;top:8px}}.tm-productModal__close:hover,.tm-productModal__close:focus{background:#ff6b00}.tm-productModal__close::before,.tm-productModal__close::after{background:#fff;border-radius:5px;content:"";display:block;height:3px;position:absolute;top:50%;left:50%;width:1.4em}.tm-productModal__close::before{transform:translate(-50%, -50%) rotate(45deg)}.tm-productModal__close::after{transform:translate(-50%, -50%) rotate(-45deg)}.tm-productModal__container{overflow-y:hidden;width:90vw;max-height:900px;max-width:1500px;height:80vh;display:grid;min-height:400px;grid-template-columns:3fr 2fr;overflow:hidden}@media(max-width: 768px){.tm-productModal__container{grid-template-rows:60% 40%;grid-template-columns:1fr}}.tm-productModal__container--without-image{grid-template-columns:minmax(360px, 600px);grid-template-rows:600px}.tm-productModal__image-wrapper{align-items:center;box-sizing:border-box;display:flex;justify-content:center;overflow:hidden;position:relative;background-color:#f0f0f0}.tm-productModal__image-wrapper img{overflow:hidden;object-fit:cover;max-height:100%;max-width:100%}.tm-productModal__image-wrapper iframe{height:100%;width:100%}.tm-productModal__video{height:100%;width:100%}.tm-productModal__play{background-repeat:no-repeat;background-image:url('data:image/svg+xml,<svg width="22" height="28" viewBox="0 0 22 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0V28L22 14L0 0Z" fill="LightGray"/></svg>');height:28px;width:22px;position:absolute}.tm-productModal__small-images{position:absolute;left:5px;top:10px;overflow:hidden;display:flex;flex-direction:row;justify-content:flex-start;height:51px;width:calc(100% - 10px)}.tm-productModal__small-image{display:flex;align-items:center;justify-content:center;margin:0 5px;cursor:pointer;box-sizing:border-box;height:50px;width:50px}.tm-productModal__small-image--active{border-bottom:1px solid #ff8730;cursor:default}.tm-productModal__small-image img{overflow:hidden;box-sizing:border-box;object-fit:cover;height:100%;width:100%}.tm-productModal__nav{all:unset;position:absolute;top:50%;cursor:pointer;border-radius:50%;background-color:#fff;padding:.8em;width:32px;height:32px;display:flex;align-items:center;justify-content:center;opacity:.95}.tm-productModal__nav:focus{outline:revert}.tm-productModal__nav--next{right:16px;transform:rotate(-180deg)}.tm-productModal__nav--next img{transform:translateX(-0.2em)}.tm-productModal__nav--prev{left:16px}.tm-productModal__nav--prev img{transform:translateX(-0.2em)}.tm-productModal__nav--disable{pointer-events:none;opacity:.4;border-color:#000}.tm-productModal__product-link-btn{padding:.4em 1.6em;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;cursor:pointer;position:absolute;font-weight:600;font-size:1.2em;bottom:20px;right:10px}.tm-productModal__product-link-btn>a{color:#ff8730}.tm-productModal__product-link-btn--with-img{bottom:70px}@media(min-width: 768px){.tm-productModal__product-link-btn{bottom:20px}.tm-productModal__product-link-btn--with-img{bottom:120px}}.tm-productModal__info-wrapper{width:calc(100% - 1.6em);margin:.8em;padding:4em 0 6.2em 0;box-sizing:border-box;position:relative;height:100%}.tm-productModal__review-wrapper{display:flex;justify-content:center;flex-direction:column;align-items:center;gap:12px;position:relative;margin-bottom:3.2em}.tm-productModal__review{overflow-y:auto;height:fit-content;padding:.8em 2.4em 2.4em 2.4em;max-height:180px}@media(min-width: 768px){.tm-productModal__review{max-height:320px}}.tm-productModal__review--long{max-height:90px}@media(min-width: 768px){.tm-productModal__review--long{max-height:360px}}.tm-productModal__review p{font-size:1.4em;font-weight:400;line-height:1.3;letter-spacing:0em}.tm-productModal__review::-webkit-scrollbar{width:.4em}.tm-productModal__review::-webkit-scrollbar,.tm-productModal__review::-webkit-scrollbar-thumb{overflow:visible;border-radius:4px}.tm-productModal__review::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2)}.tm-productModal__author-wrapper{display:flex;align-items:center;justify-content:center;gap:8px}.tm-productModal__author-name{font-size:2em;font-weight:700;text-align:center;line-height:1}.tm-productModal__review-createdAt{color:rgba(0,0,0,.61);margin-bottom:1.6em;text-align:center}.tm-productModal__review-createdAt--bottom{position:absolute;bottom:2em;left:0;right:0;margin:0 auto}.tm-productModal__review-grade{width:100%}.tm-productModal__review-stars{display:flex;align-items:center;justify-content:center}.tm-review-stars__star{margin:.2em}.tm-review-stars__star img{height:2.4em;width:auto;opacity:.4}.tm-review-stars__star .trustmate-star__icon{position:relative;height:1.9em;content:url("data:image/svg+xml;utf8,<svg width='100%' height='100%' viewBox='0 0 35 40' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M34.6637 11.889C31.5072 12.9634 26.9789 14.8724 22.2597 18.3307C20.04 19.96 18.2109 21.616 14.0466 25.9534C10.7658 29.3762 6.39737 34.0866 1.38072 39.9734C1.42956 35.081 2.0866 27.6226 5.1987 19.1831C8.5239 10.1798 13.2609 3.79578 16.5594 0C17.0478 2.17092 17.8202 4.74584 19.0766 7.52053C19.8846 9.3141 20.7592 10.8857 21.6071 12.2353C19.1698 13.3762 15.8047 15.2897 12.4484 18.4462C9.74476 20.9856 7.88461 23.5516 6.63266 25.5805C8.6704 23.1032 12.1954 19.4539 17.5361 16.515C24.5816 12.6393 31.1787 11.9822 34.6682 11.889H34.6637Z' fill='url(%23paint0_linear_122_1139)'/><path d='M28.7503 19.1298C27.1432 21.6426 26.0644 24.0133 25.3363 25.9756C26.1798 27.6981 27.05 29.7758 27.7781 32.1864C28.6526 35.0988 29.0966 37.7403 29.3186 39.9334C27.0677 38.0999 24.4129 36.1554 21.3408 34.2552C18.4329 32.4484 15.6626 31.0011 13.1499 29.8335C13.9712 28.7813 15.1343 27.3474 16.5994 25.7092C18.4151 23.6759 20.8613 20.9367 24.1155 18.3352C26.3885 16.5194 29.8513 14.1309 34.6549 12.0976L34.6238 12.1243C32.8702 13.7491 30.7303 16.0532 28.7592 19.1298H28.7503Z' fill='url(%23paint1_linear_122_1139)'/><path d='M6.35294 14.0643C5.51831 14.0466 4.34628 13.9356 3.00999 13.505C1.69145 13.0788 0.683685 12.4927 0 12.0222C0.0355161 13.4828 0.195339 15.2408 0.617092 17.1897C1.15427 19.6448 1.94895 21.6737 2.69034 23.2142C3.09878 21.7136 3.63596 20.0532 4.35516 18.2819C4.99445 16.7103 5.67813 15.303 6.3485 14.0643H6.35294Z' fill='url(%23paint2_linear_122_1139)'/><defs><linearGradient id='paint0_linear_122_1139' x1='-4.32798' y1='33.8316' x2='27.5032' y2='4.1867' gradientUnits='userSpaceOnUse'><stop stop-color='%23FFA727'/><stop offset='0.05' stop-color='%23FE9F20'/><stop offset='0.2' stop-color='%23FD8D0E'/><stop offset='0.36' stop-color='%23FC8103'/><stop offset='0.53' stop-color='%23FC7E00'/><stop offset='1' stop-color='%23FF4800'/></linearGradient><linearGradient id='paint1_linear_122_1139' x1='19.0632' y1='36.174' x2='39.4215' y2='17.2162' gradientUnits='userSpaceOnUse'><stop stop-color='%23FFA727'/><stop offset='0.05' stop-color='%23FE9F20'/><stop offset='0.2' stop-color='%23FD8D0E'/><stop offset='0.36' stop-color='%23FC8103'/><stop offset='0.53' stop-color='%23FC7E00'/><stop offset='1' stop-color='%23FF4800'/></linearGradient><linearGradient id='paint2_linear_122_1139' x1='2.99011' y1='11.7112' x2='4.1884' y2='23.0595' gradientUnits='userSpaceOnUse'><stop stop-color='%23FFA727'/><stop offset='0.05' stop-color='%23FE9F20'/><stop offset='0.2' stop-color='%23FD8D0E'/><stop offset='0.36' stop-color='%23FC8103'/><stop offset='0.53' stop-color='%23FC7E00'/><stop offset='1' stop-color='%23FF4800'/></linearGradient></defs></svg>")}.tm-review-stars__star--active img{opacity:1}
 </style><div class="tm-productModal-bg"></div><div class="tm-productModal"><span class="tm-productModal__close" role="button" tabindex="0"></span><div class="tm-productModal__container"><div class="tm-productModal__image-wrapper"><video class="tm-productModal__video"></video><iframe class="tm-productModal__iframe"></iframe><img class="tm-productModal__image" loading="lazy" onerror="this.onerror=null;this.src='https://trustmate.io/images/icons/camera.png';" alt="zdjęcie produktu"/><button class="tm-productModal__nav tm-productModal__nav--prev tm-productModal____hidden"><img
 loading="lazy"
 width="20"
 height="30"
 src="https://trustmate.io/images/widgets/arrow_button.png"
 alt="prev image"
 /></button><button class="tm-productModal__nav tm-productModal__nav--next tm-productModal____hidden"><img
 loading="lazy"
 width="20"
 height="30"
 src="https://trustmate.io/images/widgets/arrow_button.png"
 alt="next image"
 /></button><div
 class="tm-productModal__small-images" 
 ></div></div><div class="tm-productModal__info-wrapper"><div role="button" class="tm-translation-button" tabindex="0"><img loading="lazy" width="20" height="14" src="https://trustmate.io/images/widgets/icons/eye.svg" alt=""><div class="tm-translation-button-text" tabindex="0">
 Pokaż tłumaczenie
 </div><div class="tm-translation-button-text">
 Pokaż oryginał
 </div></div><div class="tm-comment__comment
 "><div class="tm-comment__arrow--up"><i class="tm-comment__icon-arrow"></i></div><div class="tm-comment__header"><i class="tm-comment__chat-icon"></i><div class="tm-comment__header-text">
 Komentarz sklepu
 </div></div><div class="tm-comment__text"></div><div class="tm-comment__arrow--down"><i class="tm-comment__icon-arrow"></i></div></div><div class="tm-productModal__review-wrapper"><div class="tm-productModal__author-wrapper"><div class="tm-productModal__author-name"></div></div><div class="tm-productModal__review-grade"><div class="tm-productModal__review-stars"><div class="tm-review-stars__star"><img src="data:," alt class="trustmate-star__icon" /></div><div class="tm-review-stars__star"><img src="data:," alt class="trustmate-star__icon" /></div><div class="tm-review-stars__star"><img src="data:," alt class="trustmate-star__icon" /></div><div class="tm-review-stars__star"><img src="data:," alt class="trustmate-star__icon" /></div><div class="tm-review-stars__star"><img src="data:," alt class="trustmate-star__icon" /></div></div></div><div class="tm-productModal__review"><p class="tm-productModal__review-translated"></p><p class="tm-productModal__review-original"></p><div class="tm-productModal__review-default">
 Ocena klienta: <span style="font-style: italic;">Dobrze</span><span style="font-style: italic;">: Doskonale</span></div></div></div><div class="tm-productModal__review-createdAt"><span>Dodano: </span><span class="tm-productModal__review-createdAt-text"></span></div></div></div></div></div></div>`;

      if (widgetConfig.target && widgetConfig.action && widgetConfig.observe) {
        const observeTag = document.querySelector(widgetConfig.observe);
        if (observeTag) {
          const widgetObserver = new MutationObserver((mutations, observer) => {
            const tag = document.getElementById('tm-widget-productFerret');
            if (tag) return;
            observer.disconnect();
            if (reloadsCount >= RELOADS_LIMIT) {
              console.error('TrustMate: widget tm-widget-productFerret reload limit reached');
              return;
            }
            ++reloadsCount;
            const newTag = document.createElement('div');
            newTag.id = 'tm-widget-productFerret';
            newTag.dataset.a = widgetConfig.action;
            newTag.dataset.t = widgetConfig.target;
            newTag.dataset.o = widgetConfig.observe;
            const target = document.querySelector(widgetConfig.target);
            if (!target) {
              console.error(`TrustMate: target '${widgetConfig.target}' not found after last html change`);
              return;
            }
            UI[widgetConfig.action](target, newTag);
            loadWidgetScript();
          });
          widgetObserver.observe(observeTag, {childList: true, subtree: true});
        }
      }
    } else {
      console.error('TrustMate: No tag for tm-widget-productFerret');
    }
  }

  function waitForWindow() {
    let index = 0;
    const intervalWindowId = setInterval(function() {
      if (typeof window !== 'undefined') {
        clearInterval(intervalWindowId);
        loadWidgetScript();
      }
      index += 1;
      if (index > 50) {
        clearInterval(intervalWindowId);
      }
    }, 50);
  }

  function loadWidgetScript() {
    if (20567 < 10) return;

    function scriptExists(url) {
      return document.querySelectorAll(`script[src="${url}"]`).length > 0;
    }

    if(scriptExists('https\u003A\/\/trustmate.io\/build\/js\/widget\/productFerret2.2dc5057f.js')) {
      function removeJs(src) {
        document.querySelector(`script[src="${src}"]`).remove();
      }

      removeJs('https\u003A\/\/trustmate.io\/build\/js\/widget\/productFerret2.2dc5057f.js');
    }

    const widgetScript = document.createElement('script');
    widgetScript.src = 'https\u003A\/\/trustmate.io\/build\/js\/widget\/productFerret2.2dc5057f.js';
    widgetScript.defer = true;
    widgetScript.onload = () => {
      loadWidgetHtml();
    };
    document.body.appendChild(widgetScript);
  }

  if (typeof window === 'undefined') {
    waitForWindow();
  } else {
    loadWidgetScript();
  }
})();
