!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="13198dec-fbd8-483c-974a-75ad39e07f88",e._sentryDebugIdIdentifier="sentry-dbid-13198dec-fbd8-483c-974a-75ad39e07f88")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[913],{19371:function(e,t,r){r.d(t,{B:function(){return y}});var n=r(95235),o=r(82269),i=r(2784),a=r(13980),c=r.n(a),l=r(50669),s=r(82731),d=r(17072),u=r(67870),p=r(52322);const f=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function h(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 m(e){for(var t=1;t{let{iconColor:t}=e;return t&&"currentColor"!==t&&(0,s.css)(["--icon-color:",";"],(0,u.a)(t))}),(e=>{let{$color:t}=e;return"black"===t?(0,s.css)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,s.css)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),b=s.default.span.withConfig({componentId:"pmp-module__sc-1dwtk0t-1"})(["align-items:center;background-color:var(--bg-color);display:flex;justify-content:center;line-height:1;padding:0.6em 0.8em;text-transform:uppercase;transition:background-color 0.2s ease;@media (hover:hover){",":hover &{background-color:var(--hover-bg-color);}}"],g),v=(0,i.forwardRef)(((e,t)=>{let{as:r,text:n,hiddenText:a,href:c,color:s,icon:d,iconColor:u,renderContent:h,renderBeforeContent:v,renderAfterContent:y,children:x,className:O}=e,w=(0,o.Z)(e,f);const j=(0,i.useRef)(),P=t||j;return(0,p.jsxs)(g,m(m({className:O,ref:P,as:c?"a":r,href:c,$color:s,iconColor:u},w),{},{children:[v&&v({text:n,hiddenText:a}),h?h({text:n,hiddenText:a}):(0,p.jsxs)(b,{children:[x,(0,p.jsx)("span",{"aria-hidden":a?"true":null,children:n}),a&&(0,p.jsx)(l.S,{children:a})]}),y&&y({text:n,hiddenText:a})]}))}));v.displayName="Button",v.defaultProps={as:"button"},v.propTypes={as:c().oneOf(["button","a","span","div"]),text:c().string.isRequired,hiddenText:c().string,color:c().string,icon:c().string,iconColor:c().string,href:c().string,renderContent:c().func,renderBeforeContent:c().func,renderAfterContent:c().func,children:c().oneOfType([c().node,c().arrayOf(c().node)]),className:c().string};var y=v},19924:function(e,t,r){r.d(t,{C:function(){return y},R:function(){return g}});var n=r(95235),o=r(82269),i=r(13980),a=r.n(i),c=r(82731),l=r(52322),s=r(2771);const d=["children","className","horizontalUncenter","noWrap","reverse","stackMedium","verticalBaseline","verticalCenter"],u=["children","className","deep","span","large","xlarge","xxlarge"];function p(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 f(e){for(var t=1;t{let{theme:t}=e;return t.pmp.layout.totalWidth}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>!e.stackMedium&&(0,c.css)(["display:flex;flex-wrap:wrap;justify-content:center;"])),(e=>e.noWrap&&(0,c.css)(["flex-wrap:nowrap;"])),(e=>e.verticalCenter&&(0,c.css)(["align-items:center;"])),(e=>e.verticalBaseline&&(0,c.css)(["align-items:baseline;"])),(e=>e.horizontalUncenter&&(0,c.css)(["justify-content:flex-start;"])),(e=>e.reverse&&(0,c.css)(["flex-direction:row-reverse;"])),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>e.stackMedium&&(0,c.css)(["display:flex;flex-wrap:wrap;justify-content:center;"]))),m=e=>{let{children:t,className:r,horizontalUncenter:n,noWrap:i,reverse:a,stackMedium:c,verticalBaseline:s,verticalCenter:u}=e,p=(0,o.Z)(e,d);return(0,l.jsx)(h,f(f({className:r,noWrap:i,verticalCenter:u,verticalBaseline:s,horizontalUncenter:n,stackMedium:c,reverse:a},p),{},{children:t}))};m.propTypes={children:a().node,className:a().string,horizontalUncenter:a().bool,noWrap:a().bool,reverse:a().bool,stackMedium:a().bool,verticalBaseline:a().bool,verticalCenter:a().bool};var g=m;const b=c.default.div.withConfig({componentId:"pmp-module__sc-fsfwz4-0"})(["&&{padding-right:calc(var(--gutter-width) * 0.5);padding-left:calc(var(--gutter-width) * 0.5);}@media ","{flex:0 0 auto;"," ","}@media ","{","}@media ","{","}@media ","{","}"],(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>e.$span&&(0,c.css)(["flex-basis:",";"],(0,s.g)(e.theme,e.$span))),(e=>e.deep&&(0,c.css)(["&&{padding-right:0;padding-left:0;}"])),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>e.large&&(0,c.css)(["flex-basis:",";"],(0,s.g)(e.theme,e.large))),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xlargeUp}),(e=>e.xlarge&&(0,c.css)(["flex-basis:",";"],(0,s.g)(e.theme,e.xlarge))),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xxlarge}),(e=>e.xxlarge&&(0,c.css)(["flex-basis:",";"],(0,s.g)(e.theme,e.xxlarge)))),v=e=>{let{children:t,className:r,deep:n,span:i,large:a,xlarge:c,xxlarge:s}=e,d=(0,o.Z)(e,u);return(0,l.jsx)(b,f(f({className:r,$span:i,large:a,xlarge:c,xxlarge:s,deep:n},d),{},{children:t}))};v.propTypes={className:a().string,span:a().number,large:a().number,xlarge:a().number,xxlarge:a().number,deep:a().bool,children:a().node};var y=v},95598:function(e,t,r){r.d(t,{C:function(){return g}});var n=r(95235),o=r(82269),i=r(13980),a=r.n(i),c=r(82731),l=r(53770),s=r(52322),d=r(17072),u=r(60597);const p=["entryId","anchorOffset","children","className"];function f(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 h(e){for(var t=1;t{let{value:t,relativeTo:r}=e;if(!isNaN(t)&&null!==t&&!isNaN(r)&&null!==r)return t/r*100+"%"},m=l.default.div.withConfig({componentId:"pmp-module__sc-6zzwsp-0"})(["",""],(e=>{let{$width:t,$height:r,maxWidth:n}=e;return(0,l.css)(["max-width:",";position:relative;&::before{content:'';display:block;padding-top:",";}"],n,h({value:r,relativeTo:t}))})),g=(0,i.createContext)(),b=e=>{let{width:t,height:r,maxWidth:n,children:i,className:a}=e,c=(0,o.Z)(e,d);const l={parentWidth:t,parentHeight:r};return(0,s.jsx)(g.Provider,{value:l,children:(0,s.jsx)(m,f(f({$width:t,$height:r,maxWidth:n,className:a},c),{},{children:i}))})};b.defaultProps={maxWidth:"100%"},b.propTypes={children:c().node,className:c().string,height:c().number.isRequired,maxWidth:c().string.isRequired,width:c().number.isRequired};var v=b;const y=l.default.div.withConfig({componentId:"pmp-module__sc-1p75k38-0"})(["pointer-events:none;position:absolute;max-width:100%;"," ",""],(e=>{let{noMaxWidth:t}=e;return t&&(0,l.css)(["max-width:none;"])}),(e=>{let{$width:t,left:r,top:n,parentWidth:o,parentHeight:i}=e;return(0,l.css)(["left:",";top:",";width:",";"],h({value:r,relativeTo:o}),h({value:n,relativeTo:i}),h({value:t,relativeTo:o}))})),x=e=>{let{width:t,left:r,top:n,noMaxWidth:a,children:c,className:l}=e,d=(0,o.Z)(e,u);const{parentWidth:p,parentHeight:h}=(0,i.useContext)(g);return(0,s.jsx)(y,f(f({$width:t,left:r,top:n,parentWidth:p,parentHeight:h,noMaxWidth:a,className:l},d),{},{children:c}))};x.propTypes={children:c().node,className:c().string,left:c().number.isRequired,noMaxWidth:c().bool,top:c().number.isRequired,width:c().number.isRequired};var O=x},53770:function(e,t,r){r.d(t,{c:function(){return i}});var n=r(13980),o=r.n(n);const i={children:o().oneOfType([o().node,o().arrayOf(o().node)]),className:o().string}},18532:function(e,t,r){r.d(t,{m:function(){return i}});var n=r(2771),o={Characters:{es:"Personajes",fr:"Personnages",pt:"Personagens"},"Reduced motion":{es:"Reducir movimiento",fr:"Arr\xeater l\u2019animation",pt:"Movimento reduzido"},"Active gallery item: $i of $t.":{es:"Elemento activo de la galer\xeda: $i de $t.",fr:"Objet de galerie actif : $i sur $t.",pt:"Item ativo da galeria: $i de $t."},"Gallery item":{es:"Elemento de la galer\xeda",fr:"Objet de la galerie",pt:"Item da galeria"},"Next gallery item":{es:"Siguiente art\xedculo de la galer\xeda",fr:"\xc9l\xe9ment suivant de la galerie",pt:"Pr\xf3ximo item da galeria"},"Previous gallery item":{es:"Art\xedculo anterior de la galer\xeda",fr:"\xc9l\xe9ment pr\xe9c\xe9dent de la galerie",pt:"Item anterior da galeria"},"Gallery navigation":{es:"Navegar por la galer\xeda",fr:"Navigation de la galerie",pt:"Galeria de navega\xe7\xe3o"},"Download demo":{es:"Descargar la versi\xf3n de prueba",fr:"T\xe9l\xe9charger la d\xe9mo",pt:"Baixar vers\xe3o demo"},"Play video":{es:"Reproducir video",fr:"Lire la vid\xe9o",pt:"Reproduzir v\xeddeo"},"Watch the trailer":{es:"Ver el tr\xe1iler",fr:"Voir la bande-annonce",pt:"Assista ao trailer"},"Mute audio":{es:"Desactivar el audio",fr:"D\xe9sactiver le son",pt:"Colocar no mudo"},"Unmute audio":{es:"Activar el audio",fr:"Activer le son",pt:"Tirar do mudo"}};function i(e){return(0,n.m)(o,e)}},99411:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(2771),o=r(34406);function i(e){let{url:t,isVideo:r}=e;if(!t)return"";const i="https://assets.nintendo.com",a=/\.[0-9a-z]+$/i,c=`${i}/image/upload/`,l=`${i}/image/upload/f_auto,q_auto/`,s=`${i}/video/upload/f_auto:video,q_auto/`,d=t.toLowerCase().indexOf("marketing");if(-1===d)return t;const u=t.slice(d).trim();return"true"===o.env.LOCAL_IMAGES||!0===o.env.LOCAL_IMAGES?`${n.S}/${u}`:r?`${s}${u}`:u.endsWith(".svg")?`${c}${u}`:a.test(u)?`${l}${u.replace(a,"")}`:`${l}${u}`}},60597:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(2784);const o=e=>{let{id:t,margin:r=100}=e;(0,n.useEffect)((()=>{if(!t)return;const e=document.querySelector(`#${t}`),n=window.location.hash;if(!e||n!==`#${t}`)return;const o=setTimeout((()=>{let t=e,n=0;for(;t.offsetParent!==document.body;)n+=t.offsetTop,t=t.parentElement;t.offsetParent===document.body&&(n+=t.offsetTop),e.tabindex=-1,e.focus({preventScroll:!0}),e.removeAttribute("tabindex"),window.scroll(0,n-r)}),500);return()=>{clearTimeout(o)}}),[])}}}]); //# sourceMappingURL=913.32fde9f1921b65bb.js.map