var __accessCheck=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},__privateGet=(e,t,i)=>(__accessCheck(e,t,"read from private field"),i?i.call(e):t.get(e)),__privateAdd=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},__privateSet=(e,t,i,s)=>(__accessCheck(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i),__privateMethod=(e,t,i)=>(__accessCheck(e,t,"access private method"),i);import{timeline}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{EffectCarousel}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var AnnouncementBar=class extends EffectCarousel{_transitionTo(e,t){timeline([[e,{transform:["translateY(0)","translateY(-5px)"],opacity:[1,0],visibility:["visible","hidden"]},{duration:.2}],[t,{transform:["translateY(5px)","translateY(0)"],opacity:[0,1],visibility:["hidden","visible"]},{duration:.2}]])}};window.customElements.get("announcement-bar")||window.customElements.define("announcement-bar",AnnouncementBar);var SplitCursor=class extends HTMLElement{connectedCallback(){this._parentSection=this.closest(".shopify-section"),this._dragging=!1,this._offsetX=this._currentX=0,this._parentSection.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._parentSection.addEventListener("pointermove",this._onPointerMove.bind(this)),this._parentSection.addEventListener("pointerup",this._onPointerUp.bind(this)),window.addEventListener("resize",this._recalculateOffset.bind(this))}get minOffset(){return-this.offsetLeft-("rtl"===document.dir?this.clientWidth:0)}get maxOffset(){return this.offsetParent.clientWidth+this.minOffset}_onPointerDown(e){(e.target===this||this.contains(e.target))&&(this._initialX=e.clientX-this._offsetX,this._dragging=!0)}_onPointerMove(e){this._dragging&&(this._currentX=Math.min(Math.max(e.clientX-this._initialX,this.minOffset),this.maxOffset),this._offsetX=this._currentX,this._parentSection.style.setProperty("--clip-path-offset",`${this._currentX.toFixed(1)}px`))}_onPointerUp(){this._dragging=!1}_recalculateOffset(){this._parentSection.style.setProperty("--clip-path-offset",`${Math.min(Math.max(this.minOffset,this._currentX.toFixed(1)),this.maxOffset)}px`)}};window.customElements.get("split-cursor")||window.customElements.define("split-cursor",SplitCursor);import{timeline as timeline2,inView}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";var CollectionList=class extends HTMLElement{connectedCallback(){window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&inView(this,this._reveal.bind(this),{margin:"-100px"})}_reveal(){const e=Array.from(this.querySelectorAll("[reveal-js]"));timeline2([[e,{opacity:1},{duration:0}],[e.map((e=>e.querySelector("img, svg"))),{opacity:[0,1],transform:["scale(1.03)","auto"]},{duration:.2}],[e.map((e=>e.querySelector(".collection-card__content-wrapper"))),{opacity:[0,1]},{duration:.2}]])}};window.customElements.get("collection-list")||window.customElements.define("collection-list",CollectionList);import{Delegate}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";var AccountLogin=class extends HTMLElement{connectedCallback(){this.recoverForm=this.querySelector("#recover"),this.loginForm=this.querySelector("#login"),"#recover"===window.location.hash&&this._switchForms(),new Delegate(this).on("click",'[href="#recover"], [href="#login"]',this._switchForms.bind(this))}_switchForms(e){e&&e.preventDefault(),this.recoverForm.hidden=!this.recoverForm.hidden,this.loginForm.hidden=!this.loginForm.hidden}};window.customElements.get("account-login")||window.customElements.define("account-login",AccountLogin);import{animate,timeline as timeline3,stagger,Delegate as Delegate2}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{AnimatedDetails,EffectCarousel as EffectCarousel2,Drawer,throttle}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var reduceMenuAnimation=JSON.parse("false"),StoreHeader=class extends HTMLElement{connectedCallback(){this.hasAttribute("hide-on-scroll")&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&(this._lastScrollTop=0,this._accumulatedScroll=0,this._isVisible=!0,this._hasSwitchedToSticky=!1,window.addEventListener("scroll",throttle(this._onScroll.bind(this)))),this.addEventListener("toggle",this._checkTransparency.bind(this),{capture:!0}),this.hasAttribute("sticky")&&(this._setupTransparentHeader(),Shopify.designMode&&(document.addEventListener("shopify:section:load",this._setupTransparentHeader.bind(this)),document.addEventListener("shopify:section:unload",this._setupTransparentHeader.bind(this)),document.addEventListener("shopify:section:reorder",this._setupTransparentHeader.bind(this))))}hide(){this._isVisible&&(animate(this,{transform:["translateY(0)","translateY(-100%)"]},{duration:.2,easing:"ease"}),this._isVisible=!1)}show(){this._isVisible||(animate(this,{transform:["translateY(-100%)","translateY(0)"]},{duration:.2,easing:"ease"}),this._accumulatedScroll=0,this._isVisible=!0)}_onScroll(){window.scrollY<0||(this._accumulatedScroll=Math.max(0,this._accumulatedScroll+(window.scrollY-this._lastScrollTop)),window.scrollYparseInt(this.getAttribute("hide-on-scroll"))&&this.hide(),this._lastScrollTop=window.scrollY)}_checkTransparency(){let e=!1;if(CSS.supports("selector(:has(> *))")&&this.hasAttribute("sticky")&&!this.hasAttribute("hide-on-scroll")&&this.hasAttribute("allow-transparency")){const e=500;this.querySelectorAll("[open]").length>0?this.classList.add("is-filled"):window.scrollY>=e&&!this._hasSwitchedToSticky?(this._hasSwitchedToSticky=!0,this.classList.add("is-filled"),animate(this,{transform:["translateY(-100%)","translateY(0)"]},{duration:.15,easing:"ease"})):window.scrollY{this.style.transform=null,this.classList.remove("is-filled")}))):0===this.getAnimations().length&&this.classList.remove("is-filled"))}else e=window.scrollY>20,this.classList.toggle("is-filled",!this.hasAttribute("allow-transparency")||this.querySelectorAll("[open]").length>0||e)}_setupTransparentHeader(){document.querySelector(".shopify-section:first-child [allow-transparent-header]")?(this.setAttribute("allow-transparency",""),window.addEventListener("scroll",throttle(this._checkTransparency.bind(this))),this.addEventListener("mouseenter",this._checkTransparency.bind(this)),this.addEventListener("mouseleave",this._checkTransparency.bind(this)),this._checkTransparency()):this.removeAttribute("allow-transparency")}},DropdownDisclosure=class extends AnimatedDetails{constructor(){super(),this._detectClickOutsideListener=this._detectClickOutside.bind(this),this._detectEscKeyboardListener=this._detectEscKeyboard.bind(this),this._detectFocusOutListener=this._detectFocusOut.bind(this),this._detectHoverListener=this._detectHover.bind(this),this._hoverTimer=null,this.addEventListener("mouseover",this._detectHoverListener.bind(this)),this.addEventListener("mouseout",this._detectHoverListener.bind(this))}get trigger(){return window.matchMedia("screen and (pointer: fine)").matches?this.getAttribute("trigger"):"click"}get mouseOverDelayTolerance(){return 250}_onSummaryClicked(e){"hover"===this.trigger?(e.preventDefault(),e.target.hasAttribute("data-url")&&(window.location.href=e.target.getAttribute("data-url"))):super._onSummaryClicked(e)}async _transition(e){if(e){this.setAttribute("open",""),document.addEventListener("click",this._detectClickOutsideListener),document.addEventListener("keydown",this._detectEscKeyboardListener),document.addEventListener("focusout",this._detectFocusOutListener);const e=Array.from(this.closest("ul").querySelectorAll("[open]")).filter((e=>e!==this));e.forEach((e=>e.open=!1)),await this._transitionIn(e.length>0)}else document.removeEventListener("click",this._detectClickOutsideListener),document.removeEventListener("keydown",this._detectEscKeyboardListener),document.removeEventListener("focusout",this._detectFocusOutListener),await this._transitionOut(),this.removeAttribute("open")}_transitionIn(e=!1){const t=[[this.contentElement,{opacity:1},{duration:.2}]];return window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&!reduceMenuAnimation&&t.push([this.contentElement.querySelectorAll(":scope > ul > li"),{opacity:[0,1],transform:["translateY(-10px)","translateY(0)"]},{delay:stagger(.025),at:"-0.1",duration:.2}]),timeline3(t,{delay:e>0?.1:0}).finished}_transitionOut(){return timeline3([[this.contentElement,{opacity:0},{duration:.2}]]).finished}_detectClickOutside(e){"click"===this.trigger&&(this.contains(e.target)||e.target.closest("details")instanceof DropdownDisclosure||(this.open=!1))}_detectHover(e){"hover"===this.trigger&&("mouseover"===e.type?(this.open=!0,clearTimeout(this._hoverTimer)):this._hoverTimer=setTimeout((()=>this.open=!1),this.mouseOverDelayTolerance))}_detectEscKeyboard(e){if("Escape"===e.code){const t=e.target.closest("details[open]");t&&(t.open=!1)}}_detectFocusOut(e){e.relatedTarget&&!this.contains(e.relatedTarget)&&(this.open=!1)}},MegaMenuDisclosure=class extends DropdownDisclosure{constructor(){super(),this.addEventListener("pointerover",this._preloadImages.bind(this))}get mouseOverDelayTolerance(){return 500}_transitionIn(e){const t=[[this.contentElement,{opacity:1},{duration:.2}],"mega-menu"],i=e?.1:0;return window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&!reduceMenuAnimation&&(this.contentElement.querySelectorAll(".mega-menu__promo").forEach((e=>{t.push([e,{opacity:[0,1]},{duration:.25,delay:i,at:"mega-menu"}],"mega-menu-promo")})),this.contentElement.querySelectorAll(".mega-menu__nav > li").forEach((e=>{t.push([e.querySelectorAll(":scope > :first-child, :scope li"),{opacity:[0,1],transform:["translateY(-10px)","translateY(0)"]},{easing:"ease",delay:stagger(.025,{start:i}),at:"mega-menu",duration:.2}])}))),timeline3(t).finished}_preloadImages(){Array.from(this.querySelectorAll('img[loading="lazy"]')).forEach((e=>e.setAttribute("loading","eager")))}},MegaMenuPromoCarousel=class extends EffectCarousel2{connectedCallback(){super.connectedCallback(),this.nextElementSibling&&this.addEventListener("carousel:select",(e=>this._updateControlsColor(e.detail.slide))),this._updateControlsColor(this.items[this.selectedIndex])}_updateControlsColor(e){const t=e.classList.contains("content-over-media")?e:e.firstElementChild;this.nextElementSibling.style.setProperty("--text-color",t.style.getPropertyValue("--text-color"))}},NavigationDrawer=class extends Drawer{constructor(){super();new Delegate2(this).on("click","button[data-panel]",this._onPanelButtonClick.bind(this)),this.addEventListener("dialog:after-hide",(()=>{this.reinitializeDrawer()}))}get openFrom(){return window.matchMedia("(max-width: 699px)").matches?this.getAttribute("mobile-opening"):super.openFrom}switchToPanel(e,t=null){const i=this.querySelectorAll(".panel");let s,a,r=null!==t?i[parseInt(e)-1]:i[parseInt(e)+1],n=i[e],o=n.querySelectorAll(".panel__wrapper"),l=[];"rtl"===document.dir?(s=null!==t?["translateX(0%)","translateX(100%)"]:["translateX(0%)","translateX(-100%)"],a=null!==t?["translateX(-100%)","translateX(0%)"]:["translateX(100%)","translateX(0%)"]):(s=null!==t?["translateX(0%)","translateX(-100%)"]:["translateX(0%)","translateX(100%)"],a=null!==t?["translateX(100%)","translateX(0%)"]:["translateX(-100%)","translateX(0%)"]),l.push([r,{transform:s,opacity:[1,0],visibility:["visible","hidden"]},{duration:.3,opacity:{at:"+0.3"},transform:{at:"+0.3"}}],"panelHidden",[n,{opacity:[0,1],visibility:["hidden","visible"],transform:a},{at:"<",transform:{duration:.3}}]),null!==t&&l.push(this.switchLinkList(o,t)),timeline3(l)}showPanel(e,t=null){let i=[],s=this.querySelectorAll(".panel")[e],a=s.querySelectorAll(".panel__wrapper");s.hasAttribute("open")||(i.push([this,{width:[this.offsetWidth+"px",2*(this.offsetWidth-parseInt(window.getComputedStyle(this).getPropertyValue("padding")))+"px"]},{duration:.2}],[s,{opacity:[0,1],visibility:["hidden","visible"]},{at:"<"}]),i.push(this.switchLinkList(a,t))),this.previousLinkIndex&&this.previousLinkIndex!==t&&i.push([a[this.previousLinkIndex],{opacity:[1,0],visibility:["visible","hidden"]},{duration:.2}]),timeline3(i).finished.then((()=>{this.previousLinkIndex&&this.previousLinkIndex!==t&&a[this.previousLinkIndex].removeAttribute("style"),s.hasAttribute("open")&&this.previousLinkIndex!==t&&timeline3([this.switchLinkList(a,t)]),this.previousLinkIndex=t,s.setAttribute("open","")}))}switchLinkList(e,t){return Array.from(e).forEach((e=>{e.setAttribute("hidden","")})),e[t].removeAttribute("hidden"),[e[t].querySelectorAll("li"),{opacity:[0,1],visibility:["hidden","visible"],transform:["translateY(-10px)","translateY(0)"]},{easing:"ease",duration:.2,at:"-0.15",delay:stagger(.025,{start:.1})}]}reinitializeDrawer(){if(this.hasAttribute("mega-menu")&&window.matchMedia("(min-width:1150px)").matches)this.style.removeProperty("width"),this.setExpanded();else{const e=this.querySelector(".panel:first-child");e.style.opacity="1",e.style.visibility="visible",e.style.transform="translateX(0%)"}Array.from(this.querySelectorAll(".panel:not(:first-child)")).forEach((e=>{this.hasAttribute("mega-menu")&&e.removeAttribute("open"),e.style.opacity="0",e.style.visibility="hidden",Array.from(e.querySelectorAll(".panel__wrapper")).forEach((e=>e.setAttribute("hidden","")))}))}setExpanded(e){Array.from(this.querySelectorAll("button[data-panel]")).forEach((e=>{e.setAttribute("aria-expanded","false")})),e&&e.setAttribute("aria-expanded","true")}_onPanelButtonClick(e,t){this.hasAttribute("mega-menu")&&window.matchMedia("(min-width:1150px)").matches?(this.setExpanded(t),this.showPanel(...t.getAttribute("data-panel").split("-"))):this.switchToPanel(...t.getAttribute("data-panel").split("-"))}};window.customElements.get("store-header")||window.customElements.define("store-header",StoreHeader),window.customElements.get("dropdown-disclosure")||window.customElements.define("dropdown-disclosure",DropdownDisclosure,{extends:"details"}),window.customElements.get("mega-menu-disclosure")||window.customElements.define("mega-menu-disclosure",MegaMenuDisclosure,{extends:"details"}),window.customElements.get("mega-menu-promo-carousel")||window.customElements.define("mega-menu-promo-carousel",MegaMenuPromoCarousel),window.customElements.get("navigation-drawer")||window.customElements.define("navigation-drawer",NavigationDrawer);import{animate as motionAnimate,scroll}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";var FeatureChart=class extends HTMLElement{connectedCallback(){if(this.viewButtonElement=this.querySelector('[data-action="toggle-rows"]'),this.featureChartTable=this.querySelector(".feature-chart__table"),this.featureChartRows=Array.from(this.featureChartTable.childNodes),this.featureProductRow=this.querySelector(".feature-chart__table-row--product"),this.featureChartSticky=this.querySelector(".feature-chart__table-row--sticky"),this.viewButtonElement&&this.viewButtonElement.addEventListener("click",this._toggleRows.bind(this)),this.featureChartSticky){this.featureChartSticky.style.width=`${this.featureChartTable.scrollWidth}px`,this.featureChartTable.addEventListener("scroll",(e=>{this.featureChartSticky.style.marginLeft=-1*e.target.scrollLeft+"px"})),new ResizeObserver((e=>{this.featureChartSticky.style.width=`${e[0].contentRect.width}px`})).observe(this.featureChartTable);const e=getComputedStyle(this).scrollPaddingTop;scroll((({y:e})=>{e.current>=e.targetOffset+this.featureProductRow.clientHeight/2&&e.progress<.85?this.featureChartSticky.classList.add("is-visible"):this.featureChartSticky.classList.remove("is-visible")}),{target:this.featureChartTable,offset:[`${e} start`,`end ${e}`]})}}_toggleRows(){this.classList.contains("is-expanded")?this._hideRows():this._showRows()}async _showRows(){const e=this.featureChartTable.clientHeight;this.featureChartRows.forEach((e=>{e.hidden=!1})),this.viewButtonElement.querySelector(".feature-chart__toggle-text").innerText=this.viewButtonElement.getAttribute("data-view-less"),this.classList.add("is-expanded"),await motionAnimate(this.featureChartTable,{height:[`${e}px`,`${this.featureChartTable.clientHeight}px`]}).finished,this.featureChartTable.style.height="auto"}async _hideRows(){let e=this.featureChartTable.clientHeight,t=0;this.featureChartRows.slice(0,parseInt(this.getAttribute("max-rows"))).forEach((e=>{t+=e.clientHeight})),this.viewButtonElement.querySelector(".feature-chart__toggle-text").innerText=this.viewButtonElement.getAttribute("data-view-more"),this.classList.remove("is-expanded"),await motionAnimate(this.featureChartTable,{height:[`${e}px`,`${t}px`]}).finished,this.featureChartRows.slice(parseInt(this.getAttribute("max-rows"))).forEach((e=>e.hidden=!0)),this.featureChartTable.style.height="auto"}};window.customElements.get("feature-chart")||window.customElements.define("feature-chart",FeatureChart);import{scroll as scroll2,timeline as timeline4,animate as animate2,inView as inView2}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{imageLoaded,getHeadingKeyframe}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var ImageBanner=class extends HTMLElement{connectedCallback(){this.parallax&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&this._setupParallax(),inView2(this,(async()=>{await imageLoaded(Array.from(this.querySelectorAll(":scope > :is(img, video, iframe, svg, video-media)")));const e=this.querySelector('[reveal-on-scroll="true"]');timeline4([[this,{opacity:[0,1]},{duration:.25}],[...getHeadingKeyframe(e)]])}))}get parallax(){return!!this.hasAttribute("parallax")&&parseFloat(this.getAttribute("parallax"))}_setupParallax(){const e=Array.from(this.querySelectorAll(":scope > :is(img, video, iframe, svg, video-media)")),[t,i]=[1+this.parallax,100*this.parallax/(1+this.parallax)];scroll2(animate2(e,{transform:[`scale(${t}) translateY(${i}%)`,`scale(${t}) translateY(0)`]},{easing:"linear"}),{target:this,offset:["start end","end start"]})}};window.customElements.get("image-banner")||window.customElements.define("image-banner",ImageBanner);import{ScrollArea}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var ImageLinkBlocks=class extends HTMLElement{connectedCallback(){this.items=Array.from(this.children),new ScrollArea(this),this.addEventListener("control:prev",this._prev),this.addEventListener("control:next",this._next)}_prev(){this.scrollBy({left:("rtl"===document.dir?1:-1)*this.items[0].clientWidth,behavior:"smooth"})}_next(){this.scrollBy({left:("rtl"===document.dir?-1:1)*this.items[0].clientWidth,behavior:"smooth"})}};window.customElements.get("image-link-blocks")||window.customElements.define("image-link-blocks",ImageLinkBlocks);import{animate as animate3,timeline as timeline5,inView as inView3}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{getHeadingKeyframe as getHeadingKeyframe2,throttle as throttle2}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var ImagesWithTextScrolling=class extends HTMLElement{connectedCallback(){inView3(this,this._reveal.bind(this)),this.hasAttribute("scrolling-experience")&&(this._imageToTransitionItems=Array.from(this.querySelectorAll(".images-scrolling-desktop__media-wrapper > :not(:first-child)")),this._mainImage=this.querySelector(".images-scrolling-desktop__media-wrapper > :first-child"),this._contentItems=Array.from(this.querySelectorAll(".images-scrolling__content")),this._imageToTransitionItems.length>0&&window.addEventListener("scroll",throttle2(this._onScroll.bind(this))))}_reveal(){Array.from(this.querySelectorAll('[reveal-on-scroll="true"]')).forEach((e=>{animate3(...getHeadingKeyframe2(e))}))}_onScroll(){const e=this._mainImage.getBoundingClientRect(),t=e.bottom,i=this.getAttribute("scrolling-experience");for(const[s,a]of this._contentItems.entries()){const r=a.getBoundingClientRect(),n=this._imageToTransitionItems[s-1],o=this._contentItems[s];if(r.topt){n&&!n.classList.contains("is-visible")&&(n.classList.add("is-visible"),timeline5("fade"===i?[[n,{opacity:[null,1]},{duration:.2}],[o,{opacity:[null,1]},{duration:.45,at:"<"}]]:[[n,{opacity:[null,1],clipPath:["inset(100% 0 0 0)","inset(0 0 0 0)"]},{duration:.35,easing:[.99,.01,.5,.94],opacity:{duration:0}}],[o,{opacity:[null,1]},{duration:.45,at:"<"}]]));break}if(r.top>t-.15*e.height){n&&n.classList.contains("is-visible")&&(n.classList.remove("is-visible"),timeline5("fade"===i?[[n,{opacity:[null,0]},{duration:.2}],[o,{opacity:[null,0]},{duration:.2,at:"<"}]]:[[n,{opacity:[null,1],clipPath:["inset(0 0 0 0)","inset(100% 0 0 0)"]},{duration:.35,easing:[.99,.01,.5,.94],opacity:{duration:0}}],[o,{opacity:[null,0]},{duration:.2,at:"<"}]]));break}}}};window.customElements.get("images-with-text-scrolling")||window.customElements.define("images-with-text-scrolling",ImagesWithTextScrolling);import{animate as animate4,inView as inView4}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";var ImpactText=class extends HTMLElement{connectedCallback(){window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&inView4(this,(({target:e})=>this._onBecameVisible(e)),{margin:"-100px"})}async _onBecameVisible(e){if(animate4(e,{opacity:1,transform:["translateY(10px)","translateY(0)"]},{duration:.3}),this.hasAttribute("count-up")){const e=0===this.childElementCount?this:this.firstElementChild,t=e.textContent.trim().match(/\d+(?:[,. ]\d+)*/);if(!t)return;e.innerHTML=e.textContent.replace(/\d+(?:[,. ]\d+)*/,`${t[0]}`);const i=e.querySelector("span");i.style.textAlign=t[0]===t.input?null:"end",e.classList.contains("text-gradient")||(i.style.display="inline-block",i.style.minWidth=`${i.clientWidth}px`);const s=t[0].replace(/[,\. ]+/,""),a=[...t[0].matchAll(/[,\. ]+/g)];await animate4((e=>{let r=Math.round(e*parseInt(s)).toString();a.forEach((e=>{r.length>=t[0].length-e.index&&(r=r.slice(0,e.index)+e[0]+r.slice(e.index))})),i.textContent=1===e?t[0]:r}),{duration:parseFloat(this.getAttribute("count-up")),easing:[.16,1,.3,1]}).finished,i.style.minWidth=null}}};window.customElements.get("impact-text")||window.customElements.define("impact-text",ImpactText);import{timeline as timeline6,inView as inView5}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";var MediaGrid=class extends HTMLElement{connectedCallback(){this.items=Array.from(this.children),window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&inView5(this,this._onBecameVisible.bind(this))}_onBecameVisible(){const e=this.querySelectorAll(".content-over-media > :not(img, video, iframe, svg, video-media, native-video, external-video)");timeline6([[this.items,{opacity:1,transform:["translateY(10px)","translateY(0)"]},{duration:.3}],[e,{opacity:[0,1]},{duration:.2,at:"+0.1"}]])}};window.customElements.get("media-grid")||window.customElements.define("media-grid",MediaGrid);import{animate as animate5,timeline as timeline7,inView as inView6}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{imageLoaded as imageLoaded2}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var reduceMotion=window.matchMedia("(prefers-reduced-motion: no-preference)").matches,MediaWithText=class extends HTMLElement{connectedCallback(){reduceMotion&&Array.from(this.querySelectorAll(".media-with-text__item")).forEach((e=>{inView6(e,(e=>this.reveal(e.target)))}))}reveal(e){const t=e.querySelector(".media-with-text__media");imageLoaded2(t.querySelector("img")).then((()=>{timeline7([[t,{opacity:[0,1]},{duration:.3}],[t.querySelector("img, video-media"),{transform:["scale(1.05)","scale(1)"]},{duration:.3,at:"<"}]])})),animate5(e.querySelector(".media-with-text__content > .prose"),{opacity:[0,1]},{duration:.2,delay:.3})}};window.customElements.get("media-with-text")||window.customElements.define("media-with-text",MediaWithText);import{timeline as timeline8,animate as animate6,stagger as stagger2,inView as inView7}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{EffectCarousel as EffectCarousel3,imageLoaded as imageLoaded3,getHeadingKeyframe as getHeadingKeyframe3}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var MultipleImagesWithText=class extends HTMLElement{constructor(){super(),this._imageCarousel=this.querySelector("multiple-images-with-text-image-list"),this._contentCarousel=this.querySelector("multiple-images-with-text-content-list"),this.addEventListener("control:prev",(()=>{this._imageCarousel.previous(),this._contentCarousel.previous()})),this.addEventListener("control:next",(()=>{this._imageCarousel.next(),this._contentCarousel.next()})),Shopify.designMode&&this.addEventListener("shopify:block:select",(e=>{e.target.hasAttribute("image-id")&&this._imageCarousel.select(this._imageCarousel.items.findIndex((t=>t.id===e.target.getAttribute("image-id"))))}))}},MultipleImagesWithTextImageList=class extends EffectCarousel3{constructor(){super(),inView7(this,this._reveal.bind(this))}async _reveal(){await imageLoaded3(this.querySelectorAll("img")),"stacked"===this.getAttribute("layout")?timeline8([[this.lastElementChild,{transform:"rotate(0deg)"}],[this.lastElementChild?.previousElementSibling,{transform:"rotate(2deg)"},{at:"<"}],[this.lastElementChild?.previousElementSibling?.previousElementSibling,{transform:"rotate(-2deg)"},{at:"<"}]],{defaultOptions:{duration:.15,easing:[.26,.02,.27,.97]}}):"collage"===this.getAttribute("layout")?timeline8([[this.children,{opacity:1,transform:["translateY(15px)","translateY(0)"]},{duration:.3,delay:stagger2(.1)}]]):timeline8([[this.children,{opacity:1,transform:"rotate(var(--image-rotation, 0deg))"},{duration:.3,delay:stagger2(.1)}]])}_transitionTo(e,t,{direction:i,animate:s}){if("stacked"!==this.getAttribute("layout"))return;const a=.2;if("next"===i){const i=getComputedStyle(e).getPropertyValue("transform");return timeline8([[e,{opacity:0,transform:"rotate(5deg) translate(40px, 10px)"},{duration:a}],[t,{zIndex:1},{duration:a,zIndex:{easing:"step-start"}}],[e,{opacity:1,transform:i,zIndex:-1},{duration:a,at:"<",zIndex:{easing:"step-start"}}],[t.previousElementSibling,{zIndex:0},{at:"<",easing:"step-start"}]],{defaultOptions:{easing:[.26,.02,.27,.97]}}).finished}{const i=getComputedStyle(t).getPropertyValue("transform");return timeline8([[t,{opacity:0,transform:"rotate(-5deg) translate(-40px, -10px)"},{duration:a}],this.items.length>=3&&[e.previousElementSibling||this.lastElementChild,{zIndex:-1},{easing:"step-start"}],[t,{opacity:1,transform:i,zIndex:1},{duration:a,at:this.items.length>=3?"<":"+0",zIndex:{easing:"step-start"}}],[e,{zIndex:0},{duration:a,at:"<",zIndex:{easing:"step-start"}}]].filter(Boolean),{defaultOptions:{easing:[.26,.02,.27,.97]}}).finished}}},MultipleImagesWithTextContentList=class extends EffectCarousel3{constructor(){super(),inView7(this,this._reveal.bind(this))}_reveal(){animate6(...getHeadingKeyframe3(this.querySelector('[reveal-on-scroll="true"]')))}_transitionTo(e,t,{direction:i="next",animate:s=!0}={}){return e.classList.remove("is-selected"),t.classList.add("is-selected"),timeline8([[e,{opacity:[1,0],visibility:["visible","hidden"]}],[t,{opacity:[0,1],visibility:["hidden","visible"]}],[...getHeadingKeyframe3(t.querySelector('[reveal-on-scroll="true"]'),{at:"<"})]],{duration:s?parseFloat(this.getAttribute("fade-speed")||.5):0}).finished}};window.customElements.get("multiple-images-with-text")||window.customElements.define("multiple-images-with-text",MultipleImagesWithText),window.customElements.get("multiple-images-with-text-image-list")||window.customElements.define("multiple-images-with-text-image-list",MultipleImagesWithTextImageList),window.customElements.get("multiple-images-with-text-content-list")||window.customElements.define("multiple-images-with-text-content-list",MultipleImagesWithTextContentList);import{Drawer as Drawer2}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var NewsletterPopup=class extends Drawer2{connectedCallback(){super.connectedCallback(),this.shouldAppearAutomatically&&setTimeout((()=>this.show()),this.apparitionDelay)}get initialFocus(){return!1}get shouldAppendToBody(){return!1}get apparitionDelay(){return 1e3*parseInt(this.getAttribute("apparition-delay")||0)}get shouldAppearAutomatically(){return!("true"===localStorage.getItem("theme:popup-filled")||this.hasAttribute("only-once")&&"true"===localStorage.getItem("theme:popup-appeared"))}_setInitialPosition(){this.style.top=null,this.style.bottom="0px",this.style.left="ltr"===document.dir?null:"0px",this.style.right="rtl"===document.dir?"auto":"0px"}attributeChangedCallback(e,t,i){super.attributeChangedCallback(e,t,i),"open"===e&&this.open&&localStorage.setItem("theme:popup-appeared","true")}};window.customElements.get("newsletter-popup")||window.customElements.define("newsletter-popup",NewsletterPopup);import{timeline as timeline9,animate as animate7,inView as inView8}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{EffectCarousel as EffectCarousel4}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var reduceMotion2=window.matchMedia("(prefers-reduced-motion: no-preference)").matches,PressCarousel=class extends EffectCarousel4{constructor(){super(),reduceMotion2&&inView8(this,this._reveal.bind(this))}_reveal(){animate7(this.selectedSlide.querySelector(".blockquote"),{opacity:1,transform:["translateY(15px)","translateY(0)"]},{duration:.2})}async _transitionTo(e,t,i={}){await timeline9([[e.querySelectorAll(".press__logo, .press__author"),{opacity:[null,0]},{duration:.2}],[e.querySelector(".blockquote"),{opacity:[null,0],...reduceMotion2&&{transform:[null,"translateY(-10px)"]}},{duration:.2,at:"<"}]]).finished,e.classList.remove("is-selected"),t.classList.add("is-selected"),await timeline9([[t.querySelectorAll(".press__logo, .press__author"),{opacity:[0,1]},{duration:.2}],[t.querySelector(".blockquote"),{opacity:[0,1],...reduceMotion2&&{transform:["translateY(10px)","translateY(0px)"]}},{duration:.2,at:"<"}]]).finished}};window.customElements.get("press-carousel")||window.customElements.define("press-carousel",PressCarousel);var _isLoaded,_searchQueryString,searchQueryString_get,_loadProducts,loadProducts_fn,ProductRecommendations=class extends HTMLElement{constructor(){super(),this._isLoaded=!1}connectedCallback(){this._loadRecommendations()}async _loadRecommendations(){if(this._isLoaded)return;this._isLoaded=!0;const e=this.closest(".shopify-section"),t=this.getAttribute("intent")||"related",i=`${Shopify.routes.root}recommendations/products?product_id=${this.getAttribute("product")}&limit=${this.getAttribute("limit")||4}§ion_id=${e.id.replace("shopify-section-","")}&intent=${t}`,s=await fetch(i,{priority:"low"}),a=(new DOMParser).parseFromString(await s.text(),"text/html").querySelector("product-recommendations");a.childElementCount>0?this.replaceChildren(...document.importNode(a,!0).childNodes):"related"===t?e.remove():this.remove()}};window.customElements.get("product-recommendations")||window.customElements.define("product-recommendations",ProductRecommendations);import{extractSectionId}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var RecentlyViewedProducts=class extends HTMLElement{constructor(){super(...arguments),__privateAdd(this,_searchQueryString),__privateAdd(this,_loadProducts),__privateAdd(this,_isLoaded,!1)}connectedCallback(){"requestIdleCallback"in window?requestIdleCallback(__privateMethod(this,_loadProducts,loadProducts_fn).bind(this),{timeout:1500}):__privateMethod(this,_loadProducts,loadProducts_fn).call(this)}};_isLoaded=new WeakMap,_searchQueryString=new WeakSet,searchQueryString_get=function(){const e=new Set(JSON.parse(localStorage.getItem("theme:recently-viewed-products")||"[]"));return this.hasAttribute("exclude-id")&&e.delete(parseInt(this.getAttribute("exclude-id"))),Array.from(e.values(),(e=>`id:${e}`)).slice(0,parseInt(this.getAttribute("products-count"))).join(" OR ")},_loadProducts=new WeakSet,loadProducts_fn=async function(){if(__privateGet(this,_isLoaded))return;__privateSet(this,_isLoaded,!0);const e=this.closest(".shopify-section"),t=`${Shopify.routes.root}search?type=product&q=${__privateGet(this,_searchQueryString,searchQueryString_get)}§ion_id=${extractSectionId(e)}`,i=await fetch(t,{priority:"low"}),s=(new DOMParser).parseFromString(await i.text(),"text/html").querySelector("recently-viewed-products");s.childElementCount>0?this.replaceChildren(...document.importNode(s,!0).childNodes):e.remove()},window.customElements.get("recently-viewed-products")||window.customElements.define("recently-viewed-products",RecentlyViewedProducts);import{scroll as scroll3,timeline as timeline10,ScrollOffset,inView as inView9}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";var RevealedImage=class extends HTMLElement{connectedCallback(){const e=this.querySelector(".revealed-image__scroll-tracker"),t=this.querySelector(".revealed-image__scroller");e.style.height=`${t.clientHeight}px`,new ResizeObserver((t=>e.style.height=`${t[0].contentRect.height}px`)).observe(t),scroll3(timeline10([[this.querySelectorAll(".revealed-image__image-clipper, .revealed-image__content--inside"),{clipPath:["inset(37% 37% 41% 37%)","inset(calc(var(--sticky-area-height) / 2) 0)"]},{easing:"ease-in"}],[this.querySelectorAll("img, svg"),{transform:["translate(-10%, -1.5%) scale(1.4)","translate(0, 0) scale(1)"]},{easing:"ease-in",at:"<"}],[this.querySelectorAll(".revealed-image__content"),{opacity:[0,1,1]},{offset:[0,.25,1],at:"<"}]]),{target:e,offset:ScrollOffset.All}),inView9(this,(()=>(this.style.visibility="visible",()=>{this.style.visibility="hidden"})),{margin:"200px"})}};window.customElements.get("revealed-image")||window.customElements.define("revealed-image",RevealedImage);var ShopTheLookDots=class extends HTMLElement{connectedCallback(){this._abortController=new AbortController,Array.from(this.children).forEach((e=>{document.getElementById(e.getAttribute("aria-controls")).addEventListener("carousel:change",(e=>this._onDotClicked(e)),{signal:this._abortController.signal})}))}disconnectedCallback(){this._abortController.abort()}_onDotClicked(e){Array.from(this.querySelectorAll(`button:nth-child(${e.detail.index+1})`)).forEach((e=>e.click()))}};window.customElements.get("shop-the-look-dots")||window.customElements.define("shop-the-look-dots",ShopTheLookDots);import{animate as motionAnimate2,timeline as timeline11,inView as inView10}from"//lenoguecrown.com/cdn/shop/t/21/assets/vendor.min.js?v=56430842210900357591759514578";import{EffectCarousel as EffectCarousel5,imageLoaded as imageLoaded4,getHeadingKeyframe as getHeadingKeyframe4}from"//lenoguecrown.com/cdn/shop/t/21/assets/theme.js?v=50123627827681959201759514595";var Slideshow=class extends HTMLElement{constructor(){super(),this.addEventListener("carousel:select",this._onSlideSelected)}async _onSlideSelected(e){const t=getComputedStyle(e.detail.slide);if(this.style.setProperty("--slideshow-controls-background",t.getPropertyValue("--slideshow-slide-controls-background")),this.style.setProperty("--slideshow-controls-color",t.getPropertyValue("--slideshow-slide-controls-color")),!this.classList.contains("slideshow--boxed"))return;const i=this.querySelector(".slideshow__slide-background"),s=t.getPropertyValue("--slideshow-slide-background");i.style.background=s,await motionAnimate2(i,{opacity:[0,1]},{duration:.2}).finished,this.style.setProperty("--slideshow-background",s),motionAnimate2(i,{opacity:0},{duration:0})}},SlideshowCarousel=class extends EffectCarousel5{constructor(){super(),inView10(this,this._reveal.bind(this)),this.querySelector(".slideshow__cursor")&&this.addEventListener("tap",this._onSlideshowTap)}connectedCallback(){super.connectedCallback(),this._player&&this.hasAttribute("autoplay")&&this._player.addEventListener("player:start",(()=>{const e=this.querySelector(".slideshow__cursor-ring circle");e&&motionAnimate2(e,{strokeDasharray:[`0px, ${e.getTotalLength()}px`,`${e.getTotalLength()}px, ${e.getTotalLength()}px`]},{duration:parseInt(this.getAttribute("autoplay")),easing:"linear"});Array.from(this.querySelectorAll(".numbered-dots__item")).forEach((e=>{const t=e.querySelector("circle:last-child");"true"===e.getAttribute("aria-current")?motionAnimate2(t,{strokeDasharray:[`0px, ${t.getTotalLength()}px`,`${t.getTotalLength()}px, ${t.getTotalLength()}px`]},{duration:parseInt(this.getAttribute("autoplay")),easing:"linear"}):motionAnimate2(t,{strokeDasharray:`${t.getTotalLength()}px, ${t.getTotalLength()}px`},{duration:0,easing:"linear"})}))}))}get transitionType(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches?"fade":this.getAttribute("transition")}async _reveal(){const e=this.selectedSlide;await imageLoaded4(e.querySelectorAll("img")),this.style.opacity="1",window.matchMedia("(prefers-reduced-motion: reduce)").matches||this._reloaded||timeline11([[e,{zIndex:1},{duration:0}],[e.querySelectorAll("img"),{opacity:[0,1],transform:["scale(1.05)","scale(1)"]},{duration:.3}],"content",[e.querySelectorAll('[data-sequence="subheading"], .button'),{opacity:[0,1]},{duration:.3,at:"content"}],[...getHeadingKeyframe4(e.querySelector('[data-sequence="heading"]'),{duration:.3,at:"content"})],[e.querySelector(".button"),{opacity:[0,1]},{duration:.3,at:"content"}],[this.querySelector(".slideshow__controls"),{opacity:[0,1],transform:["translateY(10px)","translateY(0)"]},{duration:.3}]])}_onSlideshowTap(e){!e.target.matches("button, a[href], button :scope, a[href] :scope")&&window.matchMedia("screen and (pointer: fine)").matches&&(e.detail.originalEvent.clientX>window.innerWidth/2?this.next():this.previous())}async _transitionTo(e,t,{direction:i,animate:s=!0}={}){e.classList.remove("is-selected"),t.classList.add("is-selected");let a=null;switch(this.transitionType){case"fade":a=this._fade(e,t,{animate:s});break;case"fade_with_text":a=this._fadeWithText(e,t,{animate:s})}return s||a.finish(),a.finished}_fade(e,t){return timeline11([[e,{opacity:[1,0],visibility:["visible","hidden"],zIndex:0},{duration:.3,easing:"ease-in",zIndex:{easing:"step-end"}}],[t,{opacity:[0,1],visibility:["hidden","visible"],zIndex:1},{duration:.3,at:"<",easing:"ease-out",zIndex:{easing:"step-end"}}]])}async _fadeWithText(e,t){return motionAnimate2(e,{opacity:[1,0],visibility:["visible","hidden"],zIndex:0},{duration:.3,easing:"ease-in",zIndex:{easing:"step-end"}}),await imageLoaded4(t.querySelectorAll("img")),motionAnimate2(t,{opacity:[0,1],visibility:["hidden","visible"],zIndex:1},{duration:0,zIndex:{easing:"step-end"}}),timeline11([[t.querySelectorAll("img"),{opacity:[0,1],transform:["scale(1.05)","scale(1)"]},{duration:.3,easing:"ease-out"}],"content",[t.querySelectorAll('[data-sequence="subheading"], .button'),{opacity:[0,1]},{duration:.3,at:"content"}],[...getHeadingKeyframe4(t.querySelector('[data-sequence="heading"]'),{duration:.3,at:"content"})]])}};window.customElements.get("x-slideshow")||window.customElements.define("x-slideshow",Slideshow),window.customElements.get("slideshow-carousel")||window.customElements.define("slideshow-carousel",SlideshowCarousel);