!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]="bc926fea-51be-49d8-bdf5-4f586ff9e7d9",e._sentryDebugIdIdentifier="sentry-dbid-bc926fea-51be-49d8-bdf5-4f586ff9e7d9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4660],{26012:function(e,t,r){r.d(t,{B:function(){return w}});var n=r(95235),o=r(82269),i=r(2784),a=r(13980),c=r.n(a),l=r(83290),s=r(17844),d=r(82731),u=r(61240),f=r(94077),p=r(52322);const h=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function m(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 g(e){for(var t=1;t{let{iconColor:t}=e;return t&&"currentColor"!==t&&(0,d.iv)(["--icon-color:",";"],(0,f.a)(t))}),(e=>{let{$color:t}=e;return"black"===t?(0,d.iv)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,d.iv)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),b=d.ZP.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);}}"],v),y=(0,i.forwardRef)(((e,t)=>{let{as:r,text:n,hiddenText:a,href:c,color:s,icon:d,iconColor:u,renderContent:f,renderBeforeContent:m,renderAfterContent:y,children:w,className:O}=e,x=(0,o.Z)(e,h);const j=(0,i.useRef)(),P=t||j;return(0,p.jsxs)(v,g(g({className:O,ref:P,as:c?"a":r,href:c,$color:s,iconColor:u},x),{},{children:[m&&m({text:n,hiddenText:a}),f?f({text:n,hiddenText:a}):(0,p.jsxs)(b,{children:[w,(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})]}))}));y.displayName="Button",y.defaultProps={as:"button"},y.propTypes=g(g({},s.e),{},{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});var w=y},10932:function(e,t,r){r.d(t,{C:function(){return m}});var n=r(95235),o=r(82269),i=r(13980),a=r.n(i),c=r(82731),l=r(17844),s=r(52322),d=r(13157);const u=["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 p(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.ZP.div.withConfig({componentId:"pmp-module__sc-6zzwsp-0"})(["",""],(e=>{let{$width:t,$height:r,maxWidth:n}=e;return(0,l.iv)(["max-width:",";position:relative;&::before{content:'';display:block;padding-top:",";}"],n,h({value:r,relativeTo:t}))})),g=(0,i.createContext)(),v=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,p(p({$width:t,$height:r,maxWidth:n,className:a},c),{},{children:i}))})};v.defaultProps={maxWidth:"100%"},v.propTypes={children:c().node,className:c().string,height:c().number.isRequired,maxWidth:c().string.isRequired,width:c().number.isRequired};var b=v;const y=l.ZP.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.iv)(["max-width:none;"])}),(e=>{let{$width:t,left:r,top:n,parentWidth:o,parentHeight:i}=e;return(0,l.iv)(["left:",";top:",";width:",";"],h({value:r,relativeTo:o}),h({value:n,relativeTo:i}),h({value:t,relativeTo:o}))})),w=e=>{let{width:t,left:r,top:n,noMaxWidth:a,children:c,className:l}=e,d=(0,o.Z)(e,u);const{parentWidth:f,parentHeight:h}=(0,i.useContext)(g);return(0,s.jsx)(y,p(p({$width:t,left:r,top:n,parentWidth:f,parentHeight:h,noMaxWidth:a,className:l},d),{},{children:c}))};w.propTypes={children:c().node,className:c().string,left:c().number.isRequired,noMaxWidth:c().bool,top:c().number.isRequired,width:c().number.isRequired};var O=w},37928:function(e,t,r){r.d(t,{m:function(){return i}});var n=r(11954),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)}},59e3:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(11954),o=r(34406);function i(e){let{url:t,isVideo:r,mediaWidth:i}=e;if(!t)return"";const a="https://assets.nintendo.com",c=/\.[0-9a-z]+$/i,l=`${a}/image/upload/`,s=i?`,c_scale,w_${i}`:"",d=`${a}/image/upload/f_auto,q_auto${s}/`,u=`${a}/video/upload/f_auto:video,q_auto${s}/`,f=o.env.NEXT_PUBLIC_CLOUDINARY_ROOT_DIRECTORY||"marketing",p=t.toLowerCase().indexOf(f);if(-1===p)return t;const h=t.slice(p).trim();return"true"===o.env.LOCAL_IMAGES||!0===o.env.LOCAL_IMAGES?`${n.S}/${h}`:r?`${u}${h}`:h.endsWith(".svg")?`${l}${h}`:c.test(h)?`${d}${h.replace(c,"")}`:`${d}${h}`}},95697:function(e,t,r){r.d(t,{u:function(){return c}});var n=r(2784),o=r(11954);const i=new Map([["S",[1,"small"]],["M",[2,"medium"]],["L",[3,"large"]],["XL",[4,"xlarge"]],["XXL",[5,"xxlarge"]]]),a=[...i].reduce(((e,t)=>{const r=t[1][1];return e[r]=r,e}),{}),c=()=>{const{0:e,1:t}=(0,n.useState)([null,null]),r=e[0],c=(0,n.useCallback)((()=>{t(i.get(window.getComputedStyle(document.querySelector(`.${o.N}`),"::after").content.replace(/'|"/gi,"")))}),[]);return(0,n.useEffect)((()=>(window.addEventListener("resize",c),c(),()=>{window.removeEventListener("resize",c)})),[]),{breakpoint:r,breakpointName:e[1],mediumUp:r>1,mediumDown:r<3,largeUp:r>2,xlargeUp:r>3,BREAKPOINTS:a}}},13157: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=4660.f0a14892e9f32e53.js.map