"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7710],{32730:function(e,t,r){r.d(t,{C5:function(){return u},SC:function(){return o},Sn:function(){return d},VR:function(){return f},iA:function(){return l},pm:function(){return h},xD:function(){return a},xJ:function(){return s},y3:function(){return c}});var n=r(7307),i=r(96827);const s=(0,n.default)(i.ZP).withConfig({componentId:"sc-1u2wh2d-0"})(["width:100%;overflow-x:auto;margin:0;","{width:auto;margin:0 ",";}","{width:96%;margin:0 auto;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),l=n.default.div.attrs((()=>({role:"table"}))).withConfig({componentId:"sc-1u2wh2d-1"})(["display:flex;flex-direction:column;gap:",";width:429px;","{width:100%;gap:",";}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.mediaQuery.tabletSmall}),(e=>{let{theme:t}=e;return t.spacing[32]})),o=n.default.div.attrs((()=>({role:"row"}))).withConfig({componentId:"sc-1u2wh2d-2"})(["display:flex;flex-flow:row wrap;justify-content:space-between;gap:",";overflow:hidden;> :first-child{display:flex;align-items:center;justify-content:center;width:100%;padding:",";font-size:",";font-weight:",";background:",";}","{gap:",";> :first-child{width:calc(100% / 4);border-radius:",";padding:",";}flex-wrap:nowrap;}"],(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.font.size.h3Desktop}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.color.lightGray3}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[24]})),a=n.default.div.attrs((()=>({role:"columnheader"}))).withConfig({componentId:"sc-1u2wh2d-3"})(["display:flex;flex-direction:column;justify-content:flex-end;width:calc(100% / 4);text-align:center;padding:",";font-weight:",";border-bottom:2px solid ",";&:first-of-type{background:",";color:",";}","{padding:",";","}",""],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(e=>{let{theme:t}=e;return t.color.primary}),(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.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[24]}),(e=>{let{$hideOnMobile:t}=e;return t&&(0,n.css)(["visibility:visible;height:auto;"])}),(e=>{let{$hideOnMobile:t}=e;return t&&(0,n.css)(["visibility:hidden;height:0;padding:0 !important;"])})),c=n.default.div.withConfig({componentId:"sc-1u2wh2d-4"})(["text-align:center;padding:",";font-weight:",";background:",";color:",";font-size:",";","{display:none;}"],(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.font.weight.bold}),(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.size.h3Desktop}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop})),u=n.default.div.attrs((()=>({role:"cell"}))).withConfig({componentId:"sc-1u2wh2d-5"})(["width:calc(100% / 4);text-align:center;padding:",";font-weight:",";","{padding:",";}"],(e=>{let{theme:t}=e;return t.spacing[8]}),(e=>{let{bold:t,theme:r}=e;return t?r.font.weight.bold:"initial"}),(e=>{let{theme:t}=e;return t.mediaQuery.desktop}),(e=>{let{theme:t}=e;return t.spacing[24]})),d=(0,n.default)(u).withConfig({componentId:"sc-1u2wh2d-6"})(["img{width:",";margin:0 auto;}"],(e=>{let{$imageSize:t}=e;return t?`${t}px`:"100%"})),f=n.default.div.withConfig({componentId:"sc-1u2wh2d-7"})(["display:flex;align-items:center;justify-content:center;flex-wrap:wrap;margin:"," "," 0;gap:",";"],(e=>{let{theme:t}=e;return t.spacing[48]}),(e=>{let{theme:t}=e;return t.spacing[16]}),(e=>{let{theme:t}=e;return t.spacing[32]})),h=n.default.div.withConfig({componentId:"sc-1u2wh2d-8"})(["text-align:center;"])},77710:function(e,t,r){r.d(t,{Z:function(){return m}});var n=r(2784),i=r(77664),s=r(20669),l=r(91115),o=r(32730),a=r(14454);r(14385);r(8481);var c=r(33267),u=r(90643);var d=async function(e){let{contentType:t,locale:r,preview:n,entryIds:i,entriesToDisplay:s}=e;const l={content_type:t,"sys.id[in]":Object.keys(i).map((e=>s?s.includes(e)&&i[e].entryId:i[e].entryId)).join(),order:"sys.createdAt",include:10,locale:(0,u.FF)(r)};try{const e=await(0,a.s)(n).getEntries(l);return(0,c.Z)(e.items)}catch(o){console.error(o)}},f=r(64897);var h={TABLE_HEADER:{entryId:"61XwnMkBMbg116I7jhHZkC"},PLAY_MODES:{entryId:"4WGuJDzGNXO2LEyMZpULyq"},COMPATIBLE_GAMES:{entryId:"hQ1mjMo0kagBKidBb6x9G"},JOYCON_CONTROLLERS:{entryId:"yV6BnCiamKi0Guvv8zsxr"},NINTENDO_SWITCH_DOCK:{entryId:"7rJtYGnz8pOUG1XYw2xNaG"},DIMENSIONS:{entryId:"5Pe8rbMOkqx3FGQlFs73oh"},WEIGHT:{entryId:"xDr93ZkdEfe68Ran0lDUi"},SCREEN:{entryId:"3Fqot5P7Y1Zk71GvZiRfvC"},STORAGE:{entryId:"1FAwqDLbZKo9uYnI09LHmp"},BATTERY_LIFE:{entryId:"6bqciC4nQUdavJ1Kqn4Cvl"}},p=r(80048),g=r(52322);function m(e){let{entriesToDisplay:t,currentHardware:r,preview:a}=e;const{0:c,1:u}=(0,n.useState)(null),{locale:m}=(0,f.Z)(),{PLAY_MODES:b,JOYCON_CONTROLLERS:v,NINTENDO_SWITCH_DOCK:y}=h;if((0,n.useEffect)((()=>{d({contentType:p.OB.SECTION,locale:m,preview:a,entryIds:h,entriesToDisplay:t}).then((e=>{u(e)})).catch(console.error)}),[m,a,t]),!c)return null;const w=c[0].modules.findIndex((e=>e?.asset?.caption?.replace(/\s/g,"_").toUpperCase()===r));return w>0&&((e,t)=>{e.forEach((e=>{[e.modules[0],e.modules[t]]=[e.modules[t],e.modules[0]]}))})(c,w),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(o.y3,{children:c[0].heading}),(0,g.jsx)(o.xJ,{children:(0,g.jsx)(o.iA,{children:c.map(((e,t)=>{const{__entryId:r}=e;return 0===t?(0,g.jsxs)(o.SC,{children:[(0,g.jsx)(o.xD,{$hideOnMobile:!0,children:c[0].heading}),c[0].modules.map(((e,t)=>e?.asset?.caption?(0,g.jsxs)(o.xD,{children:[(0,g.jsx)(i.I,{assetPath:e.asset.primary.assetPath,alt:""}),(0,g.jsx)(s.S,{size:16}),e?.asset?.caption]},e.__entryId+t):null))]},r):(0,g.jsxs)(o.SC,{children:[(0,g.jsx)(o.C5,{children:e.heading}),e.modules.map(((t,n)=>{let i;return r===b.entryId?i=80:r!==v.entryId&&r!==y.entryId||(i=40),(0,g.jsx)(o.Sn,{$imageSize:i,children:(0,g.jsx)(l.Ho,{data:t.richText||t.body})},e.__entryId+n)}))]},r+t)}))})})]})}},8481:function(e,t,r){r.d(t,{Z:function(){return c}});var n=r(14454),i=r(69413);var s=r.n(i)()(),l=r(85941),o=r(80048),a=r(14385);async function c(e){let{slug:t,locale:r,pageContentType:i,preview:c,graph:u}=e;r=(0,l.ZP)(r);const d={limit:1,include:10,locale:r,"fields.slug":t,content_type:o.kZ,"fields.content.sys.contentType.sys.id":i,"fields.disableLocale[ne]":!0};return(0,n.s)(c).getEntries(d).then((async e=>{let{items:[t]}=e;return t?await(0,a.X4)({entry:t,pageContentType:i,locale:r,graph:u}):null})).catch((e=>(s.error(e),null)))}},31493:function(e){function t(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}e.exports=function(e,r,n){var i=n&&n.stringify||t;if("object"===typeof e&&null!==e){var s=r.length+1;if(1===s)return e;var l=new Array(s);l[0]=i(e);for(var o=1;o-1?d:0,e.charCodeAt(h+1)){case 100:case 102:if(u>=a)break;if(null==r[u])break;d=a)break;if(null==r[u])break;d=a)break;if(void 0===r[u])break;d",d=h+2,h++;break}c+=i(r[u]),d=h+2,h++;break;case 115:if(u>=a)break;d-1&&(a=!1);const h=Object.keys(e.customLevels||{}),g=["error","fatal","warn","info","debug","trace"].concat(h);"function"===typeof r&&g.forEach((function(e){r[e]=r})),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");const b=e.level||"info",y=Object.create(r);y.log||(y.log=O),function(e,t,r){const n={};t.forEach((e=>{n[e]=r[e]?r[e]:i[e]||i[c[e]||"log"]||O})),e[o]=n}(y,g,r),u({},y),Object.defineProperty(y,"levelVal",{get:function(){return l(this.level,this)}}),Object.defineProperty(y,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,f(this,w,y,"error"),f(this,w,y,"fatal"),f(this,w,y,"warn"),f(this,w,y,"info"),f(this,w,y,"debug"),f(this,w,y,"trace"),h.forEach((e=>{f(this,w,y,e)}))}});const w={transmit:t,serialize:s,asObject:e.browser.asObject,formatters:e.browser.formatters,levels:g,timestamp:v(e)};return y.levels=function(e){const t=e.customLevels||{},r=Object.assign({},d.levels.values,t),n=Object.assign({},d.levels.labels,function(e){const t={};return Object.keys(e).forEach((function(r){t[e[r]]=r})),t}(t));return{values:r,labels:n}}(e),y.level=b,y.setMaxListeners=y.getMaxListeners=y.emit=y.addListener=y.on=y.prependListener=y.once=y.prependOnceListener=y.removeListener=y.removeAllListeners=y.listeners=y.listenerCount=y.eventNames=y.write=y.flush=O,y.serializers=n,y._serialize=s,y._stdErrSerialize=a,y.child=function(r,i){if(!r)throw new Error("missing bindings for child Pino");i=i||{},s&&r.serializers&&(i.serializers=r.serializers);const l=i.serializers;if(s&&l){var o=Object.assign({},n,l),a=!0===e.browser.serialize?Object.keys(o):s;delete r.serializers,p([r],a,o,this._stdErrSerialize)}function c(e){this._childLevel=1+(0|e._childLevel),this.bindings=r,o&&(this.serializers=o,this._serialize=a),t&&(this._logEvent=m([].concat(e._logEvent.bindings,r)))}c.prototype=this;const d=new c(this);return u(this,d),d.level=this.level,d},t&&(y._logEvent=m()),y}function f(e,t,r,n){if(e[n]=l(e.level,r)>l(n,r)?O:r[o][n],!t.transmit&&e[n]===O)return;e[n]=function(e,t,r,n){return s=e[o][n],function(){const o=t.timestamp(),a=new Array(arguments.length),c=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var u=0;ue.levels.values[t]),log:o=(e=>e)}=s;e._serialize&&p(r,e._serialize,e.serializers,e._stdErrSerialize);const a=r.slice();let c=a[0];const u={};i&&(u.time=i),u.level=l(t,e.levels.values[t]);let d=1+(0|e._childLevel);if(d<1&&(d=1),null!==c&&"object"===typeof c){for(;d--&&"object"===typeof a[0];)Object.assign(u,a.shift());c=a.length?n(a.shift(),a):void 0}else"string"===typeof c&&(c=n(a.shift(),a));void 0!==c&&(u.msg=c);return o(u)}function p(e,t,r,n){for(const i in e)if(n&&e[i]instanceof Error)e[i]=d.stdSerializers.err(e[i]);else if("object"===typeof e[i]&&!Array.isArray(e[i]))for(const n in e[i])t&&t.indexOf(n)>-1&&n in r&&(e[i][n]=r[n](e[i][n]))}function g(e,t,r){const n=t.send,i=t.ts,s=t.methodLevel,l=t.methodValue,o=t.val,a=e._logEvent.bindings;p(r,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=i,e._logEvent.messages=r.filter((function(e){return-1===a.indexOf(e)})),e._logEvent.level.label=s,e._logEvent.level.value=l,n(s,e._logEvent,o),e._logEvent=m(a)}function m(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function b(e){const t={type:e.constructor.name,msg:e.message,stack:e.stack};for(const r in e)void 0===t[r]&&(t[r]=e[r]);return t}function v(e){return"function"===typeof e.timestamp?e.timestamp:!1===e.timestamp?x:_}function y(){return{}}function w(e){return e}function O(){}function x(){return!1}function _(){return Date.now()}d.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},d.stdSerializers=s,d.stdTimeFunctions=Object.assign({},{nullTime:x,epochTime:_,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}}),e.exports.default=d,e.exports.pino=d}}]);