(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3698],{165:(e,u,r)=>{"use strict";r.d(u,{G:()=>t,j:()=>s});var a=r(34540);let s=()=>(0,a.wA)(),t=a.d4},35695:(e,u,r)=>{"use strict";var a=r(18999);r.o(a,"useParams")&&r.d(u,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(u,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(u,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(u,{useSearchParams:function(){return a.useSearchParams}})},56432:(e,u,r)=>{Promise.resolve().then(r.bind(r,77220))},77220:(e,u,r)=>{"use strict";r.r(u),r.d(u,{default:()=>n});var a=r(12115),s=r(35695),t=r(165);function n(){let e=(0,t.G)(e=>e.auth.isLoggedIn),u=(0,s.useRouter)();return(0,a.useEffect)(()=>{null!=e&&(e?u.replace("/admin/dashboard"):u.replace("/admin/login"))},[e,u]),null}}},e=>{var u=u=>e(e.s=u);e.O(0,[4540,8441,1684,7358],()=>u(56432)),_N_E=e.O()}]);