"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9019],{29019:function(e,t,r){r.d(t,{dS:function(){return de},$q:function(){return se},Yd:function(){return ue},xc:function(){return Ie},t5:function(){return V},Kq:function(){return Ce}});r(2784);var n=r(68215),i=r(34693),a=r(91383),s=r(79185),o=r(7307),l=r(21203),d=r(30744),c=r(19843),h=r(46658),m=r(49482),u=r(92102),p=r(63046),g=r(86409),f=r(58842);const x=(0,o.default)(g.He).withConfig({componentId:"sc-1c4x9qp-0"})(["display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,56px);gap:",";padding-bottom:",";","{grid-template-rows:auto;}","{grid-template-columns:repeat(3,1fr);gap:",";padding-bottom:",";}@media (min-width:1199px){grid-template-columns:repeat(6,1fr);gap:",";}","{grid-template-columns:repeat(6,1fr);}"],(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.tabletSmall}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge})),b=(0,o.css)(["color:",";flex-basis:32px;width:32px;","{flex-basis:40px;width:40px;}","{flex-basis:48px;width:48px;}@media (min-width:1199px){flex-basis:64px;width:64px;}","{width:64px;}"],(e=>{let{theme:t}=e;return t.color.primary}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktopLarge})),w=(0,o.default)(g.nf).withConfig({componentId:"sc-1c4x9qp-1"})(["",";flex-direction:row;justify-content:flex-start;padding:",";@media (min-width:1199px){padding-top:",";padding-bottom:",";flex-direction:column-reverse;justify-content:center;}"],f.nd,(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.spacing[32]})),j=(0,o.default)(p.T).attrs({variant:"title"}).withConfig({componentId:"sc-1c4x9qp-2"})(["","{font-size:1.25rem;}","{text-align:center;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}));var y=r(52322);var v=()=>{const{text:e}=(0,i.useLocalizer)();return(0,y.jsxs)(x,{children:[(0,y.jsxs)(w,{href:"/store/games",children:[(0,y.jsx)(k,{$_css:b}),(0,y.jsx)(j,{children:e("Games")})]}),(0,y.jsxs)(w,{href:"/store/hardware",children:[(0,y.jsx)(I,{$_css2:b}),(0,y.jsx)(j,{children:e("Hardware")})]}),(0,y.jsxs)(w,{href:"/store/merchandise",children:[(0,y.jsx)(C,{$_css3:b}),(0,y.jsx)(j,{children:e("Merchandise")})]}),(0,y.jsxs)(w,{href:"/store/exclusives",children:[(0,y.jsx)($,{$_css4:b}),(0,y.jsx)(j,{children:e("Store exclusives")})]}),(0,y.jsxs)(w,{href:"/store/characters",children:[(0,y.jsx)(P,{$_css5:b}),(0,y.jsx)(j,{children:e("Characters")})]}),(0,y.jsxs)(w,{href:"/store/sales-and-deals",children:[(0,y.jsx)(Q,{$_css6:b}),(0,y.jsx)(j,{children:e("Sales & deals")})]})]})},k=(0,o.default)(l.Z).withConfig({componentId:"sc-1vec6il-0"})(["",""],(e=>e.$_css)),I=(0,o.default)(d.Z).withConfig({componentId:"sc-1vec6il-1"})(["",""],(e=>e.$_css2)),C=(0,o.default)(c.Z).withConfig({componentId:"sc-1vec6il-2"})(["",""],(e=>e.$_css3)),$=(0,o.default)(h.Z).withConfig({componentId:"sc-1vec6il-3"})(["",""],(e=>e.$_css4)),P=(0,o.default)(m.Z).withConfig({componentId:"sc-1vec6il-4"})(["",""],(e=>e.$_css5)),Q=(0,o.default)(u.Z).withConfig({componentId:"sc-1vec6il-5"})(["",""],(e=>e.$_css6)),z=v;const O=o.default.div.withConfig({componentId:"sc-ih4xyj-0"})(["position:absolute;top:0;z-index:-1;width:100%;height:100%;"]),S=o.default.div.withConfig({componentId:"sc-ih4xyj-1"})(["display:none;","{display:block;position:relative;width:100%;background-color:",";height:46%;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.color.primary})),_=o.default.div.withConfig({componentId:"sc-ih4xyj-2"})(["position:relative;width:100%;height:100%;background-image:url('","');background-color:",";background-size:cover;","{height:40%;}","{height:44%;}"],(e=>{let{$bgImage:t}=e;return t.image?t.image[0].url:null}),(e=>{let{$bgImage:t}=e;return t.color?t.color:"transparent"}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}));var H=e=>{let{bgImage:t}=e;return(0,y.jsxs)(O,{children:[(0,y.jsx)(S,{children:(0,y.jsx)(g.Y6,{height:16,position:"bottom",type:"awning-primary"})}),(0,y.jsx)(_,{$bgImage:t,children:(0,y.jsx)(g.Y6,{flip:!0,height:16,placement:"inside",position:"bottom",type:"awning-white"})})]})},R=r(43842),q=r(73387),D=r(77216),Z=r(88162);const L=o.default.div.withConfig({componentId:"sc-19hzd66-0"})(["position:relative;"]),T=(0,o.default)(g.He).withConfig({componentId:"sc-19hzd66-1"})(["display:grid;grid-template-columns:repeat(6,1fr);gap:",";padding-top:",";margin-bottom:",";","{padding-top:",";margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(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[32]}),(e=>{let{theme:t}=e;return t.spacing[32]})),Y=(0,o.default)(R.Z).withConfig({componentId:"sc-19hzd66-2"})(["display:none;","{display:block;grid-column:1 / span 2;margin-top:",";color:white;width:100%;height:auto;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[32]})),E=o.default.div.withConfig({componentId:"sc-19hzd66-3"})(["grid-column:1 / span 6;","{grid-column:3 / span 4;}"],(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),U=(0,o.default)(q.R).withConfig({componentId:"sc-19hzd66-4"})(["border-radius:"," "," 0 0;"],(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.borderRadius})),X=o.default.div.withConfig({componentId:"sc-19hzd66-5"})(["display:flex;flex-direction:column;align-items:center;gap:",";background-color:",";border-radius:0 0 "," ",";box-shadow:",";padding:",";","{flex-direction:row;gap:",";justify-content:",";padding:",";}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.color.white}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.borderRadius}),"0 4px 16px 0 rgba(0, 0, 0, 0.1)",(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],t.spacing[16],t.spacing[8])}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{$hasContentRating:t}=e;return t?"space-between":"center"}),(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],t.spacing[16],t.spacing[32])})),A=o.default.div.withConfig({componentId:"sc-19hzd66-6"})(["display:flex;flex-direction:column;text-align:center;gap:",";","{text-align:left;flex-direction:row;gap:",";align-items:center;}"],(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[24]})),N=(0,o.default)(g.bs).withConfig({componentId:"sc-19hzd66-7"})(["display:none;","{display:block;}"],"@media (min-width: 623px)"),F=(0,o.default)(D.H).attrs((()=>({variant:"h2"}))).withConfig({componentId:"sc-19hzd66-8"})(["margin:0;"]),M=(0,o.default)(Z.B).withConfig({componentId:"sc-19hzd66-9"})(["width:100%;","{width:auto;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));var V=e=>{let{content:t,background:r}=e;const{trackViewPromotion:o,trackSelectPromotion:l}=(0,i.useAnalytics)(),{image:d,cta:c,heading:h,contentRating:m,contentDescriptors:u,gamesShown:p}=t,g={name:h,sku:"none"};(0,s.nw)((()=>o([g],(0,s.DW)({name:h}))));const f=()=>(0,y.jsx)(U,{primary:d.assetPath,alt:d.alt,desktopMargin:!1});return(0,y.jsxs)(L,{children:[(0,y.jsx)(H,{bgImage:r}),(0,y.jsxs)(T,{children:[(0,y.jsx)(Y,{name:"my-nintendo-store-stacked-logo"}),(0,y.jsxs)(E,{children:[c.url?(0,y.jsx)(n.rU,{href:c.url,children:(0,y.jsx)("a",{"aria-label":d.alt||c.title,children:(0,y.jsx)(f,{})})}):(0,y.jsx)(f,{}),(0,y.jsxs)(X,{$hasContentRating:m,children:[(0,y.jsxs)(A,{children:[(0,y.jsxs)(F,{children:[(0,y.jsxs)(a.S,{children:[d.alt,": "]}),h]}),(0,y.jsx)(M,{href:c.url,onClick:()=>l([g]),children:c.title})]}),null!=m&&(0,y.jsx)(N,{rating:m,descriptors:u,gamesShown:p})]})]})]}),(0,y.jsx)(z,{})]})},W=r(95235),B=r(76861),G=(r(71105),r(6836));(0,o.default)(g.He).withConfig({componentId:"sc-1wud28o-0"})(["padding-bottom:",";","{padding-bottom:",";}"],(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[48]}));const K=o.default.div.withConfig({componentId:"sc-1wud28o-1"})(["display:grid;grid-template-columns:repeat(1,1fr);gap:",";","{grid-template-columns:repeat(3,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),J=(0,o.default)(g.nf).withConfig({componentId:"sc-1wud28o-2"})(["text-align:center;"]),ee=(0,o.default)(D.H).withConfig({componentId:"sc-1wud28o-3"})(["margin-top:",";margin-right:",";margin-bottom:0;margin-left:",";font-size:",";font-weight:700;"],(e=>{let{theme:t}=e;return t.spacing[8]}),(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.spacing[20]})),te=(0,o.default)(G.I).withConfig({componentId:"sc-1wud28o-4"})(["max-width:200px;margin:0 auto;","{max-width:340px;}","{max-width:350px;max-height:295.5px;img{object-fit:contain;}}"],(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),re=(0,o.default)(g.Hr).attrs((()=>({constrained:!0}))).withConfig({componentId:"sc-1wud28o-5"})(["display:none;","{display:block;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}));function ne(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 ie=e=>{let{url:t,heading:r,assetPath:n}=e;const{trackViewPromotion:a,trackSelectPromotion:o}=(0,i.useAnalytics)(),{ref:l}=(0,B.Rb)((()=>a([{name:r,sku:"none"}],(0,s.DW)({name:r}))));return(0,y.jsxs)(J,{ref:l,href:t,onClick:()=>o([{name:r,sku:"none"}]),children:[(0,y.jsx)(te,{assetPath:n}),(0,y.jsx)(ee,{children:r})]})};var ae=e=>{let{items:t}=e;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(re,{}),(0,y.jsx)(g.$0,{constrained:!0,divider:["bottom"],children:(0,y.jsx)(K,{children:t.map(((e,t)=>(0,y.jsx)(ie,function(e){for(var t=1;t{let{theme:t}=e;return t.spacing[40]}),(e=>{let{theme:t}=e;return t.spacing[40]})),le=(0,o.default)(D.H).withConfig({componentId:"sc-67zs18-1"})(["margin-bottom:",";","{margin-bottom:",";}"],(e=>{let{theme:t}=e;return t.spacing[14]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[24]}));var de=e=>{let{collection:t,background:r}=e;const n=r.image[0].url?`url(${r.image[0].url})`:r.color;return(0,y.jsxs)(g.$0,{background:n,children:[(0,y.jsx)(g.Y6,{position:"top",placement:"inside",height:16,type:"wave-white"}),(0,y.jsxs)(oe,{children:[(0,y.jsx)(le,{variant:"h1",children:t.heading}),(0,y.jsx)(g.l6,{items:t.ctas})]}),(0,y.jsx)(g.Y6,{position:"bottom",placement:"inside",height:16,type:"wave-white",flip:!0})]})};const ce=o.default.div.withConfig({componentId:"sc-11lnelo-0"})(["display:flex;flex-direction:column;gap:",";text-align:center;","{display:grid;grid-template-columns:repeat(2,1fr);}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),he=(0,o.default)(G.I).withConfig({componentId:"sc-11lnelo-1"})(["border-radius:",";overflow:hidden;"],(e=>{let{theme:t}=e;return t.borderRadius})),me=(0,o.default)(D.H).attrs((()=>({variant:"h1",as:"h2",large:!1}))).withConfig({componentId:"sc-11lnelo-2"})(["margin-top:",";margin-bottom:0;"],(e=>{let{theme:t}=e;return t.spacing[12]}));var ue=e=>{let{items:t}=e;return(0,y.jsx)(g.$0,{constrained:!0,children:(0,y.jsx)(ce,{children:t.map(((e,t)=>{const{heading:r,assetPath:n,url:i}=e;return(0,y.jsxs)(g.nf,{href:i,children:[(0,y.jsx)(he,{assetPath:n,showPlaceholder:!1}),(0,y.jsx)(me,{children:r})]},r+t)}))})})},pe=r(90929),ge=r(17163);const fe=(0,o.default)(g.$0).withConfig({componentId:"sc-1sxtf5k-0"})(["background-size:auto 100%;background-repeat:repeat-x;"]),xe=o.default.div.withConfig({componentId:"sc-1sxtf5k-1"})(["max-width:100%;overflow:auto;"]),be=o.default.div.withConfig({componentId:"sc-1sxtf5k-2"})(["display:grid;grid-gap:",";grid-template-columns:repeat(4,minmax(208px,1fr));","{grid-template-columns:repeat(4,minmax(262px,1fr));grid-gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[32]})),we=(0,o.default)(ge.H).withConfig({componentId:"sc-1sxtf5k-3"})(["margin-bottom:",";"],(e=>{let{theme:t}=e;return`${t.spacing[24]}`})),je=o.default.a.withConfig({componentId:"sc-1sxtf5k-4"})(["display:block;position:relative;z-index:1;width:100%;height:318px;text-align:center;overflow:hidden;border-radius:",";","{height:400px;}"],(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),ye=(0,o.default)(G.I).withConfig({componentId:"sc-1sxtf5k-5"})(["position:absolute;z-index:-1;top:0;left:0;width:100%;transform:scale(1.15);transition:",";",":hover &{transform:scale(1);}"],(e=>{let{theme:t}=e;return`transform ${t.movement.duration} ${t.movement.easing}`}),je),ve=(0,o.default)(G.I).withConfig({componentId:"sc-1sxtf5k-6"})(["position:absolute;z-index:-1;top:0;left:0;width:100%;height:auto;transition:",";",":hover &{transform:scale(1.15);}"],(e=>{let{theme:t}=e;return`transform ${t.movement.duration} ${t.movement.easing}`}),je),ke=(0,o.default)(D.H).attrs((()=>({variant:"h3"}))).withConfig({componentId:"sc-1sxtf5k-7"})(["display:inline-block;padding:",";margin-top:",";background-color:",";border-radius:",";color:",";"],(e=>{let{theme:t}=e;return`${t.spacing[8]} ${t.spacing[20]}`}),(e=>{let{theme:t}=e;return t.spacing[20]}),(e=>{let{theme:t}=e;return t.scrim.dark}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.color.white}));var Ie=e=>{let{items:t}=e;const{text:r}=(0,i.useLocalizer)();return(0,y.jsxs)(fe,{constrained:!0,background:`url(${(0,pe.R6)({publicId:"Dev/IS Page Placeholders/store/bg2.jpg",quality:"60"})})`,children:[(0,y.jsx)(we,{ctaText:"See all",ctaUrl:"/store/characters/",headingProps:{variant:"h2"},children:r("Shop by character")}),(0,y.jsx)(D.H.NewLevel,{children:(0,y.jsx)(xe,{children:(0,y.jsx)(be,{children:t.map(((e,t)=>{const{heading:r,assetPath:i,background:a,url:s}=e;return(0,y.jsx)(n.rU,{href:s,children:(0,y.jsxs)(je,{children:[(0,y.jsx)(ke,{children:r}),(0,y.jsx)(ye,{assetPath:a.primary.assetPath}),(0,y.jsx)(ve,{assetPath:i})]})},r+t)}))})})})]})};var Ce=e=>{let{children:t,preview:r}=e;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(g.Xe,{preview:r}),(0,y.jsx)(g.Uq,{}),t]})}},71105:function(e,t,r){var n=r(13980),i=r(24511);const a=(0,n.shape)({name:n.string,primary:(0,n.shape)({assetPath:n.string,resourceType:n.string}),color:n.string}),s=(0,n.shape)({heading:n.string,ctas:(0,n.arrayOf)((0,n.shape)({title:n.string,url:n.string}))});(0,n.shape)({assetPath:n.string,assetPathAlt:n.string,background:(0,n.shape)({backgroundType:n.string,backgroundTiled:i.Xg}),ctaList:s,heading:n.string,type:n.string,modifiers:(0,n.arrayOf)(n.string)}),(0,n.shape)({assetPath:n.string,background:a,heading:n.string,url:n.string}),(0,n.shape)({title:n.string,collapsible:i.Xg,attribute:n.string.isRequired,hidden:i.Xg})}}]);