(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1016],{59125:(s,e,t)=>{Promise.resolve().then(t.bind(t,98694))},98694:(s,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>g});var a=t(95155),i=t(55545),l=t(48421),u=t(34540),d=t(91863),n=t(98472),o=t(12115),r=t(39169);function c(){let{isOpen:s}=(0,u.d4)(s=>s.counter.viewCustomer),e=(0,u.d4)(s=>s.counter.adminSettings.stats),t=(0,u.wA)(),{data:c}=(0,r.Jj)();return(0,o.useEffect)(()=>{c&&(null==c?void 0:c.payload)&&t((0,n.d)(c.payload))},[c]),(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)(i.A,{title:"Total Customers",statValue:e.total_users_count,profitValue:23,iconPath:"/images/hand.svg"}),(0,a.jsx)(i.A,{title:"New Customers",statValue:e.new_users_count,profitValue:6,iconPath:"/images/person.svg"}),(0,a.jsx)(i.A,{title:"Deactivated Accounts",statValue:e.deleted_accounts_count,profitValue:3,iconPath:"/images/modules.svg"})]}),(0,a.jsx)("div",{className:"bg-white p-10 my-8 rounded-md",children:s?(0,a.jsx)(d.A,{}):(0,a.jsx)(l.A,{})})]})}var m=t(6574);function g(){return(0,a.jsx)(m.default,{children:(0,a.jsx)(c,{})})}}},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(59125)),_N_E=s.O()}]);