PageSourceSearch

https://stellarequipment.com/_next/static/chunks/ProductDetailsV2-XTRWLdf-g5jQjVxjCZ7TV.js

js stellarequipment.com collected 2026-09-26 05:04:20 UTC 50,027 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae534cac-cdd9-4af6-88fa-32b767a55519",e._sentryDebugIdIdentifier="sentry-dbid-ae534cac-cdd9-4af6-88fa-32b767a55519")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1593],{75527:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eA},getProductDetailsProps:function(){return eP}});var a=l(85893),r=l(26714),s=l(37043),i=l(67294),n=l(11163),o=l(90512),c=l(68123),d=l(24638),u=l(62034),m=l(68918);let p=(0,i.createContext)(null),x=()=>{let e=(0,i.useContext)(p);if(!e)throw Error("useProductDetailsContext must be used within a ProductDetailsContext.Provider");return e};var f=l(60185),v=l(45295),b=l(14263),h=l(2977),g=l(39513),j=l(19525),y=l(28700),N=l(66464),w=l(38626);l(6603);var k=e=>{let{className:t="",shortDescription:l,idealForLabel:r,idealForTags:s}=e,i=s&&s.length>0;return(0,a.jsx)("div",{className:"px-4 pt-14 pb-10 lg:px-6 lg:pt-20 lg:pb-16 grid lg:grid-cols-12 ".concat(t),children:(0,a.jsxs)("div",{className:"lg:col-span-9 text-on-surface-primary font-middle product-description-markdown",children:[(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:l}}),i&&(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row gap-2 lg:items-center mt-6 uppercase font-xs leading-xs tracking-xs",children:[(0,a.jsx)("span",{className:"font-bold whitespace-nowrap",children:r}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2 font-regular",children:s.map(e=>(0,a.jsx)("div",{className:"px-2 py-1 bg-surface-secondary self-start font-xs",children:e},e))})]})]})})},_=e=>{let{title:t,children:l}=e;return(0,a.jsxs)("div",{className:"px-4 lg:px-6 pt-8 pb-16 text-on-surface-primary",children:[(0,a.jsx)("div",{className:"pb-5 mb-8 border-b border-on-surface-opacity-20",children:(0,a.jsx)("h2",{className:"text-sm lg:text-md",children:t})}),l]})},C=l(63736);let L=(e,t,l)=>{let a=t?parseInt(t,10):NaN;if(Number.isNaN(a)||a<1)return e[0];let r=void 0!==l&&a>l?a-1:a;return r>=1&&r<=e.length?e[r-1]:e[0]};var S=e=>{let{media:t,imageIndex:l,customImageUrl:r,productVideo:s}=e,i=t.filter(e=>"video"!==e.type),n=l?parseInt(l,10):NaN;if(!r&&s&&!Number.isNaN(n)&&n===s.position+1){let e=!!s.source.mobile;return(0,a.jsx)("figure",{className:"lg:w-11/12 lg:sticky lg:top-6",children:(0,a.jsx)(C.Z,{className:"object-cover bg-on-surface-opacity-20 stellar-corner-cut",src:e?s.source.mobile:s.source.desktop,secondarySource:e?{src:s.source.desktop,media:f.Aj}:void 0,name:"",priority:!1,sizeHints:[{size:{width:11/36}},{size:{width:1}}]})})}let o=r?{source:{url:r}}:L(i,l,null==s?void 0:s.position);return(null==o?void 0:o.source)&&(0,a.jsx)("figure",{className:"lg:w-11/12 lg:sticky lg:top-6",children:(0,a.jsx)(C.Z,{className:"aspect-3.4 object-cover bg-on-surface-opacity-20 stellar-corner-cut",src:o.source.url,name:"",priority:!1,sizeHints:[{size:{width:1},maxWidth:f.nx},{size:{width:11/36}}]})})};l(60879);var Z=l(52953),z=l(2137),I=l(59163),T=l(86790),A=e=>{let{currentSlide:t=0,media:l,onOpenModal:r,onToggleModal:s}=e,[n,o]=(0,i.useState)(null),[c,d]=(0,i.useState)(1),u=(0,i.useRef)(null),m=(0,i.useRef)(null),p=(0,i.useCallback)(()=>{u.current&&u.current.open(),s&&s(!0),n&&n.slideTo(t,0),window.innerWidth&&m.current&&m.current.scrollTo({top:0})},[t,s,n]),x=()=>{s&&s(!1)};return(0,i.useEffect)(()=>{r&&p()},[p,r]),(0,a.jsx)(T.Z,{ref:u,childContainerClassName:"w-full h-full",className:"fixed m-0 h-dvh w-full max-w-none overflow-hidden p-0 bg-[#ccc]","data-origin":f.py,isChildCentered:!1,onCloseModal:x,children:(0,a.jsxs)("div",{className:"relative h-full w-full",children:[(0,a.jsx)("div",{ref:m,className:"relative h-full select-none overflow-y-scroll bg-surface-primary",style:{"--current-index":c,"--current-bullet-gap":1===c?"0px":"2.5px"},children:(0,a.jsx)(z.Z,{onSwiper:e=>{o(e)},slidesPerView:1,initialSlide:0,loop:!0,watchOverflow:!1,modules:[Z.tl],onSlideChange:e=>{d(()=>e.realIndex+1)},className:"carousel carousel-modal h-full lg:h-auto",pagination:l.length>1,children:l.map(e=>{let{id:t,source:l,alt:r,type:s}=e;return"video"===s?(0,a.jsxs)("figure",{className:"size-full",children:[(0,a.jsx)(C.Z,{videoWrapperClassName:"hidden lg:block w-full h-full overflow-hidden",name:r||"",sizeHints:[{size:{width:1},maxWidth:f.nx}],src:l.desktop},"".concat(t,"_desktop")),(0,a.jsx)(C.Z,{videoWrapperClassName:"block lg:hidden w-full h-full overflow-hidden",name:r||"",sizeHints:[{size:{width:1}}],src:l.mobile},"".concat(t,"_mobile"))]},t):(0,a.jsx)("figure",{className:"size-full",children:(0,a.jsx)(C.Z,{name:r||"",priority:!1,sizeHints:[{size:{width:1},maxWidth:f.nx}],src:l.url},t)},t)})})}),(0,a.jsx)("div",{className:"carousel-nav-position left-0 carousel-nav-y-center group-[.product-image-gallery-single]:hidden",children:(0,a.jsx)("div",{className:"hidden lg:block py-21 px-25",children:(0,a.jsx)("button",{type:"button","aria-label":"Product Image Previous Button",onClick:()=>{null==n||n.slidePrev()},className:"carousel-nav",children:(0,a.jsx)(I.Z,{iconColor:"neutral",variant:"chevronLeft"})})})}),(0,a.jsx)("div",{className:"carousel-nav-position right-0 carousel-nav-y-center group group-[.product-image-gallery-single]:hidden",children:(0,a.jsx)("div",{className:"hidden lg:block py-21 px-25",children:(0,a.jsx)("button",{type:"button","aria-label":"Product Image Next Button",onClick:()=>{null==n||n.slideNext()},className:"carousel-nav",children:(0,a.jsx)(I.Z,{iconColor:"neutral",variant:"chevronRight"})})})}),(0,a.jsx)("div",{className:"absolute top-[3.125rem] right-[3.125rem] z-10",children:(0,a.jsx)("button",{type:"button","aria-label":"Product Image Modal Close Button",onClick:()=>{u.current&&u.current.close(),x()},className:"carousel-modal-close",children:(0,a.jsx)(I.Z,{iconColor:"accent",variant:"close"})})})]})})},E=l(36863),P=l(98),D=e=>{let{media:t,aspectType:l}=e,[r,s]=(0,i.useState)(null),[n,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(0),m="standard"===l?"aspect-square":"aspect-3.4",p=e=>{c(e)},x=(0,i.useRef)(null),v=((null==r?void 0:r.realIndex)||0)+1,b=1===v?0:4*(v-1)/v;return(0,a.jsxs)("div",{className:(0,o.Z)("product-image-gallery-container relative group",{"group/product-image-gallery-single product-image-gallery-single":!t.length}),children:[(0,a.jsx)(E.Z,{handleOnPrevSlide:()=>{null==r||r.slidePrev()},handleOnNextSlide:()=>{null==r||r.slideNext()},icon:P.Z,containerRef:x}),(0,a.jsx)(z.Z,{onSwiper:e=>{s(e)},breakpoints:{[f.nx]:{slidesPerView:2.3}},mousewheel:{releaseOnEdges:!0,enabled:!1},style:{"--current-index":v,"--current-bullet-gap":"".concat(b,"px"),userSelect:"none"},slidesPerView:1,pagination:!!t.length,onSlideChange:e=>{u(e.realIndex)},initialSlide:0,loop:!0,watchOverflow:!1,modules:[Z.tl,Z.Gk],onBeforeInit:e=>{e.setTranslate(50)},onAfterInit:e=>{e.translateTo(0,1500)},wrapperClass:"translate-x-4",className:(0,o.Z)("transform-3d carousel carousel-product-details h-full","carousel-show-pagination"),children:t.map((e,t)=>{if("video"===e.type){let t=!!e.source.mobile;return(0,a.jsx)("figure",{className:"size-full ".concat(m),children:(0,a.jsx)(C.Z,{videoWrapperClassName:"w-full h-full overflow-hidden",name:e.alt||"",sizeHints:[{size:{width:1/2.3}},{size:{width:1}}],src:t?e.source.mobile:e.source.desktop,secondarySource:t?{src:e.source.desktop,media:f.Aj}:void 0})},e.id)}return(0,a.jsx)("figure",{className:"size-full ".concat(m),children:(0,a.jsx)(C.Z,{name:e.alt||"",priority:0===t,
1sizeHints:[{size:{width:1},maxWidth:f.nx},{size:{width:1/2.3}}],src:e.source.url},e.id)},e.id)})}),(0,a.jsx)("div",{ref:x,className:"hidden lg:block absolute top-0 bottom-0 left-[26px] right-[46px] z-[1] cursor-none"}),(0,a.jsx)("div",{className:"carousel-zoom group-[.product-image-gallery-single]:hidden",children:(0,a.jsx)("button",{type:"button",className:"carousel-nav",onClick:()=>p(!0),children:(0,a.jsx)(I.Z,{variant:"expand",iconColor:"neutral",className:"fill-fixed-on-cta"})})}),(0,a.jsx)(A,{media:t,currentSlide:d,onOpenModal:n,onToggleModal:p})]})},R=l(22195),V=l(34272),B=l(81546);let M=(e,t)=>!!t&&t.includes(e),O={base:["base"],insulation:["insulation"],mid:["mid"],shell:["shell"],belay:["belay"]};var W=e=>{let{highlightedSection:t,activeColor:l="var(--orange-light)",inactiveColor:r="#c2c2c2"}=e,s={fill:r,fillOpacity:1,stroke:r,strokeWidth:1,strokeOpacity:1,strokeLinecap:"butt",strokeLinejoin:"bevel",strokeDasharray:"none",paintOrder:"normal"},i={fill:l,stroke:l},n=t?O[t]:[],o=e=>M(e,n)?i:{};return(0,a.jsxs)("svg",{viewBox:"0 0 142 142",children:[(0,a.jsx)("circle",{style:{...s,stroke:"none",...o("base")},id:"base",cx:"71",cy:"71",r:"9.8"}),(0,a.jsx)("circle",{style:{...s,...o("insulation"),fill:"none",strokeWidth:11.7466},id:"insulation",cx:"71",cy:"71",r:"37.5"}),(0,a.jsxs)("g",{id:"mid",style:{...s,...o("mid"),stroke:"none"},children:[(0,a.jsx)("circle",{id:"mid3",cx:"71",cy:"51",r:"5.5"}),(0,a.jsx)("circle",{id:"mid5",cx:"91",cy:"71",r:"5.5"}),(0,a.jsx)("circle",{id:"mid7",cx:"71",cy:"91",r:"5.5"}),(0,a.jsx)("circle",{id:"mid1",cx:"51",cy:"71",r:"5.5"}),(0,a.jsx)("circle",{id:"mid4",cx:"100.40916",cy:"-20",r:"5.5",transform:"rotate(45)"}),(0,a.jsx)("circle",{id:"mid6",cx:"120.40916",cy:"1.2507358e-14",r:"5.5",transform:"rotate(45)"}),(0,a.jsx)("circle",{id:"mid8",cx:"100.40916",cy:"20",r:"5.5",transform:"rotate(45)"}),(0,a.jsx)("circle",{id:"mid2",cx:"80.409164",cy:"9.3923282e-15",r:"5.5",transform:"rotate(45)"})]}),(0,a.jsxs)("g",{id:"shell",style:{...s,...o("shell"),fill:"none",strokeWidth:5.5},children:[(0,a.jsx)("path",{id:"shell3",d:"m 52.988011,21.512446 a 52.663551,52.663555 0 0 1 36.02399,-1e-6"}),(0,a.jsx)("path",{id:"shell7",d:"m 89.012002,120.48755 a 52.663551,52.663555 0 0 1 -36.023991,0"}),(0,a.jsx)("path",{id:"shell4",d:"m 82.397168,-49.487558 a 52.663551,52.663555 0 0 1 36.023992,-10e-7",transform:"rotate(45)"}),(0,a.jsx)("path",{id:"shell8",d:"m 118.42116,49.48755 a 52.663551,52.663555 0 0 1 -36.023992,-10e-7",transform:"rotate(45)"}),(0,a.jsx)("path",{id:"shell5",d:"m 52.988003,-120.48755 a 52.663551,52.663555 0 0 1 36.023991,0",transform:"rotate(90)"}),(0,a.jsx)("path",{id:"shell1",d:"m 89.011994,-21.512445 a 52.663551,52.663555 0 0 1 -36.023991,-1e-6",transform:"rotate(90)"}),(0,a.jsx)("path",{id:"shell6",d:"m -18.011996,-149.89672 a 52.663551,52.663555 0 0 1 36.02399,0",transform:"rotate(135)"}),(0,a.jsx)("path",{id:"shell2",d:"m 18.011995,-50.92161 a 52.663551,52.663555 0 0 1 -36.023991,-10e-7",transform:"rotate(135)"})]}),(0,a.jsxs)("g",{id:"belay",style:{...s,...o("belay"),fill:"none",strokeWidth:10},children:[(0,a.jsx)("path",{id:"belay3",d:"m 48.732126,9.8183127 a 65.106926,65.108192 0 0 1 44.53576,-1.4e-6"}),(0,a.jsx)("path",{id:"belay7",d:"m 93.267886,132.18169 a 65.106926,65.108192 0 0 1 -44.53576,0"}),(0,a.jsx)("path",{id:"belay4",d:"m 78.141058,-61.182065 a 65.107559,65.107567 0 0 1 44.536192,-2e-6",transform:"matrix(0.7071,0.70711356,-0.7071,0.70711356,0,0)"}),(0,a.jsx)("path",{id:"belay8",d:"m 122.67725,61.180135 a 65.107559,65.107567 0 0 1 -44.536191,-10e-7",transform:"matrix(0.7071,0.70711356,-0.7071,0.70711356,0,0)"}),(0,a.jsx)("path",{id:"belay5",d:"m 48.731687,-132.1805 a 65.108185,65.106926 0 0 1 44.536622,0",transform:"rotate(90)"}),(0,a.jsx)("path",{id:"belay1",d:"m 93.268309,-9.8195016 a 65.108185,65.106926 0 0 1 -44.536621,-10e-7",transform:"rotate(90)"}),(0,a.jsx)("path",{id:"belay6",d:"m -22.26906,-161.59026 a 65.107559,65.107567 0 0 1 44.536193,0",transform:"matrix(-0.7071,0.70711356,-0.7071,-0.70711356,0,0)"}),(0,a.jsx)("path",{id:"belay2",d:"m 22.267134,-39.228056 a 65.107559,65.107567 0 0 1 -44.536194,-10e-7",transform:"matrix(-0.7071,0.70711356,-0.7071,-0.70711356,0,0)"})]})]})},F=e=>{let{body:t,heading:l,link:r,linklabel:s,title:i,layersLabels:n,activeLayer:c,layerClassName:d}=e;return(0,a.jsxs)("div",{className:"grid lg:grid-cols-8 gap-6 lg:gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4 lg:order-2 lg:col-span-5",children:[i&&(0,a.jsxs)("div",{className:"font-xs font-bold text-on-surface-primary flex uppercase",children:[(0,a.jsx)("div",{className:"w-[9px] h-[15px] flex justify-center items-center mr-2",children:(0,a.jsx)(V.Z,{})}),i]}),l&&(0,a.jsx)("p",{className:"font-md text-on-surface-primary",children:l}),t&&(0,a.jsx)("p",{className:"text-on-surface-primary",children:t}),r&&s&&(0,a.jsx)("div",{children:(0,a.jsx)(B.r,{label:s,direction:"right",href:r,insideALink:!0})})]}),(0,a.jsx)("div",{className:"lg:order-1 mb-6 lg:mb-0 lg:col-span-3 flex items-center gap-6 lg:gap-4 text-on-surface-opacity-70 lg:border-r-on-surface-opacity-20 lg:border-r",children:n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-36 lg:max-w-36 only:mx-auto mr-2 lg:py-6",children:(0,a.jsx)("figure",{className:"aspect-square",children:(0,a.jsx)(W,{highlightedSection:c})})}),(0,a.jsx)("div",{className:"".concat(d," only:lg:mx-auto"),children:n.map(e=>(0,a.jsx)("p",{className:(0,o.Z)({"font-bold text-fixed-surface-accent":e.value.toLowerCase().includes(c||"")}),children:e.label},e.value))})]})})]})},H=l(86089);l(75495);var U=e=>{let{title:t,heading:l,body:r,className:s=""}=e;return l||r?(0,a.jsxs)("div",{className:"rounded-general w-full flex gap-4 flex-col ".concat(s),children:[t&&(0,a.jsxs)("div",{className:"font-xs font-bold text-on-surface-primary flex uppercase",children:[(0,a.jsx)("div",{className:"w-[9px] h-[15px] flex justify-center items-center mr-2",children:(0,a.jsx)(H.Z,{})}),t]}),l&&(0,a.jsx)("div",{className:"font-md text-on-surface-primary",children:l}),r&&(0,a.jsx)("div",{className:"text-on-surface-primary product-details-performance-markdown",children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:r}}
1)})]}):null},q=l(3058),Y=e=>{let{className:t,name:l}=e;return(0,a.jsx)(q.h4,{className:"font-sm font-headline ".concat(t||""),testid:"ProductTitle",variant:"h1",children:l})},K=e=>{let{className:t="",body:l,textFit:r,title:s,fitImageSrc:i,productFitLabels:n}=e;return(null==n?void 0:n.length)||l?(0,a.jsxs)("div",{className:"flex gap-6 lg:gap-4 flex-col ".concat(t),children:[s&&(0,a.jsxs)("div",{className:"font-xs font-bold text-on-surface-primary flex uppercase",children:[(0,a.jsx)("div",{className:"w-[9px] h-[15px] flex justify-center items-center mr-2",children:(0,a.jsx)(H.Z,{})}),s]}),(0,a.jsxs)("div",{className:"flex flex-row gap-6 lg:flex-col lg:gap-4 lg:px-0 px-4 mb-6 lg:mb-0 lg:py-9",children:[i&&(0,a.jsx)("div",{className:"w-[60%] flex justify-center items-center lg:w-auto lg:px-8",children:(0,a.jsx)("figure",{className:"aspect-3.4 size-full",children:(0,a.jsx)(C.Z,{src:i,name:s||"",priority:!1,sizeHints:[{size:{width:.6},maxWidth:f.nx},{size:{width:1/4}}]})})}),(0,a.jsxs)("div",{className:"font-base lg:text-center lg:px-8 flex flex-col justify-center lg:items-center text-on-surface-opacity-70",children:[null==n?void 0:n.map(e=>(0,a.jsx)("p",{className:(0,o.Z)("capitalize",{"text-fixed-surface-accent":e.value===r}),children:e.label},e.value)),l&&(0,a.jsxs)("div",{className:"text-on-surface-primary w-2/3 lg:text-center mt-4 lg:mt-2",children:[" ",l]})]})]})]}):null},G=e=>{let{title:t,children:l}=e;return 0===i.Children.toArray(l).length?null:(0,a.jsxs)("div",{className:"w-full",children:[t&&(0,a.jsxs)("div",{className:"font-xs font-bold text-on-surface-primary flex mb-6 lg:mb-8 uppercase",children:[(0,a.jsx)("div",{className:"w-[9px] h-[15px] flex justify-center items-center mr-2",children:(0,a.jsx)(H.Z,{})}),t]}),(0,a.jsx)("div",{className:"relative lg:mb-4 flex flex-col gap-8",children:l})]})};l(3082);let X=["extreme","verycold","cold","cool","mild","warm"],$=e=>e.length&&!Number.isNaN(parseInt(e[0].label,10))?X.map(e=>({label:e,value:e})):e;var J=e=>{var t;let{xAxisData:l,colorType:r,value:s,title:i}=e,n=$(l),c=n.findIndex(e=>e.value===s),d=100/(n.length-1),u=Math.abs(n.findIndex(e=>e.value===s)),m=(c+(0-(t=u-1)))/Math.abs(c-t)*100,p=d*(u-1)+m/(n.length-1);return(0,a.jsxs)("div",{className:"w-full",children:[i&&(0,a.jsx)("div",{className:"text-on-surface-primary mb-2",children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})}),(0,a.jsx)("div",{className:"relative h-3 mb-2",children:(0,a.jsx)("div",{className:"indicator-bar",children:(0,a.jsx)("div",{className:"indicator-container w-full",style:{"--position-x":"".concat(p,"%")},children:(0,a.jsx)("div",{className:(0,o.Z)("indicator ".concat(r),{"start indicator-position-start":p<=0,"end indicator-position-end":p>=100})})})})}),(0,a.jsx)("div",{className:"flex  uppercase font-xs text-on-surface-primary w-full",children:l.map(e=>{let{label:t}=e;return(0,a.jsx)("div",{className:"truncate text-center basis-1/2 first:text-left first:basis-1/4 last:text-right last:basis-1/4",children:t},t)})})]})},Q=l(48885),ee=l(49194),et=l(74590),el=l(58164);l(39038);var ea=e=>{let{productName:t,brand:l,productId:r,productUrl:s,variantId:i,variantName:n,sku:o,description:c,imageUrl:d,price:u,priceCurrency:m,availability:p,category:x,mpn:f,gtin:v,label:b}=e;return t&&r?(0,a.jsxs)("div",{className:"flex text-on-surface-primary uppercase font-xs w-full items-center flex-1",children:[b&&(0,a.jsx)("div",{children:b}),(0,a.jsxs)("div",{className:"pl-2 flex w-fit items-center h-[20px]",children:[(0,a.jsx)("span",{children:"("}),(0,a.jsx)("div",{id:"lipscore-rating","data-ls-product-name":t,"data-ls-brand":l,"data-ls-product-id":r,"data-ls-product-url":s,"data-ls-variant-id":i,"data-ls-variant-name":n,"data-ls-sku":o,"data-ls-description":c,"data-ls-image-url":d,"data-ls-price":u,"data-ls-price-currency":m,"data-ls-availability":p,"data-ls-category":x,"data-ls-mpn":f,"data-ls-gtin":v,"data-ls-connected-review-list-id":"lipscore-review-list"}),(0,a.jsx)("span",{children:"/ 5"})]}),(0,a.jsx)("span",{children:")"})]}):null},er=l(61487),es=l(14045),ei=e=>{let{product:t}=e,l=(0,ee.Z)(t);return(0,a.jsx)("section",{"data-origin":"LipScore",children:(0,a.jsxs)("div",{className:"flex gap-10 flex-col lg:justify-between lg:flex-row lipscore-layout",children:[(0,a.jsx)(es.Z,{...l}),(0,a.jsx)("div",{className:"flex-1 lg:max-w-[50%] lipscore-review-column",children:(0,a.jsx)(er.Z,{...l})})]})})},en=e=>{let{productNumber:t,productVariantNumber:l}=e,[a,r]=(0,i.useState)(null),[s,n]=(0,i.useState)(!1);(0,i.useEffect)(()=>{r(null),n(!1);let e=!1,t=null,l=null,a=()=>{null==t||t.disconnect(),t=null,null!==l&&(clearTimeout(l),l=null)},s=t=>{if(e)return;e=!0,a();let l=parseFloat(t.textContent||"0");r(Number.isNaN(l)?0:l)},i=()=>{var e;let t=document.querySelector(".lipscore-compact-rating-wrapper .lipscore-rating-value");return null!=t&&null!==(e=t.textContent)&&void 0!==e&&!!e.trim()&&(s(t),!0)};return i()||((t=new MutationObserver(i)).observe(document.body,{childList:!0,subtree:!0,characterData:!0}
1),l=setTimeout(()=>{e||(e=!0,a(),n(!0))},1e4)),a},[t,l]);let o=null;return s?o=!1:null!==a&&(o=a>0),{ratingValue:a,hasError:s,shouldShowRating:o}},eo=e=>{let{className:t}=e,l="REVIEWS",{accordionData:r,product:s}=x(),{productAccordion:n}=r,[c,d]=(0,i.useState)(l),u=(e,t)=>{d(t?"":e)},{shouldShowRating:m}=en({productNumber:s.productNumber,productVariantNumber:s.productVariant.number}),p=n.some(e=>{let{markdown:t,richText:l}=e;return t||l}),v=(0,ee.Z)(s);return(0,a.jsxs)("div",{className:(0,o.Z)("border-primary [&_button_>_div]:text-linkSmall",t),"data-component":"Product Accordion","data-origin":f.py,children:[n.map(e=>{let{label:t,markdown:l,richText:r}=e;return(l||r)&&(0,a.jsxs)(el.Z,{simpleContentLayout:!0,animatedExpand:!0,buttonClassName:"flex w-full items-center justify-between py-4 text-left px-4",buttonExpandedClassName:"py-4",contentClassName:"px-4",id:t,isExpanded:t===c,label:t,labelClassName:"!border-primary",onToggle:u,prevLabel:c,scrollToTop:!0,children:[l&&(0,a.jsx)("div",{className:"product-accordion-markdown",children:(0,a.jsx)(Q.UG,{children:l})}),r&&(0,a.jsx)(et.Z,{content:r})]},t)}),(0,a.jsx)("div",{id:"product-accordion-lipscore-reviews",className:(0,o.Z)("transition-opacity duration-300",!1===m&&"hidden",null===m&&"pointer-events-none opacity-0",!0===m&&"opacity-100"),children:(0,a.jsx)(el.Z,{animatedExpand:!0,buttonClassName:"flex w-full items-center justify-between p-4 text-left",buttonExpandedClassName:"py-4",contentClassName:"px-4",id:l,isExpanded:c===l,label:(0,a.jsx)(ea,{label:l,...v}),labelClassName:(0,o.Z)("!border-primary",p&&"!border-t-0"),onToggle:u,prevLabel:c,scrollToTop:!0,simpleContentLayout:!0,children:(0,a.jsx)(ei,{product:s})},"".concat(l,"-").concat(s.productNumber,"-").concat(s.productVariant.number))})]})},ec=l(40183),ed=l(67583),eu=l(63928),em=l(48804),ep=l(5162);l(42121);var ex=e=>{let{children:t,title:l,className:r="",labels:{leftYAxisHeader:s,leftYAxisLow:i,leftYAxisHigh:n,rightYAxisHeader:o,rightYAxisLow:c,rightYAxisHigh:d,xAxis1:u,xAxis2:m,xAxis3:p,xAxis4:x}}=e;return(0,a.jsxs)("div",{className:r,children:[l&&(0,a.jsxs)("div",{className:"font-xs font-bold text-on-surface-primary flex items-center mb-4 uppercase",children:[(0,a.jsx)("div",{className:"w-[9px] h-[15px] flex justify-center items-center mr-2",children:(0,a.jsx)(H.Z,{})}),l]}),(0,a.jsxs)("div",{className:"grid grid-cols-[3rem_1fr_3rem] grid-rows-[1fr_3rem] gap-0 text-on-surface-primary mt-12",children:[(0,a.jsx)("div",{className:"col-start-2 col-end-3 row-start-1 row-end-2",children:t}),(0,a.jsx)("div",{className:"col-start-1 col-end-2 row-start-1 row-end-2",children:(0,a.jsxs)("div",{className:"h-full flex flex-col gap-2",children:[(0,a.jsx)("div",{className:"font-xs font-bold uppercase",children:s}),(0,a.jsx)("div",{className:"font-xs uppercase",children:n}),(0,a.jsx)("div",{className:"grow arrow-line arrow-line-vertical-left",children:(0,a.jsx)("div",{className:"h-full border-l border-on-surface-opacity-20"})}),(0,a.jsx)("div",{className:"font-xs uppercase",children:i})]})}),(0,a.jsx)("div",{className:"col-start-3 col-end-4 row-start-1 row-end-2",children:(0,a.jsxs)("div",{className:"h-full flex flex-col gap-2",dir:"rtl",children:[(0,a.jsx)("div",{className:"font-xs font-bold uppercase",children:o}),(0,a.jsx)("div",{className:"font-xs uppercase",children:d}),(0,a.jsx)("div",{className:"grow arrow-line arrow-line-vertical-right",children:(0,a.jsx)("div",{className:"h-full border-r border-on-surface-opacity-20"})}),(0,a.jsx)("div",{className:"font-xs uppercase",children:c})]})}),(0,a.jsxs)("div",{className:"col-start-2 col-end-3 row-start-2 row-end-3 flex flex-col gap-2",children:[(0,a.jsx)("div",{className:"mt-4 mx-2 arrow-line arrow-line-horizontal",children:(0,a.jsx)("div",{className:"border-b border-on-surface-opacity-20"})}),(0,a.jsxs)("div",{className:"flex justify-between font-xs uppercase",children:[(0,a.jsx)("div",{children:u}),(0,a.jsx)("div",{children:m}),(0,a.jsx)("div",{children:p}),(0,a.jsx)("div",{children:x})]})]})]})]})};let ef={ComingSoon:"commingSoon",New:"new",ProductTag:"productTag",Sale:"sale",Soldout:"soldout"};var ev=e=>{let{className:t="font-xs text-primary bg-neutral-color3 px-2 py-1",label:l,variant:r}=e;return(0,a.jsx)("div",{className:(0,o.Z)("states",t,r&&ef[r]),children:l})},eb=e=>{let{className:t,containerClassName:l="flex items-start justify-center gap-2 lg:justify-start"}=e,{labels:r,product:s}=x(),{comingSoonLabel:i,newLabel:n,saleLabel:o,soldOutLabel:c}=r,{badgeKey:d}=s;return(0,a.jsxs)("div",{className:l,"data-component":"Product Tag","data-origin":f.py,children:["new"===d&&(0,a.jsx)(ev,{className:t,label:n,variant:"New"}),"sale"===d&&(0,a.jsx)(ev,{className:t,label:o,variant:"Sale"}),"out-of-stock"===d&&(0,a.jsx)(ev,{className:t,label:c,variant:"Soldout"}),"coming-soon"===d&&(0,a.jsx)(ev,{className:t,label:i,variant:"ComingSoon"})]})},eh=l(25675),eg=l.n(eh),ej=l(41664),ey=l.n(ej),eN=e=>{let{id:t,uri:l,swatchMedia:r,productVariant:s,colorRelatedItems:i,label:n,isCurrentProductAvailable:c}=e,d=[{id:t,uri:l,swatchMedia:r,productVariant:s,available:c},...i].sort((e,t)=>
1e.id-t.id),{urls:u}=(0,v.c)(),m=e=>u.getProductUrl({productUri:e}),p=d.find(e=>e.id===t)||{id:t,uri:l,swatchMedia:r,productVariant:s};return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-1 font-xs leading-xs text-on-surface-primary lg:text-on-surface-secondary mb-2 lg:mb-4",children:[(0,a.jsx)("span",{className:"uppercase tracking-xs font-bold",children:n||"Color"}),(0,a.jsx)("span",{className:"tracking-xs capitalize",children:p.productVariant.name||""})]}),(0,a.jsx)("div",{className:"grid grid-cols-8",children:d.map(e=>{var l,r;let s=e.id===t,i=(null===(r=e.swatchMedia)||void 0===r?void 0:null===(l=r.source)||void 0===l?void 0:l.url)||"",n=e.available;return(0,a.jsx)(ey(),{href:m(e.uri),prefetch:!0,children:(0,a.jsx)("button",{type:"button","aria-label":e.productVariant.name||"Product color",className:"w-full",children:(0,a.jsxs)("div",{className:"relative aspect-square rounded-sm p-1 ".concat(s?"border border-on-surface-accent":"border border-transparent"),children:[i&&(0,a.jsx)(eg(),{className:(0,o.Z)("rounded-sm object-cover w-full h-full",{"opacity-50":!n}),src:i,alt:e.productVariant.name||"",width:64,height:64}),!n&&(0,a.jsx)("span",{className:"absolute left-1 right-1 top-1/2 h-px bg-on-surface-primary lg:bg-on-surface-secondary -translate-y-1/2"})]})})},e.id)})})]})},ew=e=>{var t;let{items:l,label:r,notifyLabel:s,handleSizeSelect:n,nativeButtonSlotRef:c,className:d}=e,{pubsub:u}=(0,v.c)(),[m,p]=(0,i.useState)(""),x=null===(t=l[0])||void 0===t?void 0:t.id,h=e=>{let{sku:t,name:l}=e;u.publish(b.U.OPEN_BACK_IN_STOCK_MODAL,{sku:t,name:l})};if((0,i.useEffect)(()=>{l.length>1?p(""):1===l.length&&p(l[0].name)},[x]),!(null==l?void 0:l.length))return null;let g=1===l.length,j=l.some(e=>f.M7.includes(e.name));return(0,a.jsx)("div",{className:(0,o.Z)(d),children:(0,a.jsx)("div",{className:"flex flex-col items-stretch w-full transition-all duration-300 overflow-visible rounded-general bg-transparent h-auto p-0",children:(0,a.jsxs)("div",{className:"w-full transition-all duration-200 relative h-auto left-auto bottom-auto px-0",children:[(0,a.jsxs)("div",{className:"flex min-h-[25px] items-center justify-between mb-4 uppercase text-on-surface-primary lg:text-on-surface-secondary",children:[(0,a.jsx)("span",{className:"font-bold tracking-xs",children:r}),!g&&j&&(0,a.jsx)("div",{ref:c,className:"js-ecomid-size-finder-widget"})]}),(0,a.jsx)("div",{className:"grid grid-cols-6 gap-2 lg:gap-0",children:l.map(e=>(0,a.jsxs)("label",{children:[(0,a.jsx)("input",{onChange:t=>{e.stock.available&&(p(t.target.value),n(e.id))},onClick:()=>{e.stock.available||h({sku:e.sizeSku,name:e.name})},type:"radio",name:"product-size",value:e.name,checked:m===e.name,onPointerDown:e=>e.stopPropagation(),className:"peer sr-only"}),(0,a.jsxs)("div",{className:(0,o.Z)("group relative w-full py-2 min-h-[40px] text-center rounded-[2px] font-xs cursor-pointer duration-hover ease-hover tracking-xs","flex flex-col items-center justify-center","border h-full"," text-on-surface-primary border-on-surface-opacity-20","lg:text-on-surface-secondary lg:border-transparent","hover:border-on-surface-primary lg:hover:border-on-surface-secondary",{"peer-checked:border-on-surface-accent":e.stock.available,"opacity-70":!e.stock.available}),children:[(0,a.jsx)("span",{className:(0,o.Z)("relative inline-block",{"px-1 -mb-[2px] before:absolute before:w-full before:h-[1px] before:top-[40%] before:left-0 before:bg-on-surface-primary lg:before:bg-on-surface-secondary":!e.stock.available}),children:e.name}),!e.stock.available&&(0,a.jsx)("span",{children:s})]})]},e.name))})]})})})},ek=l(39350),e_=l(36681),eC=e=>{var t,l;let{label:r,popupcartLabel:s,processing:i,viewBag:n,price:o,originalPrice:c,status:d,onClickHandle:u}=e;return(0,a.jsx)(ek.Z,{label:r,type:"button",size:"none",addedLabel:s,messageLabel:"",originalPrice:(0,e_.Z)(null==c?void 0:c.formattedValue,null==c?void 0:c.value,null==c?void 0:null===(t=c.currency)||void 0===t?void 0:t.code),processingLabel:i,status:d,salePrice:(0,e_.Z)(null==o?void 0:o.formattedValue,null==o?void 0:o.value,null==o?void 0:null===(l=o.currency)||void 0===l?void 0:l.code),viewBagLabel:n,onClickHandle:u})};let eL=(e,t)=>e>0&&e<t;var eS=e=>{var t,l;let{className:r,availableInStockLabel:s,fewLeftInStocklabel:i,threshold:n,items:c,selectedItemId:d}=e,u=null!==(l=null===(t=c.find(e=>e.id===d))||void 0===t?void 0:t.stock.quantity)&&void 0!==l?l:0,m=eL(u,n),p=c.some(e=>eL(e.stock.quantity,n)),x=d?m:p,f=!x&&(d?u>=n:c.some(e=>e.stock.quantity>=n));return(0,a.jsx)("div",{className:r,children:(0,a.jsxs)("div",{className:(0,o.Z)("flex min-h-[0.9375rem] items-center gap-1 whitespace-pre-line font-xs leading-xs tracking-xs text-on-surface-opacity-70 lg:text-on-cta-opacity-70"),children:[x&&(0,a.jsxs)(a.Fragment,{children:[i,(0,a.jsx)("span",{className:"inline-block size-[9px] shrink-0 rounded-full bg-surface-accent-y"})]}),f&&s]})})},eZ=e=>{let{productNumber:t,productVariantNumber:l}=e;(0,i.useEffect)(()=>{var e;let t=null,l=null,a=null,r=()=>{null!==l&&(clearInterval(l),l=null)},s=()=>{null!==t&&(cancelAnimationFrame(t),t=null),r(),null!==a&&(clearTimeout(a),a=null)},i=()=>{s(),t=requestAnimationFrame(()=>{var e;t=null,null===(e=window.lipscore)||void 0===e||e.reInitWidgets()})};return(null===(e=window.lipscore)||void 0===e?void 0:e.reInitWidgets)?i():(l=setInterval(()=>{var e;(null===(e=window.lipscore)||void 0===e?void 0:e.reInitWidgets)&&(r(),i())},100),a=setTimeout(()=>{r(),s()},1e4)),s},[t,l])},ez=l(51137),eI=e=>(0,a.jsx)(ez.Z,{variant:"small",...e});l(3574);var eT=()=>{var e,t,l,r,n,c,d,u,m,p,L,Z,z,I,T,A,E,P,V,B;let[M,O]=(0,i.useState)("related-products"),[W,H]=(0,i.useState)(!1),[q,X]=(0,i.useState)(!1),[$,Q]=(0,i.useState)(!1),[et,el]=(0,i.useState)({sku:"",name:""}),ea=(0,i.useRef)(null),er=(0,i.useRef)(null),es=(0,i.useRef)(null),{product:ei,labels:ef,breadcrumbs:ev,relatedProducts:eh,recentlyViewedProducts:eg,fewLeftThreshold:ej}=x(),{urls:ey,productData:ek,pubsub:e_}=(0,v.c)(),{id:eL,uri:ez,media:eT,swatchMedia:eA,productVideo:eE,productVariant:eP,colorRelatedItems:eD,items:eR,productNumber:eV,price:eB,originalPrice
1:eM}=ei,eO=[...eT];null!==eE&&eO.splice(eE.position,0,eE);let{leftYAxisHeader:eW,leftYAxisLow:eF,leftYAxisHigh:eH,rightYAxisHeader:eU,rightYAxisLow:eq,rightYAxisHigh:eY,xAxis1:eK,xAxis2:eG,xAxis3:eX,xAxis4:e$,layeringStructureTitle:eJ,layeringStructureCta:eQ,productFitTitle:e0,productFitDataLabels:e1,performanceBarTemperatureLabel:e5,performanceBarWaterResistanceLabel:e2,performanceBarBreathabilityLabel:e6,performanceBarInsluationLabel:e3,performanceBarWindResistanceLabel:e4,performanceBarTemperatureData:e7,performanceBarWaterResistanceDataLabels:e9,performanceBarBreathabilityDataLabels:e8,performanceBarInsulationDataLabels:te,performanceBarWindResistanceDataLabels:tt,getNotifiedContentTitle:tl,productNameLabel:ta,colorLabel:tr,backInStockColorLabel:ts,backInStockSizeLabel:ti,backInStockEmailFieldPlaceholder:tn,notifyMeBtn:to,subscriptionSuccessMsg:tc,subscriptionFailedMsg:td,subscriptionActiveMsg:tu,continueToShopBtn:tm,errorEmailRequiredLabel:tp,errorInvalidEmailLabel:tx,idealForLabel:tf,availableInStockLabel:tv,fewLeftInStockLabel:tb,modelOnPictureInfo:th}=ef,tg=th&&ei.attributes.model_height&&ei.attributes.model_size?th.replace("{{model_height}}",ei.attributes.model_height).replace("{{model_size}}",ei.attributes.model_size):null,{addItem:tj}=(0,h.jD)(),[ty,tN]=(0,i.useState)(""),[tw,tk]=(0,i.useState)("default"),t_=eR[0];(0,i.useEffect)(()=>{eR.length>1?tN(""):t_.stock.available?tN(t_.id):tN("")},[t_.id]);let tC=(0,i.useCallback)(async e=>{try{let l=eR.find(t=>t.id===e);if(!l||!l.stock.available)return;tk("processing"),await tj({itemId:e});try{var t;(null===(t=window.ecomid)||void 0===t?void 0:t.events)&&window.ecomid.events.track({clientId:"820fde106256b28c4ec5adda6323cd3f",subject:"session",action:"add_to_cart",attrs:{variant_id:eP.name,sku:l.sizeSku}})}catch(e){console.error("Error tracking ecomid event:",e)}tk("added"),setTimeout(()=>{tk("default")},5e3)}catch(e){console.error("[Error]: addToCart error",e)}},[eR,tj,eP.name]),tL=(0,i.useRef)(null),tS=(0,s.ac)(f.Aj),tZ=(0,i.useRef)(null),tz=(0,i.useRef)(null),[tI,tT]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;window.scrollY<0||(t.isIntersecting?tT(!1):tT(!(t.boundingClientRect.top<0)))},{threshold:1});return tZ.current&&e.observe(tZ.current),()=>e.disconnect()},[]);let{sizePopupLabel:tA,popupcartLabel:tE,addToCartLabel:tP,chooseSizeLabel:tD="Choose size",notifyLabel:tR,processing:tV,viewBag:tB,selectedSizeNotAvailableLabel:tM}=ef,tO=(0,i.useCallback)(async()=>{if("added"===tw){e_.publish(b.U.OPEN_CART_PREVIEW);return}if("default"===tw&&!ty){let e=ea.current;if(e){let t=e.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}return}"default"===tw&&ty&&await tC(ty)},[tw,ty,e_,tC]),tW=(0,i.useCallback)(async(e,t)=>{let l=eR.find(e=>e.name===t);l&&l.stock.quantity&&(tN(l.id),await tC(l.id)),l&&!l.stock.quantity&&(0,g.Am)(tM,{autoClose:7e3,position:tS?"bottom-right":"bottom-center",type:"error",className:"standard-toast ecomid-toast"})},[eR,tC,tM,tS]),tF=(0,eu.F)(eh,ey);(0,i.useEffect)(()=>{let e=(e,t)=>{let{sku:l,name:a}=t;el({sku:l,name:a}),Q(!0)};return e_.subscribe(b.U.OPEN_BACK_IN_STOCK_MODAL,e),()=>{e_.unsubscribe(b.U.OPEN_BACK_IN_STOCK_MODAL,e)}},[e_]);let{shouldShowRating:tH,ratingValue:tU}=en({productNumber:ei.productNumber,productVariantNumber:ei.productVariant.number});eZ({productNumber:ei.productNumber,productVariantNumber:ei.productVariant.number});let tq=(0,ee.Z)(ei),tY=""===ty,tK={label:"default"===tw&&tY?tD:tP,popupcartLabel:tE,processing:tV,viewBag:tB,price:eB,originalPrice:eM,status:tw,onClickHandle:tO},tG=(0,i.useRef)(null),tX=(0,i.useRef)(null),t$=(0,i.useRef)(!1),tJ="820fde106256b28c4ec5adda6323cd3f",{languageCode:tQ,market:t0}=(0,y.l)(),{checkoutManager:t1}=(0,v.c)(),[t5,t2]=(0,i.useState)(void 0);(0,i.useLayoutEffect)(()=>{var e,t;t2(null!==(t=null===(e=t1.getUserContext())||void 0===e?void 0:e.countryCode)&&void 0!==t?t:void 0)},[t1]);let t6=(0,j.N)(tQ,t0.code),t3="isEcomIdAnimating",t4=e=>{H(e)};(0,i.useEffect)(()=>{if(!tG.current||!tX.current)return;let e=tG.current,t=tX.current,l=()=>{let l=e.querySelector("button");l&&!t.contains(l)&&t.appendChild(l)};l();let a=new MutationObserver(l);return a.observe(e,{childList:!0,subtree:!0}),()=>a.disconnect()}),(0,i.useEffect)(()=>{eL&&!t$.current&&tQ&&(0,N.X_)(()=>{var e,t,l;return"function"==typeof(null===(l=window.ecomid)||void 0===l?void 0:null===(t=l.widgets)||void 0===t?void 0:null===(e=t.sizeFinder)||void 0===e?void 0:e.init)}).then(()=>{var e,t;if(!t$.current&&(null===(t=window.ecomid)||void 0===t?void 0:null===(e=t.widgets)||void 0===e?void 0:e.sizeFinder))try{window.ecomid.widgets.sizeFinder.init("#ecomid-size-widget",{clientId:tJ,locale:t6.toLowerCase()||w.X9,opts:{productId:eV,callbacks:{onOpen:()=>{t4(!0),setTimeout(()=>{tL.current&&tL.current.classList.remove(t3)},350)},onRecommendation:(e,t)=>{console.log("[ecomid] A recommendation has been made for product ".concat(e," in size ").concat(t,"."))},onAddToCart:(e,t)=>{console.log("[ecomid] Add to cart clicked for product ".concat(e," in size ").concat(t,".")),tW(e,t)},onClose:()=>{setTimeout(()=>{tL.current&&tL.current.classList.remove(t3),t4(!1)},100)}}}}),t$.current=!0}catch(e){console.error("[ecomid] Error initializing size finder widget:",e)}}).catch(e=>{console.error("[debug] Unable to initialize ecomid widget – library n
1ot available",e)})},[eV,t6,tJ,tW,tQ]);let{promoInfoContent:t7}=ef,t9=(null==t7?void 0:t7.length)&&t5?t7.find(e=>{var t;return null===(t=e.countryAvailability)||void 0===t?void 0:t.includes(t5)}):void 0,t8=!!(ef.performanceHeading||ei.description.formatted),le=!!ei.attributes.mountain_image,lt=!!((null===(t=ei.attributes.product_fit)||void 0===t?void 0:null===(e=t.value)||void 0===e?void 0:e.value)&&(e1&&e1.length>0||ei.attributes.product_fit.input)),ll=!!((null===(l=ei.attributes.comfort_temperature_value)||void 0===l?void 0:l.value)||(null===(r=ei.attributes.water_resistance_value)||void 0===r?void 0:r.value)||(null===(n=ei.attributes.breathability_value)||void 0===n?void 0:n.value)||(null===(c=ei.attributes.insulation_value)||void 0===c?void 0:c.value)||(null===(d=ei.attributes.wind_resistance_value)||void 0===d?void 0:d.value));return(0,a.jsxs)(ec.Z,{theme:"stellar-light",children:[(0,a.jsxs)("div",{className:(0,o.Z)("pdpv2 relative lg:static z-1",{"z-[50]":W}),children:[(0,a.jsx)(D,{media:eO,aspectType:"model"},ei.uri),(0,a.jsxs)("div",{ref:ea,className:"lg:absolute lg:bottom-4 lg:right-4 lg:w-[400px] z-10 flex lg:gap-1 flex-col",children:[(0,a.jsxs)("div",{className:"lg:bg-on-surface-opacity-70 lg:backdrop-blur-xl p-4 rounded-sm",children:[(0,a.jsxs)("div",{className:"flex lg:justify-between gap-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(Y,{className:"text-on-surface-primary lg:text-on-surface-secondary",name:ei.name}),(0,a.jsx)("button",{type:"button",onClick:()=>X(e=>!e),className:(0,o.Z)("mt-2 font-xs leading-xs tracking-xs text-on-surface-opacity-70 lg:text-on-cta-opacity-70 text-left overflow-hidden",!q&&"line-clamp-2"),children:ei.attributes.productSubtitleLong})]}),(0,a.jsx)(eb,{className:"font-xs rounded-sm uppercase tracking-xs leading-xs bg-surface-accent-y py-1 px-2 whitespace-nowrap",containerClassName:"flex flex-col gap-2"})]}),(0,a.jsxs)("button",{type:"button",className:(0,o.Z)("font-xs tracking-xs leading-xs flex gap-2 mt-3 text-on-surface-primary lg:text-on-surface-secondary transition-opacity",!tH&&"opacity-0 pointer-events-none cursor-default"),onClick:()=>{let e=document.getElementById("product-accordion-lipscore-reviews");e&&e.scrollIntoView({behavior:"smooth"})},children:[(0,a.jsx)(eI,{...tq}),tH&&(0,a.jsxs)("span",{children:["Reviews (",tU,"/5)"]}),"\xa0"]})]}),(0,a.jsx)("div",{className:"h-px mx-4 bg-on-surface-opacity-20 lg:hidden"}),(0,a.jsx)("div",{className:"lg:bg-on-surface-opacity-70 lg:backdrop-blur-xl p-4 rounded-sm",children:(0,a.jsx)(eN,{id:eL,uri:ez,swatchMedia:eA,productVariant:eP,colorRelatedItems:eD,label:tr,isCurrentProductAvailable:ei.available})}),(0,a.jsx)("div",{className:"h-px mx-4 bg-on-surface-opacity-20 lg:hidden"}),(0,a.jsx)("div",{className:"lg:bg-on-surface-opacity-70 lg:backdrop-blur-xl px-4 pt-4 rounded-sm",children:(0,a.jsxs)("div",{ref:tL,className:"w-full text-xs",children:[(0,a.jsx)(ew,{className:"size-selector-container w-full pb-4",items:eR,notifyLabel:tR,label:tA||"Choose size",nativeButtonSlotRef:tX,handleSizeSelect:e=>{tN(e)}}),(0,a.jsx)(eS,{className:tg?"pb-2":"pb-4",availableInStockLabel:tv,fewLeftInStocklabel:tb||"",threshold:ej,items:eR,selectedItemId:ty}),tg?(0,a.jsx)("div",{className:"pb-4 font-xs leading-xs tracking-xs text-on-surface-opacity-70 lg:text-on-cta-opacity-70",children:tg}):null,(0,a.jsx)("div",{ref:tZ,className:(0,o.Z)("pb-4",{"invisible opacity-0":tI}),children:(0,a.jsx)(eC,{...tK})}),(null==t9?void 0:t9.message)&&(0,a.jsx)("div",{className:"whitespace-pre-line font-xs pb-4 leading-xs tracking-xs text-on-surface-opacity-70 lg:text-on-cta-opacity-70",children:t9.message})]})}),(0,a.jsx)("div",{className:"h-px mx-4 bg-on-surface-opacity-20 lg:hidden"})]}),(0,a.jsx)("div",{className:"w-full absolute -top-[5px] left-0 h-[25px] min-w-[100px]",children:(0,a.jsx)("div",{id:"ecomid-size-widget",ref:tG})}),(0,a.jsx)("div",{className:"mt-12 lg:mt-5",children:(0,a.jsx)(R.Z,{items:ev})}),(0,a.jsx)(k,{shortDescription:ei.shortDescription.formatted||"",idealForLabel:tf,idealForTags:ei.attributes.product_tags}),(0,a.jsx)(_,{title:ef.technicalSpecificationTitle||"",children:(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row gap-4",children:[(0,a.jsx)("div",{className:"lg:w-1/3",children:(0,a.jsx)(S,{media:eT,imageIndex:ei.attributes.tech_details_image_index,customImageUrl:ei.attributes.tech_details_custom_image_url,productVideo:eE})}),(0,a.jsxs)("div",{className:"lg:w-2/3",children:[(t8||le)&&(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row gap-8 border-b border-b-on-surface-opacity-20 pb-6 mb-6",children:[t8&&(0,a.jsx)("div",{className:(0,o.Z)("pb-6 lg:pb-0 lg:basis-2/3",{"border-b border-b-on-surface-opacity-20 lg:border-b-0":le}),children:(0,a.jsx)(U,{title:ef.performanceTitle||"",heading:ef.performanceHeading||"",body:ei.description.formatted})}),ei.attributes.mountain_image?(0,a.jsx)("div",{className:(0,o.Z)("lg:pl-4 lg:basis-1/3",{"lg:border-l lg:border-l-on-surface-opacity-20":t8}),children:(0,a.jsx)(ex,{title:ef.conditionsTitle,labels:{leftYAxisHeader:eW||"",leftYAxisLow:eF||"",leftYAxisHigh:eH||"",rightYAxisHeader:eU||"",rightYAxisLow:eq||"",rightYAxisHigh:eY||"",xAxis1:eK||"",xAxis2:eG||"",xAxis3:eX||"",xAxis4:e$||""},children:(0,a.jsx)(C.Z,{name:"",className:"!object-contain",priority:!1,sizeHints:[{size:{width:1},maxWidth:f.nx},{size:{width:2/9}}],src:ei.attributes.mountain_image})})}):null]}),(null===(u=ei.attributes.product_layer_value)||void 0===u?void 0:u.value)?(0,a.jsx)("div",{className:"mb-6 lg:pb-6 border-b border-b-on-surface-opacity-20",children:(0,a.jsx)(F,{activeLayer:ei.attributes.product_layer_value.value,title:eJ||"",body:(null===(m=ei.attributes.build_your_system)||void 0===m?void 0:m.text)||"",heading:(null===(p=ei.attributes.build_your_system)||void 0===p?void 0:p.title)||"",link:(null===(L=ei.attributes.build_your_system)||void 0===L?void 0:L.link)||"",linklabel:eQ,layersLabels:(ef.layeringStructureLabels||[]).map(e=>({value:e.customAttributeValue,label:e.label}))})}):null,(lt||ll)&&(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row lg:gap-4 pb-4 lg:pb-6",children:[lt?(0,a.jsx)("div",{className:(0,o.Z)("lg:w-1/4",{"mb-6 pb-6 border-b border-b-on-surface-opacity-20 lg:mb-0 lg:pb-0 lg:border-b-0":ll}),children:(0,a.jsx)(K,{className:(0,o.Z)({"lg:border-r lg:border-r-on-surface-opacity-20":ll}),title:e0,fitImageSrc:(null===(Z=ei.attributes.product_fit)||void 0===Z?void 0:Z.image)||"",textFit:null===(I=ei.attributes.product_fit)||void 0===I?void 0:null===(z=I.value)||void 0===z?void 0:z.value,productFitLabels:(e1||[]).map(e=>({value:e.customAttributeValue,label:e.label})),body:(null===(T=ei.attributes.product_fit)||void 0===T?void 0:T.input)||""})}):null,ll?(0,a.jsx)("div",{className:(0,o.Z)("flex flex-col gap-4",{"lg:w-3/4":lt,"lg:w-full":!lt}),children:(0,a.jsxs)(G,{title:ef.performanceTitle,children:[(null===(A=ei.attributes.comfort_temperature_value)||void 0===A?void 0:A.value)?(0,a.jsx)(J,{title:"<strong>".concat(e5,"</strong>"),value:ei.attributes.comfort_temperature_value.value,colorType:"blue",xAxisData:e7.map(e=>Number.isNaN(parseInt(e,10))?{label:e,value:e.toLowerCase()}:{label:"".concat(e,"\xbaC"),value:e})}):null,(null===(E=ei.attributes.water_resistance_value)||void 0===E?void 0:E.value)?(0,a.jsx)(J,{title:"<strong>".concat(e2,"</strong>"),colorType:"orange",value:ei.attributes.water_resistance_value.value||"",xAxisData:(e9||[]).map(e=>({label:e.label,value:e.customAttributeValue.toLowerCase()}))}):null,(null===(P=ei.attributes.breathability_value)||void 0===P?void 0:P.value)?(0,a.jsx)(J,{title:"<strong>".concat(e6,"</strong>"),colorType:"orange",value:ei.attributes.breathability_value.value||"",xAxisData:(e8||[]).map(e=>({label:e.label,value:e.customAttributeValue.toLowerCase()}))}):null,(null===(V=ei.attributes.insulation_value)||void 0===V?void 0:V.value)?(0,a.jsx)(J,{title:"<strong>".concat(e3,"</strong>"),colorType:"orange",value:ei.attributes.insulation_value.value||"",xAxisData:(te||[]).map(e=>({label:e.label,value:e.customAttributeValue.toLowerCase()}))}):null,(null===(B=ei.attributes.wind_resistance_value)||void 0===B?void 0:B.value)?(0,a.jsx)(J,{title:"<strong>".concat(e4,"</strong>"),colorType:"orange",value:ei.attributes.wind_resistance_value.value||"",xAxisData:(tt||[]).map(e=>({label:e.label,value:e.customAttributeValue.toLowerCase()}))}):null]})}):null]}),(0,a.jsx)(eo,{className:"mt-10 lg:mt-0"},ei.uri)]})]})}),(0,a.jsxs)("div",{className:(0,o.Z)("lg:hidden w-full","transition-transform duration-300 ease-in-out","bottom-0 z-[1]",tI?"sticky":"hidden",tI&&!W?"translate-y-0":"translate-y-[calc(100%+1.5rem)]"),children:[(0,a.jsx)("div",{className:"pointer-events-none absolute -top-6 bottom-0 left-0 right-0 -z-10 backdrop-blur-lg",style:{WebkitMaskImage:"linear-gradient(to bottom, transparent, black 2rem, black)",maskImage:"linear-gradient(to bottom, transparent, black 2rem, black)"}}),(0,a.jsx)("div",{className:"p-4",children:(0,a.jsx)(eC,{...tK})})]}),(0,a.jsx)("div",{className:"pb-8"})]}),(tF.length>0||eg.length>0)&&(0,a.jsx)("div",{ref:tz,className:"pb-24 lg:pb-32",children:(0,a.jsx)(ed.Z,{navigation:[{id:"related-products",title:ef.relatedProductsLabel||"",isActive:"related-products"===M&&tF.length>0},{id:"recently-viewed",title:ef.recentlyViewedLabel||"Recently Viewed",isActive:"recently-viewed"===M||0===tF.length}].filter(e=>0===eg.length?"recently-viewed"!==e.id:0!==tF.length||"related-products"!==e.id),onNavigationClick:e=>O(e),className:"px-4 lg:px-8",refreshItemFetchFn:e=>ek.getProductById({id:e}).then(t=>t?(0,eu.$)(t,ey):(console.error("Error while fetching product with id ",e),null)),items:"related-products"===M&&tF.length>0?tF:eg,labels:{newLabel:ef.newLabel||"",saleLabel:ef.saleLabel||"",soldOutLabel:ef.soldOutLabel||"",comingSoonLabel:ef.comingSoonLabel||""},analyticsListId:"related_products_".concat(ei.uri),analyticsListLocation:"pdp",analyticsListName:"related_products_".concat(ei.name)})}
1),(0,a.jsx)(ec.Z,{theme:"stellar-dark",hasBackground:!1,children:(0,a.jsx)(em.Z,{isOpen:$,containerClassName:"overflow-hidden max-w-full w-[532px] min-h-[280px]",innerHeaderRef:es,menuAnchorRef:er,simplePositioning:!0,simplePositioningSpacing:16,fullHeightMobile:!0,onClickOutside:()=>Q(!1),children:(0,a.jsx)(ep.Z,{title:ef.notifyMeModalTitle,productName:ei.name,sizeId:et,color:ei.productVariant.name||"",onClose:()=>Q(!1),hasCloseButton:!0,labels:{getNotifiedContentTitle:tl||"",productNameLabel:ta||"",backInStockColorLabel:ts||"",backInStockSizeLabel:ti||"",backInStockEmailFieldPlaceholder:tn||"",notifyMeBtn:to||"",subscriptionSuccessMsg:tc,subscriptionFailedMsg:td,subscriptionActiveMsg:tu,continueToShopBtn:tm,errorEmailRequiredLabel:tp,errorInvalidEmailLabel:tx}})})})]})},eA=e=>{var t,l,x;let{_editable:f,accordions:v,breadcrumbs:b,product:h,relatedProducts:g,usp:j,labels:y,fewLeftThreshold:N}=e,w=(0,n.useRouter)(),[k,_]=(0,i.useState)(!1),{internalAnalyticsEvents:C}=(0,c.Z)(50);(0,i.useEffect)(()=>{let e=()=>{_(!0)},t=()=>{_(!1)},l=()=>{_(!1),console.error("Could not load next page.")};return w.events.on("routeChangeStart",e),w.events.on("routeChangeComplete",t),w.events.on("routeChangeError",l),()=>{w.events.off("routeChangeStart",e),w.events.off("routeChangeComplete",t),w.events.off("routeChangeError",l)}},[w]),(0,i.useEffect)(()=>{h.id&&C.publish(d.CS.VIEW_ITEM,{items:[(0,u.Vr)(h)]})},[h.id]);let{recentlyViewedProducts:L}=(0,m.Z)({currentProductId:h.id});return(0,a.jsx)("div",{...(0,r.Bo)(f),className:(0,o.Z)("lg:bg-transparent",{"pointer-events-none":k}),children:(0,a.jsxs)(p.Provider,{value:{accordionData:{productAccordion:[{markdown:h.attributes.tech_details_text||void 0,label:y.techDetailsLabel||""},{markdown:h.attributes.wash_and_care_text||void 0,label:y.washAndCareLabel||""},...v.map(e=>({richText:e.content||void 0,label:e.title||""}))],productTabList:[{label:y.descriptionLabel||""},{label:y.detailsLabel||""}]},labels:y,fewLeftThreshold:N,breadcrumbs:b,product:h,relatedProducts:g,recentlyViewedProducts:L,usp:j},children:[(0,a.jsx)(s.v1,{product:{available:h.available,description:h.metaDescription||h.description.formatted||"",name:h.name,price:null===(t=h.price)||void 0===t?void 0:t.formattedValue,priceAsNumber:null===(l=h.price)||void 0===l?void 0:l.value,sku:h.productVariant.number||void 0,image:null===(x=h.media[0])||void 0===x?void 0:x.source.url,url:h.uri}}),(0,a.jsx)(eT,{})]})})},eE=l(6201),eP=async(e,t)=>{var l,a,r,s,i,n,o,c,d,u,m;let{pageContext:p,services:x}=t,{pathname:f}=new URL("".concat("https://stellarequipment.com/").concat(p.url)),v=x.urls.getProductFromUrl(f);if(!v)throw Error("Cannot find product uri");let b=await x.productData.pdp.getProductByUri({uri:v});if(!b)throw Error("[Product Details Block] Unable to fetch product for uri: ".concat(v));let h=b.standardRelatedItems.map(e=>e.id),g=async()=>{if(h.length){let e=await x.productData.productCard.getProducts({where:{id:h},limit:h.length,page:1}),t=new Map(h.map((e,t)=>[e,t]));return e.list.sort((e,l)=>{var a,r;return(null!==(a=t.get(e.id))&&void 0!==a?a:0)-(null!==(r=t.get(l.id))&&void 0!==r?r:0)}),e}return{list:[]}},j=await g(),y=Object.entries(e).reduce((e,t)=>{let[l,a]=t;return"string"==typeof a?{...e,[l]:a}:e},{});y.layeringStructureLabels=null!==(l=e.layeringStructureLabels)&&void 0!==l?l:[],y.productFitDataLabels=null!==(a=e.productFitDataLabels)&&void 0!==a?a:[],y.performanceBarTemperatureData=null!==(r=e.performanceBarTemperatureData)&&void 0!==r?r:[],y.performanceBarWaterResistanceDataLabels=null!==(s=e.performanceBarWaterResistanceDataLabels)&&void 0!==s?s:[],y.performanceBarBreathabilityDataLabels=null!==(i=e.performanceBarBreathabilityDataLabels)&&void 0!==i?i:[],y.performanceBarInsulationDataLabels=null!==(n=e.performanceBarInsulationDataLabels)&&void 0!==n?n:[],y.performanceBarWindResistanceDataLabels=null!==(o=e.performanceBarWindResistanceDataLabels)&&void 0!==o?o:[],y.subscriptionSuccessMsg=null!==(c=e.subscriptionSuccessMsg)&&void 0!==c?c:"",y.subscriptionFailedMsg=null!==(d=e.subscriptionFailedMsg)&&void 0!==d?d:"",y.subscriptionActiveMsg=null!==(u=e.subscriptionActiveMsg)&&void 0!==u?u:"",y.promoInfoContent=null!==(m=e.promoInfoContent)&&void 0!==m?m:[];let N=[];try{N=await (0,eE.ZD)({pageContext:p,services:x})}catch(e){console.error(e)}return{key:e.key,accordions:e.accordions||[],breadcrumbs:N,component:e.component,_uid:e._uid,product:b,relatedProducts:j.list,usp:e.usp||null,labels:y,fewLeftThreshold:Number(e.fewLeftThreshold)||0,_editable:e._editable||""}}},3574:function(){},39038:function(){},6603:function(){},60879:function(){},75495:function(){},3082:function(){},42121: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.