(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3815],{63066:(s,e,t)=>{Promise.resolve().then(t.bind(t,83852))},83852:(s,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>g});var a=t(95155),d=t(55545),i=t(48421),l=t(34540),n=t(91863),c=t(12115),u=t(39169),o=t(98472);function r(){let{isOpen:s}=(0,l.d4)(s=>s.counter.viewCustomer),e=(0,l.d4)(s=>s.counter.adminSettings.stats),t=(0,l.wA)(),{data:r}=(0,u.Jj)();return(0,c.useEffect)(()=>{r&&(null==r?void 0:r.payload)&&t((0,o.d)(r.payload))},[r]),(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,a.jsx)(d.A,{title:"Total Customers",statValue:e.total_users_count,iconPath:"/images/hand.svg"}),(0,a.jsx)(d.A,{title:"New Customers",statValue:e.new_users_count,iconPath:"/images/person.svg"}),(0,a.jsx)(d.A,{title:"Deactivated Accounts",statValue:e.deleted_accounts_count,iconPath:"/images/modules.svg"})]}),(0,a.jsx)("div",{className:"bg-white p-10 my-8 rounded-md",children:s?(0,a.jsx)(n.A,{}):(0,a.jsx)(i.A,{})})]})}var m=t(6574);function g(){return(0,a.jsxs)(m.default,{children:[(0,a.jsx)(r,{}),";"]})}}},s=>{var e=e=>s(s.s=e);s.O(0,[7285,4540,2875,6439,6766,8600,6967,6645,6507,7776,8441,1684,7358],()=>e(63066)),_N_E=s.O()}]);