(()=>{var e={};e.id=1016,e.ids=[1016],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10336:(e,t,r)=>{Promise.resolve().then(r.bind(r,57570))},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:e=>{"use strict";e.exports=require("assert")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},24907:(e,t,r)=>{Promise.resolve().then(r.bind(r,71303))},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},57570:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"C:\\\\Users\\\\hp\\\\Desktop\\\\happy-homes-frontend\\\\src\\\\app\\\\admin\\\\customers\\\\page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"C:\\Users\\hp\\Desktop\\happy-homes-frontend\\src\\app\\admin\\customers\\page.tsx","default")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71303:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var s=r(60687),o=r(11819),n=r(65306),i=r(54864),a=r(80552);r(40888),r(43210);var p=r(72315);function d(){let{isOpen:e}=(0,i.d4)(e=>e.counter.viewCustomer),t=(0,i.d4)(e=>e.counter.adminSettings.stats);(0,i.wA)();let{data:r}=(0,p.Jj)();return(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,s.jsx)(o.A,{title:"Total Customers",statValue:t.total_users_count,profitValue:23,iconPath:"/images/hand.svg"}),(0,s.jsx)(o.A,{title:"New Customers",statValue:t.new_users_count,profitValue:6,iconPath:"/images/person.svg"}),(0,s.jsx)(o.A,{title:"Deactivated Accounts",statValue:t.deleted_accounts_count,profitValue:3,iconPath:"/images/modules.svg"})]}),(0,s.jsx)("div",{className:"bg-white p-10 my-8 rounded-md",children:e?(0,s.jsx)(a.A,{}):(0,s.jsx)(n.A,{})})]})}var u=r(80474);function l(){return(0,s.jsx)(u.default,{children:(0,s.jsx)(d,{})})}},74075:e=>{"use strict";e.exports=require("zlib")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},84571:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>u,routeModule:()=>c,tree:()=>d});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);r.d(t,p);let d={children:["",{children:["admin",{children:["customers",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,57570)),"C:\\Users\\hp\\Desktop\\happy-homes-frontend\\src\\app\\admin\\customers\\page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,99111)),"C:\\Users\\hp\\Desktop\\happy-homes-frontend\\src\\app\\admin\\layout.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,70440))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,94431)),"C:\\Users\\hp\\Desktop\\happy-homes-frontend\\src\\app\\layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,70440))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]}.children,u=["C:\\Users\\hp\\Desktop\\happy-homes-frontend\\src\\app\\admin\\customers\\page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/customers/page",pathname:"/admin/customers",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,2433,8914,7927,5002,5863,2118,7492],()=>r(84571));module.exports=s})();