!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]="6baabffe-3887-486b-9af3-5071f6e0ec76",e._sentryDebugIdIdentifier="sentry-dbid-6baabffe-3887-486b-9af3-5071f6e0ec76")}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 Ge},default:function(){return Se}});var t={};a.r(t),a.d(t,{AdvanceWarsTemplate:function(){return m},AnimalCrossingNewHorizonsPage:function(){return P},AnotherCodeRecollectionSwitch:function(){return w},Bayonetta3Switch:function(){return k},BayonettaOriginsSwitch:function(){return g},DetectivePikachuReturnsSwitch:function(){return G},DisneyIllusionIslandSwitch:function(){return O},DonkeyKongCountryReturnsHD:function(){return me},EndlessOceanLuminousSwitch:function(){return D},EverybodySwitch:function(){return N},FZero99Switch:function(){return _},FireEmblemEngageSwitch:function(){return re},FireEmblemThreeHopes:function(){return U},GameAndWatchLegendOfZeldaPage:function(){return v},GameBuilderGarageSwitchPage:function(){return M},KirbyStarAlliesSwitchPage:function(){return I},KirbysDreamBuffetSwitch:function(){return q},KirbysReturnToDreamLandDeluxe:function(){return oe},LClassicsPage:function(){return le},LegendOfZeldaEOW:function(){return he},LiveALiveSwitch:function(){return L},LuigisMansion2HD:function(){return se},MarioLuigiBrothership:function(){return fe},MarioStrikersSwitch:function(){return z},MarioVsDk:function(){return j},May2024Switch:function(){return T},MiitopiaPage:function(){return B},MinecraftTemplate:function(){return R},Nintendo64Page:function(){return Z},NintendoEntertainmentSystemPage:function(){return x},NintendoSwitchGameVouchers:function(){return ee},PaperMarioTTYD:function(){return be},Pikmin4:function(){return ie},PokemonLegendsArceusPage:function(){return W},PokemonScarletSwitch:function(){return J},PokemonScarletVioletDLCTemplate:function(){return ne},PokemonScarletVioletDoublePackSwitch:function(){return ae},PokemonVioletSwitch:function(){return Q},PrincessPeachShowtime:function(){return ue},SMBWonder:function(){return de},SegaGenesisPage:function(){return $},ShipS:function(){return C},SuperMarioPartyJamboree:function(){return pe},SuperMarioRPG:function(){return ce},SuperNintendoEntertainmentSystemPage:function(){return F},SwitchHardwareTemplate:function(){return H},TearsOfTheKingdomTemplate:function(){return te},Tetris99SwitchPage:function(){return A},TriangleStrategySwitchPage:function(){return V},WDEV4389:function(){return Y},WarioWareGetItTogetherSwitch:function(){return K},WarioWareMoveIt:function(){return E},XenobladeChronicles3Switch:function(){return X},peon:function(){return y},plmpStandard:function(){return S}});var r=a(95235),o=a(2784),l=a(64897),i=a(82091),d=a(98087),c=a(76454),u=a(99809),b=a(50802),s=a(99140),h=a(402),p=a(25237),f=a.n(p);const m=f()((()=>Promise.all([a.e(3731),a.e(8535)]).then(a.bind(a,8535))),{loadableGenerated:{webpack:()=>[8535]}}),P=f()((()=>Promise.all([a.e(3731),a.e(3205)]).then(a.bind(a,43205))),{loadableGenerated:{webpack:()=>[43205]}}),w=f()((()=>Promise.all([a.e(3731),a.e(5567)]).then(a.bind(a,45567))),{loadableGenerated:{webpack:()=>[45567]}}),k=f()((()=>Promise.all([a.e(3731),a.e(8260)]).then(a.bind(a,71759))),{loadableGenerated:{webpack:()=>[71759]}}),g=f()((()=>Promise.all([a.e(3731),a.e(8502)]).then(a.bind(a,78502))),{loadableGenerated:{webpack:()=>[78502]}}),G=f()((()=>Promise.all([a.e(3731),a.e(9982)]).then(a.bind(a,39982))),{loadableGenerated:{webpack:()=>[39982]}}),S=f()((()=>a.e(7323).then(a.bind(a,57323))),{loadableGenerated:{webpack:()=>[57323]}}),y=f()((()=>Promise.all([a.e(3731),a.e(7718),a.e(5671)]).then(a.bind(a,97718))),{loadableGenerated:{webpack:()=>[97718]}}),O=f()((()=>Promise.all([a.e(3731),a.e(6315)]).then(a.bind(a,16315))),{loadableGenerated:{webpack:()=>[16315]}}),D=f()((()=>Promise.all([a.e(3731),a.e(7741)]).then(a.bind(a,77741))),{loadableGenerated:{webpack:()=>[77741]}}),T=f()((()=>Promise.all([a.e(3731),a.e(3984)]).then(a.bind(a,83984))),{loadableGenerated:{webpack:()=>[83984]}}),_=f()((()=>Promise.all([a.e(3731),a.e(7245)]).then(a.bind(a,17245))),{loadableGenerated:{webpack:()=>[17245]}}),E=f()((()=>Promise.all([a.e(3731),a.e(6974)]).then(a.bind(a,46974))),{loadableGenerated:{webpack:()=>[46974]}}),N=f()((()=>Promise.all([a.e(3731),a.e(5424)]).then(a.bind(a,85424))),{loadableGenerated:{webpack:()=>[85424]}}),M=f()((()=>Promise.all([a.e(3731),a.e(1442)]).then(a.bind(a,51442))),{loadableGenerated:{webpack:()=>[51442]}}),v=f()((()=>Promise.all([a.e(3731),a.e(7630)]).then(a.bind(a,87630))),{loadableGenerated:{webpack:()=>[87630]}}),I=f()((()=>Promise.all([a.e(3731),a.e(8084)]).then(a.bind(a,98084))),{loadableGenerated:{webpack:()=>[98084]}}),L=f()((()=>Promise.all([a.e(3731),a.e(2963)]).then(a.bind(a,52963))),{loadableGenerated:{webpack:()=>[52963]}}),j=f()((()=>Promise.all([a.e(3731),a.e(1373)]).then(a.bind(a,61373))),{loadableGenerated:{webpack:()=>[61373]}}),R=f()((()=>Promise.all([a.e(3731),a.e(9867)]).then(a.bind(a,19867))),{loadableGenerated:{webpack:()=>[19867]}}),C=f()((()=>Promise.all([a.e(3731),a.e(4434)]).then(a.bind(a,24434))),{loadableGenerated:{webpack:()=>[24434]}}),B=f()((()=>Promise.all([a.e(3731),a.e(8140)]).then(a.bind(a,98140))),{loadableGenerated:{webpack:()=>[98140]}}),W=f()((()=>Promise.all([a.e(3731),a.e(4067)]).then(a.bind(a,14067))),{loadableGenerated:{webpack:()=>[14067]}}),A=f()((()=>Promise.all([a.e(3731),a.e(7866)]).then(a.bind(a,27866))),{loadableGenerated:{webpack:()=>[27866]}}),K=f()((()=>Promise.all([a.e(3731),a.e(2989)]).then(a.bind(a,62989))),{loadableGenerated:{webpack:()=>[62989]}}),V=f()((()=>Promise.all([a.e(3731),a.e(4023)]).then(a.bind(a,74023))),{loadableGenerated:{webpack:()=>[74023]}}),x=f()((()=>Promise.all([a.e(3731),a.e(9128)]).then(a.bind(a,59128))),{loadableGenerated:{webpack:()=>[59128]}}),F=f()((()=>Promise.all([a.e(3731),a.e(4074)]).then(a.bind(a,73019))),{loadableGenerated:{webpack:()=>[73019]}}),H=f()((()=>Promise.all([a.e(3731),a.e(6730),a.e(9491)]).then(a.bind(a,39491))),{loadableGenerated:{webpack:()=>[39491]}}),Z=f()((()=>Promise.all([a.e(3731),a.e(4794)]).then(a.bind(a,14794))),{loadableGenerated:{webpack:()=>[14794]}}),$=f()((()=>Promise.all([a.e(3731),a.e(6703)]).then(a.bind(a,6703))),{loadableGenerated:{webpack:()=>[6703]}}),z=f()((()=>Promise.all([a.e(3731),a.e(967)]).then(a.bind(a,90967))),{loadableGenerated:{webpack:()=>[90967]}}),U=f()((()=>Promise.all([a.e(3731),a.e(5683)]).then(a.bind(a,35683))),{loadableGenerated:{webpack:()=>[35683]}}),X=f()((()=>Promise.all([a.e(3731),a.e(8063)]).then(a.bind(a,28063))),{loadableGenerated:{webpack:()=>[28063]}}),q=f()((()=>Promise.all([a.e(3731),a.e(2759)]).then(a.bind(a,92759))),{loadableGenerated:{webpack:()=>[92759]}}),J=f()((()=>Promise.all([a.e(3731),a.e(5303)]).then(a.bind(a,55303))),{loadableGenerated:{webpack:()=>[55303]}}),Q=f()((()=>Promise.all([a.e(3731),a.e(1357)]).then(a.bind(a,1357))),{loadableGenerated:{webpack:()=>[1357]}}),Y=f()((()=>Promise.all([a.e(3731),a.e(6621)]).then(a.bind(a,6621))),{loadableGenerated:{webpack:()=>[6621]}}),ee=f()((()=>Promise.all([a.e(3731),a.e(2953)]).then(a.bind(a,82953))),{loadableGenerated:{webpack:()=>[82953]}}),ne=f()((()=>Promise.all([a.e(3731),a.e(7502)]).then(a.bind(a,7502))),{loadableGenerated:{webpack:()=>[7502]}}),ae=f()((()=>Promise.all([a.e(3731),a.e(2826)]).then(a.bind(a,22826))),{loadableGenerated:{webpack:()=>[22826]}}),te=f()((()=>Promise.all([a.e(3731),a.e(4120)]).then(a.bind(a,44120))),{loadableGenerated:{webpack:()=>[44120]}}),re=f()((()=>Promise.all([a.e(3731),a.e(7575)]).then(a.bind(a,59505))),{loadableGenerated:{webpack:()=>[59505]}}),oe=f()((()=>Promise.all([a.e(3731),a.e(5929)]).then(a.bind(a,5929))),{loadableGenerated:{webpack:()=>[5929]}}),le=f()((()=>Promise.all([a.e(3731),a.e(6340)]).then(a.bind(a,46340))),{loadableGenerated:{webpack:()=>[46340]}}),ie=f()((()=>Promise.all([a.e(4431),a.e(4054),a.e(8571)]).then(a.bind(a,38571))),{loadableGenerated:{webpack:()=>[38571]}}),de=f()((()=>Promise.all([a.e(4431),a.e(4054),a.e(715)]).then(a.bind(a,60715))),{loadableGenerated:{webpack:()=>[60715]}}),ce=f()((()=>Promise.all([a.e(4431),a.e(4402)]).then(a.bind(a,24402))),{loadableGenerated:{webpack:()=>[24402]}}),ue=f()((()=>Promise.all([a.e(916),a.e(4431),a.e(4054),a.e(8623),a.e(3491)]).then(a.bind(a,27449))),{loadableGenerated:{webpack:()=>[27449]}}),be=f()((()=>Promise.all([a.e(4431),a.e(4054),a.e(8623),a.e(234)]).then(a.bind(a,60234))),{loadableGenerated:{webpack:()=>[60234]}}),se=f()((()=>Promise.all([a.e(5429),a.e(4431),a.e(4054),a.e(8623),a.e(6514)]).then(a.bind(a,97935))),{loadableGenerated:{webpack:()=>[97935]}}),he=f()((()=>Promise.all([a.e(4431),a.e(8623),a.e(1266)]).then(a.bind(a,41266))),{loadableGenerated:{webpack:()=>[41266]}}),pe=f()((()=>Promise.all([a.e(7744),a.e(4431),a.e(4054),a.e(8623),a.e(1559)]).then(a.bind(a,75147))),{loadableGenerated:{webpack:()=>[75147]}}),fe=f()((()=>Promise.all([a.e(4009),a.e(4431),a.e(4054),a.e(8623),a.e(508)]).then(a.bind(a,96697))),{ssr:!1,loadableGenerated:{webpack:()=>[96697]}}),me=f()((()=>Promise.all([a.e(8057),a.e(4431),a.e(4054),a.e(8623),a.e(4065)]).then(a.bind(a,46221))),{loadableGenerated:{webpack:()=>[46221]}});var Pe=a(55850),we=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 ge(e){for(var n=1;nge(ge({},e),{},{[P.slug]:!0}))):G[P.slug]&&!w.data&&S((e=>ge(ge({},e),{},{[P.slug]:!1})));const E=w.loading||_.loading,N=(0,o.useMemo)((()=>ge(ge({},O.data.product),{},{loadingPricing:E})),[O.data.product,E]),M=(0,o.useRef)();(0,o.useEffect)((()=>{if(M.current&&clearTimeout(M.current),N.eshopDetails?.discountPriceEnd){const e=Math.ceil(Date.parse(N.eshopDetails.discountPriceEnd)-Date.now());e>0&&e<2147483648&&(M.current=setTimeout((()=>(w.data?_:O).refetch()),e))}return()=>M.current&&clearTimeout(M.current)}),[N.eshopDetails?.discountPriceEnd,w.data,O,_]);const v=(0,d.aM)(c.o$.gg,{locale:m,where:{criteria:"TOP_SELLING"},pageSize:16},{fetchPolicy:"cache-only"}),I=(0,o.useMemo)((()=>v.data?.products?.length?(0,b.v5)({products:v.data.products,rating:N.contentRating}):[]),[v.data,N.contentRating]),L=r&&r?.modularPageReference?.templateName||r?.templateName,j=L?t[r.templateName??r.modularPageReference?.templateName]:null;return(0,we.jsx)(h.Kq,{disableScrollRestoration:!0,children:(0,we.jsx)(u.dn,{product:N,merchBanner:a,showReadMore:!L&&f,bestSellers:I,children:L?(0,we.jsx)(j,{marketingPage:r.modularPageReference||r,productProps:N,DemoButton:()=>(0,we.jsx)(Pe.g,{variant:"button",product:N}),locale:m}):n})})}},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,4165,9774,2888,179],(function(){return n=22739,e(e.s=n);var n}));var n=e.O();_N_E=n}]); //# sourceMappingURL=[slug]-9c1fa1ce2e9ef572.js.map