{"data":[{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"b6b73afd-782a-412a-9c00-2f983f5ae032","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"tshirt one love - kafelek mobile","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6319160,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-mainWrapper .b-productList","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"3568f706-38fd-49ad-893b-db0c624dc9e1","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Price difference - Oszczędzasz % - PP - kolor timbkowy","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS","delayValue":"1"},"type":"ON_LANDING"},"variants":[{"content":{"css":".diff-container {\r\n background-color: #f5a019;\r\n color: black;\r\n max-width: 50px;\r\n text-align: center;\r\n padding: 7px 25px;\r\n font-size: 13px;\r\n font-weight: 600;\r\n line-height: 10px;\r\n margin-top: 10px;\r\n font-family: SemplicitaPro;\r\n}","html":"
- %
","js":"(function() {\n// var category = [\"Buty piłkarskie\", \"Akcesoria damskie\", \"Buty lifestyle\"];\n// var minPrice = 50;\nfunction insertSnrs(sale) {\nif (typeof category != 'undefined' && category.length > 0) {\n[].forEach.call(document.querySelectorAll('meta[itemprop=\"category\"]'), function(item) {\nif (category.indexOf(item.content) != -1) {\nflag = true;\n}\n})\nif (flag) {\ndocument.querySelector('.difference-snrs').innerText = sale.toFixed(0);\ndocument.querySelector('.diff-container').style.display = \"inline\";\n}\n} else {\ndocument.querySelector('.difference-snrs').innerText = sale.toFixed(0);\ndocument.querySelector('.diff-container').style.display = \"inline\";\n}\nwindow.dataLayer.push({\n'event': 'Synerise',\n'eventcategory': 'onsite marketing',\n'eventaction': 'show',\n'eventlabel': 'PD - procent produkt,bfadf351-df43-4e1d-87d1-1230b76ecbce',\n'eventlabel2': 'PD - procent produkt'\n});\n}\nvar flag = false;\nvar pageContentType = document.querySelector('meta[property=\"og:type\"]').getAttribute(\"content\");\nif ((pageContentType == \"product\") && document.querySelector('[data-tooltip-target=\"priceOld\"]')) {\nvar salePrice = parseFloat(document.querySelector('[data-tooltip-target=\"priceOld\"] .price-value').innerText.replace(',', '.'));\nvar originalPrice = parseFloat(document.querySelector('[data-tooltip-target=\"price\"] .price-value').innerText.replace(',', '.'));\n// var sale = salePrice - originalPrice;\nvar sale = 100 - Math.round((originalPrice * 100) / salePrice);\nif (typeof minPrice != 'undefined' && minPrice != null) {\nif (sale != 0 && originalPrice > minPrice) {\ninsertSnrs(sale);\n}\n} else {\ninsertSnrs(sale);\n}\n}\nif (document.querySelector('.b-productGallery .b-emblem[data-emblem-id=\"18747\"]')) {\ndocument.querySelector('.diff-container').style.marginTop = \"37px\";\n}\nif (!document.querySelector('[data-tooltip-target=\"priceOld\"] .price-value')) {\ndocument.querySelector('.diff-container').style.display = \"none\";\n}\r\n}())"},"id":5188496,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productGallery .b-emblemArea .b-emblems-left","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"37ed3fce-0b86-4bae-ac50-177329279a10","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"KP - tooltip text (prod)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"","html":"","js":"(function() {\nvar inshopCallback = function() {\nif (document.querySelector(\"meta[content='Buty']\")) {\n[].forEach.call(document.querySelectorAll('.js-tooltipContent'), function(item) {\nvar toolText = item.innerText;\nif (/Długość/i.test(toolText)) {} else {\nitem.insertAdjacentHTML(\"afterbegin\", \"Długość stopy w \");\n}\n});\n};\n};\nvar inshopCallbackMobile = function() {\nif (document.querySelector(\"meta[content='Buty']\")) {\n[].forEach.call(document.querySelectorAll('.js-sizeItem'), function(item) {\nvar toolId = item.getAttribute('data-tip');\nif (/Długość/i.test(toolId)) {} else {\nitem.setAttribute('data-tip', \"Długość stopy w \" + toolId);\n}\n});\n}\n};\nvar inshopTarget = document.querySelector('body');\nvar inshopObserver = new MutationObserver(inshopCallback);\nvar inshopObserverMobile = new MutationObserver(inshopCallbackMobile);\ninshopObserver.observe(inshopTarget, { childList: true });\ninshopObserverMobile.observe(inshopTarget, { childList: true });\n}())"},"id":5491596,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-sticky-product .m-productDescr_sizes","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"3c3d3188-e1bd-4738-88d9-04087ec9634a","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"TrustMate - widget stars","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":".snrs-hornet-widget {\r\n display: -webkit-box;\r\n display: -webkit-flex;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-flex-wrap: wrap;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n -webkit-box-align: center;\r\n -webkit-align-items: center;\r\n -ms-flex-align: center;\r\n align-items: center;\r\n -webkit-align-self: flex-start;\r\n -ms-flex-item-align: start;\r\n align-self: flex-start;\r\n -webkit-box-pack: justify;\r\n -webkit-justify-content: flex-start;\r\n -ms-flex-pack: justify;\r\n justify-content: flex-start;\r\n}\r\n.snrs-hornet-header {\r\n margin: 0 0 10px 5px;\r\n cursor: pointer;\r\n}\r\n.trust-hornet {\r\n margin: 0;\r\n cursor:pointer;\r\n}\r\n.tm-hornet-container .tm-hornet-wrapper .tm-grade-label__text {\r\ncolor:#9f9f9f !important;\r\n}","html":"

Zobacz opinie

","js":"(function() {\nvar s = document.createElement('script');\nvar _erp = document.querySelector('meta[property=\"product:retailer_part_no\"]').getAttribute('content');\ns.type = \"text/javascript\";\ns.src = \"https://trustmate.io/api/widget/40de413b-c088-4b3a-a0b3-31a9088523dc/script?product=\" + _erp;\ndocument.head.appendChild(s);\nvar stars = document.querySelector('.trust-hornet');\nvar header = document.querySelector('.snrs-hornet-header');\nlet btnsArray = [stars, header];\nbtnsArray.forEach(btn => {\nbtn.addEventListener('click', function () {\nif ($('.snr-accordion')) {\nif ($(window).width() < 768 && $('.m-accordion_third.snr-accordion')) {\n$('html, body').animate({\nscrollTop: $('.m-accordion_third.snr-accordion').offset().top - 80\n}, 'slow');\n} else {\n$('html, body').animate({\nscrollTop: $('.m-accordion_third.snr-accordion').offset().top - 150\n}, 'slow');\n}\n}\nSR.event.trackCustomEvent('dc_rec.click', {\ngroupName: 'Synerise',\ndevice: (SyneriseTC.os.mobile ? 'mobile' : 'desktop'),\ncampaignType: '',\nplacement: 'TrustMate widget - KP STARS',\nhashName: '',\ntitle: 'stars',\ncampaignId: '3c3d3188-e1bd-4738-88d9-04087ec9634a',\nproductID: '',\nmpn: '',\nrecommendationId: ''\n}, 'Recommendations click');\r\n\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'TrustMate widget - KP STARS',\neventaction: 'click',\neventlabel: 'cards',\neventlabel2: ''\n});\nif(document.querySelector('.m-accordion_third.snr-accordion')) {\ndocument.querySelector('.m-accordion_third.snr-accordion').click();\n}\n});\n\n});\r\n\r\n}())"},"id":6213493,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productPage .price.price-product .price-new","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"?testtrust","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"3fdd5689-bd86-43b0-b81c-6a7949e8dec9","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Widget LOY - KP (nieklub)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5322262,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productCta .m-productDescr_cta .js-add-to-save-box ","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"5b1c3a7a-f5aa-481f-96be-da41f2843887","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Loy progress LP (expression)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":4832360,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-landingpage .m-article_text","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[{"requirement":"https://e-timberland.pl/loy2","type":"CONTAIN"}],"viewsPageUrl":[{"requirement":"https://e-timberland.pl/loy","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"90f6f400-17ae-4c1f-a825-006157dadd13","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Price diff - category - NEW - kolor timbkowy","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS","delayValue":"1"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5188238,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productList_content","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"aacb4558-c3fd-4eab-99fb-73e2a20d695c","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"[form pass] - show/hide - login","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"body .m-form_field {\r\n position: relative;\r\n }\r\n\r\n body .m-form_field #toggler {\r\n position: absolute;\r\n right: 20px;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n cursor: pointer;\r\n color: #444;\r\n }","html":"Pokaż","js":" var password = document.getElementById('enp_customer_form_login_password');\nvar toggler = document.getElementById('toggler');\nshowHidePassword = () => {\nif (password.type == 'password') {\npassword.setAttribute('type', 'text');\ntoggler.innerHTML = \"Ukryj\";\n} else {\npassword.setAttribute('type', 'password');\ntoggler.innerHTML = \"Pokaż\";\n}\n};\ntoggler.addEventListener('click', showHidePassword);"},"id":6254853,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#enp_customer_form_login_password","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"/login","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"39c522ca-820f-4f9f-8387-f827f366f16f","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"generation boat D- kafelek mobile","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6318610,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-mainWrapper .b-productList","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"/generation-boat","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"9db71b32-a598-4430-aa5f-f3f292090846","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"LP - Earthkeeper - jq","targetRestriction":["DESKTOP"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"#shoes-one{\r\n opacity: 1;\r\n}\r\n\r\n#shoes-two, #shoes-three{\r\n opacity: 0.2;\r\n}","html":"","js":"$('.slick-multiple').slick({\nslidesToShow: 4,\nslidesToScroll: 1,\nprevArrow: '\"\"',\nnextArrow: '\"\"',\nresponsive: [{\nbreakpoint: 1020,\nsettings: {\nslidesToShow: 1,\nslidesToScroll: 1\n},\n}],\r\n});\r\n\r\n $('.slick-shoes').slick({\nslidesToShow: 1,\nslidesToScroll: 1,\narrows: true,\nfade: true,\nprevArrow: '\"\"',\nnextArrow: '\"\"'\r\n});\n$('.slick-shoes').on('afterChange', function (e, s, currentSlideIndex) {\nif (currentSlideIndex == 2){\ndocument.getElementById(\"shoes-three\").style.opacity=\"1\";\n}else{\ndocument.getElementById(\"shoes-three\").style.opacity=\"0.2\";\n}\nif (currentSlideIndex == 1){\ndocument.getElementById(\"shoes-two\").style.opacity=\"1\";\n}else{\ndocument.getElementById(\"shoes-two\").style.opacity=\"0.2\";\n}\nif (currentSlideIndex == 0){\ndocument.getElementById(\"shoes-one\").style.opacity=\"1\";\n}else{\ndocument.getElementById(\"shoes-one\").style.opacity=\"0.2\";\n}\n});"},"id":6096692,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#earthkeepers","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"christopher-raeburn","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"34aeb571-9fe0-43c7-8ac4-5a18b079b0ce","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - niedostępne KPN","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":3220633,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productPage .m-productDescr_unavailable","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[{"requirement":"?testrec","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"916e076c-de10-4a0d-bfb9-a020f8c57e7a","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - 0 search (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6380217,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-wideContent .b-search.b-search_empty","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"ac1bb307-41be-4441-a8bd-9e16b616af3c","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"[Loy 3.0] progress LP (loy2)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6061966,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-landingpage .m-article_text","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"https://e-timberland.pl/loy2","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"f71c37ee-7059-4c2a-bc9b-1e4415e49693","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Prekoszyk - ramka rec product care ","targetRestriction":["DESKTOP"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5227347,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-quickCart_sub .ps__rail-x","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"e6b45d83-b652-4f5c-a673-68a6d495e1d1","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - S - Category page (4 prod) (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6380930,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-offerList.b-itemList.items-variant-2 > .b-itemList_item","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"/kids-zone","type":"CONTAIN"},{"requirement":"/nowosci","type":"CONTAIN"},{"requirement":"?page","type":"CONTAIN"},{"requirement":"?sort","type":"CONTAIN"},{"requirement":"/Przygotuj-sie-na-majowke","type":"CONTAIN"},{"requirement":"/feel-the-spring","type":"CONTAIN"},{"requirement":"/winter-is-now","type":"CONTAIN"},{"requirement":"/stay-at-home-2021","type":"CONTAIN"},{"requirement":"/kod-finalsale10","type":"CONTAIN"},{"requirement":"/ruszaj-za-miasto","type":"CONTAIN"},{"requirement":"/stay-safe","type":"CONTAIN"},{"requirement":"/special-offer","type":"CONTAIN"},{"requirement":"/fast-deal","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"3281a641-5e70-48b0-ba4b-a8c984b7dc4f","isABX":true,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Miniatury zdjęć na KP B","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"","html":"","js":"(function() {\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'Miniatury zdjęć na KP - wariant A',\neventaction: 'show',\neventlabel: 'cards',\neventlabel2: ''\n});\nif (document.querySelector('.m-offerGallery_th.overview')) {\nvar ArrowClick = document.querySelectorAll('.m-offerGallery_control .m-arrow_slider');\n[].forEach.call(ArrowClick, function(item) {\nitem.addEventListener(\"click\", function(e) {\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'Testy AB',\neventaction: 'click',\neventlabel: 'Miniatury zdjęć na KP strzałki - wariant A',\neventlabel2: ''\n});\n});\n});\n}\n})()"},"id":5984993,"name":"Variant A","parsedData":{},"percentage":50,"selector":" .b-productPage","selectorPrefix":"AFTER","selector_prefix":"AFTER"},{"content":{"css":"@media (max-width: 768px) {\r\n .b-emblemArea {\r\n background-color: #f7f7f7;\r\n }\r\n .m-offerGallery .m-offerGallery_th li {\r\n width: 70px;\r\n height: 70px;\r\n }\r\n .m-offerGallery .m-offerGallery_th {\r\n display: flex !important;\r\n justify-content: center;\r\n }\r\n .m-offerGallery .m-offerGallery_miniSlider .viewport {\r\n -webkit-transform: none;\r\n -ms-transform: none;\r\n transform: none;\r\n }\r\n .m-offerGallery .m-offerGallery_miniSlider {\r\n position: absolute;\r\n }\r\n .paypo_payment_label {\r\n width:100%;\r\n margin:0;\r\n }\r\n}","html":"","js":"(function() {\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'Miniatury zdjęć na KP - wariant B',\neventaction: 'show',\neventlabel: 'cards',\neventlabel2: ''\n});\nif (document.querySelector('.m-offerGallery_th.overview')) {\nvar itemsClick = document.querySelectorAll('.m-offerGallery_th.overview li img');\n[].forEach.call(itemsClick, function(item) {\nvar imageSrc = item.getAttribute('data-src');\nitem.src = imageSrc;\nitem.addEventListener(\"click\", function(e) {\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'Testy AB',\neventaction: 'click',\neventlabel: 'Miniatury zdjęć na KP - wariant B',\neventlabel2: ''\n});\n});\n});\nvar ArrowClick = document.querySelectorAll('.m-offerGallery_control .m-arrow_slider');\n[].forEach.call(ArrowClick, function(item) {\nitem.addEventListener(\"click\", function(e) {\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'Testy AB',\neventaction: 'click',\neventlabel: 'Miniatury zdjęć na KP strzałki - wariant B',\neventlabel2: ''\n});\n});\n});\n}\r\n\r\n})()"},"id":6044278,"name":"Variant B","parsedData":{},"percentage":50,"selector":" .b-productPage","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"94aa6290-9bc4-4c0d-80ed-bc9c5e60092e","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - S cross sell (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6380316,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-sticky-product .b-product_recomended","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[{"requirement":"e-timberland.pl($|\\/$|\\/\\?)","type":"REGEXP"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"c989973d-8ed0-452b-930c-6207a9c67b6c","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"KP - jak zmierzyć stopę","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5485110,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-sticky-product .m-productDescr_sizesTitle","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"eebe8624-3f7f-4759-a4cb-2d614df2644a","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - S - home page (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6380024,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-homepage .b-mainWrapper .b-carousel #js-imageSlider ","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"fb216813-f27d-4079-9572-d7a02d13355a","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"PayPo banner - product ","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":3873705,"name":"Variant A","parsedData":{},"percentage":100,"selector":".m-offerGallery_wrap.slick-initialized.slick-slider","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"59ba4770-2912-4db5-a8f8-3fcaf184e5ed","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Newsletter - confirmation LP OUTLET","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":3013201,"name":"Variant A","parsedData":{},"percentage":100,"selector":".snr-coupon","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"newsletter-sub-outlet?","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"a211000c-cfd6-4c6e-9871-20822ee41d4e","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - niedostępne KPN (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6381135,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productPage .m-productDescr_unavailable","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"?testrec","type":"CONTAIN"}]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ONCE"},"id":"8a46c14e-a06e-4bac-b392-0ea14a1db805","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Webpush unsubsribe insider","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS","delayValue":"2"},"type":"ON_LANDING"},"variants":[{"content":{},"id":3391542,"name":"Variant A","parsedData":{},"percentage":100,"selector":".snrs-modal-wrapper","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"timberlandpl.snrpage.com/rezygnacja","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"456ac0a5-640e-4b69-80ab-07ab54a8910f","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Newsletter outlet - refresh lp","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS","delayValue":"2"},"type":"ON_LANDING"},"variants":[{"content":{"css":"","html":"","js":"(function () {\nif (document.querySelector('.snrs-coupon-container')) {\nconsole.log('ok');\n} else {\nlocation.reload();\n}\r\n\r\n}())"},"id":4029487,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-header","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"newsletter-sub-outlet","type":"CONTAIN"}]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"756bf343-21af-4673-ae75-54c80d21160d","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"LP - Earthkeeper - jq mobile","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"#shoes-one{\r\n display: block;\r\n}\r\n\r\n#shoes-two, #shoes-three{\r\n display: none;\r\n}","html":"","js":"$('.slick-multiple').slick({\nslidesToShow: 4,\nslidesToScroll: 1,\nprevArrow: '\"\"',\nnextArrow: '\"\"',\ninfinite: false,\nautoplay: false,\nresponsive: [{\nbreakpoint: 1020,\nsettings: {\nslidesToShow: 1,\nslidesToScroll: 1\n},\n}],\r\n});\r\n\r\n $('.slick-shoes').slick({\nslidesToShow: 1,\nslidesToScroll: 1,\narrows: true,\nfade: true,\ninfinite: false,\nautoplay: false,\nprevArrow: '\"\"',\nnextArrow: '\"\"'\r\n});\n$('.slick-shoes').on('afterChange', function (e, s, currentSlideIndex) {\nif (currentSlideIndex == 2){\ndocument.getElementById(\"shoes-three\").style.display=\"block\";\n}else{\ndocument.getElementById(\"shoes-three\").style.display=\"none\";\n}\nif (currentSlideIndex == 1){\ndocument.getElementById(\"shoes-two\").style.display=\"block\";\n}else{\ndocument.getElementById(\"shoes-two\").style.display=\"none\";\n}\nif (currentSlideIndex == 0){\ndocument.getElementById(\"shoes-one\").style.display=\"block\";\n}else{\ndocument.getElementById(\"shoes-one\").style.display=\"none\";\n}\n});"},"id":6102908,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#earthkeepers","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"christopher-raeburn","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"d77c6612-18cb-4a8e-9b18-5288c274adc9","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Newsletter - LP form (oferta) ","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":4552634,"name":"Variant A","parsedData":{},"percentage":100,"selector":".tbl_newsletter_iframe","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[{"requirement":"zapis-newsletter-timberland-outlet","type":"CONTAIN"}],"viewsPageUrl":[{"requirement":"newsletter1","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"timesType":"HOURS"},"type":"ALWAYS"},"id":"26b3e07f-bf0e-497d-96bb-cdaebd3d3f58","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"purchase_progress","medium":"dynamic_content","parameters":{},"source":"synerise","term":"utm_term"}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Purchase progress","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":2326934,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-userMenu","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"koszyk","type":"CONTAIN"}],"viewsPageUrl":[{"requirement":"?test-purchase","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"12eb2b26-7d64-4006-9f11-40ef4865e80f","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - 0 search (EMBLEM) (1)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6412950,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productList_content .b-productList_empty","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"140e09a7-b190-4389-a523-9f741edf61e9","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"TrustMate - widget opinie","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":".snrs-hornet {\r\n margin-left:5px;\r\n}\r\n@media screen and (min-width: 1280px) {\r\n.m-productDescr .m-accordion .m-accordion_third{\r\n float: right;\r\n width: -webkit-calc(50% - 24px);\r\n width: calc(50% - 24px);\r\n margin: 0 12px;\r\n}\r\n}\r\n\r\n.s-accordion_item.snr-accordion {\r\n display: none;\r\n}\r\n.tm-gorilla-container .tm-productModal-container .tm-productModal .tm-productModal-info-wrapper .tm-productModal-product-wrapper .tm-productModal-product-wrapper-info,\r\n.tm-gorilla-container .tm-productModal-container .tm-productModal .tm-productModal-info-wrapper .tm-productModal-review-wrapper,\r\n.tm-gorilla-container .tm-gorilla-avg-grade-wrapper .score-wrapper .score,\r\n.tm-gorilla-container .tm-gorilla-progress__valuePercent,\r\n.tm-gorilla-container .tm-gorilla-review__content-wrapper__text,\r\n.tm-gorilla-container .tm-gorilla-review__content-wrapper__name-section {\r\n color: black !important;\r\n}\r\n\r\n.tm-gorilla-container .tm-gorilla-progress__bar-value {\r\n background-color: black !important;\r\n}\r\n\r\n.tm-gorilla-container .tm-gorilla,\r\n.tm-gorilla-container .tm-productModal-container .tm-productModal .tm-productModal-info-wrapper .tm-productModal-review-wrapper,\r\n.tm-gorilla-container .tm-productModal-container .tm-productModal .tm-productModal-info-wrapper .tm-productModal-product-wrapper {\r\n box-shadow: 0 2px 10px #dce5e4 !important;\r\n}\r\n\r\n.tm-gorilla-container .tm-gorilla-review__border-bottom {\r\n background: #dce5e4 !important;\r\n}\r\n\r\n.m-accordion .m-accordion_item.snr-accordion .m-accordion_content {\r\n padding: 0 10px 10px;\r\n}\r\n\r\n.snr-accordion .tm-gorilla-container .tm-gorilla-review__content-wrapper__name-section__star--dimmed {\r\n opacity: 0.4;\r\n filter: none;\r\n}\r\n\r\n.tm-gorilla-container .tm-gorilla {\r\n text-align: center;\r\n}\r\n\r\n.snr-accordion .tm-gorilla-reviews.snr-acc-hide .tm-gorilla-review {\r\n display: none;\r\n}\r\n\r\n.snr-accordion .tm-gorilla-reviews .tm-gorilla-review:first-child, .snr-accordion .tm-gorilla-reviews .featured-review:first-child .tm-gorilla-review {\r\n display: block;\r\n}\r\n\r\n.snr-accordion-btn {\r\n margin-top: 1rem !important;\r\n font-size: 1rem;\r\n border: none;\r\n background-color: transparent;\r\n}\r\n\r\n@media (max-width: 768px) {\r\n .tm-gorilla-container .tm-productModal-container .tm-productModal .tm-productModal-info-wrapper .tm-productModal-product-wrapper .tm-productModal-product-wrapper-info {\r\n padding: 0.4em 1.6em !important;\r\n }\r\n}\r\n\r\n@media (max-width: 576px) {\r\n .tm-gorilla-container .tm-gorilla-progress-wrapper {\r\n display: block !important;\r\n }\r\n}","html":"

Opinie

","js":"(function() {\nvar s = document.createElement('script');\nvar _erp = document.querySelector('meta[property=\"product:retailer_part_no\"]').getAttribute('content');\ns.type = \"text/javascript\";\ns.src = \"https://trustmate.io/api/widget/fb62a755-7367-4a25-a529-64b0b566f9d2/script?product=\" + _erp;\ndocument.head.appendChild(s);\nvar elementDesktop = document.querySelector('.b-productBottom .m-accordion_third.snr-accordion .m-accordion_title');\nvar toogled = document.querySelector('.b-productBottom .m-accordion_third.snr-accordion .m-accordion_item');\nlet btnsArray = [elementDesktop];\nbtnsArray.forEach(btn => {\nbtn.addEventListener('click', (event) => {\ntoogled.classList.toggle('active');\nSR.event.trackCustomEvent('dc_rec.click', {\ngroupName: 'Synerise',\ndevice: (SyneriseTC.os.mobile ? 'mobile' : 'desktop'),\ncampaignType: '',\nplacement: 'TrustMate widget - KP (accordion + cta opinie)',\nhashName: '',\ntitle: 'accordion',\ncampaignId: '610a2760-e1e0-4d5c-81de-a7c2b24db115',\nproductID: '',\nmpn: '',\nrecommendationId: ''\n}, 'Recommendations click');\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'TrustMate widget - KP (accordion + cta opinie)',\neventaction: 'click',\neventlabel: 'cards',\neventlabel2: ''\n});\n});\n});\nfunction rafAsync() {\nreturn new Promise(resolve => {\nrequestAnimationFrame(resolve);\n});\n}\nfunction checkElement(selector) {\nif (document.querySelector(selector) === null) {\nreturn rafAsync().then(() => checkElement(selector));\n} else {\nreturn Promise.resolve(true);\n}\n}\nasync function checkElement(selector) {\nconst querySelector = null;\nwhile (document.querySelector(selector) === null) {\nawait rafAsync()\n}\nreturn querySelector;\n}\ncheckElement('.tm-gorilla-container')\n.then((element) => {\ndocument.querySelector('.m-accordion_third.snr-accordion').style.display = 'block';\ndataLayer.push({\nevent: 'Synerise',\neventcategory: 'TrustMate widget - KP (accordion + cta zobacz)',\neventaction: 'show',\neventlabel: 'cards',\neventlabel2: ''\n});\nvar gorillaNumber = document.querySelectorAll('.tm-gorilla-progress .tm-gorilla-grade');\n[].forEach.call(gorillaNumber, function(item) {\nitem.insertAdjacentHTML('beforeend', '\"trustmate\"')\n});\n\n});\ncheckElement('.tm-hornet-container')\n.then((element) => {\nif (document.querySelector('.tm-hornet-container .tm-grade-label__text span')) {\nvar opinions = document.querySelector('.tm-hornet-container .tm-grade-label__text span').innerText;\nvar accordion = document.querySelector('.m-accordion_third .m-accordion_title');\naccordion.insertAdjacentHTML('beforeend', '' + opinions + '')\n\n}\n});\r\n\r\n\r\n}())"},"id":6213408,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-sticky-product .b-productBottom .m-accordion_second","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"?testtrust","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"abbc25b4-a39a-4d04-ac1c-f6388f241c06","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Social proof - mnożnik - PROD","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5140315,"name":"Variant A","parsedData":{},"percentage":100,"selector":".js-gallery.m-offerGallery_item.js-thumbs.slick-slide.slick-current.slick-active .m-offerGallery_picture","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"43a8931b-1fb4-423b-ae2e-6c509f420d9f","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"tshirt one love - kafelek klub (loy)","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6319367,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-mainWrapper .b-productList","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"e9d50230-f0f5-4754-9144-0da8669cc21d","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Widget LOY - KP (klub)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5321985,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-productCta .m-productDescr_cta .js-add-to-save-box ","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"5860c76a-462b-4fd9-9d4c-30e6e1554ce2","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"tshirt one love - kafelek klub (nie loy)","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6319463,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-mainWrapper .b-productList","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"fa63f858-8d46-460f-b447-5c828c9780f4","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - S - Category page (3 prod) (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6380531,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-offerList.b-itemList.items-variant-1 > .b-itemList_item","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"?page","type":"CONTAIN"},{"requirement":"/kod-finalsale10","type":"CONTAIN"},{"requirement":" /nowosci","type":"CONTAIN"},{"requirement":"/ruszaj-za-miasto","type":"CONTAIN"},{"requirement":"/special-offer","type":"CONTAIN"},{"requirement":"?sort","type":"CONTAIN"},{"requirement":"/winter-is-now","type":"CONTAIN"},{"requirement":"/Przygotuj-sie-na-majowke","type":"CONTAIN"},{"requirement":"/stay-safe","type":"CONTAIN"},{"requirement":"/feel-the-spring","type":"CONTAIN"},{"requirement":"/stay-at-home-2021","type":"CONTAIN"},{"requirement":"/fast-deal","type":"CONTAIN"},{"requirement":"/kids-zone","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"7748ced6-550c-4e28-86bd-396f0e9289ea","isABX":true,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - A/B - empty cart","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5980655,"name":"Variant A","parsedData":{},"percentage":50,"selector":".b-wideContent .b-cart_empty .b-cart_content","selectorPrefix":"AFTER","selector_prefix":"AFTER"},{"content":{},"id":6125369,"name":"Variant B","parsedData":{},"percentage":50,"selector":".b-wideContent .b-cart_empty .b-cart_content","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"93b6d9d0-30e6-4b13-8545-748233b5dec0","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"[form pass] - show/hide - koszyk/konto","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"body .m-form_field {\r\n position: relative;\r\n }\r\n\r\n body .m-form_field #toggler {\r\n position: absolute;\r\n right: 20px;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n cursor: pointer;\r\n color: #444;\r\n }","html":"Pokaż","js":" var password = document.getElementById('enp_customer_form_login_password');\nvar toggler = document.getElementById('toggler');\nshowHidePassword = () => {\nif (password.type == 'password') {\npassword.setAttribute('type', 'text');\ntoggler.innerHTML = \"Ukryj\";\n} else {\npassword.setAttribute('type', 'password');\ntoggler.innerHTML = \"Pokaż\";\n}\n};\ntoggler.addEventListener('click', showHidePassword);"},"id":6256589,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#enp_customer_form_login_password","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"/koszyk/konto","type":"CONTAIN"}]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"19be4fe9-fc0f-48ef-8762-8c56badfb214","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"newsletter - outlet form","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":".b-landingpage .b-landingpage_content {\r\n width: 100%;\r\n}\r\n\r\n#sm-cutomer-alert {\r\n\r\n -webkit-transform: translateX(-50%);\r\n -moz-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n text-align: center;\r\n display: inline-block;\r\n font: 18px verdana, arial;\r\n top: 30px;\r\n position: absolute;\r\n padding: 20px;\r\n margin-left: auto;\r\n margin-right: auto;\r\n z-index: 100000;\r\n background-color: rgba(255, 255, 255, 1);\r\n -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 1);\r\n box-shadow: 0 0 6px 2px rgba(0, 0, 0, 1);\r\n border-radius: 4px;\r\n}\r\n\r\n.frame-header {\r\n width: 100%;\r\n box-sizing: border-box;\r\n text-align: center;\r\n font-size: 25px;\r\n margin-bottom: 0;\r\n color: #fff;\r\n font-family: \"SemplicitaPro-Medium\", sans-serif;\r\n font-weight: bold;\r\n display: inline-block;\r\n height: 100%;\r\n padding: 13px 30px 0 25px;\r\n background-color: white;\r\n}\r\n\r\n#popupMezczyznaRadio {\r\n display: inline-block;\r\n width: 21px;\r\n height: 20px;\r\n margin-right: 4px;\r\n background: url('https://upload.snrcdn.net/582180bdda7f1367df21c21ffdfe1f3380855306/default/origin/74b5f484bc6805c80d8c916efe40f2ae.png') right;\r\n position: relative;\r\n top: 5px;\r\n}\r\n\r\n/* latin-ext */\r\n/* latin */\r\n/* latin */\r\n/* latin */\r\n/* \r\n@font-face {\r\n font-family: 'Montserrat';\r\n src: url(https://raw.githack.com/JulietaUla/Montserrat/master/fonts/webfonts/Montserrat-Black.woff2) format('woff2'),\r\n url(https://raw.githack.com/JulietaUla/Montserrat/master/fonts/webfonts/Montserrat-Black.woff) format('woff');\r\n}\r\n\r\n@font-face {\r\n font-family: 'Montserrat-light';\r\n src: url(https://raw.githack.com/JulietaUla/Montserrat/master/fonts/webfonts/Montserrat-ExtraLight.woff2) format('woff2'),\r\n url(https://raw.githack.com/JulietaUla/Montserrat/master/fonts/webfonts/Montserrat-Light.woff) format('woff');\r\n}\r\n*/\r\n.widget.html_editor .container p.header {\r\n margin-top: 100px !important;\r\n}\r\n#tbl-outlet h2 {\r\n margin:0 !important;\r\n}\r\n.zapis {\r\n margin: auto;\r\n width: 100%;\r\n height: 509px;\r\n background: #ffffff url('https://upload.snrcdn.net/d4dcb784f3544f81709f562aa93ffb26e88153e1/default/origin/c96ce735b8a31f03b1062f347150de44.jpg');\r\n color: #fff;\r\n border-radius: 3px;\r\n font-family: \"SemplicitaPro-Medium\", sans-serif;\r\n background-repeat: no-repeat;\r\n background-size: cover;\r\n position: relative;\r\n background-position: center center;\r\n\r\n}\r\n\r\n.container1 {\r\n -webkit-order: 0;\r\n -ms-flex-order: 0;\r\n order: 0;\r\n -webkit-flex: 0 1 auto;\r\n -ms-flex: 0 1 auto;\r\n flex: 0 1 auto;\r\n -webkit-align-self: auto;\r\n -ms-flex-item-align: auto;\r\n align-self: auto;\r\n}\r\n\r\n.container2 {\r\n -webkit-order: 0;\r\n -ms-flex-order: 0;\r\n order: 0;\r\n -webkit-flex: 0 1 auto;\r\n -ms-flex: 0 1 auto;\r\n flex: 0 1 auto;\r\n -webkit-align-self: auto;\r\n -ms-flex-item-align: auto;\r\n align-self: auto;\r\n}\r\n\r\n.formularz {\r\n display: -ms-flexbox;\r\n display: -webkit-flex;\r\n display: flex;\r\n -webkit-flex-direction: column;\r\n -ms-flex-direction: column;\r\n flex-direction: column;\r\n -webkit-flex-wrap: nowrap;\r\n -ms-flex-wrap: nowrap;\r\n flex-wrap: nowrap;\r\n -webkit-justify-content: flex-start;\r\n -ms-flex-pack: start;\r\n justify-content: flex-start;\r\n -webkit-align-content: stretch;\r\n -ms-flex-line-pack: stretch;\r\n align-content: stretch;\r\n -webkit-align-items: flex-start;\r\n -ms-flex-align: start;\r\n align-items: flex-start;\r\n}\r\n\r\n.srodek {\r\n float: left;\r\n color: #505052;\r\n display: inline-block;\r\n height: auto;\r\n width: 51%;\r\n padding: 5px 20px 0 70px;\r\n font-size: 12px;\r\n font-family: \"SemplicitaPro-Medium\", sans-serif;\r\n line-height: 14pt;\r\n box-sizing: border-box;\r\n position: relative;\r\n left: 6%;\r\n top: -4%;\r\n}\r\n\r\n.header {\r\n margin-bottom: 20px;\r\n}\r\n\r\n.header h2 {\r\n font-size: 38px;\r\n line-height: 55px;\r\n font-weight: 400;\r\n color: #505052;\r\n letter-spacing: 1.1px;\r\n text-align: left;\r\n}\r\n\r\n.form_box {\r\n display: block;\r\n margin-top: -3%;\r\n}\r\n\r\n#sm-form-email {\r\n background-color: white;\r\n font-family: 'Montserrat-light',\r\n sans-serif;\r\n font-weight: 400;\r\n width: 70%;\r\n height: 50px;\r\n line-height: 50px;\r\n font-size: 14px;\r\n padding-left: 10px;\r\n margin: 30px 25px 0 0;\r\n color: #505052;\r\n letter-spacing: 1px;\r\n border: 1px solid #dedede;\r\n}\r\n\r\n#sm-form-zipCode {\r\n background-color: white;\r\n font-family: 'Montserrat-light',\r\n sans-serif;\r\n font-weight: 400;\r\n width: 70%;\r\n height: 50px;\r\n line-height: 50px;\r\n font-size: 14px;\r\n padding-left: 10px;\r\n margin: 20px 25px 0 0;\r\n color: #505052;\r\n letter-spacing: 1px;\r\n border: 1px solid #dedede;\r\n}\r\n\r\n.wajcha-input {\r\n display: none;\r\n}\r\n\r\n#ona {\r\n color: #505052;\r\n z-index: 2;\r\n float: left;\r\n line-height: 50px;\r\n font-family: 'Montserrat-light', sans-serif;\r\n font-weight: 400;\r\n height: 50px;\r\n font-size: 14px;\r\n text-align: left;\r\n cursor: pointer;\r\n margin: 5px 30px 10px 0px;\r\n}\r\n\r\n#on {\r\n color: #505052;\r\n z-index: 2;\r\n float: left;\r\n line-height: 50px;\r\n font-family: 'Montserrat-light', sans-serif;\r\n font-weight: 400;\r\n height: 50px;\r\n font-size: 14px;\r\n text-align: left;\r\n cursor: pointer;\r\n margin: 5px 0px 0 30px;\r\n}\r\n\r\n\r\n#popupKobietaRadio {\r\n display: inline-block;\r\n width: 21px;\r\n height: 20px;\r\n margin-right: 4px;\r\n margin-left: 10px;\r\n background: url('https://upload.snrcdn.net/582180bdda7f1367df21c21ffdfe1f3380855306/default/origin/74b5f484bc6805c80d8c916efe40f2ae.png') right;\r\n position: relative;\r\n top: 5px;\r\n}\r\n\r\n.zapis-input {\r\n background-color: black;\r\n font-family: 'Montserrat-light', sans-serif;\r\n font-weight: 1000;\r\n width: 63%;\r\n height: 50px;\r\n line-height: 50px;\r\n font-size: 14px;\r\n padding-left: 10px;\r\n margin: 30px 25px 0 0;\r\n color: #ffffff;\r\n letter-spacing: 1px;\r\n border: 1px solid #fff;\r\n}\r\n\r\n#zapisz-button {\r\n float: left;\r\n width: 150px;\r\n border: none;\r\n cursor: pointer;\r\n background-color: black;\r\n color: white;\r\n font-size: 15px;\r\n transition: all 0.3s ease 0s;\r\n margin-top: 0px;\r\n font-weight: bold;\r\n height: 40px;\r\n}\r\n\r\n.ease {\r\n width: 0;\r\n height: 10px;\r\n background-color: #fbfbfb;\r\n -webkit-transition: .3s ease;\r\n -moz-transition: .3s ease;\r\n -o-transition: .3s ease;\r\n -ms-transition: .3s ease;\r\n transition: .3s ease;\r\n}\r\n\r\n.news-form {\r\n display: none;\r\n}\r\n\r\n.thank-you-page {\r\n display: none;\r\n}\r\n\r\n.zapis-mobile {\r\n margin: 0 auto;\r\n color: #fff;\r\n font-size: 1.4375rem;\r\n line-height: 1.6rem;\r\n}\r\n\r\n.srodek-mobile {\r\n margin: 0 auto;\r\n padding: 5px 1rem;\r\n background-color: #ebebeb;\r\n width: 97%;\r\n box-sizing: border-box;\r\n text-align: center;\r\n}\r\n\r\n.form-mobile {\r\n display: none;\r\n}\r\n\r\n@media only screen and (max-width: 756px) {\r\n .form-mobile {\r\n display: block;\r\n }\r\n\r\n #sm-form-email {\r\n background-color: #fff;\r\n color: #7b7b7b;\r\n border: 2px solid #7b7b7b;\r\n margin-top: 10px;\r\n }\r\n\r\n #sm-form-zipCode {\r\n background-color: #fff;\r\n color: #7b7b7b;\r\n border: 2px solid #7b7b7b;\r\n }\r\n\r\n .form2 {\r\n display: none;\r\n }\r\n\r\n .srodek {\r\n left: 0;\r\n top: 0;\r\n background-color: white;\r\n font-family: \"SemplicitaPro-Medium\", sans-serif;\r\n display: inline-block;\r\n width: 100%;\r\n height: 100%;\r\n padding: 13px 30px 0 25px;\r\n line-height: 14pt;\r\n box-sizing: border-box;\r\n float: left;\r\n text-align: center;\r\n margin-left: 0px;\r\n }\r\n}\r\n\r\n#externalContactForm {\r\n display: block;\r\n margin-top: 0em;\r\n}\r\n\r\n.sm-error {\r\n outline: 1px solid red;\r\n}\r\n\r\n.sm-success {\r\n outline: 1px solid green;\r\n}\r\n\r\n.zapis-mobile-2 {\r\n position: relative;\r\n margin: auto;\r\n height: auto;\r\n width: 100%;\r\n padding-top: 0;\r\n background-color: white;\r\n font-family: \"SemplicitaPro-Medium\", sans-serif;\r\n color: #fff;\r\n text-align: center;\r\n font-weight: bold;\r\n letter-spacing: 2px;\r\n\r\n}","html":"

DZIĘKUJEMY!

NA PODANY ADRES E-MAIL PRZESŁALIŚMY WIADOMOŚĆ Z LINKIEM AKTYWACYJNYM. KLIKNIJ W NIEGO I POTWIERDŹ SWÓJ ZAPIS DO NEWSLETTERA.

Dziękujemy za zapis
do naszego newslettera!

Sprawdź skrzynkę e-mail i kliknij w link potwierdzający subskrypcję

Cały proces może chwilę potrwać maksymalnie
do godziny. W tym czasie e-mail z linkiem aktywacyjnym
powinien znaleźć się w Twojej skrzynce.

Wciąż nie widzisz wiadomości
Sprawdź zakładkę SPAM. Jeżeli i tam nie znajdziesz e-maila,
wypełnij formularz jeszcze raz lub skontaktuj się
z naszym Biurem Obsługi Klienta.

NEWSLETTER TIMBERLAND OUTLET



NEWSLETTER TIMBERLAND OUTLET

Dziękujemy za zapis
do naszego newslettera!


Sprawdź skrzynkę e-mail i kliknij w link potwierdzający subskrypcję.

Cały proces może chwilę potrwać – maksymalnie do godziny. W tym czasie e-mail z linkiem aktywacyjnym powinien znaleźć się w Twojej skrzynce. Wciąż nie widzisz wiadomości? Sprawdź zakładkę SPAM. Jeżeli i tam nie znajdziesz e-maila, wypełnij formularz jeszcze raz lub skontaktuj się z naszym Biurem Obsługi Klienta.

","js":"(function () {\nfunction setCookie(name, value, h) {\nvar expires = \"\";\nif (h) {\nvar date = new Date();\ndate.setTime(date.getTime() + (h * 60 * 60 * 1000));\nexpires = \"; expires=\" + date.toUTCString();\n}\ndocument.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n}\nfunction getCookie(name) {\nvar nameEQ = name + \"=\";\nvar ca = document.cookie.split(';');\nfor (var i = 0; i < ca.length; i++) {\nvar c = ca[i];\nwhile (c.charAt(0) == ' ') c = c.substring(1, c.length);\nif (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\n}\nreturn null;\n}\ndocument.querySelector('.men-btn1').classList.add('chosen');\ndocument.querySelector('.women-btn').classList.add('chosen');\nvar needTypDisplay = getCookie('needTypDisplay') || false;\nif (needTypDisplay == \"no\" || !needTypDisplay) {\ndocument.querySelector('.zapis').classList.remove('news-form'); //hide zapis desktop\ndocument.querySelector('.zapis2').classList.remove('news-form'); //hide zapis mobile\n} else {\ndocument.querySelector('.zapis-mobile').classList.remove('thank-you-page') //view TYP\ndocument.querySelector('.zapis-mobile-2').classList.remove('thank-you-page')\nsetCookie('needTypDisplay', 'no', 1);\n}\nfunction changeSex() {\nif (document.querySelector('#popupKobietaRadio').style.backgroundPosition == \"left 0px\") {\ndocument.querySelector('.women-btn').setAttribute('data-synerise', 'sex');\ndocument.querySelector('.women-btn').setAttribute('data-synerise-value', '1');\ndocument.querySelector('.women-btn').classList.add('chosen');\ndocument.querySelector('.men-btn').removeAttribute('data-synerise');\ndocument.querySelector('.men-btn').removeAttribute('data-synerise-value');\ndocument.querySelector('.men-btn').classList.remove('chosen');\n} else if (document.querySelector('#popupMezczyznaRadio').style.backgroundPosition == \"left 0px\") {\ndocument.querySelector('.men-btn').setAttribute('data-synerise', 'sex');\ndocument.querySelector('.men-btn').setAttribute('data-synerise-value', '2');\ndocument.querySelector('.men-btn').classList.add('chosen');\ndocument.querySelector('.women-btn').removeAttribute('data-synerise');\ndocument.querySelector('.women-btn').removeAttribute('data-synerise-value');\ndocument.querySelector('.women-btn').classList.remove('chosen');\n}\n}\ndocument.querySelector('#ona').addEventListener('click', changeSex);\ndocument.querySelector('#on').addEventListener('click', changeSex);\nfunction changeSexMobile() {\nif (document.querySelector('#on1').style.background == \"transparent\") {\ndocument.querySelector('.women-btn1').setAttribute('data-synerise', 'sex');\ndocument.querySelector('.women-btn1').setAttribute('data-synerise-value', '1');\ndocument.querySelector('.women-btn1').classList.add('chosen');\ndocument.querySelector('.men-btn1').removeAttribute('data-synerise');\ndocument.querySelector('.men-btn1').removeAttribute('data-synerise-value');\ndocument.querySelector('.men-btn1').classList.remove('chosen');\n} else if (document.querySelector('#on1').style.background == \"rgb(191, 255, 0)\") {\ndocument.querySelector('.men-btn1').setAttribute('data-synerise', 'sex');\ndocument.querySelector('.men-btn1').setAttribute('data-synerise-value', '2');\ndocument.querySelector('.men-btn1').classList.add('chosen');\ndocument.querySelector('.women-btn1').removeAttribute('data-synerise');\ndocument.querySelector('.women-btn1').removeAttribute('data-synerise-value');\ndocument.querySelector('.women-btn1').classList.remove('chosen');\n}\n}\ndocument.querySelector('#ona1').addEventListener('click', changeSexMobile);\ndocument.querySelector('#on1').addEventListener('click', changeSexMobile);\nSyneriseTC.initFormCatch();\nfunction validateEmail(email) {\nvar re = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\nreturn re.test(String(email).toLowerCase());\n}\nfunction validateZipCode(zipCode) {\nvar re = /[0-9]/;\nreturn re.test(String(zipCode).toLowerCase());\n}\nfunction validatePhone(phone) {\nvar re = /[0-9]/;\nreturn re.test(String(phone).toLowerCase());\n}\ndocument.querySelector('.zapisz-mobile').addEventListener('click', function () {\nvar email = document.querySelector(\".email-mobile\").value;\nvar zipCode = document.querySelector(\".zip-code-mobile\").value;\nvar phone = document.querySelector(\".phone-mobile\").value;\nvar club_accession_store = document.querySelector(\".store-club-mobile\").value;\nvar sex = \"0\";\nif (validatePhone(phone)) {\nif (validateEmail(email) && validateZipCode(zipCode)) {\nif (document.querySelector('.men-btn1').classList.contains('chosen')) {\nsex = \"2\";\n} else {\nsex = \"1\";\n}\nSyneriseTC.sendFormData('newsletter_outlet_landing_page', {\n\"email\": email,\n\"zipCode\": zipCode,\n\"sex\": sex,\n\"phone\": phone,\n\"club_accession_store\": club_accession_store\n});\nsetCookie('needTypDisplay', 'yes', 1);\n}\n} else {\nalert(\"Wypełnij wszystkie pola!\");\n}\n});\ndocument.querySelector('.zapisz-desktop').addEventListener('click', function () {\nvar email = document.querySelector(\".email-desktop\").value;\nvar zipCode = document.querySelector(\".zip-code-desktop\").value;\nvar phone = document.querySelector(\".phone-desktop\").value;\nvar club_accession_store = document.querySelector(\".store-club-desktop\").value;\nvar sex = \"0\";\nif (validatePhone(phone)) {\nif (validateEmail(email) && validateZipCode(zipCode) && validatePhone(phone)) {\nif (document.querySelector('.women-btn').classList.contains('chosen')) {\nsex = \"1\";\n} else {\nsex = \"2\";\n}\nSyneriseTC.sendFormData('newsletter_outlet_landing_page', {\n\"email\": email,\n\"zipCode\": zipCode,\n\"sex\": sex,\n\"phone\": phone,\n\"club_accession_store\": club_accession_store\n});\nsetCookie('needTypDisplay', 'yes', 1);\n}\n} else {\nalert(\"Wypełnij wszystkie pola!\");\n}\n});\r\n\r\n\r\n}())"},"id":2767857,"name":"Variant A","parsedData":{},"percentage":100,"selector":".form-field .sizeer-frame","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"zapis-newsletter-timberland-outlet","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"816d7a95-b4f5-4a4a-824c-e73870b87906","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"REC - S - similiar (EMBLEM)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6380297,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-sticky-product .b-productInner","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[{"requirement":"e-timberland.pl($|\\/$|\\/\\?)","type":"REGEXP"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"ca545b2d-0ecd-44c1-bf75-010c65cf4ae3","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"zgoda_web_push","medium":"web_push","parameters":{},"source":"synerise","term":"utm_term"}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Webpush OPTIN NEW","targetRestriction":["DESKTOP","MOBILE"],"trigger":{"options":{"delayType":"SECONDS","delayValue":"2"},"type":"ON_LANDING"},"variants":[{"content":{},"id":2982134,"name":"Variant A","parsedData":{},"percentage":100,"selector":".snrs-modal-wrapper","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[{"requirement":"timberlandpl.snrpage.com/rezygnacja","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"ab40aa7d-36bb-4e0e-8e15-03bae4c13d54","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"MessageBox - szablon","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":2351237,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-header","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"?dmmmbox","type":"CONTAIN"}]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"065b0e33-da7a-4196-9dcb-7868979989fc","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"refresh","medium":"dynamic_content","parameters":{},"source":"synerise","term":"utm_term"}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"refresh - newsletter LP oferta","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS","delayValue":"1"},"type":"ON_LANDING"},"variants":[{"content":{"css":"","html":"","js":"(function (){\nif (document.querySelector('.snrs-coupon-container')) {\nconsole.log('ok');\n} else {\nlocation.reload();\n}"},"id":5840482,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-header_primary","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"newsletter-sub-outlet","type":"CONTAIN"}],"viewsPageUrl":[{"requirement":"/newsletter-sub","type":"CONTAIN"}]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"96a188e2-4104-4acb-881b-eb2a9963287d","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"[form pass] - show/hide - registration","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":"body .m-form_field {\r\n position: relative;\r\n }\r\n\r\n body .m-form_field #toggler {\r\n position: absolute;\r\n right: 20px;\r\n top: 50%;\r\n transform: translateY(-50%);\r\n cursor: pointer;\r\n color: #444;\r\n }","html":"Pokaż","js":" var password = document.getElementById('enp_customer_registration_form_type_plainPassword_first');\nvar toggler = document.getElementById('toggler');\nshowHidePassword = () => {\nif (password.type == 'password') {\npassword.setAttribute('type', 'text');\ntoggler.innerHTML = \"Ukryj\";\n} else {\npassword.setAttribute('type', 'password');\ntoggler.innerHTML = \"Pokaż\";\n}\n};\ntoggler.addEventListener('click', showHidePassword);"},"id":6254886,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#enp_customer_registration_form_type_plainPassword_first","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"/registration","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"f57554b8-06db-40e1-9339-0513b2466659","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"generation boat M - kafelek mobile","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6318991,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-mainWrapper .b-productList","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[{"requirement":"/generation-boat","type":"CONTAIN"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"8c58e5b4-326d-4bec-a743-8e94357a388e","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"parameters":{}}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Banner ostatnie rozmiary - KP (tekst)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6457348,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-sticky-product .b-productBottom","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"2995ba38-196f-4d3f-a0b8-fb4a4eca995e","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"season_tag_setter","medium":"dynamic_content","parameters":{},"source":"synerise","term":"utm_term"}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Season tag setter","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":2720163,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#current-season-code","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"dbc0832d-fc32-4d34-a000-437e86643347","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"Newsletter - LP form (oferta) (1)","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6300150,"name":"Variant A","parsedData":{},"percentage":100,"selector":".tbl_newsletter_iframe","selectorPrefix":"INNER","selector_prefix":"INNER"}],"viewsExcludePageUrl":[{"requirement":"zapis-newsletter-timberland-outlet","type":"CONTAIN"}],"viewsPageUrl":[{"requirement":"newsletter1","type":"CONTAIN"}]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"22b49512-6621-4ba0-b3aa-2fa6a8bba711","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"aisearch ","targetRestriction":[],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{},"id":6125511,"name":"Variant A","parsedData":{},"percentage":100,"selector":".b-searchMenu_container.js-search-suggestion-place","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[{"requirement":"?supp","type":"CONTAIN"},{"requirement":"search","type":"EQUALS"}],"viewsPageUrl":[]},{"capping":{},"containsJinjava":true,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"4","timesType":"WEEKS"},"type":"MAXIMUM"},"id":"d621ebdc-baef-4134-b73d-c00bb000cd66","isABX":false,"isCappingGlobal":false,"isSegment":true,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"MessageBox - klub + akcja loy (poprawione eventy)","targetRestriction":["MOBILE"],"trigger":{"options":{"delayType":"SECONDS","scrollingPercentage":"15"},"type":"ON_LANDING"},"variants":[{"content":{},"id":5332835,"name":"Variant A","parsedData":{},"percentage":100,"selector":"#js-header","selectorPrefix":"BEFORE","selector_prefix":"BEFORE"}],"viewsExcludePageUrl":[],"viewsPageUrl":[]},{"capping":{},"containsJinjava":false,"displayType":"OBJECT","experimentId":null,"experimentVariantId":null,"frequency":{"options":{"count":"1","times":"1","timesType":"HOURS"},"type":"ALWAYS"},"id":"d71881d8-a565-461e-9856-7e6230378714","isABX":false,"isCappingGlobal":false,"isSegment":false,"options":{"batchDelivery":false,"controlGroup":0,"utm":{"campaign":"","medium":"","parameters":{},"source":"","term":""}},"stopDisplay":{"options":{},"type":"NEVER"},"subject":"aisearch listing","targetRestriction":["DESKTOP","MOBILE"],"trigger":{"options":{"delayType":"SECONDS"},"type":"ON_LANDING"},"variants":[{"content":{"css":".m-filters .noUi-horizontal {\r\n height: 7px!important;\r\n background: #ebebeb!important;\r\n}\r\n\r\n.snr-hidden {\r\n display: none!important;\r\n}\r\n\r\n.m-filters_close.js-filter_close {\r\n height: 50px;\r\n}\r\n\r\n.m-filters .noUi-connect {\r\n height: 7px;\r\n background: #f5a019;\r\n border-radius: 0px;\r\n}\r\n\r\n.first-capital {\r\n text-transform: capitalize!important;\r\n} \r\n\r\n.m-filters .noUi-horizontal .noUi-handle {\r\n /* background-position: -175px -203px; */\r\n top: -10px;\r\n left: 0px;\r\n width: 28px;\r\n height: 28px;\r\n border-radius: 50%;\r\n cursor: pointer;\r\n border: 0;\r\n -webkit-box-shadow: none;\r\n box-shadow: none;\r\n position: relative!important;\r\n}\r\n\r\n.b-itemList_producer {\r\n color: #b4b4b4;\r\n font: 600 16px/24px \"Open Sans Condensed\";\r\n letter-spacing: .5px;\r\n text-transform: uppercase;\r\n text-align: right;\r\n width: 50px;\r\n}\r\n\r\n.m-filters_listChecked {\r\n display: none!important;\r\n}\r\n.m-filters_listSum {\r\n display: none!important;\r\n}\r\n\r\nins-percentage-value-cat-page {\r\n display: none !important;\r\n}\r\n\r\n.sticker-snrs {\r\n text-align: center;\r\n font-weight: bold;\r\n width: 60px;\r\n height: 18px;\r\n}\r\n\r\n.sticker-snrs-container {\r\n width: 60px;\r\n height: 18px;\r\n position: static;\r\n right: 2px;\r\n top: 13px;\r\n}\r\n\r\n.snrs-box-sticker {\r\n z-index: 1;\r\n height: 7.60456%;\r\n background: none 0% 0% repeat scroll rgba(0, 0, 0, 0);\r\n text-align: left;\r\n border-radius: 0%;\r\n letter-spacing: 0px;\r\n text-transform: none;\r\n overflow: visible;\r\n padding: 6px 0px 0px;\r\n position: absolute;\r\n width: 24.6914%;\r\n float: left;\r\n left: 74.4856%;\r\n}\r\n\r\n@media only screen and (max-width: 980px) {\r\n .snrs-box-sticker {\r\n width: 24.6914%;\r\n left: 74.4856%;\r\n padding: 10px 0px 0px;\r\n height: 7.60456%;\r\n }\r\n}\r\n\r\n@media only screen and (max-width: 518px) {\r\n .sticker-snrs {\r\n text-align: center;\r\n font-weight: bold;\r\n width: 56px;\r\n height: 16px;\r\n top: 15px;\r\n }\r\n\r\n .sticker-snrs-container {\r\n position: absolute;\r\n right: -3px;\r\n top: 5px;\r\n }\r\n}\r\n\r\n@media only screen and (max-width: 460px) {\r\n .sticker-snrs {\r\n text-align: center;\r\n font-weight: bold;\r\n width: 50px;\r\n height: 14px;\r\n top: 15px;\r\n font-size: 10px;\r\n }\r\n\r\n .sticker-snrs-container {\r\n position: absolute;\r\n right: -10px;\r\n top: 5px;\r\n }\r\n}\r\n\r\n@media only screen and (max-width: 405px) {\r\n .sticker-snrs {\r\n text-align: center;\r\n font-weight: bold;\r\n width: 41px;\r\n height: 14px;\r\n top: 15px;\r\n font-size: 10px;\r\n }\r\n\r\n .snrs-box-sticker {\r\n width: 24.6914%;\r\n height: 7.60456%;\r\n left: 73.4856%;\r\n top: 7.60456%;\r\n padding: 0px 0px 0px;\r\n font-size: 10px;\r\n }\r\n\r\n .sticker-snrs-container {\r\n position: absolute;\r\n right: -21px;\r\n top: 8px;\r\n }\r\n}\r\n\r\n.m-toolbar .m-toolbar_filters {\r\n z-index: 9;\r\n}\r\n\r\n.m-pagination .m-pagination_next{\r\n display: inline;\r\n}\r\n.m-filters .m-filters_header .m-filters_reset .m-filters_resetText{\r\n height: 100%;\r\n}\r\n\r\n\r\n/* 0 search */\r\n.b-productList_empty{\r\n\r\n}","html":"

Pokaż

Cena

Płeć

Podkategoria

    Pokaż mniej Pokaż więcej

Rozmiar

    Pokaż mniej Pokaż więcej

Marka

    Pokaż mniej Pokaż więcej

Materiał

    Pokaż mniej Pokaż więcej

Kolor

    Pokaż mniej Pokaż więcej
Pokaż
","js":"!function (t, e) { \"function\" == typeof define && define.amd ? define(e) : \"object\" == typeof exports ? module.exports = e() : t.Blazy = e() }(this, function () { function t(t) { var o = t._util; o.elements = function (t) { for (var e = [], o = (t = t.root.querySelectorAll(t.selector)).length; o--; e.unshift(t[o])); return e }(t.options), o.count = o.elements.length, o.destroyed && (o.destroyed = !1, t.options.container && f(t.options.container, function (t) { l(t, \"scroll\", o.validateT) }), l(window, \"resize\", o.saveViewportOffsetT), l(window, \"resize\", o.validateT), l(window, \"scroll\", o.validateT)), e(t) } function e(t) { for (var e = t._util, n = 0; n < e.count; n++) { var s, i = e.elements[n], a = i; s = t.options; var c = a.getBoundingClientRect(); s.container && h && (a = a.closest(s.containerClass)) ? s = !!o(a = a.getBoundingClientRect(), v) && o(c, { top: a.top - s.offset, right: a.right + s.offset, bottom: a.bottom + s.offset, left: a.left - s.offset }) : s = o(c, v), (s || r(i, t.options.successClass)) && (t.load(i), e.elements.splice(n, 1), e.count--, n--) } 0 === e.count && t.destroy() } function o(t, e) { return t.right >= e.left && t.bottom >= e.top && t.left <= e.right && t.top <= e.bottom } function n(t, e, o) { if (!r(t, o.successClass) && (e || o.loadInvisible || 0 < t.offsetWidth && 0 < t.offsetHeight)) if (e = t.getAttribute(d) || t.getAttribute(o.src)) { var n = (e = e.split(o.separator))[m && 1 < e.length ? 1 : 0], c = t.getAttribute(o.srcset), p = \"img\" === t.nodeName.toLowerCase(), v = (e = t.parentNode) && \"picture\" === e.nodeName.toLowerCase(); if (p || void 0 === t.src) { var h = new Image, g = function () { o.error && o.error(t, \"invalid\"), a(t, o.errorClass), u(h, \"error\", g), u(h, \"load\", w) }, w = function () { p ? v || i(t, n, c) : t.style.backgroundImage = 'url(\"' + n + '\")', s(t, o), u(h, \"load\", w), u(h, \"error\", g) }; v && (h = t, f(e.getElementsByTagName(\"source\"), function (t) { var e = o.srcset, n = t.getAttribute(e); n && (t.setAttribute(\"srcset\", n), t.removeAttribute(e)) })), l(h, \"error\", g), l(h, \"load\", w), i(h, n, c) } else t.src = n, s(t, o) } else \"video\" === t.nodeName.toLowerCase() ? (f(t.getElementsByTagName(\"source\"), function (t) { var e = o.src, n = t.getAttribute(e); n && (t.setAttribute(\"src\", n), t.removeAttribute(e)) }), t.load(), s(t, o)) : (o.error && o.error(t, \"missing\"), a(t, o.errorClass)) } function s(t, e) { a(t, e.successClass), e.success && e.success(t), t.removeAttribute(e.src), t.removeAttribute(e.srcset), f(e.breakpoints, function (e) { t.removeAttribute(e.src) }) } function i(t, e, o) { o && t.setAttribute(\"srcset\", o), t.src = e } function r(t, e) { return -1 !== (\" \" + t.className + \" \").indexOf(\" \" + e + \" \") } function a(t, e) { r(t, e) || (t.className += \" \" + e) } function c(t) { v.bottom = (window.innerHeight || document.documentElement.clientHeight) + t, v.right = (window.innerWidth || document.documentElement.clientWidth) + t } function l(t, e, o) { t.attachEvent ? t.attachEvent && t.attachEvent(\"on\" + e, o) : t.addEventListener(e, o, { capture: !1, passive: !0 }) } function u(t, e, o) { t.detachEvent ? t.detachEvent && t.detachEvent(\"on\" + e, o) : t.removeEventListener(e, o, { capture: !1, passive: !0 }) } function f(t, e) { if (t && e) for (var o = t.length, n = 0; n < o && !1 !== e(t[n], n); n++); } function p(t, e, o) { var n = 0; return function () { var s = +new Date; s - n < e || (n = s, t.apply(o, arguments)) } } var d, v, m, h; return function (o) { if (!document.querySelectorAll) { var s = document.createStyleSheet(); document.querySelectorAll = function (t, e, o, n, i) { for (i = document.all, e = [], o = (t = t.replace(/\\[for\\b/gi, \"[htmlFor\").split(\",\")).length; o--;) { for (s.addRule(t[o], \"k:v\"), n = i.length; n--;)i[n].currentStyle.k && e.push(i[n]); s.removeRule(0) } return e } } var i = this, r = i._util = {}; r.elements = [], r.destroyed = !0, i.options = o || {}, i.options.error = i.options.error || !1, i.options.offset = i.options.offset || 100, i.options.root = i.options.root || document, i.options.success = i.options.success || !1, i.options.selector = i.options.selector || \".b-lazy\", i.options.separator = i.options.separator || \"|\", i.options.containerClass = i.options.container, i.options.container = !!i.options.containerClass && document.querySelectorAll(i.options.containerClass), i.options.errorClass = i.options.errorClass || \"b-error\", i.options.breakpoints = i.options.breakpoints || !1, i.options.loadInvisible = i.options.loadInvisible || !1, i.options.successClass = i.options.successClass || \"b-loaded\", i.options.validateDelay = i.options.validateDelay || 25, i.options.saveViewportOffsetDelay = i.options.saveViewportOffsetDelay || 50, i.options.srcset = i.options.srcset || \"data-srcset\", i.options.src = d = i.options.src || \"data-src\", h = Element.prototype.closest, m = 1 < window.devicePixelRatio, (v = {}).top = 0 - i.options.offset, v.left = 0 - i.options.offset, i.revalidate = function () { t(i) }, i.load = function (t, e) { var o = this.options; void 0 === t.length ? n(t, e, o) : f(t, function (t) { n(t, e, o) }) }, i.destroy = function () { var t = this._util; this.options.container && f(this.options.container, function (e) { u(e, \"scroll\", t.validateT) }), u(window, \"scroll\", t.validateT), u(window, \"resize\", t.validateT), u(window, \"resize\", t.saveViewportOffsetT), t.count = 0, t.elements.length = 0, t.destroyed = !0 }, r.validateT = p(function () { e(i) }, i.options.validateDelay, i), r.saveViewportOffsetT = p(function () { c(i.options.offset) }, i.options.saveViewportOffsetDelay, i), c(i.options.offset), f(i.options.breakpoints, function (t) { if (t.width >= window.screen.width) return d = t.src, !1 }), setTimeout(function () { t(i) }) } });\r\n\r\nvar blazy = new Blazy();\r\n\r\nvar snrsAIsearch = (function () {\nvar vk = '';\nvar urlSearchParams = new URLSearchParams(document.location.search.substring(1))\nvar query = urlSearchParams.get('q')\nvar searchIndex = '02202b0022330d7f7e3ca96257f5b2ed1641473896';\nvar $_content = $('#js-offerList');\nvar __filtr = [];\nvar __sort = [];\nvar __facets = [];\nvar __prices = {};\nvar __firstSearchList = [];\nvar __currentSearchId = null;\nvar filtersHolder = null;\nvar checkboxHolder = [];\nvar filters = {\ncontainer: $('.js-filters'),\ntrigger: $('.js-filter_trigger'),\nclose: $('.js-filter_close'),\nranger: null,\nrange: '',\nrangeSlider: $('#js-filters_rangeSlider'),\nbrands: $('.js-filters_brandList'),\nclean: '.js-filters_clean',\nscroll: $('.js-filter_scroll'),\nrange_min: '.js-filters_priceStart',\nrange_max: '.js-filters_priceEnd',\nprice_min: '.js-range_min',\nprice_max: '.js-range_max',\nscope: $('[name=\"limit\"]').val(),\nlimit: '60'\n};\nfunction text_truncate(str, length, ending) {\nif (length == null) {\nlength = 100;\n}\nif (ending == null) {\nending = '...';\n}\nif (str.length > length) {\nreturn str.substring(0, length - ending.length) + ending;\n} else {\nreturn str;\n}\n}\nvar groupBy = function (xs, key) {\nreturn xs.reduce(function (rv, x) {\n(rv[x[key]] = rv[x[key]] || []).push(x);\nreturn rv;\n}, {});\n};\nfunction financial(x) {\nreturn Number.parseFloat(x).toFixed(2);\n}\nfunction makeFiltr(facets, updateRange = true) {\n$('.m-filters_listItem').remove();\ndocument.querySelectorAll('.m-filters_switch').forEach(function (item) {\nif (item.style.removeProperty) {\nitem.style.removeProperty('display');\n} else {\nitem.style.removeAttribute('display');\n}\n});\ndocument.querySelectorAll('.m-filters_list').forEach(function (item) {\nitem.style.padding = '10px 0 25px';\n});\nvar colors = facets.color;\nvar kindColor = Object.getOwnPropertyNames(colors);\n[].forEach.call(kindColor, function (item, index) {\nif (item != 'UNDEFINED')\n$('.js-filters_color').append(`\n
  • \n\n
  • \n`);\n});\nvar arrayOfElements = document.getElementsByClassName('id_color');\nif (document.querySelector('.js-filters_color').children.length <= 8) {\nfor (var i = 0; i < arrayOfElements.length; i++) {\narrayOfElements[i].style.display = 'none';\n}\ndocument.querySelector('.js-filters_color > input').style.display = 'none';\ndocument.querySelector('.js-filters_color').style.padding = '10px 0 10px';\n}\n// var genders = {};\nvar genders = facets['attributes.genderCode'];\nvar kindGender = Object.getOwnPropertyNames(genders);\nvar tmpGender = [];\n[].forEach.call(kindGender, function (item) {\nvar tmpItem = {};\ntmpItem.value = item;\ntmpItem.name = (item == 'ww' ? 'Damskie' : item == 'mm' ? 'Męskie' : item == 'jj' ? 'Dziecięce' : 'Unisex');\ntmpGender.push(tmpItem);\n});\n[].forEach.call(tmpGender.sort((a, b) => (a.name > b.name) ? 1 : -1), function (item, index) {\nif (item != 'undefined') $('.js-filters_gender').css('padding', '10px 0');\n$('.js-filters_gender').append(`\n
  • \n\n
  • \n`);\n});\nvar brands = facets['attributes.itemBrandLabel'];\nvar kindBrand = Object.getOwnPropertyNames(brands);\n[].forEach.call(kindBrand, function (item, index) {\nif (item != 'UNDEFINED')\n$('.js-filters_brand').append(`\n
  • \n\n
  • \n`);\n});\nvar arrayOfElements = document.getElementsByClassName('id_brand');\nif (document.querySelector('.js-filters_brand').children.length <= 8) {\nfor (var i = 0; i < arrayOfElements.length; i++) {\narrayOfElements[i].style.display = 'none';\n}\ndocument.querySelector('.js-filters_brand > input').style.display = 'none';\ndocument.querySelector('.js-filters_brand').style.padding = '10px 0 10px';\n}\nvar sizes = facets['attributes.sizesEur'];\nvar kindSize = Object.getOwnPropertyNames(sizes).sort();\n[].forEach.call(kindSize, function (item, index) {\nif (item != 'UNDEFINED')\n$('.js-filters_size').append(`\n
  • \n\n
  • \n`);\n});\nvar arrayOfElements = document.getElementsByClassName('id_size');\nif (document.querySelector('.js-filters_size').children.length <= 8) {\nfor (var i = 0; i < arrayOfElements.length; i++) {\narrayOfElements[i].style.display = 'none';\n}\ndocument.querySelector('.js-filters_size > input').style.display = 'none';\ndocument.querySelector('.js-filters_size').style.padding = '10px 0 10px';\n}\nvar materials = facets['attributes.materialTypeLabel'];\nvar kindMaterial = Object.getOwnPropertyNames(materials);\n[].forEach.call(kindMaterial, function (item, index) {\nif (item != 'UNDEFINED')\n$('.js-filters_material').append(`\n
  • \n\n
  • \n`);\n});\nvar arrayOfElements = document.getElementsByClassName('id_material');\nif (document.querySelector('.js-filters_material').children.length <= 8) {\nfor (var i = 0; i < arrayOfElements.length; i++) {\narrayOfElements[i].style.display = 'none';\n}\ndocument.querySelector('.js-filters_material > input').style.display = 'none';\ndocument.querySelector('.js-filters_material').style.padding = '10px 0 10px';\n}\nvar subcategories = facets['attributes.productGroupLabel'];\nvar kindSubcategories = Object.getOwnPropertyNames(subcategories);\n[].forEach.call(kindSubcategories, function (item, index) {\nif (item != 'UNDEFINED')\n$('.js-filters_subcategory').append(`\n
  • \n\n
  • \n`);\n});\nvar arrayOfElements = document.getElementsByClassName('id_subcategory');\nif (document.querySelector('.js-filters_subcategory').children.length <= 8) {\nfor (var i = 0; i < arrayOfElements.length; i++) {\narrayOfElements[i].style.display = 'none';\n}\ndocument.querySelector('.js-filters_subcategory > input').style.display = 'none';\ndocument.querySelector('.js-filters_subcategory').style.padding = '10px 0 10px';\n}\nvar maxPrice = Math.ceil(facets['salePrice.value'].max)\nvar minPrice = Math.floor(facets['salePrice.value'].min)\n$('[name=\"priceFilter[max]\"]').val(maxPrice);\n$('[name=\"priceFilter[min]\"]').val(minPrice);\nvar slider,\nsnapValues;\nsnapValues = [\n$('[name=\"priceFilter[min]\"]'),\n$('[name=\"priceFilter[max]\"]')\n];\nslider = document.getElementById('js-filters_rangeSlider');\nif (!$('#js-filters_rangeSlider').hasClass('noUi-target')) {\nnoUiSlider.create(slider, {\nstart: [minPrice, maxPrice],\nconnect: true,\nstep: 1,\nrange: {\n'min': [minPrice],\n'max': [maxPrice]\n},\nformat: {\nfrom: function (value) {\nreturn parseInt(value);\n},\nto: function (value) {\nreturn parseInt(value);\n}\n}\n});\nslider.noUiSlider.on('change', function () {\n__prices.min = parseFloat(document.querySelector('[name=\"priceFilter[min]\"]').value);\n__prices.max = parseFloat(document.querySelector('[name=\"priceFilter[max]\"]').value);\ngetProducts(filtersHolder);\n});\n} else {\nif (updateRange) {\nslider.noUiSlider.updateOptions({\nstart: [minPrice, maxPrice],\nconnect: true,\nstep: 1,\n// range: {\n// 'min': [minPrice],\n// 'max': [maxPrice]\n// },\nformat: {\nfrom: function (value) {\nreturn parseInt(value);\n},\nto: function (value) {\nreturn parseInt(value);\n}\n}\n}, true);\n}\n}\n$('[name=\"priceFilter[max]\"]').on('change', function () {\nslider.noUiSlider.set([null, this.value]);\n__prices.max = parseFloat(this.value);\n});\n$('[name=\"priceFilter[min]\"]').on('change', function () {\nslider.noUiSlider.set([this.value, null]);\n__prices.min = parseFloat(this.value);\n});\nslider.noUiSlider.on('update', function (values, handle) {\nsnapValues[handle].val(values[handle]);\n// 1 for max, 0 for min\nif (updateRange) {\nif (handle) {\n__prices.max = parseFloat(values[handle]);\n} else {\n__prices.min = parseFloat(values[handle]);\n}\n}\n});\nslider.noUiSlider.on('set', function () {\nif (typeof enp.APP.modules.filtersInit !== 'undefined' && typeof enp.APP.modules.filtersInit.priceRangeSetCallback !== 'undefined') {\nenp.APP.modules.filtersInit.priceRangeSetCallback(true);\n}\n});\nvar __tmpFiltr = __filtr;\n$('input.m-filters_listInp.js-filters_checkbox').change(function () {\nlet stateObj = { foo: 'bar' };\nlet xArray=[];\nlet inputCollectionK = document.querySelectorAll('.m-filters_listLab input');\nlet inputCollectionKArray = Array.from(inputCollectionK);\nfor (let i of inputCollectionKArray) {\nif(i.checked === true){\nxArray.push(i);\n// console.log(xArray);\n}\n}\nif(xArray.length < 1){\n__allFiltr = [];\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b`);\nwindow.location.reload(true);\n}\n// let queryStringK = window.location.search;\n// let urlParamsK = new URLSearchParams(queryStringK);\n// let filtersInUrlK = urlParamsK.get(\"filters\");\n// let currentFilterValue = urlParamsK.get(this.value);\n// let yk = this.value;\n// let ck = this.name;\n// console.log(vk);\n// let checkVkName = vk.includes(`${this.name}`);\n// if(!checkVkName){\n// if (filtersInUrlK) {\n// if(currentFilterValue){\n// console.log('ten filtr już jest w URLku');\n// }else{\n// vk += `(${ck}=='${yk}')`;\n// // window.location.href += `AND${vk}`\n// }\n// } else {\n// vk += `(${ck}=='${yk}')`;\n// // window.location.href += `&filters=${vk}`;\n// }\n// }else{\n// console.log(\"Ten parametr jest już w VK'eju\");\n// }\n// var checked = $(this).attr('name') + '=' + $(this).val();\n// if do filtrowania kategorii dziecko\nif ($(this).val() == 'JJ') {\nvar checked =\n$(this).attr('name') +\n'==' +\n'\"' +\n$(this).val() +\n'\"' +\n'OR' +\n$(this).attr('name') +\n'==' +\n'\"JK\"' +\n'OR' +\n$(this).attr('name') +\n'==' +\n'\"JI\"';\n} else {\nvar checked = $(this).attr('name') + '==' + '\"' + $(this).val() + '\"';\n}\nif ($(this).is(':checked')) {\nif (!__filtr.includes(checked)) {\n__filtr.push(checked);\n}\nif (!checkboxHolder.includes(this.id)) {\ncheckboxHolder.push(this.id);\n}\ndocument\n.querySelector('.m-btn_new.m-btn_primary.m-btn_small.m-filters_submitText')\n.addEventListener('click', function () {\nwindow.scrollTo(0, 0);\n});\n} else {\n__filtr.splice($.inArray(checked, __filtr), 1);\ncheckboxHolder.splice($.inArray(this.id, checkboxHolder), 1);\n}\n});\n__filtr = [];\nif (__tmpFiltr.length > 0) {\n[].forEach.call(__tmpFiltr, function (itm) {\n$('[name=\"' + itm.split('==')[0] + '\"][value=\"' + itm.split('=')[1] + '\"]').click();\n});\n}\n}\nfunction getWithTimeout() {\nsetTimeout(function () {\n__prices = {}\nsnrsAIsearch.getProducts(filtersHolder);\n}, 500);\n}\nfunction makeList(products) {\n$_content.html('');\n[].forEach.call(products, function (product) {\nvar newStuffLabel = `\n
    \n
    \n
    \n
    \n\nNEW

    \n
    \n
    \n
    \n
    \n`;\nvar saleLabel = `\n
    \n
    \n
    \n
    \n\n-${(\n((product.price.value - product.salePrice.value) / product.price.value) *\n100\n).toFixed(0)}%

    \n
    \n
    \n
    \n
    \n`;\nvar promoLabel = `\n
    \n
    \n
    -${(\n((product.price.value - product.salePrice.value) / product.price.value) *\n100\n).toFixed(0)}%\n
    \n
    \n
    \n`;\n$_content.append(`\n
    \n
    \n
    \n
    \n
    \n${product.attributes.emblems === '433' ? newStuffLabel : ''}\n${product.price.value != product.salePrice.value ? saleLabel : ''}\n
    \n
    \n
    \n
    \n\n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \n${product.price.value != product.salePrice.value ? '' : ''}\n
    \n

    Rozmiary

    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n${product.price.value != product.salePrice.value\n? `

    ${financial(\nproduct.price.value\n)} zł

    ${financial(\nproduct.salePrice.value\n)} zł

    `\n: `

    ${financial(\nproduct.price.value\n)} zł

    `\n}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\"\"/\n
    \n
    \n
    \n
    \n`);\nif (product.attributes.sizesEur && product.attributes.sizesEur.length > 0) {\n[].forEach.call(product.attributes.sizesEur.sort(), function (size) {\n$(`.offer_${product.itemId} .b-itemList_sizesItems`).append(`\n\n${size}\n`);\n});\n} else {\n// console.log(product);\n}\nsetTimeout(function () {\nblazy.revalidate();\n}, 500);\n});\n}\nfunction showNoResult(wrongQuery = false) {\n// hide filters and toolbars\ndocument.querySelector(\".b-productList_sidebar\").style.display = \"none\"\ndocument.querySelector(\".b-productList_title\").style.display = \"none\"\ndocument.querySelector(\".b-productList_toolbar.is-top\").style.display = \"none\"\ndocument.querySelector(\".b-productList_toolbar.is-bottom\").style.display = \"none\"\ndocument.querySelector(\"#snrs-category-price\").style.display = \"none\"\ndocument.querySelector(\".b-productList_content\").style.margin = \"0 auto\"\ndocument.querySelector(\".b-productList\").style.justifyContent = \"center\"\n$_content.html('');\nvar noResult = `\n
    \n

    ${wrongQuery ? `Brak wyników dla zapytania \"${query}\"` : 'Nie znaleziono produktów spełniających kryteria.
    Spróbuj użyć mniejszej ilości filtrów (usuń mniej istotne).'}

    \n
    \n`;\n$_content.append(noResult);\nif (!wrongQuery) {\nsetTimeout(function () {\nresetListning();\n}, 2000);\n}\n}\nfunction onlyUnique(value, index, self) {\nreturn self.indexOf(value) === index;\n}\nfunction getProducts(previousFilter, updateRange = true) {\n$('.snr_loader').show();\nif (previousFilter) {\n__filtr = __filtr.concat(previousFilter);\n}\nif (__filtr.length > 0) {\nfiltersHolder = Array.from(__filtr);\n}\nvar __allFiltr = [].concat(__filtr.filter(onlyUnique));\nvar __filters = {\ncolor: [],\n'attributes.itemBrandLabel': [],\n'attributes.sizesEur': [],\n'attributes.genderCode': [],\n'attributes.materialTypeLabel': [],\n'attributes.productGroupLabel': [],\n// 'attributes.buckleTypeLabel': [],\n// 'attributes.outsoleTypeLabel': [],\n};\n// var isPriceRangeDefnied = false;\nvar parsedFilters = [];\nvar priceFilters = [];\n// var filterString = '';\n// var pricesString = '';\nfor (var i = 0; i < __allFiltr.length; i++) {\nvar temp = [];\nvar element = __allFiltr[i];\ntemp.push(element.substr(0, element.indexOf('==')));\ntemp.push(element.substr(element.indexOf('==') + 1));\nvar objProperties = Object.getOwnPropertyNames(filters);\nfor (var j = 0; j < objProperties.length; j++) {\nif (temp[0] === objProperties[j]) {\nfilters[temp[0]].push(temp[1]);\n}\n}\n}\nfor (var item in __filters) {\nvar temp = __filters[item];\nif (temp.length !== 0) {\nvar tempArr = [];\nfor (var i = 0; i < temp.length; i++) {\ntempArr.push(item + '=' + temp[i]);\n}\ntempArr = tempArr.join('OR');\nparsedFilters.push(tempArr);\n}\n}\nif (parsedFilters.length > 0) {\nfor (var i = 0; i < parsedFilters.length; i++) {\nfilterString +=\n'(' + parsedFilters[i] + ')' + (i < parsedFilters.length - 1 ? 'AND' : '');\n}\n}\nif (__prices.hasOwnProperty('max')) {\npriceFilters.push('(salePrice.value<' + __prices.max + ')');\n// isPriceRangeDefnied = true;\n}\nif (__prices.hasOwnProperty('min')) {\npriceFilters.push('(salePrice.value>' + __prices.min + ')');\n// isPriceRangeDefnied = true;\n}\nif (priceFilters.length > 0) {\npricesString = 'AND' + priceFilters.join('AND');\n}\nlet stateObj = { foo: 'bar' };\nlet queryStringK = window.location.search;\nlet urlParamsK = new URLSearchParams(queryStringK);\n// let filtersInUrlK = urlParamsK.get(`${[...__allFiltr].join('AND')}`);\n// Prawdopodobnie lepiej 'filters' bo __allFiltr nie istnieje w momencie wchodzenia na stronę z URLem wypełnionym filtrami\nlet filtersInUrlK = urlParamsK.get('filters');\n// console.log('__allFiltr poza loopkiem on getProducts() = ' + __allFiltr);\nlet __allFiltrOnPageEnter, __allFiltrV3, filtersInUrlK3;\n// if(__allFiltr.length > 0 ){\nif(__allFiltr.length > 0 ){\n__allFiltrOnPageEnter = 1;\n}else{\n__allFiltrV3 = [];\n__allFiltrOnPageEnter = 0;\nlet queryStringK3 = window.location.search;\nlet urlParamsK3 = new URLSearchParams(queryStringK3);\nfiltersInUrlK3 = urlParamsK3.get('filters');\nif(filtersInUrlK3){\nlet filtersInUrlArray3 = filtersInUrlK3.split('AND');\n__allFiltrV3 = filtersInUrlArray3;\n}\n}\nif(filtersInUrlK){\nlet filtersInUrlArray = filtersInUrlK.split('AND');\n// let checkBoxes = () => {\n// for (let i of filtersInUrlArray) {\n// let x = i.replace(/=/g,'').replace(/\"/g,'');\n// document.getElementById(`${x}`).checked = true;\n// }\n// }\n// const myTimeout = setTimeout(checkBoxes, 2000);\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\nlet queryStringK2 = window.location.search;\nlet urlParamsK2 = new URLSearchParams(queryStringK2);\nlet filtersInUrlK2 = urlParamsK2.get('filters');\nlet filtersInUrlArray2 = filtersInUrlK2.split('AND');\n// console.log('filtersInUrlK = ' + filtersInUrlK);\n// console.log('filtersInUrlK2 =' + filtersInUrlK2);\n// console.log('__allFiltr loop 1 stopnia = ' + __allFiltr);\nif(__allFiltrOnPageEnter===1){\n// console.log(__allFiltrOnPageEnter);\nif ((filtersInUrlK !== filtersInUrlK2)&&!(filtersInUrlK2 === '')&&!(filtersInUrlK2 === NaN)&&!(filtersInUrlK2 === undefined)) {\n__allFiltr = filtersInUrlArray2;\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\n// console.log('Pierwszy '+__allFiltr);\n}else if(filtersInUrlK&&((filtersInUrlK2 === '')||(filtersInUrlK2 === NaN)||(filtersInUrlK2 === undefined))){\n__allFiltr = filtersInUrlArray;\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\n// console.log('Drugi 1 '+__allFiltr);\n}else if((filtersInUrlK2 === '')||(filtersInUrlK2 === NaN)||(filtersInUrlK2 === undefined)){\n__allFiltr = [];\n// history.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b`);\n// console.log('Drugi 2 '+__allFiltr);\n}else{\n__allFiltr = filtersInUrlArray;\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\n// console.log('Trzeci '+__allFiltr);\n}\n}\nelse if(__allFiltrOnPageEnter === 0){\n// console.log(__allFiltrOnPageEnter);\n// __allFiltrV3 zczytuje wartość z momentu zaczytania strony\n// console.log('_allFiltrV3 = '+__allFiltrV3);\n__allFiltr = __allFiltrV3;\nfiltersInUrlK = '';\nfiltersInUrlK2 = filtersInUrlK3;\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\n// console.log('__allFiltrOnPageEnter = 0, __allFiltr => '+__allFiltr);\nfiltersInUrlK2 = filtersInUrlK;\n}\n}else{\n// history.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b`);\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\n// console.log(filtersInUrlK);\n// console.log('Czwarty'+__allFiltr);\n}\n/*$('.m-filters_resetText').on('click', function (event) {\nevent.preventDefault();\n$('.m-pagination_current.js-jumpToPage').each(function (index, item) {\nitem.value = '1'\n})\n__filtr = [];\nfiltersHolder = null;\n// __prices = {};\nresetListning();\n__allFiltr = [];\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b`);\n});*/\nlet filterResetBtnK = document.getElementsByClassName('m-filters_reset')[0];\nfilterResetBtnK.addEventListener('click',()=>{\n__allFiltr = [];\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b`);\nwindow.location.reload(true);\n});\nvar defaultOptions = {\nclientUUID: SyneriseTC.uuid,\nlimit: filters.limit,\nfacets: '*',\nincludeMeta: true,\npage: $('.m-pagination_current.js-jumpToPage').val().match(/\\d+/)[0],\nincludeFacets: 'filtered',\nquery: query,\nfilters: [...__allFiltr, ...priceFilters].join('AND')\n// searchId: (__currentSearchId ? __currentSearchId : '')\n};\n// history.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b&filters=${[...__allFiltr].join('AND')}`);\n// console.log(defaultOptions);\n// console.log('__allFiltr po przypisaniu do defaultOptions = '+__allFiltr);\n// console.log('----------------------------------------------');\n// console.log('----------------------------------------------');\n// console.log(defaultOptions.filters);\nif (__sort.length > 0) {\ndefaultOptions.sortBy = __sort[0];\ndefaultOptions.ordering = __sort[1];\n}\n$('[name=\"priceFilter[min]\"]').val()\n? (defaultOptions.minPrice = $('[name=\"priceFilter[min]\"]').val())\n: null;\n$('[name=\"priceFilter[max]\"]').val()\n? (defaultOptions.maxPrice = $('[name=\"priceFilter[max]\"]').val())\n: null;\nvar url =\n`https://ai.e-timberland.pl/ai/search/v2/indices/${searchIndex}/query`\n$.ajax({\ntype: 'GET',\nheaders: {\n'x-api-key': '959AC4A5-5E3C-23F6-C400-6F977D2F8007',\n},\nurl: url,\ncache: false,\ndataType: 'json',\ndata: defaultOptions,\nsuccess: function (response) {\n__firstSearchList = response.data;\n// nadpisanie jk i ji jako jj\nfor (var i = 0; i < __firstSearchList.length; i++) {\nif (\n__firstSearchList[i].attributes.genderCode.toUpperCase() === 'JK' ||\n__firstSearchList[i].attributes.genderCode.toUpperCase() === 'JI'\n) {\n__firstSearchList[i].attributes.genderCode = 'JJ';\n}\n}\n__facets = response.extras.filteredFacets;\nif (\n__facets['attributes.genderCode'].jj ||\n__facets['attributes.genderCode'].ji ||\n__facets['attributes.genderCode'].jk\n) {\nvar jj = __facets['attributes.genderCode'].jj || 0;\nvar jk = __facets['attributes.genderCode'].jk || 0;\nvar ji = __facets['attributes.genderCode'].ji || 0;\n__facets['attributes.genderCode'].jj = jj + jk + ji;\n}\ndelete __facets['attributes.genderCode'].ji;\ndelete __facets['attributes.genderCode'].jk;\n__facets['attributes.genderCode'].jj === 0\n? delete __facets['attributes.genderCode'].jj\n: null;\nif (__firstSearchList.length > 0) {\n$('.m-toolbar_allItems').text('z ' + response.meta.totalCount)\n__currentSearchId = response.searchId;\nmakeList(__firstSearchList);\nmakeFiltr(__facets, updateRange);\n// $('.m-toolbar_allItems').text('z ' + response.data.length + ' produktów');\n// makeSort();\n// makeToolbar();\nmakePagination({\nlimit: response.meta.totalCount,\ntotal: response.meta.totalPages,\n});\nfiltersHolder = __filtr.filter(onlyUnique);\nif (checkboxHolder.length > 0) {\ncheckboxHolder.forEach(function (item) {\nif (document.querySelector('input[id=\"' + item + '\"]')) {\ndocument.querySelector('input[id=\"' + item + '\"]').click();\n}\n});\n}\n} else if (defaultOptions.filters.length > 0) {\nshowNoResult();\n} else {\nshowNoResult(true);\n}\n$('.snr_loader').hide();\n},\nerror: function (response) {\n// console.log(response);\n$('.snr_loader').hide();\n},\n});\n}\nfunction makePagination(config) {\nvar num = config.total;\nnum = 0 ? (num = 1) : (num = num);\n$('.pagmax').attr('data-value', num);\n$('.pagmax').text('z ' + num);\nif (\nNumber($('.m-pagination_current.js-jumpToPage').val()) >\nNumber($('.pagmax').attr('data-value'))\n) {\n$('.m-pagination_current.js-jumpToPage').val($('.pagmax').attr('data-value'));\n}\n}\nvar filterToggle = function () {\nif (filters.container.length && filters.trigger.length) {\nvar $w = $(window).width(),\n$html = $('html'),\n$hide = filters.trigger.data('hide'),\n$show = filters.trigger.data('show');\nif ($w > 1023) {\nfilters.trigger.html($hide);\n} else {\nfilters.trigger.html($show);\n}\nfilters.trigger.on('click', function () {\nif ($html.hasClass('v-filter_active')) {\n$html.removeClass('v-filter_active');\nif ($w > 1023) {\nfilters.trigger.html($hide);\n} else {\nfilters.trigger.html($show);\n}\n} else {\n$html.addClass('v-filter_active');\nif ($w > 1023) {\nfilters.trigger.html($show);\n} else {\nfilters.trigger.html($hide);\n}\n}\n});\nfilters.close.on('click', function () {\n$html.removeClass('v-filter_active');\nfilters.trigger.html($show);\n});\n}\nif (filters.container.length && filters.scroll.length) {\n$.fn.isInViewport = function () {\nvar elementTop = $(this).offset().top,\nviewportTop = $(window).scrollTop(),\nviewportBottom = viewportTop + $(window).height();\nreturn elementTop < viewportBottom;\n};\n$(window).on('resize scroll', function () {\nvar $footer = $('.js-footer'),\n$filter = $('.js-filter_scroll');\nif ($footer.isInViewport()) {\n$filter.addClass('is-hide');\n} else {\n$filter.removeClass('is-hide');\n}\n});\n}\n};\nfunction resetListning() {\n__prices = {};\n__filtr = [];\ncheckboxHolder = [];\nfilters.limit = '60';\n$('[name=\"priceFilter[min]\"]').val('');\n$('[name=\"priceFilter[max]\"]').val('');\ngetProducts();\n}\nfunction debounce(func, wait, immediate) {\nvar timeout;\nreturn function executedFunction() {\nvar context = this;\nvar args = arguments;\nvar later = function () {\ntimeout = null;\nif (!immediate) func.apply(context, args);\n};\nvar callNow = immediate && !timeout;\nclearTimeout(timeout);\ntimeout = setTimeout(later, wait);\nif (callNow) func.apply(context, args);\n};\n}\nvar returnedFunction = debounce(function () {\nvar mustnumber = $('.m-pagination_current.js-jumpToPage').val().match(/\\d+/);\nvar offsetnumber = null;\nif (mustnumber) {\noffsetnumber = mustnumber[0];\nif (mustnumber[0] <= 0) {\noffsetnumber = 1;\n$('.m-pagination_current.js-jumpToPage').val(1);\n} else if (mustnumber[0] > Number($('.pagmax').attr('data-value'))) {\noffsetnumber = Number($('.pagmax').attr('data-value'));\n$('.m-pagination_current.js-jumpToPage').val(\nNumber($('.pagmax').attr('data-value'))\n);\n}\n// var offset = (Number(offsetnumber) - 1) * $('[name=\"limit\"]').val();\n// __pagin = [\"offset=\" + offset];\ngetProducts(filtersHolder, false);\n}\n}, 300);\nvar returnedFunctionWithFilters = debounce(function () {\ngetProducts(filtersHolder, false);\n})\nvar getPriceProduct = debounce(function () {\nvar max = $('[name=\"priceFilter[max]\"]').val();\nvar min = $('[name=\"priceFilter[min]\"]').val();\nif (min < max) {\ngetProducts();\n} else {\n$('[name=\"priceFilter[max]\"]').val('');\n$('[name=\"priceFilter[min]\"]').val('');\ngetProducts();\n}\n}, 300);\nfunction init() {\ndocument.querySelector('.b-productList_title').textContent = `Wyniki wyszukiwania dla frazy \"${query}\"`\ngetProducts();\n$('input.m-filters_listInp.js-filters_checkbox').change(function () {\nlet stateObj = { foo: 'bar' };\nlet xArray=[];\nlet inputCollectionK = document.querySelectorAll('.m-filters_listLab input');\nlet inputCollectionKArray = Array.from(inputCollectionK);\nfor (let i of inputCollectionKArray) {\nif(i.checked === true){\nxArray.push(i);\n// console.log(xArray);\n}\n}\nif(xArray.length < 1){\n__allFiltr = [];\nhistory.replaceState(stateObj, '', `aisearch?q=${query}&s_cat=ai_search_b`);\nwindow.location.reload(true);\n}\n// let queryStringK = window.location.search;\n// let urlParamsK = new URLSearchParams(queryStringK);\n// let filtersInUrlK = urlParamsK.get(\"filters\");\n// let currentFilterValue = urlParamsK.get(this.value);\n// let yk = this.value;\n// let ck = this.name;\n// console.log(vk);\n// let checkVkName = vk.includes(`${this.name}`);\n// if(!checkVkName){\n// if (filtersInUrlK) {\n// if(currentFilterValue){\n// console.log('ten filtr już jest w URLku');\n// }else{\n// vk += `(${ck}=='${yk}')`;\n// // window.location.href += `AND${vk}`\n// }\n// } else {\n// vk += `(${ck}=='${yk}')`;\n// // window.location.href += `&filters=${vk}`;\n// }\n// }else{\n// console.log(\"Ten parametr jest już w VK'eju\");\n// }\n// if do filtrowania kategorii dziecko\n// if ($(this).val() == 'jj') {\n// var checked = $(this).attr('name') + '=' + $(this).val() + '&' + $(this).attr('name') + '=' + 'jk' + '&' + $(this).attr('name') + '=' + 'ji';\n// } else {\n// var checked = $(this).attr('name') + '=' + $(this).val();\n// }\nif ($(this).val() == 'JJ') {\nvar checked =\n$(this).attr('name') +\n'==' +\n'\"' +\n$(this).val() +\n'\"' +\n'OR' +\n$(this).attr('name') +\n'==' +\n'\"JK\"' +\n'OR' +\n$(this).attr('name') +\n'==' +\n'\"JI\"';\n} else {\nvar checked = $(this).attr('name') + '==' + '\"' + $(this).val() + '\"';\n}\nif ($(this).is(':checked')) {\nif (!__filtr.includes(checked)) {\n__filtr.push(checked);\n}\nif (!checkboxHolder.includes(this.id)) {\ncheckboxHolder.push(this.id);\n}\n} else {\n__filtr.splice($.inArray(checked, __filtr), 1);\ncheckboxHolder.splice($.inArray(this.id, checkboxHolder), 1);\n}\n});\n$('[name=\"sort\"]').on('change', function (event) {\nvar targetVal = $(event.target).val();\nif (event.target.value == 'price_asc') {\n__sort = ['salePrice.value', 'asc'];\n$('.m-pagination_current.js-jumpToPage').each(function (index, item) {\nitem.value = '1'\n})\nreturnedFunctionWithFilters()\n} else if (event.target.value == 'price_desc') {\n__sort = ['salePrice.value', 'desc'];\n$('.m-pagination_current.js-jumpToPage').each(function (index, item) {\nitem.value = '1'\n})\nreturnedFunctionWithFilters()\n} else if (event.target.value == 'default') {\n__sort = [];\nreturnedFunctionWithFilters()\n}\n$('.selectric-js-sortProductList .selectric-scroll li').each(function (index, item) {\nif ($(item).text() == $('.selectric-js-sortProductList [name=\"sort\"] [value=\"' + targetVal + '\"]')[0].textContent) {\n$(item).click()\n} else {\n$(item).removeClass('selected')\n}\n})\n$('.selectric-js-sortProductList .selectric .label').each(function (index, item) {\n$(item).text($('.selectric-js-sortProductList [name=\"sort\"] [value=\"' + targetVal + '\"]')[0].textContent)\n})\n});\n$('[name=\"limit\"]').on('change', function () {\nfilters.limit = $(this).val();\n$('.selectric-js-showProductsOnPage .selectric-scroll li').each(function (index, item) {\nif ($(item).text() == filters.limit) {\n$(item).click()\n} else {\n$(item).removeClass('selected')\n}\n})\n$('.selectric-js-showProductsOnPage .selectric .label').each(function (index, item) {\n$(item).text(filters.limit)\n})\n$('.m-pagination_current.js-jumpToPage').each(function (index, item) {\nitem.value = '1'\n})\nreturnedFunctionWithFilters()\n});\n$('.m-filters_submitText').on('click', function (event) {\nevent.preventDefault();\nif ($(window).width() > 1023) {\ngetProducts(filtersHolder);\n} else {\n$('.js-filter_close').click();\n}\n});\n$('.m-filters_resetText').on('click', function (event) {\nevent.preventDefault();\n$('.m-pagination_current.js-jumpToPage').each(function (index, item) {\nitem.value = '1'\n})\n__filtr = [];\nfiltersHolder = null;\n// __prices = {};\nresetListning();\n});\n$('.m-pagination_next').click(function () {\nvar nmb = Number($('.m-pagination_current.js-jumpToPage').val()) + 1;\nif (nmb <= 0) {\nnmb = 1;\n} else if (nmb > Number($('.pagmax').attr('data-value'))) {\nnmb = Number($('.m-pagination_current.js-jumpToPage').val());\n}\n$('.m-pagination_current.js-jumpToPage').val(nmb).trigger('input');\n});\n$('.m-pagination_prev').click(function () {\nvar nmb = Number($('.m-pagination_current.js-jumpToPage').val()) - 1;\nif (nmb <= 0) {\nnmb = 1;\n} else if (nmb > Number($('.pagmax').attr('data-value'))) {\nnmb = Number($('.m-pagination_current.js-jumpToPage').val());\n}\n$('.m-pagination_current.js-jumpToPage').val(nmb).trigger('input');\n});\n$('.m-pagination_current.js-jumpToPage').on('input', returnedFunction);\n$('.arrangement .arrangement-item').on('click', function () {\nvar currentItem = this;\n$('.b-productList_content .b-itemList').removeClass($(currentItem).attr('data-opposite-variant')).addClass($(currentItem).attr('data-variant'))\n$('.arrangement .arrangement-item').removeClass('is-active');\n$(this).addClass('is-active');\n})\n// $('[name=\"priceFilter[min]\"]').on('input', function () {\n// __prices.min = parseFloat(this.value);\n// console.log(__prices.min);\n// });\n// $('[name=\"priceFilter[max]\"]').on('input', function () {\n// __prices.max = parseFloat(this.value);\n// console.log(__prices.max);\n// });\nfilterToggle();\nenp.APP.modules.selectric.init();\n}\nreturn {\ninit: init,\ngetProducts: getProducts,\ngetWithTimeout: getWithTimeout,\n};\r\n})();\r\n\r\nfunction addScript(url) {\nvar script = document.createElement('script');\nscript.type = 'text/javascript';\nscript.src = url;\ndocument.getElementsByTagName('head')[0].appendChild(script);\r\n}\r\n\r\naddScript(\"https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/10.1.0/nouislider.min.js\")\r\n\r\n\r\nif ($ && typeof noUiSlider === 'object') {\n$('.b-productList').removeClass('snr-hidden')\nsnrsAIsearch.init();\n$('head').append('meta name=\"robots\" content=\"noindex, follow\" />');\r\n} else {\nsetTimeout(function () {\n$('.b-productList').removeClass('snr-hidden')\nsnrsAIsearch.init();\n$('head').append('meta name=\"robots\" content=\"noindex, follow\" />');\n}, 1000);\r\n}"},"id":6131488,"name":"Variant A","parsedData":{},"percentage":100,"selector":".m-breadcrumb","selectorPrefix":"AFTER","selector_prefix":"AFTER"}],"viewsExcludePageUrl":[],"viewsPageUrl":[{"requirement":"aisearch","type":"CONTAIN"}]}],"extras":{}}