1function ShopEventManager(){this._initialized=!1;this._fireQueue=[];this.events=[{name:"init",category:"system"},{name:"pageView",category:"system"},{name:"controller-submit",category:"system",sync:!0},{name:"beforeListLoad",category:"system",sync:!0},{name:"afterListLoad",category:"system",sync:!0},{name:"beforeViewRender",category:"system",sync:!0},{name:"addToBasket",category:"catalog"},{name:"beforeAddToBasket",category:"catalog",sync:!0},{name:"globalSearchSubmit",category:"catalog"},{name:"registrationSubmit",category:"catalog"},{name:"registrationNewsletter",category:"catalog"},{name:"afterAddToFavorites",category:"catalog"},{name:"afterRemoveFromFavorites",category:"catalog"},{name:"checkout",category:"checkout"},{name:"checkoutStep",category:"checkout"},{name:"checkoutConfirm",category:"checkout"},{name:"basketChangeAmount",category:"checkout"},{name:"onFilterUpdate",category:"filter"},{name:"onFilterInit",category:"filter"},{name:"all",category:"system"}];this.eventListeners=[]}function loadObservers(){var n=[{name:"header-height",selector:"header",onResize:(n,t)=>{document.documentElement.style.setProperty("--"+n.name,t.contentRect.height+"px")}},{name:"banner-height",selector:".links-banner",onResize:(n,t)=>{document.documentElement.style.setProperty("--"+n.name,t.contentRect.height+"px")}},{name:"header-row-height",selector:".hrow-logo",onResize:(n,t)=>{document.documentElement.style.setProperty("--"+n.name,t.contentRect.height+"px")}},{name:"footer-links-mobile-height",selector:".links-mobile-fix",onResize:(n,t)=>{document.documentElement.style.setProperty("--"+n.name,t.contentRect.height+"px")}},{name:"footer-inverted",selector:"footer",onAdded:(n,t)=>{var i=document.querySelector("#content-mods > section:last-child"),u,r;i&&(document.documentElement.style.setProperty("--content-width",i.clientWidth+"px"),u=window.getComputedStyle(i),r=u.backgroundColor,r&&r!="rgba(0, 0, 0, 0)"&&t.setAttribute("data-style","inverted"))}},{name:"easing",value:"cubic-bezier(0.475,0.425,0,0.995)"},{name:"cubic-bezier",value:"cubic-bezier(0.19,1,0.22,1)"},{name:"video-poster",selector:"video",multiple:!0,onAdded:(n,t)=>{var f,e,r,i,u,o,s;try{if(f=t.closest("section"),!f)return;if(e=f.getBoundingClientRect(),e.width==0)return;if(t.parentElement.classList.add("video-container"),r=e.width,i=640,r>320&&(i=1280),r>1280&&(i=1920),r>1920&&(i=2500),u=new URL(t.getAttribute("poster"),location.origin),o=parseInt(u.searchParams.get("w"),10)||0,i<=o)return;u.searchParams.set("w",i);s=u.toString();t.setAttribute("poster",s)}catch{}}}];n.forEach(n=>{try{if(n.value&&document.documentElement.style.setProperty("--"+n.name,n.value),n.selector){const i=t=>{if(n.onResize){var i=new ResizeObserver(t=>{n.onResize(n,t[0])});i.observe(t)}if(n.onAdded)n.onAdded(n,t)};var t=new MutationObserver((t,r)=>{for(const u of t)for(const t of u.addedNodes)t.matches&&t.matches(n.selector)&&(n.multiple||r.disconnect(),i(t))});t.observe(document.documentElement,{childList:!0,subtree:!0});n.multiple&&setTimeout(()=>t.disconnect(),2e3)}}catch(i){console.error("Header Observer Error",i)}})}function BannerController(n){n&&(this.container=n,this.region=n.attr("data-region"));typeof BaseController!="undefined"&&Object.setPrototypeOf(BannerController.prototype,BaseController.prototype)}if(window.Shop={"async":[],resources:{},loadedScripts:[],loadedStyles:[],plugins:{},pluginLoaders:[],isReady:!1,ready:function(n){this.isReady?n():this.async.push(n)},pluginReady:function(n,t){this.plugins[n]?t():this.pluginLoaders.push({id:n,func:t})},setState:function(n){var t=this;this.ready(function(){t.setState(n)})},t:function(n,t){return this.resources[n]?this.resources[n]:t},loadScripts:function(n,t,i){var e=this,f=typeof $!="undefined"?$.Deferred():null,o,r,s,u;if(document.readyState=="loading"){document.addEventListener("DOMContentLoaded",function(){e.loadScripts(n,t,i)});return}for(o=document.createElement("div"),o.id="plugin-scripts",r=null,s=0;s<n.length;s++)u=n[s],t>0&&u.indexOf("v=")==-1&&(u+=(u.indexOf("?")>-1?"&":"?")+"v="+t),e.loadedScripts.indexOf(u)==-1&&(r=document.createElement("script"),r.async=!1,r.src=u,o.appendChild(r),e.loadedScripts.push(u));return r!=null?r.onload=function(){e.init();f&&f.resolve();i&&i()}:(f&&f.resolve(),i&&i()),document.body.appendChild(o),f},loadStyles:function(n,t){var e=this,o=$.Deferred(),r,i,u,f;if(document.readyState=="loading"){document.addEventListener("DOMContentLoaded",function(){e.loadStyles(n,t)});return}for(r=document.createElement("div"),r.id="plugin-styles",i=null,u=0;u<n.length;u++)f=n[u],e.loadedStyles.indexOf(f)==-1&&(i=document.createElement("link"),i.rel="stylesheet",i.type="text/css",i.href=f,r.appendChild(i),e.loadedStyles.push(f));return i!=null&&(i.onload=function(){o.resolve()}),document.body.appendChild(r),o},registerPlugin:function(n){var t=this;if(!this.plugins[n.id]){if(!this.isReady){Shop.ready(function(){t.registerPlugin(n)});return}n.scripts||(n.scripts=[]);n.styles||(n.styles=[]);this.loadScripts(n.scripts,n.hash).then(t.loadStyles(n.styles)).done(function(){var i=t.pluginLoaders.filter(function(t){return t.id==n.id});
1i.forEach(function(n){n.func()});t.pluginLoaders=t.pluginLoaders.filter(function(t){return t.id!=n.id});t.plugins[n.id]=n})}},isMobile:function(){var n=document.querySelector("#mobile-detector");return n==null&&console.error("Missing #mobile-detector span"),n&&n.offsetTop>0}},ShopEventManager.prototype.init=function(){var n=this;this._initialized||this._fireQueue.forEach(function(t){n.fireEventInternal(t.event,t.data)});this._initialized=!0},ShopEventManager.prototype.isSystemEvent=function(n){return this.systemEvents.indexOf(n)>-1?this.systemEvents.indexOf(n)>-1:!1},ShopEventManager.prototype.isUserEvent=function(n){return!this.isSystemEvent(n)},ShopEventManager.prototype.addEventListener=function(n,t,i){var u=this,r=this.eventListeners.filter(function(n){return n.id==t});r.length>0||this.eventListeners.push({id:t,event:n,action:i})},ShopEventManager.prototype.fireEvent=function(n,t){var i=this;if(!this._initialized){this._fireQueue.push({event:n,data:t});return}Shop.ready(function(){i.fireEventInternal(n,t)})},ShopEventManager.prototype.fireEventInternal=function(n,t){var r=this,i;if(n=="pageView"&&t==null&&(t=Shop),i=this.events.find(function(t){return t.name==n}),i==null){console.warn("Unsupported event: "+n);return}t==null&&(t={});typeof t=="object"&&(t.state=Shop);r.eventListeners.forEach(function(r){(r.event==n||r.event=="all")&&(i.sync?r.action(t,n,i):setTimeout(function(){r.action(t,n,i)},500))})},Shop.EventManager=new ShopEventManager,Shop.fireEvent=function(){Shop.EventManager.fireEvent.apply(Shop.EventManager,arguments)},Shop.addEventListener=function(){Shop.EventManager.addEventListener.apply(Shop.EventManager,arguments)},loadObservers(),BannerController.prototype.init=function(){this.initBase();var n=this,t=this.getState();(t==null||t=="visible")&&(this.container.attr("data-state","visible"),$("body").addClass("banner-visible"),this.container.find("a:not(.banner-close)").click(function(){n.setState("hidden")}),this.container.find("a.banner-close").click(function(){n.close()}))},BannerController.prototype.close=function(){this.setState("hidden");this.container.attr("data-state","hidden");$("body").removeClass("banner-visible")},BannerController.prototype.getState=function(){var n=BannerController.getCookie(this.region);return n||(n="visible"),n},BannerController.prototype.setState=function(n){BannerController.setCookie(this.region,n)},BannerController.onMutationObserverInit=function(n){var i=n.getAttribute("data-region"),t=BannerController.getCookie(i);(t==null||t=="visible")&&(document.body.classList.add("banner-visible"),n.setAttribute("data-state","visible"))},BannerController.getCookie=function(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return decodeURIComponent(t.substring(r.length,t.length))}return null},BannerController.setCookie=function(n,t,i){var u="",r;i&&(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toUTCString());document.cookie=n+"="+encodeURIComponent(t)+u+"; path=/"},typeof MutationObserver!="undefined"){var bannerObserver=new MutationObserver((n,t)=>{for(const i of n)if(i.target.matches("header"))for(const n of i.addedNodes)if(n.nodeType===1){if(n.matches(".links-banner"))BannerController.onMutationObserverInit(n);if(n.matches(".header-inner")){t.disconnect();return}}});bannerObserver.observe(document.documentElement,{childList:!0,subtree:!0})}
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.