import{a as n,af as r,J as i,k as s,f as d,h as c,u as f,b4 as p,aK as u}from"./jwt-decode.esm-Dw_OlTCW.js";import{u as l}from"./organizationSwitcher-DaZJIspe.js";import"./router-DzczyMew.js";import"./ts.worker-5sEEipil.js";import"./organization-CyPzXZ9t.js";import"./tables-CkY-LQhC.js";import"./record-BTRCUCPd.js";import"./string-BuQ9zSDy.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="d68b739c-01d3-4ada-bc24-d1a25f20ead5",o._sentryDebugIdIdentifier="sentry-dbid-d68b739c-01d3-4ada-bc24-d1a25f20ead5")}catch{}})();const m={class:"loading-container"},_=n({__name:"RootRedirector",setup(o){const a=l(),t=r();return i(async()=>{const e=await a.selectDefaultOrganization();e.name==="organization"&&e.params?.organizationId?window.location.href=`/organizations/${e.params.organizationId}`:e.name==="onboarding"?window.location.href="/onboarding":t.replace(e)}),(e,g)=>(d(),s("div",m,[c(f(p),{size:"large"})]))}}),k=u(_,[["__scopeId","data-v-a77ce5c1"]]);export{k as default};
//# sourceMappingURL=RootRedirector-CJ7xKw_M.js.map
