1(()=>{var u=window.$,S=()=>{let e=u("#shipping-countries").on("change",function(){let i=u(this).val();u(".shipping-zone.selected").removeClass("selected"),u("#"+i).addClass("selected"),i=="shipping-zone-TR"?u("#turkey-info").show():u("#turkey-info").hide()}),t=new URLSearchParams(window.location.search);if(t&&t.get("countryCode")){let i=t.get("countryCode").toUpperCase();e.val("shipping-zone-"+i).trigger("change")}};u(document).ready(()=>{S()});function p(e,t){if(t===null)return e;if(t==="master")return m(e);let i=e.match(/\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?$/i);if(i){let o=e.split(i[0]),n=i[0];return m("".concat(o[0],"_").concat(t).concat(n))}else return null}function m(e){return e.replace(/http(s)?:/,"")}var l=window.$,b=window.Vue,k=new b({el:".shopify-section.header",data:{fixed_header:!1,header_height:70,header_padding:0,show_menu:!1,touched_menu_item:"",is_desktop:null,is_mediastation:window.mediastation,collection_products:{"/collections/new-sneakers":[],"/collections/sneaker-releases":[],"/collections/sale":[],"/collections/accessories":[]},show_search:!1,searchInputText:window.search_terms},created(){window.addEventListener("resize",this.resizeWindow),this.resizeWindow(),this.loadCollectionProducts()},destroyed(){window.removeEventListener("scroll",this.updateFixedHeader),window.removeEventListener("resize",this.resizeWindow)},watch:{show_menu(e){e?l("body").addClass("show_menu"):l("body").removeClass("show_menu")},fixed_header(e){e?l("body").addClass("fixed-header"):(l("body").removeClass("fixed-header"),this.show_search=!1)},header_padding(e){l("body").css("padding-top",e)}},methods:{touchMenuItem(e){l('#nav-main .toolbar input[type="search"]').blur(),this.touched_menu_item=this.touched_menu_item===e?"":e},toggleMobileMenu(){this.show_menu=!this.show_menu},resizeWindow(){this.window_width=l(window).prop("innerWidth");let e=this.is_desktop;this.is_desktop=this.window_width>=992,e!==this.is_desktop&&(this.show_menu=!1,this.touched_menu_item="",this.updateSidebarVisibility(),this.is_desktop||(e===!0&&window.removeEventListener("scroll",this.updateFixedHeader),this.fixed_header=!1,this.header_padding=70)),this.is_desktop&&this.initFixedHeader()},initFixedHeader(){this.is_mediastation||(window.removeEventListener("scroll",this.updateFixedHeader),this.header_height=l(".shopify-section.header").height(),window.addEventListener("scroll",this.updateFixedHeader),this.updateFixedHeader())},updateFixedHeader(){let e=l(window).scrollTop();this.fixed_header=e>this.header_height,this.header_padding=this.fixed_header?this.header_height:0},updateSidebarVisibility(){let e=l("#nav-filter-findify");e.length||(e=l("#nav-filter")),this.is_desktop?e.addClass("show"):e.removeClass("show")},moveNewsletterToFindify(){let e=l("section.collection-products .findify-search aside"),t=l("section.collection-products .findify-fallback aside");if(e.length){let i=t.find("footer");this.is_desktop?i.appendTo(e):i.appendTo(e.parent())}},loadCollectionProducts(){if(!this.is_desktop)return;let e=window.sessionStorage,i=new Date().getTime(),o=null;if(e){let n=window.sessionStorage.getItem("collection_products_timeout");if(o=window.sessionStorage.getItem("collection_products_v4"),o&&n&&n>i){this.collection_products=JSON.parse(o);return}}l.each(this.collection_products,(n,r)=>{l.getJSON("".concat(n,"/products.json?limit=8")).done(a=>{if(!(!a.products||!a.products.length)){for(let s=0;s<a.products.length;s++){let c=a.products[s];if(!(!c.images||!c.images.length)&&(this.collection_products[n].push({title:c.title,url:"/products/".concat(c.handle),img:p(c.images[0].src,"600x"),imgSmall:p(c.images[0].src,"300x"),price:c.variants&&c.variants.length?c.variants[0].price:0,compare_at_price:c.variants&&c.variants.length?c.variants[0].compare_at_price:0}),this.collection_products[n].length===4))break}e&&(window.sessionStorage.setItem("collection_products_v4",JSON.stringify(this.collection_products)),window.sessionStorage.setItem("collection_products_timeout",i+1e3*60*60))}})})},openFixedHeaderSearch(){this.show_search=!0,this.$nextTick(()=>{this.$refs.fixedHeaderSearchInput.focus()})},closeFixedHeaderSearch(e){e&&e.relatedTarget&&this.$refs.fixedHeaderSearch.contains(e.relatedTarget)||(this.show_search=!1)}}});window.headerApp=k;document.addEventListener("DOMContentLoaded",function(){var e=[].slice.call(document.querySelectorAll("video.lazy"));if(!(!e||!e.length)&&"IntersectionObserver"in window){var t=new IntersectionObserver(function(i,o){i.forEac
1h(function(n){if(n.isIntersecting){for(var r in n.target.children){var a=n.target.children[r];typeof a.tagName=="string"&&a.tagName==="SOURCE"&&(a.src=a.dataset.src)}n.target.load(),n.target.classList.remove("lazy"),t.unobserve(n.target)}})});e.forEach(function(i){t.observe(i)})}});if(!window.mediastation){let t=window.Cookies.get("discount_code"),i=window.$;if(t&&!window.location.pathname.includes("/cart")){let o=document.querySelector("#sale-bar-vars")?JSON.parse(document.querySelector("#sale-bar-vars").innerHTML).code.toUpperCase():void 0;if(t.toUpperCase()!=o){class n extends HTMLElement{constructor(){super();let s=window.locales.custom.discount_flag;this.innerHTML="<div>".concat(s.code,':</div><strong class="text-uppercase">').concat(t,"</strong><div>").concat(s.active,"</div>"),this.generateCloseButton()}generateCloseButton(){let s=document.createElement("div"),c=document.querySelector("#nav-top .icon-close");if(!c)return;let _=c.cloneNode(!0);s.classList.add("close"),s.appendChild(_),s.addEventListener("click",this.remove.bind(this)),this.appendChild(s)}setSupportButtonMargin(s){s&&i("body").append("<style>\n @media only screen and (max-width: 767px) {\n #launcher { \n margin-bottom: ".concat(s,"px !important; \n }\n }\n </style>"))}}customElements.define("discount-flag",n);let r=new n;window.discountFlag=!0,document.querySelector("body").prepend(r),r.setSupportButtonMargin(r.offsetHeight)}}}var h=window.moment,T=window.Cookies,C=window.$;customElements.define("sale-bar",class extends HTMLElement{constructor(){super(),!window.discountFlag&&(window.location.pathname.includes("/cart")&&T.get("discount_code")||(this.parent=this.parentElement,this.settings=JSON.parse(this.parent.querySelector("#sale-bar-vars").innerHTML),this.startDateCET="".concat(this.settings.startYear,"-").concat(this.settings.startMonth,"-").concat(this.settings.startDay,"T").concat(this.settings.startHours,":").concat(this.settings.startMinutes,":00.000+02:00"),this.endDateCET="".concat(this.settings.endYear,"-").concat(this.settings.endMonth,"-").concat(this.settings.endDay,"T").concat(this.settings.endHours,":").concat(this.settings.endMinutes,":59.000+02:00"),this.startDateTimestamp=h(this.startDateCET).valueOf(),this.endDateTimestamp=h(this.endDateCET).valueOf(),this.closeButton=this.querySelector(".close"),this.initialize(),this.parent.addEventListener("click",t=>{this.onBarClick(t)}),document.addEventListener("click",t=>{this.onOutsidePopupClick(t)}),this.closeButton.addEventListener("click",()=>{this.parent.remove()})))}initialize(){this.settings.ignoreTime?this.showBar():this.startCounting()}showBar(){this.parent.setAttribute("style","display: block"),this.setSupportButtonMargin(this.offsetHeight+5)}removeBar(){this.remove(),this.parent.setAttribute("style","unset !important")}startCounting(){this.counter=setInterval(this.countDown.bind(this),1e3)}onBarClick(t){let i=this.settings.link,o=this.settings.imgTag,n=this.settings.code;if(t.target!=this.closeButton){if(i&&o&&n)this.openPopup();else if(i&&o&&!n)this.openPopup();else if(!(i&&!o&&n)){if(!(i&&!o&&!n))if(!i&&o&&n){let r=this.openPopup();r.addEventListener("click",a=>{this.copyDiscountCode(r,a)})}else!i&&o&&!n?this.openPopup():!i&&!o&&n&&this.copyDiscountCode(this.parent,t)}}}onOutsidePopupClick(t){let i=document.querySelector(".sale-bar--overlay"),o=document.querySelector(".sale-bar--popup-close-button");(t.target===i||t.target===o)&&this.closeOverlay()}countDown(){let t=h().tz("Europe/Berlin").valueOf(),i=this.endDateTimestamp-t;if(i<0||t<this.startDateTimestamp){this.backup=this,this.removeBar();return}else document.querySelector("sale-bar")||this.parent.append(this.backup),this.showBar();let o=Math.floor(i/(1e3*60*60*24)).toString().padStart(2,"0"),n=Math.floor(i%(1e3*60*60*24)/(1e3*60*60)).toString().padStart(2,"0"),r=Math.floor(i%(1e3*60*60)/(1e3*60)).toString().padStart(2,"0"),a=Math.floor(i%(1e3*60)/1e3).toString().padStart(2,"0"),s=this.querySelector(".sale-bar--counter");s.querySelector(".days").innerHTML=o+"D",s.querySelector(".hours").innerHTML=n+"H",s.querySelector(".minutes").innerHTML=r+"M",s.querySelector(".seconds").innerHTML=a+"S"}copyDiscountCode(t,i){let o=t.getBoundingClientRect();if(!o)return;let n=i.clientX-o.left-60,r=i.clientY-o.top-30;navigator.clipboard&&navigator.clipboard.writeText(this.settings.code.toUpperCase()),this.showTooltipBriefly(t,
1n,r)}showTooltipBriefly(t,i,o){let n=document.createElement("div"),r=document.createElement("span");n.classList.add("sale-bar--tooltip"),n.innerHTML=this.settings.copied,n.style.left="".concat(i,"px"),n.style.top="".concat(o,"px"),r.innerHTML=this.settings.code,n.prepend(r),t.append(n),setTimeout(()=>{n.style.opacity="0",n.addEventListener("transitionend",()=>n.remove())},1e3)}openOverlay(){let t=document.querySelector(".sale-bar--overlay.overlay");return t?(t.style.removeProperty("display"),t):(t=document.createElement("div"),t.classList.add("sale-bar--overlay","overlay"),document.body.prepend(t),t)}closeOverlay(){let t=document.querySelector(".sale-bar--overlay");t&&(t.style.display="none")}openPopup(){let t=document.querySelector(".sale-bar--popup");if(t)this.openOverlay();else{t=document.createElement("div");let i=this.openOverlay(),o='<div class="sale-bar--popup-close-container"><div class="sale-bar--popup-close-button">'.concat(this.settings.close,"</div></div>"),n='<div class="sale-bar--spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>',r=this.settings.link,a=this.settings.code,s=this.settings.imgTag;r&&a&&(s='<a href="/discount/'.concat(a,"?redirect=").concat(r,'">').concat(s,"</a>")),r&&!a&&(s='<a href="'.concat(r,'">').concat(s,"</a>")),!r&&a&&t.setAttribute("title",this.settings.copy),t.innerHTML=o+n+s,t.classList.add("sale-bar--popup"),i.append(t)}return t}setSupportButtonMargin(t){if(!t)return;let i="#launcher { margin-bottom: ".concat(t,"px !important; }"),o=document.getElementById("supportButtonStyle");o||(o=document.createElement("style"),o.setAttribute("id","supportButtonStyle"),C("body").append(o)),o.innerHTML!=i&&(o.innerHTML=i)}});var d=window.$;function $(){let e=new Audio(window.click_url);d(document).on("click","a, button",()=>{e.play()})}var f=0;window.initFindifyFacets=function(){f&&clearTimeout(f),f=setTimeout(()=>{window.headerApp.moveNewsletterToFindify(),window.headerApp.updateSidebarVisibility();let e=d("#nav-filter-findify");e.length&&d(".filter-bestof").attr("data-parent","#nav-filter-findify").siblings(".btn").attr("data-target","#nav-filter-findify .filter-bestof").closest(".filter").appendTo(e),window.scrollToProduct()},0)};window.scrollToProduct=function(){if(location.hash.startsWith("#findify_")){var e=d(location.hash);e.length&&e[0].scrollIntoView()}};window.updateFindifyFilters=function(){d("section.collection-products").removeClass("with-min-height"),window.headerApp.updateSidebarVisibility(),d("body,html").animate({scrollTop:0},200)};window.updateFindifySearch=function(){window.headerApp.show_menu=!1};window.updateFindifyRecommendations=function(){d(".shopify-section.findify-recommendation").each(function(){let e=d(this);e.find(".findify-recommendation").length&&e.show()})};var x=setTimeout(()=>{d(".findify-fallback").show(),d(".findify-component-spinner").hide()},5e3);window.findifyCallbacks=window.findifyCallbacks||[];window.findifyCallbacks.push(()=>{clearTimeout(x)});window.getPreferredSizeType=function(e){if(!window.localStorage)return!1;if(!Array.isArray(e))return window.getPreferredSizeType([e]);let t=window.localStorage.getItem("size_type_".concat(e.join("/")));return t||!1};window.setPreferredSizeType=function(e,t){if(window.localStorage){if(!Array.isArray(t)){window.setPreferredSizeType(e,[t]);return}t.includes(e)&&window.localStorage.setItem("size_type_".concat(t.join("/")),e)}};window.getPreferredSneakerSizeType=function(){return window.getPreferredSizeType(["US","EU","UK","CM"])};window.setPreferredSneakerSizeType=function(e){e&&window.setPreferredSizeType(e,["US","EU","UK","CM"])};window.onpageshow=function(e){e.persisted&&window.scrollToProduct()};d(document).ready(()=>{d("[data-background-image]").each(function(){let e=d(this);e.css("background-image","url(".concat(e.data("background-image"),")"))}),d("body.template-policies").length||d('footer a[href="/policies/privacy-policy"]').parent().after('<li>
1<a href="#cookie-settings" class="optanon-show-settings">Cookie-Settings</a></li>'),d('#nav-main .toolbar input[type="search"]').closest("form").submit(()=>{window.updateFindifySearch()}),window.newsletter_form_id&&(d("a[href='".concat(window.newsletter_signup_link,"']")).on("click",()=>!window._klOnsite||!window._klOnsite.openForm?!0:(window._klOnsite.openForm(window.newsletter_form_id),!1)),window.location.hash==="#newsletter"&&(window._klOnsite=window._klOnsite||[],window._klOnsite.push(["openForm",window.newsletter_form_id]))),window.sale_update_form_id&&d("a[href='".concat(window.sale_update_signup_link,"']")).on("click",()=>!window._klOnsite||!window._klOnsite.openForm?!0:(window._klOnsite.openForm(window.sale_update_form_id),!1)),window.stock_update_form_id&&d("a[href='".concat(window.stock_update_signup_link,"']")).on("click",()=>!window._klOnsite||!window._klOnsite.openForm?!0:(window._klOnsite.openForm(window.stock_update_form_id),!1)),window.mediastation&&$()});var E=document.querySelector("body");function w(){let e=document.createElement("style");e.innerHTML="#onetrust-consent-sdk{display: none;}",E.append(e)}Shopify&&Shopify.designMode?w():(location.hostname.includes("store.net")||location.hostname.includes("127.0.0.1")||location.hostname.includes(".myshopify.com")||location.hostname.includes("afew-good-things.com"))&&(sessionStorage.hideCookieBanner?location.search.indexOf("cb=1")!==-1?sessionStorage.removeItem("hideCookieBanner"):w():location.search.indexOf("cb=0")!==-1&&(sessionStorage.hideCookieBanner=!0,w()));var g=window.Swiper,{Lazy:L,Navigation:M,Pagination:F}=window.SwiperModules,y=window.$;function v(e){return{grabCursor:!0,lazy:{loadPrevNext:!0},navigation:{nextEl:e.querySelector(".gallery-nav-button.next"),prevEl:e.querySelector(".gallery-nav-button.previous")},pagination:{el:e.parentElement.querySelector(".swiper-pagination"),clickable:!0},modules:[L,M,F]}}function B(){let e=[];document.querySelectorAll(".image-gallery .swiper").forEach(t=>{e.push(new g(t,v(t)))}),document.addEventListener("shopify:section:load",()=>{e.forEach(t=>t.destroy()),e.length=0,document.querySelectorAll(".image-gallery .swiper").forEach(t=>{e.push(new g(t,v(t)))})})}y(document).ready(()=>{y(".image-gallery .swiper").length&&B()});})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.