1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[617],{10617:(e,a,t)=>{t.d(a,{l:()=>D});var i=t(2860),s=t(78851),n=t(76382),r=t(30270),l=t(72138),d=t(70191),o=t(79353),c=t(79861),m=t(25702),p=t(27256),b=t(88016),h=t(9260),f=t(81278),u=t(56843),g=t(1882),x=t(74015),y=t(31275),v=t(60163),Y=t(855),w=t(40374);function F(e){return"string"==typeof e&&/^https?:\/\/[^/]+/.test(e)}let D=e=>{let{title:a,campaign_tag:t,is_members_discount:D,description:z,external_url:_,brand:R,image:k,image_alt:E,valid_from:C,valid_until:I,from_price:S,to_price:W,terms:j,language:B,isUserLoggedIn:L,...N}=e,{locale:O}=(0,f.useRouter)(),{t:T}=(0,m.Bd)(),P=new Intl.DateTimeFormat(B||(0,b.T)(O),{dateStyle:"full"}),$=P.format(new Date(C)),q=P.format(new Date(I)),{ref:G,controls:M,isInView:U}=(0,w.p7)();return(0,i.Y)(u.qH,{as:"section",marginBottom:{base:"space-18",md:"space-24",lg:"space-48"},variant:"wide",...N,ref:G,...(0,w.y9)({animate:M,duration:1,delay:.75}),children:(0,i.FD)(s.x,{templateColumns:{base:"1fr",md:"repeat(2, 2fr)"},background:"primary.white",borderRadius:{base:"sm",md:"md"},overflow:"hidden",columnGap:0,rowGap:0,px:{base:"space-12",md:0},children:[(0,i.FD)(n.s,{direction:"column",py:{base:"space-48",md:"space-80"},pl:{md:"space-48",lg:"space-80"},pr:{md:"space-48"},children:[R&&(0,i.Y)(r.N,{as:u.PD,variant:"bold",fontSize:"xs",href:R.url,display:"inline-block",textTransform:"uppercase",mb:{base:"space-8",md:"space-16"},...(0,w.iU)({animate:M,duration:.25,delay:1.5}),children:R.title}),(0,i.Y)(g.q,{as:"h1",title:a,size:"h3",delay:1,mb:{base:"space-24",md:"space-32"}},a),(t||D)&&(0,i.FD)(u.MF,{mb:{base:"space-24",md:"space-32"},gap:"space-8",flexWrap:"wrap",alignItems:"flex-start",direction:{base:"column",md:"row"},...(0,w.vr)({animate:M,duration:.3,delay:1.8}),children:[t&&(0,i.Y)(l.vw,{variant:"campaign",size:{base:"sm",md:"md"},borderLeftRadius:{base:0,md:"xxs"},children:t}),D&&(0,i.Y)(l.vw,{variant:"beige",size:{base:"sm",md:"md"},borderLeftRadius:{base:0,md:"xxs"},children:T("offers.fashionClubTag")})]}),(0,i.FD)(u.e_,{mb:{base:"space-16",md:"space-24"},...(0,w.vr)({animate:M,duration:.3,delay:1.9}),children:[$&&(0,i.FD)(d.E,{children:[T("offers.validFrom")," ",(0,i.Y)(o.az,{as:"span",fontWeight:"medium",children:$})]}),q&&(0,i.FD)(d.E,{children:[T("offers.validUntil")," ",(0,i.Y)(o.az,{as:"span",fontWeight:"medium",children:q})]})]}),(z||S&&W)&&(0,i.FD)(u.e_,{mb:j?{base:"space-16",md:"space-24"}:{base:"space-32",md:"space-96"},...(0,w.vr)({animate:U?"visible":"hidden",duration:.3,delay:1.9}),children:[z&&(0,i.Y)(d.E,{mb:{base:"space-16",md:"space-24"},children:z}),S&&W&&(0,i.Y)(d.E,{mb:{base:"space-16",md:"space-24"},children:(0,x.d)({fromPrice:S,toPrice:W})})]}),j&&(0,i.Y)(u.e_,{mb:{base:"space-32",md:"space-96"},...(0,w.vr)({animate:M,duration:.3,delay:1.9}),children:j.map((e,a)=>(0,i.FD)(d.E,{fontWeight:"medium",mb:"space-8",fontSize:"sm",children:["⢠",e]},a))}),_&&F(_)&&(0,i.Y)(u.e_,{mb:{base:"space-16",lg:"space-24"},gap:"space-8",...(0,w.I0)({duration:.5,delay:1}),children:(0,i.Y)(c.$,{variant:"shopOnline",href:_,as:r.N,w:"fit-content",fontSize:{base:"xs",md:"xs"},onClick:()=>{(0,h.d)({event:"cta_other",cta_text:T("label.shopOnline"),cta_location:"OfferDetailSection"})},children:T("label.shopOnline")})}),!_&&!F(_)&&D&&(0,i.FD)(o.az,{display:"flex",flexDirection:"column",mb:{base:"space-16",lg:"space-24"},gap:"24px",children:[(0,i.FD)(o.az,{display:"flex",flexDirection:"column",gap:"16px",children:[!L&&(0,i.Y)(d.E,{textStyle:"label",color:"primary.sky-blue",fontWeight:"medium",children:T("fashionclub.offerpage.signup.description")}),L&&(0,i.Y)(d.E,{textStyle:"label",color:"primary.sky-blue",fontWeight:"medium",children:T("fashionclub.offerpage.readmore.description")})]}),!L&&(0,i.Y)(c.$,{as:m.rw,href:"/account/login",w:"fit-content",children:T("fashionclub.registration.create.account")}
1),L&&(0,i.Y)(c.$,{as:m.rw,href:"/fashionclub#benefits",w:"fit-content",children:T("fashionclub.explore.benefits.button")})]}),R&&(0,i.FD)(u.MF,{alignItems:"center",justifyContent:"space-between",wrap:"wrap",gap:"space-16",...(0,w.vr)({animate:M,duration:.3,delay:2}),children:[R.url&&R.title&&(0,i.Y)(y.Y,{href:R.url,children:T("offers.discoverBrandLabel").replace("{brand}",R.title)}),R.logo&&(null==k?void 0:k.src)&&(0,i.Y)(v.F,{src:R.logo,alt:R.title,display:{base:"none",md:"flex"}})]})]}),k?(0,i.Y)(o.az,{paddingBottom:{base:"100%",md:0},position:"relative",overflow:"hidden",borderLeftRadius:{base:"xs",md:0},borderRightRadius:{base:"xs",md:"md"},mb:{base:"space-24",md:0},children:(0,i.Y)(Y._,{...k,height:"100%",objectFit:"cover",widths:p.I.heroImage,alt:E||(t?"".concat(t," ").concat(a," - ").concat((null==R?void 0:R.title)||""):a),position:"absolute",inset:0,...(0,w.Re)({animate:M,duration:.8,delay:1})})}):(0,i.Y)(o.az,{my:"auto",py:{base:0,md:"space-80"},pl:{md:"space-32"},pr:{md:"space-48",lg:"space-80"},position:"relative",overflow:"hidden",borderLeftRadius:{base:"xs",md:0},borderRightRadius:{base:"xs",md:"md"},children:(null==R?void 0:R.logo)&&(0,i.Y)(o.az,{position:"relative",paddingBottom:{base:0,md:"100%"},mb:{base:"space-48",md:0},py:{base:"space-32"},children:(0,i.Y)(n.s,{alignItems:"center",justifyContent:"center",position:{md:"absolute"},left:{md:"50%"},top:{md:"50%"},sx:{transform:{md:"translate(-50%, -50%)"}},children:(0,i.Y)(v.F,{height:{base:"144px",md:"224px"},width:{base:"144px",md:"224px"},src:R.logo,alt:R.title})})})}),(null==R?void 0:R.logo)&&(null==k?void 0:k.src)&&(0,i.Y)(v.F,{src:R.logo,alt:R.title,display:{base:"flex",md:"none"},mb:"space-24"})]})})}},60163:(e,a,t)=>{t.d(a,{F:()=>r});var i=t(2860),s=t(76382),n=t(86129);let r=e=>{let{src:a,alt:t,...r}=e;return(0,i.Y)(s.s,{alignItems:"center",justifyContent:"center",width:"11.25rem",height:"4rem",...r,children:(0,i.Y)(n._,{src:a,alt:t,width:"100%",height:"100%",objectFit:"contain"})})}}}]);
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.