import{a as C,b as y,c as $,d as j}from"./chunk-PTUTZEVH.js";import"./chunk-474BOAR2.js";import{q as d}from"./chunk-N4F42HDL.js";import{y as l,z as u}from"./chunk-YLEC7AUG.js";import{d as v,g as n}from"./chunk-T3GI7KUT.js";import"./chunk-SJCOE5TR.js";import"./chunk-2H7B6BX7.js";import{h as g,k as h}from"./chunk-WFMP2IAA.js";import"./chunk-HA6CO5NZ.js";import{a as M,c as U}from"./chunk-675OFXLW.js";import{h as a,ha as f,ia as i,kd as c,na as e,vb as s,w as p}from"./chunk-CKNHTRCL.js";var m=(()=>{class r{$api=e(h);$router=e(v);$toastr=e(g);$translate=e(M);constructor(){}resolve(){return a(this,null,function*(){try{return yield p(this.$api.get("/users"))}catch(o){console.error(o),this.$toastr.error(o.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})();var F=[{path:"",loadComponent:()=>import("./chunk-OFJTZAEN.js").then(r=>r.UsersComponent),resolve:{homebridgeUsers:m}}],b=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({imports:[n.forChild(F),n]})}return r})();var Y=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({providers:[m],imports:[c,l,u,U.forChild(),d,b,$,j,y,C]})}return r})();export{Y as UsersModule};
