(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5511],{87731:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return k},default:function(){return _}});n(2784);var a=n(88162),s=n(77216),i=n(35246),d=n(20669),r=n(34671),l=n(6836),o=n(32408),c=n(54908),u=n(80963),m=n(86409),h=n(7307);const g=(0,h.default)(m.ES).withConfig({componentId:"sc-xklew1-0"})(["width:unset;justify-content:flex-end;"]),p=h.default.div.withConfig({componentId:"sc-xklew1-1"})(["display:flex;flex-direction:column;align-items:center;background:",";color:",";border-radius:",";padding:",";gap:",";","{flex-direction:row;}"],(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.borderRadius}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),x=h.default.div.withConfig({componentId:"sc-xklew1-2"})(["display:grid;grid-template-columns:1fr;grid-gap:1rem;img{border-radius:",";}"],(e=>{let{theme:t}=e;return t.borderRadius})),f=h.default.div.withConfig({componentId:"sc-xklew1-3"})(["display:grid;grid-template-columns:1fr 1fr;justify-content:space-between;margin-bottom:",";> div{justify-self:end;align-self:end;}"],(e=>{let{theme:t}=e;return t.spacing[16]})),j=h.default.div.withConfig({componentId:"sc-xklew1-4"})(["display:grid;grid-template-columns:1fr;","{grid-template-columns:1fr 1fr 1fr;}"],(e=>{let{theme:t}=e;return t.mediaQuery.tablet})),b=h.default.div.withConfig({componentId:"sc-xklew1-5"})(["display:grid;grid-template-columns:1fr;padding:",";border-bottom:1px solid #dadada;p,h3{margin:0;text-align:center;em{font-style:initial;color:",";font-weight:700;}}> p:nth-of-type(1){margin:0.5rem;}> a{width:fit-content;margin:0 auto;}"],(e=>{let{theme:t}=e;return t.spacing[32]}),(e=>{let{theme:t}=e;return t.color.primary})),y=h.default.div.withConfig({componentId:"sc-xklew1-6"})(["hr{border-color:#dadada;margin:"," 0;}"],(e=>{let{theme:t}=e;return t.spacing[16]}));var w=n(52322);var k=!0,_=function(e){let{page:t}=e;const{modules:n}=t.content,h=n[0].modules.map((e=>({title:e.text,url:e.link}))),k=n[3].modules.slice(1),_=n[4].modules.slice(1),v=(0,u.Z)(u.o.TABLET);return(0,w.jsxs)("div",{children:[(0,w.jsx)(g,{navItems:h}),(0,w.jsx)(m.$0,{constrained:!0,small:!0,background:`url(https://assets.nintendo.com/image/upload/f_auto,q_auto/${n[1].modules[0].primary.assetPath})`,backgroundTiled:!0,marginTop:16,marginBottom:16,children:(0,w.jsx)(m.tm,{content:{assetPath:n[1].modules[1].asset.primary.assetPath,heading:n[1].modules[1].heading,description:n[1].modules[1].body,cta:{url:n[1].modules[1].cta.url,title:n[1].modules[1].cta.label}},reverseContent:!0,lightScrim:!0})}),(0,w.jsx)(m.$0,{constrained:!0,small:!0,id:n[2].heading,children:(0,w.jsxs)(p,{children:[(0,w.jsx)("div",{children:(0,w.jsx)(m.Ho,{data:n[2].body})}),(0,w.jsx)(a.B,{variant:"secondary",href:n[2].cta.url,children:n[2].cta.label})]})}),(0,w.jsxs)(m.$0,{constrained:!0,small:!0,id:n[3].deepLink,children:[(0,w.jsxs)(f,{children:[(0,w.jsxs)(s.H,{children:[n[3].heading," "]}),(0,w.jsx)(m.Ho,{data:n[3].modules[0].text})]}),(0,w.jsx)(i.D,{color:"#DADADA"}),(0,w.jsx)(j,{children:k.map((e=>"null"!==e.heading&&(0,w.jsxs)(b,{children:[(0,w.jsx)(m.Ho,{data:e.body}),(0,w.jsx)(d.S,{size:16}),"null"!==e.cta.label&&(0,w.jsx)(a.B,{href:e.cta.url,buttonWidth:"auto",children:e.cta.label})]},e.heading)))})]}),(0,w.jsxs)(m.$0,{constrained:!0,small:!0,id:n[4].deepLink,children:[(0,w.jsx)(s.H,{children:n[4].heading}),(0,w.jsx)("p",{children:n[4].modules[0].text}),(0,w.jsx)(m.rj,{columns:3,columnsMobile:1,children:_.map((e=>(0,w.jsxs)(x,{children:[(0,w.jsx)(r.K,{assetPath:e.asset.primary.assetPath}),(0,w.jsxs)("div",{children:[(0,w.jsx)(s.H,{children:e.heading},e.heading),(0,w.jsx)(m.Ho,{data:e.body}),(0,w.jsx)(a.B,{href:e.cta.url,children:e.cta.label})]})]},e.heading)))})]}),(0,w.jsxs)(m.$0,{constrained:!0,small:!0,children:[(0,w.jsx)(l.I,{assetPath:v?n[5].modules[0].primary.assetPath:n[5].modules[0].secondary.assetPath,alt:n[5].modules[0].alt}),(0,w.jsx)(d.S,{size:16}),(0,w.jsx)(m.tm,{content:{assetPath:n[5].modules[1].asset.primary.assetPath,heading:n[5].modules[1].heading,description:n[5].modules[1].body,cta:{url:n[5].modules[1].cta.url,title:n[5].modules[1].cta.label}},reverseContent:!0,lightScrim:!0})]}),!n[6].hide&&(0,w.jsx)(m.$0,{constrained:!0,small:!0,background:"url(https://assets.nintendo.com/image/upload/f_auto,q_auto/ncom/en_US/events/road-trip/bg-gray-dot)",backgroundTiled:!0,children:(0,w.jsx)(o.C,{children:n[6].modules[0].assets.map((e=>"moduleCloudinaryImage"===e.__contentType?(0,w.jsx)(l.I,{assetPath:e.primary.assetPath,alt:e.alt},e.path):(0,w.jsx)(c.V,{assetPath:e.id},e.id)))})}),(0,w.jsx)(m.$0,{constrained:!0,small:!0,background:"#EFEFEF",id:n[7].deepLink,children:(0,w.jsx)(y,{children:(0,w.jsx)(m.Ho,{data:n[7].modules[0].richText})})}),(0,w.jsx)(m.$0,{constrained:!0,small:!0,id:n[8].deepLink,children:(0,w.jsx)(m.Ho,{data:n[8].modules[0].richText,textVariant:"legal"})})]})}},35086:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/road-trip",function(){return n(87731)}])}},function(e){e.O(0,[1850,5208,929,6409,9774,2888,179],(function(){return t=35086,e(e.s=t);var t}));var t=e.O();_N_E=t}]);