"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7715],{45815:function(e,t,r){r.d(t,{uP:function(){return P},Kx:function(){return x},Z5:function(){return y},ig:function(){return S}});var n=r(2784),i=r(97224),l=r(32899),a=r(47336),o=r(86283),s=r(7307),d=r(64360),c=r(60324),u=r(76445);const h=(0,s.default)(d.R).withConfig({componentId:"sc-1nmdhxc-0"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return t.spacing[8]})),p=(0,s.default)(c.S).withConfig({componentId:"sc-1nmdhxc-1"})(["z-index:2;"]),g=((0,s.default)(u.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]})));var m=r(52322);const f=n.forwardRef((function(e,t){const{checked:r,onClick:n,href:i,onChange:a=(()=>{}),product:o,variation:s}=e,{text:d,price:c}=(0,l.useLocalizer)();return(0,m.jsx)(h,{ref:t,caption:s.product.name,checked:r,discounted:s.product.prices?.minimum?.discounted,href:i,price:o.loadingPricing?null:c(s.product?.prices?.minimum?.finalPrice),regularPrice:o.loadingPricing?null:c(s.product?.prices?.minimum?.regularPrice),onChange:a,onClick:n,value:s.product.urlKey,name:s.product.name,label:s.product.nsuid?d("Digital"):d("Physical"),altContent:"\u2713"})}));function b(e){let{onChange:t,isBundle:r,product:n,title:s,value:d}=e;const{text:c}=(0,l.useLocalizer)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(a.T,{variant:"legal",children:r?s:c("Select a product")}),(0,m.jsx)(o.S,{size:12}),(0,m.jsx)("div",{children:n.variations.map((e=>e.product.url?(0,m.jsx)(i.Z,{href:e.product.url,children:(0,m.jsx)(f,{checked:n.url===e.product.url,product:n,variation:e})},e.product.sku):(0,m.jsx)(f,{checked:d===e.id,product:n,variation:e,onChange:()=>t(e.id)},e.id)))})]})}b.defaultProps={onChange:()=>{}};var x=b,w=r(64897);var y=function(e){let{product:t}=e;const r=(0,w.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,m.jsx)(p,{style:{zIndex:"100"},inputName:"select-a-product",inputLabel:i("Select a product"),onChange:e=>{r.push(e.urlKey)},options:a,value:o,showErrors:!1})},j=r(30513),v=r(33721),C=r(53246);var S=function(e){let{onChange:t,isBundle:r,product:n,title:i,value:a}=e;const{text:s}=(0,l.useLocalizer)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.S,{size:24}),(0,m.jsxs)(v.rj,{columns:2,alignItems:"end",children:[(0,m.jsx)(g,{variant:"legal",children:r?i:s("Select a product")}),n?.sizeChart&&(0,m.jsxs)(v.P4,{justifySelf:"end",children:[(0,m.jsx)(j.L,{href:"#sizing",children:s("Size chart")}),(0,m.jsx)(o.S,{size:8})]})]}),(0,m.jsx)(o.S,{size:12}),(0,m.jsx)(C.um,{onChange:t,product:n,value:a})]})},L=r(43677);var P=function(e){let{product:t}=e;const{text:r}=(0,l.useLocalizer)(),{locale:n}=(0,w.Z)(),i=n?.split("-")[0]??"en";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.S,{size:24}),(0,m.jsxs)(v.rj,{columns:"144px 162px",rows:"48px",children:[t?.appStoreUrl&&(0,m.jsx)("a",{href:t.appStoreUrl,children:(0,m.jsx)(L.I,{assetPath:`/ncom/icons/app-store/app-store-badge-${i}`,alt:r("Download on the app store")})}),t?.googlePlayUrl&&(0,m.jsx)("a",{href:t.googlePlayUrl,children:(0,m.jsx)(L.I,{assetPath:`/ncom/icons/google-play/google-play-badge-${i}`,alt:r("Get it on Google Play")})})]})]})}},53246:function(e,t,r){r.d(t,{CL:function(){return z},jJ:function(){return E},VM:function(){return Ae},NR:function(){return He},jl:function(){return O},dn:function(){return it},ww:function(){return St},Ym:function(){return xr},yL:function(){return Sr},um:function(){return Tr},mW:function(){return Xr},Lx:function(){return Zr}});var n=r(35520),i=r(47336),l=r(63720),a=r(64897),o=r(32899),s=r(33721),d=r(7307);const c=d.default.div.withConfig({componentId:"sc-1m8mxjv-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;justify-content:center;gap:",";","{grid-template-columns:repeat(2,1fr);}"],t.spacing[24],t.mediaQuery.tablet)})),u=d.default.div.withConfig({componentId:"sc-1m8mxjv-1"})(["display:flex;justify-content:flex-start;align-items:center;flex-direction:column;text-align:center;gap:1rem;background-color:",";padding:",";grid-column:",";border-radius:",";"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return t.spacing[24]+" "+t.spacing[32]}),(e=>e.$solo?"span 2":"inherit"),(e=>{let{theme:t}=e;return t.borderRadius})),h=(0,d.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),g=r(61921),m=r(70103),f=r(38463),b=r(33594),x=r(3810),w=r(2099);const y=d.default.div.withConfig({componentId:"sc-16atj0u-0"})(["display:grid;grid-template-columns:1fr;justify-content:center;p{font-weight:700;}"]),j=d.default.div.withConfig({componentId:"sc-16atj0u-1"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:",";"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>{let{$supported:r}=e;return r?t.color.darkGray2:t.color.lightGray2}),t.color.white)}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadiusSmall}));var v=r(52322);const C="TABLETOP",S="TV",L="HANDHELD",P={[C]:g.Z,[S]:m.Z,[L]:f.Z},I={[C]:b.Z,[S]:x.Z,[L]:w.Z},D=e=>{const{mode:t,iconSize:r,supported:n,title:i}=e,l=n?P[t]:I[t];return(0,v.jsxs)(y,{children:[(0,v.jsx)(j,{$supported:n,children:(0,v.jsx)(l,{size:r})}),(0,v.jsx)("p",{children:i})]})};D.defaultProps={supported:!1,iconName:"tv-mode",iconSize:48,title:"tv-mode"};var O=D;var z=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{text:d}=(0,o.useLocalizer)(),p=t.playModes?.map((e=>e.code));return(0,v.jsxs)(l.$0,{constrained:!0,id:"about","aria-labelledby":"product-info",small:!0,children:[null!=t.contentRating||p?.length?(0,v.jsxs)(c,{children:[null!=t.contentRating&&(0,v.jsxs)(u,{$solo:!p?.length,children:[(0,v.jsx)(n.H,{variant:"h4",children:d("ESRB rating")}),(0,v.jsx)(h,{rating:t.contentRating,descriptors:t.contentDescriptors,locale:r})]}),p?.length>0&&(0,v.jsxs)(u,{$solo:!t.contentRating,children:[(0,v.jsx)(n.H,{variant:"h4",children:d("Supported play modes")}),(0,v.jsxs)(s.rj,{columns:3,width:"100%",gap:"24px",children:[(0,v.jsx)(O,{supported:p?.includes("TV_MODE"),title:d("TV"),mode:S}),(0,v.jsx)(O,{supported:p?.includes("TABLETOP_MODE"),title:d("Tabletop"),mode:C}),(0,v.jsx)(O,{supported:p?.includes("HANDHELD_MODE"),title:d("Handheld"),mode:L})]}),!p?.includes("HANDHELD_MODE")&&(0,v.jsx)(i.T,{variant:"legal",children:d("Software compatibility and play experience may differ on Nintendo Switch Lite. Additional accessories may be required (sold separately). See support for details.")})]})]}):null,"BUNDLE"!==t.productType&&(0,v.jsx)(St,{product:t})]})},k=r(69865);const T=d.default.div.withConfig({componentId:"sc-gkj3iw-0"})(["margin-top:",";padding:"," 0;background-color:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>e.$bgColor?e.$bgColor:e=>{let{theme:t}=e;return t.color.lightGray4}));var M=r(61440);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(M.uF)),[t.relatedProducts]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.He,{small:!0,children:t.relatedProducts.length>4?(0,v.jsx)(k.H,{ctaType:"iconlink",headingProps:{variant:"h1"},ctaText:i("See all"),ctaUrl:t.urlKey+"/dlc/",locale:r,children:i("Downloadable content (DLC)")}):(0,v.jsx)(n.H,{variant:"h1",children:i("Downloadable content (DLC)")})}),(0,v.jsx)(T,{$bgColor:"#"+t.backgroundColor,children:(0,v.jsx)(l.He,{small:!0,children:(0,v.jsx)(n.H.NewLevel,{children:(0,v.jsx)(l.nZ,{analytics:{title:"Downloadable content (DLC)"},products:a,cta:{fields:{title:i("See all"),url:t.relatedProducts.length>4?t.urlKey+"/dlc/":""}}})})})})]})},A=r(95235),R=r(51511),X=r(85366),Z=r(79872),$=r(57978),H=r(86283),N=r(5227),Q=r(55872),G=r(88588),F=r(84590),B=r(97224),_=r(50530),q=r(56675),U=r(26906),V=r(76445),K=r(82554),W=r(30513),Y=r(98139);const J=(0,d.default)(V.Q).withConfig({componentId:"sc-10vf2cu-0"})(["height:100%;font-weight:bold;"]),ee=d.default.div.withConfig({componentId:"sc-10vf2cu-1"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]),te=(0,d.default)(K.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})),re=d.default.div.withConfig({componentId:"sc-10vf2cu-3"})(["display:flex;gap:",";align-items:center;img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[8]})),ne=d.default.span.withConfig({componentId:"sc-10vf2cu-4"})(["font-weight:",";"],(e=>{let{theme:t}=e;return t.font.weight.bold})),ie=(d.default.span.withConfig({componentId:"sc-10vf2cu-5"})(["display:",";font-weight:",";color:",";"],(e=>{let{isLoading:t}=e;return t?"none":"block"}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.color.primary})),(0,d.default)(W.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}))),le=(0,d.default)(i.T).withConfig({componentId:"sc-10vf2cu-7"})(["line-height:1.5;"]),ae=(0,d.default)(le).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})),oe=(0,d.default)(Y.B).withConfig({componentId:"sc-10vf2cu-9"})(["white-space:pre-wrap;"]),se=(0,d.default)(N.L).withConfig({componentId:"sc-10vf2cu-10"})(["width:max-content;"]),de=d.default.span.withConfig({componentId:"sc-10vf2cu-11"})(["font-weight:",";"],(e=>{let{$boldHelperText:t}=e;return t?700:"initial"})),ce=d.default.div.withConfig({componentId:"sc-10vf2cu-12"})(["margin-top:",";margin-bottom:",";","{margin-top:",";}"],(e=>{let{theme:t}=e;return t.spacing[4]}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[12]}));var ue=r(92072);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 pe(e){for(var t=1;t{const{locale:t}=(0,a.Z)(),r=(0,q.x)(),n=(0,o.useMaintenance)(),i=(0,o.useAccounts)(),l=(0,o.useCart)(),{trackAddToCart:s}=(0,o.useAnalytics)(),d=(0,o.useCustomer)(),{text:c,price:u,date:h}=(0,o.useLocalizer)(),{__typename:g,availability:m,bundleItems:f,nsuid:b,requiresSubscription:x,sku:w,requiresCoupon:y,requiresLogin:j,platinumPoints:C,eshopDetails:S,prePurchase:L,prices:P,loadingPricing:I,productType:D,isSalableQty:O,releaseDate:z,releaseDateDisplay:k,soldOutPermanent:T,isPreorderable:M,variations:E,voucherNsuid:A,startShippingDate:R,shipDateDisplay:X}=e,Z=I||l?.loading||l?.updating||n?.loading,{0:$,1:H}=(0,p.useState)(!1),{0:N,1:Q}=(0,p.useState)(1),{0:G,1:F}=(0,p.useState)({}),B=(0,U.u)(),_="MOBILE"===b,V="BUNDLE"===D,K="CONFIGURABLE"===D,W=(0,ue.EE)(e),Y=f?.every((e=>{let{required:t,title:r}=e;return t&&!!G[r]}));(0,p.useEffect)((()=>{if(V){const e=f?.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 pe(pe({},e),{},{[n]:i?.id})}),{});F(e)}}),[V,f]);const J=(m?.includes(c("Pre-order"))||m?.includes(c("Available now"))||O||L)&&!_,{consentedGroups:ee}=(0,o.useCookies)(),te=(0,p.useMemo)((()=>{const e=ee?.has(o.ConsentGroups.PERFORMANCE);if(!e)return null;if(b&&E?.length){const e=E.find((e=>!e.product?.nsuid));if(e)return e.product.sku}return b?null:w}),[ee,b,w,E]),re=d?.data?.membershipStatus.active,ne=l?.addableQty(e),le=N>=ne,ae=!O&&!_||!!E?.length&&E.every((e=>{let{product:t}=e;return!t.isSalableQty})),oe=(x||C||j)&&!i.isLoggedIn,se=x&&!re,{buttonDisabled:de,promptLogin:ce,disableQuantity:he,buttonCopy:ge,helperText:me,boldHelperText:fe}=(0,p.useMemo)((()=>{if(_)return{};let e="",r="",i=!1,l=!1,a=W,o=!1,s=n?.store?.active;const d=(0,v.jsx)(ie,{href:"/store/products/nintendo-switch-game-vouchers/",locale:t,children:c("Learn more about vouchers")}),u=(0,v.jsx)(ie,{href:"/switch/online/",children:c("Nintendo Switch Online members")});if(x&&(r=c("This item is only for paid {0}.",{args:[u]})),W)if(n?.eshop?.active)i=!0,r=c("Direct downloads are not possible during maintenance"),o=!0,e="Direct download";else if("MarketingProduct"===g)o=!0,e=c("Releases {0}",{args:[k||z&&h(z,{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(S?.isPreordered)o=!0,e="Already pre-ordered";else if(S?.isPurchased)o=!0,e="Already downloaded";else if(S?.isPreorderable)e="Pre-order",r=A?c("Pre-order or redeem a Game Voucher to pre-load this game and start playing as soon as it\u2019s released. {0}",{args:[d]}):c("This lets you pre-load the game, so you'll be able to play as soon as the game is released.");else if(S?.isPurchasable)0==P?.minimum?.finalPrice?e="Free download":A?(e="Direct download",r=c("This item will be sent to your system automatically after purchase or Nintendo Switch Game Voucher redemption. {0}",{args:[d]})):(e="Direct download",r="This item will be sent to your system automatically after purchase.");else{const t=new Date(z);o=!0,k?e=c("Releases {0}",{args:[k]}):Date.now()({regPrice:Boolean(k)&&!L?null:u(P?.minimum?.regularPrice,{formatZero:!0}),salePrice:P?.minimum?.discounted?u(P?.minimum?.finalPrice):""})),[k,L,P,u]),xe=(0,p.useCallback)((()=>{if(ce)i.promptLogin();else{r.cache.evict({id:r.cache.identify(e),fieldName:"eshopDetails",args:{personalized:!0},broadcast:!1});const n="string"===typeof ge?ge:"CTA";s(e),B.trackEvent({eventName:`PDP: ${n} Clicked`,objectId:w,isConversion:!0},t)}}),[ce,ge,t,w,B,s,i,r.cache,e]),we=(0,p.useCallback)((r=>{if(ce)i.promptLogin();else{if(!e.requiresCoupon||r)return s(e),B.addToCart(w,{eventName:"PDP: Add to Cart Clicked",locale:t}),l.addProduct(e,{couponCode:r?.trim(),selectedOptions:Object.values(G),quantity:N});H(!0)}}),[w,ce,B,i,l,e,N,t,s,G]);return(0,p.useMemo)((()=>({state:{isLoading:Z,quantity:N,isMobileGame:_,isDigitalProduct:W,isPurchasable:J,isConfigurableProduct:K,retailerSku:te,membershipRequired:se,addableQty:ne,itemLimitReached:le,soldOut:ae,loginToPurchase:oe,buttonDisabled:de,promptLogin:ce,disableQuantity:he,buttonCopy:ge,helperText:me,boldHelperText:fe,displayPrice:be,showRedemptionCodeModal:$,selectedOptionsByTitle:G},actions:{setQuantity:Q,setSelectedOptionsByTitle:F,handleDirectDownloadClick:xe,handleAddToCart:we,setShowRedemptionCodeModal:H}})),[Z,N,_,W,J,K,te,se,ne,le,ae,oe,de,ce,he,ge,me,fe,be,Q,xe,we,$,H,G,F])},me=r(97729),fe=r.n(me),be=r(7581),xe=r(43677);const we=d.default.section.withConfig({componentId:"sc-1i9d4nw-0"})(["background-color:",";position:relative;z-index:5;"],(e=>e.$bgColor?e.$bgColor:e=>{let{theme:t}=e;return t.color.lightGray4})),ye=d.default.div.withConfig({componentId:"sc-1i9d4nw-1"})([""," background:#fff;max-width:1240px;margin:0 auto;transform:translateY(2em);border-radius:",";box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);@media (max-width:1240px){transform:translateY(0);border-radius:0;}","{padding:"," ",";}"],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-column-gap:",";grid-row-gap:",";","{grid-template-columns:3fr 2fr;grid-column-gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[48]}))}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[48]})),je=d.default.div.withConfig({componentId:"sc-1i9d4nw-2"})(["overflow:hidden;"]),ve=d.default.div.withConfig({componentId:"sc-1i9d4nw-3"})(["display:flex;flex-direction:column;"]),Ce=d.default.div.withConfig({componentId:"sc-1i9d4nw-4"})(["padding-top:",";padding-left:",";overflow:hidden;grid-column:1;","{grid-column:span 2;padding:0;}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Se=(0,d.default)(be.I).withConfig({componentId:"sc-1i9d4nw-5"})(["margin:0;padding:0;border:none;"]),Le=d.default.div.withConfig({componentId:"sc-1i9d4nw-6"})(["display:flex;justify-content:left;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]})),Pe=(0,d.default)(l.He).withConfig({componentId:"sc-1i9d4nw-7"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["","{width:100%;}"],t.mediaQuery.tablet)})),Ie=d.default.div.withConfig({componentId:"sc-1i9d4nw-8"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:flex;gap:",";align-items:center;flex-wrap:wrap;padding:0 ",";","{padding:0 0 "," 0;}"],t.spacing[8],t.spacing[16],t.mediaQuery.tablet,t.spacing[16])})),De=d.default.div.withConfig({componentId:"sc-1i9d4nw-9"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-auto-rows:min-content;padding:0 "," "," ",";a{text-decoration:none;width:100%;}","{padding:0;}"],t.spacing[16],t.spacing[16],t.spacing[16],t.mediaQuery.tablet)})),Oe=((0,d.default)(xe.I).withConfig({componentId:"sc-1i9d4nw-10"})(["max-width:215px;"]),(0,d.default)(xe.I).withConfig({componentId:"sc-1i9d4nw-11"})(["img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius}))),ze=d.default.div.withConfig({componentId:"sc-1i9d4nw-12"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),ke=d.default.div.withConfig({componentId:"sc-1i9d4nw-13"})(["display:block;","{display:none;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),Te=d.default.div.withConfig({componentId:"sc-1i9d4nw-14"})(["display:flex;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[16]}));d.default.span.withConfig({componentId:"sc-1i9d4nw-15"})(["display:none;background-color:",";color:",";font-weight:",";font-size:",";align-items:center;padding:0 ",";border-radius:",";margin-bottom:",";width:fit-content;margin-top:",";","{display:block;}"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.font.size.bodyDesktop}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));function 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 Ee(e){for(var t=1;t{const e=[{href:"/store/",label:d("Store")}];if(t.topLevelCategory){const r=t.topLevelCategory.code.toLowerCase().replace(/ /g,"-");e.push({href:`/store/${r}/`,label:t.topLevelCategory.label})}return t.name&&e.push({href:`/store/products/${t.urlKey}/`,label:d(t.name)}),e.map((e=>{let{href:t,label:r}=e;return(0,v.jsx)(B.Z,{href:t,children:(0,v.jsx)("a",{children:r})},t)}))}),[t,d]),b=(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,v.jsx)(R.K,{assetPath:n,alt:`${t.name} ${r+1}`},n):"video"===i?(0,v.jsx)(X.V,{assetPath:n},n):void 0}))),[t]);return(0,v.jsx)(we,{$bgColor:t.backgroundColor?`#${t.backgroundColor}`:_.rG[m],children:(0,v.jsxs)(ye,{children:[(0,v.jsx)(Ce,{children:(0,v.jsx)(Z.B,{currentPage:`/store/products/${t.urlKey}/`,children:f})}),(0,v.jsxs)(je,{children:[(0,v.jsxs)("div",{children:[(0,v.jsx)(Pe,{children:(0,v.jsx)($.M,{ariaLabel:t.name+" gallery",showLoader:!1,inInitialViewport:!0,Head:fe(),children:b},t.sku)}),(0,v.jsx)(H.S,{size:8}),(0,v.jsx)(ze,{children:(0,v.jsx)(H.S,{size:8})})]}),(t.platinumPoints||t.exclusive||t.requiresSubscription||t.voucherNsuid)&&(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)(Ie,{children:[t.platinumPoints&&(0,v.jsx)(N.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("My Nintendo Reward")}),t.exclusive&&(0,v.jsx)(N.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Exclusive")}),t.requiresSubscription&&(0,v.jsx)(N.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Nintendo Switch Online required")}),t.voucherNsuid&&(0,v.jsx)(N.L,{backgroundColor:"#fde6e7",foregroundColor:"#ac000d",children:d("Game Voucher eligible")})]})}),null!=t.contentRating&&(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(ze,{children:(0,v.jsx)(l.bs,{rating:t.contentRating,descriptors:t.contentDescriptors,gamesShown:t.gamesShown})})}),(0,v.jsxs)(ze,{children:[(0,v.jsx)(H.S,{size:24}),t.displayChokingHazard?(0,v.jsxs)(ve,{children:[(0,v.jsxs)(n.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,v.jsx)("br",{})]}),(0,v.jsxs)(i.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,v.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,v.jsx)(l.Ho,{textVariant:"legal",data:t.topLegalDisclaimer}):null]})]}),(0,v.jsxs)(De,{children:[(0,v.jsxs)(Te,{children:[t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,v.jsx)(N.L,{backgroundColor:"#3946a0",foregroundColor:"#fff",children:"DLC"}),(0,v.jsx)(Q.P,{accentColor:_.rG[m],children:"GAMES"===t.topLevelCategory?.code?h:t.topLevelCategory?.label})]}),(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(n.H,{variant:"h1",children:t.name}),g&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:16}),(0,v.jsx)(i.T,{variant:"caption",children:d("Releases {0}",{args:[t.releaseDateDisplay?t.releaseDateDisplay:r(t.releaseDate,{format:{day:"numeric",month:"numeric",year:"2-digit"}})]})}),(0,v.jsx)(H.S,{size:8})]}),(t.relatedProducts?.length>0||t.demoNsuid)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:24}),(0,v.jsxs)(Le,{children:[t.relatedProducts.length>0&&(0,v.jsx)("div",{children:(0,v.jsx)(Se,{href:"#dlc",icon:G.Z,locale:c,children:d("View DLC")})}),t.demoNsuid&&(0,v.jsx)(l.g,{product:t})]}),(0,v.jsx)(H.S,{size:24})]}),(0,v.jsx)(xr,{product:t,purchaseOptions:u}),t.baseSoftware?.length?t.dlcType&&"ROM_BUNDLE"!=t.dlcType.code&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:20}),(0,v.jsx)(B.Z,{href:t.baseSoftware[0].urlKey,children:(0,v.jsx)("a",{children:(0,v.jsxs)(s.rj,{columns:"1fr 4fr",gap:F.d.spacing[8],alignItems:"center",children:[(0,v.jsx)(s.P4,{column:"span 2",children:(0,v.jsx)(i.T,{variant:"legal",children:d("Required to play:")})}),(0,v.jsx)(Oe,{assetPath:t.baseSoftware[0].productImage.publicId,alt:t.baseSoftware[0].name}),(0,v.jsx)(i.T,{variant:"caption",children:t.baseSoftware[0].name})]})})})]}):null,(0,v.jsxs)(ke,{children:[(0,v.jsx)(H.S,{size:24}),t.displayChokingHazard?(0,v.jsxs)(ve,{children:[(0,v.jsxs)(n.H,{variant:"h3",as:"strong",children:[d("Warning:")," ",(0,v.jsx)("br",{})]}),(0,v.jsxs)(i.T,{variant:"legal",children:[d("CHOKING HAZARD - Small parts.")," ",(0,v.jsx)("br",{}),d("Not for children under 3 years.")]})]}):null,t.topLegalDisclaimer?(0,v.jsx)(l.Ho,{data:t.topLegalDisclaimer}):null]})]})]})})},Re=r(26581);const Xe=d.default.div.withConfig({componentId:"sc-jla5jl-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";border-radius:",";display:grid;grid-template-columns:1fr;padding:",";align-items:center;.storyAsset img{display:none;}","{grid-template-columns:1fr 1fr;padding:0 ",";.storyAsset img{display:block;}}"],t.color.lightGray4,(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[32]}),t.mediaQuery.tablet,(e=>{let{theme:t}=e;return t.spacing[32]}))})),Ze=d.default.div.withConfig({componentId:"sc-jla5jl-1"})(["p{font-weight:700;a{margin:0 ",";}}"],(e=>{let{theme:t}=e;return t.spacing[8]})),$e=d.default.p.withConfig({componentId:"sc-jla5jl-2"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.h2Mobile}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.font.size.h2Desktop}));var He=e=>{let{product:t}=e;const{text:r}=(0,o.useLocalizer)(),{locale:n}=(0,a.Z)(),i="/switch/online/";return t.nsoFeatures?(0,v.jsx)(l.$0,{constrained:!0,small:!0,children:(0,v.jsxs)(Xe,{children:[(0,v.jsxs)(Ze,{children:[(0,v.jsx)(Re.Z,{size:200}),(0,v.jsx)($e,{children:r("Play online, access classic NES\u2122 and Super NES\u2122 games, and more with a Nintendo Switch Online membership.")}),(0,v.jsxs)("p",{children:[r("This game supports:"),t.nsoFeatures?.map((e=>(0,v.jsxs)("span",{children:["ONLINE_PLAY"==e.code&&(0,v.jsx)(W.L,{href:i,children:r("Online Play")},"online-play"),"SAVE_DATA_CLOUD"==e.code&&(0,v.jsx)(W.L,{href:i,children:r("Save Data Cloud")},"save-data")]},e.code)))]}),(0,v.jsx)(Y.B,{href:i,buttonWidth:"auto",locale:n,children:r("Learn more")})]}),(0,v.jsx)("div",{className:"storyAsset",children:(0,v.jsx)(xe.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,v.jsx)(v.Fragment,{})},Ne=r(66791),Qe=r(88479),Ge=r(79102),Fe=r(88080),Be=r(77064),_e=r(72354),qe=r(13852);const Ue=(0,d.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]})),Ve=d.default.div.withConfig({componentId:"sc-4l5ex7-1"})(["p,a{","}"],(e=>{let{theme:t}=e;return(0,d.css)(["font-size:",";","{font-size:",";}"],t.font.size.legalMobile,t.mediaQuery.tablet,t.font.size.legalDesktop)})),Ke=d.default.div.withConfig({componentId:"sc-4l5ex7-2"})(["display:flex;align-items:baseline;gap:0.25rem;"]),We=d.default.div.withConfig({componentId:"sc-4l5ex7-3"})(["display:block;justify-content:center;border-radius:",";overflow:hidden;img{max-height:24em;object-fit:contain;}"],(e=>{let{theme:t}=e;return t.borderRadius})),Ye=d.default.div.withConfig({componentId:"sc-4l5ex7-4"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;align-items:start;gap:",";","{grid-template-columns:repeat(2,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[28]}),t.mediaQuery.tablet)})),Je=d.default.section.withConfig({componentId:"sc-4l5ex7-5"})(["padding:1rem;"]);function et(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 tt(e){for(var t=1;t0,w=(0,o.useRecentlyViewed)(),{trackViewItem:y}=(0,o.useAnalytics)(),{0:j,1:C}=(0,p.useState)(!1),S=r.ageGate||r.contentRating?.requiresAgeGate,L=nt.get(),[P,I]=f.split("-"),D=r.officialSite?.startsWith("http")?r.officialSite:`//${r.officialSite}`,O=r.relatedArticles,T=(0,p.useMemo)((()=>{const e=[];return _e.wh.has(f)&&(r.upsellProducts?.length&&e.push({heading:h("Related items to explore"),products:r.upsellProducts.slice(0,16).map(M.uF)}),r.crossSellProducts?.length&&e.push({heading:h("More like this"),products:r.crossSellProducts.slice(0,16).map(M.uF)}),u?.length&&e.push({heading:h("Digital best sellers"),products:u.map(M.uF)})),e}),[r.upsellProducts,r.crossSellProducts,u,h,f]),{waitForElementRef:A}=(0,qe.r)(),R=(0,p.useCallback)((()=>{A(!0)}),[A]);return(0,p.useEffect)((()=>{w.addProduct&&!j&&(C(!0),r.edition?w.addProduct(r):w.addProduct(r.configurableProduct||r))}),[w,r,j]),(0,M.nw)((()=>y(r,(0,M.DW)({name:r.name})))),S&&b.loading?(0,v.jsx)(Je,{}):(0,v.jsxs)(Ne.A,{passed:"true"===L&&!b.data?.isChild||!S,failed:(b.data?.isChild||"false"===L)&&S,onSuccess:()=>nt.set("true",rt),onFailure:()=>nt.set("false",rt),lang:P,country:I,minimumAge:"mx"===I?18:17,children:[(0,v.jsx)(Ae,{product:r}),"BUNDLE"===r.productType&&(0,v.jsxs)(l.$0,{constrained:!0,small:!0,children:[(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(n.H,{variant:"h1",children:h("Included in this bundle")}),(0,v.jsx)(Qe.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,tt(tt({},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,v.jsxs)(n.H.NewLevel,{children:[c&&(0,v.jsx)(Ue,{constrained:!0,small:!0,children:(0,v.jsxs)(Ye,{children:[(0,v.jsxs)("div",{children:[r.headline&&(0,v.jsx)(n.H,{children:r.headline}),(0,v.jsx)(Sr,{maxLines:10,description:r.richTextDescription?.json||r.description,category:r.topLevelCategory}),r.officialSite&&(0,v.jsx)("a",{href:D,target:"_blank",rel:"noopener noreferrer",children:(0,v.jsx)(Y.B,{children:h("Explore this game's official website")})})]}),(r.descriptionImage||r.productImage)&&(0,v.jsx)(We,{children:(0,v.jsx)("div",{children:(0,v.jsx)(xe.I,{assetPath:r.descriptionImage?r.descriptionImage.publicId:r.productImage.publicId,alt:r.name})})})]})}),d?.asset?.primary?.assetPath?(0,v.jsx)(l.$0,{constrained:!0,small:!0,background:d.background?.backgroundType,id:"banner",children:(0,v.jsx)(l.tm,{content:{assetPath:d.asset?.primary?.assetPath,assetPathAlt:d.asset?.alt,cta:d.ctaList[0],description:d.description,heading:d.heading,modifiers:d.modifiers}})}):null,t,O?.length>0&&f===_e.ZW&&(0,v.jsxs)(l.$0,{constrained:!0,small:!0,children:[(0,v.jsx)(k.H,{ctaText:h("Finding this content helpful?"),ctaType:"iconlink",ctaUrl:"https://nintendoofamerica.co1.qualtrics.com/jfe/form/SV_ahCL4zK2P7j2q3k",icon:Ge.Z,ctaTarget:"_blank",children:h("Related news and events")}),(0,v.jsx)(H.S,{size:16}),(0,v.jsx)(Qe.R,{contained:!0,children:O.map((e=>{let{id:t,url:r,title:n,media:i,publishDate:l}=e;return(0,v.jsx)(Fe.N,{articleLink:r,articleTitle:n,artPath:i?.publicId,publishDate:g(l,{format:m.SHORT}),readMoreLabel:h("Read more"),size:"small"},t)}))})]}),(0,v.jsx)(z,{product:r,locale:f}),r.sizeChart&&(0,v.jsxs)(l.$0,{id:"sizing",constrained:!0,background:F.d.color.lightGray4,small:!0,children:[(0,v.jsx)("h2",{children:h("Size chart")}),(0,v.jsx)(Xr,{product:r})]}),(0,v.jsx)(He,{product:r}),x?(0,v.jsx)(l.$0,{id:"dlc",small:!0,children:(0,v.jsx)(E,{product:r,locale:f})}):null,(0,v.jsx)(l.$0,{small:!0,constrained:!0,marginBottom:16,children:(0,v.jsx)(l.$3,{collections:T})}),(0,v.jsx)(l.HU,{currentSku:r.edition?r.sku:r.configurableProduct?.sku||r.sku,small:!0,onProductsLoaded:R}),(0,v.jsxs)(l.$0,{id:"legal",constrained:!0,small:!0,children:["GAMES"===r.topLevelCategory?.code&&(0,v.jsx)(i.T,{variant:"legal",children:h("WARNING: If you have epilepsy or have had seizures or other unusual reactions to flashing lights or patterns, consult a doctor before playing video games. All users should read the Health and Safety Information available in the system settings before using this software.")}),r.disclaimer&&(0,v.jsx)(Ve,{dangerouslySetInnerHTML:{__html:r.disclaimer}}),r.richTextDisclaimer?.json&&(0,v.jsx)(l.Ho,{textVariant:"legal",data:r.richTextDisclaimer?.json}),r.displayProp65&&(0,v.jsxs)(Ve,{children:[(0,v.jsxs)(Ke,{children:[(0,v.jsx)(Be.Z,{size:16}),(0,v.jsx)(n.H,{variant:"h3",children:h("Warning:")})," ",h("Cancer and reproductive harm.")]}),(0,v.jsx)(W.L,{href:"https://www.p65warnings.ca.gov/",children:"p65warnings.ca.gov"})]})]})]})]})}var lt=r(85157),at=r(49446),ot=r(33120),st=r(21203),dt=r(85792),ct=r(25338),ut=r(46488),ht=r(24123),pt=r(32687),gt=r(44835),mt=r(64684),ft=r(52237);const bt=d.default.div.withConfig({componentId:"sc-1237z5p-0"})(["margin:"," 0;"],(e=>{let{theme:t}=e;return t.spacing[32]})),xt=d.default.div.withConfig({componentId:"sc-1237z5p-1"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:28px 1fr;align-items:start;gap:",";grid-row-gap:0;border-bottom:1px solid ",";padding:",";svg{grid-row:1 / 3;}&:nth-child(1){border-top:1px solid ",";}","{grid-template-columns:28px 1fr 2fr;align-items:center;svg{grid-row:1;}}"],(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.color.lightGray2}),(e=>{let{theme:t}=e;return`${t.spacing[16]} ${t.spacing[8]}`}),(e=>{let{theme:t}=e;return t.color.lightGray2}),t.mediaQuery.tablet)})),wt=d.default.div.withConfig({componentId:"sc-1237z5p-2"})(["display:flex;align-items:center;flex-wrap:wrap;gap:",";button{padding:0;}","{gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[16]})),yt=(d.default.div.withConfig({componentId:"sc-1237z5p-3"})([""," padding:",";display:grid;justify-content:center;box-shadow:0 4px 16px 0 rgba(60,64,89,0.15);border-radius:",";"],(e=>{let{theme:t}=e;return(0,d.css)(["background:",";color:",";"],(e=>e.supported?t.color.secondary:"rgba(60, 64, 89, 0.15)"),(e=>e.supported?"#fff":"#c8c8c8"))}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.borderRadius})),d.default.div.withConfig({componentId:"sc-1237z5p-4"})(["display:flex;align-items:center;justify-content:center;border:1px dashed #e60012;width:100%;padding:1em ",";"],(e=>{let{theme:t}=e;return t.spacing[32]})),{[_e.bA]:ft.H.attribute,[_e.oV]:ft.G.attribute}),jt=e=>{let{icon:t,heading:r,descriptions:i}=e;return(0,v.jsxs)(xt,{children:[t,(0,v.jsx)(n.H,{variant:"h3",children:r}),(0,v.jsx)(wt,{children:i.map((e=>(0,v.jsx)("div",{children:e.href?(0,v.jsx)(W.L,{href:e.href,children:e.label}):e.label},e.label)))})]})},vt=(e,t,r)=>{let n=[];return t.playersMax&&n.push(Ct(r("Single System"),t.playersMin,t.playersMax,{searchPrefix:e,text:r})),t.playersMaxLocal&&n.push(Ct(r("Local wireless"),t.playersMinLocal,t.playersMaxLocal,{searchPrefix:e,text:r})),t.playersMaxOnline&&n.push(Ct(r("Online"),t.playersMinOnline,t.playersMaxOnline,{searchPrefix:e,text:r})),n},Ct=(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 St=e=>{let{product:t}=e;const{locale:r}=(0,a.Z)(),{date:i,DateFormat:l,text:d}=(0,o.useLocalizer)(),c="/search",u=yt[r]||"esrbRating",h=t.genres?.map((e=>({href:`/search/#cat=gme&f=genres&genres=${encodeURIComponent(e.label)}`,label:e.label}))),p=t.playModes?.map((e=>d(e.label))),g=vt(c,t,d),m=(0,ue.EE)(t);return(0,v.jsxs)(bt,{children:[(0,v.jsx)(lt.S,{id:"product-info",children:(0,v.jsx)(n.H,{children:d("Product information")})}),(0,v.jsx)(n.H.NewLevel,{children:(0,v.jsxs)(s.rj,{columns:1,gap:0,children:[t.releaseDate&&(0,v.jsx)(jt,{icon:(0,v.jsx)(at.Z,{size:28}),heading:d("Release date"),descriptions:[{label:t.releaseDateDisplay?t.releaseDateDisplay:i(t.releaseDate,{format:l.LONG})}]}),t.playersMax&&(0,v.jsx)(jt,{icon:(0,v.jsx)(ot.Z,{size:28}),heading:d("No. of players"),descriptions:g}),t.genres&&(0,v.jsx)(jt,{icon:(0,v.jsx)(st.Z,{size:28}),heading:d("Genre"),descriptions:h}),t.softwarePublisher&&(0,v.jsx)(jt,{icon:(0,v.jsx)(dt.Z,{size:28}),heading:d("Publisher"),descriptions:[{href:`/search#cat=gme&f=softwarePublisher&softwarePublisher=${encodeURIComponent(t.softwarePublisher)}`,label:t.softwarePublisher}]}),null!=t.contentRating&&(0,v.jsx)(jt,{icon:(0,v.jsx)(ct.Z,{size:28}),heading:d("ESRB rating"),descriptions:[{href:`/search#cat=gme&sort=df&f=${u}&${u}=${encodeURIComponent((0,M.r5)(t))}`,label:t.contentRating.label}]}),t.playModes&&(0,v.jsx)(jt,{icon:(0,v.jsx)(ut.Z,{size:28}),heading:d("Supported play modes"),descriptions:[{label:p.join(", ")}]}),t.romFileSize&&(0,v.jsx)(jt,{icon:(0,v.jsx)(ht.Z,{size:28}),heading:d("Game file size"),descriptions:[{label:(0,ue.jb)(t.romFileSize)}]}),t.supportedLanguages&&(0,v.jsx)(jt,{icon:(0,v.jsx)(pt.Z,{size:28}),heading:d("Supported languages"),descriptions:[{label:t.supportedLanguages?.map(d).join(", ")}]}),t.countryOfOrigin&&(0,v.jsx)(jt,{icon:(0,v.jsx)(pt.Z,{size:28}),heading:d("Country of origin"),descriptions:[{label:t.countryOfOrigin}]}),t.manufacturer&&(0,v.jsx)(jt,{icon:(0,v.jsx)(dt.Z,{size:28}),heading:d("Manufacturer"),descriptions:[{href:`/search#q=${encodeURIComponent(t.manufacturer)}&p=1&cat=merch&sort=df`,label:t.manufacturer}]}),t.sku&&!m&&(0,v.jsx)(jt,{icon:(0,v.jsx)(gt.Z,{size:28}),heading:d("SKU"),descriptions:[{label:t.sku}]}),t.upc&&!t.nsuid&&(0,v.jsx)(jt,{icon:(0,v.jsx)(mt.Z,{size:28}),heading:d("UPC"),descriptions:[{label:t.upc}]})]})})]})},Lt=r(25237),Pt=r.n(Lt),It=r(63508),Dt=r(80149),Ot=r(41888),zt=r(7162),kt=r(7141),Tt=r(1205),Mt=r(33823),Et=r(85316),At=r(80963),Rt=r(63288),Xt=r(96827);const Zt="64px",$t="110px",Ht="14px",Nt="20px",Qt=d.default.div.withConfig({componentId:"sc-66y51m-0"})(["display:flex;justify-content:center;width:100%;"]),Gt=d.default.div.withConfig({componentId:"sc-66y51m-1"})(["display:flex;width:100%;height:",";align-items:flex-start;justify-content:space-between;padding-top:1rem;transition:height 150ms ease-in-out;","{align-items:center;width:",";max-width:",";height:",";padding-top:0;}"],(e=>{let{$hasError:t}=e;return t?`${10+parseInt($t)}px`:$t}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Xt.As,Xt.oQ,(e=>{let{$hasError:t}=e;return t?`${10+parseInt(Zt)}px`:Zt})),Ft=d.default.div.withConfig({componentId:"sc-66y51m-2"})(["display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 1rem;","{width:initial;justify-content:flex-end;padding:0;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),Bt=(0,d.default)(n.H).withConfig({componentId:"sc-66y51m-3"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),_t=d.default.div.withConfig({componentId:"sc-66y51m-4"})(["display:flex;flex-direction:column;row-gap:",";width:50%;","{align-items:center;flex-direction:row;width:initial;row-gap:unset;}"],(e=>{let{theme:t}=e;return t.spacing[4]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),qt=d.default.div.withConfig({componentId:"sc-66y51m-5"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-right:1rem;position:relative;"]),Ut=d.default.div.withConfig({componentId:"sc-66y51m-6"})(["visibility:",";"],(e=>{let{$visible:t}=e;return t?"visible":"hidden"})),Vt=(0,d.default)(K.S).withConfig({componentId:"sc-66y51m-7"})(["position:absolute;top:-3px;left:0;z-index:1;"]),Kt=d.default.span.withConfig({componentId:"sc-66y51m-8"})(["font-size:",";font-weight:",";","{margin-right:",";white-space:nowrap;}"],(e=>{let{theme:t}=e;return t.font.size.legalDesktop}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{$smallMargin:t}=e;return t?"0.5rem":"1rem"})),Wt=(0,d.default)(Y.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)})),Yt=(0,d.default)(s.rj).withConfig({componentId:"sc-66y51m-10"})(["grid-template-columns:"," 1fr;","{grid-template-columns:"," 1fr;}"],Ht,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Nt),Jt=(0,d.default)(Dt.Z).withConfig({componentId:"sc-66y51m-11"})(["width:",";","{width:",";}"],Ht,(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),Nt),er=(0,d.default)(n.H).withConfig({componentId:"sc-66y51m-12"})(["font-size:",";","{font-size:",";}"],(e=>{let{theme:t}=e;return t.font.size.titleMobile}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.font.size.h3Desktop})),tr=(0,d.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 rr=r(45815);var nr=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,v.jsx)(rr.uP,{product:n});if(o?.length>3)return(0,v.jsx)(rr.Z5,{product:n});if(o?.length>0)return(0,v.jsx)(rr.Kx,{onChange:t,isBundle:r,product:n,title:i,value:l})}return o?.length>0?(0,v.jsx)(rr.ig,{isBundle:r,onChange:t,product:n,title:i,value:l}):null},ir=r(85941),lr=r(67178);function ar(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 or=(e,t)=>{const r=[_e.xJ,_e.oV,_e._1,_e.bA],n={[_e.xJ]:{4:"HNA"},[_e.oV]:{8:"PSTM",7:"MSTM",6:"CSTM",5:"ESTM"},[_e._1]:{3:"ART"},[_e.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},sr=(e,t,r,n)=>{const i=new Date,l=new Date(e),a=t===_e.xJ,o=l.getTime()-i.getTime();if(o<0)return null;if(!(o/6e4/60>24))return r("Sale ends: {0}",{args:[(0,v.jsx)(lr.C,{onTimeEnd:n,endDate:e,abbreviate:!1},"timer")]});{const e=a?"es-MX":t===_e.bu?"en-US":(0,ir.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}}},dr="The requested quantity is not available",cr={DEFAULT:"Something went wrong. Please try again.",QTY_NOT_AVAILABLE:dr,QTY_NOT_AVAILABLE_FR:dr,INSUFFICIENT_STOCK:dr,QTY_EXCEEDS_MAXIMUM:dr,PURCHASE_LIMIT_REACHED:dr,PRODUCT_UNAVAILABLE:dr};function ur(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 hr(e){for(var t=1;tr.e(1370).then(r.bind(r,91370))),{ssr:!1,loadableGenerated:{webpack:()=>[91370]}}),gr=(0,Et.Z)(It.W),mr="add-to-cart-drawer",fr="added-to-cart-drawer",br=[mr];function xr(e){let{product:t,purchaseOptions:r}=e;const{actions:{openDrawer:c,closeDrawer:u,addOrUpdateDrawer:h,removeDrawer:g}}=(0,Mt.eV)(),m=(0,p.useRef)(),f="BUNDLE"===t.productType,b=t.bundleItems?.filter((e=>e.options?.length>1)),x=(0,p.useContext)(d.ThemeContext),{locale:w}=(0,a.Z)(),y=w?.split("-")[0]??"en",{text:j}=(0,o.useLocalizer)(),C=(0,At.Z)(At.o.DESKTOP),{0:S,1:L}=(0,p.useState)(0),{0:P,1:I}=(0,p.useState)(),{state:{addableQty:D,quantity:O,isLoading:z,isMobileGame:k,isDigitalProduct:T,isPurchasable:E,retailerSku:A,buttonDisabled:R,promptLogin:X,disableQuantity:Z,buttonCopy:$,helperText:N,boldHelperText:Q,displayPrice:G,showRedemptionCodeModal:B,selectedOptionsByTitle:_},actions:{handleDirectDownloadClick:q,handleAddToCart:U,setQuantity:V,setShowRedemptionCodeModal:W,setSelectedOptionsByTitle:ie}}=r,{platinumPoints:ue,eshopDetails:he}=t,pe=(0,p.useMemo)((()=>({id:fr,drawer:{height:"325px",target:Mt.zO.FLYOUT,bgColor:x.color.lightGray3,enableScrim:!0,content:(0,v.jsx)(l.ZL,{product:t,quantity:S,onClose:()=>u(fr)})}})),[t,S,x,u]),ge=(0,p.useCallback)((async()=>{L(O),I();const{data:e,errors:r}=await U()||{},n=e?.cart?.items.some((e=>{let{product:r}=e;return r.sku===t.sku})),i=r?.length>0;if(n&&!i)c(fr);else if(i){const e=r?.[0]?.extensions?.code;I(cr[e]||cr.DEFAULT)}}),[t,O,U,c]),me=(0,p.useMemo)((()=>({viewPortTopOffset:C?Mt.nI.DESKTOP:0})),[C]),fe=(0,p.useMemo)((()=>({[mr]:{ref:m}})),[]),be=P?`${10+parseInt(Zt)}px`:Zt,xe=P?`${10+parseInt($t)}px`:$t,we=(0,p.useMemo)((()=>({[mr]:{drawer:{height:C?be:xe,target:Mt.zO.TOP_DRAWER,bgColor:F.d.color.lightGray3,content:(0,v.jsx)(Zr,{product:t,errorMessage:P,purchaseOptions:hr(hr({},r),{},{actions:hr(hr({},r.actions),{},{handleAddToCart:ge})})})}}})),[t,C,r,P,ge,be,xe]);(0,Rt.Z)(br,fe,we,me),(0,p.useEffect)((()=>{h(pe.id,pe.drawer)}),[pe,h]),(0,p.useEffect)((()=>{V(1)}),[V,D]),(0,p.useEffect)((()=>{I()}),[t?.sku,O]),(0,p.useEffect)((()=>()=>{g(fr)}),[g]);const ye=(0,p.useMemo)((()=>he?.discountPriceEnd?sr(he?.discountPriceEnd,w,j,(()=>{window.location.reload()})):null),[he,w,j]);return(0,v.jsxs)(v.Fragment,{children:[!f&&(0,v.jsx)(nr,{product:t}),(0,v.jsx)(H.S,{size:24}),ye&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(se,{backgroundColor:x.color.primary,foregroundColor:"#fff",children:ye}),(0,v.jsx)(H.S,{size:8})]}),!k&&(0,v.jsxs)(ee,{children:[(0,M.vS)(w)&&!T?null:z?(0,v.jsx)(te,{width:"50%"}):ue?(0,v.jsxs)(s.rj,{columns:"24px 1fr",justifyItems:"start",alignItems:"center",children:[(0,v.jsx)(Dt.Z,{size:24}),(0,v.jsxs)(n.H,{variant:"h2",children:[ue," ",j("Platinum Points")]})]}):(0,v.jsx)(Ot.P,{regPrice:G.regPrice,size:"large",salePrice:G.salePrice,lang:y}),(0,Et.Y)(t)&&(0,v.jsx)(gr,{product:t,analyticsName:"Product Detail Page wish list",iconOnly:!0})]}),f&&(0,v.jsx)(ce,{children:b.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,v.jsx)(nr,{onChange:e=>{t.find((t=>{let{id:r}=t;return r===e})).product?.isSalableQty&&ie((t=>hr(hr({},t),{},{[r]:e})))},value:_[r],title:j(`Select ${i} for {0}`,{args:[r]}),isBundle:!0,product:hr(hr({},n.product),{},{variations:t.map((e=>{const{label:t,value:r}=e.product.variations.find((t=>t.product.sku==e.product.sku));return hr(hr({},e),{},{label:t,value:r,product:hr(hr({},e.product),{},{url:""})})}))})},e.id)}))}),he?.goldPoints?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:24}),z?(0,v.jsx)(K.S,{width:"25%"}):(0,v.jsxs)(re,{children:[(0,v.jsx)("div",{children:(0,v.jsx)(zt.Z,{size:24})}),(0,v.jsx)(i.T,{variant:"legal",children:j("Eligible for up to {0} Gold Points",{args:[(0,v.jsx)(ne,{children:he?.goldPoints},"goldPoints")]})})]})]}):null,(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(s.rj,{columns:"1fr 3fr",alignItems:"center",children:T?(0,v.jsx)(s.P4,{column:"span 2",children:(E||"MarketingProduct"===t.__typename)&&(0,v.jsx)(Y.B,{onClick:q,icon:R||X?"":kt.Z,isLoading:z,buttonWidth:"full",disabled:R,size:"large",href:R||X?null:he?.purchaseUrl,children:"string"===typeof $?j($):$})}):(0,M.vS)(w)?null:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(J,{quantity:O,max:Z?1:D,min:1,onChange:V,disabled:R}),(0,v.jsx)(oe,{onClick:ge,isLoading:z,disabled:R,icon:R||X?"":Tt.Z,buttonWidth:"full",size:"large",children:"string"===typeof $?j($):$})]})}),(0,v.jsx)("span",{ref:m,"data-drawer-id":mr}),N&&(T||!(0,M.vS)(w))&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(H.S,{size:20}),P&&(0,v.jsx)(ae,{variant:"caption",children:j(P)}),t.voucherNsuid&&(0,v.jsx)(l.lE,{nsuid:t.nsuid}),(0,v.jsx)(le,{variant:"legal",children:(0,v.jsx)(de,{"data-testid":"helperText",$boldHelperText:Q,children:"string"===typeof N?j(N):N})})]}),A?(0,v.jsxs)(v.Fragment,{children:[(!(0,M.vS)(w)||T)&&(0,v.jsx)(H.S,{size:24}),(0,v.jsx)(l.Qc,{sku:A,name:t.name,type:(0,M.vS)(w)&&!T?"button":"link"})]}):null,t.requiresCoupon&&(0,v.jsx)(pr,{onApplyCode:async e=>{const{data:t,errors:r}=await U(e);if(!t?.cart?.id)throw new Error(r?.[0]?.extensions?.errors?.[0]?.message);setTimeout((()=>{c(fr)}),200)},onClose:()=>W(!1),visible:B})]})}var wr=r(59124),yr=r(1505);const jr=d.default.div.withConfig({componentId:"sc-120wz1l-0"})(["display:flex;align-items:flex-start;flex-direction:column;margin-bottom:",";img{max-width:100%;}"],(e=>{let{theme:t}=e;return t.spacing[16]})),vr=(0,d.default)(be.I).withConfig({componentId:"sc-120wz1l-1"})(["padding-left:0;"]),Cr=d.default.div.withConfig({componentId:"sc-120wz1l-2"})(["> div:first-child{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-display:-webkit-box;&.clamp{-webkit-line-clamp:",";-webkit-box-orient:vertical;}> p{margin-bottom:0;}margin-bottom:",";}"],(e=>{let{$isExpanded:t,$maxLines:r}=e;return t?9999:r}),(e=>{let{theme:t}=e;return t.spacing[8]}));var Sr=function(e){let{maxLines:t,description:r,category:n}=e;const{text:a}=(0,o.useLocalizer)(),{0:s,1:d}=(0,p.useState)(0),{0:c,1:u}=(0,p.useState)(!1),{0:h,1:g}=(0,p.useState)(!1),m="GAMES"===n?.code,f=(0,p.useRef)(null),b=(0,p.useRef)(null),x=(0,p.useRef)(null);(0,p.useEffect)((()=>(w(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)})),[]),(0,p.useEffect)((()=>{g(!1)}),[r]);const w=()=>{clearTimeout(x.current),x.current=setTimeout((()=>{u(b?.current?.scrollHeight>b?.current?.clientHeight)}),0)};return(0,p.useEffect)((()=>{b.current?.classList.add("clamp")}),[t]),(0,v.jsxs)(jr,{ref:f,children:[(0,v.jsx)(Cr,{$isExpanded:h,$maxLines:t,children:(0,v.jsx)(l.Ho,{ref:b,data:r})}),c&&(0,v.jsx)(vr,{icon:h?wr.Z:yr.Z,onClick:()=>{g((e=>(e?window.scrollTo(0,s):d(window.scrollY),!e)))},children:a(h?"Read less":"Read more")}),m&&(0,v.jsx)(i.T,{variant:"legal",children:a("Software description provided by the publisher.")})]})},Lr=r(32443),Pr=r(58842);const Ir=d.default.div.withConfig({componentId:"sc-1hh5k55-0"})(["display:grid;grid-template-columns:repeat(5,1fr);grid-gap:0.5em;"]),Dr=e=>{let{theme:t,isActive:r,swatch:n,disabled:i}=e;return(0,d.css)(["flex-basis:50%;padding:0;box-sizing:border-box;cursor:pointer;background:",";background-size:cover;background-repeat:no-repeat;border:"," solid ",";color:",";","{color:",";}transition:",";opacity:",";filter:",";&:hover{border:"," solid ",";> *{color:",";}}"],i&&!n?t.color.lightGray2:n?"url("+n+")":r?t.color.primary:t.color.white,t.spacing[4],r?t.color.primary:i?t.color.lightGray2:t.color.white,i?t.color.darkGray2:r?t.color.white:t.color.darkGray2,t.mediaQuery.tablet,i?t.color.darkGray3:r?t.color.white:t.color.darkGray2,(e=>{let{theme:t}=e;return t.movement.duration+" "+t.movement.easing}),i&&n?"60%":"initial",i?"grayscale(60%)":"",t.spacing[4],t.color.primary,r&&!i?t.color.white:t.color.darkGray2)},Or=d.default.div.withConfig({componentId:"sc-1hh5k55-1"})([""," "," flex-direction:column;justify-content:flex-start;text-align:center;"],Pr.nd,Dr),zr=(0,d.default)(Lr.Z).withConfig({componentId:"sc-1hh5k55-2"})(["",""],Dr);const kr=new Set(["color"]);var Tr=e=>{let{onChange:t,product:r,value:n}=e;const{query:i}=(0,a.Z)(),l=r.configurableOptions?.[0]?.attributeCode;return(0,v.jsx)(Ir,{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,v.jsx)(zr,{href:e.product.url,isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:r?"":e.label},e.product.name):(0,v.jsx)(Or,{onClick:()=>t(e.id),isActive:a,swatch:r,disabled:!e.product.isSalableQty,children:(0,v.jsx)(Pr.Dx,{type:"portrait",children:r?"":e.label})},e.product.name)}))})};const Mr=(0,d.default)(l.He).withConfig({componentId:"sc-raxccj-0"})(["",""],(e=>{let{theme:t}=e;return(0,d.css)(["display:grid;grid-template-columns:1fr;grid-row-gap:",";grid-column-gap:",";align-items:center;box-shadow:0 2px 16px 0 rgba(72,72,72,0.15);border-radius:4px;padding:3em;margin-bottom:",";background:#fff;","{grid-template-columns:1fr 1fr;}"],t.spacing[24],t.spacing[48],(e=>{let{theme:t}=e;return t.spacing[32]}),t.mediaQuery.tablet)})),Er=d.default.table.withConfig({componentId:"sc-raxccj-1"})(["text-align:left;border-collapse:collapse;tr:nth-child(2n + 3){background:",";}th,td{padding:",";border:none;}"],(e=>{let{theme:t}=e;return t.color.lightGray4}),(e=>{let{theme:t}=e;return`${t.spacing[16]} ${t.spacing[8]}`})),Ar=d.default.div.withConfig({componentId:"sc-raxccj-2"})(["img{object-fit:contain;max-height:24em;}"]),Rr=(d.default.div.withConfig({componentId:"sc-raxccj-3"})(["display:flex;align-items:center;justify-content:center;border:1px dashed #e60012;width:100%;padding:1em 2em;"]),{868:{label:"tshirt",type:"shirt",sizes:[{label:"XS",width:"17.5",length:"27"},{label:"Small",width:"19",length:"28"},{label:"Medium",width:"20.5",length:"29"},{label:"Large",width:"22",length:"30"},{label:"XL",width:"24",length:"31"},{label:"2XL",width:"26",length:"32"},{label:"3XL",width:"28",length:"33"},{label:"4XL",width:"30",length:"34"}]},23198:{label:"FifthSunHoodie",type:"shirt",sizes:[{label:"Small",width:"20.5",length:"26.5"},{label:"Medium",width:"22",length:"28"},{label:"Large",width:"23.5",length:"29.5"},{label:"X-Large",width:"25",length:"31"},{label:"XX-Large",width:"26.5",length:"32.5"}]},23201:{label:"FifthSunMen",type:"shirt",sizes:[{label:"Small",width:"18",length:"28"},{label:"Medium",width:"20.5",length:"29"},{label:"Large",width:"22",length:"30"},{label:"X-Large",width:"24",length:"31"},{label:"XX-Large",width:"26",length:"32"}]},23204:{label:"Fifth Sun - Women",type:"shirt",sizes:[{label:"Small",width:"16.5",length:"25"},{label:"Medium",width:"17.5",length:"26"},{label:"Large",width:"19",length:"27"},{label:"X-Large",width:"20.5",length:"28"},{label:"XX-Large",width:"22",length:"28.5"}]},23219:{label:"SportiqeBomberJacket",type:"shirt",sizes:[{label:"X-Small",width:"42",length:"25 1/2"},{label:"Small",width:"44",length:"26 1/4"},{label:"Medium",width:"46",length:"27"},{label:"Large",width:"48",length:"27 3/4"},{label:"X-Large",width:"50",length:"28 1/2"},{label:"XX-Large",width:"52",length:"29 1/4"},{label:"XXX-Large",width:"54",length:"30"}]},23207:{label:"SportiqeDavis",type:"shirt",sizes:[{label:"Small",width:"19",length:"28"},{label:"Medium",width:"21",length:"29"},{label:"Large",width:"22",length:"30"},{label:"X-Large",width:"24",length:"31"},{label:"XX-Large",width:"26",length:"32"},{label:"XXX-Large",width:"28",length:"33"},{label:"XXXX-Large",width:"30",length:"34"}]},23216:{label:"SportiqeDavisWomen",type:"shirt",sizes:[{label:"X-Small",width:"30 1/2",length:"25 3/4"},{label:"Small",width:"32 1/2",length:"26 3/8"},{label:"Medium",width:"34 1/2",length:"27"},{label:"Large",width:"36 1/2",length:"27 5/8"},{label:"X-Large",width:"39 1/2",length:"28 1/4"},{label:"XX-Large",width:"42 1/2",length:"28 7/8"}]},23213:{label:"SportiqeHeywood",type:"shirt",sizes:[{label:"Small",width:"39",length:"26"},{label:"Medium",width:"41",length:"27"},{label:"Large",width:"43",length:"28"},{label:"X-Large",width:"45",length:"29"},{label:"XX-Large",width:"47",length:"30"},{label:"XXX-Large",width:"49",length:"33"}]},23210:{label:"SportiqeOlsen",type:"shirt",sizes:[{label:"Small",width:"21",length:"27"},{label:"Medium",width:"22",length:"28"},{label:"Large",width:"23",length:"29"},{label:"X-Large",width:"24",length:"30"},{label:"XX-Large",width:"25",length:"31"},{label:"XXX-Large",width:"26",length:"32"}]},26449:{label:"SportiqeBlake",type:"shirt",sizes:[{label:"XS",width:"39",length:"26.5"},{label:"S",width:"41",length:"27.5"},{label:"M",width:"43",length:"28.5"},{label:"L",width:"45",length:"29.5"},{label:"XL",width:"47",length:"30.5"},{label:"2XL",width:"49",length:"31.5"},{label:"3XL",width:"50",length:"32.5"}]},26467:{label:"SportiqeJo",type:"pants",sizes:[{label:"S",width:"26",length:"28"},{label:"M",width:"28",length:"28.5"},{label:"L",width:"30",length:"29"},{label:"XL",width:"32",length:"29.5"},{label:"2XL",width:"34",length:"30"}]},23192:{label:"BioworldMen",type:"shirt",sizes:[{label:"S",width:"18",length:"28"},{label:"M",width:"20",length:"29"},{label:"L",width:"22",length:"30"},{label:"XL",width:"24",length:"31"},{label:"2XL",width:"26",length:"32"},{label:"3XL",width:"28",length:"33"}]},26470:{label:"SportiqeBoon",type:"pants",sizes:[{label:"S",width:"29.5",length:"30.25"},{label:"M",width:"31",length:"30.75"},{label:"L",width:"32.5",length:"31.25"},{label:"XL",width:"34",length:"31.75"},{label:"2XL",width:"35.5",length:"32.25"}]},26452:{label:"SportiqeAva",type:"shirt",sizes:[{label:"S",width:"38",length:"22"},{label:"M",width:"40",length:"23"},{label:"L",width:"42",length:"24"},{label:"XL",width:"44",length:"25"},{label:"2XL",width:"46",length:"26"}]},26511:{label:"BioworldYouth",type:"shirt",sizes:[{label:"XS",width:"16",length:"21"},{label:"S",width:"17",length:"22.5"},{label:"M",width:"18",length:"24"},{label:"L",width:"19",length:"25"},{label:"XL",width:"20",length:"26.5"}]},23305:{label:"SportiqeDalyWomen",type:"pants",sizes:[{label:"XS",width:"28",length:"27 2/5"},{label:"S",width:"30",length:"28"},{label:"M",width:"32",length:"28 3/5"},{label:"L",width:"34",length:"29 1/4"},{label:"XL",width:"36",length:"29 4/5"}]},26479:{label:"MJCOpenLegPantMen",type:"pants",sizes:[{label:"S",width:"26-28",length:"30"},{label:"M",width:"28-30",length:"31"},{label:"L",width:"30-32",length:"31.5"},{label:"XL",width:"32-34",length:"32"},{label:"2XL",width:"34-36",length:"32.5"}]},26482:{label:"MJCJoggersMen",type:"pants",sizes:[{label:"S",width:"30-31",length:"31.25"},{label:"M",width:"32-33",length:"31.25"},{label:"L",width:"34-35",length:"31.25"},{label:"XL",width:"36-37",length:"31.25"},{label:"2XL",width:"38-39",length:"31.25"}]},26489:{label:"SportiqeMenComfy",type:"shirt",sizes:[{label:"S",width:"21",length:"27"},{label:"M",width:"22",length:"28"},{label:"L",width:"23",length:"29"},{label:"XL",width:"24",length:"30"},{label:"2XL",width:"25",length:"31"},{label:"3XL",width:"26",length:"32"}]},26492:{label:"SportiqeWomenComfy",type:"shirt",sizes:[{label:"S",width:"32",length:"25.5"},{label:"M",width:"34",length:"26"},{label:"L",width:"36",length:"26.5"},{label:"XL",width:"39",length:"27"},{label:"2XL",width:"42",length:"27.5"}]}});var Xr=e=>{let{product:t}=e;const r=Rr[t.sizeChart.code],{text:n}=(0,o.useLocalizer)();return(0,v.jsxs)(Mr,{children:[(0,v.jsx)(Ar,{children:(0,v.jsx)(xe.I,{assetPath:t.descriptionImage?t.descriptionImage.publicId:t.productImage.publicId,alt:t.name})}),(0,v.jsx)(Er,{children:r?(0,v.jsxs)("tbody",{children:[(0,v.jsxs)("tr",{children:[(0,v.jsx)("th",{children:n("Size")}),(0,v.jsx)("th",{children:n("pants"===r?.type?"Waist":"Width")}),(0,v.jsx)("th",{children:n("pants"===r?.type?"Inseam":"Length")})]}),r.sizes.map((e=>(0,v.jsxs)("tr",{children:[(0,v.jsx)("td",{children:n(e.label)}),(0,v.jsxs)("td",{children:[e.width,'"']}),(0,v.jsxs)("td",{children:[e.length,'"']})]},e.label)))]}):(0,v.jsxs)("p",{children:[(0,v.jsx)(Be.Z,{size:16})," Size chart unavailable."]})})]})};var Zr=e=>{const{product:t,purchaseOptions:r,errorMessage:n}=e,{text:i}=(0,o.useLocalizer)(),{query:s,locale:d}=(0,a.Z)(),c=d?.split("-")[0]??"en",{name:u,eshopDetails:h,topLevelCategory:g,platinumPoints:m}=t,{state:{isLoading:f,isDigitalProduct:b,isPurchasable:x,isMobileGame:w,buttonDisabled:y,promptLogin:j,buttonCopy:C,displayPrice:S,retailerSku:L},actions:{handleDirectDownloadClick:P,handleAddToCart:I}}=r,D=t.variations?.length&&!t.configurableProduct,O=(0,p.useMemo)((()=>t.variations?.find((e=>e?.product?.urlKey===s.slug))),[t,s]),z=O?.product.size?i("Size"):null,k=O?.label,T=z?`${z}: ${k}`:k;let E=null;"GAMES"===g?.code?E=i(b?"Digital":"Physical"):D&&!O?E=i("Starting at"):T&&(E=T);const A=(0,p.useMemo)((()=>D?()=>{window.scrollTo({top:0,behavior:"smooth"})}:I),[D,I]);return(0,v.jsx)(Qt,{children:(0,v.jsxs)(Gt,{$hasError:!!n,children:[(0,v.jsx)(Bt,{forwardedAs:"p",variant:"h3",children:u}),(0,v.jsxs)(Ft,{children:[(0,v.jsxs)(_t,{children:[E&&(0,v.jsx)(Kt,{$smallMargin:!O,children:E}),!w&&(Boolean(S.regPrice)||Boolean(m))&&(0,v.jsxs)(qt,{children:[f&&(0,v.jsx)(Vt,{width:"100%"}),(0,v.jsx)(Ut,{$visible:!f,children:m?(0,v.jsxs)(Yt,{gap:"0.5rem",justifyItems:"start",alignItems:"center",children:[(0,v.jsx)(Jt,{}),(0,v.jsxs)(er,{variant:"h2",children:[m," ",i("Platinum Points")]})]}):!(0,M.vS)(d)||b?(0,v.jsx)(Ot.P,{regPrice:S.regPrice,horizontal:!0,size:"medium",salePrice:S.salePrice,lang:c}):null})]})]}),(0,v.jsxs)("div",{children:[b?x&&(0,v.jsx)(Wt,{onClick:P,icon:y||j?"":kt.Z,isLoading:f,buttonWidth:"full",disabled:y,round:!0,size:"small",href:y?null:h?.purchaseUrl,children:"string"===typeof C?i(C):C}):(0,M.vS)(d)?(0,v.jsx)(l.Qc,{sku:L,name:t.name,type:"button-round"}):(0,v.jsx)(Wt,{onClick:A,isLoading:f,disabled:y,icon:y||j?"":Tt.Z,buttonWidth:"full",round:!0,size:"small",children:"string"===typeof C?i(C):C}),n&&(0,v.jsx)(tr,{variant:"legal",children:n})]})]})]})})}},63288:function(e,t,r){var n=r(2784),i=r(33823);t.Z=(e,t,r,l)=>{const{actions:{openDrawer:a,closeDrawer:o,addOrUpdateDrawer:s,removeDrawer:d}}=(0,i.eV)(),{viewPortTopOffset:c=0,disableDrawers:u}=l||{},h=(0,n.useCallback)((e=>{e.forEach((e=>{const{target:t,boundingClientRect:r}=e,n=r?.top<=0+c,i=t?.dataset?.drawerId;i&&(n?a(i):o(i))}))}),[a,o,c]);(0,n.useEffect)((()=>{u||e.forEach((e=>{s(e,r[e].drawer)}))}),[s,e,r,u]),(0,n.useEffect)((()=>{if(!u)return()=>{e.forEach((e=>{d(e)}))}}),[d,e,u]),(0,n.useLayoutEffect)((()=>{if(u)return;const r=new IntersectionObserver(h,{rootMargin:`-${c}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)}))}}),[h,e,t,u,c])}}}]);