!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ab80f0c1-da73-4f69-9f53-e6c258f0d79d",e._sentryDebugIdIdentifier="sentry-dbid-ab80f0c1-da73-4f69-9f53-e6c258f0d79d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5577],{75671:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return j},default:function(){return y}});var i=t(2784),o=t(64897),r=t(16606),c=t(55453),s=t(12878),d=t(1505),a=t(18459),l=t(98087),u=t(76454),h=t(82731),f=t(11153);const m=(0,h.ZP)(a.$0).withConfig({componentId:"sc-rekhrw-0"})(["color:",";background:",";img{max-width:22rem;}"],(e=>{let{theme:n}=e;return n.color.white}),(e=>{let{theme:n}=e;return n.color.primary})),w=h.ZP.div.withConfig({componentId:"sc-rekhrw-1"})(["justify-content:start;"]),g=(0,h.ZP)(a.rj).withConfig({componentId:"sc-rekhrw-2"})(["padding:0 3rem;"]),p=h.ZP.div.withConfig({componentId:"sc-rekhrw-3"})(["width:100%;display:flex;justify-content:center;margin-top:",";"],(e=>{let{theme:n}=e;return n.spacing[32]})),_=(0,h.ZP)(f.B).withConfig({componentId:"sc-rekhrw-4"})(["width:100%;","{width:auto;}"],(e=>{let{theme:n}=e;return n.mediaQuery.tablet}));var b=t(52322);var j=!0,y=function(){const{locale:e}=(0,o.Z)(),{0:n,1:t}=(0,i.useState)(0),{data:h,loading:f}=(0,l.aM)(u.o$.sX,{locale:e,offset:n,limit:18}),{0:j,1:y}=(0,i.useState)(h?.collection.items),{0:x,1:k}=(0,i.useState)(h?.collection.total);return(0,i.useEffect)((()=>{const e=h?.collection.items;e&&h.collection.offset===n&&(y((t=>n?t.concat(e):e)),k(h.collection.total))}),[h?.collection,n]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(m,{constrained:!0,small:!0,background:"#e60012",children:[(0,b.jsx)(r.I,{assetPath:"/ncom/en_US/nintendo-directs/02-17-2021/logo",alt:"Nintendo Direct logo"}),(0,b.jsxs)("p",{children:["The online home for exclusive Nintendo news \u2014",(0,b.jsx)("br",{}),"broadcast directly to you, the player."]})]}),(0,b.jsx)(a.$0,{constrained:!0,small:!0,children:(0,b.jsx)(g,{columns:3,children:j?.length>0&&j.map((e=>(0,b.jsx)(c.B,{artPath:e.thumbnail.publicId,tileLink:`/nintendo-direct/${e.slug}/`,constrain:!1,children:(0,b.jsxs)(w,{children:[(0,b.jsx)(s.H,{variant:"h3",children:e.name}),(0,b.jsx)(a.Ho,{data:e.description.json})]})},e.name)))})}),(0,b.jsx)(a.$0,{constrained:!0,small:!0,children:j?.lengtht(n+18),children:"Load more"})})})]})}},40873:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/nintendo-direct/archive",function(){return t(75671)}])}},function(e){e.O(0,[9774,2888,179],(function(){return n=40873,e(e.s=n);var n}));var n=e.O();_N_E=n}]); //# sourceMappingURL=archive-a6addb1c81d90755.js.map