"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4370],{4953:function(e,t,r){r.d(t,{uP:function(){return ee},Kx:function(){return Q},Z5:function(){return F},ig:function(){return Y}});var n=r(2784),i=r(97224),l=r(32899),o=r(25544),a=r(20669),s=r(7307),d=r(10675),c=r(13980),h=r.n(c),u=r(68020),p=r(3926),m=r(4098),g=r(52322),f=r(36593);const b=e=>({theme:e.selectTheme}),x=(0,s.default)(u.c.IndicatorsContainer).withConfig({componentId:"sc-16zhdbj-0"})(["margin-right:0.5rem;"]),w=(0,s.css)(["content:'';position:absolute;pointer-events:none;width:100%;height:100%;top:0;left:0;"]),y=(0,s.default)(u.c.Control).attrs(b).withConfig({componentId:"sc-16zhdbj-1"})(["&&&{box-shadow:0 0 0 0 rgba(72,72,72,0.15);transition:box-shadow 100ms linear;position:relative;border:0;&::before{"," transition:border 100ms linear;border-radius:",";border:1px solid ",";}"," ","}"],w,(({theme:e})=>e.borderRadius),(({theme:e})=>e.color.lightGray3),(({isFocused:e})=>e&&(0,s.css)(["transition:box-shadow "," ",";box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);outline:none;&::before{border:2px solid ",";}"],(({theme:e})=>e.movement.duration),(({theme:e})=>e.movement.easing),(({theme:e})=>e.color.darkGray2))),(({selectProps:e})=>e.menuIsOpen&&(0,s.css)(["&::before{border:2px solid ",";border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;}border:0;box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);"],(({theme:e})=>e.color.darkGray2)))),v=(0,s.default)(u.c.Menu).attrs(b).withConfig({componentId:"sc-16zhdbj-2"})(["overflow:hidden;&&&{margin:0;border:0;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);transition:box-shadow 100ms linear;clip-path:inset(0 -16px -20px -16px);&::before{"," border-radius:",";border-top-left-radius:0;border-top-right-radius:0;z-index:5;border-top:0;animation:"," 100ms linear 25ms forwards;}}"],w,(({theme:e})=>e.borderRadius),(({theme:e})=>(e=>(0,s.keyframes)(["0%{border:1px solid ",";border-top:0;}100%{border:2px solid ",";border-top:0;}"],e.color.lightGray3,e.color.darkGray2))(e))),j=(0,s.default)(u.c.ValueContainer).attrs(b).withConfig({componentId:"sc-16zhdbj-3"})(["&&&{padding:0;",","," > span{display:none;}}"],p.b,p.a),C=(0,s.default)(u.c.SelectContainer).attrs(b).withConfig({componentId:"sc-16zhdbj-4"})(["&&&{"," .js-focus-visible &.focus-visible,.js-focus-visible &[data-focus-visible-added],&:focus-visible{outline:none;border-color:",";}}"],(({isFocused:e})=>e&&(0,s.css)(["outline:none;"])),(({theme:e})=>e.color.darkGray2)),z=(0,s.css)(["display:flex;flex-direction:row;align-items:center;position:relative;min-height:",";width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1.25rem;padding-right:1.25rem;","{margin-left:0;}&,& > *{cursor:pointer;}"],(({theme:e})=>e.pxToRem(56)),p.L),L=(0,s.default)(u.c.Option).attrs(b).withConfig({componentId:"sc-16zhdbj-5"})(["&&&{"," color:",";"," ","}"],z,(({theme:e})=>e.color.darkGray2),(({isSelected:e})=>e&&(0,s.css)(["background:",";"],(({theme:e})=>e.color.lightGray4))),(({isFocused:e})=>e&&(0,s.css)(["background:",";"],(({theme:e})=>e.color.lightGray2)))),S=(0,s.default)(u.c.SingleValue).attrs(b).withConfig({componentId:"sc-16zhdbj-6"})(["&&&{"," top:unset;transform:unset;}"],z),P=(0,s.default)(m.S).withConfig({componentId:"sc-16zhdbj-7"})(["","{font-weight:",";display:inline-block;margin-bottom:0.5rem;}"],m.a,(({theme:e})=>e.font.weight.light)),I=(0,s.default)(p.b).withConfig({componentId:"sc-16zhdbj-8"})(["display:none;","{display:flex;}"],(({theme:e})=>e.mediaQuery.tabletSmall)),M=({children:e,theme:t,...r})=>(0,g.jsx)(x,{selectTheme:t,...r,children:e});M.propTypes={children:h().node};const T=({children:e,theme:t,...r})=>(0,g.jsx)(y,{selectTheme:t,...r,children:e});T.propTypes={children:h().node};const k=({children:e,theme:t,...r})=>(0,g.jsx)(v,{selectTheme:t,...r,children:e});k.propTypes={children:h().node};const O=({children:e,theme:t,...r})=>(0,g.jsx)(j,{selectTheme:t,...r,children:e});O.propTypes={children:h().node,innerRef:h().func};const D=({children:e,theme:t,...r})=>(0,g.jsx)(C,{selectTheme:t,...r,children:e});D.propTypes={children:h().node,innerRef:h().func};const N=({innerRef:e,getValue:t,theme:r,...n})=>{const i=t()[0].label,l=t()[0].caption,a=t()[0].price;return(0,g.jsxs)(S,{selectTheme:r,innerRef:e,...n,children:[(0,g.jsxs)(p.L,{$caption:l,children:[(0,g.jsxs)(p.a,{children:[i,(0,g.jsxs)("span",{children:[" - ",a]})]}),l&&(0,g.jsx)(o.T,{variant:"legal",children:l})]}),a&&(0,g.jsx)(p.b,{variant:"body",children:a})]})};N.propTypes={getValue:h().func,innerRef:h().func};const H=({data:e,innerRef:t,theme:r,...n})=>{const i=e.label,l=e.caption,a=e.price,s=e.value;return(0,g.jsxs)(L,{"data-product-id":s,innerRef:t,selectTheme:r,...n,tabIndex:0,children:[(0,g.jsxs)(p.L,{$caption:l,children:[(0,g.jsxs)(p.a,{children:[i,(0,g.jsxs)("span",{children:[" - ",a]})]}),l&&(0,g.jsx)(o.T,{variant:"legal",children:l})]}),a&&(0,g.jsx)(I,{variant:"body",children:a})]})};H.propTypes={data:h().any,innerRef:h().func};const R=({children:e,isFocused:t,selectProps:r,...n})=>(0,g.jsx)(f.T,{focused:t,flip:r.menuIsOpen,...n,children:e});R.propTypes={children:h().node,isFocused:h().bool,selectProps:h().object};const E=({className:e,inputLabel:t,inputName:r,onChange:n,showErrors:i,options:l,...o})=>(0,g.jsx)(P,{className:e,defaultValue:l[0],name:r,label:t,isClearable:!1,isMulti:!1,isSearchable:!1,showErrors:i,onChange:n,options:l,components:{Option:H,SingleValue:N,SelectContainer:D,Control:T,DropdownIndicator:R,ValueContainer:O,Menu:k,IndicatorsContainer:M,IndicatorSeparator:()=>null},...o});E.propTypes={className:h().string,inputLabel:h().oneOfType([h().string,h().node]).isRequired,inputName:h().string,onChange:h().func,showErrors:h().bool,options:h().arrayOf(h().shape({label:h().string.isRequired,caption:h().string,price:h().string,value:h().oneOfType([h().string,h().number,h().object])})).isRequired},E.defaultProps={showErrors:!0};var $=E,A=r(31586);const G=(0,s.default)(d.R).withConfig({componentId:"sc-1nmdhxc-0"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})),X=(0,s.default)($).withConfig({componentId:"sc-1nmdhxc-1"})(["z-index:2;"]),Z=((0,s.default)(A.Q).withConfig({componentId:"sc-1nmdhxc-2"})(["width:100%;"]),(0,s.default)(o.T).withConfig({componentId:"sc-1nmdhxc-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]}))),q=n.forwardRef((function(e,t){const{checked:r,onClick:n,href:i,onChange:o=(()=>{}),product:a,variation:s}=e,{text:d,price:c}=(0,l.i1)();return(0,g.jsx)(G,{ref:t,caption:s.product.name,checked:r,discounted:s.product.prices?.minimum?.discounted,href:i,price:a.loadingPricing?null:c(s.product?.prices?.minimum?.finalPrice),regularPrice:a.loadingPricing?null:c(s.product?.prices?.minimum?.regularPrice),onChange:o,onClick:n,value:s.product.urlKey,name:s.product.name,label:s.product.nsuid?d("Digital"):d("Physical"),altContent:"\u2713"})}));function B(e){let{onChange:t,isBundle:r,product:n,title:s,value:d}=e;const{text:c}=(0,l.i1)();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(o.T,{variant:"legal",children:r?s:c("Select a product")}),(0,g.jsx)(a.S,{size:12}),(0,g.jsx)("div",{children:n.variations.map((e=>e.product.url?(0,g.jsx)(i.Z,{href:e.product.url,children:(0,g.jsx)(q,{checked:n.url===e.product.url,product:n,variation:e})},e.product.sku):(0,g.jsx)(q,{checked:d===e.id,product:n,variation:e,onChange:()=>t(e.id)},e.id)))})]})}B.defaultProps={onChange:()=>{}};var Q=B,V=r(64897);var F=function(e){let{product:t}=e;const r=(0,V.Z)(),{text:i}=(0,l.i1)(),o=(0,n.useMemo)((()=>t.variations.map((e=>({label:e.product.nsuid?i("Digital"):i("Physical"),caption:e.product.name,price:t.loadingPricing?null:e.product?.prices?.minimum?.finalPrice?.toFixed(2),value:e.product.name,urlKey:e.product.urlKey})))),[t,i]),a=(0,n.useMemo)((()=>o.find((e=>{let{urlKey:t}=e;return r.query.slug===t}))||o[0]),[o,r]);return(0,g.jsx)(X,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:i("Select a product"),onChange:e=>{r.push(e.urlKey)},options:o,value:a,showErrors:!1})},_=r(83256),U=r(12469),K=r(96447),W=r(20398);var Y=function(e){let{onChange:t,isBundle:r,product:n,title:i,value:o}=e;const{text:s}=(0,l.i1)();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(a.S,{size:24}),(0,g.jsxs)(_.G,{columns:2,alignItems:"end",children:[(0,g.jsx)(Z,{variant:"legal",children:r?i:s("Select a product")}),n?.sizeChart&&(0,g.jsxs)(U.G,{justifySelf:"end",children:[(0,g.jsx)(K.L,{href:"#sizing",children:s("Size chart")}),(0,g.jsx)(a.S,{size:8})]})]}),(0,g.jsx)(a.S,{size:12}),(0,g.jsx)(W.um,{onChange:t,product:n,value:o})]})},J=r(77664);var ee=function(e){let{product:t}=e;const{text:r}=(0,l.i1)(),{locale:n}=(0,V.Z)(),i=n?.split("-")[0]??"en";return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(a.S,{size:24}),(0,g.jsxs)(_.G,{columns:"144px 162px",rows:"48px",children:[t?.appStoreUrl&&(0,g.jsx)("a",{href:t.appStoreUrl,children:(0,g.jsx)(J.I,{assetPath:`/ncom/icons/app-store/app-store-badge-${i}`,alt:r("Download on the app store")})}),t?.googlePlayUrl&&(0,g.jsx)("a",{href:t.googlePlayUrl,children:(0,g.jsx)(J.I,{assetPath:`/ncom/icons/google-play/google-play-badge-${i}`,alt:r("Get it on Google Play")})})]})]})}},20398:function(e,t,r){r.d(t,{CL:function(){return O},jJ:function(){return R},VM:function(){return $e},NR:function(){return qe},jl:function(){return k},dn:function(){return St},ww:function(){return Vt},Ym:function(){return Gr},yL:function(){return Vr},um:function(){return en},mW:function(){return on},Lx:function(){return an}});var n=r(54076),i=r(83256),l=r(25544),o=r(98565),a=r(64897),s=r(32899),d=r(7307);const c=d.default.div.withConfig({componentId:"sc-1m8mxjv-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;justify-content:center;gap:",";","{grid-template-columns:repeat(2,1fr);}"],t.spacing[24],t.mediaQuery.tablet)})),h=d.default.div.withConfig({componentId:"sc-1m8mxjv-1"})(["display:flex;justify-content:flex-start;align-items:center;flex-direction:column;text-align:center;gap:1rem;background-color:",";padding:",";grid-column:",";border-radius:",";"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return t.spacing[24]+" "+t.spacing[32]}),(e=>e.$solo?"span 2":"inherit"),(e=>{let{theme:t}=e;return t.borderRadius})),u=(0,d.default)(o.bs).withConfig({componentId:"sc-1m8mxjv-2"})(["padding:",";background:",";box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);text-align:left;margin-bottom:",";border-radius:",";"],(e=>{let{theme:t}=e;return t.spacing[16]+" "+t.spacing[32]}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.borderRadiusSmall}));var p=r(2784),m=r(13980),g=r.n(m),f=r(52322);const b=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TabletopModeIcon",...e,children:(0,f.jsx)("path",{d:"M31.32 18.242l-2.657-6.94-1.285 6.94h3.943zM28.174 5.336H6.418l-2.74 12.906h21.754l2.741-12.906zm-5.035 10.505H6.99l1.722-8.094h16.143l-1.717 8.094zm-21.741 5.03H0v.995h.02a.098.098 0 0 0-.02.059v2.008a2.734 2.734 0 0 0 2.736 2.731h7.426a2.737 2.737 0 0 0 2.741-2.731v-2.008a.18.18 0 0 0-.01-.06h.01v-.994H1.397zm7.64.31a1 1 0 1 1-1.004 1.002c0-.554.45-1.002 1.004-1.001zm-5.845 4.43a1.837 1.837 0 1 1 1.858-1.833c-.003.49-.2.958-.55 1.302a1.839 1.839 0 0 1-1.308.53zm3.24-1.833a1.009 1.009 0 0 1 1.004-.985.981.981 0 1 1-1.004.985zm2.605 2.57a.983.983 0 1 1 .99-.978.988.988 0 0 1-.99.977zm1.591-1.591a.982.982 0 1 1 0-1.964.982.982 0 1 1 0 1.964zM32 20.87H19.097v.995h.02a.098.098 0 0 0-.02.059v2.008a2.73 2.73 0 0 0 2.731 2.731h7.431A2.738 2.738 0 0 0 32 23.933v-2.009a.18.18 0 0 0-.01-.06H32v-.994zm-3.866.31a1 1 0 0 1-.006 1.999.999.999 0 1 1 .006-1.998zm-5.85 4.43a1.836 1.836 0 0 1 0-3.673 1.837 1.837 0 1 1 0 3.672zm3.24-1.833c.015-.545.459-.98 1.004-.985a.981.981 0 1 1 0 1.964c-.544 0-.99-.434-1.004-.979zm2.61 2.57a.983.983 0 1 1 .99-.978.988.988 0 0 1-.99.977zm1.586-1.591a.982.982 0 1 1 0-1.964.982.982 0 1 1 0 1.964z",fill:e.color,fillRule:"evenodd"})});b.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},b.defaultProps={color:"currentColor",size:24};const x=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TvModeIcon",...e,children:(0,f.jsxs)("g",{fill:e.color,children:[(0,f.jsx)("path",{d:"M11.903 16.114l-1.154-3.56H9.591l1.641 4.627h1.357l1.632-4.627h-1.163zm-7.604-2.58h1.36v3.646h1.058v-3.646h1.371v-.981H4.299zm17.743 9.126v.758H32v-6.702h-9.958z"}),(0,f.jsx)("path",{d:"M8.433 21.6H4.784v1.808h3.649v.01h1.656v-.01h3.645V21.6H10.09v-.737h8.443V8.582H0v12.281h8.433v.737zM2.11 18.956v-8.453h14.31v8.453H2.11z"}),(0,f.jsx)("path",{d:"M16.333 21.6h-.603v1.801h5.589v-.602h-4.986z"})]})});x.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},x.defaultProps={color:"currentColor",size:24};var w=r(38463);const y=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TabletopModeNotAvailableIcon",...e,children:(0,f.jsx)("path",{d:"M29.181 18.057l-2.438-6.476-1.22 6.476h3.658zm.61 5.41v-2.972h-3.277l3.277 2.972zM23.16 8.305l-1.6 7.543h-.151l2.285 2.133L26.21 6.095H10.667l2.438 2.21h10.057zM19.277 24l-1.447-1.295v.61a2.537 2.537 0 0 0 2.514 2.514h.914l-1.143-1.067c-.375-.123-.68-.4-.838-.762zm-19.2-.686a2.538 2.538 0 0 0 2.515 2.515h6.933a2.538 2.538 0 0 0 2.514-2.515v-2.819H.076v2.82zm8.38 2.286a.926.926 0 0 1-.914-.914.915.915 0 1 1 .914.914zm2.362-2.362a.914.914 0 1 1-.914-.914.84.84 0 0 1 .914.914zM8.457 20.8a.914.914 0 1 1 0 1.829.916.916 0 0 1-.794-1.373.915.915 0 0 1 .794-.456zm-1.524 1.524a.916.916 0 0 1 .795 1.372.915.915 0 1 1-.795-1.372zm-3.962-.762a1.71 1.71 0 0 1 1.753 1.676 1.758 1.758 0 0 1-1.753 1.676 1.691 1.691 0 0 1-1.676-1.676 1.6 1.6 0 0 1 1.677-1.676zm3.581-5.714l.61-2.82-2.21-1.98-1.447 7.01h9.219l-2.438-2.21H6.552zm-3.047-12.8H0l28.495 25.904H32L3.505 3.048z",fill:e.color})});y.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},y.defaultProps={color:"currentColor",size:24};const v=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"TvModeNotAvailableIcon",...e,children:(0,f.jsx)("path",{d:"M10.1 20.85h7.05l-2.1-1.95H2.1v-8.45h3.6l-2.05-1.9H0v12.3h8.45v.75H4.8v1.85h8.95V21.6H10.1v-.75zm6.3-10.4v2.1l2.1 1.95V8.55H12l2.05 1.9h2.35zm-9.65 6.7V13.5H8.1v-.85L8 12.5H4.3v1h1.35v3.65h1.1zm15.3-.45v1.05l6.25 5.65H32v-6.7h-9.95zM4 6.3l21.35 19.45H28L6.65 6.3H4zm12.35 16.5v-1.2h-.65v1.85H20l-.7-.65h-2.95zm-3.6-5.95l-.85-.8-1.5-1.35.85 2.45h1.35l.15-.3z",fill:e.color})});v.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},v.defaultProps={color:"currentColor",size:24};const j=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"HandheldModeNotAvailableIcon",...e,children:(0,f.jsx)("path",{d:"M3.826 6.145l21.681 19.71h2.667L6.493 6.145H3.826zm24.986 2.319h-16.87l3.13 2.84h10.145v9.218l3.305 3.014h.29A3.216 3.216 0 0 0 32 20.348v-8.696a3.216 3.216 0 0 0-3.188-3.188zm-.174 1.97c.537.017.97.449.985.986a1.028 1.028 0 0 1-.985 1.044 1.002 1.002 0 0 1-.717-.31.997.997 0 0 1-.269-.734.944.944 0 0 1 .985-.985zm.985 4.29a1.068 1.068 0 0 1-.985 1.044.994.994 0 0 1-.986-1.043.982.982 0 0 1 .286-.7.982.982 0 0 1 .7-.286.944.944 0 0 1 .985.985zm-3.652-1.68a1.045 1.045 0 0 1 2.087-.001 1.043 1.043 0 1 1-2.087 0zm2.667 7.884a1.884 1.884 0 1 1 1.855-1.856 1.909 1.909 0 0 1-1.855 1.856zm1.623-6.841a.994.994 0 0 1-.986-1.043c.016-.538.448-.97.986-.986a.978.978 0 0 1 .985.986 1.028 1.028 0 0 1-.985 1.043zM6.783 20.696v-9.218L3.478 8.464h-.29A3.216 3.216 0 0 0 0 11.652v8.696a3.216 3.216 0 0 0 3.188 3.188h16.87l-3.13-2.84H6.783zM3.536 10.435a1.884 1.884 0 0 1 0 3.768 1.884 1.884 0 0 1 0-3.768zm.986 6.203a1.029 1.029 0 0 1-.986 1.043 1.028 1.028 0 0 1-.985-1.043c.011-.55.437-1 .985-1.044.548.043.974.494.986 1.044zM.928 18.26c-.01-.558.428-1.02.985-1.044a.995.995 0 0 1 .986 1.044c-.016.537-.448.97-.986.985a.909.909 0 0 1-.985-.985zm2.608 2.667a.986.986 0 1 1 0-1.971c.538.015.97.447.986.985a.982.982 0 0 1-.286.7.982.982 0 0 1-.7.286zm1.623-1.624a1.028 1.028 0 0 1-1.043-.985 1.044 1.044 0 1 1 2.087 0 1.028 1.028 0 0 1-1.044.985z",fill:e.color})});j.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},j.defaultProps={color:"currentColor",size:24};const C=d.default.div.withConfig({componentId:"sc-16atj0u-0"})(["display:grid;grid-template-columns:1fr;justify-content:center;p{font-weight:700;}"]),z=d.default.div.withConfig({componentId:"sc-16atj0u-1"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:",";"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>{let{$supported:r}=e;return r?t.color.darkGray2:t.color.lightGray2}),t.color.white)}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadiusSmall})),L="TABLETOP",S="TV",P="HANDHELD",I={[L]:b,[S]:x,[P]:w.Z},M={[L]:y,[S]:v,[P]:j},T=e=>{const{mode:t,iconSize:r,supported:n,title:i}=e,l=n?I[t]:M[t];return(0,f.jsxs)(C,{children:[(0,f.jsx)(z,{$supported:n,children:(0,f.jsx)(l,{size:r})}),(0,f.jsx)("p",{children:i})]})};T.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var k=T;var O=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{text:d}=(0,s.i1)(),p=t.playModes?.map((e=>e.code));return(0,f.jsxs)(o.$0,{constrained:!0,id:"about","aria-labelledby":"product-info",small:!0,children:[null!=t.contentRating||p?.length?(0,f.jsxs)(c,{children:[null!=t.contentRating&&(0,f.jsxs)(h,{$solo:!p?.length,children:[(0,f.jsx)(n.H,{variant:"h4",children:d("ESRB rating")}),(0,f.jsx)(u,{rating:t.contentRating,descriptors:t.contentDescriptors,locale:r})]}),p?.length>0&&(0,f.jsxs)(h,{$solo:!t.contentRating,children:[(0,f.jsx)(n.H,{variant:"h4",children:d("Supported play modes")}),(0,f.jsxs)(i.G,{columns:3,width:"100%",gap:"24px",children:[(0,f.jsx)(k,{supported:p?.includes("TV_MODE"),title:d("TV"),mode:S}),(0,f.jsx)(k,{supported:p?.includes("TABLETOP_MODE"),title:d("Tabletop"),mode:L}),(0,f.jsx)(k,{supported:p?.includes("HANDHELD_MODE"),title:d("Handheld"),mode:P})]}),!p?.includes("HANDHELD_MODE")&&(0,f.jsx)(l.T,{variant:"legal",children:d("Software compatibility and play experience may differ on Nintendo Switch Lite. Additional accessories may be required (sold separately). See support for details.")})]})]}):null,"BUNDLE"!==t.productType&&(0,f.jsx)(Vt,{product:t})]})},D=r(7040);const N=d.default.div.withConfig({componentId:"sc-gkj3iw-0"})(["margin-top:",";padding:"," 0;background-color:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>e.$bgColor?e.$bgColor:e=>{let{theme:t}=e;return t.color.lightGray4}));var H=r(11413);var R=e=>{let{product:t,locale:r}=e;const{text:i}=(0,s.i1)(),l=(0,p.useMemo)((()=>t.relatedProducts.slice(0,4).map(H.Z)),[t.relatedProducts]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.He,{small:!0,children:t.relatedProducts.length>4?(0,f.jsx)(D.H,{ctaType:"iconlink",headingProps:{variant:"h1"},ctaText:i("See all"),ctaUrl:t.urlKey+"/dlc/",locale:r,children:i("Downloadable content (DLC)")}):(0,f.jsx)(n.H,{variant:"h1",children:i("Downloadable content (DLC)")})}),(0,f.jsx)(N,{$bgColor:"#"+t.backgroundColor,children:(0,f.jsx)(o.He,{small:!0,children:(0,f.jsx)(n.H.NewLevel,{children:(0,f.jsx)(o.nZ,{analytics:{title:"Downloadable content (DLC)"},products:l,cta:{fields:{title:i("See all"),url:t.relatedProducts.length>4?t.urlKey+"/dlc/":""}}})})})})]})},E=r(95235),$=r(58065),A=r(5997),G=r(67512),X=r(63274),Z=r(20669),q=r(23985),B=r(97239);const Q=e=>(0,f.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"DlcIcon",...e,children:(0,f.jsx)("path",{d:"M27.954 2h-17.12a4.079 4.079 0 0 0-4.046 4.102v2.657H4.046A4.078 4.078 0 0 0 0 12.86v13.038A4.079 4.079 0 0 0 4.046 30h17.12a4.079 4.079 0 0 0 4.046-4.102v-2.657h2.742A4.078 4.078 0 0 0 32 19.14V6.102A4.079 4.079 0 0 0 27.954 2zm-6.62 23.898c0 .138-.089.24-.168.24H4.046c-.08 0-.167-.102-.167-.24V12.86c0-.137.088-.24.167-.24h17.12c.08 0 .167.103.167.24v13.038zm6.787-6.758c0 .137-.088.24-.167.24h-2.742v-6.52a4.078 4.078 0 0 0-4.046-4.101h-10.5V6.102c0-.138.089-.24.168-.24h17.12c.08 0 .167.102.167.24V19.14z",fill:e.color})});Q.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Q.defaultProps={color:"currentColor",size:24};var V=r(29434),F=r(12469),_=r(97224),U=r(87136),K=r(56675),W=r(77329),Y=r(31586),J=r(84433),ee=r(96447),te=r(62989);const re=(0,d.default)(Y.Q).withConfig({componentId:"sc-10vf2cu-0"})(["height:100%;font-weight:bold;"]),ne=d.default.div.withConfig({componentId:"sc-10vf2cu-1"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]),ie=(0,d.default)(J.S).withConfig({componentId:"sc-10vf2cu-2"})(["height:",";& > div{font-size:",";}"],(e=>{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.font.size.h1LMobile})),le=d.default.div.withConfig({componentId:"sc-10vf2cu-3"})(["display:flex;gap:",";align-items:center;img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[8]})),oe=d.default.span.withConfig({componentId:"sc-10vf2cu-4"})(["font-weight:",";"],(e=>{let{theme:t}=e;return t.font.weight.bold})),ae=(d.default.span.withConfig({componentId:"sc-10vf2cu-5"})(["display:",";font-weight:",";color:",";"],(e=>{let{isLoading:t}=e;return t?"none":"block"}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.color.primary})),(0,d.default)(ee.L).withConfig({componentId:"sc-10vf2cu-6"})(["display:inline !important;span{font-size:",";","{font-size:",";}}"],(e=>{let{theme:t}=e;return t.font.size.legalMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.font.size.captionMobile}))),se=(0,d.default)(l.T).withConfig({componentId:"sc-10vf2cu-7"})(["line-height:1.5;"]),de=(0,d.default)(se).withConfig({componentId:"sc-10vf2cu-8"})(["color:",";font-weight:",";"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.font.weight.bold})),ce=(0,d.default)(te.B).withConfig({componentId:"sc-10vf2cu-9"})(["white-space:pre-wrap;"]),he=(0,d.default)(q.L).withConfig({componentId:"sc-10vf2cu-10"})(["width:max-content;"]),ue=d.default.span.withConfig({componentId:"sc-10vf2cu-11"})(["font-weight:",";"],(e=>{let{$boldHelperText:t}=e;return t?700:"initial"})),pe=d.default.div.withConfig({componentId:"sc-10vf2cu-12"})(["margin-top:",";margin-bottom:",";","{margin-top:",";}"],(e=>{let{theme:t}=e;return t.spacing[4]}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[12]}));var me=r(14684);function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fe(e){for(var t=1;t{const{locale:t}=(0,a.Z)(),r=(0,K.x)(),n=(0,s.K8)(),i=(0,s.xe)(),l=(0,s.jD)(),{trackAddToCart:o}=(0,s.z$)(),d=(0,s.ON)(),{text:c,price:h,date:u}=(0,s.i1)(),{__typename:m,availability:g,bundleItems:b,nsuid:x,requiresSubscription:w,sku:y,requiresCoupon:v,requiresLogin:j,platinumPoints:C,eshopDetails:z,prePurchase:L,prices:S,loadingPricing:P,productType:I,isSalableQty:M,releaseDate:T,releaseDateDisplay:k,soldOutPermanent:O,isPreorderable:D,variations:N,voucherNsuid:H,startShippingDate:R,shipDateDisplay:E}=e,$=P||l?.loading||l?.updating||n?.loading,{0:A,1:G}=(0,p.useState)(!1),{0:X,1:Z}=(0,p.useState)(1),{0:q,1:B}=(0,p.useState)({}),Q=(0,W.u)(),V="MOBILE"===x,F="BUNDLE"===I,_="CONFIGURABLE"===I,U=(0,me.EE)(e),Y=b?.every((e=>{let{required:t,title:r}=e;return t&&!!q[r]}));(0,p.useEffect)((()=>{if(F){const e=b?.reduce(((e,t)=>{let{options:r,title:n}=t;const i=r.length>1?r?.find((e=>{let{isDefault:t}=e;return t})):r[0];return fe(fe({},e),{},{[n]:i?.id})}),{});B(e)}}),[F,b]);const J=(g?.includes(c("Pre-order"))||g?.includes(c("Available now"))||M||L)&&!V,{consentedGroups:ee}=(0,s.fP)(),te=(0,p.useMemo)((()=>{const e=ee?.has(s.ac.PERFORMANCE);if(!e)return null;if(x&&N?.length){const e=N.find((e=>!e.product?.nsuid));if(e)return e.product.sku}return x?null:y}),[ee,x,y,N]),re=d?.data?.membershipStatus.active,ne=l?.addableQty(e),ie=X>=ne,le=!M&&!V||!!N?.length&&N.every((e=>{let{product:t}=e;return!t.isSalableQty})),oe=(w||C||j)&&!i.isLoggedIn,se=w&&!re,{buttonDisabled:de,promptLogin:ce,disableQuantity:he,buttonCopy:ue,helperText:pe,boldHelperText:ge}=(0,p.useMemo)((()=>{if(V)return{};let e="",r="",i=!1,l=!1,o=U,a=!1,s=n?.store?.active;const d=(0,f.jsx)(ae,{href:"/store/products/nintendo-switch-game-vouchers/",locale:t,children:c("Learn more about vouchers")}),h=(0,f.jsx)(ae,{href:"/switch/online/",children:c("Nintendo Switch Online members")});if(w&&(r=c("This item is only for paid {0}.",{args:[h]})),U)if(n?.eshop?.active)i=!0,r=c("Direct downloads are not possible during maintenance"),a=!0,e="Direct download";else if("MarketingProduct"===m)a=!0,e=c("Releases {0}",{args:[k||T&&u(T,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]});else if(oe)e="Sign in to download",l=!0;else if(se)a=!0,e="Direct download";else if(z?.isPreordered)a=!0,e="Already pre-ordered";else if(z?.isPurchased)a=!0,e="Already downloaded";else if(z?.isPreorderable)e="Pre-order",r=H?c("Pre-order or redeem a Game Voucher to pre-load this game and start playing as soon as it\u2019s released. {0}",{args:[d]}):c("This lets you pre-load the game, so you'll be able to play as soon as the game is released.");else if(z?.isPurchasable)0==S?.minimum?.finalPrice?e="Free download":H?(e="Direct download",r=c("This item will be sent to your system automatically after purchase or Nintendo Switch Game Voucher redemption. {0}",{args:[d]})):(e="Direct download",r="This item will be sent to your system automatically after purchase.");else{const t=new Date(T);a=!0,k?e=c("Releases {0}",{args:[k]}):Date.now()({regPrice:Boolean(k)&&!L?null:h(S?.minimum?.regularPrice,{formatZero:!0}),salePrice:S?.minimum?.discounted?h(S?.minimum?.finalPrice):""})),[k,L,S,h]),xe=(0,p.useCallback)((()=>{if(ce)i.promptLogin();else{r.cache.evict({id:r.cache.identify(e),fieldName:"eshopDetails",args:{personalized:!0},broadcast:!1});const n="string"===typeof ue?ue:"CTA";o(e),Q.trackEvent({eventName:`PDP: ${n} Clicked`,objectId:y,isConversion:!0},t)}}),[ce,ue,t,y,Q,o,i,r.cache,e]),we=(0,p.useCallback)((r=>{if(ce)i.promptLogin();else{if(!e.requiresCoupon||r)return o(e),Q.addToCart(y,{eventName:"PDP: Add to Cart Clicked",locale:t}),l.addProduct(e,{couponCode:r?.trim(),selectedOptions:Object.values(q),quantity:X});G(!0)}}),[y,ce,Q,i,l,e,X,t,o,q]);return(0,p.useMemo)((()=>({state:{isLoading:$,quantity:X,isMobileGame:V,isDigitalProduct:U,isPurchasable:J,isConfigurableProduct:_,retailerSku:te,membershipRequired:se,addableQty:ne,itemLimitReached:ie,soldOut:le,loginToPurchase:oe,buttonDisabled:de,promptLogin:ce,disableQuantity:he,buttonCopy:ue,helperText:pe,boldHelperText:ge,displayPrice:be,showRedemptionCodeModal:A,selectedOptionsByTitle:q},actions:{setQuantity:Z,setSelectedOptionsByTitle:B,handleDirectDownloadClick:xe,handleAddToCart:we,setShowRedemptionCodeModal:G}})),[$,X,V,U,J,_,te,se,ne,ie,le,oe,de,ce,he,ue,pe,ge,be,Z,xe,we,A,G,q,B])},xe=r(97729),we=r.n(xe),ye=r(12192),ve=r(77664);const je=d.default.section.withConfig({componentId:"sc-1i9d4nw-0"})(["background-color:",";position:relative;z-index:5;"],(e=>e.$bgColor?e.$bgColor:e=>{let{theme:t}=e;return t.color.lightGray4})),Ce=d.default.div.withConfig({componentId:"sc-1i9d4nw-1"})([""," background:#fff;max-width:1240px;margin:0 auto;transform:translateY(2em);border-radius:",";box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);@media (max-width:1240px){transform:translateY(0);border-radius:0;}","{padding:"," ",";}"],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-column-gap:",";grid-row-gap:",";","{grid-template-columns:3fr 2fr;grid-column-gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[48]}))}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[48]})),ze=d.default.div.withConfig({componentId:"sc-1i9d4nw-2"})(["overflow:hidden;"]),Le=d.default.div.withConfig({componentId:"sc-1i9d4nw-3"})(["display:flex;flex-direction:column;"]),Se=d.default.div.withConfig({componentId:"sc-1i9d4nw-4"})(["padding-top:",";padding-left:",";overflow:hidden;grid-column:1;","{grid-column:span 2;padding:0;}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Pe=(0,d.default)(ye.D).withConfig({componentId:"sc-1i9d4nw-5"})(["margin:0;padding:0;border:none;"]),Ie=d.default.div.withConfig({componentId:"sc-1i9d4nw-6"})(["display:flex;justify-content:left;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),Me=(0,d.default)(o.He).withConfig({componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),Te=d.default.div.withConfig({componentId:"sc-1i9d4nw-8"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:flex;gap:",";align-items:center;flex-wrap:wrap;padding:0 ",";","{padding:0 0 "," 0;}"],t.spacing[8],t.spacing[16],t.mediaQuery.tablet,t.spacing[16])})),ke=d.default.div.withConfig({componentId:"sc-1i9d4nw-9"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-auto-rows:min-content;padding:0 "," "," ",";a{text-decoration:none;width:100%;}","{padding:0;}"],t.spacing[16],t.spacing[16],t.spacing[16],t.mediaQuery.tablet)})),Oe=((0,d.default)(ve.I).withConfig({componentId:"sc-1i9d4nw-10"})(["max-width:215px;"]),(0,d.default)(ve.I).withConfig({componentId:"sc-1i9d4nw-11"})(["img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius}))),De=d.default.div.withConfig({componentId:"sc-1i9d4nw-12"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Ne=d.default.div.withConfig({componentId:"sc-1i9d4nw-13"})(["display:block;","{display:none;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),He=d.default.div.withConfig({componentId:"sc-1i9d4nw-14"})(["display:flex;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));d.default.span.withConfig({componentId:"sc-1i9d4nw-15"})(["display:none;background-color:",";color:",";font-weight:",";font-size:",";align-items:center;padding:0 ",";border-radius:",";margin-bottom:",";width:fit-content;margin-top:",";","{display:block;}"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.font.size.bodyDesktop}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t{const e=[{href:"/store/",label:d("Store")}];if(t.topLevelCategory){const r=t.topLevelCategory.code.toLowerCase().replace(/ /g,"-");e.push({href:`/store/${r}/`,label:t.topLevelCategory.label})}return t.name&&e.push({href:`/store/products/${t.urlKey}/`,label:d(t.name)}),e.map((e=>{let{href:t,label:r}=e;return(0,f.jsx)(_.Z,{href:t,children:(0,f.jsx)("a",{children:r})},t)}))}),[t,d]),x=(0,p.useMemo)((()=>[t.productImage&&Ee({},t.productImage),...t.productGallery??[]].filter((e=>["image","video"].includes(e?.resourceType))).map(((e,r)=>{let{publicId:n,resourceType:i}=e;return"image"===i?(0,f.jsx)($.K,{assetPath:n,alt:`${t.name} ${r+1}`},n):"video"===i?(0,f.jsx)(A.V,{assetPath:n},n):void 0}))),[t]);return(0,f.jsx)(je,{$bgColor:t.backgroundColor?`#${t.backgroundColor}`:U.rG[g],children:(0,f.jsxs)(Ce,{children:[(0,f.jsx)(Se,{children:(0,f.jsx)(G.B,{currentPage:`/store/products/${t.urlKey}/`,children:b})}),(0,f.jsxs)(ze,{children:[(0,f.jsxs)("div",{children:[(0,f.jsx)(Me,{children:(0,f.jsx)(X.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:we(),children:x},t.sku)}),(0,f.jsx)(Z.S,{size:8}),(0,f.jsx)(De,{children:(0,f.jsx)(Z.S,{size:8})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(Te,{children:[t.platinumPoints&&(0,f.jsx)(q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("My Nintendo Reward")}),t.exclusive&&(0,f.jsx)(q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Exclusive")}),t.requiresSubscription&&(0,f.jsx)(q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Nintendo Switch Online required")}),t.voucherNsuid&&(0,f.jsx)(q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Game Voucher eligible")})]})}),null!=t.contentRating&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(De,{children:(0,f.jsx)(o.bs,{rating:t.contentRating,descriptors:t.contentDescriptors,gamesShown:t.gamesShown})})}),(0,f.jsxs)(De,{children:[(0,f.jsx)(Z.S,{size:24}),t.displayChokingHazard?(0,f.jsxs)(Le,{children:[(0,f.jsxs)(n.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,f.jsx)("br",{})]}),(0,f.jsxs)(l.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,f.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,f.jsx)(o.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,f.jsxs)(ke,{children:[(0,f.jsxs)(He,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,f.jsx)(q.L,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,f.jsx)(B.P,{accentColor:U.rG[g],children:"GAMES"===t.topLevelCategory?.code?u:t.topLevelCategory?.label})]}),(0,f.jsx)(Z.S,{size:24}),(0,f.jsx)(n.H,{variant:"h1",children:t.name}),m&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z.S,{size:16}),(0,f.jsx)(l.T,{variant:"caption",children:d("Releases {0}",{args:[t.releaseDateDisplay?t.releaseDateDisplay:r(t.releaseDate,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]})}),(0,f.jsx)(Z.S,{size:8})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z.S,{size:24}),(0,f.jsxs)(Ie,{children:[t.relatedProducts.length>0&&(0,f.jsx)("div",{children:(0,f.jsx)(Pe,{href:"#dlc",icon:Q,locale:c,children:d("View DLC")})}),t.demoNsuid&&(0,f.jsx)(o.g,{product:t})]}),(0,f.jsx)(Z.S,{size:24})]}),(0,f.jsx)(Gr,{product:t,purchaseOptions:h}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z.S,{size:20}),(0,f.jsx)(_.Z,{href:t.baseSoftware[0].urlKey,children:(0,f.jsx)("a",{children:(0,f.jsxs)(i.G,{columns:"1fr 4fr",gap:V.d.spacing[8],alignItems:"center",children:[(0,f.jsx)(F.G,{column:"span 2",children:(0,f.jsx)(l.T,{variant:"legal",children:d("Required to play:")})}),(0,f.jsx)(Oe,{assetPath:t.baseSoftware[0].productImage.publicId,alt:t.baseSoftware[0].name}),(0,f.jsx)(l.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,f.jsxs)(Ne,{children:[(0,f.jsx)(Z.S,{size:24}),t.displayChokingHazard?(0,f.jsxs)(Le,{children:[(0,f.jsxs)(n.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,f.jsx)("br",{})]}),(0,f.jsxs)(l.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,f.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,f.jsx)(o.Ho,{data:t.topLegalDisclaimer}):null]})]})]})})};const Ae=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 250 66",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"NsoHorizontalLogoIcon",...e,children:[(0,f.jsx)("polygon",{fill:"#E60012",points:"0 0 250 0 250 66 0 66"}),(0,f.jsx)("path",{d:"M29.7610313,24.0037881 C29.7610313,25.9086441 31.3184219,27.4528305 33.240125,27.4528305 C35.1618281,27.4528305 36.7192187,25.9086441 36.7192187,24.0037881 C36.7192187,22.0993814 35.1618281,20.5556441 33.240125,20.5556441 C31.3184219,20.5556441 29.7610313,22.0993814 29.7610313,24.0037881 Z M41.5762656,13 L33.4879844,13 C28.2480469,13 24,17.2108051 24,22.4052542 L24,40.2747881 C24,45.4687881 28.2480469,49.6791441 33.4879844,49.6791441 L41.5762656,49.6791441 C41.72625,49.6791441 41.8476875,49.558322 41.8476875,49.4105508 L41.8476875,13.2690424 C41.8476875,13.1203729 41.72625,13 41.5762656,13 Z M38.8643125,46.7223729 L33.4879844,46.7223729 C31.7497969,46.7223729 30.1167344,46.0517881 28.8883125,44.8341356 C27.6594375,43.6169322 26.983375,41.9977373 26.983375,40.2747881 L26.983375,22.4052542 C26.983375,20.6823051 27.6594375,19.0631102 28.8878594,17.8463559 C30.1162813,16.6282542 31.7497969,15.9572203 33.4879844,15.9572203 L38.8643125,15.9572203 L38.8643125,46.7223729 Z M51.5155625,13 L45.7907812,13 C45.6575625,13 45.5501719,13.1068983 45.5501719,13.2393983 L45.5501719,49.4105508 C45.5501719,49.558322 45.6711562,49.6791441 45.8206875,49.6791441 L51.5155625,49.6791441 C56.7559531,49.6791441 61.0035469,45.4687881 61.0035469,40.2747881 L61.0035469,22.4052542 C61.0035469,17.2108051 56.7559531,13 51.5155625,13 L51.5155625,13 Z M52.8708594,36.882339 C50.8041562,36.882339 49.1294062,35.221822 49.1294062,33.1736864 C49.1294062,31.1255508 50.8041562,29.4654831 52.8708594,29.4654831 C54.9366562,29.4654831 56.6118594,31.1255508 56.6118594,33.1736864 C56.6118594,35.221822 54.9366562,36.882339 52.8708594,36.882339 L52.8708594,36.882339 Z M127.711703,45.4099492 L127.711703,19.5724492 L122.177687,19.5724492 L122.177687,36.2378051 L109.202,19.5724492 L103.950734,19.5724492 L103.950734,45.4099492 L109.221484,45.4099492 L109.221484,28.1813559 L123.094812,45.4099492 L127.711703,45.4099492 Z M83.5388125,18.7343305 C75.761375,18.7343305 69.4565937,24.8935593 69.4565937,32.4909746 C69.4565937,40.088839 75.761375,46.2480678 83.5388125,46.2480678 C91.3171562,46.2480678 97.6219375,40.0883898 97.6219375,32.4909746 C97.6219375,24.8935593 91.3171562,18.7343305 83.5388125,18.7343305 Z M83.5388125,40.9902881 C78.9640625,40.9902881 75.2543281,37.1846186 75.2543281,32.4914237 C75.2543281,27.7977797 78.9640625,23.9930085 83.5388125,23.9930085 C88.1149219,23.9930085 91.8242031,27.7977797 91.8242031,32.4914237 C91.8242031,37.1846186 88.1149219,40.9902881 83.5388125,40.9902881 L83.5388125,40.9902881 Z M140.889031,19.5724492 L135.291125,19.5724492 L135.291125,45.4099492 L155.173344,45.4099492 L155.173344,40.3713559 L140.889484,40.3713559 L140.889484,19.5724492 L140.889031,19.5724492 Z M166.203312,19.5724492 L160.605406,19.5724492 L160.605406,45.4095 L166.203312,45.4095 L166.203312,19.5724492 Z M226.680094,24.6110424 L226.680094,19.5724492 L205.158016,19.5724492 L205.158016,45.4099492 L226.680094,45.4099492 L226.680094,40.3713559 L210.756375,40.3713559 L210.756375,34.5346186 L225.907516,34.5346186 L225.907516,29.7511441 L210.756375,29.7511441 L210.756375,24.6110424 L226.680094,24.6110424 Z M192.009234,36.2378051 L179.034,19.5724492 L173.782281,19.5724492 L173.782281,45.4099492 L179.053484,45.4099492 L179.053484,28.1813559 L192.926359,45.4099492 L197.542797,45.4099492 L197.542797,19.5724492 L192.008781,19.5724492 L192.008781,36.2378051 L192.009234,36.2378051 Z",id:"Shape",fill:"#FFFFFF"})]});Ae.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Ae.defaultProps={color:"currentColor",size:24};const Ge=d.default.div.withConfig({componentId:"sc-jla5jl-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";border-radius:",";display:grid;grid-template-columns:1fr;padding:",";align-items:center;.storyAsset img{display:none;}","{grid-template-columns:1fr 1fr;padding:0 ",";.storyAsset img{display:block;}}"],t.color.lightGray4,(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[32]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[32]}))})),Xe=d.default.div.withConfig({componentId:"sc-jla5jl-1"})(["p{font-weight:700;a{margin:0 ",";}}"],(e=>{let{theme:t}=e;return t.spacing[8]})),Ze=d.default.p.withConfig({componentId:"sc-jla5jl-2"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h2Mobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.font.size.h2Desktop}));var qe=e=>{let{product:t}=e;const{text:r}=(0,s.i1)(),{locale:n}=(0,a.Z)(),i="/switch/online/";return t.nsoFeatures?(0,f.jsx)(o.$0,{constrained:!0,small:!0,children:(0,f.jsxs)(Ge,{children:[(0,f.jsxs)(Xe,{children:[(0,f.jsx)(Ae,{size:200}),(0,f.jsx)(Ze,{children:r("Play online, access classic NES\u2122 and Super NES\u2122 games, and more with a Nintendo Switch Online membership.")}),(0,f.jsxs)("p",{children:[r("This game supports:"),t.nsoFeatures?.map((e=>(0,f.jsxs)("span",{children:["ONLINE_PLAY"==e.code&&(0,f.jsx)(ee.L,{href:i,children:r("Online Play")},"online-play"),"SAVE_DATA_CLOUD"==e.code&&(0,f.jsx)(ee.L,{href:i,children:r("Save Data Cloud")},"save-data")]},e.code)))]}),(0,f.jsx)(te.B,{href:i,buttonWidth:"auto",locale:n,children:r("Learn more")})]}),(0,f.jsx)("div",{className:"storyAsset",children:(0,f.jsx)(ve.I,{assetPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/v1605147657/ncom/en_US/merchandising/curated%20list/Games%20for%20core%20gamers/Pro-Controller-Hands.png",alt:r("Nintendo Switch Pro Controller")})})]})}):(0,f.jsx)(f.Fragment,{})},Be=r(12870),Qe=r(80437);const Ve=(0,d.default)(l.T).withConfig({componentId:"sc-12oemti-0"})(["text-align:center;margin:1rem 0 2rem;"]),Fe=(0,d.default)(Qe.I).withConfig({componentId:"sc-12oemti-1"})(["input{padding:",";text-align:center;}"],(({theme:e})=>e.spacing[8])),_e=d.default.div.withConfig({componentId:"sc-12oemti-2"})(["display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:1rem;"]),Ue=d.default.div.withConfig({componentId:"sc-12oemti-3"})(["width:100%;height:90vh;display:flex;align-content:center;justify-content:center;"]),Ke=d.default.div.withConfig({componentId:"sc-12oemti-4"})(["display:flex;align-items:center;justify-content:center;z-index:2;text-align:center;flex-direction:column;"]),We=(0,d.default)(te.B).attrs((()=>({variant:"tertiary",size:"large"}))).withConfig({componentId:"sc-12oemti-5"})(["width:10em;margin:1em;"]),Ye=d.default.form.withConfig({componentId:"sc-12oemti-6"})(["max-width:16rem;display:flex;flex-direction:column;margin:0 auto;align-items:center;text-align:left;"]),Je=(0,d.default)(n.H).attrs((()=>({variant:"h1",large:!0}))).withConfig({componentId:"sc-12oemti-7"})([""]),[et,tt,rt]=["init","passed","failed"],nt="month",it="day",lt="year";const ot=({passed:e,failed:t,children:r,lang:n,country:i,minimumAge:l,onSuccess:o,onFailure:a})=>{const[s,d]=(0,p.useState)(t?rt:e?tt:et),[c,h]=(0,p.useState)({[nt]:{hasError:null,errorMsg:""},[it]:{hasError:null,errorMsg:""},[lt]:{hasError:null,errorMsg:""}}),[u,m]=(0,p.useState)(null),[g,b]=(0,p.useState)(null),[x,w]=(0,p.useState)(!1),y=(0,p.useRef)(null),v=(0,p.useRef)(null),j=(0,p.useRef)(null),{text:C}=(0,Be.u)({locale:n}),z=e=>{const t=Number(e.value),r=Number(e.dataset.min),n=Number(e.dataset.max),{valueMissing:i}=e.validity;return!(i||isNaN(t)||tn)},L=e=>{switch(e){case 2:return 29;case 4:case 6:case 9:case 11:return 30;default:return 31}};(0,p.useEffect)((()=>{const e=()=>u<=L(g);h((t=>({...t,[it]:{hasError:!e(),errorMsg:e()?"":C("Invalid")}})))}),[g,u,C]);const S=({target:e})=>{const{value:t,maxLength:r}=e;if(t.length===r)if(z(e))switch(h((t=>({...t,[e.name]:{hasError:!1,errorMsg:""}}))),e.name){case nt:"us"===i?v.current.focus():j.current.focus();break;case it:"us"===i?j.current.focus():y.current.focus()}else h((t=>({...t,[e.name]:{hasError:!0,errorMsg:"Invalid"}})))},P=({target:e})=>{const t=z(e),r=c[e.name]?.errorMsg||"Required";h((n=>({...n,[e.name]:{hasError:!t,errorMsg:t?"":C(r)}})))},I=(0,p.useCallback)((e=>{e.preventDefault();const t=function({year:e,month:t,day:r},n=new Date){const i=n.getFullYear(),l=n.getMonth()+1,o=n.getDate();let a=i-e;return l>t||l===t&&o>=r||a--,a}({year:Number(j.current.value),month:Number(y.current.value),day:Number(v.current.value)});t>=l?(d(tt),o()):(d(rt),a())}),[j,y,v,l,a,o]);(0,p.useEffect)((()=>{d(t?rt:e?tt:et)}),[e,t]),(0,p.useEffect)((()=>{const e=Object.values(c).map((e=>e.hasError));w(!e.includes(null)&&!e.includes(!0))}),[c]);const M=(0,f.jsx)(Fe,{ref:y,name:nt,placeholder:C("MM"),type:"text",required:!0,"data-min":"1","data-max":"12",maxLength:"2",autoComplete:"off",pattern:"\\d{1,2}",label:C("Month"),inputMode:"numeric",errorMessage:c[nt].errorMsg,onChange:S,onBlur:e=>{P(e),b(Number(e.target.value))},hasError:c[nt].hasError}),T=(0,f.jsx)(Fe,{ref:v,name:it,placeholder:C("DD"),type:"text",required:!0,"data-min":"1","data-max":L(g),maxLength:"2",autoComplete:"off",pattern:"\\d{1,2}",label:C("Day"),inputMode:"numeric",errorMessage:c[it].errorMsg,onChange:S,onBlur:e=>{P(e),m(Number(e.target.value))},hasError:c[it].hasError});return s==et?(0,f.jsx)(Ue,{children:(0,f.jsxs)(Ke,{children:[(0,f.jsx)(Je,{children:C("Age verification")}),(0,f.jsx)(Ve,{children:C("Please verify your age to access the following content.")}),(0,f.jsxs)(Ye,{name:"ageForm",onSubmit:I,noValidate:!0,children:[(0,f.jsxs)(_e,{children:["us"==i?M:T,"us"==i?T:M,(0,f.jsx)(Fe,{ref:j,name:lt,placeholder:C("YYYY"),type:"text",required:!0,"data-min":"1889","data-max":(new Date).getFullYear(),maxLength:"4",autoComplete:"off",pattern:"\\d{4}",label:C("Year"),inputMode:"numeric",errorMessage:c[lt].errorMsg,onChange:S,onBlur:P,hasError:c[lt].hasError})]}),(0,f.jsx)(We,{type:"submit",name:"submit","data-testid":"submit",disabled:!x,children:C("Continue")})]})]})}):s==rt?(0,f.jsx)(Ue,{children:(0,f.jsxs)(Ke,{children:[(0,f.jsx)(Je,{children:C("Age verification")}),(0,f.jsx)(Ve,{children:C("Sorry, you are not eligible to view or download this content at this time.")})]})}):r};ot.propTypes={children:g().node,minimumAge:g().number,passed:g().bool,failed:g().bool,onSuccess:g().func,onFailure:g().func,lang:g().oneOf(["en","es","fr","pt"]),country:g().oneOf(["us","ca","mx","br","co","cl","pe","ar"])},ot.defaultProps={passed:!1,failed:!1,country:"us",lang:"en",minimumAge:17,onSuccess:()=>{},onFailure:()=>{}};var at=ot,st=r(68291),dt=r(79102),ct=r(5992),ht=r(77064),ut=r(72354),pt=r(40768);const mt=(0,d.default)(o.$0).withConfig({componentId:"sc-4l5ex7-0"})(["margin-top:",";","{margin-top:",";}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[64]})),gt=d.default.div.withConfig({componentId:"sc-4l5ex7-1"})(["p,a{","}"],(e=>{let{theme:t}=e;return(0,d.css)(["font-size:",";","{font-size:",";}"],t.font.size.legalMobile,t.mediaQuery.tablet,t.font.size.legalDesktop)})),ft=d.default.div.withConfig({componentId:"sc-4l5ex7-2"})(["display:flex;align-items:baseline;gap:0.25rem;"]),bt=d.default.div.withConfig({componentId:"sc-4l5ex7-3"})(["display:block;justify-content:center;border-radius:",";overflow:hidden;img{max-height:24em;object-fit:contain;}"],(e=>{let{theme:t}=e;return t.borderRadius})),xt=d.default.div.withConfig({componentId:"sc-4l5ex7-4"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;align-items:start;gap:",";","{grid-template-columns:repeat(2,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[28]}),t.mediaQuery.tablet)})),wt=d.default.section.withConfig({componentId:"sc-4l5ex7-5"})(["padding:1rem;"]);var yt=r(79185),vt=r(31347);function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ct(e){for(var t=1;t0,w=(0,s.ZQ)(),{trackViewItem:y}=(0,s.z$)(),{0:v,1:j}=(0,p.useState)(!1),C=r.ageGate||r.contentRating?.requiresAgeGate,z=Lt.get(),[L,S]=g.split("-"),P=r.officialSite?.startsWith("http")?r.officialSite:`//${r.officialSite}`,I=r.relatedArticles,M=(0,p.useMemo)((()=>{const e=[];return ut.wh.has(g)&&(r.upsellProducts?.length&&e.push({heading:h("Related items to explore"),products:r.upsellProducts.slice(0,16).map(H.Z)}),r.crossSellProducts?.length&&e.push({heading:h("More like this"),products:r.crossSellProducts.slice(0,16).map(H.Z)}),c?.length&&e.push({heading:h("Digital best sellers"),products:c.map(H.Z)})),e}),[r.upsellProducts,r.crossSellProducts,c,h,g]),{waitForElementRef:T}=(0,pt.r)(),k=(0,p.useCallback)((()=>{T(!0)}),[T]);return(0,p.useEffect)((()=>{w.addProduct&&!v&&(j(!0),r.edition?w.addProduct(r):w.addProduct(r.configurableProduct||r))}),[w,r,v]),(0,yt.nw)((()=>y(r,(0,yt.DW)({name:r.name})))),C&&b.loading?(0,f.jsx)(wt,{}):(0,f.jsxs)(at,{passed:"true"===z&&!b.data?.isChild||!C,failed:(b.data?.isChild||"false"===z)&&C,onSuccess:()=>Lt.set("true",zt),onFailure:()=>Lt.set("false",zt),lang:L,country:S,minimumAge:"mx"===S?18:17,children:[(0,f.jsx)($e,{product:r}),"BUNDLE"===r.productType&&(0,f.jsxs)(o.$0,{constrained:!0,small:!0,children:[(0,f.jsx)(Z.S,{size:24}),(0,f.jsx)(n.H,{variant:"h1",children:h("Included in this bundle")}),(0,f.jsx)(st.R,{contained:!0,children:r.bundleItems?.filter((e=>!!e.options.length)).map((e=>{const t=e.options.find((e=>{let{isDefault:t}=e;return t}))?.product??e.options[0]?.product,r=e.options.length>1?t.variations:[];return(0,p.createElement)(vt.I8,Ct(Ct({},t),{},{isSalableQty:e.options.some((e=>e?.product?.isSalableQty)),variations:r,artPath:t?.productImage?.publicId,platform:t?.platform?.label,platformCode:t?.platform?.code,key:t.sku,showRating:!0}))}))})]}),(0,f.jsxs)(n.H.NewLevel,{children:[d&&(0,f.jsx)(mt,{constrained:!0,small:!0,children:(0,f.jsxs)(xt,{children:[(0,f.jsxs)("div",{children:[r.headline&&(0,f.jsx)(n.H,{children:r.headline}),(0,f.jsx)(Vr,{maxLines:10,description:r.richTextDescription?.json||r.description,category:r.topLevelCategory}),r.officialSite&&(0,f.jsx)("a",{href:P,target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(te.B,{children:h("Explore this game's official website")})})]}),(r.descriptionImage||r.productImage)&&(0,f.jsx)(bt,{children:(0,f.jsx)("div",{children:(0,f.jsx)(ve.I,{assetPath:r.descriptionImage?r.descriptionImage.publicId:r.productImage.publicId,alt:r.name})})})]})}),i?.asset?.primary?.assetPath?(0,f.jsx)(o.$0,{constrained:!0,small:!0,background:i.background?.backgroundType,id:"banner",children:(0,f.jsx)(o.tm,{content:{assetPath:i.asset?.primary?.assetPath,assetPathAlt:i.asset?.alt,cta:i.ctaList[0],description:i.description,heading:i.heading,modifiers:i.modifiers}})}):null,t,I?.length>0&&g===ut.ZW&&(0,f.jsxs)(o.$0,{constrained:!0,small:!0,children:[(0,f.jsx)(D.H,{ctaText:h("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:dt.Z,ctaTarget:"_blank",children:h("Related news and events")}),(0,f.jsx)(Z.S,{size:16}),(0,f.jsx)(st.R,{contained:!0,children:I.map((e=>{let{id:t,url:r,title:n,media:i,publishDate:l}=e;return(0,f.jsx)(ct.N,{articleLink:r,articleTitle:n,artPath:i?.publicId,publishDate:u(l,{format:m.SHORT}),readMoreLabel:h("Read more"),size:"small"},t)}))})]}),(0,f.jsx)(O,{product:r,locale:g}),r.sizeChart&&(0,f.jsxs)(o.$0,{id:"sizing",constrained:!0,background:V.d.color.lightGray4,small:!0,children:[(0,f.jsx)("h2",{children:h("Size chart")}),(0,f.jsx)(on,{product:r})]}),(0,f.jsx)(qe,{product:r}),x?(0,f.jsx)(o.$0,{id:"dlc",small:!0,children:(0,f.jsx)(R,{product:r,locale:g})}):null,(0,f.jsx)(o.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,f.jsx)(o.$3,{collections:M})}),(0,f.jsx)(o.HU,{currentSku:r.edition?r.sku:r.configurableProduct?.sku||r.sku,small:!0,onProductsLoaded:k}),(0,f.jsxs)(o.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===r.topLevelCategory?.code&&(0,f.jsx)(l.T,{variant:"legal",children:h("WARNING: If you have epilepsy or have had seizures or other unusual reactions to flashing lights or patterns, consult a doctor before playing video games. All users should read the Health and Safety Information available in the system settings before using this software.")}),r.disclaimer&&(0,f.jsx)(gt,{dangerouslySetInnerHTML:{__html:r.disclaimer}}),r.richTextDisclaimer?.json&&(0,f.jsx)(o.Ho,{textVariant:"legal",data:r.richTextDisclaimer?.json}),r.displayProp65&&(0,f.jsxs)(gt,{children:[(0,f.jsxs)(ft,{children:[(0,f.jsx)(ht.Z,{size:16}),(0,f.jsx)(n.H,{variant:"h3",children:h("Warning:")})," ",h("Cancer and reproductive harm.")]}),(0,f.jsx)(ee.L,{href:"https://www.p65warnings.ca.gov/",children:"p65warnings.ca.gov"})]})]})]})]})}var Pt=r(91383),It=r(49446);const Mt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"GroupIcon",...e,children:[(0,f.jsx)("path",{fill:e.color,d:"M9 13c0 3.8 3.1 6.9 6.9 6.9 3.8 0 6.9-3.1 6.9-6.9 0-3.8-3.1-6.9-6.9-6.9C12.1 6.1 9 9.2 9 13z"}),(0,f.jsx)("path",{fill:e.color,d:"M24.3 13c0 .7-.1 1.4-.3 2h.3c3.2 0 5.8-2.6 5.8-5.9 0-3.3-2.6-5.9-5.8-5.9-1.8 0-3.5.9-4.5 2.3 2.7 1.4 4.5 4.2 4.5 7.5zM7.4 15h.3c-.2-.6-.3-1.3-.3-2 0-3.3 1.8-6.1 4.5-7.5-1.1-1.4-2.7-2.3-4.5-2.3-3.2 0-5.8 2.6-5.8 5.9 0 3.3 2.6 5.9 5.8 5.9zm5.1 5.7c-1.8-.8-3.2-2.2-4.1-3.9-.3 0-.6-.1-1-.1C3.3 16.8 0 19.6 0 23h8.2c1.2-1 2.6-1.8 4.3-2.3zm11.8-3.9c-.3 0-.7 0-1 .1-.9 1.7-2.3 3.1-4.1 3.9 1.6.5 3.1 1.3 4.2 2.3h8.2c.2-3.5-3.2-6.3-7.3-6.3zm-8.4 5.1c-4.8 0-8.7 3-9 6.7h18c-.4-3.8-4.3-6.7-9-6.7z"})]});Mt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Mt.defaultProps={color:"currentColor",size:24};var Tt=r(21203);const kt=e=>(0,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"BuildingIcon",...e,children:(0,f.jsx)("path",{d:"M28.9 2.1C28.9 1 28 0 26.8 0H5.6C4.4 0 3.5 1 3.5 2.1v29.8H12v-6.4h7.4v6.4h9.5V2.1zm-19 25.6H6.7v-3.2h3.2v3.2zm0-5.4H6.7v-3.2h3.2v3.2zm0-5.3H6.7v-3.2h3.2V17zm0-5.3H6.7V8.5h3.2v3.2zm0-5.3H6.7V3.2h3.2v3.2zm5.2 15.9H12v-3.2h3.2v3.2zm0-5.3H12v-3.2h3.2V17zm0-5.3H12V8.5h3.2v3.2zm0-5.3H12V3.2h3.2v3.2zm5.3 15.9h-3.2v-3.2h3.2v3.2zm0-5.3h-3.2v-3.2h3.2V17zm0-5.3h-3.2V8.5h3.2v3.2zm0-5.3h-3.2V3.2h3.2v3.2zm5.3 21.3h-3.2v-3.2h3.2v3.2zm0-5.4h-3.2v-3.2h3.2v3.2zm0-5.3h-3.2v-3.2h3.2V17zm0-5.3h-3.2V8.5h3.2v3.2zm0-5.3h-3.2V3.2h3.2v3.2z",fillRule:"evenodd",clipRule:"evenodd",fill:e.color})});kt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},kt.defaultProps={color:"currentColor",size:24};var Ot=r(25338);const Dt=e=>(0,f.jsx)("svg",{"data-name":"Switch lite",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"SwitchLiteIcon",...e,children:(0,f.jsx)("path",{d:"M28.737 9.41H3.262a3.218 3.218 0 0 0-3.218 3.218v7.164a3.218 3.218 0 0 0 3.218 3.218h25.475a3.218 3.218 0 0 0 3.219-3.218v-7.164a3.218 3.218 0 0 0-3.219-3.218zm.112 2.173a.563.563 0 1 1-.563.563.563.563 0 0 1 .563-.563zm0 2.32a.563.563 0 1 1-.563.564.563.563 0 0 1 .563-.563zM3.146 12.106a1.2 1.2 0 1 1-1.2 1.201 1.2 1.2 0 0 1 1.2-1.2zm1.437 5.85a.125.125 0 0 1-.125.125h-.731a.133.133 0 0 0-.133.134v.73a.126.126 0 0 1-.125.126h-.636a.125.125 0 0 1-.126-.126v-.73a.133.133 0 0 0-.132-.134h-.732a.125.125 0 0 1-.125-.125v-.636a.125.125 0 0 1 .125-.125h.732a.133.133 0 0 0 .132-.133v-.73a.125.125 0 0 1 .126-.126h.636a.126.126 0 0 1 .125.125v.731a.133.133 0 0 0 .133.133h.73a.125.125 0 0 1 .126.125zm1.674 3.654h19.497V10.82H6.257zm20.807-8.302a.563.563 0 1 1 .563.563.563.563 0 0 1-.563-.563zm1.778 5.532a1.2 1.2 0 1 1 1.2-1.2 1.2 1.2 0 0 1-1.2 1.2zm1.23-4.97a.563.563 0 1 1 .562-.562.563.563 0 0 1-.563.563z",fill:e.color,fillRule:"evenodd"})});Dt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Dt.defaultProps={color:"currentColor",size:24};const Nt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"StorageIcon",...e,children:[(0,f.jsx)("ellipse",{cx:16,cy:4.234,rx:13,ry:4.234,fillRule:"evenodd",clipRule:"evenodd",fill:e.color}),(0,f.jsx)("path",{fill:e.color,d:"M3 15.71v5.293c0 .408.239.781.616.935C7.085 23.35 11.362 24.192 16 24.192s8.915-.84 12.384-2.254c.377-.154.616-.527.616-.935V15.71c-3.573 1.57-8.084 2.515-13 2.515S6.573 17.28 3 15.71z"}),(0,f.jsx)("path",{fill:e.color,d:"M3 7.852v5.292c0 .408.239.782.616.935 3.469 1.414 7.746 2.254 12.384 2.254s8.915-.84 12.384-2.254c.377-.153.616-.527.616-.935V7.852c-3.573 1.57-8.084 2.514-13 2.514S6.573 9.422 3 7.852zm26 15.767c-3.573 1.57-8.084 2.514-13 2.514S6.573 25.19 3 23.62v4.147C3 30.104 8.82 32 16 32s13-1.896 13-4.234"})]});Nt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Nt.defaultProps={color:"currentColor",size:24};var Ht=r(32687);const Rt=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"SkuIcon",...e,children:[(0,f.jsx)("path",{fill:e.color,d:"M11.48 23.31h2.14l.75-4.26h2.13l-.75 4.26h2.13l.75-4.26h4.27l.38-2.13H19l.38-2.14h4.26l.36-2.13h-4.24l.76-4.26h-2.14l-.75 4.26H15.5l.75-4.26h-2.13l-.76 4.26H9.1l-.38 2.13H13l-.38 2.14H8.34L8 19.05h4.26zm3.64-8.53h2.13l-.37 2.14h-2.14z"}),(0,f.jsx)("path",{fill:e.color,d:"M29.87 3.07H2.13A2.13 2.13 0 0 0 0 5.2v21.3a2.13 2.13 0 0 0 2.13 2.13h27.74A2.13 2.13 0 0 0 32 26.5V5.2a2.13 2.13 0 0 0-2.13-2.13zM28.8 25.44H3.2V6.26h25.6z"})]});Rt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Rt.defaultProps={color:"currentColor",size:24};const Et=e=>(0,f.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"BarcodeIcon",...e,children:[(0,f.jsx)("path",{fill:e.color,d:"M16 8.5h4.3v13.9H16zm8.5 0h2.1v14.9h-2.1zm-3.2 0h2.1v13.9h-2.1zm-8.5 0h2.1v13.9h-2.1z"}),(0,f.jsx)("path",{fill:e.color,d:"M29.9 3.2H2.1C1 3.2 0 4.2 0 5.3v21.3c0 1.2 1 2.1 2.1 2.1h27.7c1.2 0 2.1-1 2.1-2.1V5.3c.1-1.1-.9-2.1-2-2.1zm-1.1 22.4H3.2V6.4h25.6v19.2z"}),(0,f.jsx)("path",{fill:e.color,d:"M5.3 8.5h2.1v14.9H5.3zm3.2 0h3.2v13.9H8.5z"})]});Et.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Et.defaultProps={color:"currentColor",size:24};var $t=r(7771);const At=d.default.div.withConfig({componentId:"sc-1237z5p-0"})(["margin:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[32]})),Gt=d.default.div.withConfig({componentId:"sc-1237z5p-1"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:28px 1fr;align-items:start;gap:",";grid-row-gap:0;border-bottom:1px solid ",";padding:",";svg{grid-row:1 / 3;}&:nth-child(1){border-top:1px solid ",";}","{grid-template-columns:28px 1fr 2fr;align-items:center;svg{grid-row:1;}}"],(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return`${t.spacing[16]} ${t.spacing[8]}`}),(e=>{let{theme:t}=e;return t.color.lightGray2}),t.mediaQuery.tablet)})),Xt=d.default.div.withConfig({componentId:"sc-1237z5p-2"})(["display:flex;align-items:center;flex-wrap:wrap;gap:",";button{padding:0;}","{gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[16]})),Zt=(d.default.div.withConfig({componentId:"sc-1237z5p-3"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:",";"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>e.supported?t.color.secondary:"rgba(60, 64, 89, 0.15)"),(e=>e.supported?"#fff":"#c8c8c8"))}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadius})),d.default.div.withConfig({componentId:"sc-1237z5p-4"})(["display:flex;align-items:center;justify-content:center;border:1px dashed #e60012;width:100%;padding:1em ",";"],(e=>{let{theme:t}=e;return t.spacing[32]})),{[ut.bA]:$t.H.attribute,[ut.oV]:$t.G.attribute}),qt=e=>{let{icon:t,heading:r,descriptions:i}=e;return(0,f.jsxs)(Gt,{children:[t,(0,f.jsx)(n.H,{variant:"h3",children:r}),(0,f.jsx)(Xt,{children:i.map((e=>(0,f.jsx)("div",{children:e.href?(0,f.jsx)(ee.L,{href:e.href,children:e.label}):e.label},e.label)))})]})},Bt=(e,t,r)=>{let n=[];return t.playersMax&&n.push(Qt(r("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:r})),t.playersMaxLocal&&n.push(Qt(r("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:r})),t.playersMaxOnline&&n.push(Qt(r("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:r})),n},Qt=(e,t,r,n)=>{const{searchPrefix:i,text:l}=n,o=parseInt(r||t),a=1===o?l("Single Player"):o>3?"4+":`${o}+`;return{href:`${i}#cat=gme&f=playerCount&playerCount=${encodeURIComponent(a)}`,label:e+" ("+(t!=r?t+"-":"")+(r||"")+")"}};var Vt=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{date:l,DateFormat:o,text:d}=(0,s.i1)(),c="/search",h=Zt[r]||"esrbRating",u=t.genres?.map((e=>({href:`/search/#cat=gme&f=genres&genres=${encodeURIComponent(e.label)}`,label:e.label}))),p=t.playModes?.map((e=>d(e.label))),m=Bt(c,t,d),g=(0,me.EE)(t);return(0,f.jsxs)(At,{children:[(0,f.jsx)(Pt.S,{id:"product-info",children:(0,f.jsx)(n.H,{children:d("Product information")})}),(0,f.jsx)(n.H.NewLevel,{children:(0,f.jsxs)(i.G,{columns:1,gap:0,children:[t.releaseDate&&(0,f.jsx)(qt,{icon:(0,f.jsx)(It.Z,{size:28}),heading:d("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:l(t.releaseDate,{format:o.LONG})}]}),t.playersMax&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Mt,{size:28}),heading:d("No. of players"),descriptions:m}),t.genres&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Tt.Z,{size:28}),heading:d("Genre"),descriptions:u}),t.softwarePublisher&&(0,f.jsx)(qt,{icon:(0,f.jsx)(kt,{size:28}),heading:d("Publisher"),descriptions:[{href:`/search#cat=gme&f=softwarePublisher&softwarePublisher=${encodeURIComponent(t.softwarePublisher)}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Ot.Z,{size:28}),heading:d("ESRB rating"),descriptions:[{href:`/search#cat=gme&sort=df&f=${h}&${h}=${encodeURIComponent((0,me.r5)(t))}`,label:t.contentRating.label}]}),t.playModes&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Dt,{size:28}),heading:d("Supported play modes"),descriptions:[{label:p.join(", ")}]}),t.romFileSize&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Nt,{size:28}),heading:d("Game file size"),descriptions:[{label:(0,me.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Ht.Z,{size:28}),heading:d("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(d).join(", ")}]}),t.countryOfOrigin&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Ht.Z,{size:28}),heading:d("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,f.jsx)(qt,{icon:(0,f.jsx)(kt,{size:28}),heading:d("Manufacturer"),descriptions:[{href:`/search#q=${encodeURIComponent(t.manufacturer)}&p=1&cat=merch&sort=df`,label:t.manufacturer}]}),t.sku&&!g&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Rt,{size:28}),heading:d("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,f.jsx)(qt,{icon:(0,f.jsx)(Et,{size:28}),heading:d("UPC"),descriptions:[{label:t.upc}]})]})})]})},Ft=r(25237),_t=r.n(Ft),Ut=r(9069),Kt=r(80149),Wt=r(84011),Yt=r(7162),Jt=r(7141),er=r(1205),tr=r(68622),rr=r(85316),nr=r(80963);var ir=(e,t,r,n)=>{const{actions:{openDrawer:i,closeDrawer:l,addOrUpdateDrawer:o,removeDrawer:a}}=(0,tr.eV)(),s=(0,p.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:r}=e,{viewPortTopOffset:o=0}=n||{},a=r?.top<=0+o,s=t?.dataset?.drawerId;s&&(a?i(s):l(s))}))}),[i,l,n]);(0,p.useEffect)((()=>{e.forEach((e=>{o(e,r[e].drawer)}))}),[o,e,r]),(0,p.useEffect)((()=>()=>{e.forEach((e=>{a(e)}))}),[a,e]),(0,p.useLayoutEffect)((()=>{const{viewPortTopOffset:r=0}=n||{},i=new IntersectionObserver(s,{rootMargin:`-${r}px 0px 0px 0px`,threshold:1});return e.forEach((e=>{t[e].ref.current&&i.observe(t[e].ref.current)})),()=>{e.forEach((e=>{t[e].ref.current&&i.unobserve(t[e].ref.current)}))}}),[s,e,t,n])},lr=r(96827);const or="64px",ar="110px",sr="14px",dr="20px",cr=d.default.div.withConfig({componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;"]),hr=d.default.div.withConfig({componentId:"sc-66y51m-1"})(["display:flex;width:100%;height:",";align-items:flex-start;justify-content:space-between;padding-top:1rem;transition:height 150ms ease-in-out;","{align-items:center;width:",";max-width:",";height:",";padding-top:0;}"],(e=>{let{$hasError:t}=e;return t?`${10+parseInt(ar)}px`:ar}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),lr.As,lr.oQ,(e=>{let{$hasError:t}=e;return t?`${10+parseInt(or)}px`:or})),ur=d.default.div.withConfig({componentId:"sc-66y51m-2"})(["display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 1rem;","{width:initial;justify-content:flex-end;padding:0;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),pr=(0,d.default)(n.H).withConfig({componentId:"sc-66y51m-3"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),mr=d.default.div.withConfig({componentId:"sc-66y51m-4"})(["display:flex;flex-direction:column;row-gap:",";width:50%;","{align-items:center;flex-direction:row;width:initial;row-gap:unset;}"],(e=>{let{theme:t}=e;return t.spacing[4]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),gr=d.default.div.withConfig({componentId:"sc-66y51m-5"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-right:1rem;position:relative;"]),fr=d.default.div.withConfig({componentId:"sc-66y51m-6"})(["visibility:",";"],(e=>{let{$visible:t}=e;return t?"visible":"hidden"})),br=(0,d.default)(J.S).withConfig({componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),xr=d.default.span.withConfig({componentId:"sc-66y51m-8"})(["font-size:",";font-weight:",";","{margin-right:",";white-space:nowrap;}"],(e=>{let{theme:t}=e;return t.font.size.legalDesktop}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{$smallMargin:t}=e;return t?"0.5rem":"1rem"})),wr=(0,d.default)(te.B).withConfig({componentId:"sc-66y51m-9"})(["width:100%;min-width:",";","{min-width:",";}"],(e=>{let{theme:t}=e;return t.pxToRem(180)}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.pxToRem(225)})),yr=(0,d.default)(i.G).withConfig({componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],sr,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),dr),vr=(0,d.default)(Kt.Z).withConfig({componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],sr,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),dr),jr=(0,d.default)(n.H).withConfig({componentId:"sc-66y51m-12"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.titleMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.font.size.h3Desktop})),Cr=(0,d.default)(l.T).withConfig({componentId:"sc-66y51m-13"})(["color:",";font-weight:",";text-align:center;margin-top:0.25rem;"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.font.weight.bold}));var zr=r(4953);var Lr=e=>{let{onChange:t,isBundle:r,product:n,title:i,value:l}=e;const{topLevelCategory:o,variations:a,nsuid:s}=n;if("GAMES"===o?.code){if("MOBILE"==s)return(0,f.jsx)(zr.uP,{product:n});if(a?.length>3)return(0,f.jsx)(zr.Z5,{product:n});if(a?.length>0)return(0,f.jsx)(zr.Kx,{onChange:t,isBundle:r,product:n,title:i,value:l})}return a?.length>0?(0,f.jsx)(zr.ig,{isBundle:r,onChange:t,product:n,title:i,value:l}):null},Sr=r(85941),Pr=r(34723);function Ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Mr=(e,t)=>{const r=[ut.xJ,ut.oV,ut._1,ut.bA],n={[ut.xJ]:{4:"HNA"},[ut.oV]:{8:"PSTM",7:"MSTM",6:"CSTM",5:"ESTM"},[ut._1]:{3:"ART"},[ut.bA]:{2:"FNT",3:"BRT",4:"AMT",5:"ACT"}};return r.includes(t)?e.replace(/(?:UTC|GMT).(\d)/,((e,r)=>n[t][r]||e)):e},Tr=(e,t,r,n)=>{const i=new Date,l=new Date(e),o=t===ut.xJ,a=l.getTime()-i.getTime();if(a<0)return null;if(!(a/6e4/60>24))return r("Sale ends: {0}",{args:[(0,f.jsx)(Pr.C,{onTimeEnd:n,endDate:e,abbreviate:!1},"timer")]});{const e=o?"es-MX":t===ut.bu?"en-US":(0,Sr.ZP)(t);try{const n=Intl.DateTimeFormat().resolvedOptions().timeZone,i=l.toLocaleDateString(e,function(e){for(var t=1;t`${t.toLowerCase()}.m.`)),t)]})}catch{return null}}},kr="The requested quantity is not available",Or={DEFAULT:"Something went wrong. Please try again.",QTY_NOT_AVAILABLE:kr,QTY_NOT_AVAILABLE_FR:kr,INSUFFICIENT_STOCK:kr,QTY_EXCEEDS_MAXIMUM:kr,PURCHASE_LIMIT_REACHED:kr,PRODUCT_UNAVAILABLE:kr};function Dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nr(e){for(var t=1;tr.e(1370).then(r.bind(r,91370))),{ssr:!1,loadableGenerated:{webpack:()=>[91370]}}),Rr=(0,rr.Z)(Ut.W),Er="add-to-cart-drawer",$r="added-to-cart-drawer",Ar=[Er];function Gr(e){let{product:t,purchaseOptions:r}=e;const{actions:{openDrawer:c,closeDrawer:h,addOrUpdateDrawer:u,removeDrawer:m}}=(0,tr.eV)(),g=(0,p.useRef)(),b="BUNDLE"===t.productType,x=t.bundleItems?.filter((e=>e.options?.length>1)),w=(0,p.useContext)(d.ThemeContext),{locale:y}=(0,a.Z)(),v=y?.split("-")[0]??"en",{text:j}=(0,s.i1)(),C=(0,nr.Z)(nr.o.DESKTOP),{0:z,1:L}=(0,p.useState)(0),{0:S,1:P}=(0,p.useState)(),{state:{addableQty:I,quantity:M,isLoading:T,isMobileGame:k,isDigitalProduct:O,isPurchasable:D,retailerSku:N,buttonDisabled:H,promptLogin:R,disableQuantity:E,buttonCopy:$,helperText:A,boldHelperText:G,displayPrice:X,showRedemptionCodeModal:q,selectedOptionsByTitle:B},actions:{handleDirectDownloadClick:Q,handleAddToCart:_,setQuantity:U,setShowRedemptionCodeModal:K,setSelectedOptionsByTitle:W}}=r,{platinumPoints:Y,eshopDetails:ee}=t,ae=(0,p.useMemo)((()=>({id:$r,drawer:{height:"325px",target:tr.zO.FLYOUT,bgColor:w.color.lightGray3,enableScrim:!0,content:(0,f.jsx)(o.ZL,{product:t,quantity:z,onClose:()=>h($r)})}})),[t,z,w,h]),me=(0,p.useCallback)((async()=>{L(M),P();const{data:e,errors:r}=await _()||{},n=e?.cart?.items.some((e=>{let{product:r}=e;return r.sku===t.sku})),i=r?.length>0;if(n&&!i)c($r);else if(i){const e=r?.[0]?.extensions?.code;P(Or[e]||Or.DEFAULT)}}),[t,M,_,c]),ge=(0,p.useMemo)((()=>({viewPortTopOffset:C?tr.nI.DESKTOP:0})),[C]),fe=(0,p.useMemo)((()=>({[Er]:{ref:g}})),[]),be=S?`${10+parseInt(or)}px`:or,xe=S?`${10+parseInt(ar)}px`:ar,we=(0,p.useMemo)((()=>({[Er]:{drawer:{height:C?be:xe,target:tr.zO.TOP_DRAWER,bgColor:V.d.color.lightGray3,content:(0,f.jsx)(an,{product:t,errorMessage:S,purchaseOptions:Nr(Nr({},r),{},{actions:Nr(Nr({},r.actions),{},{handleAddToCart:me})})})}}})),[t,C,r,S,me,be,xe]);ir(Ar,fe,we,ge),(0,p.useEffect)((()=>{u(ae.id,ae.drawer)}),[ae,u]),(0,p.useEffect)((()=>{U(1)}),[U,I]),(0,p.useEffect)((()=>{P()}),[t?.sku,M]),(0,p.useEffect)((()=>()=>{m($r)}),[m]);const ye=(0,p.useMemo)((()=>ee?.discountPriceEnd?Tr(ee?.discountPriceEnd,y,j,(()=>{window.location.reload()})):null),[ee,y,j]);return(0,f.jsxs)(f.Fragment,{children:[!b&&(0,f.jsx)(Lr,{product:t}),(0,f.jsx)(Z.S,{size:24}),ye&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(he,{backgroundColor:w.color.primary,foregroundColor:"#fff",children:ye}),(0,f.jsx)(Z.S,{size:8})]}),!k&&(0,f.jsxs)(ne,{children:[(0,yt.vS)(y)&&!O?null:T?(0,f.jsx)(ie,{width:"50%"}):Y?(0,f.jsxs)(i.G,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,f.jsx)(Kt.Z,{size:24}),(0,f.jsxs)(n.H,{variant:"h2",children:[Y," ",j("Platinum Points")]})]}):(0,f.jsx)(Wt.P,{regPrice:X.regPrice,size:"large",salePrice:X.salePrice,lang:v}),(0,rr.Y)(t)&&(0,f.jsx)(Rr,{product:t,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),b&&(0,f.jsx)(pe,{children:x.map((e=>{const{options:t,title:r}=e,n=t.find((e=>{let{isDefault:t}=e;return t}))||t[0],i=n?.product?.configurableOptions?.[0]?.attributeCode?.toLowerCase();return(0,f.jsx)(Lr,{onChange:e=>{t.find((t=>{let{id:r}=t;return r===e})).product?.isSalableQty&&W((t=>Nr(Nr({},t),{},{[r]:e})))},value:B[r],title:j(`Select ${i} for {0}`,{args:[r]}),isBundle:!0,product:Nr(Nr({},n.product),{},{variations:t.map((e=>{const{label:t,value:r}=e.product.variations.find((t=>t.product.sku==e.product.sku));return Nr(Nr({},e),{},{label:t,value:r,product:Nr(Nr({},e.product),{},{url:""})})}))})},e.id)}))}),ee?.goldPoints?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z.S,{size:24}),T?(0,f.jsx)(J.S,{width:"25%"}):(0,f.jsxs)(le,{children:[(0,f.jsx)("div",{children:(0,f.jsx)(Yt.Z,{size:24})}),(0,f.jsx)(l.T,{variant:"legal",children:j("Eligible for up to {0} Gold Points",{args:[(0,f.jsx)(oe,{children:ee?.goldPoints},"goldPoints")]})})]})]}):null,(0,f.jsx)(Z.S,{size:24}),(0,f.jsx)(i.G,{columns:"1fr 3fr",alignItems:"center",children:O?(0,f.jsx)(F.G,{column:"span 2",children:(D||"MarketingProduct"===t.__typename)&&(0,f.jsx)(te.B,{onClick:Q,icon:H||R?"":Jt.Z,isLoading:T,buttonWidth:"full",disabled:H,size:"large",href:H||R?null:ee?.purchaseUrl,children:"string"===typeof $?j($):$})}):(0,yt.vS)(y)?null:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(re,{quantity:M,max:E?1:I,min:1,onChange:U,disabled:H}),(0,f.jsx)(ce,{onClick:me,isLoading:T,disabled:H,icon:H||R?"":er.Z,buttonWidth:"full",size:"large",children:"string"===typeof $?j($):$})]})}),(0,f.jsx)("span",{ref:g,"data-drawer-id":Er}),A&&(O||!(0,yt.vS)(y))&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Z.S,{size:20}),S&&(0,f.jsx)(de,{variant:"caption",children:j(S)}),t.voucherNsuid&&(0,f.jsx)(o.lE,{nsuid:t.nsuid}),(0,f.jsx)(se,{variant:"legal",children:(0,f.jsx)(ue,{"data-testid":"helperText",$boldHelperText:G,children:"string"===typeof A?j(A):A})})]}),N?(0,f.jsxs)(f.Fragment,{children:[(!(0,yt.vS)(y)||O)&&(0,f.jsx)(Z.S,{size:24}),(0,f.jsx)(o.Qc,{sku:N,name:t.name,type:(0,yt.vS)(y)&&!O?"button":"link"})]}):null,t.requiresCoupon&&(0,f.jsx)(Hr,{onApplyCode:async e=>{const{data:t,errors:r}=await _(e);if(!t?.cart?.id)throw new Error(r?.[0]?.extensions?.errors?.[0]?.message);setTimeout((()=>{c($r)}),200)},onClose:()=>K(!1),visible:q})]})}var Xr=r(59124),Zr=r(1505);const qr=d.default.div.withConfig({componentId:"sc-120wz1l-0"})(["display:flex;align-items:flex-start;flex-direction:column;margin-bottom:",";img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[16]})),Br=(0,d.default)(ye.D).withConfig({componentId:"sc-120wz1l-1"})(["padding-left:0;"]),Qr=d.default.div.withConfig({componentId:"sc-120wz1l-2"})(["> div:first-child{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-display:-webkit-box;&.clamp{-webkit-line-clamp:",";-webkit-box-orient:vertical;}> p{margin-bottom:0;}margin-bottom:",";}"],(e=>{let{$isExpanded:t,$maxLines:r}=e;return t?9999:r}),(e=>{let{theme:t}=e;return t.spacing[8]}));var Vr=function(e){let{maxLines:t,description:r,category:n}=e;const{text:i}=(0,s.i1)(),{0:a,1:d}=(0,p.useState)(0),{0:c,1:h}=(0,p.useState)(!1),{0:u,1:m}=(0,p.useState)(!1),g="GAMES"===n?.code,b=(0,p.useRef)(null),x=(0,p.useRef)(null),w=(0,p.useRef)(null);(0,p.useEffect)((()=>(y(),window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)})),[]),(0,p.useEffect)((()=>{m(!1)}),[r]);const y=()=>{clearTimeout(w.current),w.current=setTimeout((()=>{h(x?.current?.scrollHeight>x?.current?.clientHeight)}),0)};return(0,p.useEffect)((()=>{x.current?.classList.add("clamp")}),[t]),(0,f.jsxs)(qr,{ref:b,children:[(0,f.jsx)(Qr,{$isExpanded:u,$maxLines:t,children:(0,f.jsx)(o.Ho,{ref:x,data:r})}),c&&(0,f.jsx)(Br,{icon:u?Xr.Z:Zr.Z,onClick:()=>{m((e=>(e?window.scrollTo(0,a):d(window.scrollY),!e)))},children:i(u?"Read less":"Read more")}),g&&(0,f.jsx)(l.T,{variant:"legal",children:i("Software description provided by the publisher.")})]})},Fr=r(46298),_r=r(58842);const Ur=d.default.div.withConfig({componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),Kr=e=>{let{theme:t,isActive:r,swatch:n,disabled:i}=e;return(0,d.css)(["flex-basis:50%;padding:0;box-sizing:border-box;cursor:pointer;background:",";background-size:cover;background-repeat:no-repeat;border:"," solid ",";color:",";","{color:",";}transition:",";opacity:",";filter:",";&:hover{border:"," solid ",";> *{color:",";}}"],i&&!n?t.color.lightGray2:n?"url("+n+")":r?t.color.primary:t.color.white,t.spacing[4],r?t.color.primary:i?t.color.lightGray2:t.color.white,i?t.color.darkGray2:r?t.color.white:t.color.darkGray2,t.mediaQuery.tablet,i?t.color.darkGray3:r?t.color.white:t.color.darkGray2,(e=>{let{theme:t}=e;return t.movement.duration+" "+t.movement.easing}),i&&n?"60%":"initial",i?"grayscale(60%)":"",t.spacing[4],t.color.primary,r&&!i?t.color.white:t.color.darkGray2)},Wr=d.default.div.withConfig({componentId:"sc-1hh5k55-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],_r.nd,Kr),Yr=(0,d.default)(Fr.Z).withConfig({componentId:"sc-1hh5k55-2"})(["",""],Kr);const Jr=new Set(["color"]);var en=e=>{let{onChange:t,product:r,value:n}=e;const{query:i}=(0,a.Z)(),l=r.configurableOptions?.[0]?.attributeCode;return(0,f.jsx)(Ur,{children:r.variations.map((e=>{const r=Jr.has(l)&&function(e){return e?new URL(`/media/attribute/swatch/swatch_image/30x20${e}`,"https://store.nintendo.com/").toString():null}(e.value),o=e.product.url?e.product.urlKey===i.slug:e.id===n;return e.product.url?(0,f.jsx)(Yr,{href:e.product.url,isActive:o,swatch:r,disabled:!e.product.isSalableQty,children:r?"":e.label},e.product.name):(0,f.jsx)(Wr,{onClick:()=>t(e.id),isActive:o,swatch:r,disabled:!e.product.isSalableQty,children:(0,f.jsx)(_r.Dx,{type:"portrait",children:r?"":e.label})},e.product.name)}))})};const tn=(0,d.default)(o.He).withConfig({componentId:"sc-raxccj-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-row-gap:",";grid-column-gap:",";align-items:center;box-shadow:0 2px 16px 0 rgba(72,72,72,0.15);border-radius:4px;padding:3em;margin-bottom:",";background:#fff;","{grid-template-columns:1fr 1fr;}"],t.spacing[24],t.spacing[48],(e=>{let{theme:t}=e;return t.spacing[32]}),t.mediaQuery.tablet)})),rn=d.default.table.withConfig({componentId:"sc-raxccj-1"})(["text-align:left;border-collapse:collapse;tr:nth-child(2n + 3){background:",";}th,td{padding:",";border:none;}"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return`${t.spacing[16]} ${t.spacing[8]}`})),nn=d.default.div.withConfig({componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),ln=(d.default.div.withConfig({componentId:"sc-raxccj-3"})(["display:flex;align-items:center;justify-content:center;border:1px dashed #e60012;width:100%;padding:1em 2em;"]),{868:{label:"tshirt",type:"shirt",sizes:[{label:"XS",width:"17.5",length:"27"},{label:"Small",width:"19",length:"28"},{label:"Medium",width:"20.5",length:"29"},{label:"Large",width:"22",length:"30"},{label:"XL",width:"24",length:"31"},{label:"2XL",width:"26",length:"32"},{label:"3XL",width:"28",length:"33"},{label:"4XL",width:"30",length:"34"}]},23198:{label:"FifthSunHoodie",type:"shirt",sizes:[{label:"Small",width:"20.5",length:"26.5"},{label:"Medium",width:"22",length:"28"},{label:"Large",width:"23.5",length:"29.5"},{label:"X-Large",width:"25",length:"31"},{label:"XX-Large",width:"26.5",length:"32.5"}]},23201:{label:"FifthSunMen",type:"shirt",sizes:[{label:"Small",width:"18",length:"28"},{label:"Medium",width:"20.5",length:"29"},{label:"Large",width:"22",length:"30"},{label:"X-Large",width:"24",length:"31"},{label:"XX-Large",width:"26",length:"32"}]},23204:{label:"Fifth Sun - Women",type:"shirt",sizes:[{label:"Small",width:"16.5",length:"25"},{label:"Medium",width:"17.5",length:"26"},{label:"Large",width:"19",length:"27"},{label:"X-Large",width:"20.5",length:"28"},{label:"XX-Large",width:"22",length:"28.5"}]},23219:{label:"SportiqeBomberJacket",type:"shirt",sizes:[{label:"X-Small",width:"42",length:"25 1/2"},{label:"Small",width:"44",length:"26 1/4"},{label:"Medium",width:"46",length:"27"},{label:"Large",width:"48",length:"27 3/4"},{label:"X-Large",width:"50",length:"28 1/2"},{label:"XX-Large",width:"52",length:"29 1/4"},{label:"XXX-Large",width:"54",length:"30"}]},23207:{label:"SportiqeDavis",type:"shirt",sizes:[{label:"Small",width:"19",length:"28"},{label:"Medium",width:"21",length:"29"},{label:"Large",width:"22",length:"30"},{label:"X-Large",width:"24",length:"31"},{label:"XX-Large",width:"26",length:"32"},{label:"XXX-Large",width:"28",length:"33"},{label:"XXXX-Large",width:"30",length:"34"}]},23216:{label:"SportiqeDavisWomen",type:"shirt",sizes:[{label:"X-Small",width:"30 1/2",length:"25 3/4"},{label:"Small",width:"32 1/2",length:"26 3/8"},{label:"Medium",width:"34 1/2",length:"27"},{label:"Large",width:"36 1/2",length:"27 5/8"},{label:"X-Large",width:"39 1/2",length:"28 1/4"},{label:"XX-Large",width:"42 1/2",length:"28 7/8"}]},23213:{label:"SportiqeHeywood",type:"shirt",sizes:[{label:"Small",width:"39",length:"26"},{label:"Medium",width:"41",length:"27"},{label:"Large",width:"43",length:"28"},{label:"X-Large",width:"45",length:"29"},{label:"XX-Large",width:"47",length:"30"},{label:"XXX-Large",width:"49",length:"33"}]},23210:{label:"SportiqeOlsen",type:"shirt",sizes:[{label:"Small",width:"21",length:"27"},{label:"Medium",width:"22",length:"28"},{label:"Large",width:"23",length:"29"},{label:"X-Large",width:"24",length:"30"},{label:"XX-Large",width:"25",length:"31"},{label:"XXX-Large",width:"26",length:"32"}]},26449:{label:"SportiqeBlake",type:"shirt",sizes:[{label:"XS",width:"39",length:"26.5"},{label:"S",width:"41",length:"27.5"},{label:"M",width:"43",length:"28.5"},{label:"L",width:"45",length:"29.5"},{label:"XL",width:"47",length:"30.5"},{label:"2XL",width:"49",length:"31.5"},{label:"3XL",width:"50",length:"32.5"}]},26467:{label:"SportiqeJo",type:"pants",sizes:[{label:"S",width:"26",length:"28"},{label:"M",width:"28",length:"28.5"},{label:"L",width:"30",length:"29"},{label:"XL",width:"32",length:"29.5"},{label:"2XL",width:"34",length:"30"}]},23192:{label:"BioworldMen",type:"shirt",sizes:[{label:"S",width:"18",length:"28"},{label:"M",width:"20",length:"29"},{label:"L",width:"22",length:"30"},{label:"XL",width:"24",length:"31"},{label:"2XL",width:"26",length:"32"},{label:"3XL",width:"28",length:"33"}]},26470:{label:"SportiqeBoon",type:"pants",sizes:[{label:"S",width:"29.5",length:"30.25"},{label:"M",width:"31",length:"30.75"},{label:"L",width:"32.5",length:"31.25"},{label:"XL",width:"34",length:"31.75"},{label:"2XL",width:"35.5",length:"32.25"}]},26452:{label:"SportiqeAva",type:"shirt",sizes:[{label:"S",width:"38",length:"22"},{label:"M",width:"40",length:"23"},{label:"L",width:"42",length:"24"},{label:"XL",width:"44",length:"25"},{label:"2XL",width:"46",length:"26"}]},26511:{label:"BioworldYouth",type:"shirt",sizes:[{label:"XS",width:"16",length:"21"},{label:"S",width:"17",length:"22.5"},{label:"M",width:"18",length:"24"},{label:"L",width:"19",length:"25"},{label:"XL",width:"20",length:"26.5"}]},23305:{label:"SportiqeDalyWomen",type:"pants",sizes:[{label:"XS",width:"28",length:"27 2/5"},{label:"S",width:"30",length:"28"},{label:"M",width:"32",length:"28 3/5"},{label:"L",width:"34",length:"29 1/4"},{label:"XL",width:"36",length:"29 4/5"}]},26479:{label:"MJCOpenLegPantMen",type:"pants",sizes:[{label:"S",width:"26-28",length:"30"},{label:"M",width:"28-30",length:"31"},{label:"L",width:"30-32",length:"31.5"},{label:"XL",width:"32-34",length:"32"},{label:"2XL",width:"34-36",length:"32.5"}]},26482:{label:"MJCJoggersMen",type:"pants",sizes:[{label:"S",width:"30-31",length:"31.25"},{label:"M",width:"32-33",length:"31.25"},{label:"L",width:"34-35",length:"31.25"},{label:"XL",width:"36-37",length:"31.25"},{label:"2XL",width:"38-39",length:"31.25"}]},26489:{label:"SportiqeMenComfy",type:"shirt",sizes:[{label:"S",width:"21",length:"27"},{label:"M",width:"22",length:"28"},{label:"L",width:"23",length:"29"},{label:"XL",width:"24",length:"30"},{label:"2XL",width:"25",length:"31"},{label:"3XL",width:"26",length:"32"}]},26492:{label:"SportiqeWomenComfy",type:"shirt",sizes:[{label:"S",width:"32",length:"25.5"},{label:"M",width:"34",length:"26"},{label:"L",width:"36",length:"26.5"},{label:"XL",width:"39",length:"27"},{label:"2XL",width:"42",length:"27.5"}]}});var on=e=>{let{product:t}=e;const r=ln[t.sizeChart.code],{text:n}=(0,s.i1)();return(0,f.jsxs)(tn,{children:[(0,f.jsx)(nn,{children:(0,f.jsx)(ve.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,f.jsx)(rn,{children:r?(0,f.jsxs)("tbody",{children:[(0,f.jsxs)("tr",{children:[(0,f.jsx)("th",{children:n("Size")}),(0,f.jsx)("th",{children:n("pants"===r?.type?"Waist":"Width")}),(0,f.jsx)("th",{children:n("pants"===r?.type?"Inseam":"Length")})]}),r.sizes.map((e=>(0,f.jsxs)("tr",{children:[(0,f.jsx)("td",{children:n(e.label)}),(0,f.jsxs)("td",{children:[e.width,'"']}),(0,f.jsxs)("td",{children:[e.length,'"']})]},e.label)))]}):(0,f.jsxs)("p",{children:[(0,f.jsx)(ht.Z,{size:16})," Size chart unavailable."]})})]})};var an=e=>{const{product:t,purchaseOptions:r,errorMessage:n}=e,{text:i}=(0,s.i1)(),{query:l,locale:d}=(0,a.Z)(),c=d?.split("-")[0]??"en",{name:h,eshopDetails:u,topLevelCategory:m,platinumPoints:g}=t,{state:{isLoading:b,isDigitalProduct:x,isPurchasable:w,isMobileGame:y,buttonDisabled:v,promptLogin:j,buttonCopy:C,displayPrice:z,retailerSku:L},actions:{handleDirectDownloadClick:S,handleAddToCart:P}}=r,I=t.variations?.length&&!t.configurableProduct,M=(0,p.useMemo)((()=>t.variations?.find((e=>e?.product?.urlKey===l.slug))),[t,l]),T=M?.product.size?i("Size"):null,k=M?.label,O=T?`${T}: ${k}`:k;let D=null;"GAMES"===m?.code?D=i(x?"Digital":"Physical"):I&&!M?D=i("Starting at"):O&&(D=O);const N=(0,p.useMemo)((()=>I?()=>{window.scrollTo({top:0,behavior:"smooth"})}:P),[I,P]);return(0,f.jsx)(cr,{children:(0,f.jsxs)(hr,{$hasError:!!n,children:[(0,f.jsx)(pr,{forwardedAs:"p",variant:"h3",children:h}),(0,f.jsxs)(ur,{children:[(0,f.jsxs)(mr,{children:[D&&(0,f.jsx)(xr,{$smallMargin:!M,children:D}),!y&&(Boolean(z.regPrice)||Boolean(g))&&(0,f.jsxs)(gr,{children:[b&&(0,f.jsx)(br,{width:"100%"}),(0,f.jsx)(fr,{$visible:!b,children:g?(0,f.jsxs)(yr,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,f.jsx)(vr,{}),(0,f.jsxs)(jr,{variant:"h2",children:[g," ",i("Platinum Points")]})]}):!(0,yt.vS)(d)||x?(0,f.jsx)(Wt.P,{regPrice:z.regPrice,horizontal:!0,size:"medium",salePrice:z.salePrice,lang:c}):null})]})]}),(0,f.jsxs)("div",{children:[x?w&&(0,f.jsx)(wr,{onClick:S,icon:v||j?"":Jt.Z,isLoading:b,buttonWidth:"full",disabled:v,round:!0,size:"small",href:v?null:u?.purchaseUrl,children:"string"===typeof C?i(C):C}):(0,yt.vS)(d)?(0,f.jsx)(o.Qc,{sku:L,name:t.name,type:"button-round"}):(0,f.jsx)(wr,{onClick:N,isLoading:b,disabled:v,icon:v||j?"":er.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof C?i(C):C}),n&&(0,f.jsx)(Cr,{variant:"legal",children:n})]})]})]})})}},67512:function(e,t,r){r.d(t,{B:function(){return g}});var n=r(2784),i=r(13980),l=r.n(i),o=r(7307),a=r(51855),s=r(52322);const d=o.default.nav.withConfig({componentId:"sc-sjz6t7-0"})(["font-size:",";font-weight:",";"],(({theme:e})=>e.font.size.legalDesktop),(({theme:e})=>e.font.weight.bold)),c=o.default.ol.withConfig({componentId:"sc-sjz6t7-1"})(["align-items:center;display:flex;flex-direction:row;list-style:none;margin:0;padding:0;font-size:inherit;font-weight:inherit;flex-wrap:nowrap;"]),h=o.default.li.withConfig({componentId:"sc-sjz6t7-2"})(["align-items:center;display:inline-flex;margin-right:",";color:",";white-space:nowrap;",""],(({theme:e})=>e.spacing[8]),(({theme:e,$isActive:t})=>t?e.color.darkGray2:e.color.darkGray3),(({$cutOff:e})=>e&&(0,o.css)(["overflow:hidden;& > *{","}"],(({$cutOff:e})=>e&&(0,o.css)(["overflow:hidden;text-overflow:ellipsis;"]))))),u=(0,o.default)(a.Z).attrs((({theme:e})=>({size:10,color:e.color.lightGray2}))).withConfig({componentId:"sc-sjz6t7-3"})(["margin-left:",";"],(({theme:e})=>e.spacing[8])),p=({currentPage:e,children:t})=>{const r=(0,n.useMemo)((()=>n.Children.count(t)-1),[t]),i=(0,n.useMemo)((()=>n.Children.map(t,((t,n)=>{const i=n===r,l=e&&e===t.props.href,o="a"===t.type?t.props.children:"a"===t.props.children.type?t.props.children.props.children:null;return(0,s.jsxs)(h,{$isActive:l,$cutOff:i,children:[l&&o?(0,s.jsx)("span",{"aria-current":"page",children:o}):t,i?null:(0,s.jsx)(u,{})]},t.props.href||n)}))),[e,t,r]);return(0,s.jsx)(d,{"aria-label":"Breadcrumb",children:(0,s.jsx)(c,{children:i})})},m=l().shape({props:l().shape({href:l().string.isRequired,children:l().node})});p.propTypes={children:l().oneOfType([l().arrayOf(m),m]).isRequired,currentPage:l().string};var g=p},38463:function(e,t,r){r.d(t,{Z:function(){return o}});r(2784);var n=r(13980),i=r.n(n),l=r(52322);const o=e=>(0,l.jsx)("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"HandheldModeIcon",...e,children:(0,l.jsx)("path",{d:"M28.812 8.455h-2.353c-.014 0-.038.009-.052.009v-.01H5.621v.014c-.028-.004-.061-.013-.07-.013H3.192A3.196 3.196 0 0 0 0 11.65v8.696a3.203 3.203 0 0 0 3.193 3.198H5.55c.01 0 .043-.01.07-.015v.015h20.787v-.015a.163.163 0 0 0 .052.015h2.353A3.195 3.195 0 0 0 32 20.346V11.65a3.187 3.187 0 0 0-3.188-3.196zm-.183 1.973a1.014 1.014 0 1 1-1.012 1.012 1.006 1.006 0 0 1 1.012-1.012zm.994 4.276a1.003 1.003 0 1 1-2.005-.021 1.003 1.003 0 0 1 2.005.021zM3.521 10.428a1.89 1.89 0 1 1-.703 3.639 1.892 1.892 0 0 1-1.168-1.755c0-1.035.835-1.877 1.87-1.884zm1.007 6.22a1.001 1.001 0 0 1-1.509.882 1.007 1.007 0 0 1-.497-.882 1.024 1.024 0 0 1 .999-1.026 1.03 1.03 0 0 1 1.007 1.026zM.896 18.29a1.003 1.003 0 1 1 2.006.018 1.003 1.003 0 0 1-2.006-.018zm2.625 2.636a1.012 1.012 0 0 1-.725-1.727 1.013 1.013 0 0 1 1.732.713 1.008 1.008 0 0 1-1.007 1.014zm1.636-1.623a1.02 1.02 0 1 1-.004-2.04 1.02 1.02 0 0 1 .004 2.04zm20.092 1.42H6.774v-9.45H25.25v9.45zm.722-7.66a1.021 1.021 0 1 1 2.043.009 1.021 1.021 0 0 1-2.043-.009zm2.658 7.863a1.892 1.892 0 1 1 1.866-1.88 1.88 1.88 0 0 1-1.866 1.88zm1.622-6.836a1.019 1.019 0 0 1-.748-1.726 1.018 1.018 0 1 1 .748 1.726z",fill:e.color})});o.propTypes={className:i().string,color:i().string,size:i().oneOfType([i().number,i().string])},o.defaultProps={color:"currentColor",size:24}},80437:function(e,t,r){r.d(t,{I:function(){return m},a:function(){return c}});var n=r(2784),i=r(13980),l=r.n(i),o=r(7307),a=r(88582),s=r(52322);const d=o.default.div.withConfig({componentId:"sc-1jq32sv-0"})(["width:100%;position:relative;z-index:0;",";"],a.e),c=o.default.input.withConfig({componentId:"sc-1jq32sv-1"})(["width:100%;background-color:",";border:1px solid ",";border-radius:",";padding-left:",";",";",";",";&[disabled]{","}&::placeholder{",";}&.left{border-top-left-radius:0;border-bottom-left-radius:0;}&.right{border-top-right-radius:0;border-bottom-right-radius:0;}&:focus[data-focus-visible-added],&:focus-visible{","}"],(({theme:e})=>e.color.white),(({theme:e})=>e.color.darkGray4),(({theme:e})=>e.borderRadius),(({theme:e})=>e.spacing[24]),a.i,a.a,(({$hasError:e})=>e&&a.b),a.d,a.p,a.f),h=o.default.label.withConfig({componentId:"sc-1jq32sv-2"})(["display:block;white-space:nowrap;"," margin-bottom:",";"," ",""],a.l,(({$isHidden:e})=>e?"0":a.c),(({$isHidden:e})=>!!e&&"\n display: none;\n\n & + input {\n margin-top: 0;\n }\n "),(({required:e})=>e&&(0,o.css)(["&::after{content:' *';}"]))),u=o.default.div.withConfig({componentId:"sc-1jq32sv-3"})(["display:flex;"]),p=n.forwardRef((function(e,t){const{actionElement:r,errorMessage:n,flat:i,hasError:l,label:o,labelHidden:p,onChange:m,placeholder:g,required:f,value:b,className:x,...w}=e,y=`${g}-${o}`;return(0,s.jsxs)(d,{$hasError:l,className:x,children:[(0,s.jsx)(h,{required:f,$isHidden:p,htmlFor:y,"aria-label":o,children:o}),(0,s.jsxs)(u,{children:[(0,s.jsx)(c,{ref:t,name:o,$hasError:l,"aria-invalid":l,id:y,className:i,placeholder:g,onChange:m,$isLabelHidden:p,value:b,required:f,...w}),r]}),(0,s.jsx)(a.S,{children:(0,s.jsx)(a.g,{role:"alert",children:n})})]})}));p.defaultProps={placeholder:"placeholder",label:"input label",labelHidden:!1},p.propTypes={className:l().string,actionElement:l().element,errorMessage:l().string,flat:l().oneOf(["left","right"]),hasError:l().bool,label:l().string.isRequired,labelHidden:l().bool,onChange:l().func,placeholder:l().string.isRequired,required:l().bool,value:l().string};var m=p},31586:function(e,t,r){r.d(t,{Q:function(){return g}});r(2784);var n=r(13980),i=r.n(n),l=r(12870),o=r(59124),a=r(1505),s=r(7307),d=r(52322),c=r(91383);const h=s.default.div.withConfig({componentId:"sc-1q3v2xi-0"})(["display:flex;height:3rem;width:8.375rem;> *{flex:1 0 33%;}",""],(({theme:e})=>(0,s.css)(["border-radius:",";border:1px solid ",";"],e.borderRadiusSmall,e.color.lightGray1))),u=s.default.button.withConfig({componentId:"sc-1q3v2xi-1"})(["",""],(({theme:e})=>{const{movement:t}=e;return(0,s.css)(["display:flex;align-items:center;justify-content:center;cursor:pointer;height:100%;border:0;background-color:",";color:",";transition:background-color "," ",";&:first-of-type{border-radius:"," 0 0 ",";}&:last-of-type{border-radius:0 "," "," 0;}&:hover:not([disabled]){background-color:",";}svg{width:",";height:auto;}&[disabled]{cursor:not-allowed;color:",";}"],e.color.white,e.color.darkGray2,t.duration,t.easing,e.borderRadiusSmall,e.borderRadiusSmall,e.borderRadiusSmall,e.borderRadiusSmall,e.color.lightGray3,e.spacing[12],e.color.lightGray1)})),p=s.default.div.withConfig({componentId:"sc-1q3v2xi-2"})(["display:flex;align-items:center;justify-content:center;color:",";text-align:center;font-size:",";height:100%;&[disabled]{cursor:not-allowed;color:",";}"],(({theme:e})=>e.color.darkGray2),(({theme:e})=>e.font.size.h3Desktop),(({theme:e})=>e.color.lightGray1)),m=e=>{const{className:t,quantity:r,lang:n,max:i,min:s,onChange:m,disabled:g}=e,{text:f}=(0,l.u)({locale:n}),b=f("Add item"),x=f("Subtract item"),w=f("Additional product cannot be added to cart"),y=r>=i,v=y?w:b;return(0,d.jsxs)(h,{className:t,children:[(0,d.jsx)(c.S,{children:f("Quantity")}),(0,d.jsx)(u,{disabled:g||r<=s||r<=1,title:x,"aria-label":x,onClick:()=>m(r-1),children:(0,d.jsx)(o.Z,{})}),(0,d.jsx)(p,{"aria-live":"polite",disabled:g,children:r}),(0,d.jsx)(u,{disabled:g||y,"aria-label":b,title:v,onClick:()=>m(r+1),children:(0,d.jsx)(a.Z,{})})]})};m.propTypes={className:i().string,disabled:i().bool,onChange:i().func.isRequired,quantity:i().number.isRequired,lang:i().oneOf(["en","es","fr","pt"]),max:i().number,min:i().number},m.defaultProps={max:1/0,min:1,lang:"en"};var g=m},75881:function(e,t,r){r.d(t,{S:function(){return u},a:function(){return p}});var n=r(7307),i=r(45592);const l=e=>(0,n.css)(["",""],(({theme:t})=>`\n height: ${t.pxToRem(e)};\n min-width: ${t.pxToRem(e)};\n `)),o="border-radius: 50%;",a=(e,t)=>{const r=Math.floor((e-2-t)/2);return(0,n.css)(["",""],(({theme:e})=>`\n top: ${e.pxToRem(r)};\n left: ${e.pxToRem(r)};\n `))},s=20,d=8,c=24,h=10,u=(0,n.default)(i.a).withConfig({componentId:"sc-ohur19-0"})(["margin-top:0.5rem;"]),p=n.default.input.attrs((()=>({type:"radio"}))).withConfig({componentId:"sc-ohur19-1"})(["",";",";position:relative;border:",";",";cursor:pointer;&::before{content:'';background:",";"," "," ","}&::after{"," "," "," ","{","}}","{",";}&:focus,&:hover{",";}&:checked{&::after,&::before{transform:scale(1,1);}}"],i.o,l(s),(({theme:e})=>`1px solid ${e.color.darkGray4}`),o,(({theme:e})=>e.color.primary),i.s,o,i.t,(({$altContent:e,theme:t})=>e?(0,n.css)(["",";background:transparent;content:'","';line-height:1.35;text-align:center;color:",";font-weight:",";"],i.s,e,(({theme:e})=>e.color.white),(({theme:e})=>e.font.weight.bold)):(0,n.css)(["position:absolute;content:'';background:",";",";",";"],t.color.white,l(d),a(s,d))),o,i.t,(({theme:e})=>e.mediaQuery.tabletSmall),(({$altContent:e})=>!e&&(0,n.css)(["",";",""],l(h),a(c,h))),(({theme:e})=>e.mediaQuery.tabletSmall),l(c),i.l)},10675:function(e,t,r){r.d(t,{R:function(){return p}});var n=r(2784),i=r(13980),l=r.n(i),o=r(79175),a=r(25544),s=r(75881),d=r(3926),c=r(52322);const h=/\s+/g,u=n.forwardRef((function(e,t){const{altContent:r,value:i,icon:l,label:u,bold:p,caption:m,discounted:g,onChange:f,price:b,checked:x,name:w,className:y,regularPrice:v,...j}=e,C=(0,n.useRef)(null),z=(0,o.u)(l),L=`${u.replace(h,"-")}-radio`,[S,P]=(0,n.useState)(L),I=`${m?u+" "+m:u}`,M=`${b?I+" "+b:I}`,T=b||g&&v;return(0,n.useEffect)((()=>{const e=C.current.parentNode.parentNode,t=C.current.parentNode,r=Array.prototype.indexOf.call(e.childNodes,t);P(`${u.replace(h,"-")}-radio-${r}`)}),[u]),(0,c.jsxs)(d.C,{className:y,$checked:x,onClick:e=>{e.stopPropagation(),C.current&&C.current.click()},ref:t,children:[(0,c.jsx)(s.a,{value:i,id:S,"aria-label":M,ref:C,name:w,onChange:f,onClick:e=>{e.stopPropagation()},$altContent:r||"\u2713",checked:x,...j}),z&&(0,c.jsx)(d.I,{children:z}),(0,c.jsxs)(d.L,{$bold:p,$caption:m,children:[(0,c.jsx)(d.a,{htmlFor:S,children:u}),m&&(0,c.jsx)(a.T,{as:"span",variant:"legal",children:m})]}),T&&(0,c.jsxs)(d.P,{children:[b&&(0,c.jsx)(d.b,{variant:"body",children:b}),g&&v&&(0,c.jsx)(d.R,{variant:"legal",children:v})]})]})}));u.propTypes={value:l().any.isRequired,name:l().string.isRequired,label:l().string.isRequired,icon:l().oneOfType([l().element,l().elementType]),caption:l().string,bold:l().bool,discounted:l().bool,price:l().string,onChange:l().func.isRequired,checked:l().bool.isRequired,altContent:l().string,className:l().string,regularPrice:l().string};var p=u},3926:function(e,t,r){r.d(t,{C:function(){return u},I:function(){return o},L:function(){return s},P:function(){return d},R:function(){return c},a:function(){return a},b:function(){return h}});var n=r(7307),i=r(25544),l=r(45592);const o=n.default.span.withConfig({componentId:"sc-d1kg1d-0"})(["display:flex;flex-direction:row;column-gap:",";","{column-gap:1rem;}"],(({theme:e})=>e.spacing[4]),(({theme:e})=>e.mediaQuery.tabletSmall)),a=(0,n.default)(l.S).withConfig({componentId:"sc-d1kg1d-1"})(["margin:0;& > span{font-weight:",";}","{& > span{display:none;}}"],(({theme:e})=>e.font.weight.bold),(({theme:e})=>e.mediaQuery.tabletSmall)),s=n.default.div.withConfig({componentId:"sc-d1kg1d-2"})(["display:flex;flex-direction:",";flex-grow:1;",";"],(({$caption:e})=>e?"column":"inherit"),(({$bold:e,$caption:t})=>(e||t)&&(0,n.css)(["","{font-weight:",";margin-bottom:",";}"],a,(({theme:e})=>e.font.weight.bold),(({theme:e})=>t?e.pxToRem(6):"0")))),d=n.default.div.withConfig({componentId:"sc-d1kg1d-3"})(["flex-direction:column;text-align:right;flex-grow:1;"]),c=(0,n.default)(i.T).withConfig({componentId:"sc-d1kg1d-4"})(["color:",";text-decoration:line-through;"],(({theme:e})=>e.color.darkGray1)),h=(0,n.default)(i.T).withConfig({componentId:"sc-d1kg1d-5"})(["font-weight:",";margin-bottom:",";"],(({theme:e})=>e.font.weight.bold),(({theme:e})=>e.pxToRem(6))),u=n.default.div.withConfig({componentId:"sc-d1kg1d-6"})(["display:flex;flex-direction:row;column-gap:1rem;align-items:center;position:relative;min-height:",";width:100%;padding:1rem;cursor:pointer;&::before{content:'';position:absolute;pointer-events:none;width:100%;height:100%;top:0;left:0;}","{padding-left:",";padding-right:",";}"," ",""],(({theme:e})=>e.pxToRem(56)),(({theme:e})=>e.mediaQuery.tabletSmall),(({theme:e})=>e.spacing[20]),(({theme:e})=>e.spacing[20]),(({theme:e,$checked:t})=>(0,n.css)(["&::before{border-radius:",";border:"," solid ",";}transition:all "," ",";",""],e.borderRadiusSmall,t?"2px":"1px",t?e.color.darkGray2:e.color.lightGray3,e.movement.duration,e.movement.easing,t&&(0,n.css)(["box-shadow:0 4px 16px 0 rgba(72,72,72,0.15);"]))),(({theme:e})=>`\n input {\n\n height: ${e.spacing[28]};\n min-width: ${e.spacing[28]};\n\n background: ${e.color.lightGray2};\n\n border: none;\n\n &:focus,\n &:hover {\n background: ${e.color.lightGray2};\n }\n\n &:after {\n line-height: 1.5;\n font-size: 1.25rem;\n\n ${e.mediaQuery.tabletSmall} {\n line-height: 1.35;\n font-size: 1rem;\n }\n }\n\n ${e.mediaQuery.tabletSmall} {\n height: ${e.spacing[20]};\n min-width: ${e.spacing[20]};\n }\n }\n `))}}]);