!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]="c22c63d3-b222-43de-ad90-6378c7b83de1",e._sentryDebugIdIdentifier="sentry-dbid-c22c63d3-b222-43de-ad90-6378c7b83de1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9826],{36349:function(e,n,a){"use strict";a.r(n),a.d(n,{__N_SSP:function(){return Ae},default:function(){return Ce}});var t={};a.r(t),a.d(t,{AdvanceWarsTemplate:function(){return w},AnimalCrossingNewHorizonsPage:function(){return m},AnotherCodeRecollectionSwitch:function(){return p},Bayonetta3Switch:function(){return f},BayonettaOriginsSwitch:function(){return k},DetectivePikachuReturnsSwitch:function(){return G},DisneyIllusionIslandSwitch:function(){return y},DonkeyKongBananza:function(){return Ee},DonkeyKongCountryReturnsHD:function(){return me},DragxDriveSwitch2PMP:function(){return Me},EndlessOceanLuminousSwitch:function(){return M},EverybodySwitch:function(){return v},FZero99Switch:function(){return O},FireEmblemEngageSwitch:function(){return re},FireEmblemThreeHopes:function(){return z},GameAndWatchLegendOfZeldaPage:function(){return L},GameBuilderGarageSwitchPage:function(){return E},KirbyAirRidersSwitch2:function(){return $},KirbyAndTheForgottenLandSwitch2PMP:function(){return ke},KirbyAndTheForgottenLandSwitchPMP:function(){return Ge},KirbyStarAlliesSwitchPage:function(){return _},KirbysDreamBuffetSwitch:function(){return J},KirbysReturnToDreamLandDeluxe:function(){return ie},LClassicsPage:function(){return oe},LegendOfZeldaEOW:function(){return he},LiveALiveSwitch:function(){return R},LuigisMansion2HD:function(){return se},MarioKartWorldPMP:function(){return ve},MarioLuigiBrothership:function(){return we},MarioStrikersSwitch:function(){return H},MarioVsDk:function(){return j},May2024Switch:function(){return D},MetroidPrime4Switch2PMP:function(){return ge},MetroidPrime4SwitchPMP:function(){return Se},MiitopiaPage:function(){return K},MinecraftTemplate:function(){return N},Nintendo64Page:function(){return V},NintendoEntertainmentSystemPage:function(){return Z},NintendoSwitchGameVouchers:function(){return ee},PaperMarioTTYD:function(){return ue},Pikmin4:function(){return le},PokemonLegendsArceusPage:function(){return W},PokemonLegendsZA:function(){return Le},PokemonLegendsZASwitch:function(){return _e},PokemonScarletSwitch:function(){return Q},PokemonScarletVioletDLCTemplate:function(){return ne},PokemonScarletVioletDoublePackSwitch:function(){return ae},PokemonVioletSwitch:function(){return Y},PrincessPeachShowtime:function(){return be},Robot:function(){return Re},SMBWonder:function(){return de},SegaGenesisPage:function(){return F},ShipS:function(){return B},SuperMarioPartyJamboree:function(){return Pe},SuperMarioPartyJamboreeSwitch2PMP:function(){return ye},SuperMarioRPG:function(){return ce},SuperNintendoEntertainmentSystemPage:function(){return X},SwitchHardwareTemplate:function(){return x},TLOZBreathOfTheWildSwitch2PMP:function(){return De},TLOZBreathOfTheWildSwitchPMP:function(){return Oe},TLOZTearsOfTheKingdomSwitch2PMP:function(){return Te},TearsOfTheKingdomTemplate:function(){return te},Tetris99SwitchPage:function(){return A},TriangleStrategySwitchPage:function(){return I},WDEV4389:function(){return U},WarioWareGetItTogetherSwitch:function(){return C},WarioWareMoveIt:function(){return T},XenobladeChronicles3Switch:function(){return q},XenobladeChroniclesXDefinitiveEdition:function(){return pe},XenobladeChroniclesX_PhaseTwo:function(){return fe},peon:function(){return S},plmpStandard:function(){return g}});var r=a(95235),i=a(2784),o=a(64897),l=a(82091),d=a(98087),c=a(76454),b=a(54923),u=a(79149),s=a(402),h=a(25237),P=a.n(h);const w=P()((()=>Promise.all([a.e(3731),a.e(8535)]).then(a.bind(a,8535))),{loadableGenerated:{webpack:()=>[8535]}}),m=P()((()=>Promise.all([a.e(3731),a.e(3205)]).then(a.bind(a,43205))),{loadableGenerated:{webpack:()=>[43205]}}),p=P()((()=>Promise.all([a.e(3731),a.e(5567)]).then(a.bind(a,45567))),{loadableGenerated:{webpack:()=>[45567]}}),f=P()((()=>Promise.all([a.e(3731),a.e(8260)]).then(a.bind(a,71759))),{loadableGenerated:{webpack:()=>[71759]}}),k=P()((()=>Promise.all([a.e(3731),a.e(8502)]).then(a.bind(a,78502))),{loadableGenerated:{webpack:()=>[78502]}}),G=P()((()=>Promise.all([a.e(3731),a.e(9982)]).then(a.bind(a,39982))),{loadableGenerated:{webpack:()=>[39982]}}),g=P()((()=>a.e(7323).then(a.bind(a,57323))),{loadableGenerated:{webpack:()=>[57323]}}),S=P()((()=>Promise.all([a.e(6425),a.e(3731),a.e(2637)]).then(a.bind(a,99338))),{loadableGenerated:{webpack:()=>[99338]}}),y=P()((()=>Promise.all([a.e(3731),a.e(6315)]).then(a.bind(a,16315))),{loadableGenerated:{webpack:()=>[16315]}}),M=P()((()=>Promise.all([a.e(3731),a.e(7741)]).then(a.bind(a,77741))),{loadableGenerated:{webpack:()=>[77741]}}),D=P()((()=>Promise.all([a.e(3731),a.e(3984)]).then(a.bind(a,83984))),{loadableGenerated:{webpack:()=>[83984]}}),O=P()((()=>Promise.all([a.e(3731),a.e(7245)]).then(a.bind(a,17245))),{loadableGenerated:{webpack:()=>[17245]}}),T=P()((()=>Promise.all([a.e(3731),a.e(6974)]).then(a.bind(a,46974))),{loadableGenerated:{webpack:()=>[46974]}}),v=P()((()=>Promise.all([a.e(3731),a.e(5424)]).then(a.bind(a,85424))),{loadableGenerated:{webpack:()=>[85424]}}),E=P()((()=>Promise.all([a.e(3731),a.e(1442)]).then(a.bind(a,51442))),{loadableGenerated:{webpack:()=>[51442]}}),L=P()((()=>Promise.all([a.e(3731),a.e(7630)]).then(a.bind(a,87630))),{loadableGenerated:{webpack:()=>[87630]}}),_=P()((()=>Promise.all([a.e(3731),a.e(8084)]).then(a.bind(a,98084))),{loadableGenerated:{webpack:()=>[98084]}}),R=P()((()=>Promise.all([a.e(3731),a.e(2963)]).then(a.bind(a,52963))),{loadableGenerated:{webpack:()=>[52963]}}),j=P()((()=>Promise.all([a.e(3731),a.e(1373)]).then(a.bind(a,61373))),{loadableGenerated:{webpack:()=>[61373]}}),N=P()((()=>Promise.all([a.e(3731),a.e(9867)]).then(a.bind(a,19867))),{loadableGenerated:{webpack:()=>[19867]}}),B=P()((()=>Promise.all([a.e(3731),a.e(4434)]).then(a.bind(a,24434))),{loadableGenerated:{webpack:()=>[24434]}}),K=P()((()=>Promise.all([a.e(3731),a.e(8140)]).then(a.bind(a,98140))),{loadableGenerated:{webpack:()=>[98140]}}),W=P()((()=>Promise.all([a.e(3731),a.e(4067)]).then(a.bind(a,14067))),{loadableGenerated:{webpack:()=>[14067]}}),A=P()((()=>Promise.all([a.e(3731),a.e(7866)]).then(a.bind(a,27866))),{loadableGenerated:{webpack:()=>[27866]}}),C=P()((()=>Promise.all([a.e(3731),a.e(2989)]).then(a.bind(a,62989))),{loadableGenerated:{webpack:()=>[62989]}}),I=P()((()=>Promise.all([a.e(3731),a.e(4023)]).then(a.bind(a,74023))),{loadableGenerated:{webpack:()=>[74023]}}),Z=P()((()=>Promise.all([a.e(3731),a.e(9128)]).then(a.bind(a,59128))),{loadableGenerated:{webpack:()=>[59128]}}),X=P()((()=>Promise.all([a.e(3731),a.e(4074)]).then(a.bind(a,4074))),{loadableGenerated:{webpack:()=>[4074]}}),x=P()((()=>Promise.all([a.e(3731),a.e(7505),a.e(9491)]).then(a.bind(a,39491))),{loadableGenerated:{webpack:()=>[39491]}}),V=P()((()=>Promise.all([a.e(3731),a.e(4794)]).then(a.bind(a,14794))),{loadableGenerated:{webpack:()=>[14794]}}),F=P()((()=>Promise.all([a.e(3731),a.e(6703)]).then(a.bind(a,6703))),{loadableGenerated:{webpack:()=>[6703]}}),H=P()((()=>Promise.all([a.e(3731),a.e(967)]).then(a.bind(a,90967))),{loadableGenerated:{webpack:()=>[90967]}}),z=P()((()=>Promise.all([a.e(3731),a.e(5683)]).then(a.bind(a,35683))),{loadableGenerated:{webpack:()=>[35683]}}),q=P()((()=>Promise.all([a.e(3731),a.e(8063)]).then(a.bind(a,28063))),{loadableGenerated:{webpack:()=>[28063]}}),J=P()((()=>Promise.all([a.e(3731),a.e(2759)]).then(a.bind(a,92759))),{loadableGenerated:{webpack:()=>[92759]}}),$=P()((()=>Promise.all([a.e(6425),a.e(3731),a.e(2637),a.e(8013)]).then(a.bind(a,98013))),{loadableGenerated:{webpack:()=>[98013]}}),Q=P()((()=>Promise.all([a.e(3731),a.e(5303)]).then(a.bind(a,55303))),{loadableGenerated:{webpack:()=>[55303]}}),Y=P()((()=>Promise.all([a.e(3731),a.e(1357)]).then(a.bind(a,1357))),{loadableGenerated:{webpack:()=>[1357]}}),U=P()((()=>Promise.all([a.e(3731),a.e(6621)]).then(a.bind(a,6621))),{loadableGenerated:{webpack:()=>[6621]}}),ee=P()((()=>Promise.all([a.e(3731),a.e(2953)]).then(a.bind(a,82953))),{loadableGenerated:{webpack:()=>[82953]}}),ne=P()((()=>Promise.all([a.e(3731),a.e(7502)]).then(a.bind(a,7502))),{loadableGenerated:{webpack:()=>[7502]}}),ae=P()((()=>Promise.all([a.e(3731),a.e(2826)]).then(a.bind(a,22826))),{loadableGenerated:{webpack:()=>[22826]}}),te=P()((()=>Promise.all([a.e(3731),a.e(4120)]).then(a.bind(a,44120))),{loadableGenerated:{webpack:()=>[44120]}}),re=P()((()=>Promise.all([a.e(3731),a.e(7575)]).then(a.bind(a,59505))),{loadableGenerated:{webpack:()=>[59505]}}),ie=P()((()=>Promise.all([a.e(3731),a.e(5929)]).then(a.bind(a,5929))),{loadableGenerated:{webpack:()=>[5929]}}),oe=P()((()=>Promise.all([a.e(3731),a.e(6340)]).then(a.bind(a,46340))),{loadableGenerated:{webpack:()=>[46340]}}),le=P()((()=>Promise.all([a.e(4915),a.e(4988),a.e(2307),a.e(5011)]).then(a.bind(a,95011))),{loadableGenerated:{webpack:()=>[95011]}}),de=P()((()=>Promise.all([a.e(4915),a.e(4988),a.e(2307),a.e(3733)]).then(a.bind(a,98361))),{loadableGenerated:{webpack:()=>[98361]}}),ce=P()((()=>Promise.all([a.e(4915),a.e(4988),a.e(6483)]).then(a.bind(a,66483))),{loadableGenerated:{webpack:()=>[66483]}}),be=P()((()=>Promise.all([a.e(8865),a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(9442)]).then(a.bind(a,27449))),{loadableGenerated:{webpack:()=>[27449]}}),ue=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(8470)]).then(a.bind(a,23502))),{loadableGenerated:{webpack:()=>[23502]}}),se=P()((()=>Promise.all([a.e(7100),a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(8231)]).then(a.bind(a,97935))),{loadableGenerated:{webpack:()=>[97935]}}),he=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(1960)]).then(a.bind(a,51960))),{loadableGenerated:{webpack:()=>[51960]}}),Pe=P()((()=>Promise.all([a.e(5710),a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(1148)]).then(a.bind(a,75147))),{loadableGenerated:{webpack:()=>[75147]}}),we=P()((()=>Promise.all([a.e(618),a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(4505)]).then(a.bind(a,96697))),{ssr:!1,loadableGenerated:{webpack:()=>[96697]}}),me=P()((()=>Promise.all([a.e(1863),a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(7317),a.e(1539)]).then(a.bind(a,46221))),{loadableGenerated:{webpack:()=>[46221]}}),pe=P()((()=>Promise.all([a.e(4915),a.e(4988),a.e(7317),a.e(258)]).then(a.bind(a,90258))),{loadableGenerated:{webpack:()=>[90258]}}),fe=P()((()=>Promise.all([a.e(5355),a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(7301)]).then(a.bind(a,63909))),{loadableGenerated:{webpack:()=>[63909]}}),ke=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(7903)]).then(a.bind(a,7903))),{loadableGenerated:{webpack:()=>[7903]}}),Ge=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(5232)]).then(a.bind(a,15232))),{loadableGenerated:{webpack:()=>[15232]}}),ge=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(2307),a.e(1075)]).then(a.bind(a,1075))),{loadableGenerated:{webpack:()=>[1075]}}),Se=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(6243)]).then(a.bind(a,36243))),{loadableGenerated:{webpack:()=>[36243]}}),ye=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(3067)]).then(a.bind(a,3067))),{loadableGenerated:{webpack:()=>[3067]}}),Me=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(4988),a.e(8824)]).then(a.bind(a,38824))),{loadableGenerated:{webpack:()=>[38824]}}),De=P()((()=>Promise.all([a.e(1914),a.e(4915),a.e(6871),a.e(4988),a.e(9725)]).then(a.bind(a,60728))),{loadableGenerated:{webpack:()=>[60728]}}),Oe=P()((()=>Promise.all([a.e(3880),a.e(4915),a.e(6871),a.e(4988),a.e(3800)]).then(a.bind(a,77678))),{loadableGenerated:{webpack:()=>[77678]}}),Te=P()((()=>Promise.all([a.e(4915),a.e(6871),a.e(7099)]).then(a.bind(a,37099))),{loadableGenerated:{webpack:()=>[37099]}}),ve=P()((()=>Promise.all([a.e(1307),a.e(4915),a.e(6871),a.e(2307),a.e(5283)]).then(a.bind(a,8938))),{loadableGenerated:{webpack:()=>[8938]}}),Ee=P()((()=>Promise.all([a.e(3502),a.e(4915),a.e(6871),a.e(2307),a.e(2530)]).then(a.bind(a,26191))),{loadableGenerated:{webpack:()=>[26191]}}),Le=P()((()=>Promise.all([a.e(9202),a.e(4915),a.e(6871),a.e(2307),a.e(1765)]).then(a.bind(a,96165))),{loadableGenerated:{webpack:()=>[96165]}}),_e=P()((()=>Promise.all([a.e(9464),a.e(4915),a.e(6871),a.e(2307),a.e(7687)]).then(a.bind(a,42863))),{loadableGenerated:{webpack:()=>[42863]}}),Re=P()((()=>Promise.all([a.e(4666),a.e(4915),a.e(6871),a.e(2307),a.e(6847)]).then(a.bind(a,40875))),{loadableGenerated:{webpack:()=>[40875]}});var je=a(77831),Ne=a(90321),Be=a(52322);function Ke(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function We(e){for(var n=1;nWe(We({},e),{},{[G.slug]:!0}))):M[G.slug]&&!g.data&&D((e=>We(We({},e),{},{[G.slug]:!1})));const j=g.loading||R.loading,N=(0,i.useMemo)((()=>We(We({},O.data.product),{},{loadingPricing:j,removeGoldPoints:m,waitlist:{campaigns:r,invites:L,loadingInvites:E,refreshInvites:_}})),[O.data.product,r,L,_,E,j,m]),B=(0,i.useRef)();(0,i.useEffect)((()=>{if(B.current&&clearTimeout(B.current),N.eshopDetails?.discountPriceEnd){const e=Math.ceil(Date.parse(N.eshopDetails.discountPriceEnd)-Date.now());e>0&&e<2147483648&&(B.current=setTimeout((()=>(g.data?R:O).refetch()),e))}return()=>B.current&&clearTimeout(B.current)}),[N.eshopDetails?.discountPriceEnd,g.data,O,R]);const K=(0,i.useMemo)((()=>n?.length?(0,u.v5)({products:n,rating:N.contentRating}):[]),[n,N.contentRating]),W=P&&P?.modularPageReference?.templateName||P?.templateName,A=W?t[P.templateName??P.modularPageReference?.templateName]:null;return(0,Be.jsx)(s.Kq,{disableScrollRestoration:!0,children:(0,Be.jsx)(b.dn,{product:N,merchBanner:h,showReadMore:!W&&w,bestSellers:K,showLendableRow:f,children:W?(0,Be.jsx)(A,{marketingPage:P.modularPageReference||P,productProps:N,DemoButton:()=>(0,Be.jsx)(je.g,{variant:"button",product:N}),locale:k}):a})})}},22739:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/products/[slug]",function(){return a(36349)}])}},function(e){e.O(0,[8286,4511,402,5484,5143,9774,2888,179],(function(){return n=22739,e(e.s=n);var n}));var n=e.O();_N_E=n}]); //# sourceMappingURL=[slug]-37e1f135781a27d6.js.map