1!function(){try{var l="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new l.Error).stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="cf7c4c9a-de8a-495a-873d-635ba9074a1a",l._sentryDebugIdIdentifier="sentry-dbid-cf7c4c9a-de8a-495a-873d-635ba9074a1a")}catch(l){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5113],{25113:function(l,e,t){"use strict";t.r(e),t.d(e,{default:function(){return g}});var n=t(85893),d=t(67294),i=t(45765),o=t.n(i),a=l=>{let{active:e,list:t,setActive:i,setVisible:a,visible:r,filterActive:u}=l,s=(0,d.useRef)(null);(0,d.useEffect)(()=>{let l=l=>{var e,t,n;let d=null==l?void 0:null===(t=l.target)||void 0===t?void 0:null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"class");(null==s?void 0:null===(n=s.current)||void 0===n?void 0:n.contains(null==l?void 0:l.target))||(null==d?void 0:d.includes("openDropDown"))||a(!1)};return document.addEventListener("click",l),()=>document.removeEventListener("click",l)},[]);let c=(0,d.useMemo)(()=>null==t?void 0:t.filter(l=>(null==l?void 0:l.handle)!==(null==u?void 0:u.handle)),[u,t]);return(0,n.jsx)("div",{className:"".concat(o().productCascaderDropdown," ").concat(r?"block":"hidden"),ref:s,children:(0,n.jsx)("div",{className:o().productCascaderMenu,children:null==c?void 0:c.map((l,t)=>(0,n.jsx)("div",{onClick:()=>{i({sku:null==l?void 0:l.sku,name:null==l?void 0:l.name,handle:null==l?void 0:l.handle}),a(!1)},title:null==l?void 0:l.name,className:"openDropDown ".concat(o().productCascaderMenuItem," ").concat((null==l?void 0:l.handle)===(null==e?void 0:e.handle)?o().productActive:""),children:null==l?void 0:l.name},t))})})},r=t(37156),u=t(69687),s=t(8303),c=t(87745),v=t(65294),m=t(59081),x=t(69317),p=t(77977),h=t(90968),f=t(91087),_=t(89142),g=l=>{var e,t,i,g,j,P,w,b,N,C;let{page:D}=l,k=(null==D?void 0:D.metafields)||{},[I,T]=(0,d.useState)(""),[y,L]=(0,d.useState)(!1),[W,M]=(0,d.useState)(!1),[B,R]=(0,d.useState)({}),[A,E]=(0,d.useState)({}),{locale:F}=(0,r.useRouter)(),{trigger:S,isMutating:H}=(0,u.t)({withTrack:!1}),{LeftMenu:V,RightMenu:X,DefaultSelectMenu:q,E1Nav:U}=(0,d.useMemo)(()=>(null==k?void 0:k.component)||{},[k]),Z=(0,d.useRef)([]),z=(0,d.useRef)(!1),{data:G}=function(l){let{handles:e}=l,{data:t=[]}=(0,x.G)({handles:(null==e?void 0:e.split(","))||[],metafieldIdentifiers:{product:p.P,variant:h.N}});return{data:{products:t.map(l=>({...l,name:l.title}))}}}({handles:(null==X?void 0:null===(g=X.menus)||void 0===g?void 0:null===(i=g.map)||void 0===i?void 0:null===(t=i.call(g,l=>null==l?void 0:l.handle))||void 0===t?void 0:null===(e=t.join)||void 0===e?void 0:e.call(t,","))||""}),K=l=>{try{let e=new URL(l).pathname.toLowerCase();return/\.(jpeg|jpg|gif|png|webp|bmp|svg|tiff)$/.test(e)}catch(e){return/\.(jpeg|jpg|gif|png|webp|bmp|svg|tiff)$/i.test(l)}};function O(l){var e,t;return l&&"string"==typeof l&&l.includes("/")?null===(t=l.split("/").pop())||void 0===t?void 0:null===(e=t.split("?"))||void 0===e?void 0:e.shift():l}let $=l=>{var e,t;let{metafields:n,variantId:d}=l;return(null==n?void 0:null===(t=n.__discountCodeApp)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.filter(l=>{let e=String((null==l?void 0:l.variant_shopify_id)||"")===O(d),t=((null==l?void 0:l.ends_at)===null||new Date(null==l?void 0:l.ends_at).getTime()>new Date().getTime())&&((null==l?void 0:l.starts_at)===null||new Date(null==l?void 0:l.starts_at).getTime()<=new Date().getTime());return e&&t}))||[]},J=l=>{var e,t,d,i,o,a,r,u,x,p,h,_;let g=null==X?void 0:null===(e=X.menus)||void 0===e?void 0:e.find(e=>(null==e?void 0:e.handle)===(null==l?void 0:l.handle)),j=null==l?void 0:null===(t=l.variants)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.sku)===(null==l?void 0:l.sku)||(null==g?void 0:g.sku)),P=$({metafields:null==j?void 0:j.metafields,variantId:null==j?void 0:j.id}),w=(0,f.t)({variant:j,couponDiscount:(null==P?void 0:P.length)>0?P[0]:null}),{price:b,basePrice:N}=(0,v.w7)({locale:F,amount:null==w?void 0:w.finalPrice,baseAmount:null==w?void 0:w.comparePrice,currencyCode:(null==l?void 0:null===(d=l.price)||void 0===d?void 0:d.currencyCode)||"USD"});return(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"overflow-hidden",children:[(0,n.jsx)("div",{className:"m-auto max-h-[280px] max-w-[280px] l:max-h-[174px] l:max-w-[174px]",children:(0,n.jsx)(c.t,{url:(null==j?void 0:null===(i=j.image)||void 0===i?void 0:i.url)||"",className:"aspect-h-[280] aspect-w-[280]",imgClassName:"w-full h-full object-cover"})}),(0,n.jsx)("div",{className:"my-1 box-border flex h-8 flex-wrap gap-1 overflow-hidden",children:null==l?void 0:null===(_=l.tag)||void 0===_?void 0:null===(h=_.f
1ilter)||void 0===h?void 0:null===(p=h.call(_,l=>{var e;return null==l?void 0:null===(e=l.startsWith)||void 0===e?void 0:e.call(l,"CLtag")}))||void 0===p?void 0:null===(x=p.map)||void 0===x?void 0:null===(u=x.call(p,l=>{var e;return null==l?void 0:null===(e=l.replace)||void 0===e?void 0:e.call(l,"CLtag:","")}))||void 0===u?void 0:null===(r=u.slice)||void 0===r?void 0:null===(a=r.call(u,0,2))||void 0===a?void 0:null===(o=a.map)||void 0===o?void 0:o.call(a,(l,e)=>(0,n.jsx)(m.Ct,{children:l},e))}),(0,n.jsx)(m.xv,{as:"p",html:null==l?void 0:l.name,title:null==l?void 0:l.name,className:"h-16 text-2xl font-bold leading-8 line-clamp-2 xl:h-12 xl:text-xl xl:leading-6"}),(0,n.jsx)(m.xv,{as:"p",html:null==l?void 0:l.description,title:null==l?void 0:l.description,className:"mt-1 h-14 text-lg font-bold line-clamp-2 xl:h-10 xl:text-sm min-l:mt-2"}),(0,n.jsxs)("div",{className:"mb-2 mt-1 flex items-center text-xl font-bold md:text-[16px] min-xxl:text-2xl",children:[(0,n.jsx)("div",{className:"text-[#1D1D1F]",children:b||""}),N&&(0,n.jsx)("div",{className:"ml-1 text-[#86868C] line-through",children:N})]}),(null==q?void 0:q.buttonText)&&(0,n.jsx)(s.r,{href:"/products/".concat(null==l?void 0:l.handle,"?variant=").concat(O((null==j?void 0:j.id)||"")),children:(0,n.jsx)(m.zx,{children:null==q?void 0:q.buttonText})})]})})},Q=l=>{if(l)return l&&"string"!=typeof l?(0,n.jsxs)("div",{className:"size-full",children:[(0,n.jsx)("p",{className:"font-bold text-[#1D1D1F] min-md:text-sm min-l:text-lg",dangerouslySetInnerHTML:{__html:(null==l?void 0:l.text)||""}}),(0,n.jsx)(c.t,{url:null==l?void 0:l.imgUrl,className:"m-auto max-h-[360px] max-w-[360px] l:max-h-[174px] l:max-w-[174px]",imgClassName:"w-full h-full object-cover"})]}):(0,n.jsx)("div",{className:"break-all",children:K(l)?(0,n.jsx)(c.t,{url:l,className:"m-auto max-h-[360px] max-w-[360px] l:max-h-[174px] l:max-w-[174px]",imgClassName:"w-full h-full object-cover"}):(0,n.jsx)("p",{className:"text-sm font-bold text-[#1D1D1F] min-xl:text-base min-xxl:text-lg",dangerouslySetInnerHTML:{__html:l||""}})})},Y=l=>l.map((l,e)=>{var t,d,i,a;let r=null==X?void 0:null===(d=X.menus)||void 0===d?void 0:null===(t=d.find(l=>(null==l?void 0:l.handle)===(null==B?void 0:B.handle)))||void 0===t?void 0:t.subTitle,u=null==X?void 0:null===(a=X.menus)||void 0===a?void 0:null===(i=a.find(l=>(null==l?void 0:l.handle)===(null==A?void 0:A.handle)))||void 0===i?void 0:i.subTitle,s=((null==u?void 0:u[l])||!(null==u?void 0:u[l])&&K(null==r?void 0:r[l]))&&(null==u?void 0:u[l])!==(null==r?void 0:r[l]);return(0,n.jsxs)("div",{className:"".concat(o().contentWrapItem," ").concat(0===e?o().noBorderItem:""),children:[(0,n.jsx)(m.X6,{as:"h3",html:l||""}),(0,n.jsxs)("div",{className:"".concat(o().subItemContent," ").concat(s?"grid-cols-2":"grid-cols-1"),children:[Q(null==r?void 0:r[l]),s&&Q(null==u?void 0:u[l])]})]},l)}),ll=l=>{let{subTitle:e,isProduct:t}=l;if(t){var d,i;let l=null==G?void 0:null===(d=G.products)||void 0===d?void 0:d.find(l=>(null==l?void 0:l.handle)===(null==B?void 0:B.handle)),t=null==G?void 0:null===(i=G.products)||void 0===i?void 0:i.find(l=>(null==l?void 0:l.handle)===(null==A?void 0:A.handle));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:o().contentWrapItem,children:[(0,n.jsx)(m.X6,{as:"h3",className:"l:hidden"}),(0,n.jsxs)("div",{className:"".concat(o().subItemContent," grid-cols-2"),children:[l&&J({...l,sku:null==B?void 0:B.sku}),t&&J({...t,sku:null==A?void 0:A.sku})]})]}),(null==e?void 0:e.length)?Y(e):null]})}return Y(e)};return(0,d.useEffect)(()=>{var l,e;T(null==V?void 0:null===(e=V.data)||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.title),R(null==q?void 0:q.leftMenu),E(null==q?void 0:q.rightMenu)},[]),(0,d.useEffect)(()=>{var l,e,t;if(!(null==q?void 0:null===(l=q.leftMenu)||void 0===l?void 0:l.name)&&(null==G?void 0:null===(e=G.products)||void 0===e?void 0:e.length)&&!z.current){z.current=!0;let l=null==G?void 0:null===(t=G.products)||void 0===t?void 0:t[0];R({sku:null==l?void 0:l.sku,name:null==l?void 0:l.name,handle:null==l?void 0:l.handle})}},[G]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.Z,{data:U}),(0,n.jsxs)("div",{className:o().productParametersWrap,children:[(0,n.jsx)("div",{className:o().productParametersHeader,children:(0,n.jsx)(m.W2,{children:(0,n.jsxs)("div",{className:"flex items-center justify-end",children:[(0,n.jsxs)("div",{className:o().headerBox,children:[(null==G?void 0:null===(j=G.products)||void 0===j?void 0:j.length)>1?(0,n.jsxs)(m.xv,{className:"".concat(o().headerBoxLeft," openDropDown"),onClick:()=>L(!y),children:[(null==B?void 0:B.name)||"",(0,n.jsx)(a,{list:null==G?void 0:G.products,active:B,filterActive:A,setActive:R,visible:y,setVisible:L})]}):null,(null==A?void 0:A.name)&&(null==G?void 0:null===(P=G.products)||void 0===P?void 0:P.length)>1?(0,n.jsxs)(m.xv,{className:"".concat(o().headerBoxRight," openDropDown"),onClick:()=>M(!W),children:[null==A?void 0:A.name,(0,n.jsx)(a,{list:null==G?void 0:G.products,active:A,filterActive:B,setActive:E,visible:W,setVisible:M})]}):null]}),(null==A?void 0:A.name)&&(null==G?void 0:null===(w=G.products)||void 0===w?void 0:w.length)>1?(0,n.jsx)("div",{className:"openDropDown cursor-pointer",onClick:l=>{l.stopPropagation(),y&&W?(M(!1),L(!1)):(M(!0),L(!0))},children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,n.jsx)("path",{d:"M6 9.5L12 15.5L18 9.5",stroke:"#1D1D1F","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})}):null]})})}),(0,n.jsx)(m.W2,{children:(null==V?void 0:V.data)?(0,n.jsxs)("div",{className:o().productParametersContent,children:[(null==V?void 0:null===(b=V.data)||void 0===b?void 0:b.length)>1?(0,n.jsx)("div",{className:o().contentLeft,children:(0,n.jsx)("div",{className:o().leftTextWrap,children:null==V?void 0:null===(N=V.data)||void 0===N?void 0:N.map(l=>(0,n.jsx)("div",{onClick:()=>{var e,t;T(null==l?void 0:l.title);let n=null===(e=Z.current)||void 0===e?void 0:e[null==l?void 0:l.title];null==n||null===(t=n.scrollIntoView)||void 0===t||t.call(n,{behavior:"smooth"})},title:(null==l?void 0:l.title)||"",className:"".concat(o().leftTextItem," ").concat(I===(null==l?void 0:l.title)?o().selectLeftItem:""),children:(null==l?void 0:l.title)||""},null==l?void 0:l.title))})}):null,(0,n.jsx)("div",{className:o().contentRight,children:(0,n.jsx)("div",{className:"w-full",children:null==V?void 0:null===(C=V.data)||void 0===C?void 0:C.map((l,e)=>(0,n.jsxs)("div",{className:o().contentWrap,ref:e=>Z.current[null==l?void 0:l.title]=e,children:[(0,n.jsx)(m.X6,{as:"h2",className:o().contentWrapTitle,html:(null==l?void 0:l.title)||""}),ll(l)]},e))})})]}):null})]})]})}},45765:function(l){l.exports={productParametersWrap:"ProductParameter_productParametersWrap__6PFtL",productParametersHeader:"ProductParameter_productParametersHeader__1h5vQ",headerBox:"ProductParameter_headerBox__HAjyT",headerBoxLeft:"ProductParameter_headerBoxLeft__Vp3OR",headerBoxRight:"ProductParameter_headerBoxRight__M5xXb",productParametersContent:"ProductParameter_productParametersContent__px_p7",contentLeft:"ProductParameter_contentLeft__OmDx9",leftTextWrap:"ProductParameter_leftTextWrap__gtujx",leftTextItem:"ProductParameter_leftTextItem__1q8uK",selectLeftItem:"ProductParameter_selectLeftItem__0lyrG",contentRight:"ProductParameter_contentRight__KaB1A",contentTitle:"ProductParameter_contentTitle__1JYEB",contentWrap:"ProductParameter_contentWrap__vVZF_",contentWrapTitle:"ProductParameter_contentWrapTitle__g4m18",contentWrapItem:"ProductParameter_contentWrapItem__4VwqP",subItemContent:"ProductParameter_subItemContent__Eid4p",productCascaderDropdown:"ProductParameter_productCascaderDropdown__5WTiP",productCascaderMenu:"ProductParameter_productCascaderMenu__FMqBf",productCascaderMenuItem:"ProductParameter_productCascaderMenuItem__7neig",productActive:"ProductParameter_productActive__cjCZR"}}}]);
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.