1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6020],{2431:(t,a,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/charts/[...slugs]",function(){return e(84587)}])},84587:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>P});var s=e(80263),l=e(94426),r=e(17403),i=e(70719),u=e(61469),h=e(53239),n=e(13950),c=e(60867),_=e(546),o=e(8259),p=e(4151),y=e(50033);let g=h.memo(()=>{let t=void 0!==(0,u.useRouter)().query.search,a=(0,h.useMemo)(()=>t?(0,_.kl)():(0,_.x4)(),[t]);return(0,s.jsx)(y.i,{fetchParamDefaults:a,pathname:o.Kt.PublicCharts,playlistType:"chart"},t?"charts with search":"charts")});g.displayName="ChartsPage",g.renderInLayout=p.P,g.getInitialProps=async t=>{let{api:a,query:e,promises:s,queryClient:u}=t,h=(0,_.fn)(await s.genres),o={...(0,_.C8)(e,h,void 0===e.search?(0,_.x4)():{...(0,_.x4)(),curation:"all"})},[p,y,g]=await Promise.all([(0,l.f)(()=>a.getPageSettings(i.bG.AllCharts,!0)),a.getPlaylists((0,_.Hp)(o)),a.getPlaylists_Stats((0,_.pu)((0,_.vM)(o)))]),{user:P}=await s.userData;u.setQueryData([c._W.pageSettings(i.bG.AllCharts)],p),(0,r.N4)(u,[n.K1.playlistsShort(P?.email,o)],y),u.setQueryData([n.K1.playlistsShort_Stats(P?.email,(0,_.vM)(o))],g)};let P=g}},t=>{t.O(0,[4001,7236,2762,8288,904,5046,4802,1001,1048,9711,3163,5711,4207,3129,4995,8790,3492,1090,6844,8893,3935,9809,33,636,6593,8792],()=>t(t.s=2431)),_N_E=t.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.