import{d as n,P as r,O as u,l,s as t,an as c,a as d,o as i,b as _}from"./index-IQ_epUwE.js";const f={class:"flex flex-col items-center justify-center h-full bg-black"},m=n({__name:"Loading",setup(p){const o=r(),s=u().query.return_to;return l(t.load_status,a=>{if(t.onboarding.current_stage.value){const e=t.onboarding.get_stage_route_location(t.onboarding.current_stage.value,!1);e&&o.push(e)}else a===c.Loaded&&o.push({path:s??"/",replace:!0})}),(a,e)=>(i(),d("div",f,e[0]||(e[0]=[_("div",{class:"text-2xl font-bold"},"Loading...",-1)])))}});export{m as default};
