1import{e as b,h as d}from"./chunk-E7CHVIHG.js";import{R as p,V as i,_ as n,k as s,na as l,q as r}from"./chunk-LMVOUE4O.js";var o=class a{http=n(b);base=n(d);status(){return this.http.get(`${this.base}/api/setup/status`)}createAdmin(e,t,c){return this.http.post(`${this.base}/api/setup/admin`,{email:e,password:t,secret:c})}static \u0275fac=function(t){return new(t||a)};static \u0275prov=i({token:a,factory:a.\u0275fac,providedIn:"root"})};var u=class a{api=n(o);cached=null;needsSetup=l(null);mailEnabled=l(null);passkeySignInAvailable=l(null);ensureLoaded(){return this.cached!==null?s(this.cached):this.api.status().pipe(p(e=>{this.cached=e.needsSetup,this.needsSetup.set(e.needsSetup),this.mailEnabled.set(e.mailEnabled),this.passkeySignInAvailable.set(e.passkeySignInAvailable)}),r(e=>e.needsSetup))}markComplete(){this.cached=!1,this.needsSetup.set(!1)}static \u0275fac=function(t){return new(t||a)};static \u0275prov=i({token:a,factory:a.\u0275fac,providedIn:"root"})};export{o as a,u as b};
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.