1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(__sections__.header)try{class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".shopify-section-header"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type")==="always",this.mobileMenu=this.querySelector("header-drawer"),this.currentScrollTop=0,this.preventHide=!1,this.preventReveal=!1,this.headerCoords={},this.calcHeaderCoords(),this.onScrollHandler=this.onScroll.bind(this),this.enableScroll()}disconnectedCallback(){this.disableScroll()}calcHeaderCoords(){const clientRect=this.getBoundingClientRect(),pageYOffset=window.pageYOffset||document.documentElement.scrollTop;this.headerCoords.bottom=pageYOffset+clientRect.bottom,this.headerCoords.top=pageYOffset+clientRect.top}onScroll(event){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(this.headerIsAlwaysSticky&&(scrollTop>this.header.offsetHeight+1&&this.header.classList.add("shopify-section-header-sticky"),scrollTop<this.header.offsetHeight&&this.header.classList.remove("shopify-section-header-sticky")),scrollTop>this.currentScrollTop&&scrollTop>this.headerCoords.bottom){if(this.preventHide||this.mobileMenu&&this.mobileMenu.isOpen&&window.innerWidth<=1160)return;requestAnimationFrame(this.hide.bind(this))}else if(scrollTop<this.currentScrollTop&&scrollTop>this.headerCoords.bottom){if(this.preventReveal)return;requestAnimationFrame(this.reveal.bind(this))}else scrollTop<=this.headerCoords.top&&requestAnimationFrame(this.reset.bind(this));this.currentScrollTop=scrollTop}hide(){this.headerIsAlwaysSticky||this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky")}reveal(){this.headerIsAlwaysSticky||(this.header.classList.add("shopify-section-header-sticky","animate"),this.header.classList.remove("shopify-section-header-hidden"))}reset(){this.headerIsAlwaysSticky||this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-sticky","animate")}enableScroll(){window.addEventListener("scroll",this.onScrollHandler,!1)}disableScroll(){window.removeEventListener("scroll",this.onScrollHandler)}}customElements.define("sticky-header",StickyHeader)}catch(e){console.error(e)}})()})(); 2//# sourceMappingURL=/cdn/shop/t/45/compiled_assets/scripts.js.map?v=147495836689230121761778312283
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.