(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");ibutton.addEventListener("click",this.onActive.bind(this))),actionLoadMore.length&&actionLoadMore.forEach(button=>button.addEventListener("click",this.onLoadMore.bind(this)))}onActive(e){this.tabTitle.querySelector(".active").classList.remove("active"),this.tabContent.querySelector(".active").classList.remove("active"),this.querySelector(e.target.dataset.target).classList.add("active"),e.target.parentElement.classList.add("active")}onLoadMore(e){if(this.resize(),this.widthWindow>1024)var eleHide=e.target.parentElement.querySelectorAll(".hidden-lg"),_number=e.target.dataset.rowlg,_class="hidden-lg";else if(this.widthWindow>551)var eleHide=e.target.parentElement.querySelectorAll(".hidden-md"),_number=9,_class="hidden-md";else var eleHide=e.target.parentElement.querySelectorAll(".hidden-sm"),_number=6,_class="hidden-sm";if(eleHide.length)if(e.target.classList.contains("more")){for(let i=0;i0){$(document).on("click","[data-menu-tab] li",event=>{var active=$(event.currentTarget).data("load-page"),href=$(event.currentTarget).attr("href");$.cookie("page-url",active,{expires:1,path:"/"})});var canonical=$("[canonical-shop-url]").attr("canonical-shop-url"),pageUrl=$.cookie("page-url"),menuTabItem,logoTabItem,menuItem;window.location.pathname.indexOf("/pages/")!==-1&&window.page_active&&window.page_active!=pageUrl&&(setCookie2("page-url",window.page_active,1),pageUrl=window.page_active),pageUrl!=null?(menuTabItem=$(`[data-load-page="${pageUrl}"]`),logoTabItem=$(`[data-load-logo-page="${pageUrl}"]`),menuItem=$(`[data-load-menu-page="${pageUrl}"]`)):(menuTabItem=$("[data-load-page].is-active"),logoTabItem=$("[data-load-logo-page].first"),menuItem=$("[data-load-menu-page].is-active"));var menuTab=menuTabItem.closest("[data-menu-tab]");menuTab.find("[data-load-page]").not(menuTabItem).removeClass("is-active"),logoTabItem.siblings().removeClass("is-active"),menuItem.siblings().removeClass("is-active"),pageUrl!=""?(logoTabItem.addClass("is-active"),menuTabItem.addClass("is-active"),menuItem.addClass("is-active")):($("[data-load-page]:nth-child(1)").addClass("is-active"),$("[data-load-logo-page]:nth-child(1)").addClass("is-active"),$("[data-load-menu-page]:nth-child(1)").addClass("is-active"));const header=menuTabItem.closest(".header");if(header&&window.innerWidth<1025){window.location.pathname.indexOf("/pages/")!==-1&&window.page_active&&window.page_active!=pageUrl&&(setCookie2("page-url",window.page_active,1),pageUrl=window.page_active);const logoMobile=$(".header-mobile .header__heading-link"),logDesktop=header.find(".header__heading-link.is-active");if(logDesktop.data("logo-mobile")==null){logoMobile.find("img").addClass("logo-show");return}else logoMobile.html(`${logDesktop.data(`),logoMobile.find("img").addClass("logo-show"),pageUrl!=""&&pageUrl!=null&&logoMobile.attr("href",pageUrl)}}};var setCookie=setCookie2,renderLogoMobile=renderLogoMobile2;class StickyHeaderMobile extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-mobile"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type")==="always"||this.getAttribute("data-sticky-type")==="reduce-logo-size",this.headerBounds={},this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.predictiveSearch=this.querySelector("predictive-search"),this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(!(this.predictiveSearch&&this.predictiveSearch.isOpen)){if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.header.classList.add("scrolled-past-header"),this.preventHide)return;requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}}hide(){this.headerIsAlwaysSticky||(this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.style.top="")}reveal(){const headerMultiSite=document.querySelector(".section-header-nav-multi-site");if(!this.headerIsAlwaysSticky&&(this.header.classList.add("shopify-section-header-sticky","animate"),this.header.classList.remove("shopify-section-header-hidden"),headerMultiSite)){const height=headerMultiSite.offsetHeight;this.header.style.top=`${height}px`}}reset(){this.headerIsAlwaysSticky||(this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-sticky","animate"),this.header.style.top="")}}customElements.define("sticky-header-mobile",StickyHeaderMobile),document.querySelector("[data-mobile-menu]").addEventListener("click",()=>{document.body.classList.toggle("menu_open")}),renderLogoMobile2()}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-nav-multi-site"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-multi-site");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}document.addEventListener("DOMContentLoaded",()=>{customElements.define("sticky-header",StickyHeader)})}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-basic"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-basic");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-compact"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-compact");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-full-elements"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-full-elements");if(sticky!=null||sticky!=null){console.log("sticky full: "+sticky);class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-hamburger"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-hamburger");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("load",this.checkLoadPosition.bind(this)),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("load",this.checkLoadPosition),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}checkLoadPosition(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop,headerGr=document.querySelectorAll(".shopify-section-group-header-group");headerGr[0].classList.contains("shopify-section-header-sticky")?scrollTop>headerGr[0].offsetHeight&&!this.header.classList.contains("scrolled-past-header")&&this.header.classList.add("shopify-section-header-hidden"):headerGr.forEach(item=>{if(item.classList.contains("shopify-section-header-sticky")){const itemPrev=item.previousElementSibling,itemPrevHeight=itemPrev.offsetHeight,itemPrevTop=itemPrev.offsetTop;scrollTop>itemPrevTop+itemPrevHeight&&!this.header.classList.contains("scrolled-past-header")&&this.header.classList.add("shopify-section-header-hidden")}})}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show"),document.querySelector("body").classList.add("section-header-is-hidden");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden"),document.querySelector("body").classList.remove("section-header-is-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate"),document.querySelector("body").classList.remove("section-header-is-hidden")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-left-aligned"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-left-aligned");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-plain"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-plain");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),document.body.classList.add("scrolled-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),document.body.classList.add("scrolled-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),document.body.classList.remove("scrolled-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-utility"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-utility");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}(),function(){if(!(!__sections__["header-navigation-vertical-menu"]&&!window.DesignMode))try{var sticky=document.getElementsByTagName("sticky-header")[0].querySelector(".header-nav-vertical-menu");if(sticky!=null||sticky!=null){class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header-navigation"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type"),this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.preventHide)return;this.header.classList.add("scrolled-past-header"),requestAnimationFrame(this.hide.bind(this))}else scrollTopthis.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}hide(){if(this.headerIsAlwaysSticky!=null){if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky");return}else this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.header.classList.remove("shopify-section-header-show");$(".vertical-menu").hasClass("vertical-menu__style_3")||$(".vertical-menu").addClass("vertical-menu__hide")}this.closeMenuDisclosure()}reveal(){if(this.headerIsAlwaysSticky!=null)if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.add("shopify-section-header-sticky","shopify-section-header-show","animate"),this.header.classList.remove("shopify-section-header-hidden")}reset(){if(this.headerIsAlwaysSticky!=null){if(this.headerIsAlwaysSticky==="always"){this.header.classList.add("shopify-section-header-sticky","animate");return}else this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-show","shopify-section-header-sticky","animate");$(".vertical-menu").hasClass("vertical-menu__style_3")||document.body.classList.contains("template-index")&&$(".vertical-menu").hasClass("vertical-menu__hide")&&$(".vertical-menu").removeClass("vertical-menu__hide")}}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("details-disclosure"),this.disclosures.forEach(disclosure=>disclosure.close())}}customElements.define("sticky-header",StickyHeader)}}catch(e){console.error(e)}}()})(); //# sourceMappingURL=/cdn/shop/t/2/compiled_assets/scripts.js.map?1811=