!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]="ec5376fc-2862-4d56-8d60-8e31109957d1",e._sentryDebugIdIdentifier="sentry-dbid-ec5376fc-2862-4d56-8d60-8e31109957d1")}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 Ge}});var t={};a.r(t),a.d(t,{AdvanceWarsTemplate:function(){return f},AnimalCrossingNewHorizonsPage:function(){return P},AnotherCodeRecollectionSwitch:function(){return w},Bayonetta3Switch:function(){return k},BayonettaOriginsSwitch:function(){return g},DetectivePikachuReturnsSwitch:function(){return G},DisneyIllusionIslandSwitch:function(){return O},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 ie},LegendOfZeldaEOW:function(){return he},LiveALiveSwitch:function(){return L},LuigisMansion2HD:function(){return se},MarioLuigiBrothership:function(){return me},MarioStrikersSwitch:function(){return z},MarioVsDk:function(){return j},May2024Switch:function(){return T},MiitopiaPage:function(){return B},MinecraftTemplate:function(){return R},Nintendo64Page:function(){return H},NintendoEntertainmentSystemPage:function(){return x},NintendoSwitchGameVouchers:function(){return ee},PaperMarioTTYD:function(){return be},Pikmin4:function(){return le},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 Z},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),i=a(64897),l=a(82091),d=a(98087),c=a(76454),u=a(99809),b=a(50802),s=a(99140),h=a(402),p=a(25237),m=a.n(p);const f=m()((()=>Promise.all([a.e(3731),a.e(8535)]).then(a.bind(a,8535))),{loadableGenerated:{webpack:()=>[8535]}}),P=m()((()=>Promise.all([a.e(3731),a.e(3205)]).then(a.bind(a,43205))),{loadableGenerated:{webpack:()=>[43205]}}),w=m()((()=>Promise.all([a.e(3731),a.e(5567)]).then(a.bind(a,45567))),{loadableGenerated:{webpack:()=>[45567]}}),k=m()((()=>Promise.all([a.e(3731),a.e(8260)]).then(a.bind(a,71759))),{loadableGenerated:{webpack:()=>[71759]}}),g=m()((()=>Promise.all([a.e(3731),a.e(8502)]).then(a.bind(a,78502))),{loadableGenerated:{webpack:()=>[78502]}}),G=m()((()=>Promise.all([a.e(3731),a.e(9982)]).then(a.bind(a,39982))),{loadableGenerated:{webpack:()=>[39982]}}),S=m()((()=>a.e(7323).then(a.bind(a,57323))),{loadableGenerated:{webpack:()=>[57323]}}),y=m()((()=>Promise.all([a.e(3731),a.e(7718),a.e(5671)]).then(a.bind(a,97718))),{loadableGenerated:{webpack:()=>[97718]}}),O=m()((()=>Promise.all([a.e(3731),a.e(6315)]).then(a.bind(a,16315))),{loadableGenerated:{webpack:()=>[16315]}}),D=m()((()=>Promise.all([a.e(3731),a.e(7741)]).then(a.bind(a,77741))),{loadableGenerated:{webpack:()=>[77741]}}),T=m()((()=>Promise.all([a.e(3731),a.e(3984)]).then(a.bind(a,83984))),{loadableGenerated:{webpack:()=>[83984]}}),_=m()((()=>Promise.all([a.e(3731),a.e(7245)]).then(a.bind(a,17245))),{loadableGenerated:{webpack:()=>[17245]}}),E=m()((()=>Promise.all([a.e(3731),a.e(6974)]).then(a.bind(a,46974))),{loadableGenerated:{webpack:()=>[46974]}}),N=m()((()=>Promise.all([a.e(3731),a.e(5424)]).then(a.bind(a,85424))),{loadableGenerated:{webpack:()=>[85424]}}),M=m()((()=>Promise.all([a.e(3731),a.e(1442)]).then(a.bind(a,51442))),{loadableGenerated:{webpack:()=>[51442]}}),v=m()((()=>Promise.all([a.e(3731),a.e(7630)]).then(a.bind(a,87630))),{loadableGenerated:{webpack:()=>[87630]}}),I=m()((()=>Promise.all([a.e(3731),a.e(8084)]).then(a.bind(a,98084))),{loadableGenerated:{webpack:()=>[98084]}}),L=m()((()=>Promise.all([a.e(3731),a.e(2963)]).then(a.bind(a,52963))),{loadableGenerated:{webpack:()=>[52963]}}),j=m()((()=>Promise.all([a.e(3731),a.e(1373)]).then(a.bind(a,61373))),{loadableGenerated:{webpack:()=>[61373]}}),R=m()((()=>Promise.all([a.e(3731),a.e(9867)]).then(a.bind(a,19867))),{loadableGenerated:{webpack:()=>[19867]}}),C=m()((()=>Promise.all([a.e(3731),a.e(4434)]).then(a.bind(a,24434))),{loadableGenerated:{webpack:()=>[24434]}}),B=m()((()=>Promise.all([a.e(3731),a.e(8140)]).then(a.bind(a,98140))),{loadableGenerated:{webpack:()=>[98140]}}),W=m()((()=>Promise.all([a.e(3731),a.e(4067)]).then(a.bind(a,14067))),{loadableGenerated:{webpack:()=>[14067]}}),A=m()((()=>Promise.all([a.e(3731),a.e(7866)]).then(a.bind(a,27866))),{loadableGenerated:{webpack:()=>[27866]}}),K=m()((()=>Promise.all([a.e(3731),a.e(2989)]).then(a.bind(a,62989))),{loadableGenerated:{webpack:()=>[62989]}}),V=m()((()=>Promise.all([a.e(3731),a.e(4023)]).then(a.bind(a,74023))),{loadableGenerated:{webpack:()=>[74023]}}),x=m()((()=>Promise.all([a.e(3731),a.e(9128)]).then(a.bind(a,59128))),{loadableGenerated:{webpack:()=>[59128]}}),F=m()((()=>Promise.all([a.e(3731),a.e(4074)]).then(a.bind(a,73019))),{loadableGenerated:{webpack:()=>[73019]}}),Z=m()((()=>Promise.all([a.e(3731),a.e(4564),a.e(9491)]).then(a.bind(a,39491))),{loadableGenerated:{webpack:()=>[39491]}}),H=m()((()=>Promise.all([a.e(3731),a.e(4794)]).then(a.bind(a,14794))),{loadableGenerated:{webpack:()=>[14794]}}),$=m()((()=>Promise.all([a.e(3731),a.e(6703)]).then(a.bind(a,6703))),{loadableGenerated:{webpack:()=>[6703]}}),z=m()((()=>Promise.all([a.e(3731),a.e(967)]).then(a.bind(a,90967))),{loadableGenerated:{webpack:()=>[90967]}}),U=m()((()=>Promise.all([a.e(3731),a.e(5683)]).then(a.bind(a,35683))),{loadableGenerated:{webpack:()=>[35683]}}),X=m()((()=>Promise.all([a.e(3731),a.e(8063)]).then(a.bind(a,28063))),{loadableGenerated:{webpack:()=>[28063]}}),q=m()((()=>Promise.all([a.e(3731),a.e(2759)]).then(a.bind(a,92759))),{loadableGenerated:{webpack:()=>[92759]}}),J=m()((()=>Promise.all([a.e(3731),a.e(5303)]).then(a.bind(a,55303))),{loadableGenerated:{webpack:()=>[55303]}}),Q=m()((()=>Promise.all([a.e(3731),a.e(1357)]).then(a.bind(a,1357))),{loadableGenerated:{webpack:()=>[1357]}}),Y=m()((()=>Promise.all([a.e(3731),a.e(6621)]).then(a.bind(a,6621))),{loadableGenerated:{webpack:()=>[6621]}}),ee=m()((()=>Promise.all([a.e(3731),a.e(2953)]).then(a.bind(a,82953))),{loadableGenerated:{webpack:()=>[82953]}}),ne=m()((()=>Promise.all([a.e(3731),a.e(7502)]).then(a.bind(a,7502))),{loadableGenerated:{webpack:()=>[7502]}}),ae=m()((()=>Promise.all([a.e(3731),a.e(2826)]).then(a.bind(a,22826))),{loadableGenerated:{webpack:()=>[22826]}}),te=m()((()=>Promise.all([a.e(3731),a.e(4120)]).then(a.bind(a,44120))),{loadableGenerated:{webpack:()=>[44120]}}),re=m()((()=>Promise.all([a.e(3731),a.e(7575)]).then(a.bind(a,59505))),{loadableGenerated:{webpack:()=>[59505]}}),oe=m()((()=>Promise.all([a.e(3731),a.e(5929)]).then(a.bind(a,5929))),{loadableGenerated:{webpack:()=>[5929]}}),ie=m()((()=>Promise.all([a.e(3731),a.e(6340)]).then(a.bind(a,46340))),{loadableGenerated:{webpack:()=>[46340]}}),le=m()((()=>Promise.all([a.e(9358),a.e(7035),a.e(3983)]).then(a.bind(a,3983))),{loadableGenerated:{webpack:()=>[3983]}}),de=m()((()=>Promise.all([a.e(9358),a.e(7035),a.e(5829)]).then(a.bind(a,15829))),{loadableGenerated:{webpack:()=>[15829]}}),ce=m()((()=>Promise.all([a.e(9358),a.e(7760)]).then(a.bind(a,47760))),{loadableGenerated:{webpack:()=>[47760]}}),ue=m()((()=>Promise.all([a.e(8901),a.e(9358),a.e(7035),a.e(8623),a.e(9695)]).then(a.bind(a,27449))),{loadableGenerated:{webpack:()=>[27449]}}),be=m()((()=>Promise.all([a.e(9358),a.e(7035),a.e(8623),a.e(9823)]).then(a.bind(a,49823))),{loadableGenerated:{webpack:()=>[49823]}}),se=m()((()=>Promise.all([a.e(4589),a.e(9358),a.e(7035),a.e(8623),a.e(4174)]).then(a.bind(a,97935))),{loadableGenerated:{webpack:()=>[97935]}}),he=m()((()=>Promise.all([a.e(9358),a.e(8623),a.e(5367)]).then(a.bind(a,35367))),{loadableGenerated:{webpack:()=>[35367]}}),pe=m()((()=>Promise.all([a.e(2745),a.e(9358),a.e(7035),a.e(8623),a.e(1324)]).then(a.bind(a,75147))),{loadableGenerated:{webpack:()=>[75147]}}),me=m()((()=>Promise.all([a.e(3493),a.e(9358),a.e(7035),a.e(8623),a.e(934)]).then(a.bind(a,96697))),{ssr:!1,loadableGenerated:{webpack:()=>[96697]}});var fe=a(88627),Pe=a(52322);function we(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 ke(e){for(var n=1;nke(ke({},e),{},{[P.slug]:!0}))):G[P.slug]&&!w.data&&S((e=>ke(ke({},e),{},{[P.slug]:!1})));const E=w.loading||_.loading,N=(0,o.useMemo)((()=>ke(ke({},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:f,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,Pe.jsx)(h.Kq,{disableScrollRestoration:!0,children:(0,Pe.jsx)(u.dn,{product:N,merchBanner:a,showReadMore:!L&&m,bestSellers:I,children:L?(0,Pe.jsx)(j,{marketingPage:r.modularPageReference||r,productProps:N,DemoButton:()=>(0,Pe.jsx)(fe.g,{variant:"button",product:N}),locale:f}):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]-afdb173dee0a28c1.js.map