From edca8a8d204e94a46404578d5e352a397c48196b Mon Sep 17 00:00:00 2001 From: alberto-art3ch Date: Wed, 5 Nov 2025 21:45:08 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20openMF/w?= =?UTF-8?q?eb-app@f55dea66e5f5a8357217f4ebbceda5838cd3bc35=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...YNY2BF4.js => account-transfers.module-OXUST6E6.js} | 2 +- browser/{chunk-Z3QNT3G2.js => chunk-AXZIFPNI.js} | 2 +- browser/{chunk-GLHURK6Z.js => chunk-DPHX6AHX.js} | 2 +- browser/{chunk-BI4TZGQT.js => chunk-E2653EFC.js} | 2 +- browser/{chunk-3VO2Q5LJ.js => chunk-FUVLTOAH.js} | 2 +- browser/{chunk-NRRQFV6Z.js => chunk-TNQPWBZW.js} | 2 +- browser/{chunk-5X5APTKG.js => chunk-YEFYJVM4.js} | 2 +- browser/{chunk-VA6DUKW6.js => chunk-ZRUDBUFD.js} | 2 +- ...dule-VP53BU5N.js => collaterals.module-RDKFYTLS.js} | 2 +- ...e-L6ILYXDJ.js => fixed-deposits.module-MAF27CAY.js} | 4 ++-- browser/index.html | 2 +- ...ans.module-3GTGFO7S.js => loans.module-GOKHPTHK.js} | 4 ++-- browser/main.js | 10 +++++----- ...DLVGGY.js => recurring-deposits.module-JRICOWGV.js} | 4 ++-- ...s.module-QCGLIS5Q.js => savings.module-LI7TFQRC.js} | 4 ++-- ...es.module-EVKGC55R.js => shares.module-33SBQTC7.js} | 2 +- 16 files changed, 24 insertions(+), 24 deletions(-) rename browser/{account-transfers.module-ZYNY2BF4.js => account-transfers.module-OXUST6E6.js} (99%) rename browser/{chunk-Z3QNT3G2.js => chunk-AXZIFPNI.js} (97%) rename browser/{chunk-GLHURK6Z.js => chunk-DPHX6AHX.js} (91%) rename browser/{chunk-BI4TZGQT.js => chunk-E2653EFC.js} (82%) rename browser/{chunk-3VO2Q5LJ.js => chunk-FUVLTOAH.js} (97%) rename browser/{chunk-NRRQFV6Z.js => chunk-TNQPWBZW.js} (99%) rename browser/{chunk-5X5APTKG.js => chunk-YEFYJVM4.js} (89%) rename browser/{chunk-VA6DUKW6.js => chunk-ZRUDBUFD.js} (99%) rename browser/{collaterals.module-VP53BU5N.js => collaterals.module-RDKFYTLS.js} (99%) rename browser/{fixed-deposits.module-L6ILYXDJ.js => fixed-deposits.module-MAF27CAY.js} (99%) rename browser/{loans.module-3GTGFO7S.js => loans.module-GOKHPTHK.js} (99%) rename browser/{recurring-deposits.module-OQDLVGGY.js => recurring-deposits.module-JRICOWGV.js} (99%) rename browser/{savings.module-QCGLIS5Q.js => savings.module-LI7TFQRC.js} (99%) rename browser/{shares.module-EVKGC55R.js => shares.module-33SBQTC7.js} (99%) diff --git a/browser/account-transfers.module-ZYNY2BF4.js b/browser/account-transfers.module-OXUST6E6.js similarity index 99% rename from browser/account-transfers.module-ZYNY2BF4.js rename to browser/account-transfers.module-OXUST6E6.js index ba370c54e..5ced5fbb0 100644 --- a/browser/account-transfers.module-ZYNY2BF4.js +++ b/browser/account-transfers.module-OXUST6E6.js @@ -1,4 +1,4 @@ -import{a as D}from"./chunk-Z3QNT3G2.js";import{$a as ye,$c as Oe,Ad as pt,Ba as At,Bd as dt,Ca as Mt,Ce as yt,Da as kt,Dc as ht,Dd as ut,E as H,Ea as E,Ec as z,F as qt,Fa as t,Fd as U,Ga as c,H as V,Ha as v,Ia as g,Ic as Q,Id as ft,Ja as Te,Jc as _,K as h,Kc as W,L as C,La as he,Lc as tt,Ma as Ce,Md as Pe,Mf as Re,Na as be,Oc as Ft,Of as Le,Pa as w,Pc as ke,Pf as He,Qa as vt,Qc as et,Qd as xt,Qf as je,Rc as Ct,Sa as o,Sc as Fe,Ta as s,Tb as N,Tc as nt,Ua as Lt,Ve as jt,W as ce,Wb as Tt,Wc as it,Wd as Ne,We as $t,Xb as G,Xe as Ut,Yf as $e,Zb as pe,Zc as at,Ze as Gt,_ as a,_e as zt,ab as Ee,ac as j,af as Qt,bb as Z,bd as bt,bf as Wt,ca as I,cb as P,cd as Be,da as A,dd as F,df as Yt,ea as Vt,ed as q,ef as Jt,gf as Kt,ha as u,hd as $,ja as m,jd as rt,jf as Ot,kb as De,na as n,nc as Ae,nd as Y,oa as e,od as ot,pa as f,pd as we,pe as qe,qa as R,qb as M,qe as Ve,ra as L,rd as st,rg as Ue,sd as J,ta as O,td as Ht,ua as T,ud as K,va as b,vd as lt,wc as k,xd as mt,ya as Rt,yc as Me,zd as ct}from"./chunk-NRRQFV6Z.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(` +import{a as D}from"./chunk-AXZIFPNI.js";import{$a as ye,$c as Oe,Ad as pt,Ba as At,Bd as dt,Ca as Mt,Ce as yt,Da as kt,Dc as ht,Dd as ut,E as H,Ea as E,Ec as z,F as qt,Fa as t,Fd as U,Ga as c,H as V,Ha as v,Ia as g,Ic as Q,Id as ft,Ja as Te,Jc as _,K as h,Kc as W,L as C,La as he,Lc as tt,Ma as Ce,Md as Pe,Mf as Re,Na as be,Oc as Ft,Of as Le,Pa as w,Pc as ke,Pf as He,Qa as vt,Qc as et,Qd as xt,Qf as je,Rc as Ct,Sa as o,Sc as Fe,Ta as s,Tb as N,Tc as nt,Ua as Lt,Ve as jt,W as ce,Wb as Tt,Wc as it,Wd as Ne,We as $t,Xb as G,Xe as Ut,Yf as $e,Zb as pe,Zc as at,Ze as Gt,_ as a,_e as zt,ab as Ee,ac as j,af as Qt,bb as Z,bd as bt,bf as Wt,ca as I,cb as P,cd as Be,da as A,dd as F,df as Yt,ea as Vt,ed as q,ef as Jt,gf as Kt,ha as u,hd as $,ja as m,jd as rt,jf as Ot,kb as De,na as n,nc as Ae,nd as Y,oa as e,od as ot,pa as f,pd as we,pe as qe,qa as R,qb as M,qe as Ve,ra as L,rd as st,rg as Ue,sd as J,ta as O,td as Ht,ua as T,ud as K,va as b,vd as lt,wc as k,xd as mt,ya as Rt,yc as Me,zd as ct}from"./chunk-TNQPWBZW.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(` `,s(2,2,"labels.buttons.View Transactions History"),` `))}function Ke(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Within Bank")," "))}function Xe(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Own Account")," "))}var Xt=(()=>{class i{constructor(r){this.route=r,this.allowclientedit=!1,this.route.data.subscribe(d=>{this.standingInstructionsData=d.standingInstructionsData,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1)})}static{this.\u0275fac=function(d){return new(d||i)(I(N))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-view-standing-instructions"]],decls:215,vars:90,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h2","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[4,"ngIf"]],template:function(d,l){d&1&&(n(0,"div",0),t(1,` `),n(2,"button",1),t(3,` diff --git a/browser/chunk-Z3QNT3G2.js b/browser/chunk-AXZIFPNI.js similarity index 97% rename from browser/chunk-Z3QNT3G2.js rename to browser/chunk-AXZIFPNI.js index 5759e5cfa..6827209c8 100644 --- a/browser/chunk-Z3QNT3G2.js +++ b/browser/chunk-AXZIFPNI.js @@ -1 +1 @@ -import{Bb as N,E as f,H as l,xb as m,yb as a,yc as i,z as g}from"./chunk-NRRQFV6Z.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; +import{Bb as N,E as f,H as l,xb as m,yb as a,yc as i,z as g}from"./chunk-TNQPWBZW.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; diff --git a/browser/chunk-GLHURK6Z.js b/browser/chunk-DPHX6AHX.js similarity index 91% rename from browser/chunk-GLHURK6Z.js rename to browser/chunk-DPHX6AHX.js index 74c943a05..42032b50c 100644 --- a/browser/chunk-GLHURK6Z.js +++ b/browser/chunk-DPHX6AHX.js @@ -1 +1 @@ -import{E as r,H as i,Tf as n}from"./chunk-NRRQFV6Z.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b}; +import{E as r,H as i,Tf as n}from"./chunk-TNQPWBZW.js";var m=(()=>{class t{constructor(e){this.savingsService=e}resolve(e){let a=e.parent.parent.paramMap.get("savingAccountId")||e.parent.parent.paramMap.get("fixedDepositAccountId")||e.parent.parent.paramMap.get("recurringDepositAccountId"),c=e.paramMap.get("datatableName");return this.savingsService.getSavingsDatatable(a,c)}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();var S=(()=>{class t{constructor(e){this.savingsService=e}resolve(){return this.savingsService.getSavingsDatatables()}static{this.\u0275fac=function(a){return new(a||t)(i(n))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{m as a,S as b}; diff --git a/browser/chunk-BI4TZGQT.js b/browser/chunk-E2653EFC.js similarity index 82% rename from browser/chunk-BI4TZGQT.js rename to browser/chunk-E2653EFC.js index 30e3874ad..1475bdfe9 100644 --- a/browser/chunk-BI4TZGQT.js +++ b/browser/chunk-E2653EFC.js @@ -1 +1 @@ -import{E as r,H as c,Tf as a}from"./chunk-NRRQFV6Z.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a}; +import{E as r,H as c,Tf as a}from"./chunk-TNQPWBZW.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a}; diff --git a/browser/chunk-3VO2Q5LJ.js b/browser/chunk-FUVLTOAH.js similarity index 97% rename from browser/chunk-3VO2Q5LJ.js rename to browser/chunk-FUVLTOAH.js index c8b055f38..d8e345029 100644 --- a/browser/chunk-3VO2Q5LJ.js +++ b/browser/chunk-FUVLTOAH.js @@ -1 +1 @@ -import{Bb as d,E as i,H as p,Rf as n,j as u,yb as c}from"./chunk-NRRQFV6Z.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d}; +import{Bb as d,E as i,H as p,Rf as n,j as u,yb as c}from"./chunk-TNQPWBZW.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d}; diff --git a/browser/chunk-NRRQFV6Z.js b/browser/chunk-TNQPWBZW.js similarity index 99% rename from browser/chunk-NRRQFV6Z.js rename to browser/chunk-TNQPWBZW.js index 3566c45c0..284385666 100644 --- a/browser/chunk-NRRQFV6Z.js +++ b/browser/chunk-TNQPWBZW.js @@ -13,7 +13,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` `+t.message,r,e,n),t[nN]=r,t[e0]=null,t}function cN(t,i,e,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==rN?t.slice(2):t;let r=Qi(i);if(Array.isArray(i))r=i.map(Qi).join(" -> ");else if(typeof i=="object"){let a=[];for(let o in i)if(i.hasOwnProperty(o)){let s=i[o];a.push(o+":"+(typeof s=="string"?JSON.stringify(s):Qi(s)))}r=`{${a.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${t.replace(iN,` `)}`}var hr=Zb(jb("Optional"),8);var Yr=Zb(jb("SkipSelf"),4);function Ns(t,i){let e=t.hasOwnProperty(X3);return e?t[X3]:null}function lN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;nArray.isArray(e)?n8(e,i):i(e))}function Xb(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function t0(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function uN(t,i){let e=[];for(let n=0;ni;){let a=r-2;t[r]=t[a],r--}t[i]=e,t[i+1]=n}}function I0(t,i,e){let n=z1(t,i);return n>=0?t[n|1]=e:(n=~n,mN(t,n,i,e)),n}function Ph(t,i){let e=z1(t,i);if(e>=0)return t[e|1]}function z1(t,i){return pN(t,i,1)}function pN(t,i,e){let n=0,r=t.length>>e;for(;r!==n;){let a=n+(r-n>>1),o=t[a<i?r=a:n=a+1}return~(r<{e.push(o)};return n8(i,o=>{let s=o;Qh(s,a,[],n)&&(r||=[],r.push(s))}),r!==void 0&&ry(r,a),e}function ry(t,i){for(let e=0;e{i(a,n)})}}function Qh(t,i,e,n){if(t=li(t),!t)return!1;let r=null,a=Gv(t),o=!a&&Fo(t);if(!a&&!o){let d=t.ngModule;if(a=Gv(d),a)r=d;else return!1}else{if(o&&!o.standalone)return!1;r=t}let s=n.has(r);if(o){if(s)return!1;if(n.add(r),o.dependencies){let d=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let h of d)Qh(h,i,e,n)}}else if(a){if(a.imports!=null&&!s){n.add(r);let h;try{n8(a.imports,v=>{Qh(v,i,e,n)&&(h||=[],h.push(v))})}finally{}h!==void 0&&ry(h,i)}if(!s){let h=Ns(r)||(()=>new r);i({provide:r,useFactory:h,deps:Ai},r),i({provide:ey,useValue:r,multi:!0},r),i({provide:hl,useValue:()=>ae(r),multi:!0},r)}let d=a.providers;if(d!=null&&!s){let h=t;i8(d,v=>{i(v,h)})}}else return!1;return r!==t&&t.providers!==void 0}function i8(t,i){for(let e of t)qb(e)&&(e=e.\u0275providers),Array.isArray(e)?i8(e,i):i(e)}var gN=Wt({provide:String,useValue:Wt});function ay(t){return t!==null&&typeof t=="object"&&gN in t}function _N(t){return!!(t&&t.useExisting)}function vN(t){return!!(t&&t.useFactory)}function gl(t){return typeof t=="function"}function bN(t){return!!t.useClass}var P0=new A(""),q3={},Qv={},Th;function T0(){return Th===void 0&&(Th=new n0),Th}var fn=class{},E1=class extends fn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Zh(i,o=>this.processProvider(o)),this.records.set(Jb,ll(void 0,this)),r.has("environment")&&this.records.set(fn,ll(void 0,this));let a=this.records.get(P0);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(ey,Ai,ft.Self))}retrieve(i,e){let n=e;return this.get(i,n.optional?m3:zs,n)}destroy(){M1(this),this._destroyed=!0;let i=ht(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ht(i)}}onDestroy(i){return M1(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){M1(this);let e=Xa(this),n=qi(void 0),r;try{return i()}finally{Xa(e),qi(n)}}get(i,e=zs,n=ft.Default){if(M1(this),i.hasOwnProperty(qv))return i[qv](this);n=O0(n);let r,a=Xa(this),o=qi(void 0);try{if(!(n&ft.SkipSelf)){let d=this.records.get(i);if(d===void 0){let h=wN(i)&&E0(i);h&&this.injectableDefInScope(h)?d=ll(Kh(i),q3):d=null,this.records.set(i,d)}if(d!=null)return this.hydrate(i,d,n)}let s=n&ft.Self?T0():this.parent;return e=n&ft.Optional&&e===zs?null:e,s.get(i,e)}catch(s){if(s.name==="NullInjectorError"){if((s[e0]=s[e0]||[]).unshift(Qi(i)),a)throw s;return sN(s,i,"R3InjectorError",this.source)}else throw s}finally{qi(o),Xa(a)}}resolveInjectorInitializers(){let i=ht(null),e=Xa(this),n=qi(void 0),r;try{let a=this.get(hl,Ai,ft.Self);for(let o of a)o()}finally{Xa(e),qi(n),ht(i)}}toString(){let i=[],e=this.records;for(let n of e.keys())i.push(Qi(n));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=li(i);let e=gl(i)?i:li(i&&i.provide),n=CN(i);if(!gl(i)&&i.multi===!0){let r=this.records.get(e);r||(r=ll(void 0,q3,!0),r.factory=()=>Yh(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=ht(null);try{return e.value===Qv?Yb(Qi(i)):e.value===q3&&(e.value=Qv,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&MN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ht(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=li(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Kh(t){let i=E0(t),e=i!==null?i.factory:Ns(t);if(e!==null)return e;if(t instanceof A)throw new Ce(204,!1);if(t instanceof Function)return yN(t);throw new Ce(204,!1)}function yN(t){if(t.length>0)throw new Ce(204,!1);let e=YH(t);return e!==null?()=>e.factory(t):()=>new t}function CN(t){if(ay(t))return ll(void 0,t.useValue);{let i=oy(t);return ll(i,q3)}}function oy(t,i,e){let n;if(gl(t)){let r=li(t);return Ns(r)||Kh(r)}else if(ay(t))n=()=>li(t.useValue);else if(vN(t))n=()=>t.useFactory(...Yh(t.deps||[]));else if(_N(t))n=(r,a)=>ae(li(t.useExisting),a!==void 0&&a&ft.Optional?ft.Optional:void 0);else{let r=li(t&&(t.useClass||t.provide));if(xN(t))n=()=>new r(...Yh(t.deps));else return Ns(r)||Kh(r)}return n}function M1(t){if(t.destroyed)throw new Ce(205,!1)}function ll(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function xN(t){return!!t.deps}function MN(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function wN(t){return typeof t=="function"||typeof t=="object"&&t instanceof A}function Zh(t,i){for(let e of t)Array.isArray(e)?Zh(e,i):e&&qb(e)?Zh(e.\u0275providers,i):i(e)}function Ki(t,i){let e;t instanceof E1?(M1(t),e=t):e=new J3(t);let n,r=Xa(e),a=qi(void 0);try{return i()}finally{Xa(r),qi(a)}}function r8(){return Qb()!==void 0||g1()!=null}function a8(t){if(!r8())throw new Ce(-203,!1)}function DN(t){let i=ni.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function SN(t){return typeof t=="function"}var lo=0,ct=1,et=2,vi=3,qr=4,Zi=5,_l=6,i0=7,Wn=8,vl=9,ao=10,an=11,O1=12,Kv=13,Dl=14,pr=15,Fs=16,dl=17,oo=18,A0=19,sy=20,Ho=21,Ah=22,Bs=23,Ir=24,pl=25,Sn=26,cy=1;var js=7,r0=8,bl=9,_i=10;function No(t){return Array.isArray(t)&&typeof t[cy]=="object"}function uo(t){return Array.isArray(t)&&t[cy]===!0}function o8(t){return(t.flags&4)!==0}function Sl(t){return t.componentOffset>-1}function V0(t){return(t.flags&1)===1}function ya(t){return!!t.template}function a0(t){return(t[et]&512)!==0}function kl(t){return(t[et]&256)===256}var Xh=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function ly(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Pe=(()=>{let t=()=>dy;return t.ngInherit=!0,t})();function dy(t){return t.type.prototype.ngOnChanges&&(t.setInput=EN),kN}function kN(){let t=my(this),i=t?.current;if(i){let e=t.previous;if(e===ba)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function EN(t,i,e,n,r){let a=this.declaredInputs[n],o=my(t)||ON(t,{previous:ba,current:null}),s=o.current||(o.current={}),d=o.previous,h=d[a];s[a]=new Xh(h&&h.currentValue,e,d===ba),ly(t,i,r,e)}var uy="__ngSimpleChanges__";function my(t){return t[uy]||null}function ON(t,i){return t[uy]=i}var Zv=null;var Qt=function(t,i=null,e){Zv?.(t,i,e)},py="svg",IN="math";function Ca(t){for(;Array.isArray(t);)t=t[lo];return t}function fy(t,i){return Ca(i[t])}function Da(t,i){return Ca(i[t.index])}function s8(t,i){return t.data[i]}function H1(t,i){return t[i]}function hy(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function xa(t,i){let e=i[t];return No(e)?e:e[lo]}function PN(t){return(t[et]&4)===4}function c8(t){return(t[et]&128)===128}function TN(t){return uo(t[vi])}function Bo(t,i){return i==null?null:t[i]}function gy(t){t[dl]=0}function _y(t){t[et]&1024||(t[et]|=1024,c8(t)&&El(t))}function AN(t,i){for(;t>0;)i=i[Dl],t--;return i}function L0(t){return!!(t[et]&9216||t[Ir]?.dirty)}function Jh(t){t[ao].changeDetectionScheduler?.notify(8),t[et]&64&&(t[et]|=1024),L0(t)&&El(t)}function El(t){t[ao].changeDetectionScheduler?.notify(0);let i=Us(t);for(;i!==null&&!(i[et]&8192||(i[et]|=8192,!c8(i)));)i=Us(i)}function vy(t,i){if(kl(t))throw new Ce(911,!1);t[Ho]===null&&(t[Ho]=[]),t[Ho].push(i)}function VN(t,i){if(t[Ho]===null)return;let e=t[Ho].indexOf(i);e!==-1&&t[Ho].splice(e,1)}function Us(t){let i=t[vi];return uo(i)?i[vi]:i}function l8(t){return t[i0]??=[]}function d8(t){return t.cleanup??=[]}function LN(t,i,e,n){let r=l8(i);r.push(e),t.firstCreatePass&&d8(t).push(n,r.length-1)}var ut={lFrame:wy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var e6=!1;function RN(){return ut.lFrame.elementDepthCount}function zN(){ut.lFrame.elementDepthCount++}function HN(){ut.lFrame.elementDepthCount--}function u8(){return ut.bindingsEnabled}function by(){return ut.skipHydrationRootTNode!==null}function NN(t){return ut.skipHydrationRootTNode===t}function FN(){ut.skipHydrationRootTNode=null}function je(){return ut.lFrame.lView}function Kt(){return ut.lFrame.tView}function G(t){return ut.lFrame.contextLView=t,t[Wn]}function W(t){return ut.lFrame.contextLView=null,t}function yi(){let t=yy();for(;t!==null&&t.type===64;)t=t.parent;return t}function yy(){return ut.lFrame.currentTNode}function BN(){let t=ut.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function jo(t,i){let e=ut.lFrame;e.currentTNode=t,e.isParent=i}function m8(){return ut.lFrame.isParent}function p8(){ut.lFrame.isParent=!1}function jN(){return ut.lFrame.contextLView}function Cy(){return e6}function o0(t){let i=e6;return e6=t,i}function Ks(){let t=ut.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function f8(){return ut.lFrame.bindingIndex}function UN(t){return ut.lFrame.bindingIndex=t}function Zs(){return ut.lFrame.bindingIndex++}function N1(t){let i=ut.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function $N(){return ut.lFrame.inI18n}function GN(t,i){let e=ut.lFrame;e.bindingIndex=e.bindingRootIndex=t,t6(i)}function WN(){return ut.lFrame.currentDirectiveIndex}function t6(t){ut.lFrame.currentDirectiveIndex=t}function qN(t){let i=ut.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function h8(){return ut.lFrame.currentQueryIndex}function R0(t){ut.lFrame.currentQueryIndex=t}function YN(t){let i=t[ct];return i.type===2?i.declTNode:i.type===1?t[Zi]:null}function xy(t,i,e){if(e&ft.SkipSelf){let r=i,a=t;for(;r=r.parent,r===null&&!(e&ft.Host);)if(r=YN(a),r===null||(a=a[Dl],r.type&10))break;if(r===null)return!1;i=r,t=a}let n=ut.lFrame=My();return n.currentTNode=i,n.lView=t,!0}function g8(t){let i=My(),e=t[ct];ut.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function My(){let t=ut.lFrame,i=t===null?null:t.child;return i===null?wy(t):i}function wy(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function Dy(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Sy=Dy;function _8(){let t=Dy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function QN(t){return(ut.lFrame.contextLView=AN(t,ut.lFrame.contextLView))[Wn]}function Qr(){return ut.lFrame.selectedIndex}function $s(t){ut.lFrame.selectedIndex=t}function Ol(){let t=ut.lFrame;return s8(t.tView,t.selectedIndex)}function Ut(){ut.lFrame.currentNamespace=py}function Sa(){KN()}function KN(){ut.lFrame.currentNamespace=null}function ZN(){return ut.lFrame.currentNamespace}var ky=!0;function z0(){return ky}function H0(t){ky=t}function XN(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=i.type.prototype;if(n){let o=dy(i);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}function v8(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e=n)break}else i[d]<0&&(t[dl]+=65536),(s>14>16&&(t[et]&3)===i&&(t[et]+=16384,Xv(s,a)):Xv(s,a)}var fl=-1,Gs=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=n}};function eF(t){return(t.flags&8)!==0}function tF(t){return(t.flags&16)!==0}function nF(t,i,e){let n=0;for(;ni){o=a-1;break}}}for(;a>16}function c0(t,i){let e=rF(t),n=i;for(;e>0;)n=n[Dl],e--;return n}var n6=!0;function l0(t){let i=n6;return n6=t,i}var aF=256,Py=aF-1,Ty=5,oF=0,va={};function sF(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(D1)&&(n=e[D1]),n==null&&(n=e[D1]=oF++);let r=n&Py,a=1<>Ty)]|=a}function d0(t,i){let e=Ay(t,i);if(e!==-1)return e;let n=i[ct];n.firstCreatePass&&(t.injectorIndex=i.length,Lh(n.data,t),Lh(i,null),Lh(n.blueprint,null));let r=b8(t,i),a=t.injectorIndex;if(Iy(r)){let o=s0(r),s=c0(r,i),d=s[ct].data;for(let h=0;h<8;h++)i[a+h]=s[o+h]|d[o+h]}return i[a+8]=r,a}function Lh(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Ay(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function b8(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;r!==null;){if(n=Hy(r),n===null)return fl;if(e++,r=r[Dl],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return fl}function i6(t,i,e){sF(t,i,e)}function cF(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,r=0;for(;r>20,C=n?s:s+v,S=r?s+v:h;for(let D=C;D=d&&L.type===e)return D}if(r){let D=o[d];if(D&&ya(D)&&D.type===e)return d}return null}function I1(t,i,e,n,r){let a=t[e],o=i.data;if(a instanceof Gs){let s=a;s.resolving&&Yb(eN(o[e]));let d=l0(s.canSeeViewProviders);s.resolving=!0;let h,v=s.injectImpl?qi(s.injectImpl):null,C=xy(t,n,ft.Default);try{a=t[e]=s.factory(void 0,r,o,t,n),i.firstCreatePass&&e>=n.directiveStart&&XN(e,o[e],i)}finally{v!==null&&qi(v),l0(d),s.resolving=!1,Sy()}}return a}function dF(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(D1)?t[D1]:void 0;return typeof i=="number"?i>=0?i&Py:uF:i}function eb(t,i,e){let n=1<>Ty)]&n)}function tb(t,i){return!(t&ft.Self)&&!(t&ft.Host&&i)}var Hs=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return Ry(this._tNode,this._lView,i,O0(n),e)}};function uF(){return new Hs(yi(),je())}function we(t){return R1(()=>{let i=t.prototype.constructor,e=i[X3]||r6(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let a=r[X3]||r6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function r6(t){return Ub(t)?()=>{let i=r6(li(t));return i&&i()}:Ns(t)}function mF(t,i,e,n,r){let a=t,o=i;for(;a!==null&&o!==null&&o[et]&2048&&!a0(o);){let s=zy(a,o,e,n|ft.Self,va);if(s!==va)return s;let d=a.parent;if(!d){let h=o[sy];if(h){let v=h.get(e,va,n);if(v!==va)return v}d=Hy(o),o=o[Dl]}a=d}return r}function Hy(t){let i=t[ct],e=i.type;return e===2?i.declTNode:e===1?t[Zi]:null}function N0(t){return cF(yi(),t)}function nb(t,i=null,e=null,n){let r=Ny(t,i,e,n);return r.resolveInjectorInitializers(),r}function Ny(t,i=null,e=null,n,r=new Set){let a=[e||Ai,hN(t)];return n=n||(typeof t=="object"?void 0:Qi(t)),new E1(a,i||T0(),n||null,r)}var Te=class t{static THROW_IF_NOT_FOUND=zs;static NULL=new n0;static create(i,e){if(Array.isArray(i))return nb({name:""},e,i,"");{let n=i.name??"";return nb({name:n},i.parent,i.providers,n)}}static \u0275prov=R({token:t,providedIn:"any",factory:()=>ae(Jb)});static __NG_ELEMENT_ID__=-1};var hn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>N0(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},pF=new A("");pF.__NG_ELEMENT_ID__=t=>{let i=yi();if(i===null)throw new Ce(204,!1);if(i.type&2)return i.value;if(t&ft.Optional)return null;throw new Ce(204,!1)};var Fy=!1,Uo=(()=>{class t{static __NG_ELEMENT_ID__=fF;static __NG_ENV_ID__=e=>e}return t})(),u0=class extends Uo{_lView;constructor(i){super(),this._lView=i}onDestroy(i){let e=this._lView;return kl(e)?(i(),()=>{}):(vy(e,i),()=>VN(e,i))}};function fF(){return new u0(je())}var Ws=class{},y8=new A("",{providedIn:"root",factory:()=>!1});var By=new A(""),jy=new A(""),mo=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Je(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})();var a6=class extends N{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,r8()&&(this.destroyRef=u(Uo,{optional:!0})??void 0,this.pendingTasks=u(mo,{optional:!0})??void 0)}emit(i){let e=ht(null);try{super.next(i)}finally{ht(e)}}subscribe(i,e,n){let r=i,a=e||(()=>null),o=n;if(i&&typeof i=="object"){let d=i;r=d.next?.bind(d),a=d.error?.bind(d),o=d.complete?.bind(d)}this.__isAsync&&(a=this.wrapInTimeout(a),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:a,complete:o});return i instanceof Me&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},j=a6;function P1(...t){}function Uy(t){let i,e;function n(){t=P1;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function ib(t){return queueMicrotask(()=>t()),()=>{t=P1}}var C8="isAngularZone",m0=C8+"_ID",hF=0,se=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new j(!1);onMicrotaskEmpty=new j(!1);onStable=new j(!1);onError=new j(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=Fy}=i;if(typeof Zone>"u")throw new Ce(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,vF(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(C8)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new Ce(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new Ce(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,r){let a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,i,gF,P1,P1);try{return a.runTask(o,e,n)}finally{a.cancelTask(o)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},gF={};function x8(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _F(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){Uy(()=>{t.callbackScheduled=!1,o6(t),t.isCheckStableRunning=!0,x8(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),o6(t)}function vF(t){let i=()=>{_F(t)},e=hF++;t._inner=t._inner.fork({name:"angular",properties:{[C8]:!0,[m0]:e,[m0+e]:!0},onInvokeTask:(n,r,a,o,s,d)=>{if(bF(d))return n.invokeTask(a,o,s,d);try{return rb(t),n.invokeTask(a,o,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),ab(t)}},onInvoke:(n,r,a,o,s,d,h)=>{try{return rb(t),n.invoke(a,o,s,d,h)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!yF(d)&&i(),ab(t)}},onHasTask:(n,r,a,o)=>{n.hasTask(a,o),r===a&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,o6(t),x8(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,a,o)=>(n.handleError(a,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function o6(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rb(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ab(t){t._nesting--,x8(t)}var p0=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new j;onMicrotaskEmpty=new j;onStable=new j;onError=new j;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,r){return i.apply(e,n)}};function bF(t){return $y(t,"__ignore_ng_zone__")}function yF(t){return $y(t,"__scheduler_tick__")}function $y(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function CF(t="zone.js",i){return t==="noop"?new p0:t==="zone.js"?new se(i):t}var Vi=class{_console=console;handleError(i){this._console.error("ERROR",i)}},xF=new A("",{providedIn:"root",factory:()=>{let t=u(se),i=u(Vi);return e=>t.runOutsideAngular(()=>i.handleError(e))}});function ob(t,i){return Bb(t,i)}function MF(t){return Bb(Fb,t)}var Gy=(ob.required=MF,ob);function wF(){return Il(yi(),je())}function Il(t,i){return new Y(Da(t,i))}var Y=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=wF}return t})();function Wy(t){return t instanceof Y?t.nativeElement:t}function $o(t){return typeof t=="function"&&t[Gi]!==void 0}function zn(t,i){let e=uh(t,i?.equal),n=e[Gi];return e.set=r=>h1(n,r),e.update=r=>mh(n,r),e.asReadonly=DF.bind(e),e}function DF(){let t=this[Gi];if(t.readonlyFn===void 0){let i=()=>this();i[Gi]=t,t.readonlyFn=i}return t.readonlyFn}function qy(t){return $o(t)&&typeof t.set=="function"}function SF(){return this._results[Symbol.iterator]()}var kn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new N}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=dN(i);(this._changesDetected=!lN(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=SF};function Yy(t){return(t.flags&128)===128}var Qy=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Qy||{}),Ky=new Map,kF=0;function EF(){return kF++}function OF(t){Ky.set(t[A0],t)}function s6(t){Ky.delete(t[A0])}var sb="__ngContext__";function Pl(t,i){No(i)?(t[sb]=i[A0],OF(i)):t[sb]=i}function Zy(t){return Jy(t[O1])}function Xy(t){return Jy(t[qr])}function Jy(t){for(;t!==null&&!uo(t);)t=t[qr];return t}var c6;function eC(t){c6=t}function tC(){if(c6!==void 0)return c6;if(typeof document<"u")return document;throw new Ce(210,!1)}var Xs=new A("",{providedIn:"root",factory:()=>IF}),IF="ng",M8=new A(""),Go=new A("",{providedIn:"platform",factory:()=>"unknown"});var ze=new A(""),F1=new A("",{providedIn:"root",factory:()=>tC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var PF="h",TF="b";var nC=!1,AF=new A("",{providedIn:"root",factory:()=>nC});var w8=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(w8||{}),Tl=new A(""),cb=new Set;function Wo(t){cb.has(t)||(cb.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var D8=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=VF}return t})();function VF(){return new D8(je(),yi())}var ul=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ul||{}),iC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),LF=[ul.EarlyRead,ul.Write,ul.MixedReadWrite,ul.Read],RF=(()=>{class t{ngZone=u(se);scheduler=u(Ws);errorHandler=u(Vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Tl,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Qt(16),this.executing=!0;for(let n of LF)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let a=r.hooks[n];return a(r.pipelinedValue)},r.snapshot))}catch(a){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Qt(17)}register(e){let{view:n}=e;n!==void 0?((n[pl]??=[]).push(e),El(n),n[et]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(w8.AFTER_NEXT_RENDER,e):e()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),l6=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,r,a,o=null){this.impl=i,this.hooks=e,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[pl];i&&(this.view[pl]=i.filter(e=>e!==this))}};function Js(t,i){!i?.injector&&a8(Js);let e=i?.injector??u(Te);return Wo("NgAfterRender"),rC(t,e,i,!1)}function kt(t,i){!i?.injector&&a8(kt);let e=i?.injector??u(Te);return Wo("NgAfterNextRender"),rC(t,e,i,!0)}function zF(t,i){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function rC(t,i,e,n){let r=i.get(iC);r.impl??=i.get(RF);let a=i.get(Tl,null,{optional:!0}),o=e?.phase??ul.MixedReadWrite,s=e?.manualCleanup!==!0?i.get(Uo):null,d=i.get(D8,null,{optional:!0}),h=new l6(r.impl,zF(t,o),d?.view,n,s,a?.snapshot(null));return r.impl.register(h),h}var HF=(t,i,e,n)=>{};function NF(t,i,e,n){HF(t,i,e,n)}var FF=()=>null;function aC(t,i,e=!1){return FF(t,i,e)}function oC(t,i){let e=t.contentQueries;if(e!==null){let n=ht(null);try{for(let r=0;rt,createScript:t=>t,createScriptURL:t=>t})}catch{}return j3}function F0(t){return BF()?.createHTML(t)||t}var U3;function sC(){if(U3===void 0&&(U3=null,ni.trustedTypes))try{U3=ni.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return U3}function lb(t){return sC()?.createHTML(t)||t}function db(t){return sC()?.createScriptURL(t)||t}var so=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nb})`}},u6=class extends so{getTypeName(){return"HTML"}},m6=class extends so{getTypeName(){return"Style"}},p6=class extends so{getTypeName(){return"Script"}},f6=class extends so{getTypeName(){return"URL"}},h6=class extends so{getTypeName(){return"ResourceURL"}};function Pr(t){return t instanceof so?t.changingThisBreaksApplicationSecurity:t}function po(t,i){let e=jF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${Nb})`)}return e===i}function jF(t){return t instanceof so&&t.getTypeName()||null}function cC(t){return new u6(t)}function lC(t){return new m6(t)}function dC(t){return new p6(t)}function uC(t){return new f6(t)}function mC(t){return new h6(t)}function UF(t){let i=new _6(t);return $F()?new g6(i):i}var g6=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(F0(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},_6=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=F0(i),e}};function $F(){try{return!!new window.DOMParser().parseFromString(F0(""),"text/html")}catch{return!1}}var GF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function B0(t){return t=String(t),t.match(GF)?t:"unsafe:"+t}function fo(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function B1(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var pC=fo("area,br,col,hr,img,wbr"),fC=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hC=fo("rp,rt"),WF=B1(hC,fC),qF=B1(fC,fo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),YF=B1(hC,fo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ub=B1(pC,qF,YF,WF),gC=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),QF=fo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),KF=fo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),ZF=B1(gC,QF,KF),XF=fo("script,style,template"),v6=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=tB(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let a=eB(e);if(a){e=a;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=mb(i).toLowerCase();if(!ub.hasOwnProperty(e))return this.sanitizedSomething=!0,!XF.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r"),!0}endElement(i){let e=mb(i).toLowerCase();ub.hasOwnProperty(e)&&!pC.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(pb(i))}};function JF(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function eB(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw _C(i);return i}function tB(t){let i=t.firstChild;if(i&&JF(t,i))throw _C(i);return i}function mb(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function _C(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var nB=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iB=/([^\#-~ |!])/g;function pb(t){return t.replace(/&/g,"&").replace(nB,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(iB,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var $3;function k8(t,i){let e=null;try{$3=$3||UF(t);let n=i?String(i):"";e=$3.getInertBodyElement(n);let r=5,a=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=e.innerHTML,e=$3.getInertBodyElement(n)}while(n!==a);let s=new v6().sanitizeChildren(fb(e)||e);return F0(s)}finally{if(e){let n=fb(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function fb(t){return"content"in t&&rB(t)?t.content:null}function rB(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var di=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(di||{});function Al(t){let i=O8();return i?lb(i.sanitize(di.HTML,t)||""):po(t,"HTML")?lb(Pr(t)):k8(tC(),Yi(t))}function E8(t){let i=O8();return i?i.sanitize(di.URL,t)||"":po(t,"URL")?Pr(t):B0(Yi(t))}function aB(t){let i=O8();if(i)return db(i.sanitize(di.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return db(Pr(t));throw new Ce(904,!1)}function oB(t,i){return i==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||i==="href"&&(t==="base"||t==="link")?aB:E8}function vC(t,i,e){return oB(i,e)(t)}function O8(){let t=je();return t&&t[ao].sanitizer}var sB=/^>|^->||--!>|)/g,lB="\u200B$1\u200B";function dB(t){return t.replace(sB,i=>i.replace(cB,lB))}function Zue(t){return t.ownerDocument.defaultView}function Xue(t){return t.ownerDocument}function bC(t){return t instanceof Function?t():t}function uB(t,i,e){let n=t.length;for(;;){let r=t.indexOf(i,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let a=i.length;if(r+a===n||t.charCodeAt(r+a)<=32)return r}e=r+1}}var yC="ng-template";function mB(t,i,e,n){let r=0;if(n){for(;r-1){let a;for(;++ra?C="":C=r[v+1].toLowerCase(),n&2&&h!==C){if(Gr(n))return!1;o=!0}}}}return Gr(n)||o}function Gr(t){return(t&1)===0}function hB(t,i,e,n){if(i===null)return-1;let r=0;if(n||!e){let a=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!Gr(o)&&(i+=hb(a,r),r=""),n=o,a=a||!Gr(n);e++}return r!==""&&(i+=hb(a,r)),i}function CB(t){return t.map(yB).join(",")}function xB(t){let i=[],e=[],n=1,r=2;for(;nSn&&kC(t,i,Sn,!1),Qt(o?2:0,r),e(n,r)}finally{$s(a),Qt(o?3:1,r)}}function U0(t,i,e){zB(t,i,e),(e.flags&64)===64&&HB(t,i,e)}function V8(t,i,e=Da){let n=i.localNames;if(n!==null){let r=i.index+1;for(let a=0;anull;function LB(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function j1(t,i,e,n,r,a,o,s){if(!s&&R8(i,t,e,n,r)){Sl(i)&&RB(e,i.index);return}if(i.type&3){let d=Da(i,e);n=LB(n),r=o!=null?o(r,i.value||"",n):r,a.setProperty(d,n,r)}else i.type&12}function RB(t,i){let e=xa(i,t);e[et]&16||(e[et]|=64)}function zB(t,i,e){let n=e.directiveStart,r=e.directiveEnd;Sl(e)&&PB(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||d0(e,i);let a=e.initialInputs;for(let o=n;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[e[o+1]];e[o].call(s)}n!==null&&(i[i0]=null);let r=i[Ho];if(r!==null){i[Ho]=null;for(let o=0;o{El(t.lView)},consumerOnSignalRead(){this.lView[Ir]=this}});function dj(t){let i=t[Ir]??Object.create(uj);return i.lView=t,i}var uj=Be(q({},qc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Us(t.lView);for(;i&&!RC(i[ct]);)i=Us(i);i&&_y(i)},consumerOnSignalRead(){this.lView[Ir]=this}});function RC(t){return t.type!==2}function zC(t){if(t[Bs]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[Bs])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[et]&8192)}}var mj=100;function HC(t,i=!0,e=0){let r=t[ao].rendererFactory,a=!1;a||r.begin?.();try{pj(t,e)}catch(o){throw i&&UB(t,o),o}finally{a||r.end?.()}}function pj(t,i){let e=Cy();try{o0(!0),C6(t,i);let n=0;for(;L0(t);){if(n===mj)throw new Ce(103,!1);n++,C6(t,1)}}finally{o0(e)}}function fj(t,i,e,n){if(kl(i))return;let r=i[et],a=!1,o=!1;g8(i);let s=!0,d=null,h=null;a||(RC(t)?(h=oj(i),d=p1(h)):oh()===null?(s=!1,h=dj(i),d=p1(h)):i[Ir]&&(f1(i[Ir]),i[Ir]=null));try{gy(i),UN(t.bindingStartIndex),e!==null&&EC(t,i,e,2,n);let v=(r&3)===3;if(!a)if(v){let D=t.preOrderCheckHooks;D!==null&&Y3(i,D,null)}else{let D=t.preOrderHooks;D!==null&&Q3(i,D,0,null),Vh(i,0)}if(o||hj(i),zC(i),NC(i,0),t.contentQueries!==null&&oC(t,i),!a)if(v){let D=t.contentCheckHooks;D!==null&&Y3(i,D)}else{let D=t.contentHooks;D!==null&&Q3(i,D,1),Vh(i,1)}_j(t,i);let C=t.components;C!==null&&BC(i,C,0);let S=t.viewQuery;if(S!==null&&d6(2,S,n),!a)if(v){let D=t.viewCheckHooks;D!==null&&Y3(i,D)}else{let D=t.viewHooks;D!==null&&Q3(i,D,2),Vh(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[Ah]){for(let D of i[Ah])D();i[Ah]=null}a||(VC(i),i[et]&=-73)}catch(v){throw a||El(i),v}finally{h!==null&&(o3(h,d),s&&cj(h)),_8()}}function NC(t,i){for(let e=Zy(t);e!==null;e=Xy(e))for(let n=_i;n0&&(t[e-1][qr]=n[qr]);let a=t0(t,_i+i);YB(n[ct],n);let o=a[oo];o!==null&&o.detachView(a[ct]),n[vi]=null,n[qr]=null,n[et]&=-129}return n}function vj(t,i,e,n){let r=_i+n,a=e.length;n>0&&(e[r-1][qr]=i),n-1&&(T1(i,n),t0(e,n))}this._attachedToViewContainer=!1}$0(this._lView[ct],this._lView)}onDestroy(i){vy(this._lView,i)}markForCheck(){j8(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[et]&=-129}reattach(){Jh(this._lView),this._lView[et]|=128}detectChanges(){this._lView[et]|=1024,HC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=a0(this._lView),e=this._lView[Fs];e!==null&&!i&&F8(e,this._lView),OC(this._lView[ct],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Ce(902,!1);this._appRef=i;let e=a0(this._lView),n=this._lView[Fs];n!==null&&!e&&GC(n,this._lView),Jh(this._lView)}};var Qe=(()=>{class t{static __NG_ELEMENT_ID__=Cj}return t})(),bj=Qe,yj=class extends bj{_declarationLView;_declarationTContainer;elementRef;constructor(i,e,n){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,n){let r=U1(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:n});return new A1(r)}};function Cj(){return q0(yi(),je())}function q0(t,i){return t.type&4?new yj(i,t,Il(t,i)):null}function Vl(t,i,e,n,r){let a=t.data[i];if(a===null)a=xj(t,i,e,n,r),$N()&&(a.flags|=32);else if(a.type&64){a.type=e,a.value=n,a.attrs=r;let o=BN();a.injectorIndex=o===null?-1:o.injectorIndex}return jo(a,!0),a}function xj(t,i,e,n,r){let a=yy(),o=m8(),s=o?a:a&&a.parent,d=t.data[i]=wj(t,s,e,i,n,r);return Mj(t,d,a,o),d}function Mj(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function wj(t,i,e,n,r,a){let o=i?i.injectorIndex:-1,s=0;return by()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var tme=new RegExp(`^(\\d+)*(${TF}|${PF})*(.*)`);var Dj=()=>null;function xl(t,i){return Dj(t,i)}var Sj=class{},WC=class{},x6=class{resolveComponentFactory(i){throw Error(`No component factory found for ${Qi(i)}.`)}},Y0=class{static NULL=new x6},En=class{},Ke=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>kj()}return t})();function kj(){let t=je(),i=yi(),e=xa(i.index,t);return(No(e)?e:t)[an]}var Ej=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>null})}return t})();var zh={},M6=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){n=O0(n);let r=this.injector.get(i,zh,n);return r!==zh||e===zh?r:this.parentInjector.get(i,e,n)}};function w6(t,i,e){let n=e?t.styles:null,r=e?t.classes:null,a=0;if(i!==null)for(let o=0;o0&&(e.directiveToIndex=new Map);for(let S=0;S0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function Hj(t,i,e){if(e){if(i.exportAs)for(let n=0;n{let[e,n,r]=t[i],a={propName:e,templateName:i,isSignal:(n&j0.SignalBased)!==0};return r&&(a.transform=r),a})}function Bj(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function jj(t,i,e){let n=i instanceof fn?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new M6(e,n):e}function Uj(t){let i=t.get(En,null);if(i===null)throw new Ce(407,!1);let e=t.get(Ej,null),n=t.get(Ws,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n}}function $j(t,i){let e=(t.selectors[0][0]||"div").toLowerCase();return xC(i,e,e==="svg"?py:e==="math"?IN:null)}var qs=class extends WC{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Fj(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Bj(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=CB(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,r){Qt(22);let a=ht(null);try{let o=this.componentDef,s=n?["ng-version","19.2.14"]:xB(this.componentDef.selectors[0]),d=P8(0,null,null,1,0,null,null,null,null,[s],null),h=jj(o,r||this.ngModule,i),v=Uj(h),C=v.rendererFactory.createRenderer(null,o),S=n?TB(C,n,o.encapsulation,h):$j(o,C),D=T8(null,d,null,512|DC(o),null,null,v,C,h,null,aC(S,h,!0));D[Sn]=S,g8(D);let L=null;try{let ne=YC(Sn,d,D,"#host",()=>[this.componentDef],!0,0);S&&(wC(C,S,ne),Pl(S,D)),U0(d,D,ne),S8(d,ne,D),QC(d,ne),e!==void 0&&Gj(ne,this.ngContentSelectors,e),L=xa(ne.index,D),D[Wn]=L[Wn],z8(d,D,null)}catch(ne){throw L!==null&&s6(L),s6(D),ne}finally{Qt(23),_8()}return new D6(this.componentType,D)}finally{ht(a)}}},D6=class extends Sj{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e){super(),this._rootLView=e,this._tNode=s8(e[ct],Sn),this.location=Il(this._tNode,e),this.instance=xa(this._tNode.index,e)[Wn],this.hostView=this.changeDetectorRef=new A1(e,void 0,!1),this.componentType=i}setInput(i,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let r=this._rootLView,a=R8(n,r[ct],r,i,e);this.previousInputValues.set(i,e);let o=xa(n.index,r);j8(o,1)}get injector(){return new Hs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function Gj(t,i,e){let n=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=Wj}return t})();function Wj(){let t=yi();return ZC(t,je())}var qj=rt,KC=class extends qj{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return Il(this._hostTNode,this._hostLView)}get injector(){return new Hs(this._hostTNode,this._hostLView)}get parentInjector(){let i=b8(this._hostTNode,this._hostLView);if(Iy(i)){let e=c0(i,this._hostLView),n=s0(i),r=e[ct].data[n+8];return new Hs(r,e)}else return new Hs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=Cb(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-_i}createEmbeddedView(i,e,n){let r,a;typeof n=="number"?r=n:n!=null&&(r=n.index,a=n.injector);let o=xl(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},a,o);return this.insertImpl(s,r,Cl(this._hostTNode,o)),s}createComponent(i,e,n,r,a){let o=i&&!SN(i),s;if(o)s=e;else{let L=e||{};s=L.index,n=L.injector,r=L.projectableNodes,a=L.environmentInjector||L.ngModuleRef}let d=o?i:new qs(Fo(i)),h=n||this.parentInjector;if(!a&&d.ngModule==null){let ne=(o?h:this.parentInjector).get(fn,null);ne&&(a=ne)}let v=Fo(d.componentType??{}),C=xl(this._lContainer,v?.id??null),S=C?.firstChild??null,D=d.create(h,r,S,a);return this.insertImpl(D.hostView,s,Cl(this._hostTNode,C)),D}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(TN(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[vi],h=new KC(d,d[Zi],d[vi]);h.detach(h.indexOf(i))}}let a=this._adjustIndex(e),o=this._lContainer;return $1(o,r,a,n),i.attachToViewContainerRef(),Xb(Hh(o),a,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=Cb(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=T1(this._lContainer,e);n&&(t0(Hh(this._lContainer),e),$0(n[ct],n))}detach(i){let e=this._adjustIndex(i,-1),n=T1(this._lContainer,e);return n&&t0(Hh(this._lContainer),e)!=null?new A1(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function Cb(t){return t[r0]}function Hh(t){return t[r0]||(t[r0]=[])}function ZC(t,i){let e,n=i[t.index];return uo(n)?e=n:(e=jC(n,i,null,t),i[t.index]=e,A8(i,e)),Qj(e,i,t,n),new KC(e,t,i)}function Yj(t,i){let e=t[an],n=e.createComment(""),r=Da(i,t),a=e.parentNode(r);return f0(e,a,n,e.nextSibling(r),!1),n}var Qj=Xj,Kj=()=>!1;function Zj(t,i,e){return Kj(t,i,e)}function Xj(t,i,e,n){if(t[js])return;let r;e.type&8?r=Ca(n):r=Yj(i,e),t[js]=r}var S6=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},k6=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,r=[];for(let a=0;a0)n.push(o[s/2]);else{let h=a[s+1],v=i[-d];for(let C=_i;Ci.trim())}function tx(t,i,e){t.queries===null&&(t.queries=new E6),t.queries.track(new O6(i,e))}function aU(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function G8(t,i){return t.queries.getByIndex(i)}function nx(t,i){let e=t[ct],n=G8(e,i);return n.crossesNgTemplate?I6(e,t,i,[]):XC(e,t,n,i)}function ix(t,i,e){let n,r=d3(()=>{n._dirtyCounter();let a=lU(n,t);if(i&&a===void 0)throw new Ce(-951,!1);return a});return n=r[Gi],n._dirtyCounter=zn(0),n._flatValue=void 0,r}function oU(t){return ix(!0,!1,t)}function sU(t){return ix(!0,!0,t)}function cU(t,i){let e=t[Gi];e._lView=je(),e._queryIndex=i,e._queryList=$8(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function lU(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[et]&4)return i?void 0:Ai;let r=$8(e,n),a=nx(e,n);return r.reset(a,Wy),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function xb(t,i){return oU(i)}function dU(t,i){return sU(i)}var rx=(xb.required=dU,xb);function uU(t){let i=[],e=new Map;function n(r){let a=e.get(r);if(!a){let o=t(r);e.set(r,a=o.then(hU))}return a}return v0.forEach((r,a)=>{let o=[];r.templateUrl&&o.push(n(r.templateUrl).then(h=>{r.template=h}));let s=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=s,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){let h=r.styles.length,v=r.styleUrls;r.styleUrls.forEach((C,S)=>{s.push(""),o.push(n(C).then(D=>{s[h+S]=D,v.splice(v.indexOf(C),1),v.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&o.push(n(r.styleUrl).then(h=>{s.push(h),r.styleUrl=void 0}));let d=Promise.all(o).then(()=>gU(a));i.push(d)}),pU(),Promise.all(i).then(()=>{})}var v0=new Map,mU=new Set;function pU(){let t=v0;return v0=new Map,t}function fU(){return v0.size===0}function hU(t){return typeof t=="string"?t:t.text()}function gU(t){mU.delete(t)}var co=class{},W8=class{};var b0=class extends co{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new g0(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let a=ty(i);this._bootstrapComponents=bC(a.bootstrap),this._r3Injector=Ny(i,e,[{provide:co,useValue:this},{provide:Y0,useValue:this.componentFactoryResolver},...n],Qi(i),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},y0=class extends W8{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new b0(this.moduleType,i,[])}};function _U(t,i,e){return new b0(t,i,e,!1)}var P6=class extends co{injector;componentFactoryResolver=new g0(this);instance=null;constructor(i){super();let e=new E1([...i.providers,{provide:co,useValue:this},{provide:Y0,useValue:this.componentFactoryResolver}],i.parent||T0(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function G1(t,i,e=null){return new P6({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var vU=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=iy(!1,e.type),r=n.length>0?G1([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=R({token:t,providedIn:"environment",factory:()=>new t(ae(fn))})}return t})();function I(t){return R1(()=>{let i=ax(t),e=Be(q({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Qy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(vU).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ma.Emulated,styles:t.styles||Ai,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Wo("NgStandalone"),ox(e);let n=t.dependencies;return e.directiveDefs=Mb(n,!1),e.pipeDefs=Mb(n,!0),e.id=MU(e),e})}function bU(t){return Fo(t)||ny(t)}function yU(t){return t!==null}function K(t){return R1(()=>({type:t.type,bootstrap:t.bootstrap||Ai,declarations:t.declarations||Ai,imports:t.imports||Ai,exports:t.exports||Ai,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function CU(t,i){if(t==null)return ba;let e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],a,o,s,d;Array.isArray(r)?(s=r[0],a=r[1],o=r[2]??a,d=r[3]||null):(a=r,o=r,s=j0.None,d=null),e[a]=[n,s,d],i[a]=o}return e}function xU(t){if(t==null)return ba;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function V(t){return R1(()=>{let i=ax(t);return ox(i),i})}function _t(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ax(t){let i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||ba,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ai,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:CU(t.inputs,i),outputs:xU(t.outputs),debugInfo:null}}function ox(t){t.features?.forEach(i=>i(t))}function Mb(t,i){if(!t)return null;let e=i?fN:bU;return()=>(typeof t=="function"?t():t).map(n=>e(n)).filter(yU)}function MU(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let a of n.join("|"))i=Math.imul(31,i)+a.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function wU(t){return Object.getPrototypeOf(t.prototype).constructor}function ce(t){let i=wU(t.type),e=!0,n=[t];for(;i;){let r;if(ya(t))r=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Ce(903,!1);r=i.\u0275dir}if(r){if(e){n.push(r);let o=t;o.inputs=Nh(t.inputs),o.declaredInputs=Nh(t.declaredInputs),o.outputs=Nh(t.outputs);let s=r.hostBindings;s&&OU(t,s);let d=r.viewQuery,h=r.contentQueries;if(d&&kU(t,d),h&&EU(t,h),DU(t,r),WH(t.outputs,r.outputs),ya(r)&&r.data.animation){let v=t.data;v.animation=(v.animation||[]).concat(r.data.animation)}}let a=r.features;if(a)for(let o=0;o=0;n--){let r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=yl(r.hostAttrs,e=yl(e,r.hostAttrs))}}function Nh(t){return t===ba?{}:t===Ai?[]:t}function kU(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function EU(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,a)=>{i(n,r,a),e(n,r,a)}:t.contentQueries=i}function OU(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}function sx(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=cx,e.hostDirectives=n?t.map(T6):[t]):n?e.hostDirectives.unshift(...t.map(T6)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function cx(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let r=n();for(let a of r)wb(T6(a),i,e)}else wb(n,i,e)}function wb(t,i,e){let n=ny(t.directive);IU(n.declaredInputs,t.inputs),cx(n,i,e),e.set(n,t),i.push(n)}function T6(t){return typeof t=="function"?{directive:li(t),inputs:ba,outputs:ba}:{directive:li(t.directive),inputs:Db(t.inputs),outputs:Db(t.outputs)}}function Db(t){if(t===void 0||t.length===0)return ba;let i={};for(let e=0;e{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Q8=new A(""),q1=new A(""),K0=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,r){this._ngZone=e,this.registry=n,r8()&&(this._destroyRef=u(Uo,{optional:!0})??void 0),K8||(RU(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{se.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e()},n)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:r})}whenStable(e,n,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}static \u0275fac=function(n){return new(n||t)(ae(se),ae(Z0),ae(q1))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Z0=(()=>{class t{_applications=new Map;registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return K8?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function RU(t){K8=t}var K8,mx=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>new A6})}return t})(),A6=class{queuedEffectCount=0;queues=new Map;schedule(i){this.enqueue(i)}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),this.queuedEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||(this.queuedEffectCount++,n.add(i))}flush(){for(;this.queuedEffectCount>0;)for(let[i,e]of this.queues)i===null?this.flushQueue(e):i.run(()=>this.flushQueue(e))}flushQueue(i){for(let e of i)i.delete(e),this.queuedEffectCount--,e.run()}};function qo(t){return!!t&&typeof t.then=="function"}function Z8(t){return!!t&&typeof t.subscribe=="function"}var px=new A("");function X8(t){return wl([{provide:px,multi:!0,useValue:t}])}var fx=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=u(px,{optional:!0})??[];injector=u(Te);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let a=Ki(this.injector,r);if(qo(a))e.push(a);else if(Z8(a)){let o=new Promise((s,d)=>{a.subscribe({complete:s,error:d})});e.push(o)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),J8=new A("");function zU(){dh(()=>{throw new Ce(600,!1)})}function HU(t){return t.isBoundToModule}var NU=10;function hx(t,i){return Array.isArray(i)?i.reduce(hx,t):q(q({},t),i)}var bi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(xF);afterRenderManager=u(iC);zonelessEnabled=u(y8);rootEffectScheduler=u(mx);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new N;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(mo).hasPendingTasks.pipe(pe(e=>!e));constructor(){u(Tl,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:r=>{r&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=u(fn);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,r=Te.NULL){Qt(10);let a=e instanceof WC;if(!this._injector.get(fx).done){let D="";throw new Ce(405,D)}let s;a?s=e:s=this._injector.get(Y0).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let d=HU(s)?void 0:this._injector.get(co),h=n||s.selector,v=s.create(r,[],h,d),C=v.location.nativeElement,S=v.injector.get(Q8,null);return S?.registerApplication(C),v.onDestroy(()=>{this.detachView(v.hostView),Z3(this.components,v),S?.unregisterApplication(C)}),this._loadComponent(v),Qt(11,v),v}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Qt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(w8.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Ce(101,!1);let e=ht(null);try{this._runningTick=!0,this.synchronize()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ht(e),this.afterTick.next(),Qt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(En,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++L0(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;Z3(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(J8,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Z3(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Ce(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Z3(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function FU(t,i,e,n){if(!e&&!L0(t))return;HC(t,i,e&&!n?0:1)}function ee(t,i,e,n){let r=je(),a=Zs();if(fr(r,a,i)){let o=Kt(),s=Ol();FB(s,r,t,i,e,n)}return ee}function eg(t,i,e,n){return fr(t,Zs(),e)?i+Yi(e)+n:qn}function gx(t,i,e,n,r,a){let o=f8(),s=V1(t,o,e,r);return N1(2),s?i+Yi(e)+n+Yi(r)+a:qn}function BU(t,i,e,n,r,a,o,s){let d=f8(),h=dx(t,d,e,r,o);return N1(3),h?i+Yi(e)+n+Yi(r)+a+Yi(o)+s:qn}function jU(t,i,e,n,r,a,o,s,d,h){let v=f8(),C=ux(t,v,e,r,o,d);return N1(4),C?i+Yi(e)+n+Yi(r)+a+Yi(o)+s+Yi(d)+h:qn}function G3(t,i){return t<<17|i<<2}function Ys(t){return t>>17&32767}function UU(t){return(t&2)==2}function $U(t,i){return t&131071|i<<17}function V6(t){return t|2}function Ml(t){return(t&131068)>>2}function Fh(t,i){return t&-131069|i<<2}function GU(t){return(t&1)===1}function L6(t){return t|1}function WU(t,i,e,n,r,a){let o=a?i.classBindings:i.styleBindings,s=Ys(o),d=Ml(o);t[n]=e;let h=!1,v;if(Array.isArray(e)){let C=e;v=C[1],(v===null||z1(C,v)>0)&&(h=!0)}else v=e;if(r)if(d!==0){let S=Ys(t[s+1]);t[n+1]=G3(S,s),S!==0&&(t[S+1]=Fh(t[S+1],n)),t[s+1]=$U(t[s+1],n)}else t[n+1]=G3(s,0),s!==0&&(t[s+1]=Fh(t[s+1],n)),s=n;else t[n+1]=G3(d,0),s===0?s=n:t[d+1]=Fh(t[d+1],n),d=n;h&&(t[n+1]=V6(t[n+1])),Sb(t,v,n,!0),Sb(t,v,n,!1),qU(i,v,t,n,a),o=G3(s,d),a?i.classBindings=o:i.styleBindings=o}function qU(t,i,e,n,r){let a=r?t.residualClasses:t.residualStyles;a!=null&&typeof i=="string"&&z1(a,i)>=0&&(e[n+1]=L6(e[n+1]))}function Sb(t,i,e,n){let r=t[e+1],a=i===null,o=n?Ys(r):Ml(r),s=!1;for(;o!==0&&(s===!1||a);){let d=t[o],h=t[o+1];YU(d,i)&&(s=!0,t[o+1]=n?L6(h):V6(h)),o=n?Ys(h):Ml(h)}s&&(t[e+1]=n?V6(r):L6(r))}function YU(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?z1(t,i)>=0:!1}var Wr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function QU(t){return t.substring(Wr.key,Wr.keyEnd)}function KU(t){return ZU(t),_x(t,vx(t,0,Wr.textEnd))}function _x(t,i){let e=Wr.textEnd;return e===i?-1:(i=Wr.keyEnd=XU(t,Wr.key=i,e),vx(t,i,e))}function ZU(t){Wr.key=0,Wr.keyEnd=0,Wr.value=0,Wr.valueEnd=0,Wr.textEnd=t.length}function vx(t,i,e){for(;i32;)i++;return i}function y(t,i,e){let n=je(),r=Zs();if(fr(n,r,i)){let a=Kt(),o=Ol();j1(a,o,n,t,i,n[an],e,!1)}return y}function R6(t,i,e,n,r){R8(i,t,e,r?"class":"style",n)}function Et(t,i,e){return yx(t,i,e,!1),Et}function te(t,i){return yx(t,i,null,!0),te}function It(t){Cx(r$,bx,t,!0)}function bx(t,i){for(let e=KU(i);e>=0;e=_x(i,e))I0(t,QU(i),!0)}function yx(t,i,e,n){let r=je(),a=Kt(),o=N1(2);if(a.firstUpdatePass&&Mx(a,t,o,n),i!==qn&&fr(r,o,i)){let s=a.data[Qr()];wx(a,s,r,r[an],t,r[o+1]=o$(i,e),n,o)}}function Cx(t,i,e,n){let r=Kt(),a=N1(2);r.firstUpdatePass&&Mx(r,null,a,n);let o=je();if(e!==qn&&fr(o,a,e)){let s=r.data[Qr()];if(Dx(s,n)&&!xx(r,a)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=Gh(d,e||"")),R6(r,s,o,e,n)}else a$(r,s,o,o[an],o[a+1],o[a+1]=i$(t,i,e),n,a)}}function xx(t,i){return i>=t.expandoStartIndex}function Mx(t,i,e,n){let r=t.data;if(r[e+1]===null){let a=r[Qr()],o=xx(t,e);Dx(a,n)&&i===null&&!o&&(i=!1),i=JU(r,a,i,n),WU(r,a,i,e,o,n)}}function JU(t,i,e,n){let r=qN(t),a=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=Bh(null,t,i,e,n),e=L1(e,i.attrs,n),a=null);else{let o=i.directiveStylingLast;if(o===-1||t[o]!==r)if(e=Bh(r,t,i,e,n),a===null){let d=e$(t,i,n);d!==void 0&&Array.isArray(d)&&(d=Bh(null,t,i,d[1],n),d=L1(d,i.attrs,n),t$(t,i,n,d))}else a=n$(t,i,n)}return a!==void 0&&(n?i.residualClasses=a:i.residualStyles=a),e}function e$(t,i,e){let n=e?i.classBindings:i.styleBindings;if(Ml(n)!==0)return t[Ys(n)]}function t$(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[Ys(r)]=n}function n$(t,i,e){let n,r=i.directiveEnd;for(let a=1+i.directiveStylingLast;a0;){let d=t[r],h=Array.isArray(d),v=h?d[1]:d,C=v===null,S=e[r+1];S===qn&&(S=C?Ai:void 0);let D=C?Ph(S,n):v===n?S:void 0;if(h&&!x0(D)&&(D=Ph(d,n)),x0(D)&&(s=D,o))return s;let L=t[r+1];r=o?Ys(L):Ml(L)}if(i!==null){let d=a?i.residualClasses:i.residualStyles;d!=null&&(s=Ph(d,n))}return s}function x0(t){return t!==void 0}function o$(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Qi(Pr(t)))),t}function Dx(t,i){return(t.flags&(i?8:16))!==0}function X0(t,i,e){let n=je(),r=eg(n,t,i,e);Cx(I0,bx,r,!0)}var z6=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),r=Math.max(i,e),a=this.detach(r);if(r-n>1){let o=this.detach(n);this.attach(n,a),this.attach(r,o)}else this.attach(n,a)}move(i,e){this.attach(e,this.detach(i))}};function jh(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function s$(t,i,e){let n,r,a=0,o=t.length-1,s=void 0;if(Array.isArray(i)){let d=i.length-1;for(;a<=o&&a<=d;){let h=t.at(a),v=i[a],C=jh(a,h,a,v,e);if(C!==0){C<0&&t.updateValue(a,v),a++;continue}let S=t.at(o),D=i[d],L=jh(o,S,d,D,e);if(L!==0){L<0&&t.updateValue(o,D),o--,d--;continue}let ne=e(a,h),oe=e(o,S),ye=e(a,v);if(Object.is(ye,oe)){let qe=e(d,D);Object.is(qe,ne)?(t.swap(a,o),t.updateValue(o,D),d--,o--):t.move(o,a),t.updateValue(a,v),a++;continue}if(n??=new M0,r??=Ob(t,a,o,e),H6(t,n,a,ye))t.updateValue(a,v),a++,o++;else if(r.has(ye))n.set(ne,t.detach(a)),o--;else{let qe=t.create(a,i[a]);t.attach(a,qe),a++,o++}}for(;a<=d;)Eb(t,n,e,a,i[a]),a++}else if(i!=null){let d=i[Symbol.iterator](),h=d.next();for(;!h.done&&a<=o;){let v=t.at(a),C=h.value,S=jh(a,v,a,C,e);if(S!==0)S<0&&t.updateValue(a,C),a++,h=d.next();else{n??=new M0,r??=Ob(t,a,o,e);let D=e(a,C);if(H6(t,n,a,D))t.updateValue(a,C),a++,o++,h=d.next();else if(!r.has(D))t.attach(a,t.create(a,C)),a++,o++,h=d.next();else{let L=e(a,v);n.set(L,t.detach(a)),o--}}}for(;!h.done;)Eb(t,n,e,t.length,h.value),h=d.next()}for(;a<=o;)t.destroy(t.detach(o--));n?.forEach(d=>{t.destroy(d)})}function H6(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function Eb(t,i,e,n,r){if(H6(t,i,n,e(n,r)))t.updateValue(n,r);else{let a=t.create(n,r);t.attach(n,a)}}function Ob(t,i,e,n){let r=new Set;for(let a=i;a<=e;a++)r.add(n(a,t.at(a)));return r}var M0=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),i(n,e)}}};function ke(t,i){Wo("NgControlFlow");let e=je(),n=Zs(),r=e[n]!==qn?e[n]:-1,a=r!==-1?w0(e,Sn+r):void 0,o=0;if(fr(e,n,t)){let s=ht(null);try{if(a!==void 0&&$C(a,o),t!==-1){let d=Sn+t,h=w0(e,d),v=j6(e[ct],d),C=xl(h,v.tView.ssrId),S=U1(e,v,i,{dehydratedView:C});$1(h,S,o,Cl(v,C))}}finally{ht(s)}}else if(a!==void 0){let s=UC(a,o);s!==void 0&&(s[Wn]=i)}}var N6=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-_i}};function ho(t,i){return i}var F6=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function Xi(t,i,e,n,r,a,o,s,d,h,v,C,S){Wo("NgControlFlow");let D=je(),L=Kt(),ne=d!==void 0,oe=je(),ye=s?o.bind(oe[pr][Wn]):o,qe=new F6(ne,ye);oe[Sn+t]=qe,C0(D,L,t+1,i,e,n,r,Bo(L.consts,a)),ne&&C0(D,L,t+2,d,h,v,C,Bo(L.consts,S))}var B6=class extends z6{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-_i}at(i){return this.getLView(i)[Wn].$implicit}attach(i,e){let n=e[_l];this.needsIndexUpdate||=i!==this.length,$1(this.lContainer,e,i,Cl(this.templateTNode,n))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,c$(this.lContainer,i)}create(i,e){let n=xl(this.lContainer,this.templateTNode.tView.ssrId),r=U1(this.hostLView,this.templateTNode,new N6(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(i){$0(i[ct],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[Wn].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(H0(!0),xC(n,r,ZN()));function u$(t,i,e,n,r){let a=i.consts,o=Bo(a,n),s=Vl(i,t,8,"ng-container",o);o!==null&&w6(s,o,!0);let d=Bo(a,r);return u8()&&U8(i,e,s,d,L8),s.mergedAttrs=yl(s.mergedAttrs,s.attrs),i.queries!==null&&i.queries.elementStart(i,s),s}function gn(t,i,e){let n=je(),r=Kt(),a=t+Sn,o=r.firstCreatePass?u$(a,r,n,i,e):r.data[a];jo(o,!0);let s=m$(r,n,o,t);return n[a]=s,z0()&&G0(r,n,s,o),Pl(s,n),V0(o)&&(U0(r,n,o),S8(r,o,n)),e!=null&&V8(n,o),gn}function _n(){let t=yi(),i=Kt();return m8()?p8():(t=t.parent,jo(t,!1)),i.firstCreatePass&&(v8(i,t),o8(t)&&i.queries.elementEnd(t)),_n}function Tt(t,i,e){return gn(t,i,e),_n(),Tt}var m$=(t,i,e,n)=>(H0(!0),DB(i[an],""));function de(){return je()}function zt(t,i,e){let n=je(),r=Zs();if(fr(n,r,i)){let a=Kt(),o=Ol();j1(a,o,n,t,i,n[an],e,!0)}return zt}var Rs=void 0;function p$(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var f$=["en",[["a","p"],["AM","PM"],Rs],[["AM","PM"],Rs,Rs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Rs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Rs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Rs,"{1} 'at' {0}",Rs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",p$],S1={};function Sx(t,i,e){typeof i!="string"&&(e=i,i=t[on.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),S1[i]=t,e&&(S1[i][on.ExtraData]=e)}function er(t){let i=h$(t),e=Ib(i);if(e)return e;let n=i.split("-")[0];if(e=Ib(n),e)return e;if(n==="en")return f$;throw new Ce(701,!1)}function Ib(t){return t in S1||(S1[t]=ni.ng&&ni.ng.common&&ni.ng.common.locales&&ni.ng.common.locales[t]),S1[t]}var on=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(on||{});function h$(t){return t.toLowerCase().replace(/_/g,"-")}var D0="en-US",g$="USD";var _$=D0;function v$(t){typeof t=="string"&&(_$=t.toLowerCase().replace(/_/g,"-"))}function Pb(t,i,e){return function n(r){if(r===Function)return e;let a=Sl(t)?xa(t.index,i):i;j8(a,5);let o=i[Wn],s=Tb(i,o,e,r),d=n.__ngNextListenerFn__;for(;d;)s=Tb(i,o,d,r)&&s,d=d.__ngNextListenerFn__;return s}}function Tb(t,i,e,n){let r=ht(null);try{return Qt(6,i,e),e(n)!==!1}catch(a){return b$(t,a),!1}finally{Qt(7,i,e),ht(r)}}function b$(t,i){let e=t[vl],n=e?e.get(Vi,null):null;n&&n.handleError(i)}function Ab(t,i,e,n,r,a){let o=i[e],s=i[ct],h=s.data[e].outputs[n],v=o[h],C=s.firstCreatePass?d8(s):null,S=l8(i),D=v.subscribe(a),L=S.length;S.push(a,D),C&&C.push(r,t.index,L,-(L+1))}function z(t,i,e,n){let r=je(),a=Kt(),o=yi();return kx(a,r,r[an],o,t,i,n),z}function y$(t,i,e,n){let r=t.cleanup;if(r!=null)for(let a=0;ad?s[d]:null}typeof o=="string"&&(a+=2)}return null}function kx(t,i,e,n,r,a,o){let s=V0(n),h=t.firstCreatePass?d8(t):null,v=l8(i),C=!0;if(n.type&3||o){let S=Da(n,i),D=o?o(S):S,L=v.length,ne=o?ye=>o(Ca(ye[n.index])):n.index,oe=null;if(!o&&s&&(oe=y$(t,i,r,n.index)),oe!==null){let ye=oe.__ngLastListenerFn__||oe;ye.__ngNextListenerFn__=a,oe.__ngLastListenerFn__=a,C=!1}else{a=Pb(n,i,a),NF(i,D,r,a);let ye=e.listen(D,r,a);v.push(a,ye),h&&h.push(r,ne,L,L+1)}}else a=Pb(n,i,a);if(C){let S=n.outputs?.[r],D=n.hostDirectiveOutputs?.[r];if(D&&D.length)for(let L=0;L(H0(!0),MB(i[an],n));function P(t){return X("",t,""),P}function X(t,i,e){let n=je(),r=eg(n,t,i,e);return r!==qn&&tu(n,Qr(),r),X}function Ct(t,i,e,n,r){let a=je(),o=gx(a,t,i,e,n,r);return o!==qn&&tu(a,Qr(),o),Ct}function tg(t,i,e,n,r,a,o){let s=je(),d=BU(s,t,i,e,n,r,a,o);return d!==qn&&tu(s,Qr(),d),tg}function w$(t,i,e,n,r,a,o,s,d){let h=je(),v=jU(h,t,i,e,n,r,a,o,s,d);return v!==qn&&tu(h,Qr(),v),w$}function tu(t,i,e){let n=fy(i,t);wB(t[an],n,e)}function Y1(t,i,e){qy(i)&&(i=i());let n=je(),r=Zs();if(fr(n,r,i)){let a=Kt(),o=Ol();j1(a,o,n,t,i,n[an],e,!1)}return Y1}function nu(t,i){let e=qy(t);return e&&t.set(i),e}function Q1(t,i){let e=je(),n=Kt(),r=yi();return kx(n,e,e[an],r,t,i),Q1}var D$={};function ng(t){let i=Kt(),e=je(),n=t+Sn,r=Vl(i,n,128,null,null);return jo(r,!1),hy(i,e,n,D$),ng}function S$(t,i,e){let n=Kt();if(n.firstCreatePass){let r=ya(t);U6(e,n.data,n.blueprint,r,!0),U6(i,n.data,n.blueprint,r,!1)}}function U6(t,i,e,n,r){if(t=li(t),Array.isArray(t))for(let a=0;a>20;if(gl(t)||!t.multi){let D=new Gs(h,r,k),L=$h(d,i,r?v:v+S,C);L===-1?(i6(d0(s,o),a,d),Uh(a,t,i.length),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(D),o.push(D)):(e[L]=D,o[L]=D)}else{let D=$h(d,i,v+S,C),L=$h(d,i,v,v+S),ne=D>=0&&e[D],oe=L>=0&&e[L];if(r&&!oe||!r&&!ne){i6(d0(s,o),a,d);let ye=O$(r?E$:k$,e.length,r,n,h);!r&&oe&&(e[L].providerFactory=ye),Uh(a,t,i.length,0),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(ye),o.push(ye)}else{let ye=Ix(e[r?L:D],h,!r&&n);Uh(a,t,D>-1?D:L,ye)}!r&&n&&oe&&e[L].componentProviders++}}}function Uh(t,i,e,n){let r=gl(i),a=bN(i);if(r||a){let d=(a?li(i.useClass):i).prototype.ngOnDestroy;if(d){let h=t.destroyHooks||(t.destroyHooks=[]);if(!r&&i.multi){let v=h.indexOf(e);v===-1?h.push(e,[n,d]):h[v+1].push(n,d)}else h.push(e,d)}}}function Ix(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function $h(t,i,e,n){for(let r=e;r{e.providersResolver=(n,r)=>S$(n,r?r(t):t,i)}}function tr(t,i,e){let n=Ks()+t,r=je();return r[n]===qn?W1(r,n,e?i.call(e):i()):TU(r,n)}function go(t,i,e,n){return Px(je(),Ks(),t,i,e,n)}function ka(t,i,e,n,r){return Tx(je(),Ks(),t,i,e,n,r)}function iu(t,i){let e=t[i];return e===qn?void 0:e}function Px(t,i,e,n,r,a){let o=i+e;return fr(t,o,r)?W1(t,o+1,a?n.call(a,r):n(r)):iu(t,o+1)}function Tx(t,i,e,n,r,a,o){let s=i+e;return V1(t,s,r,a)?W1(t,s+2,o?n.call(o,r,a):n(r,a)):iu(t,s+2)}function I$(t,i,e,n,r,a,o,s){let d=i+e;return dx(t,d,r,a,o)?W1(t,d+3,s?n.call(s,r,a,o):n(r,a,o)):iu(t,d+3)}function P$(t,i,e,n,r,a,o,s,d){let h=i+e;return ux(t,h,r,a,o,s)?W1(t,h+4,d?n.call(d,r,a,o,s):n(r,a,o,s)):iu(t,h+4)}function E(t,i){let e=Kt(),n,r=t+Sn;e.firstCreatePass?(n=T$(i,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks??=[]).push(r,n.onDestroy)):n=e.data[r];let a=n.factory||(n.factory=Ns(n.type,!0)),o,s=qi(k);try{let d=l0(!1),h=a();return l0(d),hy(e,je(),r,h),h}finally{qi(s)}}function T$(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function O(t,i,e){let n=t+Sn,r=je(),a=H1(r,n);return ru(r,n)?Px(r,Ks(),i,a.transform,e,a):a.transform(e)}function Kr(t,i,e,n){let r=t+Sn,a=je(),o=H1(a,r);return ru(a,r)?Tx(a,Ks(),i,o.transform,e,n,o):o.transform(e,n)}function cme(t,i,e,n,r){let a=t+Sn,o=je(),s=H1(o,a);return ru(o,a)?I$(o,Ks(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function ig(t,i,e,n,r,a){let o=t+Sn,s=je(),d=H1(s,o);return ru(s,o)?P$(s,Ks(),i,d.transform,e,n,r,a,d):d.transform(e,n,r,a)}function ru(t,i){return t[ct].data[i].pure}function nr(t,i){return q0(t,i)}var W3=null;function A$(t){W3!==null&&(t.defaultEncapsulation!==W3.defaultEncapsulation||t.preserveWhitespaces!==W3.preserveWhitespaces)||(W3=t)}var Qs=class{full;major;minor;patch;constructor(i){this.full=i;let e=i.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},rg=new Qs("19.2.14"),G6=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},Ax=(()=>{class t{compileModuleSync(e){return new y0(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=ty(e),a=bC(r.declarations).reduce((o,s)=>{let d=Fo(s);return d&&o.push(new qs(d)),o},[]);return new G6(n,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),V$=new A("");function L$(t,i,e){let n=new y0(e);return Promise.resolve(n)}function Vb(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var R$=(()=>{class t{zone=u(se);changeDetectionScheduler=u(Ws);applicationRef=u(bi);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function z$({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new se(Be(q({},Vx()),{scheduleInRootZone:e})),[{provide:se,useFactory:t},{provide:hl,multi:!0,useFactory:()=>{let n=u(R$,{optional:!0});return()=>n.initialize()}},{provide:hl,multi:!0,useFactory:()=>{let n=u(H$);return()=>{n.initialize()}}},i===!0?{provide:By,useValue:!0}:[],{provide:jy,useValue:e??Fy}]}function Vx(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var H$=(()=>{class t{subscription=new Me;initialized=!1;zone=u(se);pendingTasks=u(mo);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var N$=(()=>{class t{appRef=u(bi);taskService=u(mo);ngZone=u(se);zonelessEnabled=u(y8);tracing=u(Tl,{optional:!0});disableScheduling=u(By,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(m0):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(jy,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof p0||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let n=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,n=!0;break}case 12:{this.appRef.dirtyFlags|=16,n=!0;break}case 13:{this.appRef.dirtyFlags|=2,n=!0;break}case 11:{n=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(n))return;let r=this.useMicrotaskScheduler?ib:Uy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(m0+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){throw this.taskService.remove(e),n}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ib(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function F$(){return typeof $localize<"u"&&$localize.locale||D0}var Ea=new A("",{providedIn:"root",factory:()=>u(Ea,ft.Optional|ft.SkipSelf)||F$()}),Lx=new A("",{providedIn:"root",factory:()=>g$});var S0=new A(""),B$=new A("");function x1(t){return!t.moduleRef}function j$(t){let i=x1(t)?t.r3Injector:t.moduleRef.injector,e=i.get(se);return e.run(()=>{x1(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(Vi,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:a=>{n.handleError(a)}})}),x1(t)){let a=()=>i.destroy(),o=t.platformInjector.get(S0);o.add(a),i.onDestroy(()=>{r.unsubscribe(),o.delete(a)})}else{let a=()=>t.moduleRef.destroy(),o=t.platformInjector.get(S0);o.add(a),t.moduleRef.onDestroy(()=>{Z3(t.allPlatformModules,t.moduleRef),r.unsubscribe(),o.delete(a)})}return $$(n,e,()=>{let a=i.get(fx);return a.runInitializers(),a.donePromise.then(()=>{let o=i.get(Ea,D0);if(v$(o||D0),!i.get(B$,!0))return x1(t)?i.get(bi):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(x1(t)){let d=i.get(bi);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return U$(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function U$(t,i){let e=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new Ce(-403,!1);i.push(t)}function $$(t,i,e){try{let n=e();return qo(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t.handleError(n)),n}}var Rx=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=n?.scheduleInRootZone,a=()=>CF(n?.ngZone,Be(q({},Vx({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),o=n?.ignoreChangesOutsideZone,s=[z$({ngZoneFactory:a,ignoreChangesOutsideZone:o}),{provide:Ws,useExisting:N$}],d=_U(e.moduleType,this.injector,s);return j$({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=hx({},n);return L$(this.injector,r,e).then(a=>this.bootstrapModuleFactory(a,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ce(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(S0,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(ae(Te))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),k1=null,zx=new A("");function G$(t){if(k1&&!k1.get(zx,!1))throw new Ce(400,!1);zU(),k1=t;let i=t.get(Rx);return Y$(t),i}function ag(t,i,e=[]){let n=`Platform: ${i}`,r=new A(n);return(a=[])=>{let o=Hx();if(!o||o.injector.get(zx,!1)){let s=[...e,...a,{provide:r,useValue:!0}];t?t(s):G$(W$(s,n))}return q$(r)}}function W$(t=[],i){return Te.create({name:i,providers:[{provide:P0,useValue:"platform"},{provide:S0,useValue:new Set([()=>k1=null])},...t]})}function q$(t){let i=Hx();if(!i)throw new Ce(401,!1);return i}function Hx(){return k1?.get(Rx)??null}function Y$(t){let i=t.get(M8,null);Ki(t,()=>{i?.forEach(e=>e())})}var be=(()=>{class t{static __NG_ELEMENT_ID__=Q$}return t})();function Q$(t){return K$(yi(),je(),(t&16)===16)}function K$(t,i,e){if(Sl(t)&&!e){let n=xa(t.index,i);return new A1(n,n)}else if(t.type&175){let n=i[pr];return new A1(n,i)}return null}var W6=class{constructor(){}supports(i){return lx(i)}create(i){return new q6(i)}},Z$=(t,i)=>i,q6=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||Z$}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,r=0,a=null;for(;e||n;){let o=!n||e&&e.currentIndex{o=this._trackByFn(r,s),e===null||!Object.is(e.trackById,o)?(e=this._mismatch(e,s,o,r),n=!0):(n&&(e=this._verifyReinsertion(e,s,o,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,r){let a;return i===null?a=this._itTail:(a=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,a,r)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,r),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,a,r)):i=this._addAfter(new Y6(e,n),a,r)),i}_verifyReinsertion(i,e,n,r){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return a!==null?i=this._reinsertAfter(a,i._prev,r):i.currentIndex!=r&&(i.currentIndex=r,this._addToMoves(i,r)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let r=i._prevRemoved,a=i._nextRemoved;return r===null?this._removalsHead=a:r._nextRemoved=a,a===null?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let r=e===null?this._itHead:e._next;return i._next=r,i._prev=e,r===null?this._itTail=i:r._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new k0),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new k0),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},Y6=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},Q6=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},k0=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new Q6,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,r=this.map.get(n);return r?r.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lb(t,i,e){let n=t.previousIndex;if(n===null)return n;let r=0;return e&&n{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let a=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let r=this._records.get(i);this._maybeAddToChanges(r,e);let a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}let n=new X6(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(n=>e(i[n],n))}},X6=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function Rb(){return new gr([new W6])}var gr=(()=>{class t{factories;static \u0275prov=R({token:t,providedIn:"root",factory:Rb});constructor(e){this.factories=e}static create(e,n){if(n!=null){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Rb()),deps:[[t,new Yr,new hr]]}}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new Ce(901,!1)}}return t})();function zb(){return new au([new K6])}var au=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:zb});factories;constructor(e){this.factories=e}static create(e,n){if(n){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||zb()),deps:[[t,new Yr,new hr]]}}find(e){let n=this.factories.find(r=>r.supports(e));if(n)return n;throw new Ce(901,!1)}}return t})();var Nx=ag(null,"core",[]),Fx=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(ae(bi))};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();function B(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ot(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}function ir(t){return ph(t)}function Zr(t,i){return d3(t,i?.equal)}var J6=class{[Gi];constructor(i){this[Gi]=i}destroy(){this[Gi].destroy()}};function K1(t,i){!i?.injector&&a8(K1);let e=i?.injector??u(Te),n=i?.manualCleanup!==!0?e.get(Uo):null,r,a=e.get(D8,null,{optional:!0}),o=e.get(Ws);return a!==null&&!i?.forceRoot?(r=eG(a.view,o,t),n instanceof u0&&n._lView===a.view&&(n=null)):r=tG(t,e.get(mx),o),r.injector=e,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new J6(r)}var Bx=Be(q({},qc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:P1,run(){if(this.dirty=!1,this.hasRun&&!s3(this))return;this.hasRun=!0;let t=n=>(this.cleanupFns??=[]).push(n),i=p1(this),e=o0(!1);try{this.maybeCleanup(),this.fn(t)}finally{o0(e),o3(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),X$=Be(q({},Bx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){f1(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),J$=Be(q({},Bx),{consumerMarkedDirty(){this.view[et]|=8192,El(this.view),this.notifier.notify(13)},destroy(){f1(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Bs]?.delete(this)}});function eG(t,i,e){let n=Object.create(J$);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=e,t[Bs]??=new Set,t[Bs].add(n),n.consumerMarkedDirty(n),n}function tG(t,i,e){let n=Object.create(X$);return n.fn=t,n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}function ou(t,i){let e=Fo(t),n=i.elementInjector||T0();return new qs(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector)}function jx(t){let i=Fo(t);if(!i)return null;let e=new qs(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var De=new A("");var Gx=null;function _r(){return Gx}function og(t){Gx??=t}var Z1=class{},X1=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>u(Wx),providedIn:"platform"})}return t})(),sg=new A(""),Wx=(()=>{class t extends X1{_location;_history;_doc=u(De);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _r().getBaseHref(this._doc)}onPopState(e){let n=_r().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=_r().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,r){this._history.pushState(e,n,r)}replaceState(e,n,r){this._history.replaceState(e,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function su(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function Ux(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function Xr(t){return t&&t[0]!=="?"?`?${t}`:t}var Jr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>u(lu),providedIn:"root"})}return t})(),cu=new A(""),lu=(()=>{class t extends Jr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??u(De).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return su(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+Xr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a));this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a));this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(ae(X1),ae(cu,8))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tr=(()=>{class t{_subject=new N;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=rG(Ux($x(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+Xr(n))}normalize(e){return t.stripTrailingSlash(iG(this._basePath,$x(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xr(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xr(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=Xr;static joinWithSlash=su;static stripTrailingSlash=Ux;static \u0275fac=function(n){return new(n||t)(ae(Jr))};static \u0275prov=R({token:t,factory:()=>nG(),providedIn:"root"})}return t})();function nG(){return new Tr(ae(Jr))}function iG(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function $x(t){return t.replace(/\/index.html$/,"")}function rG(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var gg=(()=>{class t extends Jr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=su(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+Xr(a))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(ae(X1),ae(cu,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),eM={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},yu=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(yu||{});var Ci=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Ci||{}),Gt=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Gt||{}),rr=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(rr||{}),ui={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function tM(t){return er(t)[on.LocaleId]}function nM(t,i,e){let n=er(t),r=[n[on.DayPeriodsFormat],n[on.DayPeriodsStandalone]],a=Ar(r,i);return Ar(a,e)}function iM(t,i,e){let n=er(t),r=[n[on.DaysFormat],n[on.DaysStandalone]],a=Ar(r,i);return Ar(a,e)}function rM(t,i,e){let n=er(t),r=[n[on.MonthsFormat],n[on.MonthsStandalone]],a=Ar(r,i);return Ar(a,e)}function aM(t,i){let n=er(t)[on.Eras];return Ar(n,i)}function J1(t,i){let e=er(t);return Ar(e[on.DateFormat],i)}function ed(t,i){let e=er(t);return Ar(e[on.TimeFormat],i)}function td(t,i){let n=er(t)[on.DateTimeFormat];return Ar(n,i)}function ta(t,i){let e=er(t),n=e[on.NumberSymbols][i];if(typeof n>"u"){if(i===ui.CurrencyDecimal)return e[on.NumberSymbols][ui.Decimal];if(i===ui.CurrencyGroup)return e[on.NumberSymbols][ui.Group]}return n}function _g(t,i){return er(t)[on.NumberFormats][i]}function aG(t){return er(t)[on.Currencies]}function oM(t){if(!t[on.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[on.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function sM(t){let i=er(t);return oM(i),(i[on.ExtraData][2]||[]).map(n=>typeof n=="string"?cg(n):[cg(n[0]),cg(n[1])])}function cM(t,i,e){let n=er(t);oM(n);let r=[n[on.ExtraData][0],n[on.ExtraData][1]],a=Ar(r,i)||[];return Ar(a,e)||[]}function Ar(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function cg(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}function lM(t,i,e="en"){let n=aG(e)[t]||eM[t]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||t}var oG=2;function dM(t){let i,e=eM[t];return e&&(i=e[2]),typeof i=="number"?i:oG}var sG=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,du={},cG=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function uM(t,i,e,n){let r=_G(t);i=_o(e,i)||i;let o=[],s;for(;i;)if(s=cG.exec(i),s){o=o.concat(s.slice(1));let v=o.pop();if(!v)break;i=v}else{o.push(i);break}let d=r.getTimezoneOffset();n&&(d=pM(n,d),r=gG(r,n));let h="";return o.forEach(v=>{let C=fG(v);h+=C?C(r,e,d):v==="''"?"'":v.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function hu(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function _o(t,i){let e=tM(t);if(du[e]??={},du[e][i])return du[e][i];let n="";switch(i){case"shortDate":n=J1(t,rr.Short);break;case"mediumDate":n=J1(t,rr.Medium);break;case"longDate":n=J1(t,rr.Long);break;case"fullDate":n=J1(t,rr.Full);break;case"shortTime":n=ed(t,rr.Short);break;case"mediumTime":n=ed(t,rr.Medium);break;case"longTime":n=ed(t,rr.Long);break;case"fullTime":n=ed(t,rr.Full);break;case"short":let r=_o(t,"shortTime"),a=_o(t,"shortDate");n=uu(td(t,rr.Short),[r,a]);break;case"medium":let o=_o(t,"mediumTime"),s=_o(t,"mediumDate");n=uu(td(t,rr.Medium),[o,s]);break;case"long":let d=_o(t,"longTime"),h=_o(t,"longDate");n=uu(td(t,rr.Long),[d,h]);break;case"full":let v=_o(t,"fullTime"),C=_o(t,"fullDate");n=uu(td(t,rr.Full),[v,C]);break}return n&&(du[e][i]=n),n}function uu(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function ea(t,i,e="-",n,r){let a="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,a=e));let o=String(t);for(;o.length0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return lG(s,i);let d=ta(o,ui.MinusSign);return ea(s,i,d,n,r)}}function dG(t,i){switch(t){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function Zt(t,i,e=Ci.Format,n=!1){return function(r,a){return uG(r,a,t,i,e,n)}}function uG(t,i,e,n,r,a){switch(e){case 2:return rM(i,r,n)[t.getMonth()];case 1:return iM(i,r,n)[t.getDay()];case 0:let o=t.getHours(),s=t.getMinutes();if(a){let h=sM(i),v=cM(i,r,n),C=h.findIndex(S=>{if(Array.isArray(S)){let[D,L]=S,ne=o>=D.hours&&s>=D.minutes,oe=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+ea(o,2,a)+ea(Math.abs(r%60),2,a);case 1:return"GMT"+(r>=0?"+":"")+ea(o,1,a);case 2:return"GMT"+(r>=0?"+":"")+ea(o,2,a)+":"+ea(Math.abs(r%60),2,a);case 3:return n===0?"Z":(r>=0?"+":"")+ea(o,2,a)+":"+ea(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${t}"`)}}}var mG=0,fu=4;function pG(t){let i=hu(t,mG,1).getDay();return hu(t,0,1+(i<=fu?fu:fu+7)-i)}function mM(t){let i=t.getDay(),e=i===0?-3:fu-i;return hu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function lg(t,i=!1){return function(e,n){let r;if(i){let a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{let a=mM(e),o=pG(a.getFullYear()),s=a.getTime()-o.getTime();r=1+Math.round(s/6048e5)}return ea(r,t,ta(n,ui.MinusSign))}}function pu(t,i=!1){return function(e,n){let a=mM(e).getFullYear();return ea(a,t,ta(n,ui.MinusSign),i)}}var dg={};function fG(t){if(dg[t])return dg[t];let i;switch(t){case"G":case"GG":case"GGG":i=Zt(3,Gt.Abbreviated);break;case"GGGG":i=Zt(3,Gt.Wide);break;case"GGGGG":i=Zt(3,Gt.Narrow);break;case"y":i=Hn(0,1,0,!1,!0);break;case"yy":i=Hn(0,2,0,!0,!0);break;case"yyy":i=Hn(0,3,0,!1,!0);break;case"yyyy":i=Hn(0,4,0,!1,!0);break;case"Y":i=pu(1);break;case"YY":i=pu(2,!0);break;case"YYY":i=pu(3);break;case"YYYY":i=pu(4);break;case"M":case"L":i=Hn(1,1,1);break;case"MM":case"LL":i=Hn(1,2,1);break;case"MMM":i=Zt(2,Gt.Abbreviated);break;case"MMMM":i=Zt(2,Gt.Wide);break;case"MMMMM":i=Zt(2,Gt.Narrow);break;case"LLL":i=Zt(2,Gt.Abbreviated,Ci.Standalone);break;case"LLLL":i=Zt(2,Gt.Wide,Ci.Standalone);break;case"LLLLL":i=Zt(2,Gt.Narrow,Ci.Standalone);break;case"w":i=lg(1);break;case"ww":i=lg(2);break;case"W":i=lg(1,!0);break;case"d":i=Hn(2,1);break;case"dd":i=Hn(2,2);break;case"c":case"cc":i=Hn(7,1);break;case"ccc":i=Zt(1,Gt.Abbreviated,Ci.Standalone);break;case"cccc":i=Zt(1,Gt.Wide,Ci.Standalone);break;case"ccccc":i=Zt(1,Gt.Narrow,Ci.Standalone);break;case"cccccc":i=Zt(1,Gt.Short,Ci.Standalone);break;case"E":case"EE":case"EEE":i=Zt(1,Gt.Abbreviated);break;case"EEEE":i=Zt(1,Gt.Wide);break;case"EEEEE":i=Zt(1,Gt.Narrow);break;case"EEEEEE":i=Zt(1,Gt.Short);break;case"a":case"aa":case"aaa":i=Zt(0,Gt.Abbreviated);break;case"aaaa":i=Zt(0,Gt.Wide);break;case"aaaaa":i=Zt(0,Gt.Narrow);break;case"b":case"bb":case"bbb":i=Zt(0,Gt.Abbreviated,Ci.Standalone,!0);break;case"bbbb":i=Zt(0,Gt.Wide,Ci.Standalone,!0);break;case"bbbbb":i=Zt(0,Gt.Narrow,Ci.Standalone,!0);break;case"B":case"BB":case"BBB":i=Zt(0,Gt.Abbreviated,Ci.Format,!0);break;case"BBBB":i=Zt(0,Gt.Wide,Ci.Format,!0);break;case"BBBBB":i=Zt(0,Gt.Narrow,Ci.Format,!0);break;case"h":i=Hn(3,1,-12);break;case"hh":i=Hn(3,2,-12);break;case"H":i=Hn(3,1);break;case"HH":i=Hn(3,2);break;case"m":i=Hn(4,1);break;case"mm":i=Hn(4,2);break;case"s":i=Hn(5,1);break;case"ss":i=Hn(5,2);break;case"S":i=Hn(6,1);break;case"SS":i=Hn(6,2);break;case"SSS":i=Hn(6,3);break;case"Z":case"ZZ":case"ZZZ":i=mu(0);break;case"ZZZZZ":i=mu(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=mu(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=mu(2);break;default:return null}return dg[t]=i,i}function pM(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function hG(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function gG(t,i,e){let r=t.getTimezoneOffset(),a=pM(i,r);return hG(t,-1*(a-r))}function _G(t){if(qx(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,a=1,o=1]=t.split("-").map(s=>+s);return hu(r,a-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(sG))return vG(n)}let i=new Date(t);if(!qx(i))throw new Error(`Unable to convert "${t}" into a date`);return i}function vG(t){let i=new Date(0),e=0,n=0,r=t[8]?i.setUTCFullYear:i.setFullYear,a=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,s=Number(t[5]||0)-n,d=Number(t[6]||0),h=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(i,o,s,d,h),i}function qx(t){return t instanceof Date&&!isNaN(t.valueOf())}var bG=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yx=22,gu=".",nd="0",yG=";",CG=",",ug="#",Qx="\xA4";function fM(t,i,e,n,r,a,o=!1){let s="",d=!1;if(!isFinite(t))s=ta(e,ui.Infinity);else{let h=MG(t);o&&(h=xG(h));let v=i.minInt,C=i.minFrac,S=i.maxFrac;if(a){let qe=a.match(bG);if(qe===null)throw new Error(`${a} is not a valid digit info`);let nt=qe[1],An=qe[3],Rn=qe[5];nt!=null&&(v=mg(nt)),An!=null&&(C=mg(An)),Rn!=null?S=mg(Rn):An!=null&&C>S&&(S=C)}wG(h,C,S);let D=h.digits,L=h.integerLen,ne=h.exponent,oe=[];for(d=D.every(qe=>!qe);L0?oe=D.splice(L,D.length):(oe=D,D=[0]);let ye=[];for(D.length>=i.lgSize&&ye.unshift(D.splice(-i.lgSize,D.length).join(""));D.length>i.gSize;)ye.unshift(D.splice(-i.gSize,D.length).join(""));D.length&&ye.unshift(D.join("")),s=ye.join(ta(e,n)),oe.length&&(s+=ta(e,r)+oe.join("")),ne&&(s+=ta(e,ui.Exponential)+"+"+ne)}return t<0&&!d?s=i.negPre+s+i.negSuf:s=i.posPre+s+i.posSuf,s}function Cu(t,i,e,n,r){let a=_g(i,yu.Currency),o=gM(a,ta(i,ui.MinusSign));return o.minFrac=dM(n),o.maxFrac=o.minFrac,fM(t,o,i,ui.CurrencyGroup,ui.CurrencyDecimal,r).replace(Qx,e).replace(Qx,"").trim()}function hM(t,i,e){let n=_g(i,yu.Decimal),r=gM(n,ta(i,ui.MinusSign));return fM(t,r,i,ui.Group,ui.Decimal,e)}function gM(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(yG),r=n[0],a=n[1],o=r.indexOf(gu)!==-1?r.split(gu):[r.substring(0,r.lastIndexOf(nd)+1),r.substring(r.lastIndexOf(nd)+1)],s=o[0],d=o[1]||"";e.posPre=s.substring(0,s.indexOf(ug));for(let v=0;v-1&&(i=i.replace(gu,"")),(a=i.search(/e/i))>0?(r<0&&(r=a),r+=+i.slice(a+1),i=i.substring(0,a)):r<0&&(r=i.length),a=0;i.charAt(a)===nd;a++);if(a===(s=i.length))n=[0],r=1;else{for(s--;i.charAt(s)===nd;)s--;for(r-=a,n=[],o=0;a<=s;a++,o++)n[o]=Number(i.charAt(a))}return r>Yx&&(n=n.splice(0,Yx-1),e=r-1,r=1),{digits:n,exponent:e,integerLen:r}}function wG(t,i,e){if(i>e)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${e}).`);let n=t.digits,r=n.length-t.integerLen,a=Math.min(Math.max(i,r),e),o=a+t.integerLen,s=n[o];if(o>0){n.splice(Math.max(t.integerLen,o));for(let C=o;C=5)if(o-1<0){for(let C=0;C>o;C--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[o-1]++;for(;r=h?L.pop():d=!1),S>=10?1:0},0);v&&(n.unshift(v),t.integerLen++)}function mg(t){let i=parseInt(t);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+t);return i}var pg=/\s+/,Kx=[],yn=(()=>{class t{_ngEl;_renderer;initialClasses=Kx;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(pg):Kx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(pg):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(pg).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||t)(k(Y),k(Ke))};static \u0275dir=V({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var _u=class{$implicit;ngForOf;index;count;constructor(i,e,n,r){this.$implicit=i,this.ngForOf=e,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ht=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((r,a,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new _u(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(a===null?void 0:a);else if(a!==null){let s=n.get(a);n.move(s,o),Zx(s,r)}});for(let r=0,a=n.length;r{let a=n.get(r.currentIndex);Zx(a,r)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(gr))};static \u0275dir=V({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Zx(t,i){t.context.$implicit=i.item}var Ae=(()=>{class t{_viewContainer;_context=new vu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Xx(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Xx(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe))};static \u0275dir=V({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),vu=class{$implicit=null;ngIf=null};function Xx(t,i){if(t&&!t.createEmbeddedView)throw new Ce(2020,!1)}var bu=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},id=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let n=e===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let n of this._defaultViews)n.enforceState(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),vg=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,n,r){this.ngSwitch=r,r._addCase(),this._view=new bu(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(id,9))};static \u0275dir=V({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),bg=(()=>{class t{constructor(e,n,r){r._addDefault(new bu(e,n))}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(id,9))};static \u0275dir=V({type:t,selectors:[["","ngSwitchDefault",""]]})}return t})();var yg=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[r,a]=e.split("."),o=r.indexOf("-")===-1?void 0:wa.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${n}${a}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(k(Y),k(au),k(Ke))};static \u0275dir=V({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Yo=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(e,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||t)(k(rt))};static \u0275dir=V({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Pe]})}return t})();function Ll(t,i){return new Ce(2100,!1)}var fg=class{createSubscription(i,e){return ir(()=>i.subscribe({next:e,error:n=>{throw n}}))}dispose(i){ir(()=>i.unsubscribe())}},hg=class{createSubscription(i,e){return i.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(i){i.unsubscribe()}},DG=new hg,SG=new fg,rd=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(qo(e))return DG;if(Z8(e))return SG;throw Ll(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(k(be,16))};static \u0275pipe=_t({name:"async",type:t,pure:!1})}return t})(),kG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Ll(t,e);return e.toLowerCase()}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"lowercase",type:t,pure:!0})}return t})(),EG=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,OG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Ll(t,e);return e.replace(EG,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"titlecase",type:t,pure:!0})}return t})();var IG="mediumDate",_M=new A(""),vM=new A(""),ec=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,a){if(e==null||e===""||e!==e)return null;try{let o=n??this.defaultOptions?.dateFormat??IG,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return uM(e,o,a||this.locale,s)}catch(o){throw Ll(t,o.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16),k(_M,24),k(vM,24))};static \u0275pipe=_t({name:"date",type:t,pure:!0})}return t})();var PG=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"json",type:t,pure:!1})}return t})();function TG(t,i){return{key:t,value:i}}var AG=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Jx;transform(e,n=Jx){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),a=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(TG(o.key,o.currentValue))})),(r||a)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(k(au,16))};static \u0275pipe=_t({name:"keyvalue",type:t,pure:!1})}return t})();function Jx(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e{class t{_locale;constructor(e){this._locale=e}transform(e,n,r){if(!bM(e))return null;r||=this._locale;try{let a=yM(e);return hM(a,r,n)}catch(a){throw Ll(t,a.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16))};static \u0275pipe=_t({name:"number",type:t,pure:!0})}return t})();var Cg=(()=>{class t{_locale;_defaultCurrencyCode;constructor(e,n="USD"){this._locale=e,this._defaultCurrencyCode=n}transform(e,n=this._defaultCurrencyCode,r="symbol",a,o){if(!bM(e))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let s=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?s=lM(s,r==="symbol"?"wide":"narrow",o):s=r);try{let d=yM(e);return Cu(d,o,s,n,a)}catch(d){throw Ll(t,d.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16),k(Lx,16))};static \u0275pipe=_t({name:"currency",type:t,pure:!0})}return t})();function bM(t){return!(t==null||t===""||t!==t)}function yM(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var fe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();function od(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[r,a]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(a)}return null}var xu="browser",CM="server";function xg(t){return t===xu}function Mu(t){return t===CM}var tc=class{};function ppe(t,i,e){return Sx(t,i,e)}var xM=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>new Mg(u(De),window)})}return t})(),Mg=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let e=VG(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let e=i.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],r-a[1])}};function VG(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let a=r.shadowRoot;if(a){let o=a.getElementById(i)||a.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var Su=new A(""),kg=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,r,a){return this._findPluginFor(n).addEventListener(e,n,r,a)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(a=>a.supports(e)),!n)throw new Ce(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(ae(Su),ae(se))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),sd=class{_doc;constructor(i){this._doc=i}manager},wu="ng-app-id";function MM(t){for(let i of t)i.remove()}function wM(t,i){let e=i.createElement("style");return e.textContent=t,e}function LG(t,i,e,n){let r=t.head?.querySelectorAll(`style[${wu}="${i}"],link[${wu}="${i}"]`);if(r)for(let a of r)a.removeAttribute(wu),a instanceof HTMLLinkElement?n.set(a.href.slice(a.href.lastIndexOf("/")+1),{usage:0,elements:[a]}):a.textContent&&e.set(a.textContent,{usage:0,elements:[a]})}function Dg(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Eg=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,r,a={}){this.doc=e,this.appId=n,this.nonce=r,this.isServer=Mu(a),LG(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,wM);n?.forEach(r=>this.addUsage(r,this.external,Dg))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let a=n.get(e);a?a.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(MM(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])MM(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,wM(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,Dg(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(wu,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(ae(De),ae(Xs),ae(F1,8),ae(Go))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),wg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Og=/%COMP%/g;var SM="%COMP%",RG=`_nghost-${SM}`,zG=`_ngcontent-${SM}`,HG=!0,NG=new A("",{providedIn:"root",factory:()=>HG});function FG(t){return zG.replace(Og,t)}function BG(t){return RG.replace(Og,t)}function kM(t,i){return i.map(e=>e.replace(Og,t))}var Ig=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,r,a,o,s,d,h=null,v=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=s,this.ngZone=d,this.nonce=h,this.tracingService=v,this.platformIsServer=Mu(s),this.defaultRenderer=new cd(e,o,d,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Ma.ShadowDom&&(n=Be(q({},n),{encapsulation:Ma.Emulated}));let r=this.getOrCreateRenderer(e,n);return r instanceof Du?r.applyToHost(e):r instanceof ld&&r.applyStyles(),r}getOrCreateRenderer(e,n){let r=this.rendererByCompId,a=r.get(n.id);if(!a){let o=this.doc,s=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,v=this.removeStylesOnCompDestroy,C=this.platformIsServer,S=this.tracingService;switch(n.encapsulation){case Ma.Emulated:a=new Du(d,h,n,this.appId,v,o,s,C,S);break;case Ma.ShadowDom:return new Sg(d,h,e,n,o,s,this.nonce,C,S);default:a=new ld(d,h,n,v,o,s,C,S);break}r.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(ae(kg),ae(Eg),ae(Xs),ae(NG),ae(De),ae(Go),ae(se),ae(F1),ae(Tl,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),cd=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,r,a){this.eventManager=i,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=a}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(wg[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(DM(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(DM(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new Ce(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let a=wg[r];a?i.setAttributeNS(a,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=wg[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(wa.DashCase|wa.Important)?i.style.setProperty(e,n,r&wa.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&wa.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=_r().getGlobalEventTarget(this.doc,i),!i))throw new Ce(5102,!1);let a=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(i,e,a)),this.eventManager.addEventListener(i,e,a,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function DM(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Sg=class extends cd{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,n,r,a,o,s,d,h){super(i,a,o,d,h),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let v=r.styles;v=kM(r.id,v);for(let S of v){let D=document.createElement("style");s&&D.setAttribute("nonce",s),D.textContent=S,this.shadowRoot.appendChild(D)}let C=r.getExternalStyles?.();if(C)for(let S of C){let D=Dg(S,a);s&&D.setAttribute("nonce",s),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ld=class extends cd{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,r,a,o,s,d,h){super(i,a,o,s,d),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let v=n.styles;this.styles=h?kM(h,v):v,this.styleUrls=n.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Du=class extends ld{contentAttr;hostAttr;constructor(i,e,n,r,a,o,s,d,h){let v=r+"-"+n.id;super(i,e,n,a,o,s,d,h,v),this.contentAttr=FG(v),this.hostAttr=BG(v)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var ku=class t extends Z1{supportsDOMEvents=!0;static makeCurrent(){og(new t)}onAndCancel(i,e,n,r){return i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=jG();return e==null?null:UG(e)}resetBaseElement(){dd=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return od(document.cookie,i)}},dd=null;function jG(){return dd=dd||document.head.querySelector("base"),dd?dd.getAttribute("href"):null}function UG(t){return new URL(t,document.baseURI).pathname}var Eu=class{addToWindow(i){ni.getAngularTestability=(n,r=!0)=>{let a=i.findTestabilityInTree(n,r);if(a==null)throw new Ce(5103,!1);return a},ni.getAllAngularTestabilities=()=>i.getAllTestabilities(),ni.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let r=ni.getAllAngularTestabilities(),a=r.length,o=function(){a--,a==0&&n()};r.forEach(s=>{s.whenStable(o)})};ni.frameworkStabilizers||(ni.frameworkStabilizers=[]),ni.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let r=i.getTestability(e);return r??(n?_r().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},$G=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),OM=(()=>{class t extends sd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r,a){return e.addEventListener(n,r,a),()=>this.removeEventListener(e,n,r,a)}removeEventListener(e,n,r,a){return e.removeEventListener(n,r,a)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),EM=["alt","control","meta","shift"],GG={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},WG={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},IM=(()=>{class t extends sd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,r,a){let o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_r().onAndCancel(e,o.domEventName,s,a))}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let a=t._normalizeKey(n.pop()),o="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),o="code."),EM.forEach(h=>{let v=n.indexOf(h);v>-1&&(n.splice(v,1),o+=h+".")}),o+=a,n.length!=0||a.length===0)return null;let d={};return d.domEventName=r,d.fullKey=o,d}static matchEventFullKeyCode(e,n){let r=GG[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(r=e.code,a="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),EM.forEach(o=>{if(o!==r){let s=WG[o];s(e)&&(a+=o+".")}}),a+=r,a===n)}static eventCallback(e,n,r){return a=>{t.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>n(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function qG(){ku.makeCurrent()}function YG(){return new Vi}function QG(){return eC(document),document}var KG=[{provide:Go,useValue:xu},{provide:M8,useValue:qG,multi:!0},{provide:De,useFactory:QG}],ZG=ag(Nx,"browser",KG);var XG=[{provide:q1,useClass:Eu},{provide:Q8,useClass:K0,deps:[se,Z0,q1]},{provide:K0,useClass:K0,deps:[se,Z0,q1]}],JG=[{provide:P0,useValue:"root"},{provide:Vi,useFactory:YG},{provide:Su,useClass:OM,multi:!0,deps:[De]},{provide:Su,useClass:IM,multi:!0,deps:[De]},Ig,Eg,kg,{provide:En,useExisting:Ig},{provide:tc,useClass:$G},[]],eW=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[...JG,...XG],imports:[fe,Fx]})}return t})();var zl=class{},ud=class{},vr=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` -`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),a=e.slice(n+1).trim();this.addHeaderEntry(r,a)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=(i.op==="a"?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":let a=i.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Iu=class{encodeKey(i){return PM(i)}encodeValue(i){return PM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function tW(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,a)),i.decodeValue(r.slice(a+1))],d=e.get(o)||[];d.push(s),e.set(o,d)}),e}var nW=/%(\d[a-f0-9])/gi,iW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function PM(t){return encodeURIComponent(t).replace(nW,(i,e)=>iW[e]??i)}function Ou(t){return`${t}`}var Z=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Iu,i.fromString){if(i.fromObject)throw new Ce(2805,!1);this.map=tW(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(Ou):[Ou(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Ou(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],r=n.indexOf(Ou(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Pu=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function rW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function TM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function AM(t){return typeof Blob<"u"&&t instanceof Blob}function VM(t){return typeof FormData<"u"&&t instanceof FormData}function aW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var LM="Content-Type",RM="Accept",HM="X-Request-URL",NM="text/plain",FM="application/json",oW=`${FM}, ${NM}, */*`,Rl=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let a;if(rW(this.method)||r?(this.body=n!==void 0?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??=new vr,this.context??=new Pu,!this.params)this.params=new Z,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),d=s===-1?"?":sS.set(D,i.setHeaders[D]),h)),i.setParams&&(v=Object.keys(i.setParams).reduce((S,D)=>S.set(D,i.setParams[D]),v)),new t(e,n,o,{params:v,headers:h,context:C,reportProgress:d,responseType:r,withCredentials:s,transferCache:a})}},nc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(nc||{}),Hl=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new vr,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Tu=class t extends Hl{constructor(i={}){super(i)}type=nc.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},md=class t extends Hl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=nc.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},pd=class extends Hl{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},sW=200,cW=204;function Pg(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var On=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof Rl)a=e;else{let d;r.headers instanceof vr?d=r.headers:d=new vr(r.headers);let h;r.params&&(r.params instanceof Z?h=r.params:h=new Z({fromObject:r.params})),a=new Rl(e,n,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let o=ie(a).pipe(Ti(d=>this.handler.handle(d)));if(e instanceof Rl||r.observe==="events")return o;let s=o.pipe(Ve(d=>d instanceof md));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(pe(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(pe(d=>d.body))}case"response":return s;default:throw new Ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Z().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Pg(r,n))}post(e,n,r={}){return this.request("POST",e,Pg(r,n))}put(e,n,r={}){return this.request("PUT",e,Pg(r,n))}static \u0275fac=function(n){return new(n||t)(ae(zl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var lW=new A("");function BM(t,i){return i(t)}function dW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function uW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var jM=new A(""),Ag=new A(""),UM=new A(""),Vg=new A("",{providedIn:"root",factory:()=>!0});function mW(){let t=null;return(i,e)=>{t===null&&(t=(u(jM,{optional:!0})??[]).reduceRight(dW,BM));let n=u(mo);if(u(Vg)){let a=n.add();return t(i,e).pipe(_a(()=>n.remove(a)))}else return t(i,e)}}var Au=(()=>{class t extends zl{backend;injector;chain=null;pendingTasks=u(mo);contributeToStability=u(Vg);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Ag),...this.injector.get(UM,[])]));this.chain=n.reduceRight((r,a)=>uW(r,a,this.injector),BM)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(_a(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(ae(ud),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var pW=/^\)\]\}',?\n/,fW=RegExp(`^${HM}:`,"m");function hW(t){return"responseURL"in t&&t.responseURL?t.responseURL:fW.test(t.getAllResponseHeaders())?t.getResponseHeader(HM):null}var Tg=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Ce(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?jt(n.\u0275loadImpl()):ie(null)).pipe(dt(()=>new Ue(a=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((ne,oe)=>o.setRequestHeader(ne,oe.join(","))),e.headers.has(RM)||o.setRequestHeader(RM,oW),!e.headers.has(LM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(LM,ne)}if(e.responseType){let ne=e.responseType.toLowerCase();o.responseType=ne!=="json"?ne:"text"}let s=e.serializeBody(),d=null,h=()=>{if(d!==null)return d;let ne=o.statusText||"OK",oe=new vr(o.getAllResponseHeaders()),ye=hW(o)||e.url;return d=new Tu({headers:oe,status:o.status,statusText:ne,url:ye}),d},v=()=>{let{headers:ne,status:oe,statusText:ye,url:qe}=h(),nt=null;oe!==cW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?sW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let Rn=nt;nt=nt.replace(pW,"");try{nt=nt!==""?JSON.parse(nt):null}catch(Ei){nt=Rn,An&&(An=!1,nt={error:Ei,text:nt})}}An?(a.next(new md({body:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0})),a.complete()):a.error(new pd({error:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0}))},C=ne=>{let{url:oe}=h(),ye=new pd({error:ne,status:o.status||0,statusText:o.statusText||"Unknown Error",url:oe||void 0});a.error(ye)},S=!1,D=ne=>{S||(a.next(h()),S=!0);let oe={type:nc.DownloadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),e.responseType==="text"&&o.responseText&&(oe.partialText=o.responseText),a.next(oe)},L=ne=>{let oe={type:nc.UploadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),a.next(oe)};return o.addEventListener("load",v),o.addEventListener("error",C),o.addEventListener("timeout",C),o.addEventListener("abort",C),e.reportProgress&&(o.addEventListener("progress",D),s!==null&&o.upload&&o.upload.addEventListener("progress",L)),o.send(s),a.next({type:nc.Sent}),()=>{o.removeEventListener("error",C),o.removeEventListener("abort",C),o.removeEventListener("load",v),o.removeEventListener("timeout",C),e.reportProgress&&(o.removeEventListener("progress",D),s!==null&&o.upload&&o.upload.removeEventListener("progress",L)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(ae(tc))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),$M=new A(""),gW="XSRF-TOKEN",_W=new A("",{providedIn:"root",factory:()=>gW}),vW="X-XSRF-TOKEN",bW=new A("",{providedIn:"root",factory:()=>vW}),fd=class{},yW=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=od(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(ae(De),ae(_W))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function CW(t,i){let e=t.url.toLowerCase();if(!u($M)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(fd).getToken(),r=u(bW);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var Lg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Lg||{});function xW(t,i){return{\u0275kind:t,\u0275providers:i}}function MW(...t){let i=[On,Tg,Au,{provide:zl,useExisting:Au},{provide:ud,useFactory:()=>u(lW,{optional:!0})??u(Tg)},{provide:Ag,useValue:CW,multi:!0},{provide:$M,useValue:!0},{provide:fd,useClass:yW}];for(let e of t)i.push(...e.\u0275providers);return wl(i)}var zM=new A("");function wW(){return xW(Lg.LegacyInterceptors,[{provide:zM,useFactory:mW},{provide:Ag,useExisting:zM,multi:!0}])}var GM=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=ae(DW),r},providedIn:"root"})}return t})(),DW=(()=>{class t extends hd{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case di.NONE:return n;case di.HTML:return po(n,"HTML")?Pr(n):k8(this._doc,String(n)).toString();case di.STYLE:return po(n,"Style")?Pr(n):n;case di.SCRIPT:if(po(n,"Script"))return Pr(n);throw new Ce(5200,!1);case di.URL:return po(n,"URL")?Pr(n):B0(String(n));case di.RESOURCE_URL:if(po(n,"ResourceURL"))return Pr(n);throw new Ce(5201,!1);default:throw new Ce(5202,!1)}}bypassSecurityTrustHtml(e){return cC(e)}bypassSecurityTrustStyle(e){return lC(e)}bypassSecurityTrustScript(e){return dC(e)}bypassSecurityTrustUrl(e){return uC(e)}bypassSecurityTrustResourceUrl(e){return mC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nl=class{},WM=(()=>{class t extends Nl{getTranslation(e){return ie({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),_d=class{},qM=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function Lu(t,i){if(t===i)return!0;if(t===null||i===null)return!1;if(t!==t&&i!==i)return!0;let e=typeof t,n=typeof i,r,a,o;if(e==n&&e=="object")if(Array.isArray(t)){if(!Array.isArray(i))return!1;if((r=t.length)==i.length){for(a=0;a{bd(i[n])?n in t?e[n]=zg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):zg({},i)}function Hg(t,i){let e=i.split(".");i="";do i+=e.shift(),Qo(t)&&Qo(t[i])&&(bd(t[i])||Ug(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function kW(t,i,e){let n=i.split("."),r=t;for(let a=0;a{class t extends Fl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if($g(e))return this.interpolateString(e,n);if(SW(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=Hg(n,a);return Qo(o)?o:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Bl=class{},QM=(()=>{class t extends Bl{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),vd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new j;onLangChange=new j;onDefaultLangChange=new j},Ng=new A("ISOLATE_TRANSLATE_SERVICE"),Fg=new A("USE_DEFAULT_LANG"),Bg=new A("DEFAULT_LANGUAGE"),jg=new A("USE_EXTEND"),gd=t=>Gn(t)?t:ie(t),br=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,n,r,a,o,s=!0,d=!1,h=!1,v){this.store=e,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.extend=h,d&&(this.store=new vd),v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=e),n.pipe(Le(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return ie(this.translations[e]);this.currentLang||(this.currentLang=e);let n=this.retrieveTranslations(e);return Gn(n)?(n.pipe(Le(1)).subscribe(()=>{this.changeLang(e)}),n):(this.changeLang(e),ie(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(Vs(1),Le(1));return this.loadingTranslations=n.pipe(pe(r=>this.compiler.compileTranslations(r,e)),Vs(1),Le(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?q(q({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let a=this.compiler.compileTranslations(n,e);(r||this.extend)&&this.translations[e]?this.translations[e]=zg(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(r=>!this.langs.includes(r));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,r){let a;if(e&&(a=this.runInterpolation(Hg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(Hg(this.translations[this.defaultLang],n),r)),a===void 0){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:n}runInterpolation(e,n){if(Ug(e))return e.map(r=>this.runInterpolation(r,n));if(bd(e)){let r={};for(let a in e){let o=this.runInterpolation(e[a],n);o!==void 0&&(r[a]=o)}return r}else return this.parser.interpolate(e,n)}getParsedResult(e,n,r){if(n instanceof Array){let a={},o=!1;for(let d of n)a[d]=this.getParsedResultForKey(e,d,r),o=o||Gn(a[d]);if(!o)return a;let s=n.map(d=>gd(a[d]));return no(s).pipe(pe(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ti(r=>gd(this.getParsedResult(r,e,n)))):gd(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}stream(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}instant(e,n){if(!Qo(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,n);return Gn(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,n,r=this.currentLang){kW(this.translations[r],e,$g(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(ae(vd),ae(Nl),ae(Bl),ae(Fl),ae(_d),ae(Fg),ae(Ng),ae(jg),ae(Bg))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ee=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);Gn(o)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Lu(e,this.lastKey)&&Lu(n,this.lastParams))return this.value;let r;if(Qo(n[0])&&n.length)if($g(n[0])&&n[0].length){let a=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else bd(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(k(br,16),k(be,16))};static \u0275pipe=_t({name:"translate",type:t,pure:!1});static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var Gg=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:WM},e.compiler||{provide:Bl,useClass:QM},e.parser||{provide:Fl,useClass:YM},e.missingTranslationHandler||{provide:_d,useClass:qM},vd,{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:WM},e.compiler||{provide:Bl,useClass:QM},e.parser||{provide:Fl,useClass:YM},e.missingTranslationHandler||{provide:_d,useClass:qM},{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Wg={mifos_x:{version:"251105",hash:"b6f43a8"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Wg.mifos_x.version,hash:Wg.mifos_x.hash,fineractPlatformTenantId:Xt.fineractPlatformTenantId||"default",fineractPlatformTenantIds:Xt.fineractPlatformTenantIds||"default",baseApiUrls:Xt.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:Xt.fineractApiUrl||(Xt.fineractApiUrls?.length>0?Xt.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:Xt.oauthServerUrl||Xt.fineractApiUrl+Xt.apiProvider,allowServerSwitch:Xt.allowServerSwitch||"true",apiProvider:Xt.apiProvider||"/fineract-provider/api",apiVersion:Xt.apiVersion||"/v1",serverUrl:"",oauth:{enabled:Xt.oauthServerEnabled||!1,serverUrl:Xt.oauthServerUrl||"",appId:Xt.oauthAppId||""},enableRememberMe:!1,warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:Xt.defaultLanguage||"en-US",supportedLanguages:Xt.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:Xt.preloadClients||!0,defaultCharDelimiter:Xt.defaultCharDelimiter||",",displayBackEndInfo:Xt.displayBackEndInfo||"true",displayTenantSelector:Xt.displayTenantSelector||"true",waitTimeForNotifications:Xt.waitTimeForNotifications||60,waitTimeForCOBCatchUp:Xt.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:Xt.sessionIdleTimeout||3e5}},httpCacheEnabled:Xt.httpCacheEnabled||!1,vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:Xt.minPasswordLength||12,OIDC:{oidcServerEnabled:window.env.oidcServerEnabled||!1,oidcBaseUrl:window.env.oidcBaseUrl||"",oidcClientId:window.env.oidcClientId||"",oidcApiUrl:window.env.oidcApiUrl||"",oidcFrontUrl:window.env.oidcFrontUrl||""}};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var KM=(()=>{class t{transform(e,n,r,a){if(e){if(n==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),n==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),n==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),n==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return n==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"accountsFilter",type:t,pure:!0})}}return t})();var ZM=(()=>{class t{transform(e,n,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||n.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesFilter",type:t,pure:!0})}}return t})();var XM=(()=>{class t{transform(e,n){return e&&(e=e.filter(r=>r.penalty===n)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var Ko=(()=>{class t{constructor(){this.alertEvent=new j}alert(e){this.alertEvent.emit(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ul=i3(zu());var Li=(()=>{class t{static{this.DEFAULT_DATEFORMAT="yyyy-MM-dd"}static{this.DEFAULT_DATETIMEFORMAT="yyyy-MM-dd HH:mm"}constructor(e){this.datePipe=e}getDate(e){return this.datePipe.transform(e,"YYYY-MM-DD")}formatDate(e,n){return new ec(this.language.code).transform(e,n)}formatDateAsString(e,n){return(0,Ul.default)(e).format(n)}parseDate(e){return e instanceof Array?(0,Ul.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,Ul.default)(e).toDate()}parseDatetime(e){return(0,Ul.default)(e).toDate()}convertToDate(e,n){return(0,Ul.default)(e).toDate()}get language(){return localStorage.getItem("mifosXLanguage")?JSON.parse(localStorage.getItem("mifosXLanguage")):"en"}calculateDiff(e,n){return Math.floor((Date.UTC(n.getFullYear(),n.getMonth(),n.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/(1e3*60*60*24))}static{this.\u0275fac=function(n){return new(n||t)(ae(ec))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Yg(t,i){if(!t)return i;try{return JSON.parse(t)}catch{return i}}function Hu(t,i){if(!t)return i;try{let e=JSON.parse(t);return e&&typeof e=="object"&&!Array.isArray(e)?e:i}catch{return i}}function Qg(t,i=[]){if(!t)return i;try{let e=JSON.parse(t);return Array.isArray(e)?e:i}catch{return i}}var Nt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,n){this.alertService=e,this.dateUtils=n,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){let e=Yg(localStorage.getItem("mifosXDateFormat"),null);return typeof e=="string"&&e.length>0?e:"dd MMMM yyyy"}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),Hu(localStorage.getItem("mifosXLanguage"),void 0)}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return Qg(localStorage.getItem("mifosXServers"),[])}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return Qg(localStorage.getItem("mifosXTenantIdentifiers"),[])}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(n=>{if(n.name===t.businessDateConfigName)return n.enabled})}getBusinessDates(e,n){e.some(r=>{if(r.type===n){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:n+" Set",message:this.dateUtils.formatDate(a,this.dateFormat)});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",JSON.stringify(e))}get themeDarkEnabled(){return Yg(localStorage.getItem("mifosXThemeDarkEnabled"),!1)}static{this.\u0275fac=function(n){return new(n||t)(ae(Ko),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nu=i3(zu());var yr=(()=>{class t{constructor(e){this.settingsService=e}transform(e,n){let r=this.settingsService.dateFormat.replace("dd","DD");if(typeof e>"u")return"";let a;return Nu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Nu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Nu.default)(e),n==null?a.format(r):a.format(n)}static{this.\u0275fac=function(n){return new(n||t)(k(Nt,16))}}static{this.\u0275pipe=_t({name:"dateFormat",type:t,pure:!0})}}return t})();var Cd=i3(zu());var Ia=(()=>{class t{transform(e,n){if(e==null||e==="")return"";let r;if(Array.isArray(e)){let[o,s,d,h,v,C]=e;h!=null?r=(0,Cd.default)({year:o,month:(s??1)-1,date:d,hour:h,minute:v??0,second:C??0}):r=(0,Cd.default)({year:o,month:(s??1)-1,date:d})}else typeof e=="number"&&e<1e12?r=Cd.default.unix(e):r=(0,Cd.default)(e);let a=n??"YYYY-MM-DDTHH:mm:ssZ";return r.format(a)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"datetimeFormat",type:t,pure:!0})}}return t})();var Fu=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"externalIdentifier",type:t,pure:!0})}}return t})();var JM=(()=>{class t{transform(e,n,r,a){let o;return n&&(o=n.find(s=>s[r]===e)),o?o[a]:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"find",type:t,pure:!0})}}return t})();var Zo=(()=>{class t{constructor(e,n){this.decimalFormat=e,this.settingsService=n}transform(e,n){if(e===void 0)return n||"";let r=this.settingsService.decimals,a=`1.${r}-${r}`;return this.decimalFormat.transform(e,a)}static{this.\u0275fac=function(n){return new(n||t)(k(ad,16),k(Nt,16))}}static{this.\u0275pipe=_t({name:"formatNumber",type:t,pure:!0})}}return t})();var nw=i3(tw());var ju=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return nw.json(e)}catch{return e}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"prettyPrint",type:t,pure:!0})}}return t})();var iw=(()=>{class t{transform(e){return{true:"status-active",false:"status-deleted",Active:"status-active",Block:"status-block","charges.StatusType.active.true":"status-active","loanStatusType.submitted.and.pending.approval":"status-pending","loanStatusType.approved":"status-approved","loanStatusType.active":"status-active","loanStatusType.overpaid":"status-overpaid","loanStatusType.chargeoff":"status-chargeoff","loanStatusType.activeOverdue":"status-active-overdue","loanSubStatusType.contractTermination":"subStatus-contract-termination","savingsAccountStatusType.submitted.and.pending.approval":"status-pending","savingsAccountStatusType.approved":"status-approved","savingsAccountStatusType.active":"status-active","savingsAccountStatusType.activeInactive":"status-active-overdue","savingsAccountStatusType.activeDormant":"status-active-overdue","savingsAccountStatusType.matured":"status-matured","shareAccountStatusType.submitted.and.pending.approval":"status-pending","shareAccountStatusType.approved":"status-approved","shareAccountStatusType.active":"status-active","shareAccountStatusType.rejected":"status-rejected","loanProduct.active":"status-active","loanProduct.inActive":"status-inactive","clientStatusType.pending":"status-pending","clientStatusType.closed":"status-closed","clientStatusType.rejected":"status-rejected","clientStatusType.withdraw":"status-withdraw","clientStatusType.active":"status-active","clientStatusType.submitted.and.pending.approval":"status-pending","clientStatusTYpe.approved":"status-approved","clientStatusType.transfer.in.progress":"status-transfer-progress","clientStatusType.transfer.on.hold":"status-transfer-hold","groupingStatusType.active":"status-active","groupingStatusType.pending":"status-pending","groupingStatusType.submitted.and.pending.approval":"status-pending","groupingStatusType.approved":"status-approved","smsCampaignStatus.active":"status-active","smsCampaignStatus.pending":"status-pending","smsCampaignStatus.closed":"status-closed","purchasedSharesStatusType.applied":"status-pending"}[e]??"status-unknown"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"statusLookup",type:t,pure:!0})}}return t})();var ic=(()=>{class t{constructor(e){this.translateService=e}transform(e,n,r="labels"){let a=`${r}.${n}.${e}`;return this.translateService.instant(a)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"translateKey",type:t,pure:!0})}}return t})();var Uu=(()=>{class t{transform(e,n){if(e.length<=40)return e;let r=e.substring(0,30);return n&&(r=e.substring(0,n)),r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"truncateText",type:t,pure:!0})}}return t})();var aw=(()=>{class t{transform(e){e=decodeURIComponent(e);let n=e.slice(1).split("/");if(e.includes("?")){let a=n.pop(),o=a.slice(0,a.indexOf("?"));n.push(o)}return n.map(a=>a.split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" ")).join(" | ")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"urlToString",type:t,pure:!0})}}return t})();var $u=(()=>{class t{constructor(e){this.translateService=e}transform(e,...n){if(e==null)return null;let r=e?"Yes":"No";return this.translateService.instant("labels.buttons."+r)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"yesNo",type:t,pure:!0})}}return t})();var ow=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[iw,KM,ZM,XM,JM,aw,yr,Ia,Fu,Zo,$u,ju,ic,Uu],imports:[fe]})}}return t})();var bo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Gu="Authorization",PW="Fineract-Platform-TenantId",sw="Fineract-Platform-TFA-Token",cw=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,n){return this.settingsService.tenantIdentifier&&(bo.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:bo.headers}),n.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?bo.headers[Gu]=`Bearer ${e}`:bo.headers[Gu]=`Basic ${e}`}setTwoFactorAccessToken(e){bo.headers[sw]=e}removeAuthorization(){delete bo.headers[Gu]}removeAuthorizationTenant(){delete bo.headers[Gu],delete bo.headers[PW]}removeTwoFactorAuthorization(){delete bo.headers[sw]}static{this.\u0275fac=function(n){return new(n||t)(ae(Nt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Wu=(()=>{class t{changePassword(e,n){return this.http.put(`/users/${e}`,n)}constructor(e,n,r){this.http=e,this.alertService=n,this.authenticationInterceptor=r,this.userLoggedIn$=new Je(!1),this.isAuthenticated$=this.userLoggedIn$.asObservable(),this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token),this.userLoggedIn=!0,this.userLoggedIn$.next(!0)}}login(e){this.alertService.alert({type:"Authentication Start",message:"Please wait..."});let n=mt.enableRememberMe===!0;if(this.rememberMe=n?e.remember:!1,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let r=new Z;r=r.set("username",e.username),r=r.set("password",e.password),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("grant_type","password"),r=r.set("remember_me",this.rememberMe?"true":"false");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).pipe(pe(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(pe(r=>(this.onLoginSuccess(r),ie(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let n=new vr;n=n.set("Authorization","bearer "+e.access_token),this.http.get(`${mt.serverUrl}/userdetails`,{headers:n}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let n=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,this.userLoggedIn$.next(!0),e.rememberMe=this.rememberMe,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,n=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,this.userLoggedIn$.next(!1),ie(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(pe(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let n={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(n).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(n){return new(n||t)(ae(On),ae(Ko),ae(cw))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Xo=(()=>{class t{constructor(e,n,r){this.templateRef=e,this.viewContainer=n,this.authenticationService=r;let a=this.authenticationService.getCredentials();this.userPermissions=a.permissions}set mifosxHasPermission(e){if(typeof e!="string")throw new Error("hasPermission value must be a string");this.viewContainer.clear(),this.hasPermission(e)&&this.viewContainer.createEmbeddedView(this.templateRef)}hasPermission(e){return e=e.trim(),this.userPermissions.includes("ALL_FUNCTIONS")?!0:e!==""?e.substring(0,5)==="READ_"&&this.userPermissions.includes("ALL_FUNCTIONS_READ")?!0:!!this.userPermissions.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)(k(Qe),k(rt),k(Wu))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var _w=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y))};static \u0275dir=V({type:t})}return t})(),vw=(()=>{class t extends _w{static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,features:[ce]})}return t})(),Yn=new A("");var AW={provide:Yn,useExisting:wt(()=>ri),multi:!0};function VW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var LW=new A(""),ri=(()=>{class t extends _w{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!VW())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y),k(LW,8))};static \u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[ue([AW]),ce]})}return t})();function Jg(t){return t==null||e5(t)===0}function e5(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ai=new A(""),ac=new A(""),RW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vn=class{static min(i){return bw(i)}static max(i){return yw(i)}static required(i){return Cw(i)}static requiredTrue(i){return zW(i)}static email(i){return HW(i)}static minLength(i){return xw(i)}static maxLength(i){return Mw(i)}static pattern(i){return NW(i)}static nullValidator(i){return Yu()}static compose(i){return Ow(i)}static composeAsync(i){return Iw(i)}};function bw(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function Cw(t){return Jg(t.value)?{required:!0}:null}function zW(t){return t.value===!0?null:{required:!0}}function HW(t){return Jg(t.value)||RW.test(t.value)?null:{email:!0}}function xw(t){return i=>{let e=i.value?.length??e5(i.value);return e===null||e===0?null:e{let e=i.value?.length??e5(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function NW(t){if(!t)return Yu;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Jg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Yu(t){return null}function ww(t){return t!=null}function Dw(t){return qo(t)?jt(t):t}function Sw(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function kw(t,i){return i.map(e=>e(t))}function FW(t){return!t.validate}function Ew(t){return t.map(i=>FW(i)?i:e=>i.validate(e))}function Ow(t){if(!t)return null;let i=t.filter(ww);return i.length==0?null:function(e){return Sw(kw(e,i))}}function t5(t){return t!=null?Ow(Ew(t)):null}function Iw(t){if(!t)return null;let i=t.filter(ww);return i.length==0?null:function(e){let n=kw(e,i).map(Dw);return no(n).pipe(pe(Sw))}}function n5(t){return t!=null?Iw(Ew(t)):null}function dw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Pw(t){return t._rawValidators}function Tw(t){return t._rawAsyncValidators}function Kg(t){return t?Array.isArray(t)?t:[t]:[]}function Qu(t,i){return Array.isArray(t)?t.includes(i):t===i}function uw(t,i){let e=Kg(i);return Kg(t).forEach(r=>{Qu(e,r)||e.push(r)}),e}function mw(t,i){return Kg(i).filter(e=>!Qu(t,e))}var Ku=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=t5(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=n5(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ii=class extends Ku{name;get formDirective(){return null}get path(){return null}},Nn=class extends Ku{_parent=null;name=null;valueAccessor=null},Zu=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},BW={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},o6e=Be(q({},BW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Zu{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(Nn,2))};static \u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[ce]})}return t})(),Lr=(()=>{class t extends Zu{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(ii,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[ce]})}return t})();var xd="VALID",qu="INVALID",Gl="PENDING",Md="DISABLED",es=class{},Xu=class extends es{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Dd=class extends es{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Sd=class extends es{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Wl=class extends es{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Ju=class extends es{source;constructor(i){super(),this.source=i}},em=class extends es{source;constructor(i){super(),this.source=i}};function i5(t){return(rm(t)?t.validators:t)||null}function jW(t){return Array.isArray(t)?t5(t):t||null}function r5(t,i){return(rm(i)?i.asyncValidators:t)||null}function UW(t){return Array.isArray(t)?n5(t):t||null}function rm(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Aw(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new Ce(1e3,"");if(!n[e])throw new Ce(1001,"")}function Vw(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new Ce(1002,"")})}var ql=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return ir(this.statusReactive)}set status(i){ir(()=>this.statusReactive.set(i))}_status=Zr(()=>this.statusReactive());statusReactive=zn(void 0);get valid(){return this.status===xd}get invalid(){return this.status===qu}get pending(){return this.status==Gl}get disabled(){return this.status===Md}get enabled(){return this.status!==Md}errors;get pristine(){return ir(this.pristineReactive)}set pristine(i){ir(()=>this.pristineReactive.set(i))}_pristine=Zr(()=>this.pristineReactive());pristineReactive=zn(!0);get dirty(){return!this.pristine}get touched(){return ir(this.touchedReactive)}set touched(i){ir(()=>this.touchedReactive.set(i))}_touched=Zr(()=>this.touchedReactive());touchedReactive=zn(!1);get untouched(){return!this.touched}_events=new N;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(uw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(uw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(mw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(mw(i,this._rawAsyncValidators))}hasValidator(i){return Qu(this._rawValidators,i)}hasAsyncValidator(i){return Qu(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Sd(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Sd(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Dd(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Dd(!0,n))}markAsPending(i={}){this.status=Gl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Wl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Be(q({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Md,this.errors=null,this._forEachChild(r=>{r.disable(Be(q({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Xu(this.value,n)),this._events.next(new Wl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=xd,this._forEachChild(n=>{n.enable(Be(q({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xd||this.status===Gl)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Xu(this.value,e)),this._events.next(new Wl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Be(q({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Md:xd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Gl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=Dw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new Wl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Md:this.errors?qu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gl)?Gl:this._anyControlsHaveStatus(qu)?qu:xd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),r&&this._events.next(new Dd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Sd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){rm(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=jW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=UW(this._rawAsyncValidators)}},rc=class extends ql{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){Vw(this,!0,i),Object.keys(i).forEach(n=>{Aw(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Lw=rc;var Zg=class extends rc{};var Yl=new A("",{providedIn:"root",factory:()=>am}),am="always";function om(t,i){return[...i.path,t]}function kd(t,i,e=am){a5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),GW(t,i),qW(t,i),WW(t,i),$W(t,i)}function tm(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),im(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function nm(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function $W(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function a5(t,i){let e=Pw(t);i.validator!==null?t.setValidators(dw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Tw(t);i.asyncValidator!==null?t.setAsyncValidators(dw(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();nm(i._rawValidators,r),nm(i._rawAsyncValidators,r)}function im(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Pw(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(i.asyncValidator!==null){let r=Tw(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let n=()=>{};return nm(i._rawValidators,n),nm(i._rawAsyncValidators,n),e}function GW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Rw(t,i)})}function WW(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Rw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Rw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qW(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function zw(t,i){t==null,a5(t,i)}function YW(t,i){return im(t,i)}function o5(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function QW(t){return Object.getPrototypeOf(t.constructor)===vw}function Hw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function s5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ri?e=a:QW(a)?n=a:r=a}),r||n||e||null}function KW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var ZW={provide:ii,useExisting:wt(()=>Ql)},wd=Promise.resolve(),Ql=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this.submittedReactive)}_submitted=Zr(()=>this.submittedReactive());submittedReactive=zn(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new rc({},t5(e),n5(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),kd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path),r=new rc({});zw(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){wd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Hw(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Ju(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new em(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([ZW]),ce]})}return t})();function pw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function fw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Jo=class extends ql{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(i5(e),r5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rm(e)&&(e.nonNullable||e.initialValueIsDefault)&&(fw(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){pw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){pw(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){fw(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},xi=Jo,XW=t=>t instanceof Jo,JW=(()=>{class t extends ii{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return om(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,standalone:!1,features:[ce]})}return t})();var eq={provide:Nn,useExisting:wt(()=>tq)},hw=Promise.resolve(),tq=(()=>{class t extends Nn{_changeDetectorRef;callSetDisabledState;control=new Jo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new j;constructor(e,n,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=s5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),o5(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){kd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){hw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);hw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?om(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(k(ii,9),k(ai,10),k(ac,10),k(Yn,10),k(be,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ue([eq]),ce,Pe]})}return t})();var ts=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),nq={provide:Yn,useExisting:wt(()=>iq),multi:!0},iq=(()=>{class t extends vw{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[ue([nq]),ce]})}return t})();var c5=new A(""),rq={provide:Nn,useExisting:wt(()=>mi)},mi=(()=>{class t extends Nn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=s5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&tm(n,this,!1),kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}o5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&tm(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yn,10),k(c5,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ue([rq]),ce,Pe]})}return t})(),aq={provide:ii,useExisting:wt(()=>Qn)},Qn=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zr(()=>this._submittedReactive());_submittedReactive=zn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new j;constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(im(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return kd(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){tm(e.control||null,e,!1),KW(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),Hw(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ju(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new em(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(tm(n||null,e),XW(r)&&(kd(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);zw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&YW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){a5(this.form,this),this._oldForm&&im(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([aq]),ce,Pe]})}return t})(),oq={provide:ii,useExisting:wt(()=>Nw)},Nw=(()=>{class t extends JW{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Bw(this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ue([oq]),ce]})}return t})(),sq={provide:ii,useExisting:wt(()=>Fw)},Fw=(()=>{class t extends ii{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Bw(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return om(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ue([sq]),ce]})}return t})();function Bw(t){return!(t instanceof Nw)&&!(t instanceof Qn)&&!(t instanceof Fw)}var cq={provide:Nn,useExisting:wt(()=>Cr)},Cr=(()=>{class t extends Nn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=s5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),o5(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return om(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10),k(Yn,10),k(c5,8))};static \u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ue([cq]),ce,Pe]})}return t})();function jw(t){return typeof t=="number"?t:parseInt(t,10)}function Uw(t){return typeof t=="number"?t:parseFloat(t)}var Ed=(()=>{class t{_validator=Yu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Yu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,features:[Pe]})}return t})(),lq={provide:ai,useExisting:wt(()=>dq),multi:!0},dq=(()=>{class t extends Ed{max;inputName="max";normalizeInput=e=>Uw(e);createValidator=e=>yw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[ue([lq]),ce]})}return t})(),uq={provide:ai,useExisting:wt(()=>mq),multi:!0},mq=(()=>{class t extends Ed{min;inputName="min";normalizeInput=e=>Uw(e);createValidator=e=>bw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[ue([uq]),ce]})}return t})(),pq={provide:ai,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Ed{required;inputName="required";normalizeInput=B;createValidator=e=>Cw;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&ee("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ue([pq]),ce]})}return t})();var fq={provide:ai,useExisting:wt(()=>hq),multi:!0},hq=(()=>{class t extends Ed{minlength;inputName="minlength";normalizeInput=e=>jw(e);createValidator=e=>xw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ue([fq]),ce]})}return t})(),gq={provide:ai,useExisting:wt(()=>_q),multi:!0},_q=(()=>{class t extends Ed{maxlength;inputName="maxlength";normalizeInput=e=>jw(e);createValidator=e=>Mw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ue([gq]),ce]})}return t})();var $w=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Xg=class extends ql{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Vw(this,!1,i),i.forEach((n,r)=>{Aw(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function gw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var vq=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),a={};return gw(n)?a=n:n!==null&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new rc(r,a)}record(e,n=null){let r=this._reduceControls(e);return new Zg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(gw(n)?a=n:(a.validators=n,a.asyncValidators=r),new Jo(e,Be(q({},a),{nonNullable:!0}))):new Jo(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Xg(a,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof Jo)return e;if(e instanceof ql)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(n,r,a)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ns=(()=>{class t extends vq{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Yl,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[$w]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:c5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yl,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[$w]})}return t})();var Ww=(()=>{class t{set _(e){let n=e.split(":");this.currencyCode=n[0],this.displaySymbol=n.length>1?n[1]:"$",this.digitsInfo=n.length>2?n[2]:"1.2-2"}blur(e){e.value=this.parse(e.value)}focus(e){typeof this.control.value>"u"?e.value="":e.value=this.control.value}ngOnInit(){setTimeout(()=>{this.el.nativeElement.value=this.parse(this.el.nativeElement.value)})}constructor(e,n,r){this.locale=e,this.el=n,this.control=r,this.format="N0",this.digitsInfo="1.0-0",this.sufix=""}parse(e){return Cu(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(n){return new(n||t)(k(Ea),k(Y),k(Nn))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxFormatAmount",""]],hostBindings:function(n,r){n&1&&z("blur",function(o){return r.blur(o.target)})("focus",function(o){return r.focus(o.target)})},inputs:{sufix:"sufix",_:[0,"mifosxFormatAmount","_"]}})}}return t})();var m6e=(()=>{class t{constructor(e,n){this.control=e,this.el=n}onFocus(){this.control.control?.markAsTouched(),this.control.control?.updateValueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)(k(Nn),k(Y))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxValidateOnFocus",""]],hostBindings:function(n,r){n&1&&z("focus",function(){return r.onFocus()})}})}}return t})();var qw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({imports:[fe]})}}return t})();var Rr=class{constructor(i={}){this.controlType=i.controlType||"",this.controlName=i.controlName||"",this.label=i.label||"",this.value=i.value===void 0?"":i.value,this.required=!!i.required,this.order=i.order===void 0?1:i.order,this.validators=i.validators===void 0?[]:i.validators,this.min=i.min===void 0?null:i.min,this.max=i.max===void 0?null:i.max}};function yo(t){return t.buttons===0||t.detail===0}function Co(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var l5;function Yw(){if(l5==null){let t=typeof document<"u"?document.head:null;l5=!!(t&&(t.createShadowRoot||t.attachShadow))}return l5}function oc(t){if(Yw()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Ri(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function In(t){return t.composedPath?t.composedPath()[0]:t.target}function Dt(t,i,e,n,r){let a=parseInt(rg.major),o=parseInt(rg.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(i,e,n,r):(i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)})}var d5;try{d5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d5=!1}var He=(()=>{class t{_platformId=u(Go);isBrowser=this._platformId?xg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||d5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Od;function Qw(){if(Od==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Od=!0}))}finally{Od=Od||!1}return Od}function is(t){return Qw()?t:!!t.capture}function sn(t,i=0){return sm(t)?Number(t):arguments.length===2?i:0}function sm(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Cn(t){return t instanceof Y?t.nativeElement:t}var Kw=new A("cdk-input-modality-detector-options"),Zw={ignoreKeys:[18,17,224,91,16]},Xw=650,u5={passive:!0,capture:!0},Jw=(()=>{class t{_platform=u(He);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Je(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=In(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Co(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=In(e)};constructor(){let e=u(se),n=u(De),r=u(Kw,{optional:!0});if(this._options=q(q({},Zw),r),this.modalityDetected=this._modality.pipe(Ls(1)),this.modalityChanged=this.modalityDetected.pipe(sl()),this._platform.isBrowser){let a=u(En).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Dt(a,n,"keydown",this._onKeydown,u5),Dt(a,n,"mousedown",this._onMousedown,u5),Dt(a,n,"touchstart",this._onTouchstart,u5)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Id=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Id||{}),eD=new A("cdk-focus-monitor-default-options"),cm=is({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(Jw);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(De,{optional:!0});_stopInputModalityDetector=new N;constructor(){let e=u(eD,{optional:!0});this._detectionMode=e?.detectionMode||Id.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=In(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=Cn(e);if(!this._platform.isBrowser||r.nodeType!==1)return ie();let a=oc(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;let s={checkChildren:n,subject:new N,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Cn(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let a=Cn(e),o=this._getDocument().activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,d])=>this._originChanged(s,n,d)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Id.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Id.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Xw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),a=In(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,cm),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,cm)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cm),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cm),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o{class t{_elementRef=u(Y);_focusMonitor=u(qt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new j;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var lm=new WeakMap,Ze=(()=>{class t{_appRef;_injector=u(Te);_environmentInjector=u(fn);load(e){let n=this._appRef=this._appRef||this._injector.get(bi),r=lm.get(n);r||(r={loaders:new Set,refs:[]},lm.set(n,r),n.onDestroy(()=>{lm.get(n)?.refs.forEach(a=>a.destroy()),lm.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(ou(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} +`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),a=e.slice(n+1).trim();this.addHeaderEntry(r,a)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=(i.op==="a"?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":let a=i.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(a=>a.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Iu=class{encodeKey(i){return PM(i)}encodeValue(i){return PM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function tW(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let a=r.indexOf("="),[o,s]=a==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,a)),i.decodeValue(r.slice(a+1))],d=e.get(o)||[];d.push(s),e.set(o,d)}),e}var nW=/%(\d[a-f0-9])/gi,iW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function PM(t){return encodeURIComponent(t).replace(nW,(i,e)=>iW[e]??i)}function Ou(t){return`${t}`}var Z=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Iu,i.fromString){if(i.fromObject)throw new Ce(2805,!1);this.map=tW(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(Ou):[Ou(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Ou(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],r=n.indexOf(Ou(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Pu=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function rW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function TM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function AM(t){return typeof Blob<"u"&&t instanceof Blob}function VM(t){return typeof FormData<"u"&&t instanceof FormData}function aW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var LM="Content-Type",RM="Accept",HM="X-Request-URL",NM="text/plain",FM="application/json",oW=`${FM}, ${NM}, */*`,Rl=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let a;if(rW(this.method)||r?(this.body=n!==void 0?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??=new vr,this.context??=new Pu,!this.params)this.params=new Z,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),d=s===-1?"?":sS.set(D,i.setHeaders[D]),h)),i.setParams&&(v=Object.keys(i.setParams).reduce((S,D)=>S.set(D,i.setParams[D]),v)),new t(e,n,o,{params:v,headers:h,context:C,reportProgress:d,responseType:r,withCredentials:s,transferCache:a})}},nc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(nc||{}),Hl=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new vr,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Tu=class t extends Hl{constructor(i={}){super(i)}type=nc.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},md=class t extends Hl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=nc.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},pd=class extends Hl{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},sW=200,cW=204;function Pg(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var On=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof Rl)a=e;else{let d;r.headers instanceof vr?d=r.headers:d=new vr(r.headers);let h;r.params&&(r.params instanceof Z?h=r.params:h=new Z({fromObject:r.params})),a=new Rl(e,n,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let o=ie(a).pipe(Ti(d=>this.handler.handle(d)));if(e instanceof Rl||r.observe==="events")return o;let s=o.pipe(Ve(d=>d instanceof md));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(pe(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(pe(d=>d.body))}case"response":return s;default:throw new Ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Z().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Pg(r,n))}post(e,n,r={}){return this.request("POST",e,Pg(r,n))}put(e,n,r={}){return this.request("PUT",e,Pg(r,n))}static \u0275fac=function(n){return new(n||t)(ae(zl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var lW=new A("");function BM(t,i){return i(t)}function dW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function uW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var jM=new A(""),Ag=new A(""),UM=new A(""),Vg=new A("",{providedIn:"root",factory:()=>!0});function mW(){let t=null;return(i,e)=>{t===null&&(t=(u(jM,{optional:!0})??[]).reduceRight(dW,BM));let n=u(mo);if(u(Vg)){let a=n.add();return t(i,e).pipe(_a(()=>n.remove(a)))}else return t(i,e)}}var Au=(()=>{class t extends zl{backend;injector;chain=null;pendingTasks=u(mo);contributeToStability=u(Vg);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Ag),...this.injector.get(UM,[])]));this.chain=n.reduceRight((r,a)=>uW(r,a,this.injector),BM)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(_a(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(ae(ud),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var pW=/^\)\]\}',?\n/,fW=RegExp(`^${HM}:`,"m");function hW(t){return"responseURL"in t&&t.responseURL?t.responseURL:fW.test(t.getAllResponseHeaders())?t.getResponseHeader(HM):null}var Tg=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Ce(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?jt(n.\u0275loadImpl()):ie(null)).pipe(dt(()=>new Ue(a=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((ne,oe)=>o.setRequestHeader(ne,oe.join(","))),e.headers.has(RM)||o.setRequestHeader(RM,oW),!e.headers.has(LM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(LM,ne)}if(e.responseType){let ne=e.responseType.toLowerCase();o.responseType=ne!=="json"?ne:"text"}let s=e.serializeBody(),d=null,h=()=>{if(d!==null)return d;let ne=o.statusText||"OK",oe=new vr(o.getAllResponseHeaders()),ye=hW(o)||e.url;return d=new Tu({headers:oe,status:o.status,statusText:ne,url:ye}),d},v=()=>{let{headers:ne,status:oe,statusText:ye,url:qe}=h(),nt=null;oe!==cW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?sW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let Rn=nt;nt=nt.replace(pW,"");try{nt=nt!==""?JSON.parse(nt):null}catch(Ei){nt=Rn,An&&(An=!1,nt={error:Ei,text:nt})}}An?(a.next(new md({body:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0})),a.complete()):a.error(new pd({error:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0}))},C=ne=>{let{url:oe}=h(),ye=new pd({error:ne,status:o.status||0,statusText:o.statusText||"Unknown Error",url:oe||void 0});a.error(ye)},S=!1,D=ne=>{S||(a.next(h()),S=!0);let oe={type:nc.DownloadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),e.responseType==="text"&&o.responseText&&(oe.partialText=o.responseText),a.next(oe)},L=ne=>{let oe={type:nc.UploadProgress,loaded:ne.loaded};ne.lengthComputable&&(oe.total=ne.total),a.next(oe)};return o.addEventListener("load",v),o.addEventListener("error",C),o.addEventListener("timeout",C),o.addEventListener("abort",C),e.reportProgress&&(o.addEventListener("progress",D),s!==null&&o.upload&&o.upload.addEventListener("progress",L)),o.send(s),a.next({type:nc.Sent}),()=>{o.removeEventListener("error",C),o.removeEventListener("abort",C),o.removeEventListener("load",v),o.removeEventListener("timeout",C),e.reportProgress&&(o.removeEventListener("progress",D),s!==null&&o.upload&&o.upload.removeEventListener("progress",L)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(ae(tc))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),$M=new A(""),gW="XSRF-TOKEN",_W=new A("",{providedIn:"root",factory:()=>gW}),vW="X-XSRF-TOKEN",bW=new A("",{providedIn:"root",factory:()=>vW}),fd=class{},yW=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=od(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(ae(De),ae(_W))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function CW(t,i){let e=t.url.toLowerCase();if(!u($M)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(fd).getToken(),r=u(bW);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var Lg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Lg||{});function xW(t,i){return{\u0275kind:t,\u0275providers:i}}function MW(...t){let i=[On,Tg,Au,{provide:zl,useExisting:Au},{provide:ud,useFactory:()=>u(lW,{optional:!0})??u(Tg)},{provide:Ag,useValue:CW,multi:!0},{provide:$M,useValue:!0},{provide:fd,useClass:yW}];for(let e of t)i.push(...e.\u0275providers);return wl(i)}var zM=new A("");function wW(){return xW(Lg.LegacyInterceptors,[{provide:zM,useFactory:mW},{provide:Ag,useExisting:zM,multi:!0}])}var GM=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=ae(DW),r},providedIn:"root"})}return t})(),DW=(()=>{class t extends hd{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case di.NONE:return n;case di.HTML:return po(n,"HTML")?Pr(n):k8(this._doc,String(n)).toString();case di.STYLE:return po(n,"Style")?Pr(n):n;case di.SCRIPT:if(po(n,"Script"))return Pr(n);throw new Ce(5200,!1);case di.URL:return po(n,"URL")?Pr(n):B0(String(n));case di.RESOURCE_URL:if(po(n,"ResourceURL"))return Pr(n);throw new Ce(5201,!1);default:throw new Ce(5202,!1)}}bypassSecurityTrustHtml(e){return cC(e)}bypassSecurityTrustStyle(e){return lC(e)}bypassSecurityTrustScript(e){return dC(e)}bypassSecurityTrustUrl(e){return uC(e)}bypassSecurityTrustResourceUrl(e){return mC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nl=class{},WM=(()=>{class t extends Nl{getTranslation(e){return ie({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),_d=class{},qM=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function Lu(t,i){if(t===i)return!0;if(t===null||i===null)return!1;if(t!==t&&i!==i)return!0;let e=typeof t,n=typeof i,r,a,o;if(e==n&&e=="object")if(Array.isArray(t)){if(!Array.isArray(i))return!1;if((r=t.length)==i.length){for(a=0;a{bd(i[n])?n in t?e[n]=zg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):zg({},i)}function Hg(t,i){let e=i.split(".");i="";do i+=e.shift(),Qo(t)&&Qo(t[i])&&(bd(t[i])||Ug(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function kW(t,i,e){let n=i.split("."),r=t;for(let a=0;a{class t extends Fl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if($g(e))return this.interpolateString(e,n);if(SW(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=Hg(n,a);return Qo(o)?o:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Bl=class{},QM=(()=>{class t extends Bl{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),vd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new j;onLangChange=new j;onDefaultLangChange=new j},Ng=new A("ISOLATE_TRANSLATE_SERVICE"),Fg=new A("USE_DEFAULT_LANG"),Bg=new A("DEFAULT_LANGUAGE"),jg=new A("USE_EXTEND"),gd=t=>Gn(t)?t:ie(t),br=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,n,r,a,o,s=!0,d=!1,h=!1,v){this.store=e,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.extend=h,d&&(this.store=new vd),v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=e),n.pipe(Le(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return ie(this.translations[e]);this.currentLang||(this.currentLang=e);let n=this.retrieveTranslations(e);return Gn(n)?(n.pipe(Le(1)).subscribe(()=>{this.changeLang(e)}),n):(this.changeLang(e),ie(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(Vs(1),Le(1));return this.loadingTranslations=n.pipe(pe(r=>this.compiler.compileTranslations(r,e)),Vs(1),Le(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?q(q({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let a=this.compiler.compileTranslations(n,e);(r||this.extend)&&this.translations[e]?this.translations[e]=zg(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(r=>!this.langs.includes(r));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,r){let a;if(e&&(a=this.runInterpolation(Hg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(Hg(this.translations[this.defaultLang],n),r)),a===void 0){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:n}runInterpolation(e,n){if(Ug(e))return e.map(r=>this.runInterpolation(r,n));if(bd(e)){let r={};for(let a in e){let o=this.runInterpolation(e[a],n);o!==void 0&&(r[a]=o)}return r}else return this.parser.interpolate(e,n)}getParsedResult(e,n,r){if(n instanceof Array){let a={},o=!1;for(let d of n)a[d]=this.getParsedResultForKey(e,d,r),o=o||Gn(a[d]);if(!o)return a;let s=n.map(d=>gd(a[d]));return no(s).pipe(pe(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ti(r=>gd(this.getParsedResult(r,e,n)))):gd(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}stream(e,n){if(!Qo(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return gd(a)})))}instant(e,n){if(!Qo(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,n);return Gn(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,n,r=this.currentLang){kW(this.translations[r],e,$g(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(ae(vd),ae(Nl),ae(Bl),ae(Fl),ae(_d),ae(Fg),ae(Ng),ae(jg),ae(Bg))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ee=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);Gn(o)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Lu(e,this.lastKey)&&Lu(n,this.lastParams))return this.value;let r;if(Qo(n[0])&&n.length)if($g(n[0])&&n[0].length){let a=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else bd(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(k(br,16),k(be,16))};static \u0275pipe=_t({name:"translate",type:t,pure:!1});static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var Gg=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:WM},e.compiler||{provide:Bl,useClass:QM},e.parser||{provide:Fl,useClass:YM},e.missingTranslationHandler||{provide:_d,useClass:qM},vd,{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Nl,useClass:WM},e.compiler||{provide:Bl,useClass:QM},e.parser||{provide:Fl,useClass:YM},e.missingTranslationHandler||{provide:_d,useClass:qM},{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Wg={mifos_x:{version:"251105",hash:"f55dea6"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Wg.mifos_x.version,hash:Wg.mifos_x.hash,fineractPlatformTenantId:Xt.fineractPlatformTenantId||"default",fineractPlatformTenantIds:Xt.fineractPlatformTenantIds||"default",baseApiUrls:Xt.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:Xt.fineractApiUrl||(Xt.fineractApiUrls?.length>0?Xt.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:Xt.oauthServerUrl||Xt.fineractApiUrl+Xt.apiProvider,allowServerSwitch:Xt.allowServerSwitch||"true",apiProvider:Xt.apiProvider||"/fineract-provider/api",apiVersion:Xt.apiVersion||"/v1",serverUrl:"",oauth:{enabled:Xt.oauthServerEnabled||!1,serverUrl:Xt.oauthServerUrl||"",appId:Xt.oauthAppId||""},enableRememberMe:!1,warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:Xt.defaultLanguage||"en-US",supportedLanguages:Xt.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:Xt.preloadClients||!0,defaultCharDelimiter:Xt.defaultCharDelimiter||",",displayBackEndInfo:Xt.displayBackEndInfo||"true",displayTenantSelector:Xt.displayTenantSelector||"true",waitTimeForNotifications:Xt.waitTimeForNotifications||60,waitTimeForCOBCatchUp:Xt.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:Xt.sessionIdleTimeout||3e5}},httpCacheEnabled:Xt.httpCacheEnabled||!1,vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:Xt.minPasswordLength||12,OIDC:{oidcServerEnabled:window.env.oidcServerEnabled||!1,oidcBaseUrl:window.env.oidcBaseUrl||"",oidcClientId:window.env.oidcClientId||"",oidcApiUrl:window.env.oidcApiUrl||"",oidcFrontUrl:window.env.oidcFrontUrl||""}};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var KM=(()=>{class t{transform(e,n,r,a){if(e){if(n==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),n==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),n==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),n==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return n==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"accountsFilter",type:t,pure:!0})}}return t})();var ZM=(()=>{class t{transform(e,n,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||n.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesFilter",type:t,pure:!0})}}return t})();var XM=(()=>{class t{transform(e,n){return e&&(e=e.filter(r=>r.penalty===n)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var Ko=(()=>{class t{constructor(){this.alertEvent=new j}alert(e){this.alertEvent.emit(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ul=i3(zu());var Li=(()=>{class t{static{this.DEFAULT_DATEFORMAT="yyyy-MM-dd"}static{this.DEFAULT_DATETIMEFORMAT="yyyy-MM-dd HH:mm"}constructor(e){this.datePipe=e}getDate(e){return this.datePipe.transform(e,"YYYY-MM-DD")}formatDate(e,n){return new ec(this.language.code).transform(e,n)}formatDateAsString(e,n){return(0,Ul.default)(e).format(n)}parseDate(e){return e instanceof Array?(0,Ul.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,Ul.default)(e).toDate()}parseDatetime(e){return(0,Ul.default)(e).toDate()}convertToDate(e,n){return(0,Ul.default)(e).toDate()}get language(){return localStorage.getItem("mifosXLanguage")?JSON.parse(localStorage.getItem("mifosXLanguage")):"en"}calculateDiff(e,n){return Math.floor((Date.UTC(n.getFullYear(),n.getMonth(),n.getDate())-Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))/(1e3*60*60*24))}static{this.\u0275fac=function(n){return new(n||t)(ae(ec))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Yg(t,i){if(!t)return i;try{return JSON.parse(t)}catch{return i}}function Hu(t,i){if(!t)return i;try{let e=JSON.parse(t);return e&&typeof e=="object"&&!Array.isArray(e)?e:i}catch{return i}}function Qg(t,i=[]){if(!t)return i;try{let e=JSON.parse(t);return Array.isArray(e)?e:i}catch{return i}}var Nt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,n){this.alertService=e,this.dateUtils=n,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){let e=Yg(localStorage.getItem("mifosXDateFormat"),null);return typeof e=="string"&&e.length>0?e:"dd MMMM yyyy"}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),Hu(localStorage.getItem("mifosXLanguage"),void 0)}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return Qg(localStorage.getItem("mifosXServers"),[])}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return Qg(localStorage.getItem("mifosXTenantIdentifiers"),[])}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(n=>{if(n.name===t.businessDateConfigName)return n.enabled})}getBusinessDates(e,n){e.some(r=>{if(r.type===n){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:n+" Set",message:this.dateUtils.formatDate(a,this.dateFormat)});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",JSON.stringify(e))}get themeDarkEnabled(){return Yg(localStorage.getItem("mifosXThemeDarkEnabled"),!1)}static{this.\u0275fac=function(n){return new(n||t)(ae(Ko),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nu=i3(zu());var yr=(()=>{class t{constructor(e){this.settingsService=e}transform(e,n){let r=this.settingsService.dateFormat.replace("dd","DD");if(typeof e>"u")return"";let a;return Nu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Nu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Nu.default)(e),n==null?a.format(r):a.format(n)}static{this.\u0275fac=function(n){return new(n||t)(k(Nt,16))}}static{this.\u0275pipe=_t({name:"dateFormat",type:t,pure:!0})}}return t})();var Cd=i3(zu());var Ia=(()=>{class t{transform(e,n){if(e==null||e==="")return"";let r;if(Array.isArray(e)){let[o,s,d,h,v,C]=e;h!=null?r=(0,Cd.default)({year:o,month:(s??1)-1,date:d,hour:h,minute:v??0,second:C??0}):r=(0,Cd.default)({year:o,month:(s??1)-1,date:d})}else typeof e=="number"&&e<1e12?r=Cd.default.unix(e):r=(0,Cd.default)(e);let a=n??"YYYY-MM-DDTHH:mm:ssZ";return r.format(a)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"datetimeFormat",type:t,pure:!0})}}return t})();var Fu=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"externalIdentifier",type:t,pure:!0})}}return t})();var JM=(()=>{class t{transform(e,n,r,a){let o;return n&&(o=n.find(s=>s[r]===e)),o?o[a]:""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"find",type:t,pure:!0})}}return t})();var Zo=(()=>{class t{constructor(e,n){this.decimalFormat=e,this.settingsService=n}transform(e,n){if(e===void 0)return n||"";let r=this.settingsService.decimals,a=`1.${r}-${r}`;return this.decimalFormat.transform(e,a)}static{this.\u0275fac=function(n){return new(n||t)(k(ad,16),k(Nt,16))}}static{this.\u0275pipe=_t({name:"formatNumber",type:t,pure:!0})}}return t})();var nw=i3(tw());var ju=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return nw.json(e)}catch{return e}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"prettyPrint",type:t,pure:!0})}}return t})();var iw=(()=>{class t{transform(e){return{true:"status-active",false:"status-deleted",Active:"status-active",Block:"status-block","charges.StatusType.active.true":"status-active","loanStatusType.submitted.and.pending.approval":"status-pending","loanStatusType.approved":"status-approved","loanStatusType.active":"status-active","loanStatusType.overpaid":"status-overpaid","loanStatusType.chargeoff":"status-chargeoff","loanStatusType.activeOverdue":"status-active-overdue","loanSubStatusType.contractTermination":"subStatus-contract-termination","savingsAccountStatusType.submitted.and.pending.approval":"status-pending","savingsAccountStatusType.approved":"status-approved","savingsAccountStatusType.active":"status-active","savingsAccountStatusType.activeInactive":"status-active-overdue","savingsAccountStatusType.activeDormant":"status-active-overdue","savingsAccountStatusType.matured":"status-matured","shareAccountStatusType.submitted.and.pending.approval":"status-pending","shareAccountStatusType.approved":"status-approved","shareAccountStatusType.active":"status-active","shareAccountStatusType.rejected":"status-rejected","loanProduct.active":"status-active","loanProduct.inActive":"status-inactive","clientStatusType.pending":"status-pending","clientStatusType.closed":"status-closed","clientStatusType.rejected":"status-rejected","clientStatusType.withdraw":"status-withdraw","clientStatusType.active":"status-active","clientStatusType.submitted.and.pending.approval":"status-pending","clientStatusTYpe.approved":"status-approved","clientStatusType.transfer.in.progress":"status-transfer-progress","clientStatusType.transfer.on.hold":"status-transfer-hold","groupingStatusType.active":"status-active","groupingStatusType.pending":"status-pending","groupingStatusType.submitted.and.pending.approval":"status-pending","groupingStatusType.approved":"status-approved","smsCampaignStatus.active":"status-active","smsCampaignStatus.pending":"status-pending","smsCampaignStatus.closed":"status-closed","purchasedSharesStatusType.applied":"status-pending"}[e]??"status-unknown"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"statusLookup",type:t,pure:!0})}}return t})();var ic=(()=>{class t{constructor(e){this.translateService=e}transform(e,n,r="labels"){let a=`${r}.${n}.${e}`;return this.translateService.instant(a)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"translateKey",type:t,pure:!0})}}return t})();var Uu=(()=>{class t{transform(e,n){if(e.length<=40)return e;let r=e.substring(0,30);return n&&(r=e.substring(0,n)),r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"truncateText",type:t,pure:!0})}}return t})();var aw=(()=>{class t{transform(e){e=decodeURIComponent(e);let n=e.slice(1).split("/");if(e.includes("?")){let a=n.pop(),o=a.slice(0,a.indexOf("?"));n.push(o)}return n.map(a=>a.split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" ")).join(" | ")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"urlToString",type:t,pure:!0})}}return t})();var $u=(()=>{class t{constructor(e){this.translateService=e}transform(e,...n){if(e==null)return null;let r=e?"Yes":"No";return this.translateService.instant("labels.buttons."+r)}static{this.\u0275fac=function(n){return new(n||t)(k(br,16))}}static{this.\u0275pipe=_t({name:"yesNo",type:t,pure:!0})}}return t})();var ow=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[iw,KM,ZM,XM,JM,aw,yr,Ia,Fu,Zo,$u,ju,ic,Uu],imports:[fe]})}}return t})();var bo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Gu="Authorization",PW="Fineract-Platform-TenantId",sw="Fineract-Platform-TFA-Token",cw=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,n){return this.settingsService.tenantIdentifier&&(bo.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:bo.headers}),n.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?bo.headers[Gu]=`Bearer ${e}`:bo.headers[Gu]=`Basic ${e}`}setTwoFactorAccessToken(e){bo.headers[sw]=e}removeAuthorization(){delete bo.headers[Gu]}removeAuthorizationTenant(){delete bo.headers[Gu],delete bo.headers[PW]}removeTwoFactorAuthorization(){delete bo.headers[sw]}static{this.\u0275fac=function(n){return new(n||t)(ae(Nt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Wu=(()=>{class t{changePassword(e,n){return this.http.put(`/users/${e}`,n)}constructor(e,n,r){this.http=e,this.alertService=n,this.authenticationInterceptor=r,this.userLoggedIn$=new Je(!1),this.isAuthenticated$=this.userLoggedIn$.asObservable(),this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token),this.userLoggedIn=!0,this.userLoggedIn$.next(!0)}}login(e){this.alertService.alert({type:"Authentication Start",message:"Please wait..."});let n=mt.enableRememberMe===!0;if(this.rememberMe=n?e.remember:!1,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let r=new Z;r=r.set("username",e.username),r=r.set("password",e.password),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("grant_type","password"),r=r.set("remember_me",this.rememberMe?"true":"false");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).pipe(pe(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(pe(r=>(this.onLoginSuccess(r),ie(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let n=new vr;n=n.set("Authorization","bearer "+e.access_token),this.http.get(`${mt.serverUrl}/userdetails`,{headers:n}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let n=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,this.userLoggedIn$.next(!0),e.rememberMe=this.rememberMe,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,n=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,this.userLoggedIn$.next(!1),ie(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(pe(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let n={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(n).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(n){return new(n||t)(ae(On),ae(Ko),ae(cw))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Xo=(()=>{class t{constructor(e,n,r){this.templateRef=e,this.viewContainer=n,this.authenticationService=r;let a=this.authenticationService.getCredentials();this.userPermissions=a.permissions}set mifosxHasPermission(e){if(typeof e!="string")throw new Error("hasPermission value must be a string");this.viewContainer.clear(),this.hasPermission(e)&&this.viewContainer.createEmbeddedView(this.templateRef)}hasPermission(e){return e=e.trim(),this.userPermissions.includes("ALL_FUNCTIONS")?!0:e!==""?e.substring(0,5)==="READ_"&&this.userPermissions.includes("ALL_FUNCTIONS_READ")?!0:!!this.userPermissions.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)(k(Qe),k(rt),k(Wu))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var _w=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y))};static \u0275dir=V({type:t})}return t})(),vw=(()=>{class t extends _w{static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,features:[ce]})}return t})(),Yn=new A("");var AW={provide:Yn,useExisting:wt(()=>ri),multi:!0};function VW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var LW=new A(""),ri=(()=>{class t extends _w{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!VW())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(n){return new(n||t)(k(Ke),k(Y),k(LW,8))};static \u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[ue([AW]),ce]})}return t})();function Jg(t){return t==null||e5(t)===0}function e5(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ai=new A(""),ac=new A(""),RW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vn=class{static min(i){return bw(i)}static max(i){return yw(i)}static required(i){return Cw(i)}static requiredTrue(i){return zW(i)}static email(i){return HW(i)}static minLength(i){return xw(i)}static maxLength(i){return Mw(i)}static pattern(i){return NW(i)}static nullValidator(i){return Yu()}static compose(i){return Ow(i)}static composeAsync(i){return Iw(i)}};function bw(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function Cw(t){return Jg(t.value)?{required:!0}:null}function zW(t){return t.value===!0?null:{required:!0}}function HW(t){return Jg(t.value)||RW.test(t.value)?null:{email:!0}}function xw(t){return i=>{let e=i.value?.length??e5(i.value);return e===null||e===0?null:e{let e=i.value?.length??e5(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function NW(t){if(!t)return Yu;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Jg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Yu(t){return null}function ww(t){return t!=null}function Dw(t){return qo(t)?jt(t):t}function Sw(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function kw(t,i){return i.map(e=>e(t))}function FW(t){return!t.validate}function Ew(t){return t.map(i=>FW(i)?i:e=>i.validate(e))}function Ow(t){if(!t)return null;let i=t.filter(ww);return i.length==0?null:function(e){return Sw(kw(e,i))}}function t5(t){return t!=null?Ow(Ew(t)):null}function Iw(t){if(!t)return null;let i=t.filter(ww);return i.length==0?null:function(e){let n=kw(e,i).map(Dw);return no(n).pipe(pe(Sw))}}function n5(t){return t!=null?Iw(Ew(t)):null}function dw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Pw(t){return t._rawValidators}function Tw(t){return t._rawAsyncValidators}function Kg(t){return t?Array.isArray(t)?t:[t]:[]}function Qu(t,i){return Array.isArray(t)?t.includes(i):t===i}function uw(t,i){let e=Kg(i);return Kg(t).forEach(r=>{Qu(e,r)||e.push(r)}),e}function mw(t,i){return Kg(i).filter(e=>!Qu(t,e))}var Ku=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=t5(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=n5(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ii=class extends Ku{name;get formDirective(){return null}get path(){return null}},Nn=class extends Ku{_parent=null;name=null;valueAccessor=null},Zu=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},BW={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},o6e=Be(q({},BW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Zu{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(Nn,2))};static \u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[ce]})}return t})(),Lr=(()=>{class t extends Zu{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(ii,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&te("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[ce]})}return t})();var xd="VALID",qu="INVALID",Gl="PENDING",Md="DISABLED",es=class{},Xu=class extends es{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Dd=class extends es{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Sd=class extends es{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Wl=class extends es{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Ju=class extends es{source;constructor(i){super(),this.source=i}},em=class extends es{source;constructor(i){super(),this.source=i}};function i5(t){return(rm(t)?t.validators:t)||null}function jW(t){return Array.isArray(t)?t5(t):t||null}function r5(t,i){return(rm(i)?i.asyncValidators:t)||null}function UW(t){return Array.isArray(t)?n5(t):t||null}function rm(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Aw(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new Ce(1e3,"");if(!n[e])throw new Ce(1001,"")}function Vw(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new Ce(1002,"")})}var ql=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return ir(this.statusReactive)}set status(i){ir(()=>this.statusReactive.set(i))}_status=Zr(()=>this.statusReactive());statusReactive=zn(void 0);get valid(){return this.status===xd}get invalid(){return this.status===qu}get pending(){return this.status==Gl}get disabled(){return this.status===Md}get enabled(){return this.status!==Md}errors;get pristine(){return ir(this.pristineReactive)}set pristine(i){ir(()=>this.pristineReactive.set(i))}_pristine=Zr(()=>this.pristineReactive());pristineReactive=zn(!0);get dirty(){return!this.pristine}get touched(){return ir(this.touchedReactive)}set touched(i){ir(()=>this.touchedReactive.set(i))}_touched=Zr(()=>this.touchedReactive());touchedReactive=zn(!1);get untouched(){return!this.touched}_events=new N;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(uw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(uw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(mw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(mw(i,this._rawAsyncValidators))}hasValidator(i){return Qu(this._rawValidators,i)}hasAsyncValidator(i){return Qu(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Sd(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new Sd(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Be(q({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Dd(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new Dd(!0,n))}markAsPending(i={}){this.status=Gl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Wl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Be(q({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Md,this.errors=null,this._forEachChild(r=>{r.disable(Be(q({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Xu(this.value,n)),this._events.next(new Wl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=xd,this._forEachChild(n=>{n.enable(Be(q({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Be(q({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xd||this.status===Gl)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Xu(this.value,e)),this._events.next(new Wl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Be(q({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Md:xd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Gl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=Dw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new Wl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Md:this.errors?qu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gl)?Gl:this._anyControlsHaveStatus(qu)?qu:xd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),r&&this._events.next(new Dd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Sd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){rm(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=jW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=UW(this._rawAsyncValidators)}},rc=class extends ql{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){Vw(this,!0,i),Object.keys(i).forEach(n=>{Aw(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Lw=rc;var Zg=class extends rc{};var Yl=new A("",{providedIn:"root",factory:()=>am}),am="always";function om(t,i){return[...i.path,t]}function kd(t,i,e=am){a5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),GW(t,i),qW(t,i),WW(t,i),$W(t,i)}function tm(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),im(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function nm(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function $W(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function a5(t,i){let e=Pw(t);i.validator!==null?t.setValidators(dw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Tw(t);i.asyncValidator!==null?t.setAsyncValidators(dw(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();nm(i._rawValidators,r),nm(i._rawAsyncValidators,r)}function im(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Pw(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.validator);a.length!==r.length&&(e=!0,t.setValidators(a))}}if(i.asyncValidator!==null){let r=Tw(t);if(Array.isArray(r)&&r.length>0){let a=r.filter(o=>o!==i.asyncValidator);a.length!==r.length&&(e=!0,t.setAsyncValidators(a))}}}let n=()=>{};return nm(i._rawValidators,n),nm(i._rawAsyncValidators,n),e}function GW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Rw(t,i)})}function WW(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Rw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Rw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qW(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function zw(t,i){t==null,a5(t,i)}function YW(t,i){return im(t,i)}function o5(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function QW(t){return Object.getPrototypeOf(t.constructor)===vw}function Hw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function s5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ri?e=a:QW(a)?n=a:r=a}),r||n||e||null}function KW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var ZW={provide:ii,useExisting:wt(()=>Ql)},wd=Promise.resolve(),Ql=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this.submittedReactive)}_submitted=Zr(()=>this.submittedReactive());submittedReactive=zn(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new rc({},t5(e),n5(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),kd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path),r=new rc({});zw(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){wd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Hw(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Ju(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new em(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([ZW]),ce]})}return t})();function pw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function fw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Jo=class extends ql{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(i5(e),r5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rm(e)&&(e.nonNullable||e.initialValueIsDefault)&&(fw(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){pw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){pw(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){fw(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},xi=Jo,XW=t=>t instanceof Jo,JW=(()=>{class t extends ii{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return om(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,standalone:!1,features:[ce]})}return t})();var eq={provide:Nn,useExisting:wt(()=>tq)},hw=Promise.resolve(),tq=(()=>{class t extends Nn{_changeDetectorRef;callSetDisabledState;control=new Jo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new j;constructor(e,n,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=s5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),o5(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){kd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){hw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);hw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?om(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(k(ii,9),k(ai,10),k(ac,10),k(Yn,10),k(be,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ue([eq]),ce,Pe]})}return t})();var ts=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),nq={provide:Yn,useExisting:wt(()=>iq),multi:!0},iq=(()=>{class t extends vw{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&z("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[ue([nq]),ce]})}return t})();var c5=new A(""),rq={provide:Nn,useExisting:wt(()=>mi)},mi=(()=>{class t extends Nn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=s5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&tm(n,this,!1),kd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}o5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&tm(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yn,10),k(c5,8),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ue([rq]),ce,Pe]})}return t})(),aq={provide:ii,useExisting:wt(()=>Qn)},Qn=(()=>{class t extends ii{callSetDisabledState;get submitted(){return ir(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zr(()=>this._submittedReactive());_submittedReactive=zn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new j;constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(im(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return kd(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){tm(e.control||null,e,!1),KW(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),Hw(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ju(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new em(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(tm(n||null,e),XW(r)&&(kd(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);zw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&YW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){a5(this.form,this),this._oldForm&&im(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(k(ai,10),k(ac,10),k(Yl,8))};static \u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&z("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([aq]),ce,Pe]})}return t})(),oq={provide:ii,useExisting:wt(()=>Nw)},Nw=(()=>{class t extends JW{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Bw(this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ue([oq]),ce]})}return t})(),sq={provide:ii,useExisting:wt(()=>Fw)},Fw=(()=>{class t extends ii{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Bw(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return om(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10))};static \u0275dir=V({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ue([sq]),ce]})}return t})();function Bw(t){return!(t instanceof Nw)&&!(t instanceof Qn)&&!(t instanceof Fw)}var cq={provide:Nn,useExisting:wt(()=>Cr)},Cr=(()=>{class t extends Nn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new j;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=s5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),o5(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return om(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(k(ii,13),k(ai,10),k(ac,10),k(Yn,10),k(c5,8))};static \u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ue([cq]),ce,Pe]})}return t})();function jw(t){return typeof t=="number"?t:parseInt(t,10)}function Uw(t){return typeof t=="number"?t:parseFloat(t)}var Ed=(()=>{class t{_validator=Yu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Yu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,features:[Pe]})}return t})(),lq={provide:ai,useExisting:wt(()=>dq),multi:!0},dq=(()=>{class t extends Ed{max;inputName="max";normalizeInput=e=>Uw(e);createValidator=e=>yw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[ue([lq]),ce]})}return t})(),uq={provide:ai,useExisting:wt(()=>mq),multi:!0},mq=(()=>{class t extends Ed{min;inputName="min";normalizeInput=e=>Uw(e);createValidator=e=>bw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[ue([uq]),ce]})}return t})(),pq={provide:ai,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Ed{required;inputName="required";normalizeInput=B;createValidator=e=>Cw;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&ee("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ue([pq]),ce]})}return t})();var fq={provide:ai,useExisting:wt(()=>hq),multi:!0},hq=(()=>{class t extends Ed{minlength;inputName="minlength";normalizeInput=e=>jw(e);createValidator=e=>xw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ue([fq]),ce]})}return t})(),gq={provide:ai,useExisting:wt(()=>_q),multi:!0},_q=(()=>{class t extends Ed{maxlength;inputName="maxlength";normalizeInput=e=>jw(e);createValidator=e=>Mw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ee("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ue([gq]),ce]})}return t})();var $w=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Xg=class extends ql{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Vw(this,!1,i),i.forEach((n,r)=>{Aw(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function gw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var vq=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),a={};return gw(n)?a=n:n!==null&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new rc(r,a)}record(e,n=null){let r=this._reduceControls(e);return new Zg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(gw(n)?a=n:(a.validators=n,a.asyncValidators=r),new Jo(e,Be(q({},a),{nonNullable:!0}))):new Jo(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Xg(a,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof Jo)return e;if(e instanceof ql)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(n,r,a)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ns=(()=>{class t extends vq{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Yl,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[$w]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:c5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yl,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[$w]})}return t})();var Ww=(()=>{class t{set _(e){let n=e.split(":");this.currencyCode=n[0],this.displaySymbol=n.length>1?n[1]:"$",this.digitsInfo=n.length>2?n[2]:"1.2-2"}blur(e){e.value=this.parse(e.value)}focus(e){typeof this.control.value>"u"?e.value="":e.value=this.control.value}ngOnInit(){setTimeout(()=>{this.el.nativeElement.value=this.parse(this.el.nativeElement.value)})}constructor(e,n,r){this.locale=e,this.el=n,this.control=r,this.format="N0",this.digitsInfo="1.0-0",this.sufix=""}parse(e){return Cu(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(n){return new(n||t)(k(Ea),k(Y),k(Nn))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxFormatAmount",""]],hostBindings:function(n,r){n&1&&z("blur",function(o){return r.blur(o.target)})("focus",function(o){return r.focus(o.target)})},inputs:{sufix:"sufix",_:[0,"mifosxFormatAmount","_"]}})}}return t})();var m6e=(()=>{class t{constructor(e,n){this.control=e,this.el=n}onFocus(){this.control.control?.markAsTouched(),this.control.control?.updateValueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)(k(Nn),k(Y))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxValidateOnFocus",""]],hostBindings:function(n,r){n&1&&z("focus",function(){return r.onFocus()})}})}}return t})();var qw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({imports:[fe]})}}return t})();var Rr=class{constructor(i={}){this.controlType=i.controlType||"",this.controlName=i.controlName||"",this.label=i.label||"",this.value=i.value===void 0?"":i.value,this.required=!!i.required,this.order=i.order===void 0?1:i.order,this.validators=i.validators===void 0?[]:i.validators,this.min=i.min===void 0?null:i.min,this.max=i.max===void 0?null:i.max}};function yo(t){return t.buttons===0||t.detail===0}function Co(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var l5;function Yw(){if(l5==null){let t=typeof document<"u"?document.head:null;l5=!!(t&&(t.createShadowRoot||t.attachShadow))}return l5}function oc(t){if(Yw()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Ri(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function In(t){return t.composedPath?t.composedPath()[0]:t.target}function Dt(t,i,e,n,r){let a=parseInt(rg.major),o=parseInt(rg.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(i,e,n,r):(i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)})}var d5;try{d5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d5=!1}var He=(()=>{class t{_platformId=u(Go);isBrowser=this._platformId?xg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||d5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Od;function Qw(){if(Od==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Od=!0}))}finally{Od=Od||!1}return Od}function is(t){return Qw()?t:!!t.capture}function sn(t,i=0){return sm(t)?Number(t):arguments.length===2?i:0}function sm(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Cn(t){return t instanceof Y?t.nativeElement:t}var Kw=new A("cdk-input-modality-detector-options"),Zw={ignoreKeys:[18,17,224,91,16]},Xw=650,u5={passive:!0,capture:!0},Jw=(()=>{class t{_platform=u(He);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Je(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=In(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Co(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=In(e)};constructor(){let e=u(se),n=u(De),r=u(Kw,{optional:!0});if(this._options=q(q({},Zw),r),this.modalityDetected=this._modality.pipe(Ls(1)),this.modalityChanged=this.modalityDetected.pipe(sl()),this._platform.isBrowser){let a=u(En).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Dt(a,n,"keydown",this._onKeydown,u5),Dt(a,n,"mousedown",this._onMousedown,u5),Dt(a,n,"touchstart",this._onTouchstart,u5)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Id=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Id||{}),eD=new A("cdk-focus-monitor-default-options"),cm=is({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(Jw);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(De,{optional:!0});_stopInputModalityDetector=new N;constructor(){let e=u(eD,{optional:!0});this._detectionMode=e?.detectionMode||Id.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=In(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=Cn(e);if(!this._platform.isBrowser||r.nodeType!==1)return ie();let a=oc(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;let s={checkChildren:n,subject:new N,rootNode:a};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=Cn(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let a=Cn(e),o=this._getDocument().activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,d])=>this._originChanged(s,n,d)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Id.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Id.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Xw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),a=In(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,cm),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,cm)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cm),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cm),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o{class t{_elementRef=u(Y);_focusMonitor=u(qt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new j;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var lm=new WeakMap,Ze=(()=>{class t{_appRef;_injector=u(Te);_environmentInjector=u(fn);load(e){let n=this._appRef=this._appRef||this._injector.get(bi),r=lm.get(n);r||(r={loaders:new Set,refs:[]},lm.set(n,r),n.onDestroy(()=>{lm.get(n)?.refs.forEach(a=>a.destroy()),lm.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(ou(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} `],encapsulation:2,changeDetection:0})}return t})();function rs(t){return Array.isArray(t)?t:[t]}var tD=new Set,sc,iD=(()=>{class t{_platform=u(He);_nonce=u(F1,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yq}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&bq(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bq(t,i){if(!tD.has(t))try{sc||(sc=document.createElement("style"),i&&sc.setAttribute("nonce",i),sc.setAttribute("type","text/css"),document.head.appendChild(sc)),sc.sheet&&(sc.sheet.insertRule(`@media ${t} {body{ }}`,0),tD.add(t))}catch(e){console.error(e)}}function yq(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var cc=(()=>{class t{_mediaMatcher=u(iD);_zone=u(se);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return nD(rs(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=nD(rs(e)).map(o=>this._registerQuery(o).observable),a=ti(r);return a=gi(a.pipe(Le(1)),a.pipe(Ls(1),$r(0))),a.pipe(pe(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:d,query:h})=>{s.matches=s.matches||d,s.breakpoints[h]=d}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),a={observable:new Ue(o=>{let s=d=>this._zone.run(()=>o.next(d));return n.addListener(s),()=>{n.removeListener(s)}}).pipe($e(n),pe(({matches:o})=>({query:e,matches:o})),ve(this._destroySubject)),mql:n};return this._queries.set(e,a),a}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nD(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function Cq(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aD=(()=>{class t{_mutationObserverFactory=u(rD);_observedElements=new Map;_ngZone=u(se);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=Cn(e);return new Ue(r=>{let o=this._observeElement(n).pipe(pe(s=>s.filter(d=>!Cq(d))),Ve(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new N,r=this._mutationObserverFactory.create(a=>n.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Td=(()=>{class t{_contentObserver=u(aD);_elementRef=u(Y);event=new j;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=sn(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe($r(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",B],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Kl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[rD]})}return t})();var os=(()=>{class t{_platform=u(He);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Mq(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=xq(Pq(e));if(n&&(oD(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=oD(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Oq(e)?!1:r==="audio"?e.hasAttribute("controls")?a!==-1:!1:r==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return Iq(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xq(t){try{return t.frameElement}catch{return null}}function Mq(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function wq(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function Dq(t){return kq(t)&&t.type=="hidden"}function Sq(t){return Eq(t)&&t.hasAttribute("href")}function kq(t){return t.nodeName.toLowerCase()=="input"}function Eq(t){return t.nodeName.toLowerCase()=="a"}function lD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function oD(t){if(!lD(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Oq(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function Iq(t){return Dq(t)?!1:wq(t)||Sq(t)||t.hasAttribute("contenteditable")||lD(t)}function Pq(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var dm=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,r,a=!1,o){this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._injector=o,a||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?kt(i,{injector:this._injector}):setTimeout(i)}},Zl=(()=>{class t{_checker=u(os);_ngZone=u(se);_document=u(De);_injector=u(Te);constructor(){u(Ze).load(ar)}create(e,n=!1){return new dm(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p5=(()=>{class t{_elementRef=u(Y);_focusTrapFactory=u(Zl);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){u(He).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Ri(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=V({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",B],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",B]},exportAs:["cdkTrapFocus"],features:[Pe]})}return t})(),dD=new A("liveAnnouncerElement",{providedIn:"root",factory:uD});function uD(){return null}var mD=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Tq=0,Ad=(()=>{class t{_ngZone=u(se);_defaultOptions=u(mD,{optional:!0});_liveElement;_document=u(De);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(dD,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let r=this._defaultOptions,a,o;return n.length===1&&typeof n[0]=="number"?o=n[0]:[a,o]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),o==null&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class t{_platform=u(He);_hasCheckedHighContrastMode;_document=u(De);_breakpointSubscription;constructor(){this._breakpointSubscription=u(cc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return as.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return as.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return as.BLACK_ON_WHITE}return as.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(m5,sD,cD),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===as.BLACK_ON_WHITE?e.add(m5,sD):n===as.WHITE_ON_BLACK&&e.add(m5,cD)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xo=(()=>{class t{constructor(){u(um)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Kl]})}return t})();var f5={},Fe=(()=>{class t{_appId=u(Xs);getId(e){return this._appId!=="ng"&&(e+=this._appId),f5.hasOwnProperty(e)||(f5[e]=0),`${e}${f5[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Aq=200,Xl=class{_letterKeyStream=new N;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new N;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:Aq;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Mt(e=>this._pressedLetters.push(e)),$r(i),Ve(()=>this._pressedLetters.length>0),pe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;nt[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Jl=class{_items;_activeItemIndex=-1;_activeItem=zn(null);_wrap=!1;_typeaheadSubscription=Me.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof kn?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):$o(i)&&(this._effectRef=K1(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new N;change=new N;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Xl(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!i[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}}};var lc=class extends Jl{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var aa=class extends Jl{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};function dc(t){return Gn(t)?t:ie(t)}var h5=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=i=>!1;_trackByFn=i=>i;_items=[];_typeahead;_typeaheadSubscription=Me.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let i=0;for(let n=0;n{this._items=n.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):Gn(i)?i.subscribe(n=>{this._items=n,this._typeahead?.setItems(n),this._updateActiveItemIndex(n),this._initializeFocus()}):(this._items=i,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new N;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(i){switch(i.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(i.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(i,e={}){e.emitChangeEvent??=!0;let n=typeof i=="number"?i:this._items.findIndex(o=>this._trackByFn(o)===this._trackByFn(i));if(n<0||n>=this._items.length)return;let r=this._items[n];if(this._activeItem!==null&&this._trackByFn(r)===this._trackByFn(this._activeItem))return;let a=this._activeItem;this._activeItem=r??null,this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n),this._activeItem?.focus(),a?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(i){let e=this._activeItem;if(!e)return;let n=i.findIndex(r=>this._trackByFn(r)===this._trackByFn(e));n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n,this._typeahead?.setCurrentSelectedItemIndex(n))}_setTypeAhead(i){this._typeahead=new Xl(this._items,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(i){for(let e=i+1;e=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return i}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let i=this._activeItem.getParent();if(!i||this._skipPredicateFn(i))return;this.focusItem(i)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?dc(this._activeItem.getChildren()).pipe(Le(1)).subscribe(i=>{let e=i.find(n=>!this._skipPredicateFn(n));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(i){return typeof i.isDisabled=="boolean"?i.isDisabled:i.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let i=this._activeItem.getParent(),e;i?e=dc(i.getChildren()):e=ie(this._items.filter(n=>n.getParent()===null)),e.pipe(Le(1)).subscribe(n=>{for(let r of n)r.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function Vq(){return(t,i)=>new h5(t,i)}var hD=new A("tree-key-manager",{providedIn:"root",factory:Vq});var _D=" ";function e2(t,i,e){let n=hm(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(_D)))}function ss(t,i,e){let n=hm(t,i);e=e.trim();let r=n.filter(a=>a!==e);r.length?t.setAttribute(i,r.join(_D)):t.removeAttribute(i)}function hm(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var vD="cdk-describedby-message",fm="cdk-describedby-host",_5=0,t2=(()=>{class t{_platform=u(He);_document=u(De);_messageRegistry=new Map;_messagesContainer=null;_id=`${_5++}`;constructor(){u(Ze).load(ar),this._id=u(Xs)+"-"+_5++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let a=g5(n,r);typeof n!="string"?(gD(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let a=g5(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof n=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${fm}="${this._id}"]`);for(let n=0;nr.indexOf(vD)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);e2(e,"aria-describedby",r.messageElement.id),e.setAttribute(fm,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,ss(e,"aria-describedby",r.messageElement.id),e.removeAttribute(fm)}_isElementDescribedByMessage(e,n){let r=hm(e,"aria-describedby"),a=this._messageRegistry.get(n),o=a&&a.messageElement.id;return!!o&&r.indexOf(o)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function g5(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function gD(t,i){t.id||(t.id=`${vD}-${i}-${_5++}`)}var Lq=["mat-internal-form-field",""],Rq=["*"],n2=(()=>{class t{labelPosition;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,r){n&2&&te("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:Lq,ngContentSelectors:Rq,decls:1,vars:0,template:function(n,r){n&1&&(xe(),re(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0} `],encapsulation:2,changeDetection:0})}return t})();var Yt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} `],encapsulation:2,changeDetection:0})}return t})();var oa=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(oa||{}),gm,uc;function _m(){if(uc==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return uc=!1,uc;if("scrollBehavior"in document.documentElement.style)uc=!0;else{let t=Element.prototype.scrollTo;t?uc=!/\{\s*\[native code\]\s*\}/.test(t.toString()):uc=!1}}return uc}function i2(){if(typeof document!="object"||!document)return oa.NORMAL;if(gm==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),gm=oa.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,gm=t.scrollLeft===0?oa.NEGATED:oa.INVERTED),t.remove()}return gm}function v5(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var r2,bD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b5(){if(r2)return r2;if(typeof document!="object"||!document)return r2=new Set(bD),r2;let t=document.createElement("input");return r2=new Set(bD.filter(i=>(t.setAttribute("type",i),t.type===i))),r2}function en(t){return t!=null&&`${t}`!="false"}function Ln(t){return t==null?"":typeof t=="string"?t:`${t}px`}function yD(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let r of n){let a=`${r}`.trim();a&&e.push(a)}}return e}var zr=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(zr||{}),y5=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=zr.HIDDEN;constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},CD=is({passive:!0,capture:!0}),C5=class{_events=new Map;addHandler(i,e,n,r){let a=this._events.get(e);if(a){let o=a.get(n);o?o.add(r):a.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,CD)})}removeHandler(i,e,n){let r=this._events.get(i);if(!r)return;let a=r.get(e);a&&(a.delete(n),a.size===0&&r.delete(e),r.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,CD)))}_delegateEventHandler=i=>{let e=In(i);e&&this._events.get(i.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(a=>a.handleEvent(i))})}},Rd={enterDuration:225,exitDuration:150},zq=800,xD=is({passive:!0,capture:!0}),MD=["mousedown","touchstart"],wD=["mouseup","mouseleave","touchend","touchcancel"],Hq=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} diff --git a/browser/chunk-5X5APTKG.js b/browser/chunk-YEFYJVM4.js similarity index 89% rename from browser/chunk-5X5APTKG.js rename to browser/chunk-YEFYJVM4.js index 1bc6a1ab6..cf92b32d9 100644 --- a/browser/chunk-5X5APTKG.js +++ b/browser/chunk-YEFYJVM4.js @@ -1,4 +1,4 @@ -import{Fa as t,Ga as m,Ha as u,Pa as f,Sa as o,Ta as a,_ as n,ac as x,ca as p,da as d,dd as E,ja as c,lc as v,na as e,oa as i,oc as D,pc as M,qb as g,qc as b,rc as C,wc as S}from"./chunk-NRRQFV6Z.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,` +import{Fa as t,Ga as m,Ha as u,Pa as f,Sa as o,Ta as a,_ as n,ac as x,ca as p,da as d,dd as E,ja as c,lc as v,na as e,oa as i,oc as D,pc as M,qb as g,qc as b,rc as C,wc as S}from"./chunk-TNQPWBZW.js";var T=()=>({confirm:!0}),O=(()=>{class l{constructor(s){this.dialogRef=s}static{this.\u0275fac=function(r){return new(r||l)(p(v))}}static{this.\u0275cmp=d({type:l,selectors:[["mifosx-undo-transaction-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(r,h){r&1&&(e(0,"h1",0),t(1),o(2,"translate"),i(),t(3,` `),e(4,"div",1),t(5,` `),e(6,"p"),t(7),o(8,"translate"),i(),t(9,` `),i(),t(10,` diff --git a/browser/chunk-VA6DUKW6.js b/browser/chunk-ZRUDBUFD.js similarity index 99% rename from browser/chunk-VA6DUKW6.js rename to browser/chunk-ZRUDBUFD.js index 27b19ec5e..71038441a 100644 --- a/browser/chunk-VA6DUKW6.js +++ b/browser/chunk-ZRUDBUFD.js @@ -1 +1 @@ -import{Bb as u,E as o,Ec as c,H as p,vc as f,yb as r}from"./chunk-NRRQFV6Z.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class a{constructor(t){this.translateService=t}translate(t,e){return this.translateService.get(t,e)}static{this.\u0275fac=function(e){return new(e||a)(p(f))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac})}}return a})();var T=(()=>{class a{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[a.DAYS_BEFORE_REPAYMENT_IS_DUE,a.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(n=>{let i=this.resolvePropertyName(n.name);i!==""&&(e?(!t[i]||t[i]==="")&&(t[i]=n.value):t[i]=n.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,n=this.settingsService.language.code,i=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:n});return delete i.allowAttributeConfiguration,delete i.advancedAccountingRules,i.allowPartialPeriodInterestCalcualtion=i.allowPartialPeriodInterestCalculation,delete i.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!i[l]||i[l]==="")&&(i[l]=h.value)}),i}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||a)(p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var b=(()=>{class a{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:n})}executeExternalAssetOwnerTransferCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:n})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||a)(p(u))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var F=(()=>{class a{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:n})}editOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:n})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let n=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:n})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let n=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:n})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let n=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:n})}allocateCash(t,e,s){let n=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:n})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaffs(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/staff",{params:e})}getCenters(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/centers",{params:e})}getGroups(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/groups",{params:e})}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,n){let i=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(i=i.set("officeId",e.toString())),s&&(i=i.set("staffId",s.toString())),n.length&&(i=i.set("legalFormType",n)),this.http.get(`${t}/downloadtemplate`,{params:i,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let n=new r;s.length&&(n=n.set("legalFormType",s));let i=new FormData;return i.append("file",t),i.append("locale",this.settingsService.language.code),i.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,i,{params:n})}static{this.\u0275fac=function(e){return new(e||a)(p(u),p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var k=(()=>{class a{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||a)}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{E as a,T as b,b as c,F as d,k as e}; +import{Bb as u,E as o,Ec as c,H as p,vc as f,yb as r}from"./chunk-TNQPWBZW.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class a{constructor(t){this.translateService=t}translate(t,e){return this.translateService.get(t,e)}static{this.\u0275fac=function(e){return new(e||a)(p(f))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac})}}return a})();var T=(()=>{class a{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[a.DAYS_BEFORE_REPAYMENT_IS_DUE,a.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(n=>{let i=this.resolvePropertyName(n.name);i!==""&&(e?(!t[i]||t[i]==="")&&(t[i]=n.value):t[i]=n.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,n=this.settingsService.language.code,i=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:n});return delete i.allowAttributeConfiguration,delete i.advancedAccountingRules,i.allowPartialPeriodInterestCalcualtion=i.allowPartialPeriodInterestCalculation,delete i.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!i[l]||i[l]==="")&&(i[l]=h.value)}),i}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||a)(p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var b=(()=>{class a{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:n})}executeExternalAssetOwnerTransferCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:n})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||a)(p(u))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var F=(()=>{class a{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:n})}editOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:n})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let n=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:n})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let n=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:n})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let n=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:n})}allocateCash(t,e,s){let n=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:n})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaffs(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/staff",{params:e})}getCenters(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/centers",{params:e})}getGroups(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/groups",{params:e})}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,n){let i=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(i=i.set("officeId",e.toString())),s&&(i=i.set("staffId",s.toString())),n.length&&(i=i.set("legalFormType",n)),this.http.get(`${t}/downloadtemplate`,{params:i,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let n=new r;s.length&&(n=n.set("legalFormType",s));let i=new FormData;return i.append("file",t),i.append("locale",this.settingsService.language.code),i.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,i,{params:n})}static{this.\u0275fac=function(e){return new(e||a)(p(u),p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var k=(()=>{class a{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||a)}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{E as a,T as b,b as c,F as d,k as e}; diff --git a/browser/collaterals.module-VP53BU5N.js b/browser/collaterals.module-RDKFYTLS.js similarity index 99% rename from browser/collaterals.module-VP53BU5N.js rename to browser/collaterals.module-RDKFYTLS.js index 99751d634..9b03f1be0 100644 --- a/browser/collaterals.module-VP53BU5N.js +++ b/browser/collaterals.module-RDKFYTLS.js @@ -1,4 +1,4 @@ -import{Bb as Y,Dd as ft,E,Ec as tt,F as y,Fa as t,Fd as xt,Ga as c,H as w,Ha as h,Ia as b,Ic as et,Id as ht,Jc as it,K as Q,Kc as at,L as z,Lc as nt,Md as bt,Mf as Rt,Pa as B,Pf as Pt,Qc as lt,Sa as m,Ta as p,Tb as F,Tc as ot,Ve as vt,Wb as O,Wc as rt,We as gt,Xb as V,Xe as _t,Yf as Tt,Zb as U,Zc as mt,Ze as St,_ as o,_e as Dt,ac as L,af as It,bd as pt,bf as Mt,ca as f,cb as W,da as R,dd as A,df as Et,ea as P,ed as j,ef as yt,gf as wt,ha as d,hd as H,ja as C,jd as st,na as i,nc as Z,nd as ct,oa as a,od as dt,pa as u,qa as D,qb as g,ra as I,rg as Bt,sd as ut,ta as J,ua as T,ud as Ct,va as K,wc as N,yb as X}from"./chunk-NRRQFV6Z.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,` +import{Bb as Y,Dd as ft,E,Ec as tt,F as y,Fa as t,Fd as xt,Ga as c,H as w,Ha as h,Ia as b,Ic as et,Id as ht,Jc as it,K as Q,Kc as at,L as z,Lc as nt,Md as bt,Mf as Rt,Pa as B,Pf as Pt,Qc as lt,Sa as m,Ta as p,Tb as F,Tc as ot,Ve as vt,Wb as O,Wc as rt,We as gt,Xb as V,Xe as _t,Yf as Tt,Zb as U,Zc as mt,Ze as St,_ as o,_e as Dt,ac as L,af as It,bd as pt,bf as Mt,ca as f,cb as W,da as R,dd as A,df as Et,ea as P,ed as j,ef as yt,gf as wt,ha as d,hd as H,ja as C,jd as st,na as i,nc as Z,nd as ct,oa as a,od as dt,pa as u,qa as D,qb as g,ra as I,rg as Bt,sd as ut,ta as J,ua as T,ud as Ct,va as K,wc as N,yb as X}from"./chunk-TNQPWBZW.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,` `),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",B(4,Ht)),o(3),h(` `,p(4,2,"labels.buttons.Edit"),` `))}function kt(e,s){if(e&1){let n=J();i(0,"button",18),T("click",function(){Q(n);let r=K();return z(r.deleteCollateral())}),t(1,` diff --git a/browser/fixed-deposits.module-L6ILYXDJ.js b/browser/fixed-deposits.module-MAF27CAY.js similarity index 99% rename from browser/fixed-deposits.module-L6ILYXDJ.js rename to browser/fixed-deposits.module-MAF27CAY.js index 222315ea7..98ef90b3c 100644 --- a/browser/fixed-deposits.module-L6ILYXDJ.js +++ b/browser/fixed-deposits.module-MAF27CAY.js @@ -1,4 +1,4 @@ -import{a as di}from"./chunk-5X5APTKG.js";import{a as Fn,b as wn}from"./chunk-GLHURK6Z.js";import{a as mi}from"./chunk-Z3QNT3G2.js";import{$b as Be,$d as Je,Ad as Pt,Ba as _t,Bb as Hn,Bd as Mt,Ca as Ct,Cd as We,Ce as Qn,Da as ht,Dc as J,Dd as yt,E as Gt,Ea as R,Ec as H,Ed as It,F as $e,Fa as t,Fd as ue,Ga as u,Gf as ei,H as Lt,Ha as f,Ia as S,Ic as it,Id as st,J as te,Ja as se,Jb as Ee,Jc as V,K as P,Kb as Fe,Kc as X,L as M,Lc as at,Ld as De,Le as Yn,Lf as ni,Mb as ce,Md as ke,Me as Jn,Mf as fe,Nb as le,Nf as ii,Ob as we,Oc as Q,Of as ai,Pa as k,Pe as Xe,Pf as oi,Q as Le,Qa as Ge,Qc as ot,Qd as Ne,Qe as Ze,Rc as Kt,Re as tn,Sa as r,Sc as Ln,Se as en,Ta as c,Tb as N,Tc as rt,Td as Ke,Te as re,Tf as $t,Ua as F,Ub as zn,Ud as Qe,Ue as Qt,Vd as Ye,Ve as wt,W as qn,Wa as et,Wb as $,Wc as pt,Wd as xe,We as Bt,Xa as jn,Xb as Y,Xe as Rt,Yb as $n,Yf as ri,Zb as En,Zc as dt,Ze as kt,Zf as nn,_ as o,_e as Nt,_f as Ve,ab as Oe,ac as B,af as Vt,bb as vt,bd as ct,bf as qt,bg as pi,ca as _,cb as w,da as A,db as ye,dd as y,df as jt,ea as Ue,ed as G,ef as Ht,fd as Un,gd as Gn,gf as zt,gg as ci,ha as m,hd as ut,ia as Ae,ig as li,ja as d,jd as Dt,jf as be,kb as Ie,kd as Wn,lc as ee,mc as Re,md as Kn,na as n,nc as Wt,nd as Z,oa as i,oc as ne,od as xt,of as Xn,pa as g,pb as me,pc as ie,pf as Zn,qa as v,qb as O,qc as ae,qf as ti,qg as an,ra as D,rc as oe,rd as bt,rg as si,sd as tt,ta as I,td as Ft,ua as b,ud as lt,va as C,vd as At,wc as E,xd as Ot,ya as ft,yb as de,zd as St}from"./chunk-NRRQFV6Z.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,` +import{a as di}from"./chunk-YEFYJVM4.js";import{a as Fn,b as wn}from"./chunk-DPHX6AHX.js";import{a as mi}from"./chunk-AXZIFPNI.js";import{$b as Be,$d as Je,Ad as Pt,Ba as _t,Bb as Hn,Bd as Mt,Ca as Ct,Cd as We,Ce as Qn,Da as ht,Dc as J,Dd as yt,E as Gt,Ea as R,Ec as H,Ed as It,F as $e,Fa as t,Fd as ue,Ga as u,Gf as ei,H as Lt,Ha as f,Ia as S,Ic as it,Id as st,J as te,Ja as se,Jb as Ee,Jc as V,K as P,Kb as Fe,Kc as X,L as M,Lc as at,Ld as De,Le as Yn,Lf as ni,Mb as ce,Md as ke,Me as Jn,Mf as fe,Nb as le,Nf as ii,Ob as we,Oc as Q,Of as ai,Pa as k,Pe as Xe,Pf as oi,Q as Le,Qa as Ge,Qc as ot,Qd as Ne,Qe as Ze,Rc as Kt,Re as tn,Sa as r,Sc as Ln,Se as en,Ta as c,Tb as N,Tc as rt,Td as Ke,Te as re,Tf as $t,Ua as F,Ub as zn,Ud as Qe,Ue as Qt,Vd as Ye,Ve as wt,W as qn,Wa as et,Wb as $,Wc as pt,Wd as xe,We as Bt,Xa as jn,Xb as Y,Xe as Rt,Yb as $n,Yf as ri,Zb as En,Zc as dt,Ze as kt,Zf as nn,_ as o,_e as Nt,_f as Ve,ab as Oe,ac as B,af as Vt,bb as vt,bd as ct,bf as qt,bg as pi,ca as _,cb as w,da as A,db as ye,dd as y,df as jt,ea as Ue,ed as G,ef as Ht,fd as Un,gd as Gn,gf as zt,gg as ci,ha as m,hd as ut,ia as Ae,ig as li,ja as d,jd as Dt,jf as be,kb as Ie,kd as Wn,lc as ee,mc as Re,md as Kn,na as n,nc as Wt,nd as Z,oa as i,oc as ne,od as xt,of as Xn,pa as g,pb as me,pc as ie,pf as Zn,qa as v,qb as O,qc as ae,qf as ti,qg as an,ra as D,rc as oe,rd as bt,rg as si,sd as tt,ta as I,td as Ft,ua as b,ud as lt,va as C,vd as At,wc as E,xd as Ot,ya as ft,yb as de,zd as St}from"./chunk-TNQPWBZW.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,` `),n(4,"div",1),t(5,` `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,` `),i(),t(10,` @@ -2267,4 +2267,4 @@ import{a as di}from"./chunk-5X5APTKG.js";import{a as Fn,b as wn}from"./chunk-GLH `,p.fixedDepositsAccountData.maturityDate?c(61,47,p.fixedDepositsAccountData.maturityDate):"N/A",` `),o(7),u(c(68,49,"labels.inputs.Deposit Period")),o(4),S(` `,p.fixedDepositsAccountData.depositPeriod,"\xA0",F(72,51,p.fixedDepositsAccountData.depositPeriodFrequency.value,"catalogs"),` - `),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(F(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(F(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(F(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(F(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[O,w,me,y,yt,E,It,ei],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var ll=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:An,resolve:{fixedDepositsAccountTemplate:Nn}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:yn},children:[{path:"",component:cn,resolve:{fixedDepositsAccountData:yn,savingsDatatables:wn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:In,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:ln,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:sn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:un,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:xn,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:fn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Fn}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:On,resolve:{fixedDepositsAccountAndTemplate:Vn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-ZYNY2BF4.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Tn,resolve:{fixedDepositsAccountTransaction:Rn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:Mn,resolve:{fixedDepositsAccountActionData:kn}}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({providers:[yn,Fn,wn,Rn,kn,Nn,Vn],imports:[En.forChild(ll),En]})}}return e})();var Mg=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({imports:[si,oi,ri,ui,cn,sn,un,xn,ln,fn,Mn,gn,_n,rn,on,ze,Cn,hn,vn,Tn,mn,dn,Dn,bn,Sn,An,_e,Ce,ve,he,je,He,On,In,Pn]})}}return e})();export{Mg as FixedDepositsModule}; + `),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(F(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(F(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(F(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(F(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[O,w,me,y,yt,E,It,ei],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var ll=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:An,resolve:{fixedDepositsAccountTemplate:Nn}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:yn},children:[{path:"",component:cn,resolve:{fixedDepositsAccountData:yn,savingsDatatables:wn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:In,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:ln,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:sn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:un,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:xn,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:fn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Fn}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:On,resolve:{fixedDepositsAccountAndTemplate:Vn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-OXUST6E6.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Tn,resolve:{fixedDepositsAccountTransaction:Rn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:Mn,resolve:{fixedDepositsAccountActionData:kn}}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({providers:[yn,Fn,wn,Rn,kn,Nn,Vn],imports:[En.forChild(ll),En]})}}return e})();var Mg=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=Ue({type:e})}static{this.\u0275inj=$e({imports:[si,oi,ri,ui,cn,sn,un,xn,ln,fn,Mn,gn,_n,rn,on,ze,Cn,hn,vn,Tn,mn,dn,Dn,bn,Sn,An,_e,Ce,ve,he,je,He,On,In,Pn]})}}return e})();export{Mg as FixedDepositsModule}; diff --git a/browser/index.html b/browser/index.html index d5fd735d1..aa2961b4e 100644 --- a/browser/index.html +++ b/browser/index.html @@ -57,5 +57,5 @@
- + diff --git a/browser/loans.module-3GTGFO7S.js b/browser/loans.module-GOKHPTHK.js similarity index 99% rename from browser/loans.module-3GTGFO7S.js rename to browser/loans.module-GOKHPTHK.js index ea9168799..576f459b2 100644 --- a/browser/loans.module-3GTGFO7S.js +++ b/browser/loans.module-GOKHPTHK.js @@ -1,4 +1,4 @@ -import{a as hf}from"./chunk-BI4TZGQT.js";import{a as W1,b as Lr,c as Nr,d as Oc,e as Ec}from"./chunk-VA6DUKW6.js";import{a as Mc,b as ld,c as gf,d as xf}from"./chunk-3VO2Q5LJ.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as ff}from"./chunk-Z3QNT3G2.js";import{$b as ja,$d as Cc,$e as Dc,$f as a0,A as T1,Ad as Ke,Ba as si,Bd as Je,Ca as ci,Cc as Jl,Cd as wa,Ce as So,Da as pi,Dc as ce,Dd as On,E as an,Ea as Et,Ec as ie,Ed as qa,Ef as tf,F as fc,Fa as e,Fd as be,Ff as ef,Ga as C,Gb as Hl,Gc as B1,Gf as Va,H as sn,Ha as y,Hf as nf,Ia as Wt,Ic as xe,Id as cn,J as Er,Ja as Qs,Jc as Gt,K as ct,Ka as t0,Kc as me,Kd as $1,Kf as af,L as pt,La as e0,Lc as Te,Ld as fi,Le as mo,Lf as Tc,Ma as n0,Md as ra,Me as Do,Mf as pn,Na as i0,Nd as Y1,Ne as yc,Nf as Ic,Oc as se,Of as ns,Pa as Ut,Pc as j1,Pd as xc,Pe as Xl,Pf as of,Q as Ul,Qa as La,Qc as Le,Qd as qo,Qe as Ql,Qf as is,Rc as Ti,Re as ts,Sa as p,Sc as jo,Se as es,Sf as Pt,Ta as u,Tb as Ot,Tc as Ie,Td as _c,Te as uo,U as I1,Ua as ze,Ub as N1,Ud as vc,Ue as za,Uf as rf,Va as M1,Vd as bc,Ve as fn,W as od,Wa as Ue,Wb as oe,Wc as Ae,Wd as Ii,We as hn,Wf as lf,X as hc,Xb as te,Xc as q1,Xe as gn,Yb as F1,Yc as z1,Ye as Sc,Yf as sf,Zb as rd,Zc as ke,Ze as xn,Zf as la,_ as s,_e as _n,_f as Pi,ab as pa,ac as $t,af as vn,b as D1,ba as A1,bb as on,bd as _e,bf as bn,bg as cf,c as w1,ca as E,cb as Vt,cd as V1,cf as wc,cg as pf,da as yt,dd as Dt,de as da,df as Cn,e as P1,ea as gc,ed as fe,ef as yn,fd as U1,ff as Pc,gd as H1,gf as Sn,gg as mf,ha as g,hd as De,ia as oa,ib as E1,ig as df,ja as h,jd as Re,jf as Mi,kd as G1,lc as Gl,mc as Wl,na as r,nc as Qn,nd as de,oa as l,ob as L1,oc as $l,od as Be,of as J1,pa as P,pb as Da,pc as Yl,pe as Z1,pf as X1,pg as Ac,qa as V,qb as St,qc as Zl,qe as K1,qf as Q1,qg as Xi,ra as U,rc as Kl,rd as $e,rg as uf,sd as ue,ta as vt,td as Vn,ua as it,ud as ve,va as I,vc as ma,vd as In,wc as It,xc as k1,xd as An,ya as le,yc as R1,za as O1,zd as Ze}from"./chunk-NRRQFV6Z.js";import{a as ae,b as we,d as S1}from"./chunk-O7S4L63H.js";var Lc=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"},{name:"Undo Write-off",icon:"undo",taskPermissionName:"UNDOWRITEOFF_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var mx=()=>["./general"],dx=()=>["./accountdetail"],ux=()=>["./repayment-schedule"],fx=()=>["./loan-documents"],hx=()=>["./original-schedule"],gx=()=>["./transactions"],xx=()=>["./deferred-income"],_x=()=>["./buy-down-fees"],vx=()=>["./delinquencytags"],bx=()=>["./loan-collateral"],Cx=()=>["./loan-tranche-details"],yx=()=>["./term-variations"],Sx=()=>["./overdue-charges"],Dx=()=>["./floating-interest-rates"],wx=()=>["./charges"],Px=()=>["./loan-reschedules"],Tx=()=>["./notes"],Ix=()=>["./standing-instruction"],Ax=()=>["./external-asset-owner"],Ox=t=>["./datatables",t];function Mx(t,i){if(t&1&&(r(0,"tr"),e(1,` +import{a as hf}from"./chunk-E2653EFC.js";import{a as W1,b as Lr,c as Nr,d as Oc,e as Ec}from"./chunk-ZRUDBUFD.js";import{a as Mc,b as ld,c as gf,d as xf}from"./chunk-FUVLTOAH.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as ff}from"./chunk-AXZIFPNI.js";import{$b as ja,$d as Cc,$e as Dc,$f as a0,A as T1,Ad as Ke,Ba as si,Bd as Je,Ca as ci,Cc as Jl,Cd as wa,Ce as So,Da as pi,Dc as ce,Dd as On,E as an,Ea as Et,Ec as ie,Ed as qa,Ef as tf,F as fc,Fa as e,Fd as be,Ff as ef,Ga as C,Gb as Hl,Gc as B1,Gf as Va,H as sn,Ha as y,Hf as nf,Ia as Wt,Ic as xe,Id as cn,J as Er,Ja as Qs,Jc as Gt,K as ct,Ka as t0,Kc as me,Kd as $1,Kf as af,L as pt,La as e0,Lc as Te,Ld as fi,Le as mo,Lf as Tc,Ma as n0,Md as ra,Me as Do,Mf as pn,Na as i0,Nd as Y1,Ne as yc,Nf as Ic,Oc as se,Of as ns,Pa as Ut,Pc as j1,Pd as xc,Pe as Xl,Pf as of,Q as Ul,Qa as La,Qc as Le,Qd as qo,Qe as Ql,Qf as is,Rc as Ti,Re as ts,Sa as p,Sc as jo,Se as es,Sf as Pt,Ta as u,Tb as Ot,Tc as Ie,Td as _c,Te as uo,U as I1,Ua as ze,Ub as N1,Ud as vc,Ue as za,Uf as rf,Va as M1,Vd as bc,Ve as fn,W as od,Wa as Ue,Wb as oe,Wc as Ae,Wd as Ii,We as hn,Wf as lf,X as hc,Xb as te,Xc as q1,Xe as gn,Yb as F1,Yc as z1,Ye as Sc,Yf as sf,Zb as rd,Zc as ke,Ze as xn,Zf as la,_ as s,_e as _n,_f as Pi,ab as pa,ac as $t,af as vn,b as D1,ba as A1,bb as on,bd as _e,bf as bn,bg as cf,c as w1,ca as E,cb as Vt,cd as V1,cf as wc,cg as pf,da as yt,dd as Dt,de as da,df as Cn,e as P1,ea as gc,ed as fe,ef as yn,fd as U1,ff as Pc,gd as H1,gf as Sn,gg as mf,ha as g,hd as De,ia as oa,ib as E1,ig as df,ja as h,jd as Re,jf as Mi,kd as G1,lc as Gl,mc as Wl,na as r,nc as Qn,nd as de,oa as l,ob as L1,oc as $l,od as Be,of as J1,pa as P,pb as Da,pc as Yl,pe as Z1,pf as X1,pg as Ac,qa as V,qb as St,qc as Zl,qe as K1,qf as Q1,qg as Xi,ra as U,rc as Kl,rd as $e,rg as uf,sd as ue,ta as vt,td as Vn,ua as it,ud as ve,va as I,vc as ma,vd as In,wc as It,xc as k1,xd as An,ya as le,yc as R1,za as O1,zd as Ze}from"./chunk-TNQPWBZW.js";import{a as ae,b as we,d as S1}from"./chunk-O7S4L63H.js";var Lc=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"},{name:"Undo Write-off",icon:"undo",taskPermissionName:"UNDOWRITEOFF_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var mx=()=>["./general"],dx=()=>["./accountdetail"],ux=()=>["./repayment-schedule"],fx=()=>["./loan-documents"],hx=()=>["./original-schedule"],gx=()=>["./transactions"],xx=()=>["./deferred-income"],_x=()=>["./buy-down-fees"],vx=()=>["./delinquencytags"],bx=()=>["./loan-collateral"],Cx=()=>["./loan-tranche-details"],yx=()=>["./term-variations"],Sx=()=>["./overdue-charges"],Dx=()=>["./floating-interest-rates"],wx=()=>["./charges"],Px=()=>["./loan-reschedules"],Tx=()=>["./notes"],Ix=()=>["./standing-instruction"],Ax=()=>["./external-asset-owner"],Ox=t=>["./datatables",t];function Mx(t,i){if(t&1&&(r(0,"tr"),e(1,` `),r(2,"td"),e(3),p(4,"translate"),l(),e(5,` `),r(6,"td"),e(7,` `),r(8,"span",49),P(9,"i",50),l(),e(10),l(),e(11,` @@ -6171,7 +6171,7 @@ end`};i.events.push(["putFont",function(c){(function(d){var m=d.font,x=d.out,v=d `),g(7,ZN,34,3,"table",1),e(8,` `),l(),e(9,` -`)),a&2&&(s(3),Wt("",u(4,3,"labels.inputs.Deferred income")," - ",u(5,5,"labels.menus.Capitalized Income"),""),s(4),h("ngIf",o.capitalizedIncomeData.length>0))},dependencies:[St,Vt,Dt,It,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Ru=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return this.loansService.getDeferredIncomeData(a)}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Bu=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return a?this.loansService.getBuyDownFeeData(a):(console.error("LoanBuyDownFeesDataResolver: Could not find loanId in route parameters"),new D1(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var KN=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:sm,resolve:{loansAccountTemplate:Pu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Nc,resolve:{loanDetailsData:Wr,loanDatatables:_m,loanArrearsDelinquencyConfig:Cg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Fc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,loanDatatables:_m}},{path:"accountdetail",component:kc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Sp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Ur,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:yp},{path:"export",component:hm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Ru},children:[{path:"",component:wg}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:Lu,loanDelinquencyData:Fu,loanDelinquencyActions:Dg},children:[{path:"",component:ym}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:bg},children:[{path:"",component:Sm}]},{path:"loan-collateral",component:rm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Sg}},{path:"term-variations",component:Pm,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,interestPausesData:ku}},{path:"loan-tranche-details",component:om,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Dp,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:am,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:wp},{path:"loan-documents",component:cm,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Tu}},{path:"notes",component:Rc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Su}},{path:"standing-instruction",component:pm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:wm,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:yg,loanTransfersData:Nu}},{path:"datatables",children:[{path:":datatableName",component:Pp,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Du}}]},{path:"buy-down-fees",component:vg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Bu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Wr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:dm,resolve:{loansAccountTransaction:Iu}},{path:"edit",component:um,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:Ou}},{path:"reciept",component:fm,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Au}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:mm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Dm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}}]},{path:":loanId/actions/:action",component:im,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:wu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-ZYNY2BF4.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}}]},{path:"glim-account",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create GLIM Application",breadcrumb:"Create GLIM Application",routeParamBreadcrumb:!1},component:xm,resolve:{loansAccountTemplate:Eu,groupsData:xf}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:gm,resolve:{glimData:Mu,groupsData:ld}}]}],Pg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=gc({type:t})}static{this.\u0275inj=fc({providers:[Wr,Su,_m,Du,Lu,wu,Pu,Tu,vm,bm,Iu,Ou,Au,hf,ld,Mu,gf,Eu,Nu,Fu,ku,Ru,Bu],imports:[rd.forChild(KN),rd]})}}return t})();var Tg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(E(Ec))}}static{this.\u0275cmp=yt({type:t,selectors:[["mifosx-external-asset-transfer"]],inputs:{transferData:"transferData"},decls:167,vars:60,consts:[[1,"m-l-5","flex-25"],[1,"flex-25","m-l-5","left"],[3,"ngClass"],["icon","stop"],[1,"m-l-5","status"],["completed","true",3,"externalId"],[1,"flex-75","left"],[1,"flex-50","m-l-5"],[1,"flex-50","r-amount"]],template:function(a,o){a&1&&(r(0,"table"),e(1,` +`)),a&2&&(s(3),Wt("",u(4,3,"labels.inputs.Deferred income")," - ",u(5,5,"labels.menus.Capitalized Income"),""),s(4),h("ngIf",o.capitalizedIncomeData.length>0))},dependencies:[St,Vt,Dt,It,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Ru=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return this.loansService.getDeferredIncomeData(a)}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Bu=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return a?this.loansService.getBuyDownFeeData(a):(console.error("LoanBuyDownFeesDataResolver: Could not find loanId in route parameters"),new D1(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var KN=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:sm,resolve:{loansAccountTemplate:Pu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Nc,resolve:{loanDetailsData:Wr,loanDatatables:_m,loanArrearsDelinquencyConfig:Cg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Fc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,loanDatatables:_m}},{path:"accountdetail",component:kc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Sp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Ur,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:yp},{path:"export",component:hm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Ru},children:[{path:"",component:wg}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:Lu,loanDelinquencyData:Fu,loanDelinquencyActions:Dg},children:[{path:"",component:ym}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:bg},children:[{path:"",component:Sm}]},{path:"loan-collateral",component:rm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Sg}},{path:"term-variations",component:Pm,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,interestPausesData:ku}},{path:"loan-tranche-details",component:om,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Dp,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:am,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:wp},{path:"loan-documents",component:cm,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Tu}},{path:"notes",component:Rc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Su}},{path:"standing-instruction",component:pm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:wm,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:yg,loanTransfersData:Nu}},{path:"datatables",children:[{path:":datatableName",component:Pp,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Du}}]},{path:"buy-down-fees",component:vg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Bu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Wr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:dm,resolve:{loansAccountTransaction:Iu}},{path:"edit",component:um,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:Ou}},{path:"reciept",component:fm,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Au}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:mm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Dm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}}]},{path:":loanId/actions/:action",component:im,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:wu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-OXUST6E6.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}}]},{path:"glim-account",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create GLIM Application",breadcrumb:"Create GLIM Application",routeParamBreadcrumb:!1},component:xm,resolve:{loansAccountTemplate:Eu,groupsData:xf}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:gm,resolve:{glimData:Mu,groupsData:ld}}]}],Pg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=gc({type:t})}static{this.\u0275inj=fc({providers:[Wr,Su,_m,Du,Lu,wu,Pu,Tu,vm,bm,Iu,Ou,Au,hf,ld,Mu,gf,Eu,Nu,Fu,ku,Ru,Bu],imports:[rd.forChild(KN),rd]})}}return t})();var Tg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(E(Ec))}}static{this.\u0275cmp=yt({type:t,selectors:[["mifosx-external-asset-transfer"]],inputs:{transferData:"transferData"},decls:167,vars:60,consts:[[1,"m-l-5","flex-25"],[1,"flex-25","m-l-5","left"],[3,"ngClass"],["icon","stop"],[1,"m-l-5","status"],["completed","true",3,"externalId"],[1,"flex-75","left"],[1,"flex-50","m-l-5"],[1,"flex-50","r-amount"]],template:function(a,o){a&1&&(r(0,"table"),e(1,` `),r(2,"tbody"),e(3,` `),r(4,"tr"),e(5,` `),r(6,"td",0),e(7,` diff --git a/browser/main.js b/browser/main.js index 645e5ba78..18b41cce7 100644 --- a/browser/main.js +++ b/browser/main.js @@ -1,4 +1,4 @@ -import{a as V$,b as Sa,c as Bw,d as Ei,e as vW}from"./chunk-VA6DUKW6.js";import{a as Ts,b as e9,c as i9,d as db}from"./chunk-3VO2Q5LJ.js";import{$ as n$,$a as Lg,$b as Hi,$c as ns,$d as Yo,$f as hn,A as Um,Aa as Ng,Ab as b$,Ac as A$,Ad as Mi,Ae as mu,Af as Qg,B as wo,Ba as Nt,Bb as Ro,Bc as O$,Bd as Di,Be as xa,Bf as cW,C as Bo,Ca as Bt,Cb as iu,Cc as Dl,Cd as Ai,Ce as Je,Cf as pW,D as JU,Da as Rt,Db as C$,Dc as _i,Dd as Gi,De as J$,Df as kw,E as Wt,Ea as Mt,Eb as y$,Ec as We,Ed as on,Ee as Gg,Ef as mW,F as un,Fa as t,Fb as S$,Fc as mb,Fd as de,Fe as Tp,Ff as dW,G as JS,Ga as b,Gb as Wm,Gc as Wo,Gd as L$,Ge as Ss,Gf as La,H as Qt,Ha as P,Hb as vo,Hc as F$,Hd as z$,He as ws,Hf as Mp,I as ZU,Ia as _t,Ib as cm,Ic as Se,Id as Gt,Ie as Z$,If as Xm,J as Vo,Ja as ea,Jb as Zs,Jc as bt,Jd as xw,Je as X$,Jf as Iw,K as W,Ka as c$,Kb as zs,Kc as re,Ke as tW,Kf as Rl,L as Q,La as H0,Lb as w$,Lc as ue,Ld as Fn,Le as du,Lf as Fr,M as ca,Ma as G0,Mb as zo,Mc as pm,Md as Li,Me as $e,Mf as _r,N as XU,Na as U0,Nb as ps,Nd as qg,Ne as wi,Nf as mo,O as ZS,Oa as p$,Ob as js,Oc as _e,Od as au,Oe as eW,Of as no,P as q0,Pa as ht,Pb as Lh,Pc as ru,Pd as Ci,Pe as _a,Pf as ya,Q as $n,Qa as Xe,Qb as sw,Qc as ge,Qd as sn,Qe as va,Qf as Ji,R as Nh,Ra as vs,Rb as pb,Rc as Gn,Rd as _w,Re as ba,Rf as vr,S as lb,Sa as m,Sb as lw,Sc as er,Sd as vw,Se as Ca,Sf as uW,T as JO,Ta as d,Tb as Lt,Tc as fe,Td as Ym,Te as En,U as t$,Ua as Ye,Ub as fa,Uc as ha,Ud as Km,Ue as dn,Uf as Tw,V as e$,Va as Js,Vb as cw,Vc as is,Vd as Jm,Ve as Fe,Vf as Mw,W as XS,Wa as pi,Wb as te,Wc as he,Wd as Pi,We as Be,Wf as fW,X as tw,Xa as vi,Xb as qt,Xc as B$,Xd as bw,Xe as Re,Xf as Dw,Y as i$,Ya as $m,Yb as es,Yc as ou,Yd as Cw,Yf as rl,Z as Rg,Za as m$,Zb as tr,Zc as Ie,Zd as j$,Ze as Ne,Zf as Is,_ as l,_a as d$,_b as pw,_c as gw,_d as Hg,_e as Le,_f as Xn,a as ab,aa as r$,ab as io,ac as Dt,ad as R$,ae as yw,af as Ve,ag as hW,b as Fh,ba as ew,bb as se,bc as mw,bd as xe,be as q$,bf as ze,bg as ol,c as ec,ca as V,cb as zt,cc as XO,cd as Qm,ce as H$,d as _s,da as yt,db as Ra,dc as E$,dd as wt,de as Xs,df as je,dg as gW,e as qU,ea as fn,eb as Na,ec as P$,ed as oe,ee as Sw,ef as qe,eg as xn,f as HU,fa as cb,fb as u$,fc as t9,fd as Qo,fe as G$,fg as Aw,g as sb,ga as o$,gb as Ip,gc as dw,gd as Al,ge as U$,gf as He,gg as t0,h as Bh,ha as x,hb as f$,hc as uw,hd as me,he as $$,hf as iW,hg as xW,i as GU,ia as kr,ib as bs,ic as k$,id as Ol,ie as W$,if as nW,j as xr,ja as g,jb as iw,jc as I$,jd as Ue,je as Q$,jf as ci,jg as Ow,k as UU,ka as Xd,kb as Vg,kc as fw,kd as ga,ke as Y$,kf as rW,kg as na,l as $U,la as kp,lb as nw,lc as qr,ld as N$,le as mm,lf as oW,lg as Dp,m as Bg,ma as a$,mb as h$,mc as bo,md as zg,me as su,mf as Bl,mg as Co,n as YS,na as a,nb as rw,nc as ni,nd as $t,ne as lu,nf as xl,ng as Ap,o as WU,oa as s,ob as eu,oc as Ar,od as Te,oe as K$,of as Es,og as Fw,p as Ec,pa as k,pb as g$,pc as Or,pd as rs,pe as Cs,pf as Ps,pg as _W,q as Rh,qa as ot,qb as St,qc as po,qd as jg,qe as ys,qf as ks,r as KS,ra as at,rb as Yc,rc as Ir,rd as Si,re as cu,rf as aW,rg as Yr,s as Oo,sa as kc,sb as x$,sc as hw,sd as Ht,se as pu,sf as sW,t as QU,ta as st,tb as _$,tc as T$,td as Tr,te as tl,tf as ww,u as Fo,ua as q,ub as ow,uc as M$,ud as Xt,ue as el,uf as Ug,v as Gm,va as A,vb as aw,vc as zi,vd as De,ve as Zm,vf as $g,w as YU,wa as s$,wb as v$,wc as Et,wd as qs,we as il,wf as Ew,x as KU,xa as l$,xc as nu,xd as Oe,xe as nl,xf as lW,y as Pc,ya as Zt,yb as Hn,yc as Wn,yd as ia,ye as Fl,yf as Pw,z as KO,za as tu,zb as ZO,zc as D$,zd as Ti,ze as Io,zf as Wg}from"./chunk-NRRQFV6Z.js";import{a as ye,b as oi,c as lm,d as zU,e as Pe,f as QO,g as Pp,h as Dr,i as YO,j as jU,k as cs,l as QS}from"./chunk-O7S4L63H.js";var Uh=Pe((tx,Cb)=>{(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,_="__lodash_placeholder__",y=1,C=2,E=4,T=1,D=2,M=1,F=2,B=4,z=8,$=16,tt=32,lt=64,gt=128,X=256,mt=512,vt=30,Tt="...",Ct=800,Z=16,nt=1,xt=2,R=3,j=1/0,G=9007199254740991,H=17976931348623157e292,K=NaN,et=4294967295,ft=et-1,At=et>>>1,Ot=[["ary",gt],["bind",M],["bindKey",F],["curry",z],["curryRight",$],["flip",mt],["partial",tt],["partialRight",lt],["rearg",X]],Yt="[object Arguments]",dt="[object Array]",jt="[object AsyncFunction]",ct="[object Boolean]",rt="[object Date]",It="[object DOMException]",Kt="[object Error]",ke="[object Function]",ce="[object GeneratorFunction]",pe="[object Map]",si="[object Number]",ii="[object Null]",le="[object Object]",ti="[object Promise]",Ke="[object Proxy]",li="[object RegExp]",fi="[object Set]",di="[object String]",gi="[object Symbol]",Yi="[object Undefined]",Zi="[object WeakMap]",Xi="[object WeakSet]",On="[object ArrayBuffer]",pn="[object DataView]",kn="[object Float32Array]",Rr="[object Float64Array]",Un="[object Int8Array]",In="[object Int16Array]",Qn="[object Int32Array]",mn="[object Uint8Array]",ln="[object Uint8ClampedArray]",lr="[object Uint16Array]",vn="[object Uint32Array]",zn=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,Yn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ar=/&(?:amp|lt|gt|quot|#39);/g,oa=/[&<>"']/g,yr=RegExp(ar.source),Sr=RegExp(oa.source),$s=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,sr=/<%=([\s\S]+?)%>/g,To=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ds=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(ds.source),Ze=/^\s+/,Ii=/\s/,Ri=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,_n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vn=/[()=,{}\[\]\/\s]/,Mo=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bn=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,$r=/^\[object .+?Constructor\]$/,No=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ss=/($^)/,za=/['\n\r\u2028\u2029\\]/g,Wa="\\ud800-\\udfff",Ae="\\u0300-\\u036f",yi="\\ufe20-\\ufe2f",$i="\\u20d0-\\u20ff",Vi=Ae+yi+$i,cn="\\u2700-\\u27bf",Rn="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Er="\\u2000-\\u206f",mr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",aa="\\ufe0e\\ufe0f",ma=jn+Lr+Er+mr,ho="['\u2019]",Lo="["+Wa+"]",da="["+ma+"]",us="["+Vi+"]",pl="\\d+",lc="["+cn+"]",Hl="["+Rn+"]",d0="[^"+Wa+ma+pl+cn+Rn+Pr+"]",op="\\ud83c[\\udffb-\\udfff]",xo="(?:"+us+"|"+op+")",Eo="[^"+Wa+"]",cc="(?:\\ud83c[\\udde6-\\uddff]){2}",El="[\\ud800-\\udbff][\\udc00-\\udfff]",Rc="["+Pr+"]",ja="\\u200d",Ws="(?:"+Hl+"|"+d0+")",ap="(?:"+Rc+"|"+d0+")",Nc="(?:"+ho+"(?:d|ll|m|re|s|t|ve))?",Qp="(?:"+ho+"(?:D|LL|M|RE|S|T|VE))?",Yp=xo+"?",Gl="["+aa+"]?",Kp="(?:"+ja+"(?:"+[Eo,cc,El].join("|")+")"+Gl+Yp+")*",bd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sm=Gl+Yp+Kp,yd="(?:"+[lc,cc,El].join("|")+")"+Sm,P1="(?:"+[Eo+us+"?",us,cc,El,Lo].join("|")+")",wm=RegExp(ho,"g"),Sd=RegExp(us,"g"),k1=RegExp(op+"(?="+op+")|"+P1+Sm,"g"),DC=RegExp([Rc+"?"+Hl+"+"+Nc+"(?="+[da,Rc,"$"].join("|")+")",ap+"+"+Qp+"(?="+[da,Rc+Ws,"$"].join("|")+")",Rc+"?"+Ws+"+"+Nc,Rc+"+"+Qp,Cd,bd,pl,yd].join("|"),"g"),AC=RegExp("["+ja+Wa+Vi+aa+"]"),Df=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_A=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],y_=-1,ta={};ta[kn]=ta[Rr]=ta[Un]=ta[In]=ta[Qn]=ta[mn]=ta[ln]=ta[lr]=ta[vn]=!0,ta[Yt]=ta[dt]=ta[On]=ta[ct]=ta[pn]=ta[rt]=ta[Kt]=ta[ke]=ta[pe]=ta[si]=ta[le]=ta[li]=ta[fi]=ta[di]=ta[Zi]=!1;var fr={};fr[Yt]=fr[dt]=fr[On]=fr[pn]=fr[ct]=fr[rt]=fr[kn]=fr[Rr]=fr[Un]=fr[In]=fr[Qn]=fr[pe]=fr[si]=fr[le]=fr[li]=fr[fi]=fr[di]=fr[gi]=fr[mn]=fr[ln]=fr[lr]=fr[vn]=!0,fr[Kt]=fr[ke]=fr[Zi]=!1;var vA={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},S_={"&":"&","<":"<",">":">",'"':""","'":"'"},OC={"&":"&","<":"<",">":">",""":'"',"'":"'"},Af={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},w_=parseFloat,wd=parseInt,E_=typeof global=="object"&&global&&global.Object===Object&&global,P_=typeof self=="object"&&self&&self.Object===Object&&self,fs=E_||P_||Function("return this")(),I1=typeof tx=="object"&&tx&&!tx.nodeType&&tx,u0=I1&&typeof Cb=="object"&&Cb&&!Cb.nodeType&&Cb,T1=u0&&u0.exports===I1,k_=T1&&E_.process,pc=function(){try{var ui=u0&&u0.require&&u0.require("util").types;return ui||k_&&k_.binding&&k_.binding("util")}catch{}}(),FC=pc&&pc.isArrayBuffer,Of=pc&&pc.isDate,M1=pc&&pc.isMap,BC=pc&&pc.isRegExp,RC=pc&&pc.isSet,NC=pc&&pc.isTypedArray;function Ul(ui,ji,bi){switch(bi.length){case 0:return ui.call(ji);case 1:return ui.call(ji,bi[0]);case 2:return ui.call(ji,bi[0],bi[1]);case 3:return ui.call(ji,bi[0],bi[1],bi[2])}return ui.apply(ji,bi)}function Ed(ui,ji,bi,qn){for(var Mr=-1,ro=ui==null?0:ui.length;++Mr-1}function D1(ui,ji,bi){for(var qn=-1,Mr=ui==null?0:ui.length;++qn-1;);return bi}function GC(ui,ji){for(var bi=ui.length;bi--&&f0(ji,ui[bi],0)>-1;);return bi}function h0(ui,ji){for(var bi=ui.length,qn=0;bi--;)ui[bi]===ji&&++qn;return qn}var Lf=Rf(vA),yA=Rf(S_);function SA(ui){return"\\"+Af[ui]}function V1(ui,ji){return ui==null?e:ui[ji]}function Pm(ui){return AC.test(ui)}function wA(ui){return Df.test(ui)}function EA(ui){for(var ji,bi=[];!(ji=ui.next()).done;)bi.push(ji.value);return bi}function F_(ui){var ji=-1,bi=Array(ui.size);return ui.forEach(function(qn,Mr){bi[++ji]=[Mr,qn]}),bi}function B_(ui,ji){return function(bi){return ui(ji(bi))}}function Zp(ui,ji){for(var bi=-1,qn=ui.length,Mr=0,ro=[];++bi-1}function zA(L,Y){var ut=this.__data__,Ft=Qf(ut,L);return Ft<0?(++this.size,ut.push([L,Y])):ut[Ft][1]=Y,this}pp.prototype.clear=j1,pp.prototype.delete=oy,pp.prototype.get=LA,pp.prototype.has=VA,pp.prototype.set=zA;function mp(L){var Y=-1,ut=L==null?0:L.length;for(this.clear();++Y=Y?L:Y)),L}function Pl(L,Y,ut,Ft,ee,we){var Qe,ri=Y&y,hi=Y&C,Ui=Y&E;if(ut&&(Qe=ee?ut(L,Ft,ee,we):ut(L)),Qe!==e)return Qe;if(!Pa(L))return L;var Wi=Vr(L);if(Wi){if(Qe=qy(L),!ri)return Yl(L,Qe)}else{var rn=Fs(L),Mn=rn==ke||rn==ce;if(Vm(L))return My(L,ri);if(rn==le||rn==Yt||Mn&&!ee){if(Qe=hi||Mn?{}:sg(L),!ri)return hi?a7(L,hy(Qe,L)):o7(L,Yf(Qe,L))}else{if(!fr[rn])return ee?L:{};Qe=mh(L,rn,ri)}}we||(we=new Wl);var Zn=we.get(L);if(Zn)return Zn;we.set(L,Qe),Ud(L)?L.forEach(function(gr){Qe.add(Pl(gr,Y,ut,gr,L,we))}):Av(L)&&L.forEach(function(gr,so){Qe.set(so,Pl(gr,Y,ut,so,L,we))});var ur=Ui?hi?ch:lh:hi?hl:ls,Qr=Wi?e:ur(L);return mc(Qr||L,function(gr,so){Qr&&(so=gr,gr=L[so]),Po(Qe,so,Pl(gr,Y,ut,so,L,we))}),Qe}function gy(L){var Y=ls(L);return function(ut){return xy(ut,L,Y)}}function xy(L,Y,ut){var Ft=ut.length;if(L==null)return!Ft;for(L=Go(L);Ft--;){var ee=ut[Ft],we=Y[ee],Qe=L[ee];if(Qe===e&&!(ee in L)||!we(Qe))return!1}return!0}function Kf(L,Y,ut){if(typeof L!="function")throw new ml(n);return Bm(function(){L.apply(e,ut)},Y)}function Jf(L,Y,ut,Ft){var ee=-1,we=Ff,Qe=!0,ri=L.length,hi=[],Ui=Y.length;if(!ri)return hi;ut&&(Y=sa(Y,$l(ut))),Ft?(we=D1,Qe=!1):Y.length>=i&&(we=Nf,Qe=!1,Y=new gc(Y));t:for(;++eeee?0:ee+ut),Ft=Ft===e||Ft>ee?ee:Jn(Ft),Ft<0&&(Ft+=ee),Ft=ut>Ft?0:Ha(Ft);ut0&&ut(ri)?Y>1?As(ri,Y-1,ut,Ft,ee):Em(ee,ri):Ft||(ee[ee.length]=ri)}return ee}var U1=By(),Cy=By(!0);function xc(L,Y){return L&&U1(L,Y,ls)}function Zf(L,Y){return L&&Cy(L,Y,ls)}function Bd(L,Y){return Jp(Y,function(ut){return rm(L[ut])})}function v0(L,Y){Y=hp(Y,L);for(var ut=0,Ft=Y.length;L!=null&&utY}function $A(L,Y){return L!=null&&bn.call(L,Y)}function WA(L,Y){return L!=null&&Y in Go(L)}function yy(L,Y,ut){return L>=hs(Y,ut)&&L=120&&Wi.length>=120)?new gc(Qe&&Wi):e}Wi=L[0];var rn=-1,Mn=ri[0];t:for(;++rn-1;)ri!==L&&Lc.call(ri,hi,1),Lc.call(L,hi,1);return L}function Z_(L,Y){for(var ut=L?Y.length:0,Ft=ut-1;ut--;){var ee=Y[ut];if(ut==Ft||ee!==we){var we=ee;_p(ee)?Lc.call(L,ee,1):iv(L,ee)}}return L}function th(L,Y){return L+Uf(ny()*(Y-L+1))}function Z1(L,Y,ut,Ft){for(var ee=-1,we=Ka(Gf((Y-L)/(ut||1)),0),Qe=bi(we);we--;)Qe[Ft?we:++ee]=L,L+=ut;return Qe}function X_(L,Y){var ut="";if(!L||Y<1||Y>G)return ut;do Y%2&&(ut+=L),Y=Uf(Y/2),Y&&(L+=L);while(Y);return ut}function Xr(L,Y){return lg(Qy(L,Y,jr),L+"")}function JA(L){return Dm(R0(L))}function tv(L,Y){var ut=R0(L);return gh(ut,_0(Y,0,ut.length))}function eh(L,Y,ut,Ft){if(!Pa(L))return L;Y=hp(Y,L);for(var ee=-1,we=Y.length,Qe=we-1,ri=L;ri!=null&&++eeee?0:ee+Y),ut=ut>ee?ee:ut,ut<0&&(ut+=ee),ee=Y>ut?0:ut-Y>>>0,Y>>>=0;for(var we=bi(ee);++Ft>>1,Qe=L[we];Qe!==null&&!Rs(Qe)&&(ut?Qe<=Y:Qe=i){var Ui=Y?null:zd(L);if(Ui)return z1(Ui);Qe=!1,ee=Nf,hi=new gc}else hi=Y?[]:ri;t:for(;++Ft=Ft?L:_c(L,Y,ut)}var ig=ZC||function(L){return fs.clearTimeout(L)};function My(L,Y){if(Y)return L.slice();var ut=L.length,Ft=N_?N_(ut):new L.constructor(ut);return L.copy(Ft),Ft}function av(L){var Y=new L.constructor(L.byteLength);return new Td(Y).set(new Td(L)),Y}function i7(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.byteLength)}function C0(L){var Y=new L.constructor(L.source,Bn.exec(L));return Y.lastIndex=L.lastIndex,Y}function n7(L){return Qs?Go(Qs.call(L)):{}}function sv(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.length)}function Dy(L,Y){if(L!==Y){var ut=L!==e,Ft=L===null,ee=L===L,we=Rs(L),Qe=Y!==e,ri=Y===null,hi=Y===Y,Ui=Rs(Y);if(!ri&&!Ui&&!we&&L>Y||we&&Qe&&hi&&!ri&&!Ui||Ft&&Qe&&hi||!ut&&hi||!ee)return 1;if(!Ft&&!we&&!Ui&&L=ri)return hi;var Ui=ut[Ft];return hi*(Ui=="desc"?-1:1)}}return L.index-Y.index}function Ay(L,Y,ut,Ft){for(var ee=-1,we=L.length,Qe=ut.length,ri=-1,hi=Y.length,Ui=Ka(we-Qe,0),Wi=bi(hi+Ui),rn=!Ft;++ri1?ut[ee-1]:e,Qe=ee>2?ut[2]:e;for(we=L.length>3&&typeof we=="function"?(ee--,we):e,Qe&&Ys(ut[0],ut[1],Qe)&&(we=ee<3?e:we,ee=1),Y=Go(Y);++Ft-1?ee[we?Y[Qe]:Qe]:e}}function Vd(L){return nm(function(Y){var ut=Y.length,Ft=ut,ee=hc.prototype.thru;for(L&&Y.reverse();Ft--;){var we=Y[Ft];if(typeof we!="function")throw new ml(n);if(ee&&!Qe&&k0(we)=="wrapper")var Qe=new hc([],!0)}for(Ft=Qe?Ft:ut;++Ft1&&go.reverse(),Wi&&hiri))return!1;var Ui=we.get(L),Wi=we.get(Y);if(Ui&&Wi)return Ui==Y&&Wi==L;var rn=-1,Mn=!0,Zn=ut&D?new gc:e;for(we.set(L,Y),we.set(Y,L);++rn1?"& ":"")+Y[Ft],Y=Y.join(ut>2?", ":" "),L.replace(Ri,`{ +import{a as V$,b as Sa,c as Bw,d as Ei,e as vW}from"./chunk-ZRUDBUFD.js";import{a as Ts,b as e9,c as i9,d as db}from"./chunk-FUVLTOAH.js";import{$ as n$,$a as Lg,$b as Hi,$c as ns,$d as Yo,$f as hn,A as Um,Aa as Ng,Ab as b$,Ac as A$,Ad as Mi,Ae as mu,Af as Qg,B as wo,Ba as Nt,Bb as Ro,Bc as O$,Bd as Di,Be as xa,Bf as cW,C as Bo,Ca as Bt,Cb as iu,Cc as Dl,Cd as Ai,Ce as Je,Cf as pW,D as JU,Da as Rt,Db as C$,Dc as _i,Dd as Gi,De as J$,Df as kw,E as Wt,Ea as Mt,Eb as y$,Ec as We,Ed as on,Ee as Gg,Ef as mW,F as un,Fa as t,Fb as S$,Fc as mb,Fd as de,Fe as Tp,Ff as dW,G as JS,Ga as b,Gb as Wm,Gc as Wo,Gd as L$,Ge as Ss,Gf as La,H as Qt,Ha as P,Hb as vo,Hc as F$,Hd as z$,He as ws,Hf as Mp,I as ZU,Ia as _t,Ib as cm,Ic as Se,Id as Gt,Ie as Z$,If as Xm,J as Vo,Ja as ea,Jb as Zs,Jc as bt,Jd as xw,Je as X$,Jf as Iw,K as W,Ka as c$,Kb as zs,Kc as re,Ke as tW,Kf as Rl,L as Q,La as H0,Lb as w$,Lc as ue,Ld as Fn,Le as du,Lf as Fr,M as ca,Ma as G0,Mb as zo,Mc as pm,Md as Li,Me as $e,Mf as _r,N as XU,Na as U0,Nb as ps,Nd as qg,Ne as wi,Nf as mo,O as ZS,Oa as p$,Ob as js,Oc as _e,Od as au,Oe as eW,Of as no,P as q0,Pa as ht,Pb as Lh,Pc as ru,Pd as Ci,Pe as _a,Pf as ya,Q as $n,Qa as Xe,Qb as sw,Qc as ge,Qd as sn,Qe as va,Qf as Ji,R as Nh,Ra as vs,Rb as pb,Rc as Gn,Rd as _w,Re as ba,Rf as vr,S as lb,Sa as m,Sb as lw,Sc as er,Sd as vw,Se as Ca,Sf as uW,T as JO,Ta as d,Tb as Lt,Tc as fe,Td as Ym,Te as En,U as t$,Ua as Ye,Ub as fa,Uc as ha,Ud as Km,Ue as dn,Uf as Tw,V as e$,Va as Js,Vb as cw,Vc as is,Vd as Jm,Ve as Fe,Vf as Mw,W as XS,Wa as pi,Wb as te,Wc as he,Wd as Pi,We as Be,Wf as fW,X as tw,Xa as vi,Xb as qt,Xc as B$,Xd as bw,Xe as Re,Xf as Dw,Y as i$,Ya as $m,Yb as es,Yc as ou,Yd as Cw,Yf as rl,Z as Rg,Za as m$,Zb as tr,Zc as Ie,Zd as j$,Ze as Ne,Zf as Is,_ as l,_a as d$,_b as pw,_c as gw,_d as Hg,_e as Le,_f as Xn,a as ab,aa as r$,ab as io,ac as Dt,ad as R$,ae as yw,af as Ve,ag as hW,b as Fh,ba as ew,bb as se,bc as mw,bd as xe,be as q$,bf as ze,bg as ol,c as ec,ca as V,cb as zt,cc as XO,cd as Qm,ce as H$,d as _s,da as yt,db as Ra,dc as E$,dd as wt,de as Xs,df as je,dg as gW,e as qU,ea as fn,eb as Na,ec as P$,ed as oe,ee as Sw,ef as qe,eg as xn,f as HU,fa as cb,fb as u$,fc as t9,fd as Qo,fe as G$,fg as Aw,g as sb,ga as o$,gb as Ip,gc as dw,gd as Al,ge as U$,gf as He,gg as t0,h as Bh,ha as x,hb as f$,hc as uw,hd as me,he as $$,hf as iW,hg as xW,i as GU,ia as kr,ib as bs,ic as k$,id as Ol,ie as W$,if as nW,j as xr,ja as g,jb as iw,jc as I$,jd as Ue,je as Q$,jf as ci,jg as Ow,k as UU,ka as Xd,kb as Vg,kc as fw,kd as ga,ke as Y$,kf as rW,kg as na,l as $U,la as kp,lb as nw,lc as qr,ld as N$,le as mm,lf as oW,lg as Dp,m as Bg,ma as a$,mb as h$,mc as bo,md as zg,me as su,mf as Bl,mg as Co,n as YS,na as a,nb as rw,nc as ni,nd as $t,ne as lu,nf as xl,ng as Ap,o as WU,oa as s,ob as eu,oc as Ar,od as Te,oe as K$,of as Es,og as Fw,p as Ec,pa as k,pb as g$,pc as Or,pd as rs,pe as Cs,pf as Ps,pg as _W,q as Rh,qa as ot,qb as St,qc as po,qd as jg,qe as ys,qf as ks,r as KS,ra as at,rb as Yc,rc as Ir,rd as Si,re as cu,rf as aW,rg as Yr,s as Oo,sa as kc,sb as x$,sc as hw,sd as Ht,se as pu,sf as sW,t as QU,ta as st,tb as _$,tc as T$,td as Tr,te as tl,tf as ww,u as Fo,ua as q,ub as ow,uc as M$,ud as Xt,ue as el,uf as Ug,v as Gm,va as A,vb as aw,vc as zi,vd as De,ve as Zm,vf as $g,w as YU,wa as s$,wb as v$,wc as Et,wd as qs,we as il,wf as Ew,x as KU,xa as l$,xc as nu,xd as Oe,xe as nl,xf as lW,y as Pc,ya as Zt,yb as Hn,yc as Wn,yd as ia,ye as Fl,yf as Pw,z as KO,za as tu,zb as ZO,zc as D$,zd as Ti,ze as Io,zf as Wg}from"./chunk-TNQPWBZW.js";import{a as ye,b as oi,c as lm,d as zU,e as Pe,f as QO,g as Pp,h as Dr,i as YO,j as jU,k as cs,l as QS}from"./chunk-O7S4L63H.js";var Uh=Pe((tx,Cb)=>{(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,_="__lodash_placeholder__",y=1,C=2,E=4,T=1,D=2,M=1,F=2,B=4,z=8,$=16,tt=32,lt=64,gt=128,X=256,mt=512,vt=30,Tt="...",Ct=800,Z=16,nt=1,xt=2,R=3,j=1/0,G=9007199254740991,H=17976931348623157e292,K=NaN,et=4294967295,ft=et-1,At=et>>>1,Ot=[["ary",gt],["bind",M],["bindKey",F],["curry",z],["curryRight",$],["flip",mt],["partial",tt],["partialRight",lt],["rearg",X]],Yt="[object Arguments]",dt="[object Array]",jt="[object AsyncFunction]",ct="[object Boolean]",rt="[object Date]",It="[object DOMException]",Kt="[object Error]",ke="[object Function]",ce="[object GeneratorFunction]",pe="[object Map]",si="[object Number]",ii="[object Null]",le="[object Object]",ti="[object Promise]",Ke="[object Proxy]",li="[object RegExp]",fi="[object Set]",di="[object String]",gi="[object Symbol]",Yi="[object Undefined]",Zi="[object WeakMap]",Xi="[object WeakSet]",On="[object ArrayBuffer]",pn="[object DataView]",kn="[object Float32Array]",Rr="[object Float64Array]",Un="[object Int8Array]",In="[object Int16Array]",Qn="[object Int32Array]",mn="[object Uint8Array]",ln="[object Uint8ClampedArray]",lr="[object Uint16Array]",vn="[object Uint32Array]",zn=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,Yn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ar=/&(?:amp|lt|gt|quot|#39);/g,oa=/[&<>"']/g,yr=RegExp(ar.source),Sr=RegExp(oa.source),$s=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,sr=/<%=([\s\S]+?)%>/g,To=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ds=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(ds.source),Ze=/^\s+/,Ii=/\s/,Ri=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,_n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vn=/[()=,{}\[\]\/\s]/,Mo=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bn=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,$r=/^\[object .+?Constructor\]$/,No=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ss=/($^)/,za=/['\n\r\u2028\u2029\\]/g,Wa="\\ud800-\\udfff",Ae="\\u0300-\\u036f",yi="\\ufe20-\\ufe2f",$i="\\u20d0-\\u20ff",Vi=Ae+yi+$i,cn="\\u2700-\\u27bf",Rn="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Er="\\u2000-\\u206f",mr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",aa="\\ufe0e\\ufe0f",ma=jn+Lr+Er+mr,ho="['\u2019]",Lo="["+Wa+"]",da="["+ma+"]",us="["+Vi+"]",pl="\\d+",lc="["+cn+"]",Hl="["+Rn+"]",d0="[^"+Wa+ma+pl+cn+Rn+Pr+"]",op="\\ud83c[\\udffb-\\udfff]",xo="(?:"+us+"|"+op+")",Eo="[^"+Wa+"]",cc="(?:\\ud83c[\\udde6-\\uddff]){2}",El="[\\ud800-\\udbff][\\udc00-\\udfff]",Rc="["+Pr+"]",ja="\\u200d",Ws="(?:"+Hl+"|"+d0+")",ap="(?:"+Rc+"|"+d0+")",Nc="(?:"+ho+"(?:d|ll|m|re|s|t|ve))?",Qp="(?:"+ho+"(?:D|LL|M|RE|S|T|VE))?",Yp=xo+"?",Gl="["+aa+"]?",Kp="(?:"+ja+"(?:"+[Eo,cc,El].join("|")+")"+Gl+Yp+")*",bd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sm=Gl+Yp+Kp,yd="(?:"+[lc,cc,El].join("|")+")"+Sm,P1="(?:"+[Eo+us+"?",us,cc,El,Lo].join("|")+")",wm=RegExp(ho,"g"),Sd=RegExp(us,"g"),k1=RegExp(op+"(?="+op+")|"+P1+Sm,"g"),DC=RegExp([Rc+"?"+Hl+"+"+Nc+"(?="+[da,Rc,"$"].join("|")+")",ap+"+"+Qp+"(?="+[da,Rc+Ws,"$"].join("|")+")",Rc+"?"+Ws+"+"+Nc,Rc+"+"+Qp,Cd,bd,pl,yd].join("|"),"g"),AC=RegExp("["+ja+Wa+Vi+aa+"]"),Df=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_A=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],y_=-1,ta={};ta[kn]=ta[Rr]=ta[Un]=ta[In]=ta[Qn]=ta[mn]=ta[ln]=ta[lr]=ta[vn]=!0,ta[Yt]=ta[dt]=ta[On]=ta[ct]=ta[pn]=ta[rt]=ta[Kt]=ta[ke]=ta[pe]=ta[si]=ta[le]=ta[li]=ta[fi]=ta[di]=ta[Zi]=!1;var fr={};fr[Yt]=fr[dt]=fr[On]=fr[pn]=fr[ct]=fr[rt]=fr[kn]=fr[Rr]=fr[Un]=fr[In]=fr[Qn]=fr[pe]=fr[si]=fr[le]=fr[li]=fr[fi]=fr[di]=fr[gi]=fr[mn]=fr[ln]=fr[lr]=fr[vn]=!0,fr[Kt]=fr[ke]=fr[Zi]=!1;var vA={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},S_={"&":"&","<":"<",">":">",'"':""","'":"'"},OC={"&":"&","<":"<",">":">",""":'"',"'":"'"},Af={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},w_=parseFloat,wd=parseInt,E_=typeof global=="object"&&global&&global.Object===Object&&global,P_=typeof self=="object"&&self&&self.Object===Object&&self,fs=E_||P_||Function("return this")(),I1=typeof tx=="object"&&tx&&!tx.nodeType&&tx,u0=I1&&typeof Cb=="object"&&Cb&&!Cb.nodeType&&Cb,T1=u0&&u0.exports===I1,k_=T1&&E_.process,pc=function(){try{var ui=u0&&u0.require&&u0.require("util").types;return ui||k_&&k_.binding&&k_.binding("util")}catch{}}(),FC=pc&&pc.isArrayBuffer,Of=pc&&pc.isDate,M1=pc&&pc.isMap,BC=pc&&pc.isRegExp,RC=pc&&pc.isSet,NC=pc&&pc.isTypedArray;function Ul(ui,ji,bi){switch(bi.length){case 0:return ui.call(ji);case 1:return ui.call(ji,bi[0]);case 2:return ui.call(ji,bi[0],bi[1]);case 3:return ui.call(ji,bi[0],bi[1],bi[2])}return ui.apply(ji,bi)}function Ed(ui,ji,bi,qn){for(var Mr=-1,ro=ui==null?0:ui.length;++Mr-1}function D1(ui,ji,bi){for(var qn=-1,Mr=ui==null?0:ui.length;++qn-1;);return bi}function GC(ui,ji){for(var bi=ui.length;bi--&&f0(ji,ui[bi],0)>-1;);return bi}function h0(ui,ji){for(var bi=ui.length,qn=0;bi--;)ui[bi]===ji&&++qn;return qn}var Lf=Rf(vA),yA=Rf(S_);function SA(ui){return"\\"+Af[ui]}function V1(ui,ji){return ui==null?e:ui[ji]}function Pm(ui){return AC.test(ui)}function wA(ui){return Df.test(ui)}function EA(ui){for(var ji,bi=[];!(ji=ui.next()).done;)bi.push(ji.value);return bi}function F_(ui){var ji=-1,bi=Array(ui.size);return ui.forEach(function(qn,Mr){bi[++ji]=[Mr,qn]}),bi}function B_(ui,ji){return function(bi){return ui(ji(bi))}}function Zp(ui,ji){for(var bi=-1,qn=ui.length,Mr=0,ro=[];++bi-1}function zA(L,Y){var ut=this.__data__,Ft=Qf(ut,L);return Ft<0?(++this.size,ut.push([L,Y])):ut[Ft][1]=Y,this}pp.prototype.clear=j1,pp.prototype.delete=oy,pp.prototype.get=LA,pp.prototype.has=VA,pp.prototype.set=zA;function mp(L){var Y=-1,ut=L==null?0:L.length;for(this.clear();++Y=Y?L:Y)),L}function Pl(L,Y,ut,Ft,ee,we){var Qe,ri=Y&y,hi=Y&C,Ui=Y&E;if(ut&&(Qe=ee?ut(L,Ft,ee,we):ut(L)),Qe!==e)return Qe;if(!Pa(L))return L;var Wi=Vr(L);if(Wi){if(Qe=qy(L),!ri)return Yl(L,Qe)}else{var rn=Fs(L),Mn=rn==ke||rn==ce;if(Vm(L))return My(L,ri);if(rn==le||rn==Yt||Mn&&!ee){if(Qe=hi||Mn?{}:sg(L),!ri)return hi?a7(L,hy(Qe,L)):o7(L,Yf(Qe,L))}else{if(!fr[rn])return ee?L:{};Qe=mh(L,rn,ri)}}we||(we=new Wl);var Zn=we.get(L);if(Zn)return Zn;we.set(L,Qe),Ud(L)?L.forEach(function(gr){Qe.add(Pl(gr,Y,ut,gr,L,we))}):Av(L)&&L.forEach(function(gr,so){Qe.set(so,Pl(gr,Y,ut,so,L,we))});var ur=Ui?hi?ch:lh:hi?hl:ls,Qr=Wi?e:ur(L);return mc(Qr||L,function(gr,so){Qr&&(so=gr,gr=L[so]),Po(Qe,so,Pl(gr,Y,ut,so,L,we))}),Qe}function gy(L){var Y=ls(L);return function(ut){return xy(ut,L,Y)}}function xy(L,Y,ut){var Ft=ut.length;if(L==null)return!Ft;for(L=Go(L);Ft--;){var ee=ut[Ft],we=Y[ee],Qe=L[ee];if(Qe===e&&!(ee in L)||!we(Qe))return!1}return!0}function Kf(L,Y,ut){if(typeof L!="function")throw new ml(n);return Bm(function(){L.apply(e,ut)},Y)}function Jf(L,Y,ut,Ft){var ee=-1,we=Ff,Qe=!0,ri=L.length,hi=[],Ui=Y.length;if(!ri)return hi;ut&&(Y=sa(Y,$l(ut))),Ft?(we=D1,Qe=!1):Y.length>=i&&(we=Nf,Qe=!1,Y=new gc(Y));t:for(;++eeee?0:ee+ut),Ft=Ft===e||Ft>ee?ee:Jn(Ft),Ft<0&&(Ft+=ee),Ft=ut>Ft?0:Ha(Ft);ut0&&ut(ri)?Y>1?As(ri,Y-1,ut,Ft,ee):Em(ee,ri):Ft||(ee[ee.length]=ri)}return ee}var U1=By(),Cy=By(!0);function xc(L,Y){return L&&U1(L,Y,ls)}function Zf(L,Y){return L&&Cy(L,Y,ls)}function Bd(L,Y){return Jp(Y,function(ut){return rm(L[ut])})}function v0(L,Y){Y=hp(Y,L);for(var ut=0,Ft=Y.length;L!=null&&utY}function $A(L,Y){return L!=null&&bn.call(L,Y)}function WA(L,Y){return L!=null&&Y in Go(L)}function yy(L,Y,ut){return L>=hs(Y,ut)&&L=120&&Wi.length>=120)?new gc(Qe&&Wi):e}Wi=L[0];var rn=-1,Mn=ri[0];t:for(;++rn-1;)ri!==L&&Lc.call(ri,hi,1),Lc.call(L,hi,1);return L}function Z_(L,Y){for(var ut=L?Y.length:0,Ft=ut-1;ut--;){var ee=Y[ut];if(ut==Ft||ee!==we){var we=ee;_p(ee)?Lc.call(L,ee,1):iv(L,ee)}}return L}function th(L,Y){return L+Uf(ny()*(Y-L+1))}function Z1(L,Y,ut,Ft){for(var ee=-1,we=Ka(Gf((Y-L)/(ut||1)),0),Qe=bi(we);we--;)Qe[Ft?we:++ee]=L,L+=ut;return Qe}function X_(L,Y){var ut="";if(!L||Y<1||Y>G)return ut;do Y%2&&(ut+=L),Y=Uf(Y/2),Y&&(L+=L);while(Y);return ut}function Xr(L,Y){return lg(Qy(L,Y,jr),L+"")}function JA(L){return Dm(R0(L))}function tv(L,Y){var ut=R0(L);return gh(ut,_0(Y,0,ut.length))}function eh(L,Y,ut,Ft){if(!Pa(L))return L;Y=hp(Y,L);for(var ee=-1,we=Y.length,Qe=we-1,ri=L;ri!=null&&++eeee?0:ee+Y),ut=ut>ee?ee:ut,ut<0&&(ut+=ee),ee=Y>ut?0:ut-Y>>>0,Y>>>=0;for(var we=bi(ee);++Ft>>1,Qe=L[we];Qe!==null&&!Rs(Qe)&&(ut?Qe<=Y:Qe=i){var Ui=Y?null:zd(L);if(Ui)return z1(Ui);Qe=!1,ee=Nf,hi=new gc}else hi=Y?[]:ri;t:for(;++Ft=Ft?L:_c(L,Y,ut)}var ig=ZC||function(L){return fs.clearTimeout(L)};function My(L,Y){if(Y)return L.slice();var ut=L.length,Ft=N_?N_(ut):new L.constructor(ut);return L.copy(Ft),Ft}function av(L){var Y=new L.constructor(L.byteLength);return new Td(Y).set(new Td(L)),Y}function i7(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.byteLength)}function C0(L){var Y=new L.constructor(L.source,Bn.exec(L));return Y.lastIndex=L.lastIndex,Y}function n7(L){return Qs?Go(Qs.call(L)):{}}function sv(L,Y){var ut=Y?av(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.length)}function Dy(L,Y){if(L!==Y){var ut=L!==e,Ft=L===null,ee=L===L,we=Rs(L),Qe=Y!==e,ri=Y===null,hi=Y===Y,Ui=Rs(Y);if(!ri&&!Ui&&!we&&L>Y||we&&Qe&&hi&&!ri&&!Ui||Ft&&Qe&&hi||!ut&&hi||!ee)return 1;if(!Ft&&!we&&!Ui&&L=ri)return hi;var Ui=ut[Ft];return hi*(Ui=="desc"?-1:1)}}return L.index-Y.index}function Ay(L,Y,ut,Ft){for(var ee=-1,we=L.length,Qe=ut.length,ri=-1,hi=Y.length,Ui=Ka(we-Qe,0),Wi=bi(hi+Ui),rn=!Ft;++ri1?ut[ee-1]:e,Qe=ee>2?ut[2]:e;for(we=L.length>3&&typeof we=="function"?(ee--,we):e,Qe&&Ys(ut[0],ut[1],Qe)&&(we=ee<3?e:we,ee=1),Y=Go(Y);++Ft-1?ee[we?Y[Qe]:Qe]:e}}function Vd(L){return nm(function(Y){var ut=Y.length,Ft=ut,ee=hc.prototype.thru;for(L&&Y.reverse();Ft--;){var we=Y[Ft];if(typeof we!="function")throw new ml(n);if(ee&&!Qe&&k0(we)=="wrapper")var Qe=new hc([],!0)}for(Ft=Qe?Ft:ut;++Ft1&&go.reverse(),Wi&&hiri))return!1;var Ui=we.get(L),Wi=we.get(Y);if(Ui&&Wi)return Ui==Y&&Wi==L;var rn=-1,Mn=!0,Zn=ut&D?new gc:e;for(we.set(L,Y),we.set(Y,L);++rn1?"& ":"")+Y[Ft],Y=Y.join(ut>2?", ":" "),L.replace(Ri,`{ /* [wrapped with `+Y+`] */ `)}function Gy(L){return Vr(L)||F0(L)||!!(Hf&&L&&L[Hf])}function _p(L,Y){var ut=typeof L;return Y=Y??G,!!Y&&(ut=="number"||ut!="symbol"&&pa.test(L))&&L>-1&&L%1==0&&L0){if(++Y>=Ct)return arguments[0]}else Y=0;return L.apply(e,arguments)}}function gh(L,Y){var ut=-1,Ft=L.length,ee=Ft-1;for(Y=Y===e?Ft:Y;++ut1?L[Y-1]:e;return ut=typeof ut=="function"?(L.pop(),ut):e,Cc(L,ut)});function bv(L){var Y=be(L);return Y.__chain__=!0,Y}function L7(L,Y){return Y(L),L}function D0(L,Y){return Y(L)}var V7=nm(function(L){var Y=L.length,ut=Y?L[0]:0,Ft=this.__wrapped__,ee=function(we){return H1(we,L)};return Y>1||this.__actions__.length||!(Ft instanceof oo)||!_p(ut)?this.thru(ee):(Ft=Ft.slice(ut,+ut+(Y?1:0)),Ft.__actions__.push({func:D0,args:[ee],thisArg:e}),new hc(Ft,this.__chain__).thru(function(we){return Y&&!we.length&&we.push(e),we}))});function z7(){return bv(this)}function j7(){return new hc(this.value(),this.__chain__)}function f3(){this.__values__===e&&(this.__values__=fl(this.value()));var L=this.__index__>=this.__values__.length,Y=L?e:this.__values__[this.__index__++];return{done:L,value:Y}}function q7(){return this}function H7(L){for(var Y,ut=this;ut instanceof Fd;){var Ft=I0(ut);Ft.__index__=0,Ft.__values__=e,Y?ee.__wrapped__=Ft:Y=Ft;var ee=Ft;ut=ut.__wrapped__}return ee.__wrapped__=L,Y}function h3(){var L=this.__wrapped__;if(L instanceof oo){var Y=L;return this.__actions__.length&&(Y=new oo(this)),Y=Y.reverse(),Y.__actions__.push({func:D0,args:[mg],thisArg:e}),new hc(Y,this.__chain__)}return this.thru(mg)}function Cv(){return nv(this.__wrapped__,this.__actions__)}var g3=nh(function(L,Y,ut){bn.call(L,ut)?++L[ut]:em(L,ut,1)});function x3(L,Y,ut){var Ft=Vr(L)?I_:UA;return ut&&Ys(L,Y,ut)&&(Y=e),Ft(L,dr(Y,3))}function G7(L,Y){var ut=Vr(L)?Jp:by;return ut(L,dr(Y,3))}var _3=lv(xv),Xl=lv(Zy);function v3(L,Y){return As(A0(L,Y),1)}function U7(L,Y){return As(A0(L,Y),j)}function b3(L,Y,ut){return ut=ut===e?1:Jn(ut),As(A0(L,Y),ut)}function ug(L,Y){var ut=Vr(L)?mc:im;return ut(L,dr(Y,3))}function C3(L,Y){var ut=Vr(L)?LC:_y;return ut(L,dr(Y,3))}var $7=nh(function(L,Y,ut){bn.call(L,ut)?L[ut].push(Y):em(L,ut,[Y])});function tc(L,Y,ut,Ft){L=kl(L)?L:R0(L),ut=ut&&!Ft?Jn(ut):0;var ee=L.length;return ut<0&&(ut=Ka(ee+ut,0)),Ph(L)?ut<=ee&&L.indexOf(Y,ut)>-1:!!ee&&f0(L,Y,ut)>-1}var W7=Xr(function(L,Y,ut){var Ft=-1,ee=typeof Y=="function",we=kl(L)?bi(L.length):[];return im(L,function(Qe){we[++Ft]=ee?Ul(Y,Qe,ut):Rd(Qe,Y,ut)}),we}),Q7=nh(function(L,Y,ut){em(L,ut,Y)});function A0(L,Y){var ut=Vr(L)?sa:K_;return ut(L,dr(Y,3))}function Uc(L,Y,ut,Ft){return L==null?[]:(Vr(Y)||(Y=Y==null?[]:[Y]),ut=Ft?e:ut,Vr(ut)||(ut=ut==null?[]:[ut]),J_(L,Y,ut))}var Y7=nh(function(L,Y,ut){L[ut?0:1].push(Y)},function(){return[[],[]]});function bh(L,Y,ut){var Ft=Vr(L)?A1:R1,ee=arguments.length<3;return Ft(L,dr(Y,4),ut,ee,im)}function y3(L,Y,ut){var Ft=Vr(L)?bA:R1,ee=arguments.length<3;return Ft(L,dr(Y,4),ut,ee,_y)}function K7(L,Y){var ut=Vr(L)?Jp:by;return ut(L,fg(dr(Y,3)))}function S3(L){var Y=Vr(L)?Dm:JA;return Y(L)}function w3(L,Y,ut){(ut?Ys(L,Y,ut):Y===e)?Y=1:Y=Jn(Y);var Ft=Vr(L)?HA:tv;return Ft(L,Y)}function E3(L){var Y=Vr(L)?fy:XA;return Y(L)}function Ch(L){if(L==null)return 0;if(kl(L))return Ph(L)?Pd(L):L.length;var Y=Fs(L);return Y==pe||Y==fi?L.size:Y_(L).length}function P3(L,Y,ut){var Ft=Vr(L)?O1:t7;return ut&&Ys(L,Y,ut)&&(Y=e),Ft(L,dr(Y,3))}var k3=Xr(function(L,Y){if(L==null)return[];var ut=Y.length;return ut>1&&Ys(L,Y[0],Y[1])?Y=[]:ut>2&&Ys(Y[0],Y[1],Y[2])&&(Y=[Y[0]]),J_(L,As(Y,1),[])}),Gd=V_||function(){return fs.Date.now()};function I3(L,Y){if(typeof Y!="function")throw new ml(n);return L=Jn(L),function(){if(--L<1)return Y.apply(this,arguments)}}function yv(L,Y,ut){return Y=ut?e:Y,Y=L&&Y==null?L.length:Y,qc(L,gt,e,e,e,e,Y)}function Sv(L,Y){var ut;if(typeof Y!="function")throw new ml(n);return L=Jn(L),function(){return--L>0&&(ut=Y.apply(this,arguments)),L<=1&&(Y=e),ut}}var wv=Xr(function(L,Y,ut){var Ft=M;if(ut.length){var ee=Zp(ut,qd(wv));Ft|=tt}return qc(L,Ft,Y,ut,ee)}),T3=Xr(function(L,Y,ut){var Ft=M|F;if(ut.length){var ee=Zp(ut,qd(T3));Ft|=tt}return qc(Y,Ft,L,ut,ee)});function Ev(L,Y,ut){Y=ut?e:Y;var Ft=qc(L,z,e,e,e,e,e,Y);return Ft.placeholder=Ev.placeholder,Ft}function Pv(L,Y,ut){Y=ut?e:Y;var Ft=qc(L,$,e,e,e,e,e,Y);return Ft.placeholder=Pv.placeholder,Ft}function kv(L,Y,ut){var Ft,ee,we,Qe,ri,hi,Ui=0,Wi=!1,rn=!1,Mn=!0;if(typeof L!="function")throw new ml(n);Y=la(Y)||0,Pa(ut)&&(Wi=!!ut.leading,rn="maxWait"in ut,we=rn?Ka(la(ut.maxWait)||0,Y):we,Mn="trailing"in ut?!!ut.trailing:Mn);function Zn(Ga){var Wc=Ft,Qc=ee;return Ft=ee=e,Ui=Ga,Qe=L.apply(Qc,Wc),Qe}function ur(Ga){return Ui=Ga,ri=Bm(so,Y),Wi?Zn(Ga):Qe}function Qr(Ga){var Wc=Ga-hi,Qc=Ga-Ui,Jv=Y-Wc;return rn?hs(Jv,we-Qc):Jv}function gr(Ga){var Wc=Ga-hi,Qc=Ga-Ui;return hi===e||Wc>=Y||Wc<0||rn&&Qc>=we}function so(){var Ga=Gd();if(gr(Ga))return go(Ga);ri=Bm(so,Qr(Ga))}function go(Ga){return ri=e,Mn&&Ft?Zn(Ga):(Ft=ee=e,Qe)}function Il(){ri!==e&&ig(ri),Ui=0,Ft=hi=ee=ri=e}function gl(){return ri===e?Qe:go(Gd())}function Tl(){var Ga=Gd(),Wc=gr(Ga);if(Ft=arguments,ee=this,hi=Ga,Wc){if(ri===e)return ur(hi);if(rn)return ig(ri),ri=Bm(so,Y),Zn(hi)}return ri===e&&(ri=Bm(so,Y)),Qe}return Tl.cancel=Il,Tl.flush=gl,Tl}var J7=Xr(function(L,Y){return Kf(L,1,Y)}),Z7=Xr(function(L,Y,ut){return Kf(L,la(Y)||0,ut)});function X7(L){return qc(L,mt)}function yh(L,Y){if(typeof L!="function"||Y!=null&&typeof Y!="function")throw new ml(n);var ut=function(){var Ft=arguments,ee=Y?Y.apply(this,Ft):Ft[0],we=ut.cache;if(we.has(ee))return we.get(ee);var Qe=L.apply(this,Ft);return ut.cache=we.set(ee,Qe)||we,Qe};return ut.cache=new(yh.Cache||mp),ut}yh.Cache=mp;function fg(L){if(typeof L!="function")throw new ml(n);return function(){var Y=arguments;switch(Y.length){case 0:return!L.call(this);case 1:return!L.call(this,Y[0]);case 2:return!L.call(this,Y[0],Y[1]);case 3:return!L.call(this,Y[0],Y[1],Y[2])}return!L.apply(this,Y)}}function t8(L){return Sv(2,L)}var M3=e7(function(L,Y){Y=Y.length==1&&Vr(Y[0])?sa(Y[0],$l(dr())):sa(As(Y,1),$l(dr()));var ut=Y.length;return Xr(function(Ft){for(var ee=-1,we=hs(Ft.length,ut);++ee=Y}),F0=$_(function(){return arguments}())?$_:function(L){return Fa(L)&&bn.call(L,"callee")&&!L_.call(L,"callee")},Vr=bi.isArray,r8=FC?$l(FC):Sy;function kl(L){return L!=null&&wh(L.length)&&!rm(L)}function qa(L){return Fa(L)&&kl(L)}function o8(L){return L===!0||L===!1||Fa(L)&&Os(L)==ct}var Vm=MA||Sg,a8=Of?$l(Of):an;function s8(L){return Fa(L)&&L.nodeType===1&&!Bs(L)}function B0(L){if(L==null)return!0;if(kl(L)&&(Vr(L)||typeof L=="string"||typeof L.splice=="function"||Vm(L)||vp(L)||F0(L)))return!L.length;var Y=Fs(L);if(Y==pe||Y==fi)return!L.size;if(fh(L))return!Y_(L).length;for(var ut in L)if(bn.call(L,ut))return!1;return!0}function l8(L,Y){return Nd(L,Y)}function c8(L,Y,ut){ut=typeof ut=="function"?ut:e;var Ft=ut?ut(L,Y):e;return Ft===e?Nd(L,Y,e,ut):!!Ft}function gg(L){if(!Fa(L))return!1;var Y=Os(L);return Y==Kt||Y==It||typeof L.message=="string"&&typeof L.name=="string"&&!Bs(L)}function p8(L){return typeof L=="number"&&j_(L)}function rm(L){if(!Pa(L))return!1;var Y=Os(L);return Y==ke||Y==ce||Y==jt||Y==Ke}function N3(L){return typeof L=="number"&&L==Jn(L)}function wh(L){return typeof L=="number"&&L>-1&&L%1==0&&L<=G}function Pa(L){var Y=typeof L;return L!=null&&(Y=="object"||Y=="function")}function Fa(L){return L!=null&&typeof L=="object"}var Av=M1?$l(M1):wy;function m8(L,Y){return L===Y||W1(L,Y,pv(Y))}function d8(L,Y,ut){return ut=typeof ut=="function"?ut:e,W1(L,Y,pv(Y),ut)}function u8(L){return Fv(L)&&L!=+L}function f8(L){if(Uy(L))throw new Mr(o);return W_(L)}function h8(L){return L===null}function Ov(L){return L==null}function Fv(L){return typeof L=="number"||Fa(L)&&Os(L)==si}function Bs(L){if(!Fa(L)||Os(L)!=le)return!1;var Y=ua(L);if(Y===null)return!0;var ut=bn.call(Y,"constructor")&&Y.constructor;return typeof ut=="function"&&ut instanceof ut&&Id.call(ut)==KC}var Eh=BC?$l(BC):Ey;function L3(L){return N3(L)&&L>=-G&&L<=G}var Ud=RC?$l(RC):Q1;function Ph(L){return typeof L=="string"||!Vr(L)&&Fa(L)&&Os(L)==di}function Rs(L){return typeof L=="symbol"||Fa(L)&&Os(L)==gi}var vp=NC?$l(NC):YA;function V3(L){return L===e}function ko(L){return Fa(L)&&Fs(L)==Zi}function xs(L){return Fa(L)&&Os(L)==Xi}var $o=w0(K1),Ba=w0(function(L,Y){return L<=Y});function fl(L){if(!L)return[];if(kl(L))return Ph(L)?dc(L):Yl(L);if(Dd&&L[Dd])return EA(L[Dd]());var Y=Fs(L),ut=Y==pe?F_:Y==fi?z1:R0;return ut(L)}function bp(L){if(!L)return L===0?L:0;if(L=la(L),L===j||L===-j){var Y=L<0?-1:1;return Y*H}return L===L?L:0}function Jn(L){var Y=bp(L),ut=Y%1;return Y===Y?ut?Y-ut:Y:0}function Ha(L){return L?_0(Jn(L),0,et):0}function la(L){if(typeof L=="number")return L;if(Rs(L))return K;if(Pa(L)){var Y=typeof L.valueOf=="function"?L.valueOf():L;L=Pa(Y)?Y+"":Y}if(typeof L!="string")return L===0?L:+L;L=A_(L);var ut=zr.test(L);return ut||No.test(L)?wd(L.slice(2),ut?2:8):to.test(L)?K:+L}function Cp(L){return gp(L,hl(L))}function yp(L){return L?_0(Jn(L),-G,G):L===0?L:0}function Wr(L){return L==null?"":dl(L)}var g8=y0(function(L,Y){if(fh(Y)||kl(Y)){gp(Y,ls(Y),L);return}for(var ut in Y)bn.call(Y,ut)&&Po(L,ut,Y[ut])}),xg=y0(function(L,Y){gp(Y,hl(Y),L)}),ao=y0(function(L,Y,ut,Ft){gp(Y,hl(Y),L,Ft)}),x8=y0(function(L,Y,ut,Ft){gp(Y,ls(Y),L,Ft)}),z3=nm(H1);function _8(L,Y){var ut=Tm(L);return Y==null?ut:Yf(ut,Y)}var v8=Xr(function(L,Y){L=Go(L);var ut=-1,Ft=Y.length,ee=Ft>2?Y[2]:e;for(ee&&Ys(Y[0],Y[1],ee)&&(Ft=1);++ut1),we}),gp(L,ch(L),ut),Ft&&(ut=Pl(ut,y|C|E,Ny));for(var ee=Y.length;ee--;)iv(ut,Y[ee]);return ut});function _g(L,Y){return Q3(L,fg(dr(Y)))}var I8=nm(function(L,Y){return L==null?{}:b0(L,Y)});function Q3(L,Y){if(L==null)return{};var ut=sa(ch(L),function(Ft){return[Ft]});return Y=dr(Y),qo(L,ut,function(Ft,ee){return Y(Ft,ee[0])})}function T8(L,Y,ut){Y=hp(Y,L);var Ft=-1,ee=Y.length;for(ee||(ee=1,L=e);++FtY){var Ft=L;L=Y,Y=Ft}if(ut||L%1||Y%1){var ee=ny();return hs(L+ee*(Y-L+w_("1e-"+((ee+"").length-1))),Y)}return th(L,Y)}var B8=Fm(function(L,Y,ut){return Y=Y.toLowerCase(),L+(ut?eS(Y):Y)});function eS(L){return zv(Wr(L).toLowerCase())}function Lv(L){return L=Wr(L),L&&L.replace(Xo,Lf).replace(Sd,"")}function R8(L,Y,ut){L=Wr(L),Y=dl(Y);var Ft=L.length;ut=ut===e?Ft:_0(Jn(ut),0,Ft);var ee=ut;return ut-=Y.length,ut>=0&&L.slice(ut,ee)==Y}function Qd(L){return L=Wr(L),L&&Sr.test(L)?L.replace(oa,yA):L}function N8(L){return L=Wr(L),L&&wr.test(L)?L.replace(ds,"\\$&"):L}var om=Fm(function(L,Y,ut){return L+(ut?"-":"")+Y.toLowerCase()}),L8=Fm(function(L,Y,ut){return L+(ut?" ":"")+Y.toLowerCase()}),iS=Ry("toLowerCase");function nS(L,Y,ut){L=Wr(L),Y=Jn(Y);var Ft=Y?Pd(L):0;if(!Y||Ft>=Y)return L;var ee=(Y-Ft)/2;return xp(Uf(ee),ut)+L+xp(Gf(ee),ut)}function kh(L,Y,ut){L=Wr(L),Y=Jn(Y);var Ft=Y?Pd(L):0;return Y&&Ft>>0,ut?(L=Wr(L),L&&(typeof Y=="string"||Y!=null&&!Eh(Y))&&(Y=dl(Y),!Y&&Pm(L))?Om(dc(L),0,ut):L.split(Y,ut)):[]}var sS=Fm(function(L,Y,ut){return L+(ut?" ":"")+zv(Y)});function lS(L,Y,ut){return L=Wr(L),ut=ut==null?0:_0(Jn(ut),0,L.length),Y=dl(Y),L.slice(ut,ut+Y.length)==Y}function cS(L,Y,ut){var Ft=be.templateSettings;ut&&Ys(L,Y,ut)&&(Y=e),L=Wr(L),Y=ao({},Y,Ft,jd);var ee=ao({},Y.imports,Ft.imports,jd),we=ls(ee),Qe=O_(ee,we),ri,hi,Ui=0,Wi=Y.interpolate||ss,rn="__p += '",Mn=R_((Y.escape||ss).source+"|"+Wi.source+"|"+(Wi===sr?nr:ss).source+"|"+(Y.evaluate||ss).source+"|$","g"),Zn="//# sourceURL="+(bn.call(Y,"sourceURL")?(Y.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++y_+"]")+` `;L.replace(Mn,function(gr,so,go,Il,gl,Tl){return go||(go=Il),rn+=L.slice(Ui,Tl).replace(za,SA),so&&(ri=!0,rn+=`' + @@ -12549,7 +12549,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `),k(57,"mat-paginator",13),t(58,` `),s(),t(59,` `),s(),t(60,` -`)),o&2&&(l(5),b(d(6,5,"labels.heading.Charges Overview")),l(3),g("dataSource",n.dataSource),l(44),g("matHeaderRowDef",n.displayedColumns),l(2),g("matRowDefColumns",n.displayedColumns),l(3),g("pageSizeOptions",ht(7,UOt)))},dependencies:[St,io,wt,oe,Gi,Et,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He,Je,mo],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.charges-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%}"]})}}return e})();var UF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.params.clientId;return this.clientsService.getAllClientCharges(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var $F=(()=>{class e{constructor(i,o){this.clientsService=i,this.productsService=o}resolve(i){let o=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(o){case"Survey":return this.clientsService.getSurveys(n);case"Take Survey":return this.clientsService.getAllSurveysType();case"Close":return this.clientsService.getClientCommandTemplate("close");case"Reject":return this.clientsService.getClientCommandTemplate("reject");case"Withdraw":return this.clientsService.getClientCommandTemplate("withdraw");case"Transfer Client":return this.clientsService.getOffices();case"Add Charge":return this.clientsService.getClientChargeTemplate(n);case"Create Collateral":return this.productsService.getCollaterals();case"Client Screen Reports":return this.clientsService.getClientReportTemplates();case"Assign Staff":case"Update Default Savings":return this.clientsService.getClientDataAndTemplate(n);case"Undo Transfer":case"Accept Transfer":case"Reject Transfer":return this.clientsService.getClientTransferProposalDate(n);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji),Qt(ki))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var WF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var QF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var YF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var KF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var a9t=[uo.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:a5},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:J5,resolve:{clientAddressFieldConfig:X5,clientTemplate:_x}},{path:":clientId",component:g5,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5,clientTemplateData:_x,clientDatatables:jF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:x5,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:OF,clientChargesData:BF,clientCollateralData:KF}},{path:"address",component:E5,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:X5,clientAddressTemplateData:GF,clientAddressData:FF}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:_5,resolve:{clientFamilyMembers:RF}},{path:"add",component:v5,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:_x}},{path:":familyMemberId",children:[{path:"edit",component:b5,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:_x,editFamilyMember:NF}}]}]},{path:"identities",component:C5,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:LF,clientIdentifierTemplate:HF}},{path:"documents",component:S5,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:zF}},{path:"notes",component:y5,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:VF}},{path:"datatables",children:[{path:":datatableName",component:w5,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:qF}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:$5,resolve:{clientDataAndTemplate:YF}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:H5,resolve:{clientActionData:$F}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:tE,resolve:{clientChargesData:UF}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:G5,resolve:{clientChargeData:WF}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:U5,resolve:{transactionData:QF}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-3GTGFO7S.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-VP53BU5N.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-L6ILYXDJ.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-QCGLIS5Q.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-OQDLVGGY.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-EVKGC55R.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-ZYNY2BF4.js").then(e=>e.AccountTransfersModule)}]}]}])],bJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Z5,OF,FF,BF,vJ,RF,NF,_x,LF,VF,zF,jF,qF,HF,X5,GF,UF,$F,WF,QF,YF,KF],imports:[tr.forChild(a9t),tr]})}}return e})();var s9t=e=>({editForm:e}),CJ=(()=>{class e{constructor(i,o,n){this.dialogRef=i,this.formBuilder=o,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,bt.required]})}static{this.\u0275fac=function(o){return new(o||e)(V(qr),V(xe),V(bo))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-edit-notes-dialog"]],decls:27,vars:14,consts:[["formRef","ngForm"],["mat-dialog-title",""],[3,"formGroup"],["formControlName","note","matInput","","placeholder","Write a note ...."],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"]],template:function(o,n){o&1&&(a(0,"h1",1),t(1),m(2,"translate"),s(),t(3,` +`)),o&2&&(l(5),b(d(6,5,"labels.heading.Charges Overview")),l(3),g("dataSource",n.dataSource),l(44),g("matHeaderRowDef",n.displayedColumns),l(2),g("matRowDefColumns",n.displayedColumns),l(3),g("pageSizeOptions",ht(7,UOt)))},dependencies:[St,io,wt,oe,Gi,Et,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He,Je,mo],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.charges-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%}"]})}}return e})();var UF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.params.clientId;return this.clientsService.getAllClientCharges(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var $F=(()=>{class e{constructor(i,o){this.clientsService=i,this.productsService=o}resolve(i){let o=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(o){case"Survey":return this.clientsService.getSurveys(n);case"Take Survey":return this.clientsService.getAllSurveysType();case"Close":return this.clientsService.getClientCommandTemplate("close");case"Reject":return this.clientsService.getClientCommandTemplate("reject");case"Withdraw":return this.clientsService.getClientCommandTemplate("withdraw");case"Transfer Client":return this.clientsService.getOffices();case"Add Charge":return this.clientsService.getClientChargeTemplate(n);case"Create Collateral":return this.productsService.getCollaterals();case"Client Screen Reports":return this.clientsService.getClientReportTemplates();case"Assign Staff":case"Update Default Savings":return this.clientsService.getClientDataAndTemplate(n);case"Undo Transfer":case"Accept Transfer":case"Reject Transfer":return this.clientsService.getClientTransferProposalDate(n);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji),Qt(ki))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var WF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var QF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var YF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var KF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var a9t=[uo.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:a5},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:J5,resolve:{clientAddressFieldConfig:X5,clientTemplate:_x}},{path:":clientId",component:g5,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5,clientTemplateData:_x,clientDatatables:jF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:x5,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:OF,clientChargesData:BF,clientCollateralData:KF}},{path:"address",component:E5,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:X5,clientAddressTemplateData:GF,clientAddressData:FF}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:_5,resolve:{clientFamilyMembers:RF}},{path:"add",component:v5,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:_x}},{path:":familyMemberId",children:[{path:"edit",component:b5,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:_x,editFamilyMember:NF}}]}]},{path:"identities",component:C5,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:LF,clientIdentifierTemplate:HF}},{path:"documents",component:S5,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:zF}},{path:"notes",component:y5,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:VF}},{path:"datatables",children:[{path:":datatableName",component:w5,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:qF}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:$5,resolve:{clientDataAndTemplate:YF}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:H5,resolve:{clientActionData:$F}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:tE,resolve:{clientChargesData:UF}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:G5,resolve:{clientChargeData:WF}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:U5,resolve:{transactionData:QF}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-GOKHPTHK.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-RDKFYTLS.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-MAF27CAY.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-LI7TFQRC.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-JRICOWGV.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-33SBQTC7.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-OXUST6E6.js").then(e=>e.AccountTransfersModule)}]}]}])],bJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Z5,OF,FF,BF,vJ,RF,NF,_x,LF,VF,zF,jF,qF,HF,X5,GF,UF,$F,WF,QF,YF,KF],imports:[tr.forChild(a9t),tr]})}}return e})();var s9t=e=>({editForm:e}),CJ=(()=>{class e{constructor(i,o,n){this.dialogRef=i,this.formBuilder=o,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,bt.required]})}static{this.\u0275fac=function(o){return new(o||e)(V(qr),V(xe),V(bo))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-edit-notes-dialog"]],decls:27,vars:14,consts:[["formRef","ngForm"],["mat-dialog-title",""],[3,"formGroup"],["formControlName","note","matInput","","placeholder","Write a note ...."],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"]],template:function(o,n){o&1&&(a(0,"h1",1),t(1),m(2,"translate"),s(),t(3,` `),a(4,"div"),t(5,` `),a(6,"form",2,0),t(8,` `),a(9,"mat-form-field"),t(10,` @@ -13916,7 +13916,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `,d(68,26,"labels.buttons.Cancel"),` `),l(3),g("disabled",!n.editGroupForm.valid),l(),P(` `,d(72,28,"labels.buttons.Submit"),` - `)}},dependencies:[St,se,zt,wt,ge,Se,re,ue,Ie,fe,he,qt,oe,me,Ue,Ht,$t,Te,Si,Xt,Oe,De,Mi,Di,Ti,Dt,Et],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var JF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ZF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var XF=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var tB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var SE=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("groupId");return this.groupsService.getGroupData(o,"true")}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var eB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(o){case"Attendance":case"Manage Members":case"Transfer Clients":return this.groupsService.getGroupData(n);case"Assign Staff":return this.groupsService.getGroupData(n,"true");case"Close":return this.groupsService.getGroupCommandTemplate("close");case"Attach Meeting":return this.groupsService.getGroupCalendarTemplate(n);case"Edit Meeting":case"Edit Meeting Schedule":let c=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,c);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var iB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var wLt=[uo.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:iE},{path:"create",component:cE,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:bl}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:db},children:[{path:"",component:rE,resolve:{groupViewData:db,groupDatatables:XF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:oE,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:e9,groupSummary:JF,gsimData:i9,glimData:iB}},{path:"notes",component:aE,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:ZF}},{path:"committee",component:lE,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:pE,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:tB}}]}]},{path:"edit",component:yE,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:SE,groupViewData:db}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:mE,resolve:{groupAndTemplateData:SE}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:CE,resolve:{groupActionData:eB}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-3GTGFO7S.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-QCGLIS5Q.js").then(e=>e.SavingsModule)}]}]}])],EJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[db,e9,JF,ZF,XF,tB,SE,eB,i9,iB],imports:[tr.forChild(wLt),tr]})}}return e})();var PJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,ya,rl,EJ,iE,rE,oE,aE,lE,cE,pE,mE,sE,CE,dE,nE,uE,fE,yE,hE,gE,xE,_E,vE,bE]})}}return e})();var Nr=(()=>{class e{constructor(i){this.http=i}getCenters(i,o,n,c,u){let h=new Hn().set("offset",c.toString()).set("limit",u.toString()).set("sortOrder",n).set("orderBy",o).set("paged","true");return i.forEach(function(_){_.value&&(h=h.set(_.type,_.value))}),this.http.get("/centers",{params:h})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let o=new Hn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:o})}getCenterData(i){let o=new Hn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:o})}getCenterSummary(i){let o=new Hn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:o})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,o){return this.http.post(`/groups/${i}/notes`,o)}editCenterNote(i,o,n){return this.http.put(`/groups/${i}/notes/${o}`,n)}deleteCenterNote(i,o){return this.http.delete(`/groups/${i}/notes/${o}`)}getcenterDatatables(){let i=new Hn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,o){let n=new Hn().set("genericResultSet","true");return this.http.get(`/datatables/${o}/${i}`,{params:n})}addCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.post(`/datatables/${o}/${i}`,n,{params:c})}editCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.put(`/datatables/${o}/${i}`,n,{params:c})}deleteDatatableContent(i,o){let n=new Hn().set("genericResultSet","true");return this.http.delete(`/datatables/${o}/${i}`,{params:n})}executeCenterActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/centers/${i}`,n,{params:c})}executeGroupActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/groups/${i}`,n,{params:c})}getGroupStaffData(i){let o=new Hn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:o})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,o,n){let c=new Hn().set("associations",o);return c=n?c.set("template",n):c,this.http.get(`/centers/${i}`,{params:c})}getMeetingsTemplate(i,o){let n=new Hn().set("calenderId",o);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,o,n){let c=new Hn().set("calenderId",o);return this.http.post(`/centers/${i}/meetings`,n,{params:c})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,o){return this.http.post(`/centers/${i}/calendars`,o)}getCalendarAndTemplate(i,o){let n=new Hn().set("template","true");return this.http.get(`/centers/${i}/calendars/${o}`,{params:n})}updateCenterMeeting(i,o,n){return this.http.put(`/centers/${i}/calendars/${n}`,o)}getStaffAssignmentHistoryData(i,o,n,c){let u=new Hn().set("tenantIdentifier",n).set("locale",c).set("R_centerId",o);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:u})}getCenterAndTemplateData(i){let o=new Hn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:o})}executeEditCenter(i,o){return this.http.put(`/groups/${i}`,o)}getAllMeetingFallCenters(i,o,n,c,u){return this.http.get(`/centers?dateFormat=${c}&locale=${u}&meetingDate=${n}&officeId=${i}&staffId=${o}`)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ro))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wE=class{constructor(r){this.centersService=r,this.centersSubject=new _s([]),this.recordsSubject=new _s(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",o="",n=0,c=10,u=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,o,n*c,c).subscribe(h=>{h.pageItems=u?h.pageItems.filter(_=>_.active):h.pageItems,this.recordsSubject.next(h.totalFilteredRecords),this.centersSubject.next(h.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var ELt=["showClosedCenters"],PLt=()=>[10,25,50,100],kLt=()=>["../","organization","bulk-import","Centers"],ILt=()=>["create"],TLt=e=>[e,"general"];function MLt(e,r){e&1&&(a(0,"button",22),t(1,` + `)}},dependencies:[St,se,zt,wt,ge,Se,re,ue,Ie,fe,he,qt,oe,me,Ue,Ht,$t,Te,Si,Xt,Oe,De,Mi,Di,Ti,Dt,Et],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var JF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ZF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var XF=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var tB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var SE=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("groupId");return this.groupsService.getGroupData(o,"true")}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var eB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(o){case"Attendance":case"Manage Members":case"Transfer Clients":return this.groupsService.getGroupData(n);case"Assign Staff":return this.groupsService.getGroupData(n,"true");case"Close":return this.groupsService.getGroupCommandTemplate("close");case"Attach Meeting":return this.groupsService.getGroupCalendarTemplate(n);case"Edit Meeting":case"Edit Meeting Schedule":let c=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,c);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var iB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var wLt=[uo.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:iE},{path:"create",component:cE,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:bl}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:db},children:[{path:"",component:rE,resolve:{groupViewData:db,groupDatatables:XF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:oE,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:e9,groupSummary:JF,gsimData:i9,glimData:iB}},{path:"notes",component:aE,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:ZF}},{path:"committee",component:lE,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:pE,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:tB}}]}]},{path:"edit",component:yE,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:SE,groupViewData:db}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:mE,resolve:{groupAndTemplateData:SE}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:CE,resolve:{groupActionData:eB}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-GOKHPTHK.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-LI7TFQRC.js").then(e=>e.SavingsModule)}]}]}])],EJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[db,e9,JF,ZF,XF,tB,SE,eB,i9,iB],imports:[tr.forChild(wLt),tr]})}}return e})();var PJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,ya,rl,EJ,iE,rE,oE,aE,lE,cE,pE,mE,sE,CE,dE,nE,uE,fE,yE,hE,gE,xE,_E,vE,bE]})}}return e})();var Nr=(()=>{class e{constructor(i){this.http=i}getCenters(i,o,n,c,u){let h=new Hn().set("offset",c.toString()).set("limit",u.toString()).set("sortOrder",n).set("orderBy",o).set("paged","true");return i.forEach(function(_){_.value&&(h=h.set(_.type,_.value))}),this.http.get("/centers",{params:h})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let o=new Hn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:o})}getCenterData(i){let o=new Hn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:o})}getCenterSummary(i){let o=new Hn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:o})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,o){return this.http.post(`/groups/${i}/notes`,o)}editCenterNote(i,o,n){return this.http.put(`/groups/${i}/notes/${o}`,n)}deleteCenterNote(i,o){return this.http.delete(`/groups/${i}/notes/${o}`)}getcenterDatatables(){let i=new Hn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,o){let n=new Hn().set("genericResultSet","true");return this.http.get(`/datatables/${o}/${i}`,{params:n})}addCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.post(`/datatables/${o}/${i}`,n,{params:c})}editCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.put(`/datatables/${o}/${i}`,n,{params:c})}deleteDatatableContent(i,o){let n=new Hn().set("genericResultSet","true");return this.http.delete(`/datatables/${o}/${i}`,{params:n})}executeCenterActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/centers/${i}`,n,{params:c})}executeGroupActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/groups/${i}`,n,{params:c})}getGroupStaffData(i){let o=new Hn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:o})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,o,n){let c=new Hn().set("associations",o);return c=n?c.set("template",n):c,this.http.get(`/centers/${i}`,{params:c})}getMeetingsTemplate(i,o){let n=new Hn().set("calenderId",o);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,o,n){let c=new Hn().set("calenderId",o);return this.http.post(`/centers/${i}/meetings`,n,{params:c})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,o){return this.http.post(`/centers/${i}/calendars`,o)}getCalendarAndTemplate(i,o){let n=new Hn().set("template","true");return this.http.get(`/centers/${i}/calendars/${o}`,{params:n})}updateCenterMeeting(i,o,n){return this.http.put(`/centers/${i}/calendars/${n}`,o)}getStaffAssignmentHistoryData(i,o,n,c){let u=new Hn().set("tenantIdentifier",n).set("locale",c).set("R_centerId",o);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:u})}getCenterAndTemplateData(i){let o=new Hn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:o})}executeEditCenter(i,o){return this.http.put(`/groups/${i}`,o)}getAllMeetingFallCenters(i,o,n,c,u){return this.http.get(`/centers?dateFormat=${c}&locale=${u}&meetingDate=${n}&officeId=${i}&staffId=${o}`)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ro))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wE=class{constructor(r){this.centersService=r,this.centersSubject=new _s([]),this.recordsSubject=new _s(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",o="",n=0,c=10,u=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,o,n*c,c).subscribe(h=>{h.pageItems=u?h.pageItems.filter(_=>_.active):h.pageItems,this.recordsSubject.next(h.totalFilteredRecords),this.centersSubject.next(h.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var ELt=["showClosedCenters"],PLt=()=>[10,25,50,100],kLt=()=>["../","organization","bulk-import","Centers"],ILt=()=>["create"],TLt=e=>[e,"general"];function MLt(e,r){e&1&&(a(0,"button",22),t(1,` `),k(2,"fa-icon",23),t(3),m(4,"translate"),s()),e&2&&(g("routerLink",ht(4,kLt)),l(3),P("",d(4,2,"labels.buttons.Import Center"),` `))}function DLt(e,r){e&1&&(a(0,"button",22),t(1,` `),k(2,"fa-icon",24),t(3),m(4,"translate"),s()),e&2&&(g("routerLink",ht(4,ILt)),l(3),P("",d(4,2,"labels.buttons.Create Center"),` @@ -42347,7 +42347,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `),k(4,"i",35),t(5),m(6,"translate"),s(),t(7,` `),s()),e&2&&(l(5),P(` `,d(6,1,"labels.text.No pending rescheduled loan available for this account"),` - `))}var gA=(()=>{class e{constructor(i,o,n,c,u,h,_){this.route=i,this.dialog=o,this.dateUtils=n,this.router=c,this.settingsService=u,this.translateService=h,this.tasksService=_,this.displayedColumns=["select","client","rescheduleRequestNo","loanAccountNo","rescheduleForm","rescheduleReason"],this.route.data.subscribe(y=>{this.loans=y.recheduleLoansData,this.dataSource=new ci(this.loans),this.selection=new qs(!0,[])})}isAllSelected(){let i=this.selection.selected.length,o=this.dataSource.data.length;return i===o}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(i=>this.selection.select(i))}checkboxLabel(i){return i?`${this.selection.isSelected(i)?"deselect":"select"} row ${i.position+1}`:`${this.isAllSelected()?"select":"deselect"} all`}bulkLoanReschedule(i){this.dialog.open(Xs,{data:{heading:this.translateService.instant("labels.heading.Reschedule Loan"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want to")+i+this.translateService.instant("labels.dialogContext.the Reschedule Loan")}}).afterClosed().subscribe(n=>{n.confirm&&this.bulkLoanRescheduleRequest(i.toLowerCase())})}bulkLoanRescheduleRequest(i){let o=this.settingsService.dateFormat,n=this.dateUtils.formatDate(this.settingsService.businessDate,o),c=this.settingsService.language.code,u={dateFormat:o,locale:c};i==="approve"?u.approvedOnDate=n:u.rejectedOnDate=n;let h=this.selection.selected;this.batchRequests=[];let _=1;h.forEach(y=>{let C="rescheduleloans/"+y.id+"?command="+i,E=JSON.stringify(u),T={requestId:_++,relativeUrl:C,method:"POST",body:E};this.batchRequests.push(T)}),this.tasksService.submitBatchData(this.batchRequests).subscribe(y=>{this.reload()})}applyFilter(i=""){this.dataSource.filter=i.trim().toLowerCase()}reload(){let i=this.router.url;this.router.navigateByUrl("/checker-inbox-and-tasks",{skipLocationChange:!0}).then(()=>this.router.navigate([i]))}static{this.\u0275fac=function(o){return new(o||e)(V(Lt),V(ni),V(_i),V(te),V(We),V(zi),V(Ko))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-reschedule-loan"]],decls:4,vars:2,consts:[["class","tab-container mat-typography",4,"ngIf"],["class","alert",4,"ngIf"],[1,"tab-container","mat-typography"],[1,"layout-row","align-start-center"],[1,"search-box","flex-40"],[1,"flex-90"],["matInput","",3,"keyup","placeholder"],[1,"flex-60"],["mat-raised-button","","color","success",3,"click",4,"mifosxHasPermission"],["mat-raised-button","","color","reject",3,"click",4,"mifosxHasPermission"],["mat-table","",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","client"],["mat-cell","","class","view-details",3,"routerLink",4,"matCellDef"],["matColumnDef","rescheduleRequestNo"],["matColumnDef","loanAccountNo"],["matColumnDef","rescheduleForm"],["matColumnDef","rescheduleReason"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","success",3,"click"],["icon","check",1,"m-r-10"],["mat-raised-button","","color","reject",3,"click"],["icon","times",1,"m-r-10"],["mat-header-cell",""],[3,"change","checked","indeterminate","aria-label"],["mat-cell",""],[3,"click","change","checked","aria-label"],["mat-cell","",1,"view-details",3,"routerLink"],["mat-header-row",""],["mat-row","",3,"click"],[1,"alert"],[1,"message"],[1,"fa","fa-exclamation-circle","alert-check"]],template:function(o,n){o&1&&(x(0,pTi,70,8,"div",0),t(1,` + `))}var gA=(()=>{class e{constructor(i,o,n,c,u,h,_){this.route=i,this.dialog=o,this.dateUtils=n,this.router=c,this.settingsService=u,this.translateService=h,this.tasksService=_,this.displayedColumns=["select","client","rescheduleRequestNo","loanAccountNo","rescheduleForm","rescheduleReason"],this.route.data.subscribe(y=>{this.loans=y.rescheduleLoansData,this.dataSource=new ci(this.loans),this.selection=new qs(!0,[])})}isAllSelected(){let i=this.selection.selected.length,o=this.dataSource.data.length;return i===o}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(i=>this.selection.select(i))}checkboxLabel(i){return i?`${this.selection.isSelected(i)?"deselect":"select"} row ${i.position+1}`:`${this.isAllSelected()?"select":"deselect"} all`}bulkLoanReschedule(i){this.dialog.open(Xs,{data:{heading:this.translateService.instant("labels.heading.Reschedule Loan"),dialogContext:this.translateService.instant("labels.dialogContext.Are you sure you want to")+i+this.translateService.instant("labels.dialogContext.the Reschedule Loan")}}).afterClosed().subscribe(n=>{n.confirm&&this.bulkLoanRescheduleRequest(i.toLowerCase())})}bulkLoanRescheduleRequest(i){let o=this.settingsService.dateFormat,n=this.dateUtils.formatDate(this.settingsService.businessDate,o),c=this.settingsService.language.code,u={dateFormat:o,locale:c};i==="approve"?u.approvedOnDate=n:u.rejectedOnDate=n;let h=this.selection.selected;this.batchRequests=[];let _=1;h.forEach(y=>{let C="rescheduleloans/"+y.id+"?command="+i,E=JSON.stringify(u),T={requestId:_++,relativeUrl:C,method:"POST",body:E};this.batchRequests.push(T)}),this.tasksService.submitBatchData(this.batchRequests).subscribe(y=>{this.reload()})}applyFilter(i=""){this.dataSource.filter=i.trim().toLowerCase()}reload(){let i=this.router.url;this.router.navigateByUrl("/checker-inbox-and-tasks",{skipLocationChange:!0}).then(()=>this.router.navigate([i]))}static{this.\u0275fac=function(o){return new(o||e)(V(Lt),V(ni),V(_i),V(te),V(We),V(zi),V(Ko))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-reschedule-loan"]],decls:4,vars:2,consts:[["class","tab-container mat-typography",4,"ngIf"],["class","alert",4,"ngIf"],[1,"tab-container","mat-typography"],[1,"layout-row","align-start-center"],[1,"search-box","flex-40"],[1,"flex-90"],["matInput","",3,"keyup","placeholder"],[1,"flex-60"],["mat-raised-button","","color","success",3,"click",4,"mifosxHasPermission"],["mat-raised-button","","color","reject",3,"click",4,"mifosxHasPermission"],["mat-table","",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","client"],["mat-cell","","class","view-details",3,"routerLink",4,"matCellDef"],["matColumnDef","rescheduleRequestNo"],["matColumnDef","loanAccountNo"],["matColumnDef","rescheduleForm"],["matColumnDef","rescheduleReason"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","success",3,"click"],["icon","check",1,"m-r-10"],["mat-raised-button","","color","reject",3,"click"],["icon","times",1,"m-r-10"],["mat-header-cell",""],[3,"change","checked","indeterminate","aria-label"],["mat-cell",""],[3,"click","change","checked","aria-label"],["mat-cell","",1,"view-details",3,"routerLink"],["mat-header-row",""],["mat-row","",3,"click"],[1,"alert"],[1,"message"],[1,"fa","fa-exclamation-circle","alert-check"]],template:function(o,n){o&1&&(x(0,pTi,70,8,"div",0),t(1,` `),x(2,mTi,8,3,"div",1),t(3,` `)),o&2&&(g("ngIf",n.loans&&n.loans.length>0),l(2),g("ngIf",n.loans.length===0))},dependencies:[St,zt,wt,qt,Ht,Xt,Dt,Ai,Gi,de,Et,Gt,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] .mat-raised-button.mat-success[_ngcontent-%COMP%]{color:#fff;background-color:#008000ab}.tab-container[_ngcontent-%COMP%] .view-details[_ngcontent-%COMP%]{cursor:pointer}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem}"]})}}return e})();var vft=Pp(Uh());function dTi(e,r){if(e&1&&(a(0,"div",12),t(1,` @@ -42440,7 +42440,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `)),o&2&&(l(5),P("",d(6,24,"labels.buttons.Approve"),` `),l(6),P("",d(12,26,"labels.buttons.Delete"),` `),l(6),P("",d(18,28,"labels.buttons.Reject"),` - `),l(13),b(d(31,30,"labels.heading.View Checker Inbox")),l(3),g("inset",!0),l(3),b(d(37,32,"labels.heading.Details")),l(3),g("inset",!0),l(5),P("",d(45,34,"labels.inputs.ID"),":"),l(4),b(n.checkerInboxDetail.id),l(6),P("",d(55,36,"labels.inputs.Status"),":"),l(4),b(n.checkerInboxDetail.processingResult),l(6),P("",d(65,38,"labels.inputs.User"),":"),l(4),b(n.checkerInboxDetail.maker),l(6),P("",d(75,40,"labels.inputs.Action"),":"),l(4),b(n.checkerInboxDetail.actionName),l(6),P("",d(85,42,"labels.inputs.Entity"),":"),l(4),b(n.checkerInboxDetail.entityName),l(3),g("ngIf",n.checkerInboxDetail.resourceId),l(5),P("",d(97,44,"labels.inputs.Date"),":"),l(4),b(d(101,46,n.checkerInboxDetail.madeOnDate)),l(4),g("ngIf",n.checkerInboxDetail.officeName),l(2),g("ngIf",n.checkerInboxDetail.savingsAccountNo),l(2),g("ngIf",n.checkerInboxDetail.groupLevelName),l(2),g("ngIf",n.displayJSONData))},dependencies:[St,se,zt,rw,wt,oe,me,Dt,Gi,Et,Gt,sn],styles:[".mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}.margin-t[_ngcontent-%COMP%]{margin-top:1em}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.mat-raised-button.mat-success[_ngcontent-%COMP%]{color:#fff;background-color:#008000ab}.mat-raised-button.mat-reject[_ngcontent-%COMP%]{color:#fff;background-color:#ffca00}"]})}}return e})();var Dz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getMakerCheckerData()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Az=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getGroupedClientsData()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Oz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getAllOffices()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Fz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getAllLoansToBeApproved()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Bz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getAllLoansToBeDisbursed()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Rz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getPendingRescheduleLoans()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Nz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getMakerCheckerTemplate()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Lz=(()=>{class e{constructor(i){this.tasksService=i}resolve(i){let o=i.paramMap.get("id");return this.tasksService.getCheckerInboxDetail(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var _Ti=[uo.withShell([{path:"checker-inbox-and-tasks",component:pA,data:{title:"Checker Inbox & Tasks",breadcrumb:"Checker Inbox & Tasks"},children:[{path:"checker-inbox",component:mA,data:{title:"Checker Inbox"},resolve:{makerCheckerResource:Dz,makerCheckerTemplate:Nz}},{path:"client-approval",component:uA,data:{title:"Client Approval"},resolve:{groupedClientData:Az}},{path:"loan-approval",component:fA,data:{title:"Laon Approval"},resolve:{officesData:Oz,loansData:Fz}},{path:"loan-disbursal",component:hA,data:{title:"Loan Disbursal"},resolve:{loansData:Bz}},{path:"reschedule-loan",component:gA,data:{title:"Reschedule Loan"},resolve:{recheduleLoansData:Rz}}]},{path:"checker-inbox-and-tasks/checker-inbox",children:[{path:":id/view",component:xA,data:{title:"View Checker Inbox Component",routeParamBreadcrumb:"clientId"},resolve:{checkerInboxDetail:Lz}}]}])],bft=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Dz,Az,Oz,Fz,Bz,Rz,Nz,Lz],imports:[tr.forChild(_Ti),tr]})}}return e})();var Cft=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,bft,rl,ya,pA,mA,uA,fA,hA,gA,xA]})}}return e})();var yft=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,St,I$,dw,hw,c4,m4,ll,Fp,nk]})}}return e})();var Sft=(()=>{class e{constructor(i,o){this.route=i,this.authService=o}ngOnInit(){let i=localStorage.getItem("auth_code");if(i){let o=localStorage.getItem("code_verifier");this.authService.exchangeCodeForTokens(i,o)}}static{this.\u0275fac=function(o){return new(o||e)(V(Lt),V(Va))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-callback"]],decls:11,vars:0,consts:[[1,"loader-wrapper"],[1,"bottom","triangle"],[1,"top","triangle"],[1,"left","triangle"],[1,"right","triangle"]],template:function(o,n){o&1&&(a(0,"div",0),t(1,` + `),l(13),b(d(31,30,"labels.heading.View Checker Inbox")),l(3),g("inset",!0),l(3),b(d(37,32,"labels.heading.Details")),l(3),g("inset",!0),l(5),P("",d(45,34,"labels.inputs.ID"),":"),l(4),b(n.checkerInboxDetail.id),l(6),P("",d(55,36,"labels.inputs.Status"),":"),l(4),b(n.checkerInboxDetail.processingResult),l(6),P("",d(65,38,"labels.inputs.User"),":"),l(4),b(n.checkerInboxDetail.maker),l(6),P("",d(75,40,"labels.inputs.Action"),":"),l(4),b(n.checkerInboxDetail.actionName),l(6),P("",d(85,42,"labels.inputs.Entity"),":"),l(4),b(n.checkerInboxDetail.entityName),l(3),g("ngIf",n.checkerInboxDetail.resourceId),l(5),P("",d(97,44,"labels.inputs.Date"),":"),l(4),b(d(101,46,n.checkerInboxDetail.madeOnDate)),l(4),g("ngIf",n.checkerInboxDetail.officeName),l(2),g("ngIf",n.checkerInboxDetail.savingsAccountNo),l(2),g("ngIf",n.checkerInboxDetail.groupLevelName),l(2),g("ngIf",n.displayJSONData))},dependencies:[St,se,zt,rw,wt,oe,me,Dt,Gi,Et,Gt,sn],styles:[".mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}.margin-t[_ngcontent-%COMP%]{margin-top:1em}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.mat-raised-button.mat-success[_ngcontent-%COMP%]{color:#fff;background-color:#008000ab}.mat-raised-button.mat-reject[_ngcontent-%COMP%]{color:#fff;background-color:#ffca00}"]})}}return e})();var Dz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getMakerCheckerData()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Az=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getGroupedClientsData()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Oz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getAllOffices()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Fz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getAllLoansToBeApproved()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Bz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getAllLoansToBeDisbursed()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Rz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getPendingRescheduleLoans()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Nz=(()=>{class e{constructor(i){this.tasksService=i}resolve(){return this.tasksService.getMakerCheckerTemplate()}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var Lz=(()=>{class e{constructor(i){this.tasksService=i}resolve(i){let o=i.paramMap.get("id");return this.tasksService.getCheckerInboxDetail(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ko))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var _Ti=[uo.withShell([{path:"checker-inbox-and-tasks",component:pA,data:{title:"Checker Inbox & Tasks",breadcrumb:"Checker Inbox & Tasks"},children:[{path:"checker-inbox",component:mA,data:{title:"Checker Inbox"},resolve:{makerCheckerResource:Dz,makerCheckerTemplate:Nz}},{path:"client-approval",component:uA,data:{title:"Client Approval"},resolve:{groupedClientData:Az}},{path:"loan-approval",component:fA,data:{title:"Laon Approval"},resolve:{officesData:Oz,loansData:Fz}},{path:"loan-disbursal",component:hA,data:{title:"Loan Disbursal"},resolve:{loansData:Bz}},{path:"reschedule-loan",component:gA,data:{title:"Reschedule Loan"},resolve:{rescheduleLoansData:Rz}}]},{path:"checker-inbox-and-tasks/checker-inbox",children:[{path:":id/view",component:xA,data:{title:"View Checker Inbox Component",routeParamBreadcrumb:"clientId"},resolve:{checkerInboxDetail:Lz}}]}])],bft=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Dz,Az,Oz,Fz,Bz,Rz,Nz,Lz],imports:[tr.forChild(_Ti),tr]})}}return e})();var Cft=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,bft,rl,ya,pA,mA,uA,fA,hA,gA,xA]})}}return e})();var yft=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,St,I$,dw,hw,c4,m4,ll,Fp,nk]})}}return e})();var Sft=(()=>{class e{constructor(i,o){this.route=i,this.authService=o}ngOnInit(){let i=localStorage.getItem("auth_code");if(i){let o=localStorage.getItem("code_verifier");this.authService.exchangeCodeForTokens(i,o)}}static{this.\u0275fac=function(o){return new(o||e)(V(Lt),V(Va))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-callback"]],decls:11,vars:0,consts:[[1,"loader-wrapper"],[1,"bottom","triangle"],[1,"top","triangle"],[1,"left","triangle"],[1,"right","triangle"]],template:function(o,n){o&1&&(a(0,"div",0),t(1,` `),k(2,"div",1),t(3,` `),k(4,"div",2),t(5,` `),k(6,"div",3),t(7,` diff --git a/browser/recurring-deposits.module-OQDLVGGY.js b/browser/recurring-deposits.module-JRICOWGV.js similarity index 99% rename from browser/recurring-deposits.module-OQDLVGGY.js rename to browser/recurring-deposits.module-JRICOWGV.js index 05392f41e..5330cabf3 100644 --- a/browser/recurring-deposits.module-OQDLVGGY.js +++ b/browser/recurring-deposits.module-JRICOWGV.js @@ -1,4 +1,4 @@ -import{a as Tn,b as Mn}from"./chunk-GLHURK6Z.js";import{a as mi}from"./chunk-Z3QNT3G2.js";import{$a as Nn,$b as Ie,$d as We,Ad as _t,Ba as St,Bb as kn,Bd as Ct,Ca as Pt,Cd as Ue,Ce as Jn,Da as Tt,Dc as Q,Dd as Rt,E as It,Ea as R,Ec as U,Ed as Ft,F as Ve,Fa as t,Fd as pe,Ga as u,Gf as ni,H as yt,Ha as x,Ia as M,Ic as ct,Id as ut,J as Zt,Ja as oe,Jb as Me,Jc as q,K as S,Kb as ye,Kc as Y,L as P,Lc as nt,Ld as fe,Le as Ke,Lf as ii,Mb as re,Md as ce,Me as Xn,Mf as Yt,Nb as ae,Nf as ri,Ob as Ae,Oc as J,Of as Ze,Pa as L,Pe as Qe,Pf as ai,Q as qe,Qa as xe,Qc as it,Qd as He,Qe as Ye,Rc as Ee,Re as Je,Sa as o,Sc as zn,Se as Xe,Ta as c,Tb as k,Tc as rt,Td as $e,Te as ne,Tf as le,Ua as w,Ub as Vn,Ud as Le,Ue as Qt,Vd as ze,Ve as Bt,W as Bn,Wa as G,Wb as H,Wc as at,Wd as se,We as Nt,Xb as z,Xe as kt,Yb as qn,Yf as oi,Zb as Pn,Zc as st,Ze as Vt,Zf as tn,_ as a,_e as qt,_f as Re,ab as be,ac as V,af as jt,bb as Mt,bd as ot,bf as Gt,bg as pi,ca as C,cb as F,da as A,db as Se,dd as O,df as Ut,ea as je,ed as W,ef as Ht,fd as Wn,gd as Kn,gf as $t,gg as ci,ha as m,hd as lt,ia as ve,ig as si,ja as d,jd as gt,jf as _e,kb as Pe,kd as Qn,lc as jn,mc as Gn,md as Yn,na as n,nc as ee,nd as X,oa as i,ob as Ge,oc as Un,od as mt,of as Zn,pa as f,pb as Te,pc as Hn,pf as ti,qa as D,qb as I,qc as $n,qf as ei,qg as we,ra as v,rc as Ln,rd as xt,rg as li,sd as Z,ta as y,td as Kt,ua as b,ud as dt,va as _,vc as Oe,vd as Ot,wc as E,xd as Et,ya as bt,yb as te,zd as ft}from"./chunk-NRRQFV6Z.js";import{a as B,b as K}from"./chunk-O7S4L63H.js";var N=(()=>{class e{constructor(r){this.http=r}getRecurringDepositsAccountData(r){let l=new te().set("associations","all");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}getStandingInstructions(r,l,p,g,h){let T=new te().set("clientId",r).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",g).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}getRecurringDepositsAccountTemplate(r,l){let p=new te().set("clientId",r);return p=l?p.set("productId",l):p,this.http.get("/recurringdepositaccounts/template",{params:p})}createRecurringDepositAccount(r){return this.http.post("/recurringdepositaccounts",r)}executeRecurringDepositsAccountCommand(r,l,p){let g=new te().set("command",l);return l==="deposit"||l==="withdrawal"?this.http.post(`/recurringdepositaccounts/${r}/transactions`,p,{params:g}):this.http.post(`/recurringdepositaccounts/${r}`,p,{params:g})}deleteRecurringDepositsAccount(r){return this.http.delete(`/recurringdepositaccounts/${r}`)}getRecurringDepositsAccountAndTemplate(r){let l=new te().set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}updateRecurringDepositAccount(r,l){return this.http.put(`/recurringdepositaccounts/${r}`,l)}getRecurringDepositAccountActionResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/template`,{params:p})}getRecurringDepositAccountTransactionTemplateResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/transactions/template`,{params:p})}getRecurringDepositsAccountTransaction(r,l){return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`)}getRecurringDepositsAccountTransactionTemplate(r,l){let p=new te().set("template","true");return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`,{params:p})}executeRecurringDepositsAccountTransactionsCommand(r,l,p,g){let h=new te().set("command",l);return this.http.post(`/recurringdepositaccounts/${r}/transactions/${g}`,p,{params:h})}static{this.\u0275fac=function(l){return new(l||e)(yt(kn))}}static{this.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var en=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}addButton(s){this.buttonsArray.push(s)}};var xi=()=>({confirm:!0}),Jt=(()=>{class e{constructor(r,l){this.dialogRef=r,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(C(jn),C(Gn))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),i(),t(2,` +import{a as Tn,b as Mn}from"./chunk-DPHX6AHX.js";import{a as mi}from"./chunk-AXZIFPNI.js";import{$a as Nn,$b as Ie,$d as We,Ad as _t,Ba as St,Bb as kn,Bd as Ct,Ca as Pt,Cd as Ue,Ce as Jn,Da as Tt,Dc as Q,Dd as Rt,E as It,Ea as R,Ec as U,Ed as Ft,F as Ve,Fa as t,Fd as pe,Ga as u,Gf as ni,H as yt,Ha as x,Ia as M,Ic as ct,Id as ut,J as Zt,Ja as oe,Jb as Me,Jc as q,K as S,Kb as ye,Kc as Y,L as P,Lc as nt,Ld as fe,Le as Ke,Lf as ii,Mb as re,Md as ce,Me as Xn,Mf as Yt,Nb as ae,Nf as ri,Ob as Ae,Oc as J,Of as Ze,Pa as L,Pe as Qe,Pf as ai,Q as qe,Qa as xe,Qc as it,Qd as He,Qe as Ye,Rc as Ee,Re as Je,Sa as o,Sc as zn,Se as Xe,Ta as c,Tb as k,Tc as rt,Td as $e,Te as ne,Tf as le,Ua as w,Ub as Vn,Ud as Le,Ue as Qt,Vd as ze,Ve as Bt,W as Bn,Wa as G,Wb as H,Wc as at,Wd as se,We as Nt,Xb as z,Xe as kt,Yb as qn,Yf as oi,Zb as Pn,Zc as st,Ze as Vt,Zf as tn,_ as a,_e as qt,_f as Re,ab as be,ac as V,af as jt,bb as Mt,bd as ot,bf as Gt,bg as pi,ca as C,cb as F,da as A,db as Se,dd as O,df as Ut,ea as je,ed as W,ef as Ht,fd as Wn,gd as Kn,gf as $t,gg as ci,ha as m,hd as lt,ia as ve,ig as si,ja as d,jd as gt,jf as _e,kb as Pe,kd as Qn,lc as jn,mc as Gn,md as Yn,na as n,nc as ee,nd as X,oa as i,ob as Ge,oc as Un,od as mt,of as Zn,pa as f,pb as Te,pc as Hn,pf as ti,qa as D,qb as I,qc as $n,qf as ei,qg as we,ra as v,rc as Ln,rd as xt,rg as li,sd as Z,ta as y,td as Kt,ua as b,ud as dt,va as _,vc as Oe,vd as Ot,wc as E,xd as Et,ya as bt,yb as te,zd as ft}from"./chunk-TNQPWBZW.js";import{a as B,b as K}from"./chunk-O7S4L63H.js";var N=(()=>{class e{constructor(r){this.http=r}getRecurringDepositsAccountData(r){let l=new te().set("associations","all");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}getStandingInstructions(r,l,p,g,h){let T=new te().set("clientId",r).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",g).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}getRecurringDepositsAccountTemplate(r,l){let p=new te().set("clientId",r);return p=l?p.set("productId",l):p,this.http.get("/recurringdepositaccounts/template",{params:p})}createRecurringDepositAccount(r){return this.http.post("/recurringdepositaccounts",r)}executeRecurringDepositsAccountCommand(r,l,p){let g=new te().set("command",l);return l==="deposit"||l==="withdrawal"?this.http.post(`/recurringdepositaccounts/${r}/transactions`,p,{params:g}):this.http.post(`/recurringdepositaccounts/${r}`,p,{params:g})}deleteRecurringDepositsAccount(r){return this.http.delete(`/recurringdepositaccounts/${r}`)}getRecurringDepositsAccountAndTemplate(r){let l=new te().set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}updateRecurringDepositAccount(r,l){return this.http.put(`/recurringdepositaccounts/${r}`,l)}getRecurringDepositAccountActionResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/template`,{params:p})}getRecurringDepositAccountTransactionTemplateResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/transactions/template`,{params:p})}getRecurringDepositsAccountTransaction(r,l){return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`)}getRecurringDepositsAccountTransactionTemplate(r,l){let p=new te().set("template","true");return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`,{params:p})}executeRecurringDepositsAccountTransactionsCommand(r,l,p,g){let h=new te().set("command",l);return this.http.post(`/recurringdepositaccounts/${r}/transactions/${g}`,p,{params:h})}static{this.\u0275fac=function(l){return new(l||e)(yt(kn))}}static{this.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var en=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}addButton(s){this.buttonsArray.push(s)}};var xi=()=>({confirm:!0}),Jt=(()=>{class e{constructor(r,l){this.dialogRef=r,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(C(jn),C(Gn))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),i(),t(2,` `),n(3,"div",1),t(4,` `),n(5,"p"),t(6),i(),t(7,` `),i(),t(8,` @@ -2477,4 +2477,4 @@ import{a as Tn,b as Mn}from"./chunk-GLHURK6Z.js";import{a as mi}from"./chunk-Z3Q `),m(15,Es,68,30,"div",1),t(16,` `),i(),t(17,` -`)),l&2&&(a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(5),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval))},dependencies:[I,F,Ge,Te,O,Rt,E,Ft,ni,Yt],styles:[".recurring-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var Rs=[{path:"",data:{title:"Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:"create-recurring-deposits-account",data:{title:"Create Recurring Deposits Account",breadcrumb:"Create Recurring Deposits Account"},component:sn,resolve:{recurringDepositsAccountTemplate:On}},{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"",component:nn,resolve:{recurringDepositsAccountData:In,savingsDatatables:Mn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Sn,data:{title:"Recurring Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:rn,data:{title:"Recurring Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:an,data:{title:"Recurring Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:pn,data:{title:"Recurring Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions-tab",component:on,data:{title:"Recurring Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:cn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Tn}}]}]},{path:"edit-recurring-deposit-account",data:{title:"Edit Recurring Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:bn,resolve:{recurringDepositsAccountAndTemplate:Rn}},{path:"transactions",data:{title:"Recurring Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Dn,resolve:{recurringDepositsAccountTransaction:wn}},{path:"edit",component:vn,resolve:{recurringDepositsAccountTransactionTemplate:Fn}}]}]},{path:"actions/:name",data:{title:"Recurring Deposits Account Actions",routeParamBreadcrumb:"name"},component:hn,resolve:{recurringDepositsAccountActionData:En}}]},{path:":recurringDepositAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-ZYNY2BF4.js").then(e=>e.AccountTransfersModule)}]},{path:"",data:{title:"All Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-ZYNY2BF4.js").then(e=>e.AccountTransfersModule)}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({providers:[di,In,Tn,Mn,On,En,Rn,wn,Fn],imports:[Pn.forChild(Rs),Pn]})}}return e})();var Lf=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({imports:[li,ai,oi,ui,nn,rn,an,on,pn,cn,sn,me,de,ue,Be,ge,Ne,hn,ln,mn,dn,un,gn,xn,Jt,bn,fn,_n,Cn,Dn,vn,Sn]})}}return e})();export{Lf as RecurringDepositsModule}; +`)),l&2&&(a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(5),d("ngIf",!p.recurringDepositsAccountData.status.rejected&&!p.recurringDepositsAccountData.status.submittedAndPendingApproval),a(2),d("ngIf",p.recurringDepositsAccountData.status.rejected||p.recurringDepositsAccountData.status.submittedAndPendingApproval))},dependencies:[I,F,Ge,Te,O,Rt,E,Ft,ni,Yt],styles:[".recurring-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var Rs=[{path:"",data:{title:"Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:"create-recurring-deposits-account",data:{title:"Create Recurring Deposits Account",breadcrumb:"Create Recurring Deposits Account"},component:sn,resolve:{recurringDepositsAccountTemplate:On}},{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"",component:nn,resolve:{recurringDepositsAccountData:In,savingsDatatables:Mn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Sn,data:{title:"Recurring Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:rn,data:{title:"Recurring Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:an,data:{title:"Recurring Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:pn,data:{title:"Recurring Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions-tab",component:on,data:{title:"Recurring Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:cn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:Tn}}]}]},{path:"edit-recurring-deposit-account",data:{title:"Edit Recurring Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:bn,resolve:{recurringDepositsAccountAndTemplate:Rn}},{path:"transactions",data:{title:"Recurring Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:Dn,resolve:{recurringDepositsAccountTransaction:wn}},{path:"edit",component:vn,resolve:{recurringDepositsAccountTransactionTemplate:Fn}}]}]},{path:"actions/:name",data:{title:"Recurring Deposits Account Actions",routeParamBreadcrumb:"name"},component:hn,resolve:{recurringDepositsAccountActionData:En}}]},{path:":recurringDepositAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-OXUST6E6.js").then(e=>e.AccountTransfersModule)}]},{path:"",data:{title:"All Recurring Deposits",breadcrumb:"Recurring Deposits",routeParamBreadcrumb:!1},children:[{path:":recurringDepositAccountId",data:{title:"RecurringDeposit Account View",routeParamBreadcrumb:"recurringDepositAccountId"},children:[{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-OXUST6E6.js").then(e=>e.AccountTransfersModule)}]}]}],ui=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({providers:[di,In,Tn,Mn,On,En,Rn,wn,Fn],imports:[Pn.forChild(Rs),Pn]})}}return e})();var Lf=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=je({type:e})}static{this.\u0275inj=Ve({imports:[li,ai,oi,ui,nn,rn,an,on,pn,cn,sn,me,de,ue,Be,ge,Ne,hn,ln,mn,dn,un,gn,xn,Jt,bn,fn,_n,Cn,Dn,vn,Sn]})}}return e})();export{Lf as RecurringDepositsModule}; diff --git a/browser/savings.module-QCGLIS5Q.js b/browser/savings.module-LI7TFQRC.js similarity index 99% rename from browser/savings.module-QCGLIS5Q.js rename to browser/savings.module-LI7TFQRC.js index 479386d6f..161bec411 100644 --- a/browser/savings.module-QCGLIS5Q.js +++ b/browser/savings.module-LI7TFQRC.js @@ -1,4 +1,4 @@ -import{a as He}from"./chunk-BI4TZGQT.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-3VO2Q5LJ.js";import{a as Ge}from"./chunk-5X5APTKG.js";import{a as ri,b as si}from"./chunk-GLHURK6Z.js";import{a as Gi}from"./chunk-Z3QNT3G2.js";import{$b as De,$d as sn,Ad as _t,Ba as Pt,Bd as Ct,Ca as yt,Cd as xe,Ce as we,Da as Ot,Dc as z,Dd as Rt,E as Tt,Ea as D,Ec as j,Ed as Vt,F as We,Fa as t,Fd as Lt,Ga as u,Gb as Je,Gc as bi,Gf as Ve,H as Mt,Ha as v,Ia as R,Ic as nt,Id as bt,If as Ei,J as Oe,Ja as Ie,Jc as U,K as S,Kc as K,L as M,La as Zn,Lc as it,Ld as le,Le as Fe,Lf as wi,Ma as ti,Md as _e,Me as ai,Mf as de,Na as ei,Ne as Di,Nf as pn,Oc as ft,Of as dn,Pa as B,Pc as Si,Pd as Oi,Pe as ke,Pf as Fi,Q as Qe,Qa as Nt,Qc as at,Qd as nn,Qe as Be,Rc as oe,Re as Ne,Sa as c,Sc as Mi,Se as Re,Ta as m,Tb as F,Tc as ot,Td as an,Te as he,Tf as I,Ua as St,Ub as Xe,Ud as on,Ue as pe,Uf as ki,Va as hi,Vd as rn,Ve as Ut,W as Ci,Wa as et,Wb as q,Wc as rt,Wd as Ce,We as qt,Wf as Bi,X as Ke,Xa as ni,Xb as G,Xe as Ht,Yb as Ze,Yf as Ni,Zb as ii,Zc as pt,Ze as zt,Zf as Le,_ as o,_e as $t,_f as ue,ab as ge,ac as k,af as Wt,bb as It,bd as st,bf as Qt,bg as un,ca as x,cb as N,cd as Ai,da as A,dd as P,de as Ii,df as Kt,ea as Ye,ed as J,ef as Yt,fd as en,gd as Ti,gf as Jt,gg as Ri,ha as d,hd as ct,ig as Vi,ja as l,jd as ht,jf as Zt,kd as Pi,lc as te,m as _i,mc as Ee,md as yi,na as i,nc as Et,nd as X,oa as a,oc as ee,od as dt,of as cn,pa as f,pb as fe,pc as ne,pf as mn,pg as Li,qa as E,qb as T,qc as ie,qf as ln,qg as je,ra as w,rc as ae,rd as vt,rg as ji,sd as Z,ta as y,td as re,ua as h,ud as mt,va as C,vc as ve,vd as wt,wc as O,xd as Ft,ya as gt,yc as tn,zd as xt}from"./chunk-NRRQFV6Z.js";import{a as L,b as Q}from"./chunk-O7S4L63H.js";var Ki=()=>({confirm:!0}),fn=(()=>{class e{constructor(n){this.dialogRef=n}static{this.\u0275fac=function(s){return new(s||e)(x(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(s,r){s&1&&(i(0,"h1",0),t(1),c(2,"translate"),a(),t(3,` +import{a as He}from"./chunk-E2653EFC.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-FUVLTOAH.js";import{a as Ge}from"./chunk-YEFYJVM4.js";import{a as ri,b as si}from"./chunk-DPHX6AHX.js";import{a as Gi}from"./chunk-AXZIFPNI.js";import{$b as De,$d as sn,Ad as _t,Ba as Pt,Bd as Ct,Ca as yt,Cd as xe,Ce as we,Da as Ot,Dc as z,Dd as Rt,E as Tt,Ea as D,Ec as j,Ed as Vt,F as We,Fa as t,Fd as Lt,Ga as u,Gb as Je,Gc as bi,Gf as Ve,H as Mt,Ha as v,Ia as R,Ic as nt,Id as bt,If as Ei,J as Oe,Ja as Ie,Jc as U,K as S,Kc as K,L as M,La as Zn,Lc as it,Ld as le,Le as Fe,Lf as wi,Ma as ti,Md as _e,Me as ai,Mf as de,Na as ei,Ne as Di,Nf as pn,Oc as ft,Of as dn,Pa as B,Pc as Si,Pd as Oi,Pe as ke,Pf as Fi,Q as Qe,Qa as Nt,Qc as at,Qd as nn,Qe as Be,Rc as oe,Re as Ne,Sa as c,Sc as Mi,Se as Re,Ta as m,Tb as F,Tc as ot,Td as an,Te as he,Tf as I,Ua as St,Ub as Xe,Ud as on,Ue as pe,Uf as ki,Va as hi,Vd as rn,Ve as Ut,W as Ci,Wa as et,Wb as q,Wc as rt,Wd as Ce,We as qt,Wf as Bi,X as Ke,Xa as ni,Xb as G,Xe as Ht,Yb as Ze,Yf as Ni,Zb as ii,Zc as pt,Ze as zt,Zf as Le,_ as o,_e as $t,_f as ue,ab as ge,ac as k,af as Wt,bb as It,bd as st,bf as Qt,bg as un,ca as x,cb as N,cd as Ai,da as A,dd as P,de as Ii,df as Kt,ea as Ye,ed as J,ef as Yt,fd as en,gd as Ti,gf as Jt,gg as Ri,ha as d,hd as ct,ig as Vi,ja as l,jd as ht,jf as Zt,kd as Pi,lc as te,m as _i,mc as Ee,md as yi,na as i,nc as Et,nd as X,oa as a,oc as ee,od as dt,of as cn,pa as f,pb as fe,pc as ne,pf as mn,pg as Li,qa as E,qb as T,qc as ie,qf as ln,qg as je,ra as w,rc as ae,rd as vt,rg as ji,sd as Z,ta as y,td as re,ua as h,ud as mt,va as C,vc as ve,vd as wt,wc as O,xd as Ft,ya as gt,yc as tn,zd as xt}from"./chunk-TNQPWBZW.js";import{a as L,b as Q}from"./chunk-O7S4L63H.js";var Ki=()=>({confirm:!0}),fn=(()=>{class e{constructor(n){this.dialogRef=n}static{this.\u0275fac=function(s){return new(s||e)(x(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(s,r){s&1&&(i(0,"h1",0),t(1),c(2,"translate"),a(),t(3,` `),i(4,"div",1),t(5,` `),i(6,"p"),t(7),c(8,"translate"),a(),t(9,` `),a(),t(10,` @@ -2459,5 +2459,5 @@ import{a as He}from"./chunk-BI4TZGQT.js";import{a as gn,b as oi,c as Ui,d as qi} `),a()),e&2){let n=D(7),s=D(15),r=C();o(4),l("ngIf",!r.savingsAccountData.status.rejected&&!r.savingsAccountData.status.submittedAndPendingApproval)("ngIfElse",n),o(5),l("ngIf",!r.savingsAccountData.status.rejected&&!r.savingsAccountData.status.submittedAndPendingApproval),o(3),l("ngIf",r.isActive)("ngIfElse",s)}}var Xn=(()=>{class e{constructor(n,s){this.route=n,this.router=s,this.isLoading=!0,this.isActive=!1,this.route.parent.parent.data.subscribe(r=>{this.savingsAccountData=r.savingsAccountData,this.currency=this.savingsAccountData.currency,this.isLoading=!1;let g=this.savingsAccountData.status.value;this.isActive=g==="Active"}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}static{this.\u0275fac=function(s){return new(s||e)(x(F),x(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-general-tab"]],decls:4,vars:2,consts:[["alternateDetails",""],["alternateSummary",""],["class","loader",4,"ngIf"],["class","savings-account-tables layout-row gap-2percent",4,"ngIf"],[1,"loader"],[1,"loading"],[1,"savings-account-tables","layout-row","gap-2percent"],[1,"flex-49","layout-column","gap-4percent"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["class","flex-49",4,"ngIf","ngIfElse"],[1,"table-headers"],[1,"r-amount"],[3,"externalId"],[1,"flex-49"],[4,"mifosxHasPermission"]],template:function(s,r){s&1&&(d(0,Il,4,0,"div",2),t(1,` `),d(2,g0,17,5,"div",3),t(3,` -`)),s&2&&(l("ngIf",r.isLoading),o(2),l("ngIf",!r.isLoading))},dependencies:[T,N,fe,P,Rt,Lt,O,Vt,Ve,de,dn],styles:[".loader[_ngcontent-%COMP%]{margin-bottom:39px;overflow:auto}.sidenav[_ngcontent-%COMP%]{overflow-x:hidden}@keyframes _ngcontent-%COMP%_move{0%{left:0}16.7%{left:0}33.3%{left:640px}50%{left:1120px}66.7%{left:640px}83.3%{left:0}to{left:0}}@keyframes _ngcontent-%COMP%_grow{0%{width:160px}16.7%{width:640px}33.3%{width:640px}50%{width:160px}66.7%{width:640px}83.3%{width:640px}to{width:160px}}.general-tab-container[_ngcontent-%COMP%]{padding:16px 20px;width:100%;box-sizing:border-box;position:relative;background-color:var(--background-color, #f8f9fa);color:var(--text-color, #333);transition:background-color .3s ease,color .3s ease}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:24px;padding:16px 0;position:relative;border-bottom:1px solid var(--border-color, #e9ecef)}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:600;margin:0 0 8px;line-height:1.2;color:var(--primary-color, #007bff);position:relative}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.95rem;margin:0;line-height:1.4;color:var(--text-secondary, #6c757d);position:relative}.general-tab-container[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%]{background:var(--card-background, #fff);border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;position:relative;width:100%;max-width:600px;transition:box-shadow .3s ease,background-color .3s ease}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:16px 20px;background:var(--card-header-bg, #f8f9fa);border-bottom:1px solid var(--border-color, #e9ecef);position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;line-height:1.3;color:var(--text-color, #333)}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:20px;position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--border-light, #f1f3f4);position:relative;min-height:24px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-weight:500;color:var(--text-secondary, #6c757d);flex:0 0 auto;margin-right:16px;white-space:nowrap;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:600;color:var(--text-color, #333);text-align:right;flex:1 1 auto;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value.currency[_ngcontent-%COMP%]{color:var(--success-color, #28a745);font-size:1.05rem}[data-theme=dark][_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%], .dark-theme[_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%]{--background-color: #1a1a1a;--text-color: #e9ecef;--text-secondary: #adb5bd;--primary-color: #4dabf7;--card-background: #2d3748;--card-header-bg: #374151;--border-color: #4a5568;--border-light: #2d3748;--success-color: #68d391}@media (width <= 768px){.general-tab-container[_ngcontent-%COMP%]{padding:12px 16px}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:20px;padding:12px 0}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.5rem}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.9rem}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:14px 16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{padding:8px 0}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-right:12px}}"]})}}return e})();var f0=[{path:"",data:{title:"All Savings",breadcrumb:"Savings",routeParamBreadcrumb:!1,addBreadcrumbLink:!1},children:[{path:"create",data:{title:"Create Savings Account",breadcrumb:"Create Savings Account"},component:Vn,resolve:{savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"Saving Account View",routeParamBreadcrumb:"savingAccountId"},component:_n,resolve:{savingsAccountData:He,savingsDatatables:si},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",data:{title:"Savings Account Details",breadcrumb:"General",routeParamBreadcrumb:!1},children:[{path:"",component:Xn}]},{path:"transactions",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:Cn},{path:"export",component:qn}]},{path:"charges",component:Bn,data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:Nn,data:{title:"Savings Account SIH",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"notes",component:Kn,data:{title:"Savings Account Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{savingAccountNotes:Hi}},{path:"documents",component:Qn,data:{title:"Savings Account Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{savingsDocuments:zi}},{path:"datatables",children:[{path:":datatableName",component:Rn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:ri}}]}]},{path:":savingAccountId/edit",data:{title:"Edit Savings Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Ln,resolve:{savingsAccountAndTemplate:pi}},{path:":savingAccountId/transactions/:id",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:jn,resolve:{transactionDatatables:li},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Jn,resolve:{savingsAccountTransaction:di}},{path:"datatables",children:[{path:":datatableName",component:hn,data:{title:"View Data table",routeParamBreadcrumb:"datatableName"},resolve:{transactionDatatable:mi}}]}]},{path:"edit",component:Hn,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{savingsAccountTransactionTemplate:vi}},{path:"reciept",component:Un,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{savingsTransactionReciept:fi}}]},{path:":savingAccountId/charges",data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:Gn,resolve:{savingsAccountData:He,savingsAccountCharge:ui}}]},{path:":savingAccountId/actions/:name",data:{title:"Savings Account Actions",breadcrumb:"Savings Account Actions",routeParamBreadcrumb:"name"},component:kn,resolve:{savingsAccountActionData:gi}},{path:":savingAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-ZYNY2BF4.js").then(e=>e.AccountTransfersModule)},{path:"gsim-account",children:[{path:"create",data:{title:"Create GSIM Application",breadcrumb:"Create GSIM Application"},component:zn,resolve:{groupsData:qi,savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},children:[{path:"",component:$n,resolve:{gsimData:xi,savingAccountData:He,groupsData:oi}}]}]}]}],$i=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=We({providers:[He,si,ri,mi,li,Wn,pi,di,ui,gi,fi,vi,Ui,oi,xi],imports:[ii.forChild(f0),ii]})}}return e})();var Wi=(()=>{class e{constructor(){}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-savings-transaction-datatable-tab"]],decls:4,vars:3,template:function(s,r){s&1&&(i(0,"p"),t(1),c(2,"translate"),a(),t(3,` +`)),s&2&&(l("ngIf",r.isLoading),o(2),l("ngIf",!r.isLoading))},dependencies:[T,N,fe,P,Rt,Lt,O,Vt,Ve,de,dn],styles:[".loader[_ngcontent-%COMP%]{margin-bottom:39px;overflow:auto}.sidenav[_ngcontent-%COMP%]{overflow-x:hidden}@keyframes _ngcontent-%COMP%_move{0%{left:0}16.7%{left:0}33.3%{left:640px}50%{left:1120px}66.7%{left:640px}83.3%{left:0}to{left:0}}@keyframes _ngcontent-%COMP%_grow{0%{width:160px}16.7%{width:640px}33.3%{width:640px}50%{width:160px}66.7%{width:640px}83.3%{width:640px}to{width:160px}}.general-tab-container[_ngcontent-%COMP%]{padding:16px 20px;width:100%;box-sizing:border-box;position:relative;background-color:var(--background-color, #f8f9fa);color:var(--text-color, #333);transition:background-color .3s ease,color .3s ease}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:24px;padding:16px 0;position:relative;border-bottom:1px solid var(--border-color, #e9ecef)}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:600;margin:0 0 8px;line-height:1.2;color:var(--primary-color, #007bff);position:relative}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.95rem;margin:0;line-height:1.4;color:var(--text-secondary, #6c757d);position:relative}.general-tab-container[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%]{background:var(--card-background, #fff);border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;position:relative;width:100%;max-width:600px;transition:box-shadow .3s ease,background-color .3s ease}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:16px 20px;background:var(--card-header-bg, #f8f9fa);border-bottom:1px solid var(--border-color, #e9ecef);position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;line-height:1.3;color:var(--text-color, #333)}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:20px;position:relative}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--border-light, #f1f3f4);position:relative;min-height:24px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-weight:500;color:var(--text-secondary, #6c757d);flex:0 0 auto;margin-right:16px;white-space:nowrap;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-weight:600;color:var(--text-color, #333);text-align:right;flex:1 1 auto;line-height:1.4}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .value.currency[_ngcontent-%COMP%]{color:var(--success-color, #28a745);font-size:1.05rem}[data-theme=dark][_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%], .dark-theme[_ngcontent-%COMP%] .general-tab-container[_ngcontent-%COMP%]{--background-color: #1a1a1a;--text-color: #e9ecef;--text-secondary: #adb5bd;--primary-color: #4dabf7;--card-background: #2d3748;--card-header-bg: #374151;--border-color: #4a5568;--border-light: #2d3748;--success-color: #68d391}@media (width <= 768px){.general-tab-container[_ngcontent-%COMP%]{padding:12px 16px}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin-bottom:20px;padding:12px 0}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-size:1.5rem}.general-tab-container[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%] .header-subtitle[_ngcontent-%COMP%]{font-size:.9rem}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{padding:14px 16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{padding:16px}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%]{padding:8px 0}.general-tab-container[_ngcontent-%COMP%] .account-info-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] .info-row[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-right:12px}}"]})}}return e})();var f0=[{path:"",data:{title:"All Savings",breadcrumb:"Savings",routeParamBreadcrumb:!1,addBreadcrumbLink:!1},children:[{path:"create",data:{title:"Create Savings Account",breadcrumb:"Create Savings Account"},component:Vn,resolve:{savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"Saving Account View",routeParamBreadcrumb:"savingAccountId"},component:_n,resolve:{savingsAccountData:He,savingsDatatables:si},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",data:{title:"Savings Account Details",breadcrumb:"General",routeParamBreadcrumb:!1},children:[{path:"",component:Xn}]},{path:"transactions",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:Cn},{path:"export",component:qn}]},{path:"charges",component:Bn,data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:Nn,data:{title:"Savings Account SIH",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"notes",component:Kn,data:{title:"Savings Account Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{savingAccountNotes:Hi}},{path:"documents",component:Qn,data:{title:"Savings Account Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{savingsDocuments:zi}},{path:"datatables",children:[{path:":datatableName",component:Rn,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:ri}}]}]},{path:":savingAccountId/edit",data:{title:"Edit Savings Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Ln,resolve:{savingsAccountAndTemplate:pi}},{path:":savingAccountId/transactions/:id",data:{title:"Savings Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:jn,resolve:{transactionDatatables:li},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Jn,resolve:{savingsAccountTransaction:di}},{path:"datatables",children:[{path:":datatableName",component:hn,data:{title:"View Data table",routeParamBreadcrumb:"datatableName"},resolve:{transactionDatatable:mi}}]}]},{path:"edit",component:Hn,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{savingsAccountTransactionTemplate:vi}},{path:"reciept",component:Un,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{savingsTransactionReciept:fi}}]},{path:":savingAccountId/charges",data:{title:"Savings Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:Gn,resolve:{savingsAccountData:He,savingsAccountCharge:ui}}]},{path:":savingAccountId/actions/:name",data:{title:"Savings Account Actions",breadcrumb:"Savings Account Actions",routeParamBreadcrumb:"name"},component:kn,resolve:{savingsAccountActionData:gi}},{path:":savingAccountId/transfer-funds",loadChildren:()=>import("./account-transfers.module-OXUST6E6.js").then(e=>e.AccountTransfersModule)},{path:"gsim-account",children:[{path:"create",data:{title:"Create GSIM Application",breadcrumb:"Create GSIM Application"},component:zn,resolve:{groupsData:qi,savingsAccountTemplate:Wn}},{path:":savingAccountId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},children:[{path:"",component:$n,resolve:{gsimData:xi,savingAccountData:He,groupsData:oi}}]}]}]}],$i=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=We({providers:[He,si,ri,mi,li,Wn,pi,di,ui,gi,fi,vi,Ui,oi,xi],imports:[ii.forChild(f0),ii]})}}return e})();var Wi=(()=>{class e{constructor(){}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-savings-transaction-datatable-tab"]],decls:4,vars:3,template:function(s,r){s&1&&(i(0,"p"),t(1),c(2,"translate"),a(),t(3,` `)),s&2&&(o(),v("",m(2,1,"labels.heading.savings-transaction-datatable-tab works"),"!"))},dependencies:[T,P,O],encapsulation:2})}}return e})();var hh=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=We({imports:[ji,Fi,Ni,$i,kn,Dn,Cn,_n,Bn,Nn,Rn,Vn,se,me,ce,Me,Ln,bn,Sn,Mn,An,Tn,Pn,yn,fn,vn,jn,Ge,Gn,Ue,qe,On,In,En,ze,Un,qn,Hn,wn,$n,zn,Fn,Yn,Qn,Kn,hn,Jn,Wi,Xn,$e]})}}return e})();export{hh as SavingsModule}; diff --git a/browser/shares.module-EVKGC55R.js b/browser/shares.module-33SBQTC7.js similarity index 99% rename from browser/shares.module-EVKGC55R.js rename to browser/shares.module-33SBQTC7.js index 809fcef2e..f4f727c5c 100644 --- a/browser/shares.module-EVKGC55R.js +++ b/browser/shares.module-33SBQTC7.js @@ -1,4 +1,4 @@ -import{$b as St,$d as yi,Ad as ve,Ba as te,Bb as ci,Bd as _e,Ca as ie,Cd as Ci,Ce as at,Da as ne,Dc as re,Dd as Be,E as Ne,Ea as R,Ec as q,Ed as je,F as dt,Fa as e,Fd as Dt,Ga as u,Gf as wt,H as Oe,Ha as S,Ia as P,Ic as oe,Id as be,If as Pi,J as ut,Jc as $,K as y,Kc as se,L as I,Lc as W,Ld as Ai,Lf as wi,Md as Tt,Me as rt,Mf as st,Nc as ui,Ne as yt,Nf as mt,Of as Ri,Pa as N,Pe as It,Pf as Fi,Q as ht,Qa as si,Qc as Y,Qd as gi,Qe as Et,Rc as hi,Re as Mt,Sa as m,Se as Pt,Ta as c,Tb as F,Tc as me,Td as bi,Te as ot,Ua as ae,Ub as pi,Ud as Di,Ue,Va as mi,Vd as Ti,Ve as De,Wa as Ce,Wb as z,Wc as ce,Wd as Le,We as Te,Xb as K,Xe as ye,Yb as li,Yf as Bi,Zb as ni,Zc as pe,Ze as Ie,_ as a,_e as Ee,_f as ki,ab as Ze,ac as k,af as Me,bb as qe,bd as le,bf as Pe,ca as x,cb as j,cd as fi,da as b,dd as T,df as we,ea as ft,ed as de,ef as Re,fd as xi,gd as Si,gf as Fe,gg as Rt,ha as l,hd as ue,ja as d,jd as ge,jf as Ve,kd as vi,lc as vt,mc as _t,md as _i,na as i,nc as He,nd as J,oa as n,oc as Ct,od as he,of as Ii,pa as f,pb as et,pc as At,pf as Ei,pg as Ni,qa as C,qb as D,qc as gt,qf as Mi,ra as A,rc as bt,rd as fe,rg as Oi,sd as X,ta as w,td as tt,ua as g,ud as xe,va as _,vc as di,vd as it,wc as E,xd as nt,ya as H,yb as xt,zd as Se}from"./chunk-NRRQFV6Z.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,` +import{$b as St,$d as yi,Ad as ve,Ba as te,Bb as ci,Bd as _e,Ca as ie,Cd as Ci,Ce as at,Da as ne,Dc as re,Dd as Be,E as Ne,Ea as R,Ec as q,Ed as je,F as dt,Fa as e,Fd as Dt,Ga as u,Gf as wt,H as Oe,Ha as S,Ia as P,Ic as oe,Id as be,If as Pi,J as ut,Jc as $,K as y,Kc as se,L as I,Lc as W,Ld as Ai,Lf as wi,Md as Tt,Me as rt,Mf as st,Nc as ui,Ne as yt,Nf as mt,Of as Ri,Pa as N,Pe as It,Pf as Fi,Q as ht,Qa as si,Qc as Y,Qd as gi,Qe as Et,Rc as hi,Re as Mt,Sa as m,Se as Pt,Ta as c,Tb as F,Tc as me,Td as bi,Te as ot,Ua as ae,Ub as pi,Ud as Di,Ue,Va as mi,Vd as Ti,Ve as De,Wa as Ce,Wb as z,Wc as ce,Wd as Le,We as Te,Xb as K,Xe as ye,Yb as li,Yf as Bi,Zb as ni,Zc as pe,Ze as Ie,_ as a,_e as Ee,_f as ki,ab as Ze,ac as k,af as Me,bb as qe,bd as le,bf as Pe,ca as x,cb as j,cd as fi,da as b,dd as T,df as we,ea as ft,ed as de,ef as Re,fd as xi,gd as Si,gf as Fe,gg as Rt,ha as l,hd as ue,ja as d,jd as ge,jf as Ve,kd as vi,lc as vt,mc as _t,md as _i,na as i,nc as He,nd as J,oa as n,oc as Ct,od as he,of as Ii,pa as f,pb as et,pc as At,pf as Ei,pg as Ni,qa as C,qb as D,qc as gt,qf as Mi,ra as A,rc as bt,rd as fe,rg as Oi,sd as X,ta as w,td as tt,ua as g,ud as xe,va as _,vc as di,vd as it,wc as E,xd as nt,ya as H,yb as xt,zd as Se}from"./chunk-TNQPWBZW.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,` `),f(2,"mifosx-account-number",32),e(3,` `),n()),t&2){let r=_();a(2),H("accountNo",r.sharesAccountData.clientAccountNo)}}function Qi(t,p){if(t&1&&(i(0,"tr"),e(1,` `),i(2,"td"),e(3),m(4,"translate"),n(),e(5,`