import{e as n,ai as r,N as i,p as s,h as c,m as d,j as f,b8 as p,aO as l}from"./jwt-decode.esm-og2W_mys.js";import{u}from"./organizationSwitcher-C3ZoDwtd.js";import"./router-C9ojQjj-.js";import"./ts.worker-BQuKpghy.js";import"./organization-7oMSYFNi.js";import"./tables-BDU7F3na.js";import"./record-D5CgGTou.js";import"./string-zda83L05.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="e130c08f-cb09-4d0e-84e0-fb34845a2e9b",o._sentryDebugIdIdentifier="sentry-dbid-e130c08f-cb09-4d0e-84e0-fb34845a2e9b")}catch{}})();const m={class:"loading-container"},_=n({__name:"RootRedirector",setup(o){const t=u(),a=r();return i(async()=>{const e=await t.selectDefaultOrganization();e.name==="organization"&&e.params?.organizationId?window.location.href=`/organizations/${e.params.organizationId}`:e.name==="onboarding"?window.location.href="/onboarding":a.replace(e)}),(e,g)=>(c(),s("div",m,[d(f(p),{size:"large"})]))}}),k=l(_,[["__scopeId","data-v-a77ce5c1"]]);export{k as default};
//# sourceMappingURL=RootRedirector-D6lV5J-3.js.map
