"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8289],{35611:function(e,t,r){r.d(t,{uP:function(){return B},Kx:function(){return D},Z5:function(){return E},ig:function(){return X}});var n=r(2784),i=r(97224),l=r(82091),a=r(20264),o=r(88302),s=r(7307),c=r(71587),d=r(13980),h=r.n(d),u=r(68020),p=r(40489),m=r(88),g=r(40806),f=r(52322),b=r(75755),x="_8OXQa",w="QX3IM",y="noboX",j="NDf4B",v="iXyU4";const C=({className:e,inputLabel:t,inputName:r,onChange:n,showErrors:i,options:l,...a})=>(0,f.jsx)(m.S,{className:(0,p.Z)(x,e),defaultValue:l[0],name:r,label:t,isClearable:!1,isMulti:!1,isSearchable:!1,showErrors:i,onChange:n,options:l,components:{Option:L,SingleValue:S,DropdownIndicator:z,IndicatorSeparator:()=>null},...a});C.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},C.defaultProps={showErrors:!0};const z=({isFocused:e,selectProps:t,...r})=>(0,f.jsx)(b.T,{focused:e,flip:t.menuIsOpen,...r});z.propTypes={isFocused:h().bool,selectProps:h().object};const L=e=>{const{data:t,...r}=e,n=t.label,i=t.caption,l=t.price,o=t.value;return(0,f.jsxs)(u.c.Option,{className:j,"data-product-id":o,...r,tabIndex:0,children:[(0,f.jsxs)(g.L,{$caption:i,children:[(0,f.jsxs)(g.a,{children:[n,(0,f.jsxs)("span",{children:[" - ",l]})]}),i&&(0,f.jsx)(a.T,{variant:"legal",children:i})]}),l&&(0,f.jsx)(g.b,{className:v,variant:"body",children:l})]})},S=e=>{const{getValue:t,...r}=e,n=t()[0].label,i=t()[0].caption,l=t()[0].price;return(0,f.jsxs)(u.c.SingleValue,{className:w,...r,children:[(0,f.jsxs)(g.L,{$caption:i,children:[(0,f.jsxs)(g.a,{children:[n,(0,f.jsxs)("span",{children:[" - ",l]})]}),i&&(0,f.jsx)(a.T,{variant:"legal",children:i})]}),l&&(0,f.jsx)(g.b,{className:y,variant:"body",children:l})]})};S.propTypes={getValue:h().func};var P=C,I=r(57424);const M=(0,s.default)(c.R).withConfig({componentId:"sc-1nmdhxc-0"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})),O=(0,s.default)(P).withConfig({componentId:"sc-1nmdhxc-1"})(["z-index:2;"]),T=((0,s.default)(I.Q).withConfig({componentId:"sc-1nmdhxc-2"})(["width:100%;"]),(0,s.default)(a.T).withConfig({componentId:"sc-1nmdhxc-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]}))),k=n.forwardRef((function(e,t){const{checked:r,onClick:n,href:i,onChange:a=(()=>{}),product:o,variation:s}=e,{text:c,price:d}=(0,l.useLocalizer)();return(0,f.jsx)(M,{ref:t,caption:s.product.name,checked:r,discounted:s.product.prices?.minimum?.discounted,href:i,price:o.loadingPricing?null:d(s.product?.prices?.minimum?.finalPrice),regularPrice:o.loadingPricing?null:d(s.product?.prices?.minimum?.regularPrice),onChange:a,onClick:n,value:s.product.urlKey,name:s.product.name,label:s.product.nsuid?c("Digital"):c("Physical"),altContent:"\u2713"})}));function N(e){let{onChange:t,isBundle:r,product:n,title:s,value:c}=e;const{text:d}=(0,l.useLocalizer)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(a.T,{variant:"legal",children:r?s:d("Select a product")}),(0,f.jsx)(o.S,{size:12}),(0,f.jsx)("div",{children:n.variations.map((e=>e.product.url?(0,f.jsx)(i.Z,{href:e.product.url,children:(0,f.jsx)(k,{checked:n.url===e.product.url,product:n,variation:e})},e.product.sku):(0,f.jsx)(k,{checked:c===e.id,product:n,variation:e,onChange:()=>t(e.id)},e.id)))})]})}N.defaultProps={onChange:()=>{}};var D=N,H=r(64897);var E=function(e){let{product:t}=e;const r=(0,H.Z)(),{text:i}=(0,l.useLocalizer)(),a=(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]),o=(0,n.useMemo)((()=>a.find((e=>{let{urlKey:t}=e;return r.query.slug===t}))||a[0]),[a,r]);return(0,f.jsx)(O,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:i("Select a product"),onChange:e=>{r.push(e.urlKey)},options:a,value:o,showErrors:!1})},R=r(66531),A=r(56619),$=r(4914);var X=function(e){let{onChange:t,isBundle:r,product:n,title:i,value:a}=e;const{text:s}=(0,l.useLocalizer)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.S,{size:24}),(0,f.jsxs)(A.rj,{columns:2,alignItems:"end",children:[(0,f.jsx)(T,{variant:"legal",children:r?i:s("Select a product")}),n?.sizeChart&&(0,f.jsxs)(A.P4,{justifySelf:"end",children:[(0,f.jsx)(R.L,{href:"#sizing",children:s("Size chart")}),(0,f.jsx)(o.S,{size:8})]})]}),(0,f.jsx)(o.S,{size:12}),(0,f.jsx)($.um,{onChange:t,product:n,value:a})]})},Z=r(3904);var B=function(e){let{product:t}=e;const{text:r}=(0,l.useLocalizer)(),{locale:n}=(0,H.Z)(),i=n?.split("-")[0]??"en";return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.S,{size:24}),(0,f.jsxs)(A.rj,{columns:"144px 162px",rows:"48px",children:[t?.appStoreUrl&&(0,f.jsx)("a",{href:t.appStoreUrl,children:(0,f.jsx)(Z.I,{assetPath:`/ncom/icons/app-store/app-store-badge-${i}`,alt:r("Download on the app store")})}),t?.googlePlayUrl&&(0,f.jsx)("a",{href:t.googlePlayUrl,children:(0,f.jsx)(Z.I,{assetPath:`/ncom/icons/google-play/google-play-badge-${i}`,alt:r("Get it on Google Play")})})]})]})}},4914:function(e,t,r){r.d(t,{CL:function(){return k},jJ:function(){return E},VM:function(){return Re},NR:function(){return Be},jl:function(){return T},dn:function(){return Ct},ww:function(){return Qt},Ym:function(){return Rr},yL:function(){return Qr},um:function(){return Wr},mW:function(){return rn},Lx:function(){return nn}});var n=r(23722),i=r(20264),l=r(57852),a=r(64897),o=r(82091),s=r(56619),c=r(7307);const d=c.default.div.withConfig({componentId:"sc-1m8mxjv-0"})(["",""],(e=>{let{theme:t}=e;return(0,c.css)(["display:grid;grid-template-columns:1fr;justify-content:center;gap:",";","{grid-template-columns:repeat(2,1fr);}"],t.spacing[24],t.mediaQuery.tablet)})),h=c.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,c.default)(l.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 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":"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})});j.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},j.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":"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})});v.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},v.defaultProps={color:"currentColor",size:24};const C=c.default.div.withConfig({componentId:"sc-16atj0u-0"})(["display:grid;grid-template-columns:1fr;justify-content:center;p{font-weight:700;}"]),z=c.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,c.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]:j,[P]:v},O=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})]})};O.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var T=O;var k=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{text:c}=(0,o.useLocalizer)(),p=t.playModes?.map((e=>e.code));return(0,f.jsxs)(l.$0,{constrained:!0,id:"about","aria-labelledby":"product-info",small:!0,children:[null!=t.contentRating||p?.length?(0,f.jsxs)(d,{children:[null!=t.contentRating&&(0,f.jsxs)(h,{$solo:!p?.length,children:[(0,f.jsx)(n.H,{variant:"h4",children:c("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:c("Supported play modes")}),(0,f.jsxs)(s.rj,{columns:3,width:"100%",gap:"24px",children:[(0,f.jsx)(T,{supported:p?.includes("TV_MODE"),title:c("TV"),mode:S}),(0,f.jsx)(T,{supported:p?.includes("TABLETOP_MODE"),title:c("Tabletop"),mode:L}),(0,f.jsx)(T,{supported:p?.includes("HANDHELD_MODE"),title:c("Handheld"),mode:P})]}),!p?.includes("HANDHELD_MODE")&&(0,f.jsx)(i.T,{variant:"legal",children:c("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)(Qt,{product:t})]})},N=r(1136);const D=c.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(18301);var E=e=>{let{product:t,locale:r}=e;const{text:i}=(0,o.useLocalizer)(),a=(0,p.useMemo)((()=>t.relatedProducts.slice(0,4).map(H.uF)),[t.relatedProducts]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.He,{small:!0,children:t.relatedProducts.length>4?(0,f.jsx)(N.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)(D,{$bgColor:"#"+t.backgroundColor,children:(0,f.jsx)(l.He,{small:!0,children:(0,f.jsx)(n.H.NewLevel,{children:(0,f.jsx)(l.nZ,{analytics:{title:"Downloadable content (DLC)"},products:a,cta:{fields:{title:i("See all"),url:t.relatedProducts.length>4?t.urlKey+"/dlc/":""}}})})})})]})},R=r(95235),A=r(71912),$=r(84631),X=r(57294),Z=r(5371),B=r(88302),Q=r(28735),q=r(77504);const G=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})});G.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},G.defaultProps={color:"currentColor",size:24};var F=r(13463),V=r(97224),_=r(50530),U=r(56675),K=r(38598),W=r(57424),Y=r(60287),J=r(66531),ee=r(76813);const te=(0,c.default)(W.Q).withConfig({componentId:"sc-10vf2cu-0"})(["height:100%;font-weight:bold;"]),re=c.default.div.withConfig({componentId:"sc-10vf2cu-1"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]),ne=(0,c.default)(Y.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})),ie=c.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]})),le=c.default.span.withConfig({componentId:"sc-10vf2cu-4"})(["font-weight:",";"],(e=>{let{theme:t}=e;return t.font.weight.bold})),ae=(c.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,c.default)(J.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}))),oe=(0,c.default)(i.T).withConfig({componentId:"sc-10vf2cu-7"})(["line-height:1.5;"]),se=(0,c.default)(oe).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,c.default)(ee.B).withConfig({componentId:"sc-10vf2cu-9"})(["white-space:pre-wrap;"]),de=(0,c.default)(Q.L).withConfig({componentId:"sc-10vf2cu-10"})(["width:max-content;"]),he=c.default.span.withConfig({componentId:"sc-10vf2cu-11"})(["font-weight:",";"],(e=>{let{$boldHelperText:t}=e;return t?700:"initial"})),ue=c.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 pe=r(92072);function me(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 ge(e){for(var t=1;t{const{locale:t}=(0,a.Z)(),r=(0,U.x)(),n=(0,o.useMaintenance)(),i=(0,o.useAccounts)(),l=(0,o.useCart)(),{trackAddToCart:s}=(0,o.useAnalytics)(),c=(0,o.useCustomer)(),{text:d,price:h,date:u}=(0,o.useLocalizer)(),{__typename:m,availability:g,bundleItems:b,nsuid:x,requiresSubscription:w,sku:y,requiresCoupon:j,requiresLogin:v,platinumPoints:C,eshopDetails:z,prePurchase:L,prices:S,loadingPricing:P,productType:I,isSalableQty:M,releaseDate:O,releaseDateDisplay:T,soldOutPermanent:k,isPreorderable:N,variations:D,voucherNsuid:H,startShippingDate:E,shipDateDisplay:R}=e,A=P||l?.loading||l?.updating||n?.loading,{0:$,1:X}=(0,p.useState)(!1),{0:Z,1:B}=(0,p.useState)(1),{0:Q,1:q}=(0,p.useState)({}),G=(0,K.u)(),F="MOBILE"===x,V="BUNDLE"===I,_="CONFIGURABLE"===I,W=(0,pe.EE)(e),Y=b?.every((e=>{let{required:t,title:r}=e;return t&&!!Q[r]}));(0,p.useEffect)((()=>{if(V){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 ge(ge({},e),{},{[n]:i?.id})}),{});q(e)}}),[V,b]);const J=(g?.includes(d("Pre-order"))||g?.includes(d("Available now"))||M||L)&&!F,{consentedGroups:ee}=(0,o.useCookies)(),te=(0,p.useMemo)((()=>{const e=ee?.has(o.ConsentGroups.PERFORMANCE);if(!e)return null;if(x&&D?.length){const e=D.find((e=>!e.product?.nsuid));if(e)return e.product.sku}return x?null:y}),[ee,x,y,D]),re=c?.data?.membershipStatus.active,ne=l?.addableQty(e),ie=Z>=ne,le=!M&&!F||!!D?.length&&D.every((e=>{let{product:t}=e;return!t.isSalableQty})),oe=(w||C||v)&&!i.isLoggedIn,se=w&&!re,{buttonDisabled:ce,promptLogin:de,disableQuantity:he,buttonCopy:ue,helperText:me,boldHelperText:fe}=(0,p.useMemo)((()=>{if(F)return{};let e="",r="",i=!1,l=!1,a=W,o=!1,s=n?.store?.active;const c=(0,f.jsx)(ae,{href:"/store/products/nintendo-switch-game-vouchers/",locale:t,children:d("Learn more about vouchers")}),h=(0,f.jsx)(ae,{href:"/switch/online/",children:d("Nintendo Switch Online members")});if(w&&(r=d("This item is only for paid {0}.",{args:[h]})),W)if(n?.eshop?.active)i=!0,r=d("Direct downloads are not possible during maintenance"),o=!0,e="Direct download";else if("MarketingProduct"===m)o=!0,e=d("Releases {0}",{args:[T||O&&u(O,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]});else if(oe)e="Sign in to download",l=!0;else if(se)o=!0,e="Direct download";else if(z?.isPreordered)o=!0,e="Already pre-ordered";else if(z?.isPurchased)o=!0,e="Already downloaded";else if(z?.isPreorderable)e="Pre-order",r=H?d("Pre-order or redeem a Game Voucher to pre-load this game and start playing as soon as it\u2019s released. {0}",{args:[c]}):d("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=d("This item will be sent to your system automatically after purchase or Nintendo Switch Game Voucher redemption. {0}",{args:[c]})):(e="Direct download",r="This item will be sent to your system automatically after purchase.");else{const t=new Date(O);o=!0,T?e=d("Releases {0}",{args:[T]}):Date.now()({regPrice:Boolean(T)&&!L?null:h(S?.minimum?.regularPrice,{formatZero:!0}),salePrice:S?.minimum?.discounted?h(S?.minimum?.finalPrice):""})),[T,L,S,h]),xe=(0,p.useCallback)((()=>{if(de)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";s(e),G.trackEvent({eventName:`PDP: ${n} Clicked`,objectId:y,isConversion:!0},t)}}),[de,ue,t,y,G,s,i,r.cache,e]),we=(0,p.useCallback)((r=>{if(de)i.promptLogin();else{if(!e.requiresCoupon||r)return s(e),G.addToCart(y,{eventName:"PDP: Add to Cart Clicked",locale:t}),l.addProduct(e,{couponCode:r?.trim(),selectedOptions:Object.values(Q),quantity:Z});X(!0)}}),[y,de,G,i,l,e,Z,t,s,Q]);return(0,p.useMemo)((()=>({state:{isLoading:A,quantity:Z,isMobileGame:F,isDigitalProduct:W,isPurchasable:J,isConfigurableProduct:_,retailerSku:te,membershipRequired:se,addableQty:ne,itemLimitReached:ie,soldOut:le,loginToPurchase:oe,buttonDisabled:ce,promptLogin:de,disableQuantity:he,buttonCopy:ue,helperText:me,boldHelperText:fe,displayPrice:be,showRedemptionCodeModal:$,selectedOptionsByTitle:Q},actions:{setQuantity:B,setSelectedOptionsByTitle:q,handleDirectDownloadClick:xe,handleAddToCart:we,setShowRedemptionCodeModal:X}})),[A,Z,F,W,J,_,te,se,ne,ie,le,oe,ce,de,he,ue,me,fe,be,B,xe,we,$,X,Q,q])},be=r(97729),xe=r.n(be),we=r(45911),ye=r(3904);const je=c.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})),ve=c.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,c.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]})),Ce=c.default.div.withConfig({componentId:"sc-1i9d4nw-2"})(["overflow:hidden;"]),ze=c.default.div.withConfig({componentId:"sc-1i9d4nw-3"})(["display:flex;flex-direction:column;"]),Le=c.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})),Se=(0,c.default)(we.I).withConfig({componentId:"sc-1i9d4nw-5"})(["margin:0;padding:0;border:none;"]),Pe=c.default.div.withConfig({componentId:"sc-1i9d4nw-6"})(["display:flex;justify-content:left;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),Ie=(0,c.default)(l.He).withConfig({componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,c.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),Me=c.default.div.withConfig({componentId:"sc-1i9d4nw-8"})(["",""],(e=>{let{theme:t}=e;return(0,c.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])})),Oe=c.default.div.withConfig({componentId:"sc-1i9d4nw-9"})(["",""],(e=>{let{theme:t}=e;return(0,c.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)})),Te=((0,c.default)(ye.I).withConfig({componentId:"sc-1i9d4nw-10"})(["max-width:215px;"]),(0,c.default)(ye.I).withConfig({componentId:"sc-1i9d4nw-11"})(["img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius}))),ke=c.default.div.withConfig({componentId:"sc-1i9d4nw-12"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Ne=c.default.div.withConfig({componentId:"sc-1i9d4nw-13"})(["display:block;","{display:none;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),De=c.default.div.withConfig({componentId:"sc-1i9d4nw-14"})(["display:flex;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));c.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 He(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:c("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:c(t.name)}),e.map((e=>{let{href:t,label:r}=e;return(0,f.jsx)(V.Z,{href:t,children:(0,f.jsx)("a",{children:r})},t)}))}),[t,c]),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)(A.K,{assetPath:n,alt:`${t.name} ${r+1}`},n):"video"===i?(0,f.jsx)($.V,{assetPath:n},n):void 0}))),[t]);return(0,f.jsx)(je,{$bgColor:t.backgroundColor?`#${t.backgroundColor}`:_.rG[g],children:(0,f.jsxs)(ve,{children:[(0,f.jsx)(Le,{children:(0,f.jsx)(X.B,{currentPage:`/store/products/${t.urlKey}/`,children:b})}),(0,f.jsxs)(Ce,{children:[(0,f.jsxs)("div",{children:[(0,f.jsx)(Ie,{children:(0,f.jsx)(Z.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:xe(),children:x},t.sku)}),(0,f.jsx)(B.S,{size:8}),(0,f.jsx)(ke,{children:(0,f.jsx)(B.S,{size:8})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(Me,{children:[t.platinumPoints&&(0,f.jsx)(Q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:c("My Nintendo Reward")}),t.exclusive&&(0,f.jsx)(Q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:c("Exclusive")}),t.requiresSubscription&&(0,f.jsx)(Q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:c("Nintendo Switch Online required")}),t.voucherNsuid&&(0,f.jsx)(Q.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:c("Game Voucher eligible")})]})}),null!=t.contentRating&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(ke,{children:(0,f.jsx)(l.bs,{rating:t.contentRating,descriptors:t.contentDescriptors,gamesShown:t.gamesShown})})}),(0,f.jsxs)(ke,{children:[(0,f.jsx)(B.S,{size:24}),t.displayChokingHazard?(0,f.jsxs)(ze,{children:[(0,f.jsxs)(n.H,{variant:"h3",as:"strong",children:[c("Warning:")," ",(0,f.jsx)("br",{})]}),(0,f.jsxs)(i.T,{variant:"legal",children:[c("CHOKING HAZARD - Small parts.")," ",(0,f.jsx)("br",{}),c("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,f.jsx)(l.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,f.jsxs)(Oe,{children:[(0,f.jsxs)(De,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,f.jsx)(Q.L,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,f.jsx)(q.P,{accentColor:_.rG[g],children:"GAMES"===t.topLevelCategory?.code?u:t.topLevelCategory?.label})]}),(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(n.H,{variant:"h1",children:t.name}),m&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:16}),(0,f.jsx)(i.T,{variant:"caption",children:c("Releases {0}",{args:[t.releaseDateDisplay?t.releaseDateDisplay:r(t.releaseDate,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]})}),(0,f.jsx)(B.S,{size:8})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:24}),(0,f.jsxs)(Pe,{children:[t.relatedProducts.length>0&&(0,f.jsx)("div",{children:(0,f.jsx)(Se,{href:"#dlc",icon:G,locale:d,children:c("View DLC")})}),t.demoNsuid&&(0,f.jsx)(l.g,{product:t})]}),(0,f.jsx)(B.S,{size:24})]}),(0,f.jsx)(Rr,{product:t,purchaseOptions:h}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:20}),(0,f.jsx)(V.Z,{href:t.baseSoftware[0].urlKey,children:(0,f.jsx)("a",{children:(0,f.jsxs)(s.rj,{columns:"1fr 4fr",gap:F.d.spacing[8],alignItems:"center",children:[(0,f.jsx)(s.P4,{column:"span 2",children:(0,f.jsx)(i.T,{variant:"legal",children:c("Required to play:")})}),(0,f.jsx)(Te,{assetPath:t.baseSoftware[0].productImage.publicId,alt:t.baseSoftware[0].name}),(0,f.jsx)(i.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,f.jsxs)(Ne,{children:[(0,f.jsx)(B.S,{size:24}),t.displayChokingHazard?(0,f.jsxs)(ze,{children:[(0,f.jsxs)(n.H,{variant:"h3",as:"strong",children:[c("Warning:")," ",(0,f.jsx)("br",{})]}),(0,f.jsxs)(i.T,{variant:"legal",children:[c("CHOKING HAZARD - Small parts.")," ",(0,f.jsx)("br",{}),c("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,f.jsx)(l.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 $e=c.default.div.withConfig({componentId:"sc-jla5jl-0"})(["",""],(e=>{let{theme:t}=e;return(0,c.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=c.default.div.withConfig({componentId:"sc-jla5jl-1"})(["p{font-weight:700;a{margin:0 ",";}}"],(e=>{let{theme:t}=e;return t.spacing[8]})),Ze=c.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 Be=e=>{let{product:t}=e;const{text:r}=(0,o.useLocalizer)(),{locale:n}=(0,a.Z)(),i="/switch/online/";return t.nsoFeatures?(0,f.jsx)(l.$0,{constrained:!0,small:!0,children:(0,f.jsxs)($e,{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)(J.L,{href:i,children:r("Online Play")},"online-play"),"SAVE_DATA_CLOUD"==e.code&&(0,f.jsx)(J.L,{href:i,children:r("Save Data Cloud")},"save-data")]},e.code)))]}),(0,f.jsx)(ee.B,{href:i,buttonWidth:"auto",locale:n,children:r("Learn more")})]}),(0,f.jsx)("div",{className:"storyAsset",children:(0,f.jsx)(ye.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,{})},Qe=r(61604),qe=r(76384),Ge="y4TL6",Fe="ixqtX",Ve="_9wlJP",_e="_9poEn",Ue="zkbBJ",Ke="-C-rL",We="oZfAo";const[Ye,Je,et]=["init","passed","failed"],tt="month",rt="day",nt="year";const it=({passed:e,failed:t,children:r,lang:i,country:l,minimumAge:a,onSuccess:o,onFailure:s})=>{const[c,d]=(0,p.useState)(t?et:e?Je:Ye),[h,u]=(0,p.useState)({[tt]:{hasError:null,errorMsg:""},[rt]:{hasError:null,errorMsg:""},[nt]:{hasError:null,errorMsg:""}}),[m,g]=(0,p.useState)(null),[b,x]=(0,p.useState)(null),[w,y]=(0,p.useState)(!1),j=(0,p.useRef)(null),v=(0,p.useRef)(null),C=(0,p.useRef)(null),{text:z}=(0,Qe.u)({locale:i}),L=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)},S=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=()=>m<=S(b);u((t=>({...t,[rt]:{hasError:!e(),errorMsg:e()?"":z("Invalid")}})))}),[b,m,z]);const P=({target:e})=>{const{value:t,maxLength:r}=e;if(t.length===r)if(L(e))switch(u((t=>({...t,[e.name]:{hasError:!1,errorMsg:""}}))),e.name){case tt:"us"===l?v.current.focus():C.current.focus();break;case rt:"us"===l?C.current.focus():j.current.focus()}else u((t=>({...t,[e.name]:{hasError:!0,errorMsg:"Invalid"}})))},I=({target:e})=>{const t=L(e),r=h[e.name]?.errorMsg||"Required";u((n=>({...n,[e.name]:{hasError:!t,errorMsg:t?"":z(r)}})))},M=(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,a=n.getDate();let o=i-e;return l>t||l===t&&a>=r||o--,o}({year:Number(C.current.value),month:Number(j.current.value),day:Number(v.current.value)});t>=a?(d(Je),o()):(d(et),s())}),[C,j,v,a,s,o]);(0,p.useEffect)((()=>{d(t?et:e?Je:Ye)}),[e,t]),(0,p.useEffect)((()=>{const e=Object.values(h).map((e=>e.hasError));y(!e.includes(null)&&!e.includes(!0))}),[h]);const O=(0,f.jsx)(qe.I,{className:We,ref:j,name:tt,placeholder:z("MM"),type:"text",required:!0,"data-min":"1","data-max":"12",maxLength:"2",autoComplete:"off",pattern:"\\d{1,2}",label:z("Month"),inputMode:"numeric",errorMessage:h[tt].errorMsg,onChange:P,onBlur:e=>{I(e),x(Number(e.target.value))},hasError:h[tt].hasError}),T=(0,f.jsx)(qe.I,{className:We,ref:v,name:rt,placeholder:z("DD"),type:"text",required:!0,"data-min":"1","data-max":S(b),maxLength:"2",autoComplete:"off",pattern:"\\d{1,2}",label:z("Day"),inputMode:"numeric",errorMessage:h[rt].errorMsg,onChange:P,onBlur:e=>{I(e),g(Number(e.target.value))},hasError:h[rt].hasError});return c==Ye?(0,f.jsx)("div",{className:Ge,children:(0,f.jsxs)("div",{className:Fe,children:[(0,f.jsx)(n.H,{variant:"h1",large:!0,children:z("Age verification")}),(0,f.jsx)("span",{className:Ke,children:z("Please verify your age to access the following content.")}),(0,f.jsxs)("form",{className:Ve,name:"ageForm",onSubmit:M,noValidate:!0,children:[(0,f.jsxs)("div",{className:Ue,children:["us"==l?O:T,"us"==l?T:O,(0,f.jsx)(qe.I,{className:We,ref:C,name:nt,placeholder:z("YYYY"),type:"text",required:!0,"data-min":"1889","data-max":(new Date).getFullYear(),maxLength:"4",autoComplete:"off",pattern:"\\d{4}",label:z("Year"),inputMode:"numeric",errorMessage:h[nt].errorMsg,onChange:P,onBlur:I,hasError:h[nt].hasError})]}),(0,f.jsx)(ee.B,{type:"submit",name:"submit","data-testid":"submit",disabled:!w,variant:"tertiary",size:"large",className:_e,children:z("Continue")})]})]})}):c==et?(0,f.jsx)("div",{className:Ge,children:(0,f.jsxs)("div",{className:Fe,children:[(0,f.jsx)(n.H,{variant:"h1",large:!0,children:z("Age verification")}),(0,f.jsx)("p",{className:Ke,children:z("Sorry, you are not eligible to view or download this content at this time.")})]})}):r};it.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"])},it.defaultProps={passed:!1,failed:!1,country:"us",lang:"en",minimumAge:17,onSuccess:()=>{},onFailure:()=>{}};var lt=it,at=r(43838),ot=r(79102),st=r(16322),ct=r(77064),dt=r(72354),ht=r(13852);const ut=(0,c.default)(l.$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]})),pt=c.default.div.withConfig({componentId:"sc-4l5ex7-1"})(["p,a{","}"],(e=>{let{theme:t}=e;return(0,c.css)(["font-size:",";","{font-size:",";}"],t.font.size.legalMobile,t.mediaQuery.tablet,t.font.size.legalDesktop)})),mt=c.default.div.withConfig({componentId:"sc-4l5ex7-2"})(["display:flex;align-items:baseline;gap:0.25rem;"]),gt=c.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})),ft=c.default.div.withConfig({componentId:"sc-4l5ex7-4"})(["",""],(e=>{let{theme:t}=e;return(0,c.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)})),bt=c.default.div.withConfig({componentId:"sc-4l5ex7-5"})(["",""],(e=>{let{theme:t}=e;return(0,c.css)(["background:",";padding:"," ",";","{padding:"," ",";}ul{padding-inline-start:20px;}"],t.color.lightGray4,t.spacing[32],t.spacing[24],t.mediaQuery.tablet,t.spacing[32],t.spacing[48])})),xt=c.default.section.withConfig({componentId:"sc-4l5ex7-6"})(["padding:1rem;"]);function wt(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 yt(e){for(var t=1;t0,y=(0,o.useRecentlyViewed)(),{trackViewItem:j}=(0,o.useAnalytics)(),{0:v,1:C}=(0,p.useState)(!1),z=r.ageGate||r.contentRating?.requiresAgeGate,L=vt.get(),[S,P]=b.split("-"),I=r.officialSite?.startsWith("http")?r.officialSite:`//${r.officialSite}`,M=r.relatedArticles,O=(0,p.useMemo)((()=>{const e=[];return dt.wh.has(b)&&(r.upsellProducts?.length&&e.push({heading:u("Related items to explore"),products:r.upsellProducts.slice(0,16).map(H.uF)}),r.crossSellProducts?.length&&e.push({heading:u("More like this"),products:r.crossSellProducts.slice(0,16).map(H.uF)}),h?.length&&e.push({heading:u("Digital best sellers"),products:h.map(H.uF)})),e}),[r.upsellProducts,r.crossSellProducts,h,u,b]),{waitForElementRef:T}=(0,ht.r)(),D=(0,p.useCallback)((()=>{T(!0)}),[T]);return(0,p.useEffect)((()=>{y.addProduct&&!v&&(C(!0),r.edition?y.addProduct(r):y.addProduct(r.configurableProduct||r))}),[y,r,v]),(0,H.nw)((()=>j(r,(0,H.DW)({name:r.name})))),z&&x.loading?(0,f.jsx)(xt,{}):(0,f.jsxs)(lt,{passed:"true"===L&&!x.data?.isChild||!z,failed:(x.data?.isChild||"false"===L)&&z,onSuccess:()=>vt.set("true",jt),onFailure:()=>vt.set("false",jt),lang:S,country:P,minimumAge:"mx"===P?18:17,children:[(0,f.jsx)(Re,{product:r}),"BUNDLE"===r.productType&&(0,f.jsxs)(l.$0,{constrained:!0,small:!0,children:[(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(n.H,{variant:"h1",children:u("Included in this bundle")}),(0,f.jsx)(at.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)(s.I8,yt(yt({},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)(ut,{constrained:!0,small:!0,marginBottom:0,children:(0,f.jsxs)(ft,{children:[(0,f.jsxs)("div",{children:[r.headline&&(0,f.jsx)(n.H,{children:r.headline}),(0,f.jsx)(Qr,{maxLines:10,description:r.richTextDescription?.json||r.description,category:r.topLevelCategory}),r.officialSite&&(0,f.jsx)("a",{href:I,target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(ee.B,{children:u("Explore this game's official website")})})]}),(r.descriptionImage||r.productImage)&&(0,f.jsx)(gt,{children:(0,f.jsx)("div",{children:(0,f.jsx)(ye.I,{assetPath:r.descriptionImage?r.descriptionImage.publicId:r.productImage.publicId,alt:r.name})})})]})}),c?.asset?.primary?.assetPath?(0,f.jsx)(l.$0,{constrained:!0,small:!0,background:c.background?.backgroundType,id:"banner",children:(0,f.jsx)(l.tm,{content:{assetPath:c.asset?.primary?.assetPath,assetPathAlt:c.asset?.alt,cta:c.ctaList[0],description:c.description,heading:c.heading,modifiers:c.modifiers}})}):null,t,r.publisherNotifications&&(0,f.jsx)(l.$0,{constrained:!0,small:!0,marginBottom:0,children:(0,f.jsxs)(bt,{children:[(0,f.jsx)(n.H,{variant:"h3",children:u("Publisher notification(s):")}),(0,f.jsx)(l.Ho,{textVariant:"legal",data:r.publisherNotifications})]})}),M?.length>0&&b===dt.ZW&&(0,f.jsxs)(l.$0,{constrained:!0,small:!0,children:[(0,f.jsx)(N.H,{ctaText:u("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:ot.Z,ctaTarget:"_blank",children:u("Related news and events")}),(0,f.jsx)(B.S,{size:16}),(0,f.jsx)(at.R,{contained:!0,children:M.map((e=>{let{id:t,url:r,title:n,media:i,publishDate:l}=e;return(0,f.jsx)(st.N,{articleLink:r,articleTitle:n,artPath:i?.publicId,publishDate:m(l,{format:g.SHORT}),readMoreLabel:u("Read more"),size:"small"},t)}))})]}),(0,f.jsx)(k,{product:r,locale:b}),r.sizeChart&&(0,f.jsxs)(l.$0,{id:"sizing",constrained:!0,background:F.d.color.lightGray4,small:!0,children:[(0,f.jsx)("h2",{children:u("Size chart")}),(0,f.jsx)(rn,{product:r})]}),(0,f.jsx)(Be,{product:r}),w?(0,f.jsx)(l.$0,{id:"dlc",small:!0,children:(0,f.jsx)(E,{product:r,locale:b})}):null,(0,f.jsx)(l.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,f.jsx)(l.$3,{collections:O})}),(0,f.jsx)(l.HU,{currentSku:r.edition?r.sku:r.configurableProduct?.sku||r.sku,small:!0,onProductsLoaded:D}),(0,f.jsxs)(l.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===r.topLevelCategory?.code&&(0,f.jsx)(i.T,{variant:"legal",children:u("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)(pt,{dangerouslySetInnerHTML:{__html:r.disclaimer}}),r.richTextDisclaimer?.json&&(0,f.jsx)(l.Ho,{textVariant:"legal",data:r.richTextDisclaimer?.json}),r.displayProp65&&(0,f.jsxs)(pt,{children:[(0,f.jsxs)(mt,{children:[(0,f.jsx)(ct.Z,{size:16}),(0,f.jsx)(n.H,{variant:"h3",children:u("Warning:")})," ",u("Cancer and reproductive harm.")]}),(0,f.jsx)(J.L,{href:"https://www.p65warnings.ca.gov/",children:"p65warnings.ca.gov"})]})]})]})]})}var zt=r(6834),Lt=r(49446);const St=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"})]});St.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},St.defaultProps={color:"currentColor",size:24};var Pt=r(21203);const It=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})});It.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},It.defaultProps={color:"currentColor",size:24};var Mt=r(25338);const Ot=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"})});Ot.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Ot.defaultProps={color:"currentColor",size:24};const Tt=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"})]});Tt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Tt.defaultProps={color:"currentColor",size:24};var kt=r(32687);const Nt=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"})]});Nt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Nt.defaultProps={color:"currentColor",size:24};const Dt=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"})]});Dt.propTypes={className:g().string,color:g().string,size:g().oneOfType([g().number,g().string])},Dt.defaultProps={color:"currentColor",size:24};var Ht=r(86869);const Et=c.default.div.withConfig({componentId:"sc-1237z5p-0"})(["margin:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[32]})),Rt=c.default.div.withConfig({componentId:"sc-1237z5p-1"})(["",""],(e=>{let{theme:t}=e;return(0,c.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)})),At=c.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]})),$t=(c.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,c.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})),c.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]})),{[dt.bA]:Ht.H.attribute,[dt.oV]:Ht.G.attribute}),Xt=e=>{let{icon:t,heading:r,descriptions:i}=e;return(0,f.jsxs)(Rt,{children:[t,(0,f.jsx)(n.H,{variant:"h3",children:r}),(0,f.jsx)(At,{children:i.map((e=>(0,f.jsx)("div",{children:e.href?(0,f.jsx)(J.L,{href:e.href,children:e.label}):e.label},e.label)))})]})},Zt=(e,t,r)=>{let n=[];return t.playersMax&&n.push(Bt(r("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:r})),t.playersMaxLocal&&n.push(Bt(r("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:r})),t.playersMaxOnline&&n.push(Bt(r("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:r})),n},Bt=(e,t,r,n)=>{const{searchPrefix:i,text:l}=n,a=parseInt(r||t),o=1===a?l("Single Player"):a>3?"4+":`${a}+`;return{href:`${i}#cat=gme&f=playerCount&playerCount=${encodeURIComponent(o)}`,label:e+" ("+(t!=r?t+"-":"")+(r||"")+")"}};var Qt=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{date:i,DateFormat:l,text:c}=(0,o.useLocalizer)(),d="/search",h=$t[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=>c(e.label))),m=Zt(d,t,c),g=(0,pe.EE)(t);return(0,f.jsxs)(Et,{children:[(0,f.jsx)(zt.S,{id:"product-info",children:(0,f.jsx)(n.H,{children:c("Product information")})}),(0,f.jsx)(n.H.NewLevel,{children:(0,f.jsxs)(s.rj,{columns:1,gap:0,children:[t.releaseDate&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Lt.Z,{size:28}),heading:c("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:i(t.releaseDate,{format:l.LONG})}]}),t.playersMax&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(St,{size:28}),heading:c("No. of players"),descriptions:m}),t.genres&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Pt.Z,{size:28}),heading:c("Genre"),descriptions:u}),t.softwarePublisher&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(It,{size:28}),heading:c("Publisher"),descriptions:[{href:`/search#cat=gme&f=softwarePublisher&softwarePublisher=${encodeURIComponent(t.softwarePublisher)}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Mt.Z,{size:28}),heading:c("ESRB rating"),descriptions:[{href:`/search#cat=gme&sort=df&f=${h}&${h}=${encodeURIComponent((0,H.r5)(t))}`,label:t.contentRating.label}]}),t.playModes&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Ot,{size:28}),heading:c("Supported play modes"),descriptions:[{label:p.join(", ")}]}),t.romFileSize&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Tt,{size:28}),heading:c("Game file size"),descriptions:[{label:(0,pe.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(kt.Z,{size:28}),heading:c("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(c).join(", ")}]}),t.countryOfOrigin&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(kt.Z,{size:28}),heading:c("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(It,{size:28}),heading:c("Manufacturer"),descriptions:[{href:`/search#q=${encodeURIComponent(t.manufacturer)}&p=1&cat=merch&sort=df`,label:t.manufacturer}]}),t.sku&&!g&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Nt,{size:28}),heading:c("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,f.jsx)(Xt,{icon:(0,f.jsx)(Dt,{size:28}),heading:c("UPC"),descriptions:[{label:t.upc}]})]})})]})},qt=r(25237),Gt=r.n(qt),Ft=r(19756),Vt=r(80149),_t=r(80230),Ut=r(7162),Kt=r(7141),Wt=r(1205),Yt=r(79881),Jt=r(85316),er=r(80963),tr=r(63288),rr=r(96827);const nr="64px",ir="110px",lr="14px",ar="20px",or=c.default.div.withConfig({componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;"]),sr=c.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(ir)}px`:ir}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),rr.As,rr.oQ,(e=>{let{$hasError:t}=e;return t?`${10+parseInt(nr)}px`:nr})),cr=c.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})),dr=(0,c.default)(n.H).withConfig({componentId:"sc-66y51m-3"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),hr=c.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})),ur=c.default.div.withConfig({componentId:"sc-66y51m-5"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-right:1rem;position:relative;"]),pr=c.default.div.withConfig({componentId:"sc-66y51m-6"})(["visibility:",";"],(e=>{let{$visible:t}=e;return t?"visible":"hidden"})),mr=(0,c.default)(Y.S).withConfig({componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),gr=c.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"})),fr=(0,c.default)(ee.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)})),br=(0,c.default)(s.rj).withConfig({componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],lr,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),ar),xr=(0,c.default)(Vt.Z).withConfig({componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],lr,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),ar),wr=(0,c.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})),yr=(0,c.default)(i.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 jr=r(35611);var vr=e=>{let{onChange:t,isBundle:r,product:n,title:i,value:l}=e;const{topLevelCategory:a,variations:o,nsuid:s}=n;if("GAMES"===a?.code){if("MOBILE"==s)return(0,f.jsx)(jr.uP,{product:n});if(o?.length>3)return(0,f.jsx)(jr.Z5,{product:n});if(o?.length>0)return(0,f.jsx)(jr.Kx,{onChange:t,isBundle:r,product:n,title:i,value:l})}return o?.length>0?(0,f.jsx)(jr.ig,{isBundle:r,onChange:t,product:n,title:i,value:l}):null},Cr=r(85941),zr=r(39833);function Lr(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 Sr=(e,t)=>{const r=[dt.xJ,dt.oV,dt._1,dt.bA],n={[dt.xJ]:{4:"HNA"},[dt.oV]:{8:"PSTM",7:"MSTM",6:"CSTM",5:"ESTM"},[dt._1]:{3:"ART"},[dt.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},Pr=(e,t,r,n)=>{const i=new Date,l=new Date(e),a=t===dt.xJ,o=l.getTime()-i.getTime();if(o<0)return null;if(!(o/6e4/60>24))return r("Sale ends: {0}",{args:[(0,f.jsx)(zr.C,{onTimeEnd:n,endDate:e,abbreviate:!1},"timer")]});{const e=a?"es-MX":t===dt.bu?"en-US":(0,Cr.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}}},Ir="The requested quantity is not available",Mr={DEFAULT:"Something went wrong. Please try again.",QTY_NOT_AVAILABLE:Ir,QTY_NOT_AVAILABLE_FR:Ir,INSUFFICIENT_STOCK:Ir,QTY_EXCEEDS_MAXIMUM:Ir,PURCHASE_LIMIT_REACHED:Ir,PRODUCT_UNAVAILABLE:Ir};function Or(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 Tr(e){for(var t=1;tr.e(1370).then(r.bind(r,91370))),{ssr:!1,loadableGenerated:{webpack:()=>[91370]}}),Nr=(0,Jt.Z)(Ft.W),Dr="add-to-cart-drawer",Hr="added-to-cart-drawer",Er=[Dr];function Rr(e){let{product:t,purchaseOptions:r}=e;const{actions:{openDrawer:d,closeDrawer:h,addOrUpdateDrawer:u,removeDrawer:m}}=(0,Yt.eV)(),g=(0,p.useRef)(),b="BUNDLE"===t.productType,x=t.bundleItems?.filter((e=>e.options?.length>1)),w=(0,p.useContext)(c.ThemeContext),{locale:y}=(0,a.Z)(),j=y?.split("-")[0]??"en",{text:v}=(0,o.useLocalizer)(),C=(0,er.Z)(er.o.DESKTOP),{0:z,1:L}=(0,p.useState)(0),{0:S,1:P}=(0,p.useState)(),{state:{addableQty:I,quantity:M,isLoading:O,isMobileGame:T,isDigitalProduct:k,isPurchasable:N,retailerSku:D,buttonDisabled:E,promptLogin:R,disableQuantity:A,buttonCopy:$,helperText:X,boldHelperText:Z,displayPrice:Q,showRedemptionCodeModal:q,selectedOptionsByTitle:G},actions:{handleDirectDownloadClick:V,handleAddToCart:_,setQuantity:U,setShowRedemptionCodeModal:K,setSelectedOptionsByTitle:W}}=r,{platinumPoints:J,eshopDetails:ae}=t,pe=(0,p.useMemo)((()=>({id:Hr,drawer:{height:"325px",target:Yt.zO.FLYOUT,bgColor:w.color.lightGray3,enableScrim:!0,content:(0,f.jsx)(l.ZL,{product:t,quantity:z,onClose:()=>h(Hr)})}})),[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)d(Hr);else if(i){const e=r?.[0]?.extensions?.code;P(Mr[e]||Mr.DEFAULT)}}),[t,M,_,d]),ge=(0,p.useMemo)((()=>({viewPortTopOffset:C?Yt.nI.DESKTOP:0})),[C]),fe=(0,p.useMemo)((()=>({[Dr]:{ref:g}})),[]),be=S?`${10+parseInt(nr)}px`:nr,xe=S?`${10+parseInt(ir)}px`:ir,we=(0,p.useMemo)((()=>({[Dr]:{drawer:{height:C?be:xe,target:Yt.zO.TOP_DRAWER,bgColor:F.d.color.lightGray3,content:(0,f.jsx)(nn,{product:t,errorMessage:S,purchaseOptions:Tr(Tr({},r),{},{actions:Tr(Tr({},r.actions),{},{handleAddToCart:me})})})}}})),[t,C,r,S,me,be,xe]);(0,tr.Z)(Er,fe,we,ge),(0,p.useEffect)((()=>{u(pe.id,pe.drawer)}),[pe,u]),(0,p.useEffect)((()=>{U(1)}),[U,I]),(0,p.useEffect)((()=>{P()}),[t?.sku,M]),(0,p.useEffect)((()=>()=>{m(Hr)}),[m]);const ye=(0,p.useMemo)((()=>ae?.discountPriceEnd?Pr(ae?.discountPriceEnd,y,v,(()=>{window.location.reload()})):null),[ae,y,v]);return(0,f.jsxs)(f.Fragment,{children:[!b&&(0,f.jsx)(vr,{product:t}),(0,f.jsx)(B.S,{size:24}),ye&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(de,{backgroundColor:w.color.primary,foregroundColor:"#fff",children:ye}),(0,f.jsx)(B.S,{size:8})]}),!T&&(0,f.jsxs)(re,{children:[(0,H.vS)(y)&&!k?null:O?(0,f.jsx)(ne,{width:"50%"}):J?(0,f.jsxs)(s.rj,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,f.jsx)(Vt.Z,{size:24}),(0,f.jsxs)(n.H,{variant:"h2",children:[J," ",v("Platinum Points")]})]}):(0,f.jsx)(_t.P,{regPrice:Q.regPrice,size:"large",salePrice:Q.salePrice,lang:j}),(0,Jt.Y)(t)&&(0,f.jsx)(Nr,{product:t,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),b&&(0,f.jsx)(ue,{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)(vr,{onChange:e=>{t.find((t=>{let{id:r}=t;return r===e})).product?.isSalableQty&&W((t=>Tr(Tr({},t),{},{[r]:e})))},value:G[r],title:v(`Select ${i} for {0}`,{args:[r]}),isBundle:!0,product:Tr(Tr({},n.product),{},{variations:t.map((e=>{const{label:t,value:r}=e.product.variations.find((t=>t.product.sku==e.product.sku));return Tr(Tr({},e),{},{label:t,value:r,product:Tr(Tr({},e.product),{},{url:""})})}))})},e.id)}))}),ae?.goldPoints?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:24}),O?(0,f.jsx)(Y.S,{width:"25%"}):(0,f.jsxs)(ie,{children:[(0,f.jsx)("div",{children:(0,f.jsx)(Ut.Z,{size:24})}),(0,f.jsx)(i.T,{variant:"legal",children:v("Eligible for up to {0} Gold Points",{args:[(0,f.jsx)(le,{children:ae?.goldPoints},"goldPoints")]})})]})]}):null,(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(s.rj,{columns:"1fr 3fr",alignItems:"center",children:k?(0,f.jsx)(s.P4,{column:"span 2",children:(N||"MarketingProduct"===t.__typename)&&(0,f.jsx)(ee.B,{onClick:V,icon:E||R?"":Kt.Z,isLoading:O,buttonWidth:"full",disabled:E,size:"large",href:E||R?null:ae?.purchaseUrl,children:"string"===typeof $?v($):$})}):(0,H.vS)(y)?null:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(te,{quantity:M,max:A?1:I,min:1,onChange:U,disabled:E}),(0,f.jsx)(ce,{onClick:me,isLoading:O,disabled:E,icon:E||R?"":Wt.Z,buttonWidth:"full",size:"large",children:"string"===typeof $?v($):$})]})}),(0,f.jsx)("span",{ref:g,"data-drawer-id":Dr}),X&&(k||!(0,H.vS)(y))&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(B.S,{size:20}),S&&(0,f.jsx)(se,{variant:"caption",children:v(S)}),t.voucherNsuid&&(0,f.jsx)(l.lE,{nsuid:t.nsuid}),(0,f.jsx)(oe,{variant:"legal",children:(0,f.jsx)(he,{"data-testid":"helperText",$boldHelperText:Z,children:"string"===typeof X?v(X):X})})]}),D?(0,f.jsxs)(f.Fragment,{children:[(!(0,H.vS)(y)||k)&&(0,f.jsx)(B.S,{size:24}),(0,f.jsx)(l.Qc,{sku:D,name:t.name,type:(0,H.vS)(y)&&!k?"button":"link"})]}):null,t.requiresCoupon&&(0,f.jsx)(kr,{onApplyCode:async e=>{const{data:t,errors:r}=await _(e);if(!t?.cart?.id)throw new Error(r?.[0]?.extensions?.errors?.[0]?.message);setTimeout((()=>{d(Hr)}),200)},onClose:()=>K(!1),visible:q})]})}var Ar=r(59124),$r=r(1505);const Xr=c.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]})),Zr=(0,c.default)(we.I).withConfig({componentId:"sc-120wz1l-1"})(["padding-left:0;"]),Br=c.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 Qr=function(e){let{maxLines:t,description:r,category:n}=e;const{text:a}=(0,o.useLocalizer)(),{0:s,1:c}=(0,p.useState)(0),{0:d,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)(Xr,{ref:b,children:[(0,f.jsx)(Br,{$isExpanded:u,$maxLines:t,children:(0,f.jsx)(l.Ho,{ref:x,data:r})}),d&&(0,f.jsx)(Zr,{icon:u?Ar.Z:$r.Z,onClick:()=>{m((e=>(e?window.scrollTo(0,s):c(window.scrollY),!e)))},children:a(u?"Read less":"Read more")}),g&&(0,f.jsx)(i.T,{variant:"legal",children:a("Software description provided by the publisher.")})]})},qr=r(46298),Gr=r(58842);const Fr=c.default.div.withConfig({componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),Vr=e=>{let{theme:t,isActive:r,swatch:n,disabled:i}=e;return(0,c.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)},_r=c.default.div.withConfig({componentId:"sc-1hh5k55-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],Gr.nd,Vr),Ur=(0,c.default)(qr.Z).withConfig({componentId:"sc-1hh5k55-2"})(["",""],Vr);const Kr=new Set(["color"]);var Wr=e=>{let{onChange:t,product:r,value:n}=e;const{query:i}=(0,a.Z)(),l=r.configurableOptions?.[0]?.attributeCode;return(0,f.jsx)(Fr,{children:r.variations.map((e=>{const r=Kr.has(l)&&function(e){return e?new URL(`/media/attribute/swatch/swatch_image/30x20${e}`,"https://store.nintendo.com/").toString():null}(e.value),a=e.product.url?e.product.urlKey===i.slug:e.id===n;return e.product.url?(0,f.jsx)(Ur,{href:e.product.url,isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:r?"":e.label},e.product.name):(0,f.jsx)(_r,{onClick:()=>t(e.id),isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:(0,f.jsx)(Gr.Dx,{type:"portrait",children:r?"":e.label})},e.product.name)}))})};const Yr=(0,c.default)(l.He).withConfig({componentId:"sc-raxccj-0"})(["",""],(e=>{let{theme:t}=e;return(0,c.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)})),Jr=c.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]}`})),en=c.default.div.withConfig({componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),tn=(c.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 rn=e=>{let{product:t}=e;const r=tn[t.sizeChart.code],{text:n}=(0,o.useLocalizer)();return(0,f.jsxs)(Yr,{children:[(0,f.jsx)(en,{children:(0,f.jsx)(ye.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,f.jsx)(Jr,{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)(ct.Z,{size:16})," Size chart unavailable."]})})]})};var nn=e=>{const{product:t,purchaseOptions:r,errorMessage:n}=e,{text:i}=(0,o.useLocalizer)(),{query:s,locale:c}=(0,a.Z)(),d=c?.split("-")[0]??"en",{name:h,eshopDetails:u,topLevelCategory:m,platinumPoints:g}=t,{state:{isLoading:b,isDigitalProduct:x,isPurchasable:w,isMobileGame:y,buttonDisabled:j,promptLogin:v,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===s.slug))),[t,s]),O=M?.product.size?i("Size"):null,T=M?.label,k=O?`${O}: ${T}`:T;let N=null;"GAMES"===m?.code?N=i(x?"Digital":"Physical"):I&&!M?N=i("Starting at"):k&&(N=k);const D=(0,p.useMemo)((()=>I?()=>{window.scrollTo({top:0,behavior:"smooth"})}:P),[I,P]);return(0,f.jsx)(or,{children:(0,f.jsxs)(sr,{$hasError:!!n,children:[(0,f.jsx)(dr,{forwardedAs:"p",variant:"h3",children:h}),(0,f.jsxs)(cr,{children:[(0,f.jsxs)(hr,{children:[N&&(0,f.jsx)(gr,{$smallMargin:!M,children:N}),!y&&(Boolean(z.regPrice)||Boolean(g))&&(0,f.jsxs)(ur,{children:[b&&(0,f.jsx)(mr,{width:"100%"}),(0,f.jsx)(pr,{$visible:!b,children:g?(0,f.jsxs)(br,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,f.jsx)(xr,{}),(0,f.jsxs)(wr,{variant:"h2",children:[g," ",i("Platinum Points")]})]}):!(0,H.vS)(c)||x?(0,f.jsx)(_t.P,{regPrice:z.regPrice,horizontal:!0,size:"medium",salePrice:z.salePrice,lang:d}):null})]})]}),(0,f.jsxs)("div",{children:[x?w&&(0,f.jsx)(fr,{onClick:S,icon:j||v?"":Kt.Z,isLoading:b,buttonWidth:"full",disabled:j,round:!0,size:"small",href:j?null:u?.purchaseUrl,children:"string"===typeof C?i(C):C}):(0,H.vS)(c)?(0,f.jsx)(l.Qc,{sku:L,name:t.name,type:"button-round"}):(0,f.jsx)(fr,{onClick:D,isLoading:b,disabled:j,icon:j||v?"":Wt.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof C?i(C):C}),n&&(0,f.jsx)(yr,{variant:"legal",children:n})]})]})]})})}},63288:function(e,t,r){var n=r(2784),i=r(79881);t.Z=(e,t,r,l)=>{const{actions:{openDrawer:a,closeDrawer:o,addOrUpdateDrawer:s,removeDrawer:c}}=(0,i.eV)(),{viewPortTopOffset:d=0,disableDrawers:h}=l||{},u=(0,n.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:r}=e,n=r?.top{h||e.forEach((e=>{s(e,r[e].drawer)}))}),[s,e,r,h]),(0,n.useEffect)((()=>{if(!h)return()=>{e.forEach((e=>{c(e)}))}}),[c,e,h]),(0,n.useLayoutEffect)((()=>{if(h)return;const r=new IntersectionObserver(u,{rootMargin:`-${d}px 0px 0px 0px`,threshold:1});return e.forEach((e=>{t[e].ref.current&&r.observe(t[e].ref.current)})),()=>{e.forEach((e=>{t[e].ref.current&&r.unobserve(t[e].ref.current)}))}}),[u,e,t,h,d])}},57294:function(e,t,r){r.d(t,{B:function(){return p}});var n=r(2784),i=r(13980),l=r.n(i),a=r(51855),o=r(52322),s="KtKAX",c="eIa-f",d="d2PBj";const h=({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,s="a"===t.type?t.props.children:"a"===t.props.children.type?t.props.children.props.children:null;return(0,o.jsxs)("li",{className:d,children:[l&&s?(0,o.jsx)("span",{"aria-current":"page",children:s}):t,i?null:(0,o.jsx)(a.Z,{size:10})]},t.props.href||n)}))),[e,t,r]);return(0,o.jsx)("nav",{className:s,"aria-label":"Breadcrumb",children:(0,o.jsx)("ol",{className:c,children:i})})},u=l().shape({props:l().shape({href:l().string.isRequired,children:l().node})});h.propTypes={children:l().oneOfType([l().arrayOf(u),u]).isRequired,currentPage:l().string};var p=h},38463:function(e,t,r){r.d(t,{Z:function(){return a}});r(2784);var n=r(13980),i=r.n(n),l=r(52322);const a=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})});a.propTypes={className:i().string,color:i().string,size:i().oneOfType([i().number,i().string])},a.defaultProps={color:"currentColor",size:24}},76384:function(e,t,r){r.d(t,{I:function(){return j}});var n=r(2784),i=r(13980),l=r.n(i),a=r(40489),o=r(52322),s="zupv2",c="-qU5Y",d="wmZ7J",h="gn6dZ",u="a6oPm",p="JABWX",m="imR4n",g="zDFQk",f="TL-zQ",b="_0cZc1";const x=n.forwardRef((function(e,t){const{actionElement:r,errorMessage:n,flat:i,hasError:l,label:d,labelHidden:b,onChange:x,placeholder:j,required:v,value:C,className:z,...L}=e,S=`${j}-${d}`;return(0,o.jsxs)("div",{className:(0,a.Z)(s,l&&c,z),children:[(0,o.jsx)("label",{className:(0,a.Z)(m,b&&g),required:v,htmlFor:S,"aria-label":d,children:d}),(0,o.jsxs)("div",{className:f,children:[(0,o.jsx)("input",{className:(0,a.Z)(h,"left"==i&&u,"right"==i&&p),ref:t,name:d,"aria-invalid":l,id:S,placeholder:j,onChange:x,value:C,required:v,...L}),r]}),(0,o.jsx)(w,{children:(0,o.jsx)(y,{role:"alert",children:n})})]})})),w=({children:e})=>(0,o.jsx)("div",{className:b,children:e}),y=({children:e})=>(0,o.jsx)("div",{className:d,role:"alert",children:e});x.defaultProps={placeholder:"placeholder",label:"input label",labelHidden:!1},x.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 j=x},57424:function(e,t,r){r.d(t,{Q:function(){return m}});r(2784);var n=r(13980),i=r.n(n),l=r(61604),a=r(59124),o=r(1505),s=r(52322),c=r(6834),d="oYa0G",h="jU-e5",u="qF1M-";const p=e=>{const{className:t,quantity:r,lang:n,max:i,min:p,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,j=y?w:b;return(0,s.jsxs)("div",{className:`${d} ${t}`,children:[(0,s.jsx)(c.S,{children:f("Quantity")}),(0,s.jsx)("button",{className:h,disabled:g||r<=p||r<=1,title:x,"aria-label":x,onClick:()=>m(r-1),children:(0,s.jsx)(a.Z,{})}),(0,s.jsx)("div",{className:u,"aria-live":"polite",disabled:g,children:r}),(0,s.jsx)("button",{className:h,disabled:g||y,"aria-label":b,title:j,onClick:()=>m(r+1),children:(0,s.jsx)(o.Z,{})})]})};p.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},p.defaultProps={max:1/0,min:1,lang:"en"};var m=p},71587:function(e,t,r){r.d(t,{R:function(){return j}});var n=r(2784),i=r(13980),l=r.n(i),a=r(3652),o=r(20264),s=r(7307),c=r(40806),d=r(52322);const h=e=>(0,s.css)(["",""],(({theme:t})=>`\n height: ${t.pxToRem(e)};\n min-width: ${t.pxToRem(e)};\n `)),u="border-radius: 50%;",p=(e,t)=>{const r=Math.floor((e-2-t)/2);return(0,s.css)(["",""],(({theme:e})=>`\n top: ${e.pxToRem(r)};\n left: ${e.pxToRem(r)};\n `))},m=20,g=8,f=24,b=10;(0,s.default)(c.S).withConfig({componentId:"sc-ohur19-0"})(["margin-top:0.5rem;"]);const x=s.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);}}"],c.o,h(m),(({theme:e})=>`1px solid ${e.color.darkGray4}`),u,(({theme:e})=>e.color.primary),c.s,u,c.t,(({$altContent:e,theme:t})=>e?(0,s.css)(["",";background:transparent;content:'","';line-height:1.35;text-align:center;color:",";font-weight:",";"],c.s,e,(({theme:e})=>e.color.white),(({theme:e})=>e.font.weight.bold)):(0,s.css)(["position:absolute;content:'';background:",";",";",";"],t.color.white,h(g),p(m,g))),u,c.t,(({theme:e})=>e.mediaQuery.tabletSmall),(({$altContent:e})=>!e&&(0,s.css)(["",";",""],h(b),p(f,b))),(({theme:e})=>e.mediaQuery.tabletSmall),h(f),c.l),w=/\s+/g,y=n.forwardRef((function(e,t){const{altContent:r,value:i,icon:l,label:s,bold:h,caption:u,discounted:p,onChange:m,price:g,checked:f,name:b,className:y,regularPrice:j,...v}=e,C=(0,n.useRef)(null),z=(0,a.u)(l),L=`${s.replace(w,"-")}-radio`,[S,P]=(0,n.useState)(L),I=`${u?s+" "+u:s}`,M=`${g?I+" "+g:I}`,O=g||p&&j;return(0,n.useEffect)((()=>{const e=C.current.parentNode.parentNode,t=C.current.parentNode,r=Array.prototype.indexOf.call(e.childNodes,t);P(`${s.replace(w,"-")}-radio-${r}`)}),[s]),(0,d.jsxs)(c.C,{className:y,$checked:f,onClick:e=>{e.stopPropagation(),C.current&&C.current.click()},ref:t,children:[(0,d.jsx)(x,{value:i,id:S,"aria-label":M,ref:C,name:b,onChange:m,onClick:e=>{e.stopPropagation()},$altContent:r||"\u2713",checked:f,...v}),z&&(0,d.jsx)(c.I,{children:z}),(0,d.jsxs)(c.L,{$bold:h,$caption:u,children:[(0,d.jsx)(c.a,{htmlFor:S,children:s}),u&&(0,d.jsx)(o.T,{as:"span",variant:"legal",children:u})]}),O&&(0,d.jsxs)(c.P,{children:[g&&(0,d.jsx)(c.b,{variant:"body",children:g}),p&&j&&(0,d.jsx)(c.R,{variant:"legal",children:j})]})]})}));y.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 j=y},40806:function(e,t,r){r.d(t,{C:function(){return b},I:function(){return h},L:function(){return p},P:function(){return m},R:function(){return g},S:function(){return l},a:function(){return u},b:function(){return f},l:function(){return s},o:function(){return o},s:function(){return c},t:function(){return d}});var n=r(7307),i=r(20264);const l=n.default.div.withConfig({componentId:"sc-1kx5r1j-0"})(["position:relative;display:inline-flex;align-items:center;",""],(({disabled:e})=>e&&(0,n.css)(["opacity:0.5;pointer-events:none;"]))),a=n.default.label.withConfig({componentId:"sc-1kx5r1j-1"})(["cursor:pointer;margin-left:",";",""],(({theme:e})=>e.spacing[16]),(({theme:e})=>(0,n.css)(["color:",";font-family:",";font-size:",";font-weight:",";","{font-size:",";}"],e.color.darkGray2,e.font.family,e.font.size.bodyMobile,e.font.weight.light,e.mediaQuery.tabletSmall,e.font.size.bodyDesktop))),o="appearance: none;",s=(0,n.css)(["background:",";"],(({theme:e})=>e.color.lightGray3)),c="\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n",d=(0,n.css)(["transform:scale(0,0);",""],(({theme:e})=>(0,n.css)(["transition:transform "," ",";"],e.movement.duration,e.movement.easing))),h=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)),u=(0,n.default)(a).withConfig({componentId:"sc-d1kg1d-1"})(["margin:0;& > span{font-weight:",";}","{& > span{display:none;}}"],(({theme:e})=>e.font.weight.bold),(({theme:e})=>e.mediaQuery.tabletSmall)),p=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:",";}"],u,(({theme:e})=>e.font.weight.bold),(({theme:e})=>t?e.pxToRem(6):"0")))),m=n.default.div.withConfig({componentId:"sc-d1kg1d-3"})(["flex-direction:column;text-align:right;flex-grow:1;"]),g=(0,n.default)(i.T).withConfig({componentId:"sc-d1kg1d-4"})(["color:",";text-decoration:line-through;"],(({theme:e})=>e.color.darkGray1)),f=(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))),b=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 `))}}]);