import{a as j}from"./chunk-6ZKGP7YP.js";import"./chunk-XKZJKXVQ.js";import"./chunk-IXSSMAWJ.js";import{c as M}from"./chunk-Y5BDWQTD.js";import"./chunk-D3QNROQA.js";import{q as u}from"./chunk-U3XAGOD7.js";import{y as l,z as d}from"./chunk-DVN556RD.js";import{d as h,g as a}from"./chunk-2IW5LNPB.js";import"./chunk-YM6242MC.js";import{h as v,k as y}from"./chunk-P3JWYVN7.js";import"./chunk-G75CPMPQ.js";import{a as g,c as C}from"./chunk-QIWZD5HO.js";import{ga as c,gd as p,h as s,ha as i,ma as e,ub as n,w as f}from"./chunk-6JZDPQRU.js";var m=(()=>{class o{$api=e(y);$router=e(h);$toastr=e(v);$translate=e(g);constructor(){}resolve(){return s(this,null,function*(){try{let r=yield f(this.$api.get("/config-editor"));return JSON.stringify(r,null,4)}catch(r){console.error(r),this.$toastr.error(r.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(t){return new(t||o)};static \u0275prov=c({token:o,factory:o.\u0275fac})}return o})();var $=[{path:"",loadComponent:()=>import("./chunk-VGW2GBMB.js").then(o=>o.ConfigEditorComponent),resolve:{config:m}}],R=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=n({type:o});static \u0275inj=i({imports:[a.forChild($),a]})}return o})();var Q=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=n({type:o});static \u0275inj=i({providers:[m],imports:[p,l,d,M,u,C.forChild(),R,j]})}return o})();export{Q as ConfigEditorModule};
