1import{d as i,u as o,a as u,b as c,f as d,s as p,m as l,n as s,p as h,c as _,o as f}from"./BKmQfMs2.js";const m={class:"w-12 h-12 rounded-full border-2 border-white/30 border-t-white animate-spin","aria-hidden":"true"},y=i({__name:"sign-up",setup(g){o({title:"Sign Up"});const a=u(),t=c(),r=t.query.returnTo??"/";return d(async()=>{await a.setup();const e=a.getClient();if(!e){p(l({statusCode:500,statusMessage:"Auth0 client failed to initialize."}));return}if(t.query.state!==void 0){await s({path:"/a/signin",query:t.query},{replace:!0});return}if(await e.isAuthenticated()){await s(r||"/",{replace:!0});return}const n=r!=="/"?`?returnTo=${encodeURIComponent(r)}`:"";await e.loginWithRedirect({authorizationParams:{screen_hint:"signup",redirect_uri:`${h()}/a/signin${n}`}})}),(e,n)=>(f(),_("div",m))}});export{y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.