1import{aw as n,ax as p,n as r}from"./BJ-fXIum.js";import{u}from"./C-c2tz7K.js";const o=n(async t=>{let a,s;if(!(t.path.startsWith("/projects")||t.path.startsWith("/account")||t.path.startsWith("/admin")||t.path.startsWith("/design-principles")||t.path==="/bug-report"||t.path==="/feature-request"||t.path==="/contact"))return;const{user:e,fetchUser:i}=u();if(e.value||([a,s]=p(()=>i()),await a,s()),!e.value)return r("/login");if((t.path.startsWith("/admin")||t.path.startsWith("/design-principles"))&&!e.value.is_admin)return r("/projects")});export{o 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.