!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="edfc876f-1266-44e8-8384-1ca1e09c7fb1",e._sentryDebugIdIdentifier="sentry-dbid-edfc876f-1266-44e8-8384-1ca1e09c7fb1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[741],{40741:function(e,s,l){Promise.resolve().then(l.bind(l,15855)),Promise.resolve().then(l.bind(l,43362)),Promise.resolve().then(l.bind(l,38726)),Promise.resolve().then(l.bind(l,94225)),Promise.resolve().then(l.bind(l,99875)),Promise.resolve().then(l.bind(l,83432)),Promise.resolve().then(l.bind(l,34509)),Promise.resolve().then(l.bind(l,20616)),Promise.resolve().then(l.bind(l,38283)),Promise.resolve().then(l.bind(l,84649)),Promise.resolve().then(l.bind(l,95814)),Promise.resolve().then(l.bind(l,59060)),Promise.resolve().then(l.bind(l,24346)),Promise.resolve().then(l.bind(l,12785)),Promise.resolve().then(l.t.bind(l,231,23)),Promise.resolve().then(l.bind(l,10912)),Promise.resolve().then(l.bind(l,61481))},43362:function(e,s,l){"use strict";l.d(s,{default:function(){return y}});var t=l(57437),r=l(45222),a=l(83220),i=l(56800),n=l.n(i),o=l(16463),c=l(2265),d=l(34509),u=l(50495),m=l(83102),h=l(46294),p=l(24244),f=l(54938),x=l(57731),g=l(22055),b=e=>{let{sizes:s,productParentId:l,allOutOfStock:r,favoriteAction:i}=e,n=(0,o.useParams)(),{mutateAsync:d}=(0,f.D)(),{setSelectedSize:b,setActiveSizeDialog:v}=(0,x.C)(),{selectedSize:j,activeSizeDialog:w}=(0,x._X)(),y=p.uZ[n.lang],N=(null==y?void 0:y.engageLocale)||"sv-SE",[C,I]=(0,c.useState)("idle"),k=(0,c.useRef)(null),P=async e=>{if(I("pending"),e.preventDefault(),!j){I("idle");return}if(!k.current||!k.current.value){var s;null===(s=k.current)||void 0===s||s.focus(),I("idle");return}d({variantId:null!=j?j:"",email:k.current.value,locale:N},{onError:()=>I("error"),onSuccess:()=>I("success")})},{t:S}=(0,a.$G)(n.lang);return(0,t.jsx)("div",{className:"md:max-w-[450px] ",children:(0,t.jsxs)("div",{className:"max-h-[73vh] overflow-y-auto",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center text-center p-2 border border-menuSeparatorDark mb-4 bg-lightGrey",children:[(0,t.jsx)("p",{className:"uppercase text-sm font-semibold tracking-[1px]",children:S("monitor.product.isOos")}),(0,t.jsx)("p",{className:"text-sm",children:S("monitor.dialog.description")})]}),"success"===C?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("p",{className:"mb-5",children:S("monitor.saved")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.Ph,{onValueChange:e=>b(e),open:w===l,onOpenChange:function(){w===l?v(void 0):v(l)},children:[(0,t.jsx)(h.i4,{className:"w-full max-w-[450px] relative",children:s.length>1?(0,t.jsx)(h.ki,{placeholder:S("size.chooseSize")}):(0,t.jsx)(h.ki,{placeholder:s[0].name,defaultValue:s[0].name})}),(0,t.jsx)(g.Z,{isSelect:!0,sizes:s,productParentId:l,allOutOfStock:r})]}),(0,t.jsx)("div",{className:"mt-4 mb-2",children:(0,t.jsxs)("form",{onSubmit:P,id:"monitorForm",children:[(0,t.jsx)(m.I,{className:"h-12 p-3 border-greyDefault rounded-[2px] text-base mt-3",type:"email",placeholder:S("form.email.input"),ref:k,required:!0}),(0,t.jsxs)("div",{className:"flex w-full gap-4 items-center mt-3",children:[(0,t.jsx)("div",{className:"w-full max-w-[450px]",children:(0,t.jsx)(u.z,{className:"w-full h-12 text-base ",status:C,children:S("monitor.notifyMe")})}),(0,t.jsx)("div",{className:"hidden lg:block",children:i})]})]})})]})]})})},v=l(83717),j=l(76777),w=l(9088),y=e=>{let{sizes:s,productParentId:l,productBrand:i,productPrice:u,productTitle:m,productImage:h,product:p,lang:f}=e,x=(0,o.useParams)(),[g,y]=(0,c.useState)(!1),[N,C]=(0,c.useState)(!1);(0,c.useEffect)(()=>{(async()=>{let e=await (0,r.Sn)({productParentId:l,storeGroupId:"nly_man_web",countryCode:x.lang});if("productParent"in e){let s=e.productParent.productVariants,l=s.every(e=>0===e.availableQuantity);y(l),C(s.every(e=>e.availableQuantity<10&&!1===l))}})()},[l]);let{t:I}=(0,a.$G)(x.lang);return(0,t.jsxs)(t.Fragment,{children:[g?(0,t.jsx)(b,{sizes:s,allOutOfStock:g,productParentId:l,favoriteAction:(0,t.jsx)(j.Z,{product:p,productBrand:i,productPrice:0,productTitle:m,productImage:h})}):(0,t.jsxs)("div",{className:"flex md:flex-col gap-3 md:gap-5",children:[(0,t.jsx)(v.Z,{sizes:s,productParentId:l}),(0,t.jsxs)("div",{className:"flex w-1/2 md:w-full gap-4",children:[(0,t.jsx)("div",{className:"w-full max-w-[450px]",children:(0,t.jsx)(w.Z,{productParentId:l})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(j.Z,{product:p,productBrand:i,productPrice:0,productTitle:m,productImage:h})})]})]}),"se"===f||"fi"===f||"no"===f||"dk"===f?(0,t.jsx)(d.default,{className:"[&_*]:!fill-black"}):null,p.orderLimit&&p.orderLimit>0?(0,t.jsxs)("p",{className:"text-sm italic py-1",children:[I("product.limit"),": ",p.orderLimit," ",I("sort.pieces")]}):null,N&&(0,t.jsx)("div",{className:"pt-2.5",children:(0,t.jsx)("p",{className:n()("text-sm	font-semibold text-weekPink",{"text-redColor":!0}),children:I("product.lowStockNotice")})})]})}},38726:function(e,s,l){"use strict";var t=l(57437),r=l(57731);s.default=e=>{let{children:s}=e;return(0,t.jsx)(r.ZP,{children:s})}},94225:function(e,s,l){"use strict";var t=l(57437),r=l(83220),a=l(16463),i=l(56264);s.default=e=>{let{productKey:s}=e,l=(0,a.useParams)(),{t:n}=(0,r.$G)(l.lang);return(0,t.jsxs)("div",{children:[(0,t.jsx)(i.default,{content:{title:n("productCarousel.matchWith"),elevateId:s,split:!0,__typename:"ProductCarousel"},algorithm:"STYLE_WITH"}),(0,t.jsx)(i.default,{content:{title:n("productCarousel.similarProducts"),elevateId:s,split:!0,__typename:"ProductCarousel"},algorithm:"ALTERNATIVES"}),(0,t.jsx)(i.default,{content:{title:n("productCarousel.othersBought"),elevateId:s,split:!0,__typename:"ProductCarousel"},algorithm:"UPSELL"})]})}},99875:function(e,s,l){"use strict";l.d(s,{default:function(){return y}});var t=l(57437),r=l(70358),a=l(35168),i=l(50850),n=l(50495),o=l(5356),c=l(90837),d=l(12738),u=l(67675),m=l(83220);function h(e){let{className:s}=e;return(0,t.jsx)("svg",{viewBox:"-1 0 24 24",className:"".concat(s),children:(0,t.jsx)("path",{d:"M4 3l16 9-16 9z",stroke:"inherit",strokeWidth:"1.35",fill:"inherit",fillRule:"evenodd",strokeLinecap:"square"})})}var p=l(56800),f=l.n(p),x=l(74697),g=l(16463),b=l(2265),v=e=>{let{media:s,video:l,activeImage:r,isCurrent:n}=e,[c,d]=(0,b.useState)(!1),[m,h]=(0,b.useState)(),[p,x]=(0,b.useState)(0),[g,v]=(0,b.useState)(0),[j,w]=(0,b.useState)(!0),[y,N]=(0,b.useState)(!0);(0,b.useEffect)(()=>{m&&(v(m.scrollSnapList().length),x(m.selectedScrollSnap()+1),m.on("select",()=>{x(m.selectedScrollSnap()+1)}))},[m]);let C=(0,b.useRef)(null),[I,k]=(0,b.useState)({type:"image",src:r.src});return(0,b.useEffect)(()=>{if(C.current){let e=C.current.querySelector("video");e&&(e.muted=!0,e.loop=!0,e.play())}},[I]),(0,t.jsxs)("div",{className:"w-full absolute top-0 left-0 h-full",children:[(0,t.jsx)("div",{className:"absolute w-full h-full top-0 left-0 lg:w-24 lg:h-[calc(100%-48px)] lg:top-12 lg:left-12 lg:bottom-12 z-20 overflow-hidden",children:(0,t.jsxs)("div",{className:" absolute top-0 left-0 h-full w-full",children:[(0,t.jsxs)(o.Carousel,{opts:{align:"start"},orientation:"vertical",className:"w-full h-full relative [&>*]:h-full hidden lg:block",children:[(0,t.jsx)(o.CarouselContent,{className:"h-full max-h-[740px]",children:s.map((e,r)=>l&&1===r?(0,t.jsxs)(b.Fragment,{children:[(0,t.jsx)(o.CarouselItem,{onMouseEnter:()=>{w(!1),k({type:"video",src:l})},className:"lg:basis-1/6 cursor-pointer",children:(0,t.jsx)(i.AspectRatio,{className:f()("lg:border lg:border-transparent bg-lightGrey",{"lg:!border-black":1===r&&I.src===l}),ratio:1/1.33,children:(0,t.jsx)(a.Z,{playing:j,url:l})})}),(0,t.jsx)(o.CarouselItem,{className:"lg:basis-1/6 cursor-pointer",onMouseEnter:()=>{w(!0),k({type:"image",src:s[r]})},children:(0,t.jsx)(i.AspectRatio,{className:f()("lg:border lg:border-transparent bg-lightGrey image",{"lg:!border-black":I.src===s[r]}),ratio:1/1.33,children:(0,t.jsx)(u.Z,{src:e,alt:"alt",width:94,height:120})})},r)]},r):(0,t.jsx)(o.CarouselItem,{className:"lg:basis-1/6 cursor-pointer",onMouseEnter:()=>{w(!0),k({type:"image",src:s[r]})},children:(0,t.jsx)(i.AspectRatio,{className:f()("lg:border lg:border-transparent bg-lightGrey image",{"lg:!border-black":I.src===s[r]}),ratio:1/1.33,children:(0,t.jsx)(u.Z,{src:e,alt:"alt",width:94,height:120})})},r))}),(0,t.jsx)(o.CarouselPrevious,{className:"top-4 bg-white w-12 !h-12"}),(0,t.jsx)(o.CarouselNext,{className:"bottom-4 bg-white w-12 !h-12"})]}),(0,t.jsxs)(o.Carousel,{opts:{align:"start",loop:!0,startIndex:1===n?0:n},orientation:"horizontal",className:"w-full h-full relative [&>*]:h-full lg:hidden",setApi:h,children:[(0,t.jsx)(o.CarouselContent,{className:"h-[calc(100%-120px)]",children:s.map((e,s)=>l&&1===s?(0,t.jsxs)(b.Fragment,{children:[(0,t.jsx)(o.CarouselItem,{className:" lg:basis-1/6 cursor-pointer flex justify-center",children:(0,t.jsx)("div",{className:"image w-full sm:aspect-[3/4] relative h-full sm:w-auto",children:(0,t.jsx)(a.Z,{playing:!0,url:l})})}),(0,t.jsx)(o.CarouselItem,{className:"lg:basis-1/6 cursor-pointer flex justify-center",children:(0,t.jsx)("div",{className:" w-full relative h-full flex items-center justify-center",children:(0,t.jsx)(u.Z,{src:e,alt:"alt",width:786,height:1e3,className:"max-w-[100%] max-h-[100%] w-screen h-auto",sizes:"100vw"})})},s)]},s):(0,t.jsx)(o.CarouselItem,{className:"lg:basis-1/6 cursor-pointer flex justify-center",children:(0,t.jsx)("div",{className:" w-full relative h-full flex items-center justify-center",children:(0,t.jsx)(u.Z,{src:e,alt:"alt",width:786,height:1e3,className:"max-w-[100%] max-h-[100%] w-screen h-auto",sizes:"100vw"})})},s))}),(0,t.jsxs)("div",{className:"flex items-center w-full absolute bottom-0 left-0 !h-[120px] justify-center",children:[(0,t.jsx)(o.CarouselPrevious,{className:"relative bg-white !translate-y-0 top-0 !right-0 !left-0 w-[46px] !h-[46px]"}),(0,t.jsxs)("span",{className:"flex justify-center w-[70px]",children:[p," / ",g]}),(0,t.jsx)(o.CarouselNext,{className:"relative bg-white w-[46px] !translate-y-0 top-0 !right-0 !left-0 !h-[46px]"})]})]})]})}),(0,t.jsx)("div",{ref:C,className:"absolute top-0 left-0 w-full h-full lg:flex justify-center overflow-auto hidden",children:(0,t.jsx)("div",{className:f()("h-full aspect-[3/4] relative cursor-zoom-in",{"w-full h-auto pb-[133%] cursor-zoom-out":c}),children:"video"===I.type?(0,t.jsx)("div",{onClick:()=>{N(!y)},children:(0,t.jsx)(a.Z,{playing:y,url:I.src})}):(0,t.jsx)("div",{className:f()("cursor-zoom-in",{"cursor-zoom-out":c}),onClick:()=>{d(e=>!e)},children:(0,t.jsx)(u.Z,{src:I.src,alt:"alt",width:786,height:1e3,className:"w-full h-full",sizes:"100vw"})})})})]})},j=e=>{let{media:s,video:l,compact:r,productName:p}=e,j=(0,b.useRef)(null),w=(0,b.useRef)(null),[y,N]=(0,b.useState)(!0),[C,I]=(0,b.useState)(!0),[k,P]=(0,b.useState)({type:"image",src:s[0],activeClass:!1});(0,b.useEffect)(()=>{if(j.current){let e=j.current.querySelector("video");e&&(e.muted=!0,e.loop=!0,e.play())}},[k]),(0,b.useEffect)(()=>{if(w.current){let e=w.current.querySelector("video");e&&(e.muted=!0,e.loop=!0,y?e.play():e.pause())}},[y]);let{lang:S}=(0,g.useParams)(),{t:_}=(0,m.$G)(S);return(0,t.jsxs)(c.Vq,{children:[(0,t.jsxs)("div",{className:"relative grid grid-cols-5 ".concat(r?"gap-x-3":"gap-x-[5%]"),children:[(0,t.jsx)("div",{className:"col-span-1 relative overflow-hidden",children:(0,t.jsx)("div",{className:" absolute top-0 left-0 h-full w-full",children:(0,t.jsxs)(o.Carousel,{opts:{align:"start"},orientation:"vertical",className:"w-full h-full relative [&>*]:h-full",children:[(0,t.jsx)(o.CarouselContent,{className:"h-full",children:s.map((e,r)=>l&&1===r?(0,t.jsxs)(b.Fragment,{children:[(0,t.jsx)(o.CarouselItem,{ref:w,onMouseEnter:()=>{N(!1),P({type:"video",src:l.lowResolution,activeClass:!0})},className:"basis-1/6 cursor-pointer",children:(0,t.jsx)(i.AspectRatio,{className:f()("border border-transparent bg-lightGrey",{"!border-black":k.activeClass}),ratio:1/1.33,children:(0,t.jsx)(a.Z,{url:l.mediumResolution,playing:!0})})}),(0,t.jsx)(o.CarouselItem,{className:"basis-1/6 cursor-pointer",onMouseEnter:()=>{N(!0),P({type:"image",src:s[r],activeClass:!1})},children:(0,t.jsx)(i.AspectRatio,{className:f()("border border-transparent bg-lightGrey",{"!border-black":k.src===s[r]}),ratio:1/1.33,children:(0,t.jsx)(u.Z,{src:e,alt:p,width:530,height:705,sizes:"(max-width: 1024px) 100vw, 16vw"})})},r)]},r):(0,t.jsx)(o.CarouselItem,{className:"basis-1/6 cursor-pointer",onMouseEnter:()=>{N(!0),P({type:"image",src:s[r]})},children:(0,t.jsxs)(i.AspectRatio,{className:f()("border border-transparent bg-lightGrey",{"!border-black":k.src===s[r]}),ratio:1/1.33,children:[(0,t.jsx)(d.O,{className:"bg-middleGrey absolute rounded-none top-0 left-0 w-full h-full"}),(0,t.jsx)(u.Z,{src:e,alt:p,width:108,height:143,className:"h-full w-full relative",sizes:"(max-width: 1024px) 100vw, 16vw"})]})},r))}),(0,t.jsx)(o.CarouselPrevious,{className:"top-4 bg-white ".concat(r?"!w-8 !h-8 ":"!w-11 !h-11 ")}),(0,t.jsx)(o.CarouselNext,{className:"bottom-4 bg-white ".concat(r?"!w-8 !h-8 ":"!w-11 !h-11 ")})]})})}),(0,t.jsx)("div",{ref:j,className:"col-span-4 relative",children:"video"===k.type?(0,t.jsxs)(i.AspectRatio,{onClick:()=>{I(!C)},ratio:1/1.33,children:[(0,t.jsx)(d.O,{className:"bg-middleGrey absolute rounded-none top-0 left-0 w-full h-full"}),(0,t.jsx)(a.Z,{playing:C,url:k.src})]}):(0,t.jsx)(c.hg,{asChild:!0,"aria-label":"Open gallery popup",children:(0,t.jsx)(i.AspectRatio,{className:"cursor-zoom-in",ratio:1/1.33,children:(0,t.jsx)(u.Z,{src:k.src,alt:p,width:530,height:705,className:"h-full w-full",sizes:"(max-width: 1024px) 100vw, 50vw",priority:k.src===s[0]})})})}),l&&!k.activeClass&&(0,t.jsx)("div",{className:"bottom-4 right-4  absolute z-30 ",children:(0,t.jsxs)(n.z,{variant:"outline",className:"group h-11 shrink-0 bg-white font-semibold px-2 text-sm rounded-full hover:bg-white",onClick:()=>{N(!1),P({type:"video",src:l.lowResolution,activeClass:!0})},children:[(0,t.jsx)(h,{className:"h-6 w-6 mr-1 fill-none stroke-[#8B7F89] group-hover:!stroke-purple group-hover:!fill-purple"}),_("product.watchVideo")]})})]}),(0,t.jsxs)(c.cZ,{className:"p-0 w-full !max-w-[100%] h-full",children:[(0,t.jsx)(c.GG,{asChild:!0,className:"",children:(0,t.jsx)(n.z,{className:"h-11 border bg-white lg:bg-transparent lg:border-transparent border-black lg:border-none rounded-full w-11 p-0 absolute top-2 z-30 right-2 focus:ring-0 !ring-0 hover:bg-transparent",variant:"ghost",children:(0,t.jsx)(x.Z,{className:"h-7 w-7"})})}),(0,t.jsx)(v,{video:l.mediumResolution,media:s,activeImage:k})]})]})},w=e=>{let{media:s,video:l,productName:r}=e,[p,f]=(0,b.useState)(),[j,w]=(0,b.useState)(0),[y,N]=(0,b.useState)(0),[C,I]=(0,b.useState)({type:"image",src:s[0]});(0,b.useEffect)(()=>{p&&(N(p.scrollSnapList().length),w(p.selectedScrollSnap()+1),p.on("select",()=>{w(p.selectedScrollSnap()+1)}))},[p]);let{lang:k}=(0,g.useParams)(),{t:P}=(0,m.$G)(k);return(0,t.jsxs)(c.Vq,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)(o.Carousel,{opts:{align:"start",loop:!0},setApi:f,className:"w-full overflow-hidden",children:[(0,t.jsxs)(o.CarouselContent,{className:"-ml-2",children:[s.map((e,s)=>(0,t.jsx)(o.CarouselItem,{className:"basis-[90%] md:basis-full pl-2",children:(0,t.jsx)(c.hg,{"aria-label":"Open gallery modal",asChild:!0,children:(0,t.jsxs)(i.AspectRatio,{ratio:1/1.33,children:[(0,t.jsx)(d.O,{className:"bg-middleGrey absolute rounded-none top-0 left-0 w-full h-full"}),(0,t.jsx)(u.Z,{src:e,alt:r,width:375,height:500,className:"h-full w-full relative",sizes:"100vw",priority:0===s})]})})},s)),l&&(0,t.jsx)(o.CarouselItem,{className:"basis-[90%] md:basis-full pl-2",children:(0,t.jsxs)(i.AspectRatio,{ratio:1/1.33,children:[(0,t.jsx)(d.O,{className:"bg-middleGrey absolute rounded-none top-0 left-0 w-full h-full"}),(0,t.jsx)(a.Z,{playing:!0,url:l.mediumResolution})]})})]}),(0,t.jsxs)("div",{className:"absolute bottom-4 left-4",children:[j," / ",y]})]}),l&&(0,t.jsx)("div",{className:"bottom-4 right-4  absolute z-30 ",children:(0,t.jsxs)(n.z,{variant:"outline",className:"group h-11 shrink-0 bg-white font-semibold px-2 text-sm rounded-full hover:bg-white",onClick:()=>{null==p||p.scrollTo(s.length)},children:[(0,t.jsx)(h,{className:"h-6 w-6 mr-1 fill-none stroke-[#8B7F89] group-hover:!stroke-purple group-hover:!fill-purple"}),P("product.watchVideo")]})})]}),(0,t.jsxs)(c.cZ,{className:"p-0 w-full !max-w-[100%] h-full",children:[(0,t.jsx)(c.GG,{asChild:!0,className:"",children:(0,t.jsx)(n.z,{className:"h-11 border bg-white lg:bg-transparent lg:border-transparent border-black lg:border-none rounded-full w-11 p-0 absolute top-2 z-30 right-2 focus:ring-0 !ring-0",variant:"ghost",children:(0,t.jsx)(x.Z,{className:"h-7 w-7"})})}),(0,t.jsx)(v,{video:l.mediumResolution,media:s,activeImage:C,isCurrent:j})]})]})},y=e=>{let{video:s,media:l,productName:a}=e;return(0,r.Z)(1024)?(0,t.jsx)(w,{video:s,media:l,productName:a}):(0,t.jsx)(j,{video:s,media:l,productName:a})}},83432:function(e,s,l){"use strict";var t=l(57437),r=l(83220),a=l(57731);s.default=e=>{let{limit:s,lang:l}=e,{orderLimitReached:i}=(0,a._X)(),{t:n}=(0,r.$G)(l);return i?(0,t.jsxs)("div",{className:"bg-[#c6ddbc] p-2 italic text-sm w-max mb-2",children:[n("error.product.limit")," ",s," ",n("error.limit.perCustomer")]}):null}},20616:function(e,s,l){"use strict";l.d(s,{default:function(){return p}});var t=l(57437),r=l(24244),a=l(10681),i=l(2265),n=e=>{let{product:s,lang:l,discount:n}=e;return(0,i.useEffect)(()=>{if(s){let e=(0,r.YK)(l);setTimeout(()=>{(0,a.$y)({product:s,discount:s.price-n,currency:e.currency,locale:e.engageLocale})},750)}},[s]),(0,t.jsx)(t.Fragment,{})},o=l(45222),c=l(30998),d=l(16463),u=l(1810);let m="nly_man_web",h="nly_man_web_member";var p=e=>{let{productParentId:s,pdp:l,initialPrice:r,product:a}=e,p=(0,d.useParams)(),{data:f}=(0,c.useSession)(),x={id:"",storeGroupId:m,countryCode:"",currencyCode:r.currency,productVariants:[{id:"",basePriceAmount:r.amount,salePriceAmount:0,discountAmount:0,taxAmount:0,taxPercentage:0,taxPercentageDecimals:0}],isTaxIncludedInPrice:!0},[g,b]=(0,i.useState)(x),[v,j]=(0,i.useState)(!1),[w,y]=(0,i.useState)(),[N,C]=(0,i.useState)(),I="string"==typeof p.lang&&["se","no","fi","dk"].includes(p.lang);return(0,i.useEffect)(()=>{let e=async e=>{let l=await (0,o.vD)({productParentId:s,storeGroupId:e,countryCode:p.lang});"productParent"in l&&(e===m||e===h?(C(void 0),b(l.productParent)):y(l.productParent)),j(!0)};e((null==f?void 0:f.user)?h:m),I&&e((null==f?void 0:f.user)?"nelly_woman_app_member":"nelly_woman_app")},I?[f]:[]),(0,i.useEffect)(()=>{if(w&&g){var e,s;let l=Math.min(g.productVariants.length>0&&(null===(e=g.productVariants[0].lowestPriceRecord)||void 0===e?void 0:e.salePriceAmount)||99999999,w.productVariants.length>0&&(null===(s=w.productVariants[0].lowestPriceRecord)||void 0===s?void 0:s.salePriceAmount)||99999999);99999999!==l&&g.productVariants[0].discountAmount>0&&C(l)}},[g,w]),g&&g.productVariants.length>0&&(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsx)(n,{product:a,lang:p.lang,discount:g.productVariants[0].salePriceAmount}),(0,t.jsx)(u.Z,{className:"!text-2xl !font-bold !flex-row !justify-start",price:g.productVariants[0].basePriceAmount,discount:g.productVariants[0].salePriceAmount,currency:g.currencyCode,pdp:l,history:N,lang:p.lang,outlet:g.productVariants[0].campaign&&"outlet"===g.productVariants[0].campaign.campaignGroupId})]})}},38283:function(e,s,l){"use strict";l.r(s),l.d(s,{default:function(){return u}});var t=l(57437),r={src:"/_next/static/media/star_black.da472488.svg",height:17,width:18,blurWidth:0,blurHeight:0},a={src:"/_next/static/media/star_black_half.62f728bf.svg",height:14,width:14,blurWidth:0,blurHeight:0},i={src:"/_next/static/media/star_black_outline.db7f1082.svg",height:16,width:16,blurWidth:0,blurHeight:0},n={src:"/_next/static/media/star_gold.d6bd1006.svg",height:17,width:18,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/star_gold_half.38b8a33a.svg",height:14,width:14,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/star_gold_outline.bce638d2.svg",height:16,width:16,blurWidth:0,blurHeight:0},d=l(66648),u=e=>{let{starsDecimal:s,count:l,stars:u,mode:m,color:h}=e,p=Math.floor(u),f=u-p>0;return(0,t.jsxs)("div",{className:"flex flex-row items-start ml-2",children:["compact"===m?5===u?(0,t.jsx)(d.default,{style:{marginTop:2},src:"gold"===h?n:r,alt:"StarGold",width:25,height:25}):u>0?(0,t.jsx)(d.default,{style:{marginTop:2},src:"gold"===h?o:a,alt:"StarGoldHalf",width:20,height:20}):(0,t.jsx)(d.default,{style:{marginTop:2},src:"gold"===h?c:i,alt:"StarGoldOutline",width:20,height:20}):(0,t.jsxs)("div",{className:"flex flex-row items-center",children:[Array(p).fill(0).map(e=>(0,t.jsx)(d.default,{src:"gold"===h?n:r,alt:"StarGold",width:25,height:25},"star-".concat(e))),f?(0,t.jsx)(d.default,{src:"gold"===h?o:a,alt:"StarGoldHalf",width:20,height:20}):void 0,Array(5-p-(f?1:0)).fill(0).map(e=>(0,t.jsx)(d.default,{src:"gold"===h?c:i,alt:"StarGoldOutline",width:20,height:20},"star-outline-".concat(e)))]}),s?(0,t.jsx)("p",{className:"font-semibold text-lg mx-1",children:s}):void 0,l?(0,t.jsxs)("p",{className:"font-light text-xs mt-1",children:["(",l,")"]}):void 0]})}},95814:function(e,s,l){"use strict";l.d(s,{default:function(){return g}});var t=l(57437),r=l(32051),a=l(12547),i=l(50495),n=l(83220),o=l(87138),c=l(2265),d=l(38283),u=l(19212),m=l.n(u),h=e=>{var s;let{review:l}=e;return(0,t.jsxs)("div",{className:"border border-1 border-slate-300 mb-2 px-3 py-2",children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between items-start mb-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-sm font-bold",children:l.user.name.split(" ")[0]}),(0,t.jsx)("div",{className:"text-sm",children:m()(l.created_at).format("YYYY-MM-DD")})]}),(0,t.jsx)(d.default,{stars:l.rating,mode:"stars_only"})]}),(0,t.jsx)("div",{className:"font-semibold",dangerouslySetInnerHTML:{__html:null!==(s=l.translated_text)&&void 0!==s?s:l.text}})]})},p=e=>{let{lipscoreId:s,productName:l,brand:r,productId:a,productUrl:i,variantId:n,variantName:o,description:d,imageUrl:u,price:m,priceCurrency:h,availability:p,category:f,gtin:x,readonly:g,className:b}=e;return(0,c.useEffect)(()=>{setTimeout(()=>{window.lipscore.reInitWidgets(!0)},1e3)},[a]),(0,t.jsx)("div",{id:s,"data-ls-product-name":l,"data-ls-brand":r,"data-ls-product-id":a,"data-ls-product-url":i,"data-ls-variant-id":n,"data-ls-variant-name":o,"data-ls-description":d,"data-ls-image-url":u,"data-ls-price":m,"data-ls-price-currency":h,"data-ls-availability":p,"data-ls-category":f,"data-ls-gtin":x,className:b,"data-ls-readonly":g})},f=l(41287);let x=e=>{let{productId:s,lang:l,reviewCount:t}=e;return(0,f.N)({queryKey:["lipscore-reviews",s,l],queryFn:e=>{let{pageParam:t}=e;return fetch("/api/lipscore/".concat(s,"?lang=").concat(l,"&page=").concat(t)).then(e=>e.json())},enabled:!!s,getNextPageParam:(e,s)=>{if(10*s.length<(null!=t?t:500)&&10===e.data.length)return s.length+1},initialPageParam:1})};var g=e=>{let{description:s,brand:l,details:u,categories:m,material:f,title:g,media:b,productId:v,productUrl:j,lipscoreResponse:w,lang:y,modelSize:N,modelHeight:C}=e,{t:I}=(0,n.$G)(y),[k,P]=(0,c.useState)(!1),{data:S,hasNextPage:_,fetchNextPage:T,isLoading:z}=x({lang:y,productId:null==w?void 0:w.productId,reviewCount:null==w?void 0:w.reviewCount}),G=(0,c.useMemo)(()=>(null==S?void 0:S.pages.length)?S.pages.map(e=>e.data).flat():w&&Array.isArray(w.reviews)?w.reviews:[],[w,S]),A=I("productTab.deliveryInfo"),Z=I("productTab.paymentInfo");switch(y){case"nl":A=I("nl.productTab.deliveryInfo"),Z=I("nl.productTab.paymentInfo");break;case"be":A=I("be.productTab.deliveryInfo"),Z=I("be.productTab.paymentInfo");break;case"fr":A=I("fr.productTab.deliveryInfo"),Z=I("fr.productTab.paymentInfo");break;case"de":A=I("de.productTab.deliveryInfo"),Z=I("de.productTab.paymentInfo");break;case"pl":A=I("pl.productTab.deliveryInfo"),Z=I("pl.productTab.paymentInfo");break;case"at":A=I("at.productTab.deliveryInfo"),Z=I("at.productTab.paymentInfo");break;case"uk":A=I("uk.productTab.deliveryInfo"),Z=I("uk.productTab.paymentInfo");break;case"eu":A=I("eu.productTab.deliveryInfo"),Z=I("eu.productTab.paymentInfo");break;case"ww":A=I("ww.productTab.deliveryInfo"),Z=I("ww.productTab.paymentInfo");break;default:A=I("productTab.deliveryInfo"),Z=I("productTab.paymentInfo")}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,{className:"hidden",lipscoreId:"lipscore-rating",productName:g,brand:l.name,productId:v.split("-")[0],productUrl:j}),(0,t.jsxs)(a.UQ,{type:"multiple",defaultValue:["item-0","item-6"],className:"w-full border-t border-[#8b7f89]",children:[s&&(0,t.jsxs)(a.Qd,{value:"item-0",children:[(0,t.jsx)(a.o4,{children:I("product.description")}),(0,t.jsxs)(a.vF,{children:[C&&N&&(0,t.jsxs)("p",{children:[I("product.modelSize")," ",C," ",I("product.modelHeight")," ",N]}),(0,t.jsx)("div",{className:"[&_ul]:list-disc [&_ul]:list-inside [&_ul]:pl-4",dangerouslySetInnerHTML:{__html:s}})]})]}),(0,t.jsxs)(a.Qd,{value:"item-1",children:[(0,t.jsx)(a.o4,{children:I("product.details")}),(0,t.jsxs)(a.vF,{children:[(0,t.jsxs)("ul",{children:[(0,t.jsxs)("li",{children:[I("product.brand"),":"," ",(0,t.jsx)(o.default,{className:"underline underline-offset-[2.5px]",href:"/".concat(y).concat(l.slug),children:l.name})]}),u.map(e=>(0,t.jsxs)("li",{children:[e.name,": ",e.value]},e.name)),(0,t.jsxs)("li",{children:[I("product.sku"),": ",v]})]}),m&&(0,t.jsx)("div",{className:"mt-4",children:m.map(e=>(0,t.jsxs)(c.Fragment,{children:[(0,t.jsx)(o.default,{className:"underline underline-offset-[2.5px]",href:"/".concat(y).concat(e.url),children:e.name}),(0,t.jsx)("span",{className:"mx-1.5 last-of-type:hidden",children:"/"})]},e.name))})]})]}),f&&(0,t.jsxs)(a.Qd,{value:"item-2",children:[(0,t.jsx)(a.o4,{children:I("productTab.material")}),(0,t.jsx)(a.vF,{children:(0,t.jsx)("ul",{children:f.map(e=>(0,t.jsxs)("li",{children:[(0,t.jsxs)("span",{className:"font-semibold",children:[e.key,":"]})," ",e.value]},e.key))})})]}),(0,t.jsxs)(a.Qd,{value:"item-3",children:[(0,t.jsx)(a.o4,{children:I("productTab.delivery")}),(0,t.jsx)(a.vF,{children:(0,t.jsxs)("ul",{className:"pl-5 list-disc leading-7 ",children:[(0,t.jsxs)("li",{children:[A,(0,t.jsx)(o.default,{className:"underline ml-1 underline-offset-[2.5px]",href:"/".concat(y,"/").concat(I("slug.delivery")),children:I("productTab.deliveryInfoLink")})]}),(0,t.jsxs)("li",{children:[I("productTab.returnsInfo"),(0,t.jsx)(o.default,{className:"underline ml-1 underline-offset-[2.5px]",href:"/".concat(y,"/").concat(I("slug.returns")),children:I("productTab.returnsInfoLink")})]}),(0,t.jsxs)("li",{children:[Z,(0,t.jsx)(o.default,{className:"underline ml-1 underline-offset-[2.5px]",href:"/".concat(y,"/").concat(I("slug.qliro")),children:I("productTab.paymentInfoLink")})]})]})})]}),w&&w.reviews.length?(0,t.jsxs)(a.Qd,{value:"item-5",children:[(0,t.jsx)(a.o4,{children:(0,t.jsxs)("div",{className:"flex flex-row items-center justify-start",children:[I("productTab.reviews"),(0,t.jsx)(d.default,{stars:w.stars,starsDecimal:w.starsDecimal})]})}),(0,t.jsxs)(a.vF,{children:[G.map(e=>(0,t.jsx)(h,{review:e},e.id)),_?(0,t.jsx)(i.z,{className:"font-semibold text-darkGrey",variant:"outline",size:"sm",onClick:()=>T(),disabled:z,children:I("pagination.loadMore")}):void 0]})]}):void 0,(0,t.jsxs)(a.Qd,{value:"item-6",style:{opacity:k?1:0},children:[k?(0,t.jsx)(a.o4,{children:I("productTab.style")}):void 0,(0,t.jsx)(a.vF,{children:(0,t.jsx)(r.default,{tags:null,productId:v,flowKey:"WEQHLJueQl2aDgpvaHPfqg",onFlowboxLoad:()=>P(!0),locale:y})})]})]})]})}},59060:function(e,s,l){"use strict";var t=l(57437),r=l(5356),a=l(83146),i=l(56829),n=l(67675),o=l(87138),c=l(2265);s.default=e=>{let{variants:s,color:l,lang:d,elevateId:u}=e,[m,h]=(0,c.useState)(l),{data:p}=(0,i.Z)({productKey:u.toUpperCase()});return(0,t.jsxs)("div",{className:"mt-2.5",children:[(0,t.jsx)("p",{className:"text-sm text-[#333] h-5",children:m}),(0,t.jsxs)(r.Carousel,{className:"w-full my-1 overflow-hidden",opts:{align:"start",dragFree:!0},children:[(0,t.jsx)(r.CarouselContent,{className:"-ml-2.5 ",children:s.map(e=>(0,t.jsx)(r.CarouselItem,{className:"basis-[42px] h-[32px] pl-2.5",children:(0,t.jsx)(o.default,{href:"/".concat(d,"/").concat(a.Jq[d]||"product","/").concat(e.url,"/"),scroll:!1,children:(0,t.jsxs)("div",{className:"rounded-full overflow-hidden h-8 relative border border-gray-300",style:{backgroundColor:e.hexCode&&e.hexCode.filter(e=>"MULTI"!==e)[0]||"#fafafa"},onMouseEnter:()=>{e.colorLabel&&h(e.colorLabel)},onMouseLeave:()=>h(l),children:[e.image&&!e.image.includes("empty")&&(0,t.jsx)(n.Z,{src:e.image,alt:e.colorLabel||e.name,width:32,height:32}),(e.colorLabel===m||e.colorLabel===l)&&(0,t.jsx)("div",{className:"absolute -top-px -left-px w-[28px] h-[28px] m-0.5 rounded-full border border-white shadow-[0_0_0_2px_black]"})]})})},e.url))}),(0,t.jsx)(r.CarouselPrevious,{className:"flex hover:bg-white left-0 border-none rounded-none bg-gradient-to-r bg-transparent from-50%  from-white w-7"}),(0,t.jsx)(r.CarouselNext,{className:"flex hover:bg-white right-0 border-none rounded-none bg-gradient-to-l bg-transparent from-50% from-white w-7"})]})]})}},12785:function(e,s,l){"use strict";l.d(s,{Slider:function(){return n}});var t=l(57437),r=l(2265),a=l(67553),i=l(83220);let n=r.forwardRef((e,s)=>{let{className:l,...r}=e;return(0,t.jsxs)(a.fC,{ref:s,className:(0,i.cn)("relative flex w-full touch-none select-none items-center w-full",l),...r,children:[(0,t.jsx)(a.fQ,{className:"relative h-0.5 w-full grow overflow-hidden rounded-full bg-[#a8a6a6]",children:(0,t.jsx)(a.e6,{className:"absolute h-full "})}),(0,t.jsx)(a.bU,{className:"block h-3.5 w-3.5 rounded-full  bg-black ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});n.displayName=a.fC.displayName}}]);