1import{a as e,n as t}from"./rolldown-runtime.B0Z9INg1.js";import{c as n,o as r,s as i}from"./initial-vendor.BE9aAc-e.js";import{Ar as a,Br as o,Gn as s,Hn as c,Jn as l,Kr as u,Ln as d,Ur as f,Yt as p,Zn as m,_ as h,ai as g,gi as _,hi as v,mr as y,pi as ee,rr as te,v as ne,zn as re}from"./initial-vendor.CgQmuyFp.js";import{K as b,L as ie}from"./initial-app.BZIEVlT4.js";import{O as ae,at as x,bt as oe,d as se,f as ce,ft as S,gt as C,k as le,lt as ue,mt as w,pt as de,st as T,u as fe,ut as E,vt as pe,yt as D}from"./initial-app.CZZh0F9-.js";import{$ as me,B as he,G as O,K as k,St as ge,Z as A,_t as j,d as _e,et as ve,ft as ye,gt as M,ht as N,jt as be,m as xe,nt as Se,on as Ce,ot as P,p as we,pt as Te,tt as F,z as I}from"./initial-app.Gylgf7Ye.js";import{G as Ee,K as De,U as Oe,W as ke}from"./initial-app.DZzGtnf9.js";import{b as Ae,y as je}from"./initial-app.CRvolEgF.js";import{r as Me,t as Ne}from"./TrustpilotBlock.Dr-rDgH_.js";function Pe(){let e=(0,L.c)(8),t=m(N.ScriptSettingsApiModel)?.trustedShopsId,[n,r]=R.useState(!1),i=g(me.OrderConfirmationPageApiModel),a,o;e[0]===t?(a=e[1],o=e[2]):(a=()=>{if(!t)return;let e=document.getElementById(`trusted_div`);if(!e)return;let n=new IntersectionObserver(e=>{let[t]=e;r(t.isIntersecting)},{rootMargin:`400px`});return n.observe(e),()=>{n.unobserve(e)}},o=[t],e[0]=t,e[1]=a,e[2]=o),R.useEffect(a,o);let s,c;e[3]!==n||e[4]!==i||e[5]!==t?(s=()=>{(n||i)&&t&&(!ce()||fe(`functional`))&&(window._tsConfig={yOffset:`200`,responsive:{variant:`custom_reviews`,customElementId:`trusted_div`},variant:`custom_reviews`,customElementId:`trusted_div`,trustcardDirection:``,customBadgeWidth:``,customBadgeHeight:``,disableResponsive:`false`,disableTrustbadge:`false`},te(`//widgets.trustedshops.com/js/`+t+`.js`))},c=[n,i,t],e[3]=n,e[4]=i,e[5]=t,e[6]=s,e[7]=c):(s=e[6],c=e[7]),R.useEffect(s,c)}var L,R;function z(){return(z=t((()=>{L=r(),R=e(n()),l(),se(),ve(),M()})))()}function Fe(e){let t=(0,B.c)(7),{trustpilot:n,children:r}=e,i=ke();Pe();let a=i&&U,o;t[0]!==i||t[1]!==n?(o=!i&&n?.widgetHtml?(0,V.jsx)(Ne,{...n},`TrustpilotBlock`):null,t[0]=i,t[1]=n,t[2]=o):o=t[2];let s;return t[3]!==r||t[4]!==a||t[5]!==o?(s=(0,V.jsxs)(H,{css:a,children:[o,r]}),t[3]=r,t[4]=a,t[5]=o,t[6]=s):s=t[6],s}var B,V,H,U;function W(){return(W=t((()=>{B=r(),n(),v(),Oe(),Me(),z(),V=i(),H=_.footer({"content-visibility":`auto`,"contain-intrinsic-size":`1100px`}),U=_({backgroundColor:e=>e.checkout?.backgroundColor})})))()}function Ie(e){let t=(0,G.c)(17),n=a(),[r,i]=(0,Le.useState)(!1),o;t[0]===e.links?o=t[1]:(o=Object.keys(e.links),t[0]=e.links,t[1]=o);let s;t[2]!==e.links||t[3]!==o?(s=(0,K.jsx)(ze,{children:o.map((t,n)=>(0,K.jsx)(Re,{to:e.links[t],children:t},n))}),t[2]=e.links,t[3]=o,t[4]=s):s=t[4];let l=s,u;t[5]!==r||t[6]!==n||t[7]!==e.links||t[8]!==e.title?(u=n?(0,K.jsxs)(Ve,{as:w.Transparent,disableRippleEffect:!0,onClick:()=>{i(!r)},children:[e.title,Object.keys(e.links).length>0&&(0,K.jsx)(be,{css:d(r)})]}):(0,K.jsx)(Be,{children:e.title}),t[5]=r,t[6]=n,t[7]=e.links,t[8]=e.title,t[9]=u):u=t[9];let f;t[10]!==r||t[11]!==n||t[12]!==l?(f=n?(0,K.jsx)(c,{keepElement:!0,visible:r,children:l}):l,t[10]=r,t[11]=n,t[12]=l,t[13]=f):f=t[13];let p;return t[14]!==u||t[15]!==f?(p=(0,K.jsxs)(`div`,{children:[u,f]}),t[14]=u,t[15]=f,t[16]=p):p=t[16],p}var G,Le,K,Re,ze,Be,Ve;function He(){return(He=t((()=>{G=r(),l(),re(),s(),v(),n(),Le=n(),F(),Ce(),Te(),C(),S(),K=i(),Re=_(ye,E({fontSize:e=>e.footer?.fontSize}),{fontSize:e=>e.fontSize.xs,padding:{y:e=>e.sharedSpacing.xs},display:`block`,":hover":{textDecoration:`underline`}}),ze=_.div(x({padding:{x:e=>e.sharedSpacing.xxl,bottom:e=>e.sharedSpacing.l}})),Be=_.h3(x({padding:{x:e=>e.sharedSpacing.m}}),{fontSize:e=>e.footer?.heading?.fontSize,fontWeight:e=>e.footer?.heading?.fontWeight,textTransform:e=>e.heading?.textTransform},!oe&&{margin:{bottom:e=>e.sharedSpacing.m}}),Ve=_(P,{display:`flex`,width:`100%`,fontWeight:e=>e.footer?.heading?.fontWeight,justifyContent:`space-between`,cursor:`pointer`,fontSize:e=>e.fontSize.s,padding:{xy:e=>e.sharedSpacing.l},border:{top:{color:e=>e.footer?.accordion?.borderColor,style:`solid`,width:`thin`}}})})))()}function Ue(){let e=(0,q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,J.jsx)(Ee,{}),e[0]=t):t=e[0],t}function We(e){let t=(0,q.c)(4),{linkCollections:n}=e,r;t[0]===n?r=t[1]:(r=n.map(Ge),t[0]=n,t[1]=r);let i;return t[2]===r?i=t[3]:(i=(0,J.jsx)(J.Fragment,{children:r}),t[2]=r,t[3]=i),i}function Ge(e,t){return(0,Ke.createElement)(Ie,{...e,key:t})}var q,J,Ke;function qe(){return(qe=t((()=>{q=r(),De(),He(),J=i(),Ke=n()})))()}var Y,Je;function Ye(){return(Ye=t((()=>{n(),Y=i(),Je=e=>(0,Y.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`#ebebeb`,strokeMiterlimit:10,strokeWidth:6,viewBox:`0 0 652.17 379.86`,...e,children:(0,Y.jsx)(`path`,{d:`M109.18 265.71 1.6 333.43M550.13 75.29l101.79
1-7.14m-51.47 11.07L503.66 186.3m39.29-136.74 56.18 86.33m-530.16.24 107.08 96.79M551.5 357.33l99.24-15m-109.85-25.32 64.43 60.67m-28.44-35.9-88.58-18.86m29.21-93.88 93.15 12.52M508 98.16l67.13-58.86m-71.15 5-94 118.92m-86.1-138.3 152.19 110.64m-97.28-39.51 63.34-54.59m4.23 61.1 80.32 15.43m-60.66 30.65-88 60.33m10.78-90.11 91.41 87.86m-18.65-30.59 95-18.7m-59.61-14.25 71.18 57.19m9.78-12.55-141.72 9.94m41.64-23.01 58.44 61.09m-126.14 7.48 99.8-7m-75.73-58.15 70.68 78.28m-15.61-10.89 78.6 19.56m-50.74 14.22 72.88 24m-175.2 11.61 86.46-54.21m-74.3-12.75 35.16 57.71m-5.7-49.84-54.8 48m-9.32-15.62 99.48 74.25M326.3 338.56l76.43-11.37m-123.68-78.15 94.88 108.68m-59.72-52.37 70.58-9m-55.23-31.79-64.17 71.69m-38.63-87.69 79.37 59.63m-44.22-22.38 136.12-146.95m-201 141.85 53.82 52.39m-20.3-23.75 38.8-75.94m-24.4-20.4 35 55.71m3.39-35.77 85.24-100.25m-21.6-42.14 54 83.47m-55.85-24.47 80.8 79.58m-10.6-5.53-61.65 50.46M322 242.93l89 24.84m-91.08-53.85 89.14 26.84m-68.63-58.07 55.11 42.27m-99.81-54.28L352.21 261m-109.97-90.2 84.41-11.94m-22.2 7.7 80 11.43M204.84 93.61l83.15 84.43m-33.13-33.2 31.15 58m-14.63-59.28 78.14-15.51m-104.13-3.37 51.06-72.78m-83.32 5.82 84.59 19.14m-112.75 25.25 38.85 53.45m-48.79-15 80.76 50.5m-21.15-2.91-47.45 38.41m-6.89-10 49.23 15.6M86.56 57.69 159.91 2.4`})})})))()}function Xe(e){let t=(0,$e.c)(12),{content:n}=e,{open:r}=Ae(`Registration`),i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,X.jsx)(tt,{children:D&&(0,X.jsx)(ie,{})}),t[0]=i):i=t[0];let a;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(rt,{children:y(Qe)}),t[1]=a):a=t[1];let o;t[2]===n?o=t[3]:(o=(0,X.jsx)(ne,{elements:n,styleDecorators:at}),t[2]=n,t[3]=o);let s;t[4]===r?s=t[5]:(s=()=>r(),t[4]=r,t[5]=s);let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=y(Ze),t[6]=c):c=t[6];let l;t[7]===s?l=t[8]:(l=(0,X.jsx)(it,{onClick:s,as:pe?w.Primary:w.Secondary,children:c}),t[7]=s,t[8]=l);let u;return t[9]!==o||t[10]!==l?(u=(0,X.jsxs)(X.Fragment,{children:[i,(0,X.jsx)(et,{children:(0,X.jsxs)(nt,{children:[a,o,l]})})]}),t[9]=o,t[10]=l,t[11]=u):u=t[11],u}function Ze(e){return e.registration.memberClubNewsletterButtonLabel}function Qe(e){return e.registration.memberClubNewsletterTitle}var $e,X,et,tt,nt,rt,it,at;function ot(){return(ot=t((()=>{$e=r(),n(),v(),l(),F(),S(),k(),b(),h(),C(),je(),X=i(),et=_.div({backgroundColor:e=>e.memberClubNewsletter?.color,color:e=>e.memberClubNewsletter?.text,padding:{x:e=>e.spacing.l,bottom:e=>e.spacing.xl,top:e=>e.spacing.xxl}}),tt=_(I,A,O,{display:`flex`,justifyContent:`center`,transform:`translateY(50%)`,height:70}),nt=_.div({display:`flex`,flexDirection:`column`,alignItems:`center`,margin:{x:`auto`},width:`100%`,maxWidth:800,textAlign:`center`}),rt=_.h4({marginBottom:e=>D?e.sharedSpacing.m:e.sharedSpacing.xl,fontSize:e=>e.memberClubNewsletter?.fontSize,fontFamily:e=>e.fontFamily?.secondary}),it=_(P,{fontFamily:e=>e.fontFamily?.secondary}),at={p:_(T({marginBottom:e=>e.spacing.xl}),E({fontSize:e=>e.fontSize.m}),{fontSize:e=>e.fontSize.s,fontWeight:500})}})))()}function st(e){let t=(0,ft.c)(14),{newsletter:n}=e,r=o(N.CustomerApiModel)[0],[i,s]=xe(),[c,l]=p(),d=a(),m;t[0]!==i||t[1]!==l?(m=e=>{e.preventDefault();let t={email:i,source:`footer`,storeKey:``};l(u(f(`newsletter`),t)).then(dt)},t[0]=i,t[1]=l,t[2]=m):m=t[2];let h=m;if(!n)return null;let g;return t[3]!==r?.isLoggedIn||t[4]!==i||t[5]!==c||t[6]!==d||t[7]!==n.alwaysUseEmailFooter||t[8]!==n.description||t[9]!==n.isMemberClubActive||t[10]!==n.memberClubDescription||t[11]!==s||t[12]!==h?(g=n.isMemberClubActive&&!n.alwaysUseEmailFooter?(0,Z.jsx)(Z.Fragment,{children:!r?.isLoggedIn&&(0,Z.jsx)(Xe,{content:n.memberClubDescription})}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Q,{children:[!1,!1]}),(0,Z.jsxs)(pt,{onSubmit:h,children:[!1,(0,Z.jsxs)(mt,{children:[(0,Z.jsx)(ht,{children:y(ut)}),(0,Z.jsxs)(gt,{children:[(0,Z.jsx)(_t,{type:`email`,name:`email`,value:i,required:!0,placeholder:y(lt),onChange:s,as:w.White,size:d?j.Small:j.Default}),(0,Z.jsx)(vt,{type:`submit`,state:c,as:D?w.Secondary:w.Tertiary,size:d?j.Small:j.Default,children:y(ct)})]}),(0,Z.jsx)(ne,{elements:n.description,styleDecorators:yt})]})]})]}),t[3]=r?.isLoggedIn,t[4]=i,t[5]=c,t[6]=d,t[7]=n.alwaysUseEmailFooter,t[8]=n.description,t[9]=n.isMemberClubActive,t[10]=n.memberClubDescription,t[11]=s,t[12]=h,t[13]=g):g=t[13],g}function ct(e){return e.registration.newsletterButtonLabel}function lt(e){return e.registration.newsletterEmailPlaceholder}function ut(e){return e.registration.newsletterTitle}function dt(){ae({event:`registerNewsletter`})}var ft,Z,pt,Q,mt,ht,gt,_t,vt,yt;function bt(){return(bt=t((()=>{ft=r(),Ye(),l(),h(),v(),b(),n(),F(),ge(),we(),k(),C(),S(),ot(),le(),M(),Z=i(),_(ee(Je),{position:`absolute`,right:-90,top:`50%`,height:`110%`,width:`auto`,transform:`translateY(-50%)`,pointerEvents:`none`}),pt=_.form(E({padding:{y:e=>e.spacing.xxl}}),{backgroundColor:e=>e.memberClubNewsletter?.color,padding:{xy:e=>e.spacing.l}},void 0),Q=_(I,A,O,T({height:70,justifyContent:`flex-end`}),{display:`flex`,height:100}),mt=_.div({display:`flex`,flexDirection:`column`,alignItems:`center`,margin:{x:`auto`},width:`100%`,maxWidth:e=>e.id===de.NordicNest?500:he.Narrow,textAlign:`center`,position:`relative`}),ht=_.h4(E({marginBottom:e=>e.spacing.l,fontSize:e=>e.memberClubNewsletter?.fontSize}),{marginBottom:e=>e.spacing.s,fontWeight:e=>e.fontWeight?.bold,fontFamily:e=>e.fontFamily?.secondary,color:e=>e.memberClubNewsletter?.text}),gt=_.div(T({flexDirection:`column`}),{display:`flex`,gap:e=>e.spacing.xs,width:`100%`,marginBottom:e=>e.spacing.m}),_t=_(_e,{flexGrow:1},ue({})),vt=_(Se,T({width:`100%`}),{flexShrink:0,alignSelf:`flex-start`}),yt={p:_(ue({marginBottom:0}),{marginBottom:0,fontSize:e=>e.fontSize.xxxs,opacity:.55})}})))()}var xt,St,Ct;function $(){return($=t((()=>{W(),qe(),bt(),xt={default:Fe},St={FooterLinkCollections:We,FooterLogo:Ue},Ct={Newsletter:st}})))()}$();export{Ct as export_58d1e34d2284,xt as export_a6133302bcab,St as export_e680fa736ff6}; 2//# sourceMappingURL=rsc-registry._WEGgnW_.js.map
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.