!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5dfc7bd0-ffdc-4937-90e6-00e7a40ce1b3",e._sentryDebugIdIdentifier="sentry-dbid-5dfc7bd0-ffdc-4937-90e6-00e7a40ce1b3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[701],{32961:function(e,t,n){"use strict";n.d(t,{Z:function(){return ev}});var i=n(85893),o=n(67294),r=n(11752),l=n.n(r),a=n(11163);let d=(0,o.createContext)({cart:{},order:{}});function c(){let e=(0,o.useContext)(d);if(!e)throw Error("useCheckoutReceiptContext must be used within the CheckoutReceipt component");return e}var u=n(41686),s=n(47533),m=n(87536),p=n(37599);let v=u.ZP.div.withConfig({componentId:"sc-5546e8ae-0"})(e=>{let{theme:{SPACINGS:t,BORDER_RADIUS:n,FONT_SIZE:i,LINE_HEIGHT:o}}=e;return(0,u.iv)(["background-color:#fff;padding:"," ",";border:1px solid #000;border-radius:",";margin-top:",";> button{display:flex;text-align:left;width:100%;font-size:",";line-height:",";}.add-promotion-heading{flex:1;}"],t.SM,t.MD,n.SM,t.MD,i.MD,o.LG)}),h=(0,u.ZP)(p.E.div).withConfig({componentId:"sc-5546e8ae-1"})(()=>(0,u.iv)(["overflow:hidden;"]));var f=n(28732),g=n(62662),b=n(14481),x=n(1037);async function y(e){let{promotionCode:t,locale:n=g.al,contextToken:i}=e;try{let e=await x.b.post("/cart/add-promotion-code",{promotionCode:t,locale:n,contextToken:i},{headers:{"Content-Type":"application/json"}});return await e.data}catch(e){return(0,b.Z)(e,"Error while adding promotion code to cart"),null}}var Z=n(6748),C=n(92102),_=n(8362),j=n(92618),P=n(40706),R=n(38403),I=n(21964),w=n(98397),T=n(94362),S=n(36830),E=n(44664),A=n(32791),k=n(88365),N=n(46292),q=n(27291),O=n(58357);let D=u.ZP.div.withConfig({componentId:"sc-1a6abab0-0"})(e=>{let{theme:{COLOR:t,SPACINGS:n}}=e;return(0,u.iv)(["background-color:",";padding:",";"],t.dust,n.XL)}),L=(0,u.ZP)(q.Z).withConfig({componentId:"sc-1a6abab0-1"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,u.iv)(["display:flex;margin-bottom:",";justify-content:space-between;"],t.MD)}),z=(0,u.ZP)(N.Z).withConfig({componentId:"sc-1a6abab0-2"})(e=>{let{theme:{TYPOGRAPHY:t,COLOR:n}}=e;return(0,u.iv)(["",";text-decoration:underline;color:",";"],t.BODY,n.black)}),M=(0,u.ZP)(O.Z).withConfig({componentId:"sc-1a6abab0-3"})(e=>{let{theme:{TYPOGRAPHY:t,SPACINGS:n}}=e;return(0,u.iv)(["",";margin-bottom:",";display:flex;justify-content:space-between;"],t.BODY_SMALL,n.XS)}),B=(0,u.ZP)(O.Z).withConfig({componentId:"sc-1a6abab0-4"})(e=>{let{theme:{TYPOGRAPHY:t,SPACINGS:n,COLOR:i}}=e;return(0,u.iv)(["",";text-transform:uppercase;color:",";margin-bottom:",";display:flex;justify-content:space-between;"],t.BODY_SMALL,i.green,n.XS)}),U=(0,u.ZP)(M).withConfig({componentId:"sc-1a6abab0-5"})(e=>{let{theme:t}=e;return(0,u.iv)(["",";"],t.BODY)}),X=(0,u.ZP)(function(e){var t,n;let{className:r}=e,l=(0,S.Z)(),a=(0,A.Z)().useIsProcessingPayment(),d=null!==(n=(0,T.Z)().config.contextToken)&&void 0!==n?n:"",{cart:c,setCart:u}=(0,I.Z)(),p=(0,w.Z)(),[g,b]=(0,o.useState)(!0),x=(0,k.q5)(),N=(0,m.cI)({mode:"onTouched",resolver:(0,s.X)(x),defaultValues:{promotionCode:""}}),{handleSubmit:q}=N,[O,D]=(0,o.useState)(),L=(0,o.useCallback)(q(async e=>{var t;D(null);let n=await y({promotionCode:e.promotionCode,locale:p,contextToken:d});(null==n?void 0:null===(t=n.lineItems)||void 0===t?void 0:t.some(e=>"promotion"===e.type&&!!e.id))?u(n):D(l("form.validation.invalidPromotionCode"))}),[q,l]),z=(0,o.useMemo)(()=>({initial:"collapsed",animate:g?"collapsed":"open",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},transition:{ease:[.45,0,.55,1],duration:.4}}),[g]),M=null==c?void 0:null===(t=c.lineItems)||void 0===t?void 0:t.find(e=>"promotion"===e.type&&!!e.productId),B=(0,f.s)({experimentName:"cartPageUi",label:"click on add promotion code",uniqueEvent:"cartPageUiDiscountClick"});return c?(0,i.jsxs)(v,{className:r,children:[(0,i.jsxs)("button",{type:"button",disabled:a,onClick:()=>{b(e=>!e),B()},children:[(0,i.jsx)("span",{className:"add-promotion-heading",children:l("checkout.receipt.addPromotionCode.heading")}),(0,i.jsx)(P.Z,{name:g?"caret-down":"caret-up"})]}),(0,i.jsxs)(h,{...z,children:[M&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(R.P,{children:null==M?void 0:M.name}),(0,i.jsx)("button",{type:"button",onClick:async()=>{if(!M)return;let e=await (0,Z.Z)({type:"remove",productId:M.id,locale:p,contextToken:d});e&&u(e)},children:l("checkout.receipt.addPromotionCode.remove")})]}),!M&&(0,i.jsx)(m.RV,{...N,children:(0,i.jsxs)(E.ZE,{onSubmit:L,method:"POST",children:[(0,i.jsx)(C.Z,{name:"promotionCode",type:"text",title:l("form.fields.promotionCode.label"),placeholder:l("form.fields.promotionCode.label"),required:!0}),(0,i.jsx)(j.Z,{isSecondary:!0,type:"submit",label:l("checkout.receipt.addPromotionCode.submit")}),O&&(0,i.jsx)(_.BD,{children:O})]})})]})]}):null}).withConfig({componentId:"sc-1a6abab0-6"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,u.iv)(["margin-top:",";"],t.MD)}),V=u.ZP.hr.withConfig({componentId:"sc-1a6abab0-7"})(e=>{let{theme:{COLOR:t,SPACINGS:n}}=e;return(0,u.iv)(["background-color:",";height:1px;margin:"," 0;"],t.grey03,n.MD)}),Y=u.ZP.b.withConfig({componentId:"sc-1a6abab0-8"})(e=>{let{theme:{COLOR:t}}=e;return(0,u.iv)(["color:",";"],t.green)}),F=(0,u.ZP)(j.Z).withConfig({componentId:"sc-1a6abab0-9"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,u.iv)(["margin-top:",";"],t.MD)}),G=u.ZP.input.withConfig({componentId:"sc-1a6abab0-10"})(e=>{let{theme:{SPACINGS:t,COLOR:n,FONT_SIZE:i,BORDER_RADIUS:o,FONT:r}}=e;return(0,u.iv)(["color:",";border:1px solid ",";font-size:",";font-family:",";padding:"," ",";outline:none;height:4.2rem;box-sizing:border-box;border-radius:",";width:100%;display:block;margin-top:",";"],n.black,n.grey05,i.MD,r.FONT_SECONDARY,t.MD,t.MD,o.SM,t.MD)}),H=u.ZP.div.withConfig({componentId:"sc-1a6abab0-11"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,u.iv)(["margin-top:",";"],t.MD)}),K=u.ZP.div.withConfig({componentId:"sc-1a6abab0-12"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,u.iv)(["margin-top:",";"],t.MD)}),$=(0,u.ZP)(O.Z).withConfig({componentId:"sc-1a6abab0-13"})(e=>{let{theme:{COLOR:t,TYPOGRAPHY:n,SPACINGS:i}}=e;return(0,u.iv)(["",";color:",";margin-top:",";margin-bottom:",";"],n.BODY_SMALL_BOLD,t.green,i.MD,i.XXS)}),W=(0,u.ZP)(O.Z).withConfig({componentId:"sc-1a6abab0-14"})(e=>{let{theme:{COLOR:t,TYPOGRAPHY:n}}=e;return(0,u.iv)(["",";color:",";"],n.SUBTEXT,t.grey05)});var Q=n(63598),J=n(35882),ee=n(14484),et=n(89272),en=n(49484),ei=n(24103),eo=n(91750),er=n(22107),el=n(46909),ea=n(79848),ed=n(31061),ec=n(71425),eu=n(2540),es=n(126),em=n(5365);let{publicRuntimeConfig:ep}=l()();function ev(e){let{children:t,cart:n,order:o}=e;return(0,i.jsx)(D,{children:(0,i.jsx)(d.Provider,{value:{cart:n,order:o},children:t})})}ev.Title=function(){let e=(0,S.Z)();return(0,i.jsxs)(L,{type:"HEADING_3",children:[e("checkout.receipt.heading"),(0,i.jsx)(z,{link:{href:ea.H1.CHECKOUT_CART},children:e("checkout.receipt.edit")})]})},ev.ProductTotal=function(){var e;let t=(0,S.Z)(),n=(0,eu.Z)(),o=(0,ec.Z)(),r=!!(null==n?void 0:null===(e=n.customer)||void 0===e?void 0:e.company),l=(0,ed.Z)(),{order:a,cart:d}=c(),u=(null==a?void 0:a.lineItems)||(null==d?void 0:d.lineItems),s=null==u?void 0:u.filter(e=>e.type&&["product","bundle","mixedPaint"].includes(e.type)),m=0,p=0;null==s||s.forEach(e=>{if("bundle"===e.type){var t;null===(t=e.bundleProducts)||void 0===t||t.forEach(e=>{"bundle_discount"!==e.name&&(m+=e.lineItemQuantity)})}else p+=e.lineItemQuantity});let v=!r&&o?null==d?void 0:d.price.subTotalPrice.gross:null==d?void 0:d.price.subTotalPrice.net,h=m+p;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(M,{children:[(0,i.jsx)("span",{children:t("checkout.receipt.productCount",{count:h})}),(0,i.jsx)("b",{children:l(v,{showCurrencySymbol:!0})})]}),(0,i.jsx)(V,{})]})},ev.ReceiptDetails=function(){let{order:e,cart:t}=c(),n=(null==e?void 0:e.lineItems)||(null==t?void 0:t.lineItems),o=null==n?void 0:n.filter(e=>e.type&&["product","bundle","mixedPaint"].includes(e.type));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(et.Z,{lineItems:o}),(0,i.jsx)(V,{})]})},ev.SubTotal=function(){var e,t,n,o,r,l,a,d,u,s,m,p,v;let h=(0,S.Z)(),f=(0,ed.Z)(),g=(0,eu.Z)(),b=(0,ec.Z)(),x=!(null==g?void 0:null===(e=g.customer)||void 0===e?void 0:e.company)&&b,{order:y,cart:Z}=c(),C=(null==y?void 0:y.lineItems)||(null==Z?void 0:Z.lineItems),_=null==C?void 0:C.filter(e=>e.type&&["promotion"].includes(e.type)),j=x?null==Z?void 0:Z.price.subTotalPrice.gross:null==Z?void 0:Z.price.subTotalPrice.net,P=x?null==y?void 0:null===(n=y.price)||void 0===n?void 0:null===(t=n.shippingPrice)||void 0===t?void 0:t.gross:null==y?void 0:null===(r=y.price)||void 0===r?void 0:null===(o=r.shippingPrice)||void 0===o?void 0:o.net,R=x?null!==(p=null==Z?void 0:null===(a=Z.price)||void 0===a?void 0:null===(l=a.shippingPrice)||void 0===l?void 0:l.gross)&&void 0!==p?p:0:null!==(v=null==Z?void 0:null===(u=Z.price)||void 0===u?void 0:null===(d=u.shippingPrice)||void 0===d?void 0:d.net)&&void 0!==v?v:0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(U,{children:[(0,i.jsx)("span",{children:(0,i.jsx)("b",{children:h("checkout.receipt.subtotal")})}),(0,i.jsx)("span",{children:(0,i.jsx)("b",{children:f(j,{showCurrencySymbol:!0})})})]}),null==_?void 0:_.map(e=>{let t=b?e.totalPrice.gross:e.totalPrice.net;return(0,i.jsxs)(B,{children:[e.name,(0,i.jsxs)(Y,{children:["- ",f(Math.abs(t),{showCurrencySymbol:!0})]})]},"checkout-receipt-promotion-".concat(e.id))}),(null==Z?void 0:null===(m=Z.delivery)||void 0===m?void 0:null===(s=m.method)||void 0===s?void 0:s.name)&&(0,i.jsxs)(M,{children:[Z.delivery.method.name,(0,i.jsx)("b",{children:f(P||R,{showCurrencySymbol:!0})})]}),(0,i.jsx)(V,{})]})},ev.Total=function(){var e,t,n,o,r,l,a,d,u;let s=(0,S.Z)(),m=(0,ed.Z)(),p=(0,eu.Z)(),v=(0,ec.Z)(),h=!!(null==p?void 0:null===(e=p.customer)||void 0===e?void 0:e.company),f=!h&&v,g=(0,el.V)(ep.brand).zeroVatApplies,{order:b,cart:x}=c(),y=f?null==b?void 0:null===(n=b.price)||void 0===n?void 0:null===(t=n.totalPrice)||void 0===t?void 0:t.gross:null==b?void 0:null===(r=b.price)||void 0===r?void 0:null===(o=r.totalPrice)||void 0===o?void 0:o.net,Z=f?null==x?void 0:x.price.totalPrice.gross:null==x?void 0:x.price.totalPrice.net,C=f?null==b?void 0:null===(a=b.price)||void 0===a?void 0:null===(l=a.totalPrice)||void 0===l?void 0:l.net:null==b?void 0:null===(u=b.price)||void 0===u?void 0:null===(d=u.totalPrice)||void 0===d?void 0:d.gross,_=f?null==x?void 0:x.price.totalPrice.net:null==x?void 0:x.price.totalPrice.gross,j=C||_;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(U,{children:[(0,i.jsxs)("span",{children:[(0,i.jsx)("strong",{children:s("checkout.receipt.total")})," (",s(f?"checkout.receipt.taxIncluded":"checkout.receipt.taxExcluded"),")"]}),(0,i.jsx)("b",{children:m(h&&g?j:y||Z,{showCurrencySymbol:!0,showZeroValue:!0})})]}),!h&&(0,i.jsxs)(M,{color:em.r.grey05,type:"SUBTEXT",children:[(0,i.jsx)("span",{children:s(f?"checkout.receipt.taxExcluded":"checkout.receipt.taxIncluded")}),(0,i.jsx)("span",{children:m(j,{showCurrencySymbol:!0,showZeroValue:!0})})]})]})},ev.DiscountSummary=function(){let e=(0,S.Z)(),t=(0,ed.Z)(),n=(0,ec.Z)(),{order:o,cart:r}=c(),l=(null==o?void 0:o.lineItems)||(null==r?void 0:r.lineItems),a=(null==l?void 0:l.filter(e=>e.type&&["promotion"].includes(e.type)))||[],d=n?null==a?void 0:a.reduce((e,t)=>e+((null==t?void 0:t.totalPrice.gross)||0),0):null==a?void 0:a.reduce((e,t)=>e+((null==t?void 0:t.totalPrice.net)||0),0),u=n?(null==r?void 0:r.price.discountPrice.gross)||0:(null==r?void 0:r.price.discountPrice.net)||0,s=d+u;return s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)($,{children:"".concat(e("checkout.receipt.discount.summary.title")," ").concat(t(Math.abs(s),{showCurrencySymbol:!0}))}),!!u&&!!d&&(0,i.jsx)(W,{children:"".concat(e("checkout.receipt.discount.subtotal.title")," ").concat(t(Math.abs(u),{showCurrencySymbol:!0}))}),!!u&&!!d&&(0,i.jsx)(W,{children:"".concat(e("checkout.receipt.discount.code.title")," ").concat(t(Math.abs(d),{showCurrencySymbol:!0}))})]}):null},ev.CtaButton=function(){var e,t,n;let r=(0,S.Z)(),l=(0,a.useRouter)(),d=(0,eu.Z)(),{useFeatureToggles:u}=(0,es.Z)(),s=u(),[m,p]=(0,o.useState)(null),{cart:v}=c(),h=null!==(n=null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.checkoutV2)&&void 0!==n&&n,g=(0,f.s)({experimentName:"cartPageUi",label:"click on checkout button"}),b=(0,f.s)({experimentName:"cartFreeShippingUSP",label:"click on checkout button"});(0,ee.w)({cart:null!=v?v:null,toCheckoutOrigin:m});let x=(0,o.useCallback)(async()=>{var e;g(),b(),p(J.$.CART.id),(null===(e=d.customer)||void 0===e?void 0:e.id)||!h?await l.push(ea.H1.CHECKOUT_DELIVERY_PAYMENT):await l.push(ea.H1.CHECKOUT_PERSONAL_DATA)},[l,null===(t=d.customer)||void 0===t?void 0:t.id,g,b,h]);return(0,i.jsx)(F,{isStretched:!0,dotColor:em.r.grey02,className:"to-delivery-payment",onClick:x,children:r("checkout.cart.cta")})},ev.PaymentMethods=function(){let{displayExperiment:e}=(0,Q.a)("cartPageUi");return(0,i.jsx)(H,{children:e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(en.Z,{}),(0,i.jsxs)(ei.Z,{children:[(0,i.jsx)(ei.Z.Image,{}),(0,i.jsx)(ei.Z.Message,{})]})]}):(0,i.jsx)(en.Z,{})})},ev.ReferenceNumber=function(e){var t;let{referenceNumber:n,onReferenceNumberChange:o}=e,r=(0,S.Z)(),l=(0,eu.Z)();return(null==l?void 0:null===(t=l.customer)||void 0===t?void 0:t.company)?(0,i.jsx)(G,{name:"company.reference",type:"text",title:r("checkout.business.reference.number"),placeholder:r("checkout.business.reference.number"),required:!1,value:n,onChange:e=>{o&&o(e.target.value)}}):null},ev.PromotionCode=function(){return(0,i.jsx)(X,{})},ev.UspList=function(){let e=(0,eo.L)({type:"cart"});return(0,i.jsx)(K,{children:(0,i.jsx)(er.Z,{uspList:e})})},ev.ReviewProvider=function(){return(0,i.jsx)(K,{children:(0,i.jsxs)(ei.Z,{children:[(0,i.jsx)(ei.Z.Image,{}),(0,i.jsx)(ei.Z.Message,{})]})})}},89272:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(85893),o=n(41686);let r=o.ZP.ul.withConfig({componentId:"sc-fd6b0155-0"})(e=>{let{theme:{LAYOUT:t}}=e;return(0,o.iv)(["margin-top:","px;"],t.LAYOUT_GRID_GAP.MOBILE)}),l=o.ZP.p.withConfig({componentId:"sc-3d4a9444-0"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,o.iv)(["flex-grow:1;margin-right:",";"],t.SM)}),a=o.ZP.li.withConfig({componentId:"sc-3d4a9444-1"})(e=>{let{theme:{TYPOGRAPHY:t,SPACINGS:n}}=e;return(0,o.iv)(["",";position:relative;display:flex;flex-direction:row;margin-bottom:",";justify-content:space-between;align-items:center;"],t.BODY_SMALL,n.MD)}),d=o.ZP.span.withConfig({componentId:"sc-3d4a9444-2"})(e=>{let{theme:{COLOR:t,SPACINGS:n,FONT_WEIGHT:i}}=e;return(0,o.iv)(["display:flex;justify-content:center;align-items:center;min-width:2.4rem;width:2.4rem;height:2.4rem;border-radius:100%;border:1px solid ",";font-weight:",";margin-right:",";"],t.black,i.BOLD,n.SM)}),c=o.ZP.div.withConfig({componentId:"sc-3d4a9444-3"})(()=>(0,o.iv)(["display:flex;flex-direction:column;width:100%;"]));var u=n(66413),s=n(31061),m=n(71425),p=n(2540),v=n(36830),h=function(e){var t;let{lineItems:n}=e,o=(0,s.Z)(),r=(0,m.Z)(),h=(0,p.Z)(),f=!(null==h?void 0:null===(t=h.customer)||void 0===t?void 0:t.company)&&r,g=["product","shipping_costs","huebbundling","promotion","mixedPaint"],b=(0,v.Z)();return null==n?void 0:n.map(e=>{var t,n;let{type:r,name:s,id:m,lineItemQuantity:p}=e,{gross:v,net:h}=e.totalPrice,x="promotion"===r&&"bundle_discount"===s,y="promotion"===r&&"bundle_discount"!==s;return r&&g.includes(r)?(0,i.jsxs)(a,{className:"receipt-details-item",children:[x?(0,i.jsx)(l,{children:b("bundles.discountLine")}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d,{children:y?1:p}),(0,i.jsxs)(c,{children:[(0,i.jsx)(l,{children:s}),e.mixedPaint&&(0,i.jsx)(u.X,{colorValue:null!==(t=e.mixedPaint.colorHexCode)&&void 0!==t?t:"",colorName:null!==(n=e.mixedPaint.name)&&void 0!==n?n:"",isCompact:!0})]})]}),(0,i.jsx)("b",{children:o(f?v:h,{showCurrencySymbol:!0})})]},"receipt-details-item-id-".concat(m)):null})},f=function(e){let{lineItems:t}=e,n=null==t?void 0:t.flatMap(e=>"bundle"===e.type&&e.bundleProducts?e.bundleProducts:e).sort((e,t)=>"bundle_discount"===e.name?1:"bundle_discount"===t.name?-1:0).filter(Boolean);return(0,i.jsx)(r,{children:n?(0,i.jsx)(h,{lineItems:n}):null})}},35462:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(85893),o=n(41686),r=n(58357);let l=o.ZP.section.withConfig({componentId:"sc-8f994fb8-0"})(e=>{let{theme:{LAYOUT:t,COLOR:n,SPACINGS:i},$isAlternative:r,$hasNoMarginTop:l,$hasSmallMarginTop:a,$hasNoMarginBottom:d,$hasSmallMarginBottom:c,$escapeContainer:u}=e;return(0,o.iv)(["position:relative;margin-top:",";width:",";margin-left:",";left:",";"," "," "," "," ",""],i.XXL,u?"100vw":"100%",u?"-50vw":"0",u?"50%":"0",l&&(0,o.iv)(["margin-top:0;@media screen and (min-width:","px){margin-top:0;}"],t.LAYOUT_BREAKPOINT.TABLET_LANDSCAPE),a&&(0,o.iv)(["margin-top:",";@media screen and (min-width:","px){margin-top:",";}"],i.L,t.LAYOUT_BREAKPOINT.TABLET_LANDSCAPE,i.XXL),d&&(0,o.iv)(["margin-bottom:0;@media screen and (min-width:","px){margin-bottom:0;}"],t.LAYOUT_BREAKPOINT.TABLET_LANDSCAPE),c&&(0,o.iv)(["@media screen and (min-width:","px){margin-bottom:",";}"],t.LAYOUT_BREAKPOINT.TABLET_LANDSCAPE,i.XXL),r&&(0,o.iv)(["background-color:",";"," ",""],n.grey01,!u&&(0,o.iv)(["padding:"," 0;margin:0;"],i.XXL),!u&&(0,o.iv)(["@media screen and (min-width:","px){padding:"," 0;margin:0;}"],t.LAYOUT_BREAKPOINT.TABLET_LANDSCAPE,i.XXXXL)))}),a=o.ZP.div.withConfig({componentId:"sc-8f994fb8-1"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,o.iv)(["margin-bottom:",";"],t.L)}),d=(0,o.ZP)(r.Z).withConfig({componentId:"sc-8f994fb8-2"})(e=>{let{theme:{SPACINGS:t}}=e;return(0,o.iv)(["margin-top:",";"],t.SM)});var c=n(64635),u=n(27291);function s(e){let{title:t,description:n,children:o,isAlternative:r,isPromotion:s,hasNoMarginTop:m,hasSmallMarginTop:p,hasNoMarginBottom:v,hasSmallMarginBottom:h,escapeContainer:f,className:g}=e;return(0,i.jsxs)(l,{$escapeContainer:f,$hasNoMarginBottom:v,$hasSmallMarginBottom:h,$hasNoMarginTop:m,$hasSmallMarginTop:p,$isAlternative:r,$isPromotion:s,className:g,children:[(t||n)&&(0,i.jsx)(c.W2,{children:(0,i.jsx)(c.X2,{children:(0,i.jsx)(c.sg,{columns:{TABLET_LANDSCAPE:10,DESKTOP:8},children:(0,i.jsxs)(a,{children:[t&&(0,i.jsx)(u.Z,{type:"HEADING_1",children:t}),n&&(0,i.jsx)(d,{children:n})]})})})}),o]})}},92281:function(e,t,n){"use strict";n.d(t,{Gy:function(){return i}});let i={ACCOUNT:"account",BLOG_DETAIL:"blog_detail",BLOG_OVERVIEW:"blog_overview",CART:"cart",CHECKOUT:"checkout",CHECKOUT_AS_GUEST:"checkout_as_guest",CONFIRMATION:"confirmation",CONTENT:"content",CUSTOMER_SUPPORT:"customer_support",HOME:"home",INFORMATION:"information",LEAD_BRAND_CATEGORY:"lead_brand_category",LEAD_CATEGORY:"lead_category",LOGIN_REGISTER:"login_register",MISSING_PAGE:"404",PRODUCT:"product",SEARCH:"search_results",SERVER_ERROR:"500",SUB_BRAND_CATEGORY:"sub_brand_category",SUB_CATEGORY:"sub_category",WISHLIST:"wishlist"}},70590:function(e,t,n){"use strict";n.d(t,{dB:function(){return r},vQ:function(){return d}});var i=n(1604);let o=i.z.object({carrier:i.z.string().optional().nullable(),service_point_id:i.z.string().optional().nullable()}),r=i.z.object({id:i.z.string(),customerId:i.z.string().optional(),countryId:i.z.string(),firstName:i.z.string(),lastName:i.z.string(),zipcode:i.z.string(),city:i.z.string(),company:i.z.string().optional().nullable(),street:i.z.string(),phoneNumber:i.z.string().optional().nullable(),additionalAddressLine1:i.z.string().optional().nullable(),additionalAddressLine2:i.z.string().optional().nullable(),customFields:o.nullable()}),l=i.z.object({firstName:i.z.string(),lastName:i.z.string()}),a=i.z.object({id:i.z.string(),countryId:i.z.string(),zipcode:i.z.string(),city:i.z.string(),company:i.z.string().nullable(),street:i.z.string(),phoneNumber:i.z.string().nullable(),additionalAddressLine1:i.z.string().nullable(),additionalAddressLine2:i.z.string().nullable(),addressType:i.z.enum(["customer","carrier"]),servicePointId:i.z.string().nullable()}),d=i.z.object({customer:l,addressInfo:a})},98190:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});let i=e=>{var t,n,i,o,r,l,a,d,c,u,s,m,p,v;if(!e)return null;let h=(null===(t=e.customFields)||void 0===t?void 0:t.carrier)?"carrier":"customer";return{addressInfo:{id:null!==(i=e.id)&&void 0!==i?i:"",countryId:null!==(o=e.countryId)&&void 0!==o?o:"",zipcode:null!==(r=e.zipcode)&&void 0!==r?r:"",city:null!==(l=e.city)&&void 0!==l?l:"",company:null!==(a=e.company)&&void 0!==a?a:null,street:null!==(d=e.street)&&void 0!==d?d:"",phoneNumber:null!==(c=e.phoneNumber)&&void 0!==c?c:null,additionalAddressLine1:null!==(u=e.additionalAddressLine1)&&void 0!==u?u:null,additionalAddressLine2:null!==(s=e.additionalAddressLine2)&&void 0!==s?s:null,addressType:h,servicePointId:null!==(m=null===(n=e.customFields)||void 0===n?void 0:n.service_point_id)&&void 0!==m?m:null},customer:{firstName:null!==(p=e.firstName)&&void 0!==p?p:"",lastName:null!==(v=e.lastName)&&void 0!==v?v:""}}}},32791:function(e,t,n){"use strict";var i=n(67294),o=n(92533),r=n(80694),l=n(63176);t.Z=()=>{var e;let t=null===(e=(0,i.useContext)(l.x))||void 0===e?void 0:e["checkout-form-state"],n=(0,r.Z)().store;return{...(0,o.E)(t||n)}}},77536:function(e,t,n){"use strict";var i=n(85893),o=n(11752),r=n.n(o),l=n(9008),a=n.n(l),d=n(11163),c=n(78462),u=n(81913),s=n(46909),m=n(36830),p=n(24645);t.Z=function(e){let{page:{seoTitle:t,seoDescription:n}={},children:o=null}=e,{publicRuntimeConfig:l}=r()(),{locale:v,locales:h,asPath:f}=(0,d.useRouter)(),g=(0,m.Z)(),b=(0,s.V)(l.brand),x=!l.genesys.v2;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:t||g("default.page.title")}),(0,i.jsx)("meta",{name:"description",content:n}),(0,i.jsx)("meta",{name:"robots",content:"index, follow"}),(0,i.jsx)("link",{rel:"icon",href:b.favicon.ico,sizes:"any"}),b.favicon.svg&&(0,i.jsx)("link",{rel:"icon",href:b.favicon.svg,type:"image/svg+xml"}),h&&h.filter(e=>e!==v).map(e=>{let t=(0,p.n)({languageCode:e,path:f});return(0,i.jsx)("link",{rel:"alternate",hrefLang:e,href:t},"default-link-".concat(e))})]}),(0,i.jsx)(c.PQ,{children:o}),x&&(0,i.jsx)(u.Z,{})]})}},88365:function(e,t,n){"use strict";n.d(t,{rI:function(){return h},q5:function(){return b},T:function(){return m},ko:function(){return s},r6:function(){return p},tk:function(){return v},Ky:function(){return u},I2:function(){return c},xk:function(){return g},NR:function(){return f}});var i=n(16310),o=n(86896),r=n(62662),l=n(36830);let a=e=>/^(?=(?:\D*\d){10})[\d\s+-]+$/.test(e);function d(){return{customerDataSchema:{...function(){let e=(0,l.Z)(),t=(0,i.Z_)().email(e("form.validation.emailValid")).matches(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/,e("form.validation.emailValid")).required(e("form.validation.emailRequired")),n=(0,i.Z_)().required(e("form.validation.firstNameRequired")),o=(0,i.Z_)().required(e("form.validation.lastNameRequired")),r=(0,i.Z_)().required(e("form.validation.phoneNumberRequired")).test("Valid phone number",e("form.validation.phoneNumberRequired"),e=>!e||a(e)),d=(0,i.Z_)().oneOf(["private","business","government"]).required(),c=(0,i.Z_)().required(e("form.validation.passwordRequired"));return{createPassword:(0,i.Z_)().required(e("form.validation.passwordRequired")).min(8,e("form.validation.passwordMinLength")),emailAddress:t,firstName:n,lastName:o,phoneNumber:r,fixamiType:d,password:c,passwordConfirm:(0,i.Z_)().oneOf([(0,i.iH)("password")],e("form.validation.passwordMatch")).required(e("form.validation.passwordRequired")),salutationId:(0,i.Z_)().required()}}()},addressSchema:{...function(){let e=(0,l.Z)(),t=(0,o.Z)(),n=(0,r.oK)(t.locale).country.streetNrIsRequired,a=(0,i.Z_)(),d=(0,i.Z_)().required(e("form.validation.streetRequired")).test("Check for @",e("form.validation.street.invalid"),e=>{if(!e.match(/(?:@)/))return!!e}),c=(0,i.Z_)(),u=(0,i.Z_)().required(e("form.validation.zipcodeRequired")).test("Validate zipcode valid region",e("form.validation.zipcodeRequired"),e=>e&&(0,r.X_)(t.locale)?(0,r.oK)(t.locale).country.zipcodeValidRegionCheck(e):!!e).test("Validate zipcode format",e("form.validation.zipcodeRequired"),e=>e&&(0,r.X_)(t.locale)?(0,r.oK)(t.locale).country.zipcodeCheck(e):!!e).test("Check for @",e("form.validation.zipcode.invalid"),e=>{if(!e.match(/(?:@)/))return!!e});return{countryId:a,street:d,streetAddition:c,zipcode:u,city:(0,i.Z_)().required(e("form.validation.cityRequired")).test("Check for @",e("form.validation.city.invalid"),e=>{if(!e.match(/(?:@)/))return!!e}),streetNr:n?(0,i.Rx)().default(void 0).typeError(e("form.validation.streetNrRequired")).test("streetNr",e("form.validation.streetNrRequired"),e=>{if(!e)return!1;let t=Math.floor(Number(e));return t===e&&t>=0}):(0,i.Rx)(),streetNrAddition:(0,i.Z_)()}}()},companySchema:{...function(){let e=(0,l.Z)(),t=(0,o.Z)(),n=(0,i.Z_)().test("fixamiType",e("form.validation.company.nameRequired"),(e,t)=>{var n,i;return(null==t?void 0:null===(i=t.from)||void 0===i?void 0:null===(n=i[1])||void 0===n?void 0:n.value.fixamiType)!=="business"||!!e});return{name:n,invoiceEmail:(0,i.Z_)().email(e("form.validation.emailValid")),vatId:(0,i.Z_)().test("fixamiType",e("form.validation.company.vatIdRequired"),(e,t)=>{var n,i;return(null==t?void 0:null===(i=t.from)||void 0===i?void 0:null===(n=i[1])||void 0===n?void 0:n.value.fixamiType)!=="business"||!!e}).test("vatIdIncorrect",e("form.validation.company.vatIdRequired"),(e,n)=>{var i,o;return(null==n?void 0:null===(o=n.from)||void 0===o?void 0:null===(i=o[1])||void 0===i?void 0:i.value.fixamiType)!=="business"||((0,r.X_)(t.locale)?!!e&&(0,r.oK)(t.locale).country.vatIdCheck(e):!!e)}),reference:(0,i.Z_)()}}()},governmentSchema:{...function(){let e=(0,l.Z)();return{name:(0,i.Z_)().test("fixamiType",e("form.validation.government.nameRequired"),(e,t)=>{var n,i,o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:null===(i=o[1])||void 0===i?void 0:null===(n=i.value)||void 0===n?void 0:n.fixamiType)!=="government"||!!e}),invoiceEmail:(0,i.Z_)().email(e("form.validation.emailValid")),reference:(0,i.Z_)()}}()},contactFormSchema:{...function(){let e=(0,l.Z)();return{subject:(0,i.Z_)().required(e("form.validation.subjectRequired")).notOneOf(["default"],e("form.validation.subjectRequired")),orderNumber:(0,i.Z_)(),question:(0,i.Z_)().required(e("form.validation.questionRequired")).max(500,e("help.contact.form.length"))}}()},checkoutSchema:{...function(){let e=(0,l.Z)();return{promotionCode:(0,i.Z_)().required(e("form.validation.promotionCodeRequired"))}}()}}}function c(){let{customerDataSchema:{emailAddress:e,password:t}}=d();return(0,i.Ry)({emailAddress:e,password:t}).required()}function u(){let{customerDataSchema:{emailAddress:e}}=d();return(0,i.Ry)({emailAddress:e}).required()}function s(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],{customerDataSchema:{emailAddress:t,createPassword:n,passwordConfirm:o,salutationId:r,firstName:l,lastName:a,phoneNumber:c,fixamiType:u},addressSchema:s,companySchema:m,governmentSchema:p}=d();return(0,i.Ry)({emailAddress:t,password:e?n:(0,i.Z_)(),passwordConfirm:e?o:(0,i.Z_)(),salutationId:r,address:(0,i.Ry)({...s}),alternateShippingAddress:(0,i.Ry)({...s,firstName:l,lastName:a}).notRequired().default(void 0),firstName:l,lastName:a,phoneNumber:c,fixamiType:u,company:(0,i.Ry)({...m}).notRequired().default(void 0),government:(0,i.Ry)({...p}).notRequired().default(void 0),newsletter:(0,i.O7)().default(!1).notRequired(),alternateShippingAddressCheckbox:(0,i.O7)()}).required()}function m(){let{customerDataSchema:{password:e,createPassword:t,passwordConfirm:n}}=d();return(0,i.Ry)({oldPassword:e,password:t,passwordConfirm:n}).required()}function p(){let{customerDataSchema:{firstName:e,lastName:t,emailAddress:n,phoneNumber:o},contactFormSchema:{subject:r,orderNumber:l,question:a}}=d();return(0,i.Ry)({subject:r,orderNumber:l,firstName:e,lastName:t,emailAddress:n,phoneNumber:o,question:a}).required()}function v(){let{customerDataSchema:{emailAddress:e,firstName:t,salutationId:n,lastName:o,phoneNumber:r,fixamiType:l},addressSchema:a,companySchema:c,governmentSchema:u}=d();return(0,i.Ry)({emailAddress:e,firstName:t,salutationId:n,lastName:o,address:(0,i.Ry)({...a}),alternateShippingAddress:(0,i.Ry)({...a,firstName:t,lastName:o}).notRequired().default(void 0),phoneNumber:r,fixamiType:l,newsletter:(0,i.O7)().default(!1).notRequired(),company:(0,i.Ry)({...c}).notRequired().default(void 0),government:(0,i.Ry)({...u}).notRequired().default(void 0)}).required()}function h(){let{customerDataSchema:{firstName:e,lastName:t,salutationId:n},addressSchema:o}=d();return(0,i.Ry)({firstName:e,lastName:t,address:(0,i.Ry)({...o}),salutationId:n}).required()}function f(){let{customerDataSchema:{emailAddress:e}}=d();return(0,i.Ry)({emailAddress:e}).required()}function g(){let{customerDataSchema:{createPassword:e,passwordConfirm:t}}=d();return(0,i.Ry)({password:e,passwordConfirm:t}).required()}function b(){let{checkoutSchema:{promotionCode:e}}=d();return(0,i.Ry)({promotionCode:e}).required()}},92703:function(e,t,n){"use strict";var i=n(50414);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,l){if(l!==i){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);