import{cS as o,bb as u,cT as l,bP as d,cU as i,bK as b}from"./D-NqFN1U.js";const h=o(async t=>{var c,s;let a,n;const e=u();[a,n]=l(()=>e[d]()),await a,n();const r=b();if(e.isLoggedIn)switch(!0){case(t.path.includes("/onboarding/login")||t.path.includes("/reactivate")):return((s=(c=e.user)==null?void 0:c.subscription)==null?void 0:s.status)==="cancelled"?i(r.public.reactivatePageUrl+window.location.search,{external:!0}):i(r.public.accountUrl+window.location.search,{external:!0})}});export{h as default}; //# sourceMappingURL=BjbKsZOG.js.map