1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="41829568-4520-4544-b4f5-a5a495091a42",t._sentryDebugIdIdentifier="sentry-dbid-41829568-4520-4544-b4f5-a5a495091a42")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58265],{85700:function(t,e,i){"use strict";var n=i(14224);i(95625);var o=i(75271),r=o&&"object"==typeof o&&"default"in o?o:{default:o},a=void 0!==n&&n.env&&!0,l=function(t){return"[object String]"===Object.prototype.toString.call(t)},s=function(){function t(t){var e=void 0===t?{}:t,i=e.name,n=void 0===i?"stylesheet":i,o=e.optimizeForSpeed,r=void 0===o?a:o;d(l(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",d("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var s=document.querySelector('meta[property="csp-nonce"]');this._nonce=s?s.getAttribute("content"):null}var e=t.prototype;return e.setOptimizeForSpeed=function(t){d("boolean"==typeof t,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=t,this.inject()},e.isOptimizeForSpeed=function(){return this._optimizeForSpeed},e.inject=function(){var t=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(e,i){return"number"==typeof i?t._serverSheet.cssRules[i]={cssText:e}:t._serverSheet.cssRules.push({cssText:e}),i},deleteRule:function(e){t._serverSheet.cssRules[e]=null}}},e.getSheetForTag=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]},e.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},e.insertRule=function(t,e){if(d(l(t),"`insertRule` accepts only strings"),this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof e&&(e=i.cssRules.length);try{i.insertRule(t,e)}catch(t){return -1}}else{var n=this._tags[e];this._tags.push(this.makeStyleTag(this._name,t,n))}return this._rulesCount++},e.replaceRule=function(t,e){if(this._optimizeForSpeed){var i=this.getSheet();if(e.trim()||(e=this._deletedRulePlaceholder),!i.cssRules[t])return t;i.deleteRule(t);try{i.insertRule(e,t)}catch(e){i.insertRule(this._deletedRulePlaceholder,t)}}else{var n=this._tags[t];d(n,"old rule at index `"+t+"` not found"),n.textContent=e}return t},e.deleteRule=function(t){if(this._optimizeForSpeed)this.replaceRule(t,"");else{var e=this._tags[t];d(e,"rule at index `"+t+"` not found"),e.parentNode.removeChild(e),this._tags[t]=null}},e.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(t){return t&&t.parentNode.removeChild(t)}),this._tags=[]},e.cssRules=function(){var t=this;return this._tags.reduce(function(e,i){return i?e=e.concat(Array.prototype.map.call(t.getSheetForTag(i).cssRules,function(e){return e.cssText===t._deletedRulePlaceholder?null:e})):e.push(null),e},[])},e.makeStyleTag=function(t,e,i){e&&d(l(e),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+t,""),e&&n.appendChild(document.createTextNode(e));var o=document.head||document.getElementsByTagName("head")[0];return i?o.insertBefore(n,i):o.appendChild(n),n},function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(t.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t}();function d(t,e){if(!t)throw Error("StyleSheet: "+e+".")}var c=function(t){for(var e=5381,i=t.length;i;)e=33*e^t.charCodeAt(--i);return e>>>0},u={};function p(t,e){if(!e)return"jsx-"+t;var i=String(e),n=t+i;return u[n]||(u[n]="jsx-"+c(t+"-"+i)),u[n]}function m(t,e){var i=t+e;return u[i]||(u[i]=e.replace(/__jsx-style-dynamic-selector/g,t)),u[i]}var v=function(){function t(t){var e=void 0===t?{}:t,i=e.styleSheet,n=void 0===i?null:i,o=e.optimizeForSpeed,r=void 0!==o&&o;this._sheet=n||new s({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),n&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var e=t.prototype;return e.add=function(t){var e=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(t.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(t,e){return t[e]=0,t},{}));var i=this.getIdAndRules(t),n=i.styleId,o=i.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var r=o.map(function(t){return e._sheet.insertRule(t)}).filter(function(t){return -1!==t});this._indices[n]=r,this._instancesCounts[n]=1},e.remove=function(t){var e=this,i=this.getIdAndRules(t).styleId;if(function(t,e){if(!t)throw Error("StyleSheetRegistry: "+e+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var n=this._fromServer&&this._fromServer[i];n?(n.parentNode.removeChild(n),delete this._fromServer[i]):(this._indices[i].forEac
1h(function(t){return e._sheet.deleteRule(t)}),delete this._indices[i]),delete this._instancesCounts[i]}},e.update=function(t,e){this.add(e),this.remove(t)},e.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},e.cssRules=function(){var t=this,e=this._fromServer?Object.keys(this._fromServer).map(function(e){return[e,t._fromServer[e]]}):[],i=this._sheet.cssRules();return e.concat(Object.keys(this._indices).map(function(e){return[e,t._indices[e].map(function(t){return i[t].cssText}).join(t._optimizeForSpeed?"":"\n")]}).filter(function(t){return!!t[1]}))},e.styles=function(t){var e,i;return e=this.cssRules(),void 0===(i=t)&&(i={}),e.map(function(t){var e=t[0],n=t[1];return r.default.createElement("style",{id:"__"+e,key:"__"+e,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},e.getIdAndRules=function(t){var e=t.children,i=t.dynamic,n=t.id;if(i){var o=p(n,i);return{styleId:o,rules:Array.isArray(e)?e.map(function(t){return m(o,t)}):[m(o,e)]}}return{styleId:p(n),rules:Array.isArray(e)?e:[e]}},e.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(t,e){return t[e.id.slice(2)]=e,t},{})},t}(),h=o.createContext(null);h.displayName="StyleSheetContext";var b=r.default.useInsertionEffect||r.default.useLayoutEffect,f=new v;function g(t){var e=f||o.useContext(h);return e&&b(function(){return e.add(t),function(){e.remove(t)}},[t.id,String(t.dynamic)]),null}g.dynamic=function(t){return t.map(function(t){return p(t[0],t[1])}).join(" ")},e.style=g},30579:function(t,e,i){"use strict";t.exports=i(85700).style},17478:function(t,e,i){"use strict";i.d(e,{co:function(){return c},f8:function(){return l}});var n=i(3310),o=i(4716),r=i(53765),a=i(26158);let l=t=>{let{variant:e}=t;if(!(null==e?void 0:e.coupons))return;let i="true"===localStorage.getItem("isInApp");return e.coupons.find(t=>{var e,o;let r=null==t?void 0:null===(o=t.title)||void 0===o?void 0:null===(e=o.toLowerCase)||void 0===e?void 0:e.call(o);if(r.startsWith(n.$.userCenter))return!1;if(!i){let t=r.startsWith(n.$.appChannel);return!(r&&t)}return!0})},s=(t,e,i)=>{if((null==t?void 0:t.value_type)===o.Lb.percentage)return(0,a.Tc)(e,Math.abs((null==t?void 0:t.value)||0),i);if(!e)return{discountAmount:0,discountedPrice:0};let n=Number(new r.Z((null==t?void 0:t.fixed_value)||0).toFixed(2)),l=r.Z.max(new r.Z(e).minus(n),0).toNumber();return{discountAmount:n,discountedPrice:l}},d=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...t,variants:t.variants.map(e=>{var i;let n=null===(i=e.coupons)||void 0===i?void 0:i.map(i=>{var n,o,r,a,l;let d=s(i,(null==e?void 0:null===(n=e.price)||void 0===n?void 0:n.amount)||(null==t?void 0:null===(o=t.price)||void 0===o?void 0:o.amount),(null==e?void 0:null===(r=e.price)||void 0===r?void 0:r.currencyCode)||(null==t?void 0:null===(a=t.price)||void 0===a?void 0:a.currencyCode));return{...i,variant_price:null==e?void 0:null===(l=e.price)||void 0===l?void 0:l.amount,variant_price4wscode:null==d?void 0:d.discountedPrice,fixed_amount_sort_key:null==d?void 0:d.discountAmount}});e.coupons=n;let o=l({variant:e});return{...e,price:e.price.amount,coupons:o?[o]:[]}})}},c=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{categories:[],products:[]};return{...e,products:(null==e?void 0:e.products)&&(null==e?void 0:null===(t=e.products)||void 0===t?void 0:t.map(d))}}},58265:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return D}});var n=i(52676),o=i(30579),r=i.n(o),a=i(41085),l=i(71615),s=i(23646),d=i(44599),c=i(28367),u=i(13910),p=i(48642),m=i(10973),v=i(27441),h=i(42632),b=i(17478),f=i(49958),g=i(77977),y=i(90968),x=i(7684),w=i(82775),_=i(35869),k=i(82187),S=i.n(k),j=i(91238),C=i(45062),z=i(65644),N=i(7258),F=i.n(N),T=i(37156),R=i(75271);i(89094),i(39993),i(50497);var E=i(53033),A=i(75597);let B=(t,e,i)=>{let n=document.createElement("div");if(n.className="custom-top-brand custom-top-brand-".concat(i?"mobile":"desktop"),n.style.cssText="\n position: absolute;\n display: flex;\n flex-direction: column;
1\n align-items: ".concat(i?"flex-end":"flex-start",";\n gap: 5px;\n z-index: 10;\n ").concat(i?"right: 16px; bottom: 16px;":"","\n "),t.logo){let e=document.createElement("img");e.src=t.logo,e.alt="brand-logo",e.className="top-brand-logo",e.style.cssText="height: 30px; width: auto; display: block;",n.appendChild(e)}if(t.title){let i=document.createElement("div");i.className="top-brand-title",i.textContent=t.title,i.style.cssText="font-weight: 600; color: ".concat(e,";"),n.appendChild(i)}return n},P=t=>{let{componentData:e,componentStyle:i}=t,o=null==l?void 0:l.HeroBanner,a=(0,R.useRef)(null);if(!o)return null;let{items:s=[],size:d,icon:c,carousel:u={}}=e.data;return s&&0!==s.length?((0,R.useEffect)(()=>{var t;if(null===(t=s[0])||void 0===t?void 0:t.image){let t=document.createElement("link");return t.rel="preload",t.as="image",t.href=s[0].image,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[s]),(0,R.useEffect)(()=>{s.forEach((t,e)=>{let i=document.querySelector(".swiper-slide-".concat(e));if(!i)return;let{topBrand:n,theme:o="light"}=t,r="dark"===o?"#e5e7eb":"#080a0f";if(n){let t=i.querySelector(".hero-banner")||i;if(t){let e=t.querySelector(".custom-top-brand-mobile");e&&e.remove();let i=B(n,r,!0);t.appendChild(i),"static"===getComputedStyle(t).position&&(t.style.position="relative")}let e=i.querySelector(".hero-banner-wrap-text");if(e){let t=e.querySelector(".custom-top-brand-desktop");t&&t.remove();let i=B(n,r,!1);e.insertBefore(i,e.firstChild)}}})},[s]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r(),{id:"1b8342bccf397301",children:".custom-top-brand{font-family:Mont For Anker,sans-serif!important;line-height:140%!important;letter-spacing:-.02em!important}.custom-swiper-button-prev,.custom-swiper-button-next{position:absolute;top:50%;-webkit-transform:translatey(-50%);-moz-transform:translatey(-50%);-ms-transform:translatey(-50%);-o-transform:translatey(-50%);transform:translatey(-50%);z-index:10;cursor:pointer;-webkit-transition:opacity.3s ease;-moz-transition:opacity.3s ease;-o-transition:opacity.3s ease;transition:opacity.3s ease;display:none}.custom-swiper-button-prev:hover,.custom-swiper-button-next:hover{opacity:.8}.custom-swiper-button-prev:active,.custom-swiper-button-next:active{opacity:.6}.custom-swiper-button-prev img,.custom-swiper-button-next img{display:block;width:auto;height:48px}.swiper-pagination{bottom:20px!important;left:16px!important;right:auto!important;width:auto!important;text-align:left!important}.swiper-pagination-bullet{width:8px;height:6px;background:rgba(255,255,255,.5);opacity:1;-webkit-transition:all.3s ease;-moz-transition:all.3s ease;-o-transition:all.3s ease;transition:all.3s ease}.swiper-pagination-bullet:hover{background:rgba(255,255,255,.8);-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-ms-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}.swiper-pagination-bullet-active{width:24px;-webkit-border-radius:9999px;-moz-border-radius:9999px;border-radius:9999px;background:rgba(255,255,255,1)}.swiper-pagination-dark .swiper-pagination-bullet{background:rgba(0,0,0,.3)}.swiper-pagination-dark .swiper-pagination-bullet:hover{background:rgba(0,0,0,.6)}.swiper-pagination-dark .swiper-pagination-bullet-active{background:rgba(0,0,0,.8)}@media(max-width:390px){.custom-top-brand-mobile{display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;right:12px!important;bottom:12px!important}.custom-top-brand-mobile .top-brand-title{font-size:10px!important}.custom-top-brand-mobile .top-brand-logo{height:20px!important}.custom-top-brand-desktop{display:none!important}.swiper-pagination{bottom:12px!important;left:16px!important}.swiper-pagination-bullet{width:6px;height:4px}.swiper-pagination-bullet-active{width:18px}}@media(min-width:390px)and (max-width:767px){.custom-top-brand-mobile{display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;right:16px!important;bottom:40px!important}
1.custom-top-brand-mobile .top-brand-title{font-size:12px!important}.custom-top-brand-mobile .top-brand-logo{height:24px!important}.custom-top-brand-desktop{display:none!important}.swiper-pagination{bottom:40px!important;left:16px!important}.swiper-pagination-bullet{width:8px;height:6px}.swiper-pagination-bullet-active{width:24px}}@media(min-width:768px)and (max-width:1023px){.custom-top-brand-mobile{display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;right:32px!important;bottom:45px!important}.custom-top-brand-mobile .top-brand-title{font-size:14px!important}.custom-top-brand-mobile .top-brand-logo{height:28px!important}.custom-top-brand-desktop{display:none!important}.swiper-pagination{bottom:45px!important;left:32px!important}}@media(min-width:1024px)and (max-width:1439px){.custom-top-brand-mobile{display:none!important}.custom-top-brand-desktop{display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;top:-130px!important}.custom-top-brand-desktop .top-brand-title{font-size:16px!important}.custom-top-brand-desktop .top-brand-logo{height:25px!important}.custom-swiper-button-prev,.custom-swiper-button-next{display:block!important}.custom-swiper-button-prev img,.custom-swiper-button-next img{height:48px!important}.swiper-pagination{bottom:48px!important;left:64px!important}.swiper-pagination-bullet{width:10px;height:8px}.swiper-pagination-bullet-active{width:30px}.custom-swiper-button-prev{left:1%}.custom-swiper-button-next{right:1%}}@media(min-width:1440px)and (max-width:1919px){.custom-top-brand-mobile{display:none!important}.custom-top-brand-desktop{display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;top:-160px!important}.custom-top-brand-desktop .top-brand-title{font-size:16px!important}.custom-top-brand-desktop .top-brand-logo{height:30px!important}.custom-swiper-button-prev,.custom-swiper-button-next{display:block!important}.custom-swiper-button-prev img,.custom-swiper-button-next img{height:56px!important}.swiper-pagination{bottom:64px!important;left:64px!important}.swiper-pagination-bullet{width:12px;height:10px}.swiper-pagination-bullet-active{width:36px}.custom-swiper-button-prev{left:1%}.custom-swiper-button-next{right:1%}}@media(min-width:1920px){.custom-top-brand-mobile{display:none!important}.custom-top-brand-desktop{display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;top:-200px!important}.custom-top-brand-desktop .top-brand-title{font-size:18px!important}.custom-top-brand-desktop .top-brand-logo{height:30px!important}.custom-swiper-button-prev,.custom-swiper-button-next{display:block!important}.custom-swiper-button-prev img,.custom-swiper-button-next img{height:64px!important}.swiper-pagination{bottom:40px!important;left:-webkit-calc(50% - 832px)!important;left:-moz-calc(50% - 832px)!important;left:calc(50% - 832px)!important}.swiper-pagination-bullet{width:12px;height:10px}.swiper-pagination-bullet-active{width:40px}.custom-swiper-button-prev{left:5%}.custom-swiper-button-next{right:5%}}"}),(0,n.jsx)("div",{className:"jsx-1b8342bccf397301 banner-mod-container",children:(0,n.jsxs)(A.tq,{modules:[E.pt,E.W_,E.tl],spaceBetween:0,slidesPerView:1,speed:u.transitionDuration||500,loop:u.loop&&s.length>1,autoplay:!!u.autoplay&&s.length>1&&{delay:u.autoplayDelay||5e3,disableOnInteraction:!1},pagination:!!u.showDots&&s.length>1&&{clickable:!0,el:".swiper-pagination",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active"},navigation:!!u.showArrows&&!!c&&s.length>1&&{prevEl:".custom-swiper-button-prev",nextEl:".custom-swiper-button-next"},onSwiper:t=>{a.current=t},children:[s.map((t,e)=>{let r={...t,size:d||"default"};return(0,n.jsx)(A.o5,{className:"swiper-slide-".concat(e),children:(0,n.jsx)(o,{data:r,style:i})},t.id||e)}),u.showArrows&&c&&s.length>1&&(0,n.jsxs)(n.Fragment,{children:[c.left&&(0,n.jsx)("div",{className:"jsx-1b8342bccf397301 custom-swiper-button-prev",children:(0,n.jsx)("img",{src:c.left,alt:"Previous",className:"jsx-1b8342bccf397301"})}),c.right&&(0,n.jsx)("div",{className:"jsx-1b8342bccf397301 custom-swiper-button-next",children:(0,n.jsx)("img",{src:c.right,alt:"Next",className:"jsx-1b8342bccf397301"})})]}),u.showDots&&s.length>1&&(0,n.jsx)("div",{className:"jsx-1b8342bccf397301 "+"swiper-pagination ".concat("dark"===u.theme?"swiper-pagination-dark":"")})]})})]})):null},M=t=>{let{componentData:e,componentStyle:i,buildProps:o,handlePrimary:s,handleSecondary:d,componentKey:c}=t,u=null==l?void 0:l.ShelfDisplay,p=(0,R.useRef)(null),m=(0,R.useRef)(null),v=(0,R.useRef)(!1);return(0,R.useEffect)(()=>
1{if(!p.current||!(null==o?void 0:o.products))return;let t=()=>{var t;if(v.current)return;v.current=!0,m.current&&m.current.disconnect();let i=null===(t=p.current)||void 0===t?void 0:t.querySelectorAll(".shelf-display-item");if(!i){v.current=!1;return}i.forEach(t=>{var i,n,r,a,l,s,d,c,u;let p=t.querySelector('a[href*="/products/"]');if(!p)return;let m=null===(i=(p.getAttribute("href")||"").split("/products/")[1])||void 0===i?void 0:i.split("?")[0];if(!m)return;let v=null,h=[];null==e||null===(n=e.productsTab)||void 0===n||n.forEach(t=>{var e;let i=null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.find(t=>t.handle===m);i&&(v=i,h=i.corner_badges||[])});let f=(null==e?void 0:null===(r=e.producCouple)||void 0===r?void 0:r.coupleImgUrl)||"",g=(null==e?void 0:null===(a=e.producCouple)||void 0===a?void 0:a.off)||"OFF",y=null==o?void 0:null===(l=o.products)||void 0===l?void 0:l.find(t=>t.handle===m),x="";if(y){let t=(null==v?void 0:v.sku)?(null===(s=y.variants)||void 0===s?void 0:s.find(t=>t.sku===v.sku))||(null===(d=y.variants)||void 0===d?void 0:d[0]):null===(c=y.variants)||void 0===c?void 0:c[0];if(t){let e=(0,b.f8)({variant:t});if(e&&e.value){let i=Math.abs(e.value);if(e.value<0)x="".concat(Math.round(i),"%");else{let e=Math.round(i/((null===(u=t.price)||void 0===u?void 0:u.amount)||t.price||0)*100);e>0&&(x="".concat(e,"%"))}}}}let w=t.querySelector(".custom-corner-badges");if(w&&w.remove(),!x&&0===h.length)return;let _=document.createElement("div");_.className="custom-corner-badges";let k=!!x&&!!f,S=k?Math.min(h.length+1,3):Math.min(h.length,3);if(_.setAttribute("data-badge-count",String(S)),_.style.cssText="\n position: absolute;\n left: 16px;\n top: 16px;\n z-index: 10;\n display: flex;\n align-items: flex-start;\n gap: 4px;\n pointer-events: none;\n ",k){let t=document.createElement("div");t.className="discount-badge",t.style.cssText="\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n ";let e=document.createElement("img");e.src=f,e.alt="discount-bg",e.className="discount-bg-img";let i=document.createElement("div");i.className="discount-text";let n=x.match(/(\d+%)/);n?i.innerHTML='\n <div class="discount-percentage">'.concat(n[1],'</div>\n <div class="discount-off">').concat(g,"</div>\n "):i.textContent=x,i.style.cssText="\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: white;\n font-weight: 800;\n text-align: center;\n line-height: 1;\n pointer-events: none;\n ",t.appendChild(e),t.appendChild(i),_.appendChild(t)}h.slice(0,k?2:3).forEach((t,e)=>{let i=document.createElement("img");i.src=t,i.alt="badge-".concat(e+1),i.className="corner-badge-img",_.appendChild(i)}),"static"===getComputedStyle(t).position&&(t.style.position="relative"),t.appendChild(_)}),m.current&&p.current&&m.current.observe(p.current,{childList:!0,subtree:!0}),v.current=!1},i=setTimeout(t,150);return m.current=new MutationObserver(e=>{e.some(t=>{let e=t.target;return"childList"===t.type&&!e.classList.contains("custom-corner-badges")&&t.addedNodes.length>0})&&setTimeout(t,100)}),p.current&&m.current.observe(p.current,{childList:!0,subtree:!0}),()=>{clearTimeout(i),m.current&&m.current.disconnect()}},[o,e]),u&&o&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r(),{id:"57fd27a974bbef90",children:"@media(max-width:373px){.custom-corner-badges{left:12px!important;top:12px!important;gap:3px!important}.custom-corner-badges .corner-badge-img,.custom-corner-badges .discount-bg-img{height:50px;width:auto}.custom-corner-badges .discount-percentage{font-size:14px;margin-bottom:2px}.custom-corner-badges .discount-off{font-size:10px}}@media(min-width:374px)and (max-width:767px){.custom-corner-badges{left:14px!important;top:14px!important;gap:4px!important}.custom-corner-badges .corner-badge-img,.custom-corner-badges .discount-bg-img{height:55px;width:auto}.custom-corner-badges .discount-percentage{font-size:16px;margin-bottom:2px}.custom-corner-badges .discount-off{font-size:12px}}@media(min-width:768px)and (max-width:1024px){.custom-corner-badges{left:16px!important;top:16px!important;gap:4px!important}.custom-corner-badges .corner-badge-img,.custom-corner-badges .discount-bg-img{height:55px;width:auto}.custom-corner-badges .discount-percentage{font-size:16px;margin-bottom:2px}.custom-corner-badges .discount-off{font-size:13px}}@media(min-width:1024px)and (max-width:1439px){.custom-corner-badges{left:16px!important;top:16px!important;gap:6px!important}.custom-corner-badges .corner-badge-img,.custom-corner-badges .discount-bg-img{height:60px;width:auto}.custom-corner-badges .discount-percentage{font-size:18px;margin-bottom:3px}.custom-corner-badges .discount-off{font-size:14px}}@media(min-width:1440px){.custom-corner-badges{left:24px!important;top:24px!important;gap:8px!important}.custom-corner-badges .corner-badge-img,.custom-corner-badges .discount-bg-img{height:60px;width:auto}.custom-corner-badges .discount-percentage{font-size:20px;margin-bottom:3px}.custom-corner-badges .discount-off{font-size:15px}}.corner-badge-img,.discount-bg-img{height:auto;-o-object-fit:contain;object-fit:contain;display:block;-webkit-transition:all.3s ease;-moz-transition:all.3s ease;-o-transition:all.3s ease;transition:all.3s ease}.discount-text{text-shadow:0 1px 2px rgba(0,0,0,.2)}.discount-percentage{font-weight:800;letter-spacing:-.5px}.discount-off{font-weight:700;text-transform:lowercase;opacity:.95}"}),(0,n.jsx)(a.W2,{className:"overflow-hidden",ref:p,children:(0,n.jsx)(u,{data:e,buildData:(0,b.co)(o),style:i,event:{primaryButton:(t,e)=>s(t,e),secondaryButton:(t,e)=>d(t,e)},className:"jsx-57fd27a974bbef90"},"ShelfDisplay-mod-"+c)})]})};j.gsap.registerPlugin(C.ScrollTrigger,z.SplitText);var D=t=>{var e,i,o,k,j;let{page:C,buildProps:z,...N}=t,{payload:E}=N,{locale:A}=(0,T.useRouter)(),B=null===(i=(0,d.L)().metafields)||void 0===i?void 0:null===(e=i.common)||void 0===e?void 0:e.copywriting,{trigger:D,isMutating:
1I}=(0,m.t)(),{trigger:q}=(0,p.t)(),{getLocalizedPath:O}=(0,x.j)(),[L,W]=(0,R.useState)(null),{isLogin:H,profile:K}=(0,u.a)(),{openSignUpPopup:U}=(0,c.l)(),{components:G=[]}=E||{},Z=(0,R.useMemo)(()=>null==G?void 0:G.map(t=>t.blockName||t.blockType),[G]),V=(0,R.useCallback)(async()=>{var t,e,i;if(!(null===F()||void 0===F()?void 0:null===(t=F().get("neuipcountry"))||void 0===t?void 0:t.toLowerCase()))try{let t=await fetch("/geolocation"),n=await t.json(),o=(null==n?void 0:null===(i=n.geo)||void 0===i?void 0:null===(e=i.country)||void 0===e?void 0:e.code)||"";(0,v.km)("neuipcountry",o,{expires:1,path:"/",domain:".ankernordics.com",category:s.EL.Functional})}catch(t){}W(await (0,h.b)({locale:A,build_data:null==E?void 0:E.build_data,getProductsByHandles:async t=>{let{handles:e,locale:i}=t;return await (0,w.j)({locale:i,options:{handles:e,metafieldIdentifiers:{product:g.P,variant:y.N}}})}}))},[]);(0,R.useEffect)(()=>{V()},[]);let $=(0,R.useRef)(null),J=t=>{var e,i;let{v:n,buttontitle:o,index:r,title:a,name:l,type:s,description:d}=t;null===(e=window.dataLayer)||void 0===e||e.push({event_parameters:null}),null===(i=window.dataLayer)||void 0===i||i.push({event:"ga4Event",event_name:"component_click",member_active_status:(null==K?void 0:K.activated)?"active":"not active",event_parameters:{page_group:"Activity Page_Home Page",component_type:s,component_name:l,creative_id:(null==n?void 0:n.id)||"",position:r||1,button_name:o||"",component_title:a||"",component_description:d||"",SKU:(null==n?void 0:n.sku)||""}})},Q=null==G?void 0:null===(o=G.find(t=>"ipc-mediaplayerbase"===t.blockType))||void 0===o?void 0:o.title,X="string"==typeof Q?Q:Q&&(0,f.R)({data:Q}),Y=null==G?void 0:null===(k=G.find(t=>"ipc-mediaplayermulti"===t.blockType))||void 0===k?void 0:k.title,tt="string"==typeof Y?Y:Y&&(0,f.R)({data:Y}),te=t=>{let e=t.blockType||t.blockName,i=e.split("_")[0],o=t;"customblock"===t.blockType&&t.componentKey&&(i=t.componentKey.split("_")[0],o=t.data||t);let r=null==o?void 0:o.style;if(!o)return null;switch(i){case"ipc-spacer":{let t=null==l?void 0:l.Spacer;return t&&(0,n.jsx)(t,{className:"relative z-10",data:o,style:r})}case"ipc-banner":{let t=null==l?void 0:l.HeroBanner;return t&&(0,n.jsx)(t,{data:o,style:r},"ipc-banner-".concat(e))}case"ipc-banner-mod":return(0,n.jsx)(P,{componentData:o,componentStyle:r,componentKey:e});case"ipc-slogan":{let t=null==l?void 0:l.Slogan;return t&&(0,n.jsx)(a.W2,{children:(0,n.jsx)(t,{data:o,style:r})})}case"ipc-member-equity":{let t=null==l?void 0:l.MemberEquity;return t&&(0,n.jsx)("div",{className:"w-full bg-[#1D1D1F] py-10",children:(0,n.jsx)(a.W2,{className:"overflow-hidden",children:(0,n.jsx)(t,{data:o,className:"w-full",style:r})})})}case"ipc-mlg-block":{let t=null==l?void 0:l.MultiLayoutGraphicBlock;return t&&(0,n.jsx)(a.W2,{className:S()("overflow-hidden"),children:(0,n.jsx)(t,{data:o,style:r})})}case"ipc-mediaplayerbase":{let t=null==l?void 0:l.MediaPlayerBase;return t&&(0,n.jsx)(t,{data:o,onBtnClick:()=>{var t;(0,_.DU)({event:"ga4Event",member_active_status:(null==K?void 0:K.activated)?"active":"not active",event_name:"component_click",event_parameters:{page_group:"Activity Page_Home Page",component_type:"copy",component_name:"mediaplayerbase",button_name:null==G?void 0:null===(t=G["ipc-mediaplayerbase"])||void 0===t?void 0:t.btnText,position:1,creative_id:"",component_title:X,component_description:""}})},style:r})}case"ipc-mediaplayermulti":{let t=null==l?void 0:l.MediaPlayerMulti;return t&&(0,n.jsx)(t,{style:null==o?void 0:o.style,onVideoPlayBtnClick:t=>{(0,_.DU)({event:"ga4Event",member_active_status:(null==K?void 0:K.activated)?"active":"not active",event_name:"component_click",event_parameters:{page_group:"Activity Page_Home Page",component_type:"copy",component_name:"mediaplayermulti",button_name:"video",position:t,creative_id:"",component_title:tt,component_description:""}})},data:o},"MediaPlayerMulti"+e)}case"ipc-mediaplayersticky":{let t=null==l?void 0:l.MediaPlayerSticky,i=()=>{H||U()},a=structuredClone(o),{components:s}=a,d=null==s?void 0:s.map(t=>(null==t?void 0:t.blockType)==="ipc-member-equity"?{...t,...H&&{primaryButton:null},primaryButtonHandler:i}:t),c={...a,components:d};return t&&(0,n.jsx)(t,{id:e,ref:$,data:c,style:r})}case"ipc-accordioncards":{let t=null==l?void 0:l.AccordionCards;return t&&(0,n.jsx)(a.W2,{className:"overflow-hidden",children:(0,n.jsx)(t,{data:o,event:{primaryButton:(t,e)=>{J({index:e,type:"image",name:"ipc-accordioncards",title:null==o?void 0:o.title,de
1scription:null==t?void 0:t.subTitle,buttonTitle:null==o?void 0:o.primaryButton})}},style:r},"AccordionCards"+e)})}case"ipc-category":{let t=null==l?void 0:l.Category;return t&&(0,n.jsx)(a.W2,{children:(0,n.jsx)(t,{data:o,event:{primaryButton:(t,e)=>{J({index:e,type:"image",name:"ipc-category",title:null==o?void 0:o.title,buttonTitle:null==t?void 0:t.name})}},style:r},"Category"+e)})}case"ipc-graphicoverlay":{let t=null==l?void 0:l.GraphicOverlay;return t&&(0,n.jsx)(a.W2,{className:"overflow-hidden",children:(0,n.jsx)(t,{data:o,style:null==o?void 0:o.style,container:null==o?void 0:o.container})})}case"ipc-shelfdisplay":{let t=null==l?void 0:l.ShelfDisplay,i=(t,e)=>async(i,n)=>{var r,a,l,s,d;let c=null==i?void 0:null===(r=i.variants)||void 0===r?void 0:r.find(t=>(null==t?void 0:t.sku)===(null==i?void 0:i.sku));switch(t){case"AddCart":{let t=null==c?void 0:null===(l=c.coupons)||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.title;await q({variants:[{quantity:1,variant:c}],discountCode:t||void 0});break}case"BuyNow":{let t=null==c?void 0:null===(d=c.coupons)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:s.title;await D({items:[{variant:c,quantity:1}],discountCode:t||void 0});break}default:window.location.href=O({path:"/products/".concat(i.handle,"?ref=image_product_shelf")})}J({v:i,index:n,type:"image",name:"ipc-shelfdisplay",title:null==o?void 0:o.title,buttonTitle:e})},s=i((null==o?void 0:o.primaryFun)||"LearnMore",null==o?void 0:o.primaryButton),d=i((null==o?void 0:o.secondaryFun)||"BuyNow",null==o?void 0:o.secondaryButton);return t&&L&&(0,n.jsx)(a.W2,{className:"overflow-hidden",children:(0,n.jsx)(t,{data:o,buildData:(0,b.co)(L),style:r,event:{primaryButton:(t,e)=>s(t,e),secondaryButton:(t,e)=>d(t,e)}},"ShelfDisplay"+e)})}case"ipc-shelfdisplay-mod":{let t=(t,e)=>async(i,n)=>{var r,a,l,s,d;let c=null==i?void 0:null===(r=i.variants)||void 0===r?void 0:r.find(t=>(null==t?void 0:t.sku)===(null==i?void 0:i.sku));switch(t){case"AddCart":{let t=null==c?void 0:null===(l=c.coupons)||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.title;await q({variants:[{quantity:1,variant:c}],discountCode:t||void 0});break}case"BuyNow":{let t=null==c?void 0:null===(d=c.coupons)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:s.title;await D({items:[{variant:c,quantity:1}],discountCode:t||void 0});break}default:window.location.href=O({path:"/products/".concat(i.handle,"?ref=image_product_shelf")})}J({v:i,index:n,type:"image",name:"ipc-shelfdisplay-mod",title:null==o?void 0:o.title,buttonTitle:e})},i=t((null==o?void 0:o.primaryFun)||"LearnMore",null==o?void 0:o.primaryButton),a=t((null==o?void 0:o.secondaryFun)||"BuyNow",null==o?void 0:o.secondaryButton);return(0,n.jsx)(M,{componentData:o,componentStyle:r,buildProps:L,handlePrimary:i,handleSecondary:a,componentKey:e})}case"ipc-evaluate":{let t=null==l?void 0:l.Evaluate;return t&&(0,n.jsx)(t,{data:o,style:null==o?void 0:o.style,event:{primaryButton:(t,e)=>{J({index:e,type:"copy",name:"ipc-evaluate",title:null==o?void 0:o.title,description:null==t?void 0:t.description,buttonTitle:null==t?void 0:t.subTitle})}}},"Evaluate"+e)}case"ipc-graphic":{let t=null==l?void 0:l.Graphic;return t&&(0,n.jsx)(a.W2,{className:"overflow-hidden",children:(0,n.jsx)(t,{data:o,style:null==o?void 0:o.style})})}case"ipc-marquee":{let{Marquee:t}=l;return(0,n.jsx)(a.W2,{children:(0,n.jsx)(t,{data:o,style:r})})}case"ipc-title":{let t=null==l?void 0:l.Title;return t&&(0,n.jsx)(a.W2,{className:"overflow-hidden",children:(0,n.jsx)(t,{data:o,style:null==o?void 0:o.style,container:null==o?void 0:o.container})})}default:return null}},ti=(0,R.useMemo)(()=>G.map(te),[Z,G,C.handle,H,L]);return(0,n.jsx)(l.AiuiProvider,{trackingData:{},locale:A,copyWriting:{soldOutText:null!==(j=null==B?void 0:B.soldOut)&&void 0!==j?j:""},children:(0,n.jsxs)("div",{className:r().dynamic([["d4ea424bd59dd5c4",[(null==E?void 0:E.pagebgColor)&&".ipc_template, .ipc_spacer, .ipc_container {\n background: ".concat(null==E?void 0:E.pagebgColor,";\n }")]]])+" ipc_template",children:[(0,n.jsx)(r(),{id:"d4ea424bd59dd5c4",dynamic:[(null==E?void 0:E.pagebgColor)&&".ipc_template, .ipc_spacer, .ipc_container {\n background: ".concat(null==E?void 0:E.pagebgColor,";\n }")],children:"".concat((null==E?void 0:E.pagebgColor)&&".ipc_template, .ipc_spacer, .ipc_container {\n background: ".concat(null==E?void 0:E.pagebgColor,";\n }"),"\n ")}),ti]})})}},95625:function(){},39993:function(){}}]);
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.