1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[972],{9837:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/popular",function(){return a(7286)}])},3482:function(e,t,a){"use strict";a.d(t,{O:function(){return i}});var s=a(5893),n=a(1163),l=a(1608),r=a.n(l),i=function(e){var t=e.games,a=e.category,l=(0,n.useRouter)();return a&&(t=t.filter((function(e){return a&&e.category===a.slug&&e.slug!==l.asPath}))),0===t.length?null:(0,s.jsx)("div",{className:"py-6 px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"relative py-12 px-4 sm:px-6 lg:px-8 pt-0",children:["/"!=l.pathname&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("h2",{className:"text-2xl md:text-3xl tracking-tight font-extrabold text-slate-900 dark:text-slate-200 font-display text-center",children:[a?a.name:""," Themed 2048 Games"]}),(0,s.jsxs)("p",{className:"mt-5 text-lg text-slate-600 text-center dark:text-slate-200 pb-4",children:[a?a.description:"",(0,s.jsx)("br",{})]})]}),(0,s.jsx)("div",{className:"relative max-w-7xl mx-auto",children:(0,s.jsx)("div",{className:"my-8 mx-auto grid gap-8 md:grid-cols-3 lg:grid-cols-4 lg:max-w-[1000px] px-10 lg:px-0",children:t.map((function(e){return(0,s.jsx)("a",{href:"/2048/"+e.slug,children:(0,s.jsxs)("div",{className:"flex flex-col rounded-xl shadow-lg overflow-hidden group bg-white cursor-pointer",children:[(0,s.jsx)("div",{className:"relative h-36 transform overflow-hidden justify-center items-center flex ".concat(e.color),children:(0,s.jsx)(r(),{src:e.imageSrc,alt:e.name,width:200,height:200,priority:!0,className:"h-28 w-28 object-contain rounded-lg transition duration-300 group-hover:scale-110"})}),(0,s.jsx)("div",{className:"flex-1 bg-white px-4 pb-2 pt-2 flex flex-col justify-between text-center",children:(0,s.jsx)("p",{className:"text-2xl font-extrabold text-slate-900 font-display group-hover:text-green-600",children:e.name})})]},e.id)},e.id)}))})})]})})}},7286:function(e,t,a){"use strict";a.r(t);var s=a(5893),n=a(7294),l=a(8340),r=a(3482),i=a(4034),c=a(9716),o=a(761);t.default=function(){var e=(0,n.useState)(),t=e[0],a=e[1],d=(0,n.useState)(!1),x=d[0],m=d[1],u=(0,n.useState)(!1),h=u[0],p=u[1];return(0,n.useEffect)((function(){var e=window.matchMedia("(prefers-color-scheme: dark)").matches;a(localStorage.getItem("theme")?"dark"===localStorage.getItem("theme"):!!e)}),[]),(0,n.useEffect)((function(){t?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}),[t]),(0,s.jsxs)(l.W,{setIsInfoModalOpen:m,setIsSettingsModalOpen:p,isDarkMode:t,children:[(0,s.jsx)("div",{className:"pt-4 px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"relative pt-4 px-4 sm:px-6 lg:px-8 pt-0",children:[(0,s.jsx)("h2",{className:"text-3xl md:text-4xl mb-4 tracking-tight font-extrabold text-slate-900 dark:text-slate-50 font-display text-center",children:"Popular 2048 Variants"}),(0,s.jsxs)("p",{className:"mt-5 text-lg text-slate-600 text-center dark:text-slate-200 max-w-2xl mx-auto",children:["We have a collection of incredibly enjoyable 2048 games ready for you. While it involves strategy and numbers, it's far less challenging than it might seem. Simply engage, explore, and aim for that remarkable 2048 tile. Start now to dive into the excitement!",(0,s.jsx)("br",{})]})]})}),(0,s.jsx)(i.m,{isOpen:x,handleClose:function(){return m(!1)}}),(0,s.jsx)(c.n,{isOpen:h,handleClose:function(){return p(!1)},isDarkMode:t,handleDarkMode:function(e){a(e),localStorage.setItem("theme",e?"dark":"light")}}),(0,s.jsx)(r.O,{games:o.Tt})]})}}},function(e){e.O(0,[689,795,774,888,179],(function(){return t=9837,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.