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]="727d1bd7-3483-4454-8e88-df824d506b73",e._sentryDebugIdIdentifier="sentry-dbid-727d1bd7-3483-4454-8e88-df824d506b73")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2760],{2450:(e,t,s)=>{"use strict";s.d(t,{s:()=>h});var r=s(95155),n=s(22544),i=s(88378),l=s(96288),a=s(20439),o=s(3152),u=s(31974),c=s(83376),d=s(25201),m=s(75307),p=s(76353),x=s(49894),f=s(35984);function h(e){let{selectedProduct:t,showPrice:s,name:h,selectableProducts:v,showMaterialName:j,checkIfDisabled:y}=e,{t:b}=(0,p.B)(),{control:k}=(0,n.xW)(),{isOutOfStock:g}=(0,m.l)(),{price:N}=(0,f.C)(t.sku),w=(0,x.u)(t.sku),P=(0,n.FH)({name:h,control:k});return(0,r.jsxs)(o.z,{children:[(0,r.jsxs)(c.n,{children:[(0,r.jsx)(u.v,{type:b.productPicker.color,titleVariant:s?"normal":"small",children:"".concat(t.color).concat(j?" - ".concat(null==t?void 0:t.material):"")}),s&&N&&(0,r.jsx)(l.t,{price:N,discountedPrice:w})]}),(0,r.jsx)(d.I,{children:v.map(e=>{let{color:t,sku:s}=e;return(0,r.jsx)(n.xI,{control:k,name:h,render:n=>{var l;let{field:o}=n,u=P===t,c=y?y(s):void 0,d=g(s);return(0,r.jsx)(a.a,{"aria-label":"".concat(t,", ").concat(N),dataCy:"color-".concat(t),isSelected:u,disabled:c,value:t,field:o,name:h,children:(0,r.jsx)(i.z,{color:t,colorImage:null==(l=e.materialAndColorPickers)?void 0:l.colorImage,scaleOnHover:!u,isOutOfStock:d})})}},t)})})]})}},3458:(e,t,s)=>{"use strict";s.d(t,{L:()=>c});var r=s(71983),n=s(95155),i=s(66060),l=s(85203),a=s.n(l),o=s(15684),u=s(7626);let c=e=>{var t;let{pickerImage:s,pickerImagePosition:l,isOutOfStock:c}=e;return(0,n.jsxs)("div",{className:a()("group relative flex w-full overflow-hidden rounded-[0.1rem]",{"h-[100px] items-center justify-center":"center"===l,"h-[80px] items-end justify-start":"left"===l,"h-[80px] items-end justify-end":"right"===l}),children:[c&&(0,n.jsx)(o.Q,{}),(0,n.jsx)(i._V,(0,r._)({className:a()("max-h-full w-auto scale-100 duration-300 ease-in group-hover:scale-105",{"opacity-50":c})},(0,i.sU)({alt:null!=(t=s.alt)?t:"Product illustration",sanityImage:s,sanityClient:u.D,options:{height:160,quality:100}})))]})}},4872:(e,t,s)=>{"use strict";s.d(t,{b:()=>u});var r=s(95155),n=s(56407),i=s(92003),l=s(66060),a=s(12115),o=s(76353);let u=e=>{let{promotionName:t,isIncluded:s,className:u}=e,{t:c}=(0,o.B)();return(0,r.jsx)(r.Fragment,{children:s?(0,r.jsx)(l.vw,{variant:"info-light",size:"large",className:u,children:(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(n.v,{size:14,className:"text-interaction-primary-hover"}),(0,r.jsx)("span",{children:t})]})}):(0,r.jsx)(l.vw,{variant:"themed-filled",size:"large",bgColorIntensity:3,className:u,children:(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(i.J,{size:14,className:"text-feedback-red-500"}),(0,r.jsx)("span",{children:c.mpf.notIncludedInOffer})]})})})}},8869:(e,t,s)=>{"use strict";s.d(t,{K:()=>l});var r=s(12115),n=s(4901),i=s(87035);function l(e,t){return(0,r.useMemo)(()=>{let s=(0,i._W)(e.filter(n.tD));return(0,i._l)(t)?(0,i.ed)(s,t.layout):Object.values((0,i.fQ)(s))},[e,t])}},12287:(e,t,s)=>{"use strict";s.d(t,{Q:()=>u});var r=s(95155),n=s(53567),i=s(66060),l=s(58714),a=s(76353),o=s(14646);function u(e){let{expectedRestockDate:t,className:s}=e,{t:u}=(0,a.B)(),{country:c}=(0,l.$D)();return(0,r.jsx)(i.Fc,{variant:"outlined",className:s,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.vw,{variant:"themed-outlined",children:[(0,r.jsx)(n.t,{className:"text-pen-red"}),(0,r.jsx)("span",{children:u.common.outOfStock})]}),(0,r.jsx)(i.Fc.Message,{children:t?u.common.outOfStockMessageWithRestockDate((0,o.LO)(t,c)):u.common.outOfStockMessage})]})})}},15085:(e,t,s)=>{"use strict";s.d(t,{YotpoScript:()=>a});var r=s(95155),n=s(68321);s(12115);var i=s(5641),l=s(9044);let a=()=>{let{variant:e,consent:t}=(0,i.S)();return(0,r.jsx)(n.default,{async:!0,id:"rm-yotpo-script",type:"text/javascript",src:"https://cdn-widgetsrepository.yotpo.com/v1/loader/".concat("uR9LFVfpoKksBtOduFhdvVyI71mNAkMNJz7HRGe4").concat("optIn"===e?"?preventCookies=true":""),onReady:()=>{var e,t,s;null==(s=window)||null==(t=s.yotpoWidgetsContainer)||null==(e=t.initWidgets)||e.call(t)},onLoad:()=>{"optIn"===e&&t&&(0,l.A)(t)}})}},15684:(e,t,s)=>{"use strict";s.d(t,{Q:()=>n});var r=s(95155);function n(){return(0,r.jsx)("svg",{viewBox:"0 0 200 100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-divider-muted absolute h-full w-full",children:(0,r.jsx)("line",{x1:0,y1:100,x2:200,y2:0,stroke:"currentColor",strokeWidth:"2",vectorEffect:"non-scaling-stroke"})})}},31974:(e,t,s)=>{"use strict";s.d(t,{v:()=>o});var r=s(95155),n=s(66060),i=s(85203),l=s.n(i),a=s(12115);let o=e=>{let{type:t,children:s,titleVariant:i="small"}=e,[o,u]=(0,a.useState)(s);(0,a.useEffect)(()=>{let e=setTimeout(()=>{u(s)},150);return()=>clearTimeout(e)},[s]);let c=s!==o;return(0,r.jsxs)(n.o5,{variant:"small"===i?"body-md":"body-lg",fontWeight:"semibold",className:"flex flex-wrap gap-x-8",children:[(0,r.jsx)("span",{children:t}),s&&(0,r.jsxs)("span",{className:"grid",children:[(0,r.jsx)("span",{className:l()("text-muted col-start-1 row-start-1 font-semibold",{"animate-fade-in":!c}
1,{"animate-fade-out":c}),children:o}),(0,r.jsx)("span",{className:l()("text-muted col-start-1 row-start-1 font-semibold transition duration-300",{"animate-fade-in":c},{"animate-fade-out":!c}),children:s})]})]})}},35148:(e,t,s)=>{"use strict";s.d(t,{X:()=>c});var r=s(71983),n=s(95155),i=s(66060),l=s(85203),a=s.n(l),o=s(15684),u=s(7626);let c=e=>{var t;let{pickerImage:s,isOutOfStock:l}=e;return(0,n.jsxs)("div",{className:"group relative flex h-full items-start justify-start overflow-hidden p-0",children:[l&&(0,n.jsx)(o.Q,{}),(0,n.jsx)(i._V,(0,r._)({className:a()("aspect-square scale-100 duration-300 ease-in-out group-hover:max-w-full group-hover:scale-105",{"opacity-50":l})},(0,i.sU)({alt:null!=(t=s.alt)?t:"Product illustration",sanityImage:s,sanityClient:u.D,options:{width:300,quality:100}})))]})}},35984:(e,t,s)=>{"use strict";s.d(t,{C:()=>c});var r=s(71983),n=s(45849),i=s(72279),l=s(58714),a=s(76353),o=s(14646),u=s(87261);let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{t:s}=(0,a.B)(),{sanityCountry:c}=(0,l.$D)(),{getProductBySku:d}=(0,i.t)();if(c.disableWebshop)return{price:void 0,discountedPrice:void 0};let m=d(e),p=null==m?void 0:m.price,x=null==m?void 0:m.discountedPrice;return(null==m?void 0:m.discontinued)||!(0,u.O)(p)?{price:void 0,discountedPrice:void 0}:{price:(0,o.a7)(s,(0,n._)((0,r._)({},p),{amount:p.amount*t}),c,!0),discountedPrice:(0,u.O)(x)&&x.amount<p.amount?(0,o.a7)(s,(0,n._)((0,r._)({},x),{amount:x.amount*t}),c,!0):void 0}}},49894:(e,t,s)=>{"use strict";s.d(t,{u:()=>c});var r=s(71983),n=s(45849),i=s(72279),l=s(58714),a=s(76353),o=s(14646),u=s(87261);let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{t:s}=(0,a.B)(),{sanityCountry:c}=(0,l.$D)(),{getProductBySku:d}=(0,i.t)();if(c.disableWebshop)return;let m=d(e),p=null==m?void 0:m.discountedPrice;if((null==m||!m.discontinued)&&(0,u.O)(p))return(0,u.O)(p)?(0,o.a7)(s,(0,n._)((0,r._)({},p),{amount:p.amount*t}),c,!0):void 0}},66051:(e,t,s)=>{"use strict";s.d(t,{Bv:()=>m,WT:()=>d,mZ:()=>p});let r=["AU","BG","CA","HR","CY","EE","GR","HK","HU","IS","JP","IL","LV","LT","MT","NL","NZ","PL","RO","QA","SG","SK","SI","KR","TW","MY","VN","EG","PK","SA","PH","TR","ID","IN","US","AE","TH"],n=["GB","JE","IE","CZ"],i=["CH","LU","LI","DE","AT"],l=["AR","MX","BR","ES","PT","IC"],a=["FR","BE"],o=["SE","NO","FI","DK"],u={US:"English - US",UK:"English - UK",DE:"German - DE",ES:"Spanish - ES",FR:"French - FR",NO:"Nordic - SE/DK/NO/FI",IT:"Italian - IT"},c=[{sku:"RM08B-1000NW",layout:"NO",title:u.NO,countries:o},{sku:"RM08B-1001NW",layout:"ES",title:u.ES,countries:l},{sku:"RM08B-1002NW",layout:"US",title:u.US,countries:r},{sku:"RM08B-1003NW",layout:"UK",title:u.UK,countries:n},{sku:"RM08B-1004NW",layout:"IT",title:u.IT,countries:["IT"]},{sku:"RM08B-1005NW",layout:"FR",title:u.FR,countries:a},{sku:"RM08B-1006NW",layout:"DE",title:u.DE,countries:i},{sku:"RM710",layout:"US",title:u.US,countries:r},{sku:"RM711",layout:"UK",title:u.UK,countries:n},{sku:"RM712",layout:"DE",title:u.DE,countries:i},{sku:"RM713",layout:"ES",title:u.ES,countries:[...l,"IT"]},{sku:"RM714",layout:"FR",title:u.FR,countries:a},{sku:"RM715",layout:"NO",title:u.NO,countries:o},{sku:"RM810",layout:"US",title:u.US,countries:r},{sku:"RM811",layout:"UK",title:u.UK,countries:n},{sku:"RM812",layout:"DE",title:u.DE,countries:i},{sku:"RM813",layout:"ES",title:u.ES,countries:[...l,"IT"]},{sku:"RM814",layout:"FR",title:u.FR,countries:a},{sku:"RM815",layout:"NO",title:u.NO,countries:o}];function d(e){return!!e&&c.some(t=>t.sku===e)}function m(e){return e.startsWith("RM08B")?"basalt":e.startsWith("RM7")?"brown":e.startsWith("RM8")?"black":void 0}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"black",s=c.filter(e=>m(e.sku)===t).find(t=>t.countries.includes(e));if(!s){var r;return null==(r=c.find(e=>m(e.sku)===t))?void 0:r.sku}return s.sku}},75446:(e,t,s)=>{"use strict";s.d(t,{P:()=>a,s:()=>o});var r=s(95155),n=s(66060),i=s(76353),l=s(35123);let a=e=>{let{min:t,max:s}=e,{t:a}=(0,i.B)();return(0,r.jsxs)(n.Fc.Message,{children:["Due to high demand, orders including this product will take up to ",(0,r.jsx)("b",{children:(0,l.fX)(a,t,s)})," to be delivered."]})},o=e=>{let{min:t,max:s}=e;return(0,r.jsx)(n.Fc,{className:"mt-8",variant:"outlined",children:(0,r.jsx)(a,{min:t,max:s})})}},83376:(e,t,s)=>{"use strict";s.d(t,{n:()=>l});var r=s(95155),n=s(85203),i=s.n(n);let l=e=>{let{spacingVariant:t,children:s}=e;return(0,r.jsx)("legend",{className:i()("float-left m-0 mb-12 flex w-full",{"md:mb-8":"small"===t,"md:mb-12":"small"!==t}),children:(0,r.jsx)("div",{className:"flex w-full items-end justify-between gap-16 md:flex-row",children:s})})}},83467:(e,t,s)=>{"use strict";s.d(t,{$h:()=>m,FZ:()=>d,Uy:()=>c,qm:()=>o});var r=s(24805),n=s(87261),i=s(88672),l=s(22630),a=s(96114),o=function(e){return e[e.LAST_PAYMENT="".concat(r.XN)]="LAST_PAYMENT",e.LAST_VISITED_PRODUCT_TAB="lastVisitedProductTab",e}({});function u(){if(!(0,i.B)())return!1;try{let e="test_sessionStorage_key";return window.sessionStorage.setItem(e,""),window.sessionStorage.removeItem(e),!0}catch(e){return a.Vy.warn({category:a.Vy.Category.BREADCRUMB_DEBUG,message:"Access denied to sessionStorage",exception:(0,l.L)(e)}),!1}}function c(e,t){if(!u())return;let s=window.sessionStorage.getItem(e);if(!(0,n.O)(s))return;let r=JSON.parse(s);if(t(r))return r}function d(e,t){if(!u())return;let s=JSON.stringify(t);window.sessionStorage.setItem(e,s)}function m(e){u()&&window.sessionStorage.removeItem(e)}},87035:(e,t,s)=>{"use strict";s.d(t,{ED:()=>a,_W:()=>l,_l:()=>c,ed:()=>u,fQ:()=>o});var r=s(71983),n=s(45849),i=s(87261);function l(e){return e.reduce((e,t)=>
1{let s=e[t.color];return(0,n._)((0,r._)({},e),{[t.color]:(0,i.O)(s)?[...s,t]:[t]})},{})}function a(e){return e.reduce((e,t)=>{let s=e[t.material];return(0,n._)((0,r._)({},e),{[t.material]:(0,i.O)(s)?[...s,t]:[t]})},{})}function o(e){return Object.keys(e).reduce((t,s)=>(0,n._)((0,r._)({},t),{[s]:e[s][0]}),{})}function u(e,t){return Object.values(Object.entries(e).reduce((e,s)=>{var i;let[l,a]=s;return(0,n._)((0,r._)({},e),{[l]:null!==(i=a.find(e=>"type-folio"===e.productType&&e.layout===t))&&void 0!==i?i:a[0]})},{}))}function c(e){return(0,i.O)(e)&&"type-folio"===e.productType}},88378:(e,t,s)=>{"use strict";s.d(t,{z:()=>d});var r=s(71983),n=s(95155),i=s(66060),l=s(85203),a=s.n(l),o=s(15684),u=s(7626),c=s(742);let d=e=>{let{color:t,colorImage:s,scaleOnHover:l,isOutOfStock:d}=e;return(0,n.jsxs)("div",{className:"group relative h-full w-full",children:[d&&(0,n.jsx)(o.Q,{}),(0,c.t)(t)&&!s?(0,n.jsx)("div",{className:a()("mx-auto my-24 h-32 w-32 shrink-0 scale-100 rounded-full transition-all duration-300 ease-in-out",(0,c.t)(t),{"opacity-50":d,"group-hover:scale-105":l})}):(0,n.jsx)(n.Fragment,{children:s&&(0,n.jsx)(i._V,(0,r._)({className:a()("object-cove mx-auto my-24 aspect-square h-32 w-32 shrink-0 scale-100 overflow-hidden rounded-full transition-all duration-300 ease-in-out",{"opacity-50":d,"group-hover:scale-105":l})},(0,i.sU)({alt:"",sanityImage:s,sanityClient:u.D,options:{width:32,quality:100}})))})]})}},89240:(e,t,s)=>{"use strict";s.d(t,{i:()=>c});var r=s(71983),n=s(45849),i=s(95155),l=s(66060),a=s(22544),o=s(75307),u=s(76353);function c(e){let{availableProducts:t,name:s}=e,{t:c}=(0,u.B)(),{register:d,control:m}=(0,a.xW)(),{isOutOfStock:p}=(0,o.l)(),x=(0,a.FH)({name:s,control:m});return(0,i.jsxs)("div",{children:[(0,i.jsx)(l.o5,{variant:"body-md",fontWeight:"semibold",className:"mt-24 mb-12",children:(0,i.jsx)("span",{children:c.productPicker.keyboard})}),(0,i.jsx)(l.l6,(0,n._)((0,r._)({"aria-label":"keyboard-language",className:"bg-neutral-light-3 [&>select]:text-16 rounded [&>select]:h-64 [&>select]:cursor-pointer [&>select]:border-0 [&>select]:p-20 [&>select]:font-medium [&>select]:shadow-none [&>svg]:right-20",defaultValue:x},d(s)),{children:t.map(e=>{let t=p(e.sku)&&!e.discontinued;return(0,i.jsxs)("option",{value:e.layout,disabled:p(e.sku)||e.discontinued,children:[e.layout,e.discontinued&&" (".concat(c.common.discontinued,")"),t&&" (".concat(c.common.outOfStock,")")]},e.layout)})}),t.map(e=>e.sku).join())]})}},93047:(e,t,s)=>{Promise.resolve().then(s.bind(s,66883)),Promise.resolve().then(s.bind(s,96949)),Promise.resolve().then(s.bind(s,59947)),Promise.resolve().then(s.bind(s,60672)),Promise.resolve().then(s.bind(s,96232)),Promise.resolve().then(s.bind(s,28087)),Promise.resolve().then(s.bind(s,15028)),Promise.resolve().then(s.bind(s,93686)),Promise.resolve().then(s.bind(s,45082)),Promise.resolve().then(s.bind(s,95028)),Promise.resolve().then(s.bind(s,98061)),Promise.resolve().then(s.t.bind(s,41402,23)),Promise.resolve().then(s.bind(s,99155)),Promise.resolve().then(s.bind(s,1426)),Promise.resolve().then(s.bind(s,10042)),Promise.resolve().then(s.bind(s,75307)),Promise.resolve().then(s.bind(s,15085))},96288:(e,t,s)=>{"use strict";s.d(t,{t:()=>o});var r=s(95155),n=s(66060),i=s(85203),l=s.n(i),a=s(12115);let o=e=>{let{leftNode:t,price:s,discountedPrice:i,direction:o="row"}=e,[u,c]=(0,a.useState)(s),[d,m]=(0,a.useState)(i),[p,x]=(0,a.useState)(t);return(0,a.useEffect)(()=>{let e=setTimeout(()=>{c(s),m(i),x(t)},150);return()=>clearTimeout(e)},[s,i,t]),(0,r.jsxs)("div",{className:l()("flex items-center",{"flex-row flex-wrap justify-end gap-x-8":"row"===o,"flex-col":"column"===o}),children:[(0,r.jsxs)("div",{className:l()("grid justify-end justify-self-center"),children:[(0,r.jsx)("span",{className:l()("col-start-1 row-start-1 justify-self-end",{"animate-fade-in-slow":t===p&&"row"===o},{"animate-fade-out-slow":t!==p&&"row"===o}),children:p}),(0,r.jsx)("span",{className:l()("col-start-1 row-start-1 justify-self-end",{"animate-fade-in-slow":t!==p&&"row"===o},{"animate-fade-out-slow":t===p&&"row"===o}),children:t})]}),i&&(0,r.jsxs)(n.o5,{variant:"body-md",className:l()("text-muted grid justify-end justify-self-center leading-[1.25] font-semibold line-through"),children:[(0,r.jsx)("span",{className:l()("col-start-1 row-start-1 justify-self-end",{"animate-fade-in":s===u&&"row"===o}
1,{"animate-fade-out":s!==u&&"row"===o}),children:u}),(0,r.jsx)("span",{className:l()("col-start-1 row-start-1 justify-self-end",{"animate-fade-in":s!==u&&"row"===o},{"animate-fade-out":s===u&&"row"===o}),children:s})]}),(0,r.jsxs)(n.o5,{variant:"body-lg",fontWeight:"semibold",className:"grid justify-end",children:[(0,r.jsx)("span",{className:l()("col-start-1 row-start-1 justify-self-end",{"animate-fade-in":s===u&&"row"===o},{"animate-fade-out":s!==u&&"row"===o}),children:i?d:u}),(0,r.jsx)("span",{className:l()("col-start-1 row-start-1 justify-self-end",{"animate-fade-in":s!==u&&"row"===o},{"animate-fade-out":s===u&&"row"===o}),children:i||s})]})]})}},99155:(e,t,s)=>{"use strict";s.d(t,{ProductPage:()=>e0});var r=s(95155),n=s(58714),i=s(75307),l=s(50789),a=s(49354),o=s(12115),u=s(72279),c=s(77924);let d=e=>{var t;let{sanityCountry:s,countryHasBeenSet:r,region:i}=(0,n.$D)(),l=(0,u.t)(),a=null==(t=l.getProductBySku(e))?void 0:t.price,d=(0,o.useRef)(!1);(0,o.useEffect)(()=>{!d.current&&r&&a&&((0,c.vI)({sku:e,country:s.isoCodeAlpha2,price:a,county:i,commonProducts:l}),d.current=!0)},[l,r,i,s,e,a])};var m=s(33061),p=s(71983),x=s(45849),f=s(76353),h=s(66060),v=s(85203),j=s.n(v),y=s(75446),b=s(4872),k=s(55359),g=s(42959),N=s(87261),w=s(9683);let P=e=>{let{badgeText:t,infoText:s,shippingTime:n,className:i}=e,l=(0,N.O)(n)&&(0,k.s)(n);return(0,r.jsxs)(h.Fc,{className:j()("mt-20 leading-150",i),variant:"outlined",children:[t&&(0,r.jsx)(b.b,{promotionName:t,isIncluded:!0,className:"text-body-sm"}),s&&(0,r.jsx)(g.PortableTextWithDefaults,{value:s,components:w.B}),s&&l&&(0,r.jsx)(h.cG,{}),l&&(0,r.jsx)(y.P,{min:n.minDays,max:n.maxDays})]})};var S=s(42257),_=s(22544),T=s(78204),I=s(76396),O=s(35123),D=s(21681),M=s(4901),C=s(46107),R=s(56225),W=s(28343),E=s(56523),F=s(63571),B=s(86864),A=s(94856);let L=e=>{let{children:t,defaultValues:s,defaultValuesFromQuery:n,onSkuChange:l,componentLocation:a,selectableProducts:u,pickerVisibility:c}=e,{incrementQuantity:m}=(0,E._)(),{setIsCartOpen:f}=(0,W.B)(),{isOutOfStock:h}=(0,i.l)(),v=(0,_.mN)({defaultValues:s}),[j,y,b,k,g]=(0,_.FH)({control:v.control,name:["sku","material","color","layout","productGroup"]}),N=(0,o.useCallback)(e=>{v.setValue("sku",e),l(e)},[v,l]);return(0,o.useEffect)(()=>{let e=u.find(e=>e.sku===j);if((null==e?void 0:e.productGroup)!==g){let t=u.find(e=>e.productGroup===g);if(t){N(t.sku),(0,M.tD)(t)&&(0,M.tD)(e)&&e.color!==t.color&&v.setValue("color",t.color);return}}if((0,M.tD)(e)){if((null==e?void 0:e.material)!==y){let e=u.find(e=>(0,M.tD)(e)&&e.productGroup===g&&e.material===y);if((0,M.tD)(e)){N(e.sku),v.setValue("color",e.color);return}}if((null==e?void 0:e.color)!==b){let e=u.find(e=>(0,M.tD)(e)&&e.productGroup===g&&(!(0,A.ER)(c)||!c.showProductMaterials||e.material===y)&&e.color===b&&(!(0,M.WT)(e)||e.layout===k));if((0,M.tD)(e)){N(e.sku),e.material!==y&&v.setValue("material",e.material);return}}}if((0,M.WT)(e)&&(null==e?void 0:e.layout)!==k){let e=u.find(e=>(0,M.WT)(e)&&e.productGroup===g&&(!(0,A.ER)(c)||!c.showProductMaterials||e.material===y)&&e.color===b&&e.layout===k);if(e)return void N(e.sku)}},[b,k,y,v,c,g,u,j,N]),(0,o.useEffect)(()=>{n&&n.sku!==j&&!v.formState.isDirty&&(l(n.sku),v.reset(n))},[n,v,l,j]),(0,I.m)(j,j!==s.sku),d(j),(0,r.jsx)(_.Op,(0,x._)((0,p._)({},v),{children:(0,r.jsxs)("form",{onSubmit:v.handleSubmit(e=>{h(e.sku)||(F.F.trackEvent(new C.y5({component_location:a,text:"Buy now",sku:j,button_type:B.E.PURCHASE.ADD_TO_CART})),m(e.sku,Number(e.amount)),f(!0))}),className:"space-y-32",children:[(0,r.jsx)(R.t,{name:"sku",value:j,required:!0}),t]})}))};var G=s(53567);function V(){let{t:e}=(0,f.B)();return(0,r.jsx)(h.Fc,{variant:"outlined",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.vw,{variant:"themed-outlined",children:[(0,r.jsx)(G.t,{className:"text-pen-red"}),(0,r.jsx)("span",{children:e.common.discontinued})]}),(0,r.jsx)(h.Fc.Message,{children:e.common.discontinuedMessage})]})})}var U=s(12287),K=s(3458),H=s(96288),Q=s(20439),q=s(3152),z=s(31974),$=s(83376),J=s(25201),X=s(35984);function Y(e){let{name:t,options:s,selectedSku:n,legend:i,outOfStockProductGroupNames:l}=e,{t:a}=(0,f.B)(),o=null!=i?i:a.productPicker.model,{control:u}=(0,_.xW)(),c=(0,_.FH)({name:t,control:u}),{price:d,discountedPrice:m}=(0,X.C)(n);return(0,r.jsxs)(q.z,{children:[(0,r.jsxs)($.n,{children:[(0,r.jsx)(z.v,{titleVariant:"normal",type:o,children:c}),d&&(0,r.jsx)(H.t,{price:d,discountedPrice:m})]}),(0,r.jsx)(J.I,{children:Object.values(s).map(e=>(0,r.jsx)(_.xI,{control:u,name:t,render:s=>{var n;let{field:i}=s,a=e.name===c,o=l.includes(e.name);return(0,r.jsx)(Q.a,{"aria-label":"".concat(e.name,", ").concat(d),isSelected:a,value:e.name,field:i,name:t,children:e.pickerImage&&(0,r.jsx)(K.L,{isOutOfStock:o,pickerImage:e.pickerImage,pickerImagePosition:null!=(n=e.pickerImagePosition)?n:"center"})})}},e.name))})]})}let Z=e=>{var t,s;let{productGroups:n,productPage:l}=e,{control:a}=(0,_.xW)(),{isOutOfStock:o}=(0,i.l)(),u=(0,_.FH)({name:"productGroup",control:a}),c=null==(t=n.find(e=>e.name===u))?void 0:t.description,d=(0,_.FH)({name:"sku",control:a});return(0,r.jsxs)("div",{className:"space-y-16",children:[(0,r.jsx)(Y,{name:"productGroup",selectedSku:d,options:n.map(e=>({name:e.name,pickerImage:e.pickerImage,pickerImagePosition:e.pickerImagePosition}
1)),legend:null!=(s=l.productGroupLegend)?s:void 0,outOfStockProductGroupNames:n.filter(e=>e.products.every(e=>o(e.sku))).map(e=>e.name)}),c&&(0,r.jsx)(h.Fc,{variant:"outlined",children:(0,r.jsx)(g.PortableTextWithDefaults,{value:c,components:w.B})})]})};var ee=s(37708),et=s(89329),es=s(72207),er=s(26025);let en=e=>{let{sanityCountry:t,productGroups:s,selectableProducts:n}=e,{isOutOfStock:l}=(0,i.l)(),{accessoryLimit:a}=(0,es.f)(),{t:o}=(0,f.B)(),c=(0,E._)(),{setIsCartOpen:d}=(0,W.B)(),{skuHasProductType:m}=(0,u.t)(),{control:v}=(0,_.xW)(),j=(0,_.FH)({name:"sku",control:v}),y=t.disableWebshop&&((e,t)=>{var s;let r=null==(s=e.find(e=>e.sku===t))?void 0:s.thirdPartyStoreLink;return(0,N.O)(r)?r:void 0})(s.flatMap(e=>e.products),j);if(y)return(0,r.jsx)(et.y,(0,x._)((0,p._)({},y),{buttonClassName:"mt-32 self-start"}));let b=n.find(e=>e.sku===j);return t.disableWebshop||(null==b?void 0:b.discontinued)?(0,r.jsx)(ee.t,{}):l(j)?(0,r.jsx)(h.$n,{type:"button",variant:"primary",size:"fluid",disabled:!0,children:o.common.outOfStock}):(0,er.X9)(c.data,m)>=a.limit?(0,r.jsx)(h.$n,{variant:"primary",type:"button",className:"mt-32 self-start",onClick:()=>d(!0),children:o.common.addToCart}):(0,r.jsx)(h.$n,{type:"submit",variant:"primary",size:"fluid",children:o.common.addToCart})};var ei=s(87035),el=s(8869),ea=s(89240),eo=s(2450),eu=s(35148);function ec(e){var t,s,n;let{selectedProduct:i,showPrice:l,name:a,selectableProducts:o,outOfStockMaterials:u}=e,{t:c}=(0,f.B)(),{control:d}=(0,_.xW)(),{price:m,discountedPrice:p}=(0,X.C)(i.sku),x=(0,_.FH)({name:a,control:d}),v=null!=(n=c.productPicker.materialNames[x])?n:x;return(0,r.jsxs)("div",{className:"space-y-16",children:[(0,r.jsxs)(q.z,{children:[(0,r.jsxs)($.n,{children:[(0,r.jsx)(z.v,{type:c.productPicker.material,titleVariant:l?"normal":"small",children:v}),l&&m&&(0,r.jsx)(H.t,{price:m,discountedPrice:p})]}),(0,r.jsx)(J.I,{children:o.map(e=>{let t=u.includes(e.material);return(0,r.jsx)(_.xI,{control:d,name:a,render:s=>{var n;let{field:i}=s,l=x===e.material;return(0,r.jsx)(Q.a,{"aria-label":"".concat(v,", ").concat(m),isSelected:l,value:e.material,field:i,name:a,children:(null==(n=e.materialAndColorPickers)?void 0:n.materialImage)&&(0,r.jsx)(eu.X,{pickerImage:e.materialAndColorPickers.materialImage,isOutOfStock:t})})}},e.material)})})]}),(null==(t=i.materialAndColorPickers)?void 0:t.materialInfobox)&&(0,r.jsx)(h.Fc,{variant:"outlined",children:(0,r.jsx)(g.PortableTextWithDefaults,{value:null==(s=i.materialAndColorPickers)?void 0:s.materialInfobox,components:w.B})})]})}let ed=e=>{let{header:t,description:s,formattedPrice:n,className:i}=e;return(0,r.jsxs)(h.o5,{variant:"body-lg",fontWeight:"semibold",className:j()("flex justify-between",i),children:[(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{children:t}),(0,r.jsx)("span",{className:"text-muted ml-8",children:s})]}),n&&(0,r.jsx)("span",{className:"ml-8",children:n})]})};function em(e){let{options:t,selectedProduct:s,name:n}=e,{t:i}=(0,f.B)(),{register:l,control:a}=(0,_.xW)(),o=(0,_.FH)({name:n,control:a}),{price:u}=(0,X.C)(s.sku,o);return t&&s.name?(0,r.jsxs)("div",{children:[(0,r.jsx)(ed,{description:s.name,formattedPrice:u,header:i.productPicker.product}),(0,r.jsx)(h.l6,(0,x._)((0,p._)({"aria-label":"Select quantity",className:"bg-neutral-light-3 [&>select]:text-16 mt-12 rounded [&>select]:h-64 [&>select]:cursor-pointer [&>select]:border-0 [&>select]:p-20 [&>select]:font-medium [&>select]:shadow-none [&>svg]:right-20"},l(n,{valueAsNumber:!0})),{children:t.map(e=>(0,r.jsx)("option",{value:e.amount,"aria-label":"".concat(e.name,", ").concat(u),children:e.name},e.name))}))]}):null}var ep=s(49894);function ex(e){let{product:t}=e,{t:s}=(0,f.B)(),{price:n}=(0,X.C)(t.sku),i=(0,ep.u)(t.sku,1);return(0,r.jsxs)("div",{className:"border-paper-6 my-32 flex w-full flex-row items-center justify-between space-x-8 border-y py-16",children:[(0,r.jsxs)("div",{className:"flex flex-row gap-8",children:[(0,r.jsx)(h.o5,{variant:"fluid-body-xs",as:"span",fontWeight:"semibold",children:s.productPicker.model}),(0,r.jsx)(h.o5,{variant:"fluid-body-xs",as:"span",fontWeight:"semibold",className:"text-muted",children:t.name})]}),n&&(0,r.jsx)(h.o5,{variant:"fluid-body-xs",fontWeight:"semibold",as:"span",className:j()({"text-muted ml-auto line-through":i}),children:n}),i&&(0,r.jsx)(h.o5,{variant:"fluid-body-xs",fontWeight:"semibold",as:"span",children:i})]})}let ef=e=>{let{selectedProduct:t,pickerVisibility:s,selectableProducts:n}=e,{control:l}=(0,_.xW)(),{isOutOfStock:a}=(0,i.l)(),[u,c,d]=(0,_.FH)({control:l,name:["color","productGroup","material"]}),m=n.filter(e=>e.productGroup===c),p=function(e,t,s){return(0,o.useMemo)(()=>Object.values(Object.entries((0,ei.ED)(e)).reduce((e,r)=>
1{let[n,i]=r,l=i.find(e=>e.sku===t.sku);if(l)e[n]=l;else{let t=i.find(e=>!s(e.sku));e[n]=null!=t?t:i[0]}return e},{})),[e,t.sku,s])}(m,t,a),x=(0,el.K)(m.filter(e=>!s.showProductMaterials||e.material===d),t),f=m.filter(e=>e.color===u&&e.material===d).filter(M.WT);return(0,r.jsxs)(r.Fragment,{children:[s.showProductMaterials&&(0,r.jsx)(ec,{name:"material",showPrice:!s.showProductGroups,selectedProduct:t,selectableProducts:p,outOfStockMaterials:(0,A.Jp)(m,a)}),s.showProductColors&&(0,r.jsx)(eo.s,{name:"color",showMaterialName:!s.showProductMaterials&&!s.showKeyboardLanguage,showPrice:!s.showProductMaterials&&!s.showProductGroups,selectedProduct:t,selectableProducts:x}),s.showKeyboardLanguage&&(0,ei._l)(t)&&(0,r.jsx)(ea.i,{availableProducts:f,name:"layout"})]})},eh=e=>{let{productQuantity:t,pickerVisibility:s,selectableProducts:n}=e,{control:i}=(0,_.xW)(),l=(0,_.FH)({control:i,name:"sku"}),a=n.find(e=>e.sku===l);if(!a||!1===s.showVariantPicker)return null;if((0,A.us)(s))if((0,N.O)(t))return(0,r.jsx)(em,{options:t,selectedProduct:a,name:"amount"});else throw Error("Product page: productQuantity was expected to have a value");return(0,A.t5)(s)?(0,r.jsx)(ex,{product:a}):(0,M.tD)(a)?(0,r.jsx)(ef,{pickerVisibility:s,selectableProducts:n.filter(M.tD),selectedProduct:a}):null},ev=e=>{let{infoBox:t,className:s}=e,{isOutOfStock:l,getExpectedRestockDate:a}=(0,i.l)(),{country:o,countryHasBeenSet:c}=(0,n.$D)(),d=(0,T.i)(),{getProductBySku:m}=(0,u.t)(),{control:p}=(0,_.xW)(),[x,f]=(0,_.FH)({control:p,name:["sku","amount"]}),h=(0,O.u5)(D.ej.express,o,c,[{sku:x,quantity:f}],d),v=m(x);return(null==v?void 0:v.discontinued)?(0,r.jsx)(V,{}):l(x)?(0,r.jsx)(U.Q,{expectedRestockDate:a(x),className:s}):(0,N.O)(t)?(0,r.jsx)(P,{badgeText:t.badgeText,infoText:t.infoText,shippingTime:h}):null};function ej(e){let{productGroups:t,productPage:s,setCarouselImages:l,pickerVisibility:a,defaultProductSku:u}=e,{sanityCountry:c,country:d}=(0,n.$D)(),{isOutOfStock:m}=(0,i.l)(),f=(0,N.O)(s.infoBox)?s.infoBox.find(e=>{var t;return null==(t=e.countries)?void 0:t.includes(d)}):void 0,h=(0,o.useCallback)(e=>{var s,r;return l(null!=(r=null==(s=t.flatMap(e=>e.products).find(t=>t.sku===e))?void 0:s.images)?r:[])},[t,l]),v=(0,I.q)(t.flatMap(e=>e.products.map(e=>e.sku))),j=(0,o.useMemo)(()=>t.flatMap(e=>e.products.map(t=>{if((0,M.tD)(t)){let s={color:t.color,material:t.material,materialAndColorPickers:t.materialAndColorPickers};return(0,M.WT)(t)?(0,x._)((0,p._)({productGroup:e.name,productType:t.productType,sku:t.sku,name:t.name,discontinued:t.discontinued},s),{layout:t.keyboardLanguage}):(0,p._)({productGroup:e.name,productType:t.productType,sku:t.sku,name:t.name,discontinued:t.discontinued},s)}return{productGroup:e.name,productType:t.productType,sku:t.sku,name:t.name,discontinued:t.discontinued}})),[t]),y=(0,o.useCallback)((e,t)=>{var s;let r=e=>!m(e),n=j.find(t=>t.sku===e);if(n&&(!t||r(n.sku)&&!n.discontinued))return(0,x._)((0,p._)({},n),{amount:1});let i=null!=(s=j.find(e=>r(e.sku)&&!e.discontinued))?s:j[0];return(0,x._)((0,p._)({},i),{amount:1})},[j,m]);return(0,r.jsxs)(L,{pickerVisibility:a,defaultValues:y(u,!0),defaultValuesFromQuery:v?y(v,!1):void 0,selectableProducts:j,onSkuChange:h,componentLocation:s.componentLocation,children:[a.showProductGroups&&t&&(0,r.jsx)(Z,{productGroups:t,productPage:s}),a.showVariantPicker&&(0,r.jsx)(eh,{productQuantity:s.productQuantity,selectableProducts:j,pickerVisibility:a}),(0,r.jsx)(ev,{infoBox:f,className:"-mt-16"}),(0,r.jsx)(en,{sanityCountry:c,productGroups:t,selectableProducts:j})]})}var ey=s(33773),eb=s(51375),ek=s(66099),eg=s(83467);let eN=e=>"string"==typeof e&&/^\/shop\/all(\/.*)?$/.test(e),ew=()=>{let{t:e}=(0,f.B)(),t=(0,eg.Uy)(eg.qm.LAST_VISITED_PRODUCT_TAB,eN);return(0,r.jsxs)("div",{className:"md:mt-responsive-1/2x mt-16 mb-16 flex w-fit items-center gap-8",children:[(0,r.jsx)(ey.J,{size:14,className:"text-muted"}),(0,r.jsx)(eb.Link,{appearance:"link",className:"text-fluid-2xs text-muted focus-visible:text-interaction-focus-foreground",href:null!=t?t:ek.SG,children:e.common.backToProducts})]})};var eP=s(55746);let eS=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"md-plus:max-w-[333px] h-full w-full lg:max-w-[350px] xl:max-w-[450px]",children:t})};var e_=s(97975);let eT=e=>{let{children:t}=e;return(0,r.jsx)(h.o5,{as:"div",variant:"body-md",className:"text-fluid-sm lg:text-fluid-xs mb-24",children:(0,r.jsx)(e_.RK,{value:t})})};var eI=s(32944),eO=s(52619),eD=s.n(eO),eM=s(93060),eC=s(66883),eR=s(84070);function eW(e){let{title:t,children:s}=e;return(0,r.jsxs)(eC.Accordion,{variant:"secondary",className:"group border-divider-muted data-open:border-b-0 [&>.ark-accordion--panel]:p-0",children:[(0,r.jsx)(eR.o5,{variant:"fluid-body-3xs",fontWeight:"medium",children:t}),(0,r.jsx)("div",{className:j()("border-divider-muted text-fluid-3xs mt-20 flex flex-col border p-24","opacity-0 transition delay-0 duration-500 ease-out","group-data-[open]:opacity-100"),children:s})]})}
1function eE(e){let{compatibility:t,text:s}=e,{t:i}=(0,f.B)(),{country:l}=(0,n.$D)(),{getProductPageLink:a}=(0,u.t)();return t&&0!==t.length?(0,r.jsxs)(eW,{title:i.common.compatibility,children:[s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.o5,{as:"div",variant:"fluid-body-3xs",children:(0,r.jsx)(e_.RK,{value:s})}),(0,r.jsx)(h.cG,{muted:!0,className:"mt-16"})]}),t.map(e=>{var t,n,o;return(0,r.jsxs)(eD(),{href:(0,eM.lF)(null!=(n=a(null!=(t=e.productSku)?t:e.deviceSku))?n:"#",l),className:j()("ark-focus-visible border-b-divider-muted flex justify-between border-b py-16 last:border-b-0 last:pb-0",{"first:pt-0":!s}),children:[(0,r.jsxs)("span",{children:[e.productName&&i.common.compatibleProduct(e.productName,e.deviceName),!e.productName&&"".concat(e.deviceName)]}),(0,r.jsx)(eI.Q,{size:16})]},null!=(o=e.productSku)?o:e.deviceSku)})]}):null}var eF=s(55227);function eB(e){let{answer:t,question:s}=e,{replaceFAQVariablesWithText:n}=(()=>{let e=(0,eF.U)();return{replaceFAQVariablesWithText:t=>t.map(t=>((e,t)=>{let s=e.children.map(e=>"variable"!==e._type?e:"connectPrice"===e.text?(0,x._)((0,p._)({},e),{text:"".concat(t.monthly,"/mo"),_type:"span"}):void 0);return(0,x._)((0,p._)({},e),{children:s})})(t,e))}})(),{componentLocation:i}=(0,l.ze)();return t?(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"mb-8 font-medium",children:s}),(0,r.jsx)(e_.RK,{value:n(t),components:{block:{normal:e=>{let{children:t}=e;return(0,r.jsx)(eR.o5,{variant:"body-md",className:"text-fluid-3xs",children:t})}},list:{bullet:e=>{let{children:t}=e;return(0,r.jsx)("ul",{className:"mt-8 mb-16 pl-32",children:t})}},listItem:{bullet:e=>{let{children:t}=e;return(0,r.jsx)("li",{className:"mb-8 list-disc",children:t})}},marks:{link:e=>{let{children:t,value:s}=e,{blank:n,href:l}=s,a=l.startsWith("/")?void 0:"noreferrer noopener";return(0,r.jsx)(eb.Link,{inline:!0,href:l,appearance:"link",rel:a,target:n?"_blank":void 0,onClick:()=>{F.F.trackEvent(new C.C5({action:"click",component_location:i,type:"link",link_source:s.href}))},children:t})}}}})]}):null}function eA(e){let{faqs:t}=e,s=t&&0!==t.length,{t:n}=(0,f.B)();return s?(0,r.jsx)(eW,{title:n.common.faq,children:(0,r.jsx)("div",{className:"flex flex-col gap-y-24",children:null==t?void 0:t.map((e,s)=>{let n=s===t.length-1;return(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(eB,(0,p._)({},e)),!n&&(0,r.jsx)(h.cG,{muted:!0})]},e._id)})})}):null}var eL=s(78849),eG=s(71707),eV=s(23202);function eU(e){let{paymentMethods:t,country:s}=e,n=t.find(e=>"affirm"===e||"klarna"===e);if(!n)return null;let i=(0,eV.f)(s),l=(0,eG.X)(s),{description:a}=i.paymentOptions[n],o=t.filter(e=>e!==n).map(e=>eL.d[e].label(i)),u=new Intl.ListFormat(l,{style:"short",type:"disjunction"});return(0,r.jsx)(eW,{title:i.common.paymentMethods,children:a(u.format(o))})}function eK(e){let{faqs:t,compatibility:s,compatibilityText:n,country:i,paymentMethods:l}=e;return(0,r.jsxs)("div",{className:"mt-48 flex flex-col",children:[(0,r.jsx)(eE,{compatibility:s,text:n}),(0,r.jsx)(eA,{faqs:t}),(0,r.jsx)(eU,{country:i,paymentMethods:l})]})}let eH=e=>{let{price:t,discountedPrice:s,markerIncluded:n=!1,dataCyCurrency:i}=e,{t:l}=(0,f.B)();return(0,r.jsxs)("div",{className:"border-paper-6 my-20 flex w-full flex-row items-center space-x-8 border-y py-16",children:[(0,r.jsx)(h.o5,{variant:"body-md",as:"span",className:"text-fluid-xs",children:l.common.from}),(0,r.jsx)(h.o5,{variant:s?"fluid-body-sm":"fluid-body-md",fontWeight:"semibold",as:"span",className:j()({"text-muted line-through":s}),children:t}),s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"sr-only",children:"Original price:"}),(0,r.jsx)(h.o5,{variant:"fluid-body-md",fontWeight:"semibold",as:"span",className:"text-28 m-0 p-0",children:s})]}),n&&(0,r.jsx)(h.o5,{as:"p",variant:"fluid-body-2xs",className:"text-muted ml-auto!",children:l.sellingPoints.includingMarker})]})};var eQ=s(28744);let eq=e=>{let{className:t,_id:s,children:n}=e;return(0,r.jsx)(h.wn,{className:j()("max-lg:pt-menu-md max-lg:ark-margin-color-transparent max-md:pt-menu mt-24 lg:mt-0",t),marginColorVariant:"muted",children:(0,r.jsx)(h.RG,{stacking:"above-margin",className:"ark-section-content-wide",children:(0,r.jsx)("div",{className:"gap-responsive-3/4x md-plus:flex-row md-plus:max-xl:pt-responsive-1/4x 2xl:gap-responsive-1x flex flex-col items-center xl:px-0",children:n})})})},ez=e=>{let{children:t}=e;return(0,r.jsx)(h.o5,{as:"h1",variant:"responsive-heading-md",className:"text-fluid-3xl max-lg:mb-responsive-1x mb-20",children:t})};var e$=s(66051),eJ=s(14646),eX=s(21180),eY=s(15920);function eZ(e){var t,s;let{review:n,country:l,discount:c,product:d,productPageData:m,isIndexPage:h,productGroups:v,compatibility:j,paymentMethods:y}=e,{t:b}=(0,f.B)(),{isOutOfStock:k}=(0,i.l)(),g=function(e,t,s){let{productData:r}=(0,u.t)(),{t:n}=(0,f.B)(),i=t.productGroups[0].products[0],l=(0,a.a)({includedSkus:t.
1includedProducts,selectableSkus:[e.sku,...i.refurbishedSku&&(0,eX.V)(r,s.isoCodeAlpha2,i.refurbishedSku)?[i.refurbishedSku]:[]]});return!(0,N.O)(l)||s.disableWebshop||e.discontinued?void 0:(0,eJ.a7)(n,l,s)}(d,m,l),{pickerVisibility:w,defaultProductSku:_,carouselImages:T,setCarouselImages:I}=function(e,t,s){var r,n;let i=(0,o.useMemo)(()=>(0,A.a)(s,e.productQuantity,t.disableWebshop),[s,e.productQuantity,t.disableWebshop]),l=(0,o.useMemo)(()=>{let s="showKeyboardLanguage"in i&&i.showKeyboardLanguage?(0,e$.mZ)(t.isoCodeAlpha2,(0,e$.Bv)(e.defaultSelectedProduct)):void 0;return null!=s?s:e.defaultSelectedProduct},[i,t.isoCodeAlpha2,e.defaultSelectedProduct]),[a,u]=(0,o.useState)(null!=(n=null==(r=s.flatMap(e=>e.products).find(e=>e.sku===l))?void 0:r.images)?n:[]);return{pickerVisibility:i,defaultProductSku:l,carouselImages:a,setCarouselImages:u}}(m,l,v),{getMPFLink:O}=(0,u.t)(),D=0===T.length?d.images:T,M="".concat(m.componentLocation," hero"),C=function(e,t,s,r){let n=null==e?void 0:e.find(e=>{var s;return null==(s=e.countries)?void 0:s.includes(t.isoCodeAlpha2)});if(!n)return null;let i=(0,N.O)(r)?(0,eJ.a7)(s,r,t):"";return(0,x._)((0,p._)({},n),{infoText:(0,eY.KK)(n.infoText,{discountAmount:i})})}(m.infoBox,l,b,c);return(0,r.jsxs)(eq,{_id:m._id,children:[(0,r.jsx)(eP.n,{componentLocation:M,images:D,className:"max-md-plus:hidden"}),(0,r.jsxs)(eS,{children:[(!(0,N.O)(n)||!h)&&(0,r.jsx)(ew,{}),(0,N.O)(n)&&(0,r.jsx)(eQ.v,(0,x._)((0,p._)({},n),{className:"mb-8 w-full lg:mb-20",componentLocation:M})),(0,r.jsx)(ez,{children:m.name}),(0,r.jsx)(eP.n,{componentLocation:M,images:D,className:"md-plus:hidden"}),(0,N.O)(g)&&h&&(0,r.jsx)(eH,{price:g,markerIncluded:!0,dataCyCurrency:null==(t=d.price)?void 0:t.currency}),(0,r.jsx)(eT,{children:m.description}),h?(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(P,{badgeText:C.badgeText,infoText:C.infoText}),(0,r.jsx)(S.N,{thirdPartyStoreLink:d.thirdPartyStoreLink,url:null!=(s=O(d.sku,l.isoCodeAlpha2))?s:"/configure/remarkable-2",componentLocation:M,className:"mt-32",discontinued:d.discontinued,isOutOfStock:k(d.sku)})]}):(0,r.jsx)(o.Suspense,{children:(0,r.jsx)(ej,{productGroups:v,productPage:m,setCarouselImages:I,pickerVisibility:w,defaultProductSku:_})}),(0,r.jsx)(eK,{faqs:m.faqs,compatibility:j,compatibilityText:m.compatibilityText,country:l.isoCodeAlpha2,paymentMethods:y})]})]})}function e0(e){var t,s;let{productPage:o,isIndexPage:u,review:c,discount:p,product:x,productGroups:f,paymentMethods:h,bundlePromotions:v,enableSectionTracking:j}=e;d(x.sku);let{outOfStockDetails:y}=(0,i.l)(),{sanityCountry:b}=(0,n.$D)(),k=(0,l.fh)(o.productGroups,o.componentLocation),g=(0,a.a)({includedSkus:o.includedProducts,selectableSkus:[x.sku]});return(0,r.jsxs)(l.Ti,{value:k,children:[!o.isHeroHidden&&(0,r.jsx)(eZ,{paymentMethods:h,review:c,country:b,discount:p,product:x,productPageData:o,isIndexPage:u,productGroups:f,compatibility:o.productGroups[0].products[0].compatability}),(0,r.jsx)(m.Sections,{sections:null!=(t=o.sections)?t:[],colorTheme:o.colorTheme,trackSectionViews:j,attributes:{bundlePromotions:v,device:{price:g,review:c,sku:"paper-tablet"===x.productType?x.sku:void 0,thirdPartyStoreLink:x.thirdPartyStoreLink,discontinued:x.discontinued},outOfStockSkus:null!=(s=null==y?void 0:y.map(e=>{let{sku:t}=e;return t}))?s:[]}})]})}}},e=>{e.O(0,[9287,7529,2545,9104,3276,1600,6060,3044,2619,3042,5316,5930,5379,3919,3973,8636,8356,3767,7919,8411,8334,1344,7916,9643,1848,8951,3061,9837,4850,8441,2971,7358],()=>e(e.s=93047)),_N_E=e.O()}]);
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.