diff --git a/browser/account-transfers.module-CJKGI73B.js b/browser/account-transfers.module-7AHJLNZZ.js similarity index 99% rename from browser/account-transfers.module-CJKGI73B.js rename to browser/account-transfers.module-7AHJLNZZ.js index 8bd646faa..6a42ac41c 100644 --- a/browser/account-transfers.module-CJKGI73B.js +++ b/browser/account-transfers.module-7AHJLNZZ.js @@ -1,4 +1,4 @@ -import{a as D}from"./chunk-6MNBF3XI.js";import{$c as at,$d as Ne,$e as $t,Aa as T,Ad as mt,Ba as S,Cd as ct,Dc as w,Ea as Lt,Ed as pt,Fc as Ae,Fd as dt,G as H,Gd as ut,H as Vt,Ha as At,He as yt,Ia as Mt,Ic as ht,Id as ft,J as R,Ja as kt,Jc as z,Ka as E,Kd as U,La as t,Ma as c,Na as _,Nc as Q,Nd as xt,O as h,Oa as v,Oc as g,P as C,Pa as Se,Pc as W,Qc as et,Ra as Te,Rd as Pe,Rf as Re,Sa as he,Ta as Ce,Tc as Ft,Tf as Le,Uc as Me,Uf as He,Va as L,Vc as nt,Vd as _t,Vf as je,Wa as Z,Wc as Ct,Xc as ke,Ya as o,Yc as it,Za as l,_a as Bt,_b as q,_e as jt,aa as me,af as Ut,bc as Tt,bd as Be,bg as $e,cc as G,cd as rt,cf as Gt,df as zt,ea as a,ec as ce,ed as Fe,fb as be,ff as Qt,gb as ye,gd as bt,gf as Wt,hb as tt,hc as j,hd as we,ia as I,ib as N,id as O,if as Yt,ja as M,jd as V,jf as Jt,ka as Rt,lf as Kt,md as $,na as u,od as ot,of as wt,pa as m,qb as Ee,sd as Y,ta as n,td as lt,ua as e,uc as De,ud as Oe,ue as qe,va as f,ve as Ve,wa as k,wb as F,wd as st,wg as Ue,xa as B,xd as J,yd as Ht,za as A,zd as K}from"./chunk-KNBKN23P.js";import{a as Nt,b as qt}from"./chunk-PHUH23IY.js";var Je=()=>["../","edit"],Ke=()=>["../","list-account-transactions"];function Xe(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",L(4,Ke)),a(),_(` +import{a as D}from"./chunk-N7YZBXCR.js";import{$c as at,$d as Ne,$e as $t,Aa as T,Ad as mt,Ba as S,Cd as ct,Dc as w,Ea as Lt,Ed as pt,Fc as Ae,Fd as dt,G as H,Gd as ut,H as Vt,Ha as At,He as yt,Ia as Mt,Ic as ht,Id as ft,J as R,Ja as kt,Jc as z,Ka as E,Kd as U,La as t,Ma as c,Na as _,Nc as Q,Nd as xt,O as h,Oa as v,Oc as g,P as C,Pa as Se,Pc as W,Qc as et,Ra as Te,Rd as Pe,Rf as Re,Sa as he,Ta as Ce,Tc as Ft,Tf as Le,Uc as Me,Uf as He,Va as L,Vc as nt,Vd as _t,Vf as je,Wa as Z,Wc as Ct,Xc as ke,Ya as o,Yc as it,Za as l,_a as Bt,_b as q,_e as jt,aa as me,af as Ut,bc as Tt,bd as Be,bg as $e,cc as G,cd as rt,cf as Gt,df as zt,ea as a,ec as ce,ed as Fe,fb as be,ff as Qt,gb as ye,gd as bt,gf as Wt,hb as tt,hc as j,hd as we,ia as I,ib as N,id as O,if as Yt,ja as M,jd as V,jf as Jt,ka as Rt,lf as Kt,md as $,na as u,od as ot,of as wt,pa as m,qb as Ee,sd as Y,ta as n,td as lt,ua as e,uc as De,ud as Oe,ue as qe,va as f,ve as Ve,wa as k,wb as F,wd as st,wg as Ue,xa as B,xd as J,yd as Ht,za as A,zd as K}from"./chunk-WHSQ4B3J.js";import{a as Nt,b as qt}from"./chunk-PHUH23IY.js";var Je=()=>["../","edit"],Ke=()=>["../","list-account-transactions"];function Xe(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",L(4,Ke)),a(),_(` `,l(2,2,"labels.buttons.View Transactions History"),` `))}function Ze(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),_(" ",l(2,1,"labels.inputs.Within Bank")," "))}function tn(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),_(" ",l(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(q))}}static{this.\u0275cmp=M({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,s){d&1&&(n(0,"div",0),t(1,` `),n(2,"button",1),t(3,` diff --git a/browser/chunk-NS5D25XZ.js b/browser/chunk-35VW23QL.js similarity index 89% rename from browser/chunk-NS5D25XZ.js rename to browser/chunk-35VW23QL.js index 3b807b273..f9392ce34 100644 --- a/browser/chunk-NS5D25XZ.js +++ b/browser/chunk-35VW23QL.js @@ -1,4 +1,4 @@ -import{Dc as S,La as t,Ma as m,Na as u,Va as f,Ya as o,Za as a,ea as n,hc as x,ia as p,id as E,ja as d,pa as c,sc as v,ta as e,ua as i,vc as D,wb as g,wc as M,xc as b,yc as C}from"./chunk-KNBKN23P.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{Dc as S,La as t,Ma as m,Na as u,Va as f,Ya as o,Za as a,ea as n,hc as x,ia as p,id as E,ja as d,pa as c,sc as v,ta as e,ua as i,vc as D,wb as g,wc as M,xc as b,yc as C}from"./chunk-WHSQ4B3J.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-XNOZJBD6.js b/browser/chunk-G6MYJCVK.js similarity index 91% rename from browser/chunk-XNOZJBD6.js rename to browser/chunk-G6MYJCVK.js index af9c0678d..9250d13f3 100644 --- a/browser/chunk-XNOZJBD6.js +++ b/browser/chunk-G6MYJCVK.js @@ -1 +1 @@ -import{G as r,J as i,Yf as n}from"./chunk-KNBKN23P.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{G as r,J as i,Yf as n}from"./chunk-WHSQ4B3J.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-2UVI3SVG.js b/browser/chunk-IVYMMRJ6.js similarity index 99% rename from browser/chunk-2UVI3SVG.js rename to browser/chunk-IVYMMRJ6.js index 806b66250..544ca093f 100644 --- a/browser/chunk-2UVI3SVG.js +++ b/browser/chunk-IVYMMRJ6.js @@ -1 +1 @@ -import{Cc as f,Fb as r,G as o,Ib as u,J as p,Jc as c}from"./chunk-KNBKN23P.js";import{a as g,b as d}from"./chunk-PHUH23IY.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{Cc as f,Fb as r,G as o,Ib as u,J as p,Jc as c}from"./chunk-WHSQ4B3J.js";import{a as g,b as d}from"./chunk-PHUH23IY.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/chunk-6MNBF3XI.js b/browser/chunk-N7YZBXCR.js similarity index 97% rename from browser/chunk-6MNBF3XI.js rename to browser/chunk-N7YZBXCR.js index aa8c920cb..7516192e7 100644 --- a/browser/chunk-6MNBF3XI.js +++ b/browser/chunk-N7YZBXCR.js @@ -1 +1 @@ -import{B as g,Eb as m,Fb as a,Fc as i,G as f,Ib as N,J as l}from"./chunk-KNBKN23P.js";import{a as d,b as h}from"./chunk-PHUH23IY.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{B as g,Eb as m,Fb as a,Fc as i,G as f,Ib as N,J as l}from"./chunk-WHSQ4B3J.js";import{a as d,b as h}from"./chunk-PHUH23IY.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-UP7UUV62.js b/browser/chunk-QILNDM3U.js similarity index 82% rename from browser/chunk-UP7UUV62.js rename to browser/chunk-QILNDM3U.js index cb1ac403c..ba9851334 100644 --- a/browser/chunk-UP7UUV62.js +++ b/browser/chunk-QILNDM3U.js @@ -1 +1 @@ -import{G as r,J as c,Yf as a}from"./chunk-KNBKN23P.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{G as r,J as c,Yf as a}from"./chunk-WHSQ4B3J.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-QFLVIZA5.js b/browser/chunk-TMNFWWYQ.js similarity index 97% rename from browser/chunk-QFLVIZA5.js rename to browser/chunk-TMNFWWYQ.js index dc90293ed..7811c74b7 100644 --- a/browser/chunk-QFLVIZA5.js +++ b/browser/chunk-TMNFWWYQ.js @@ -1 +1 @@ -import{Fb as c,G as i,Ib as d,J as p,Wf as n,k as u}from"./chunk-KNBKN23P.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{Fb as c,G as i,Ib as d,J as p,Wf as n,k as u}from"./chunk-WHSQ4B3J.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-KNBKN23P.js b/browser/chunk-WHSQ4B3J.js similarity index 99% rename from browser/chunk-KNBKN23P.js rename to browser/chunk-WHSQ4B3J.js index 8093d03a4..bd9f1fe7d 100644 --- a/browser/chunk-KNBKN23P.js +++ b/browser/chunk-WHSQ4B3J.js @@ -13,7 +13,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` `+t.message,r,e,n),t[eN]=r,t[t0]=null,t}function oN(t,i,e,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==nN?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(tN,` `)}`}var hr=Yb(Nb("Optional"),8);var Yr=Yb(Nb("SkipSelf"),4);function Fs(t,i){let e=t.hasOwnProperty(J3);return e?t[J3]:null}function sN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;nArray.isArray(e)?n8(e,i):i(e))}function Qb(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function n0(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function lN(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 P0(t,i,e){let n=H1(t,i);return n>=0?t[n|1]=e:(n=~n,dN(t,n,i,e)),n}function Ph(t,i){let e=H1(t,i);if(e>=0)return t[e|1]}function H1(t,i){return uN(t,i,1)}function uN(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&&ty(r,a),e}function ty(t,i){for(let e=0;e{i(a,n)})}}function Qh(t,i,e,n){if(t=di(t),!t)return!1;let r=null,a=jv(t),o=!a&&jo(t);if(!a&&!o){let d=t.ngModule;if(a=jv(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&&ty(h,i)}if(!s){let h=Fs(r)||(()=>new r);i({provide:r,useFactory:h,deps:Ai},r),i({provide:Zb,useValue:r,multi:!0},r),i({provide:gl,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)$b(e)&&(e=e.\u0275providers),Array.isArray(e)?i8(e,i):i(e)}var fN=Wt({provide:String,useValue:Wt});function ny(t){return t!==null&&typeof t=="object"&&fN in t}function hN(t){return!!(t&&t.useExisting)}function gN(t){return!!(t&&t.useFactory)}function _l(t){return typeof t=="function"}function _N(t){return!!t.useClass}var T0=new A(""),Y3={},Wv={},Th;function A0(){return Th===void 0&&(Th=new i0),Th}var fn=class{},O1=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(Kb,dl(void 0,this)),r.has("environment")&&this.records.set(fn,dl(void 0,this));let a=this.records.get(T0);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Zb,Ai,ft.Self))}retrieve(i,e){let n=e;return this.get(i,n.optional?p3:Hs,n)}destroy(){w1(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 w1(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){w1(this);let e=Ja(this),n=qi(void 0),r;try{return i()}finally{Ja(e),qi(n)}}get(i,e=Hs,n=ft.Default){if(w1(this),i.hasOwnProperty($v))return i[$v](this);n=I0(n);let r,a=Ja(this),o=qi(void 0);try{if(!(n&ft.SkipSelf)){let d=this.records.get(i);if(d===void 0){let h=xN(i)&&O0(i);h&&this.injectableDefInScope(h)?d=dl(Kh(i),Y3):d=null,this.records.set(i,d)}if(d!=null)return this.hydrate(i,d,n)}let s=n&ft.Self?A0():this.parent;return e=n&ft.Optional&&e===Hs?null:e,s.get(i,e)}catch(s){if(s.name==="NullInjectorError"){if((s[t0]=s[t0]||[]).unshift(Qi(i)),a)throw s;return aN(s,i,"R3InjectorError",this.source)}else throw s}finally{qi(o),Ja(a)}}resolveInjectorInitializers(){let i=ht(null),e=Ja(this),n=qi(void 0),r;try{let a=this.get(gl,Ai,ft.Self);for(let o of a)o()}finally{Ja(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=di(i);let e=_l(i)?i:di(i&&i.provide),n=bN(i);if(!_l(i)&&i.multi===!0){let r=this.records.get(e);r||(r=dl(void 0,Y3,!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===Wv?Gb(Qi(i)):e.value===Y3&&(e.value=Wv,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&CN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ht(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=di(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=O0(t),e=i!==null?i.factory:Fs(t);if(e!==null)return e;if(t instanceof A)throw new Ce(204,!1);if(t instanceof Function)return vN(t);throw new Ce(204,!1)}function vN(t){if(t.length>0)throw new Ce(204,!1);let e=WH(t);return e!==null?()=>e.factory(t):()=>new t}function bN(t){if(ny(t))return dl(void 0,t.useValue);{let i=iy(t);return dl(i,Y3)}}function iy(t,i,e){let n;if(_l(t)){let r=di(t);return Fs(r)||Kh(r)}else if(ny(t))n=()=>di(t.useValue);else if(gN(t))n=()=>t.useFactory(...Yh(t.deps||[]));else if(hN(t))n=(r,a)=>ae(di(t.useExisting),a!==void 0&&a&ft.Optional?ft.Optional:void 0);else{let r=di(t&&(t.useClass||t.provide));if(yN(t))n=()=>new r(...Yh(t.deps));else return Fs(r)||Kh(r)}return n}function w1(t){if(t.destroyed)throw new Ce(205,!1)}function dl(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function yN(t){return!!t.deps}function CN(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function xN(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&&$b(e)?Zh(e.\u0275providers,i):i(e)}function Ki(t,i){let e;t instanceof O1?(w1(t),e=t):e=new e0(t);let n,r=Ja(e),a=qi(void 0);try{return i()}finally{Ja(r),qi(a)}}function r8(){return Wb()!==void 0||_1()!=null}function a8(t){if(!r8())throw new Ce(-203,!1)}function MN(t){let i=ii.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function wN(t){return typeof t=="function"}var lo=0,lt=1,et=2,vi=3,qr=4,Zi=5,vl=6,r0=7,qn=8,bl=9,ao=10,an=11,I1=12,qv=13,Sl=14,pr=15,Bs=16,ul=17,oo=18,V0=19,ry=20,Fo=21,Ah=22,js=23,Ir=24,fl=25,Sn=26,ay=1;var Us=7,a0=8,yl=9,_i=10;function Bo(t){return Array.isArray(t)&&typeof t[ay]=="object"}function uo(t){return Array.isArray(t)&&t[ay]===!0}function o8(t){return(t.flags&4)!==0}function kl(t){return t.componentOffset>-1}function L0(t){return(t.flags&1)===1}function Ca(t){return!!t.template}function o0(t){return(t[et]&512)!==0}function El(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 oy(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Pe=(()=>{let t=()=>sy;return t.ngInherit=!0,t})();function sy(t){return t.type.prototype.ngOnChanges&&(t.setInput=SN),DN}function DN(){let t=ly(this),i=t?.current;if(i){let e=t.previous;if(e===ya)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function SN(t,i,e,n,r){let a=this.declaredInputs[n],o=ly(t)||kN(t,{previous:ya,current:null}),s=o.current||(o.current={}),d=o.previous,h=d[a];s[a]=new Xh(h&&h.currentValue,e,d===ya),oy(t,i,r,e)}var cy="__ngSimpleChanges__";function ly(t){return t[cy]||null}function kN(t,i){return t[cy]=i}var Yv=null;var Qt=function(t,i=null,e){Yv?.(t,i,e)},dy="svg",EN="math";function xa(t){for(;Array.isArray(t);)t=t[lo];return t}function uy(t,i){return xa(i[t])}function Sa(t,i){return xa(i[t.index])}function s8(t,i){return t.data[i]}function N1(t,i){return t[i]}function my(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function Ma(t,i){let e=i[t];return Bo(e)?e:e[lo]}function ON(t){return(t[et]&4)===4}function c8(t){return(t[et]&128)===128}function IN(t){return uo(t[vi])}function Uo(t,i){return i==null?null:t[i]}function py(t){t[ul]=0}function fy(t){t[et]&1024||(t[et]|=1024,c8(t)&&Ol(t))}function PN(t,i){for(;t>0;)i=i[Sl],t--;return i}function R0(t){return!!(t[et]&9216||t[Ir]?.dirty)}function Jh(t){t[ao].changeDetectionScheduler?.notify(8),t[et]&64&&(t[et]|=1024),R0(t)&&Ol(t)}function Ol(t){t[ao].changeDetectionScheduler?.notify(0);let i=$s(t);for(;i!==null&&!(i[et]&8192||(i[et]|=8192,!c8(i)));)i=$s(i)}function hy(t,i){if(El(t))throw new Ce(911,!1);t[Fo]===null&&(t[Fo]=[]),t[Fo].push(i)}function TN(t,i){if(t[Fo]===null)return;let e=t[Fo].indexOf(i);e!==-1&&t[Fo].splice(e,1)}function $s(t){let i=t[vi];return uo(i)?i[vi]:i}function l8(t){return t[r0]??=[]}function d8(t){return t.cleanup??=[]}function AN(t,i,e,n){let r=l8(i);r.push(e),t.firstCreatePass&&d8(t).push(n,r.length-1)}var ut={lFrame:Cy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var e6=!1;function VN(){return ut.lFrame.elementDepthCount}function LN(){ut.lFrame.elementDepthCount++}function RN(){ut.lFrame.elementDepthCount--}function u8(){return ut.bindingsEnabled}function gy(){return ut.skipHydrationRootTNode!==null}function zN(t){return ut.skipHydrationRootTNode===t}function HN(){ut.skipHydrationRootTNode=null}function je(){return ut.lFrame.lView}function Kt(){return ut.lFrame.tView}function G(t){return ut.lFrame.contextLView=t,t[qn]}function W(t){return ut.lFrame.contextLView=null,t}function yi(){let t=_y();for(;t!==null&&t.type===64;)t=t.parent;return t}function _y(){return ut.lFrame.currentTNode}function NN(){let t=ut.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function $o(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 FN(){return ut.lFrame.contextLView}function vy(){return e6}function s0(t){let i=e6;return e6=t,i}function Zs(){let t=ut.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function f8(){return ut.lFrame.bindingIndex}function BN(t){return ut.lFrame.bindingIndex=t}function Xs(){return ut.lFrame.bindingIndex++}function F1(t){let i=ut.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function jN(){return ut.lFrame.inI18n}function UN(t,i){let e=ut.lFrame;e.bindingIndex=e.bindingRootIndex=t,t6(i)}function $N(){return ut.lFrame.currentDirectiveIndex}function t6(t){ut.lFrame.currentDirectiveIndex=t}function GN(t){let i=ut.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function h8(){return ut.lFrame.currentQueryIndex}function z0(t){ut.lFrame.currentQueryIndex=t}function WN(t){let i=t[lt];return i.type===2?i.declTNode:i.type===1?t[Zi]:null}function by(t,i,e){if(e&ft.SkipSelf){let r=i,a=t;for(;r=r.parent,r===null&&!(e&ft.Host);)if(r=WN(a),r===null||(a=a[Sl],r.type&10))break;if(r===null)return!1;i=r,t=a}let n=ut.lFrame=yy();return n.currentTNode=i,n.lView=t,!0}function g8(t){let i=yy(),e=t[lt];ut.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function yy(){let t=ut.lFrame,i=t===null?null:t.child;return i===null?Cy(t):i}function Cy(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 xy(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var My=xy;function _8(){let t=xy();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=PN(t,ut.lFrame.contextLView))[qn]}function Qr(){return ut.lFrame.selectedIndex}function Gs(t){ut.lFrame.selectedIndex=t}function Il(){let t=ut.lFrame;return s8(t.tView,t.selectedIndex)}function Ut(){ut.lFrame.currentNamespace=dy}function ka(){YN()}function YN(){ut.lFrame.currentNamespace=null}function QN(){return ut.lFrame.currentNamespace}var wy=!0;function H0(){return wy}function N0(t){wy=t}function KN(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=i.type.prototype;if(n){let o=sy(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[ul]+=65536),(s>14>16&&(t[et]&3)===i&&(t[et]+=16384,Qv(s,a)):Qv(s,a)}var hl=-1,Ws=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=n}};function XN(t){return(t.flags&8)!==0}function JN(t){return(t.flags&16)!==0}function eF(t,i,e){let n=0;for(;ni){o=a-1;break}}}for(;a>16}function l0(t,i){let e=nF(t),n=i;for(;e>0;)n=n[Sl],e--;return n}var n6=!0;function d0(t){let i=n6;return n6=t,i}var iF=256,Ey=iF-1,Oy=5,rF=0,ba={};function aF(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(S1)&&(n=e[S1]),n==null&&(n=e[S1]=rF++);let r=n&Ey,a=1<>Oy)]|=a}function u0(t,i){let e=Iy(t,i);if(e!==-1)return e;let n=i[lt];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(ky(r)){let o=c0(r),s=l0(r,i),d=s[lt].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 Iy(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=Ly(r),n===null)return hl;if(e++,r=r[Sl],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return hl}function i6(t,i,e){aF(t,i,e)}function oF(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&&Ca(D)&&D.type===e)return d}return null}function P1(t,i,e,n,r){let a=t[e],o=i.data;if(a instanceof Ws){let s=a;s.resolving&&Gb(XH(o[e]));let d=d0(s.canSeeViewProviders);s.resolving=!0;let h,v=s.injectImpl?qi(s.injectImpl):null,C=by(t,n,ft.Default);try{a=t[e]=s.factory(void 0,r,o,t,n),i.firstCreatePass&&e>=n.directiveStart&&KN(e,o[e],i)}finally{v!==null&&qi(v),d0(d),s.resolving=!1,My()}}return a}function cF(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(S1)?t[S1]:void 0;return typeof i=="number"?i>=0?i&Ey:lF:i}function Zv(t,i,e){let n=1<>Oy)]&n)}function Xv(t,i){return!(t&ft.Self)&&!(t&ft.Host&&i)}var Ns=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return Ay(this._tNode,this._lView,i,I0(n),e)}};function lF(){return new Ns(yi(),je())}function we(t){return z1(()=>{let i=t.prototype.constructor,e=i[J3]||r6(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let a=r[J3]||r6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function r6(t){return Fb(t)?()=>{let i=r6(di(t));return i&&i()}:Fs(t)}function dF(t,i,e,n,r){let a=t,o=i;for(;a!==null&&o!==null&&o[et]&2048&&!o0(o);){let s=Vy(a,o,e,n|ft.Self,ba);if(s!==ba)return s;let d=a.parent;if(!d){let h=o[ry];if(h){let v=h.get(e,ba,n);if(v!==ba)return v}d=Ly(o),o=o[Sl]}a=d}return r}function Ly(t){let i=t[lt],e=i.type;return e===2?i.declTNode:e===1?t[Zi]:null}function F0(t){return oF(yi(),t)}function Jv(t,i=null,e=null,n){let r=Ry(t,i,e,n);return r.resolveInjectorInitializers(),r}function Ry(t,i=null,e=null,n,r=new Set){let a=[e||Ai,pN(t)];return n=n||(typeof t=="object"?void 0:Qi(t)),new O1(a,i||A0(),n||null,r)}var Te=class t{static THROW_IF_NOT_FOUND=Hs;static NULL=new i0;static create(i,e){if(Array.isArray(i))return Jv({name:""},e,i,"");{let n=i.name??"";return Jv({name:n},i.parent,i.providers,n)}}static \u0275prov=R({token:t,providedIn:"any",factory:()=>ae(Kb)});static __NG_ELEMENT_ID__=-1};var hn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>F0(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},uF=new A("");uF.__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 zy=!1,Go=(()=>{class t{static __NG_ELEMENT_ID__=mF;static __NG_ENV_ID__=e=>e}return t})(),m0=class extends Go{_lView;constructor(i){super(),this._lView=i}onDestroy(i){let e=this._lView;return El(e)?(i(),()=>{}):(hy(e,i),()=>TN(e,i))}};function mF(){return new m0(je())}var qs=class{},y8=new A("",{providedIn:"root",factory:()=>!1});var Hy=new A(""),Ny=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(Go,{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 T1(...t){}function Fy(t){let i,e;function n(){t=T1;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 eb(t){return queueMicrotask(()=>t()),()=>{t=T1}}var C8="isAngularZone",p0=C8+"_ID",pF=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=zy}=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,gF(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,fF,T1,T1);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)}},fF={};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 hF(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){Fy(()=>{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 gF(t){let i=()=>{hF(t)},e=pF++;t._inner=t._inner.fork({name:"angular",properties:{[C8]:!0,[p0]:e,[p0+e]:!0},onInvokeTask:(n,r,a,o,s,d)=>{if(_F(d))return n.invokeTask(a,o,s,d);try{return tb(t),n.invokeTask(a,o,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),nb(t)}},onInvoke:(n,r,a,o,s,d,h)=>{try{return tb(t),n.invoke(a,o,s,d,h)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!vF(d)&&i(),nb(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 tb(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nb(t){t._nesting--,x8(t)}var f0=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 _F(t){return By(t,"__ignore_ng_zone__")}function vF(t){return By(t,"__scheduler_tick__")}function By(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function bF(t="zone.js",i){return t==="noop"?new f0:t==="zone.js"?new se(i):t}var Vi=class{_console=console;handleError(i){this._console.error("ERROR",i)}},yF=new A("",{providedIn:"root",factory:()=>{let t=u(se),i=u(Vi);return e=>t.runOutsideAngular(()=>i.handleError(e))}});function ib(t,i){return Hb(t,i)}function CF(t){return Hb(zb,t)}var jy=(ib.required=CF,ib);function xF(){return Pl(yi(),je())}function Pl(t,i){return new Y(Sa(t,i))}var Y=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=xF}return t})();function Uy(t){return t instanceof Y?t.nativeElement:t}function Wo(t){return typeof t=="function"&&t[Gi]!==void 0}function Hn(t,i){let e=uh(t,i?.equal),n=e[Gi];return e.set=r=>g1(n,r),e.update=r=>mh(n,r),e.asReadonly=MF.bind(e),e}function MF(){let t=this[Gi];if(t.readonlyFn===void 0){let i=()=>this();i[Gi]=t,t.readonlyFn=i}return t.readonlyFn}function $y(t){return Wo(t)&&typeof t.set=="function"}function wF(){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=cN(i);(this._changesDetected=!sN(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]=wF};function Gy(t){return(t.flags&128)===128}var Wy=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Wy||{}),qy=new Map,DF=0;function SF(){return DF++}function kF(t){qy.set(t[V0],t)}function s6(t){qy.delete(t[V0])}var rb="__ngContext__";function Tl(t,i){Bo(i)?(t[rb]=i[V0],kF(i)):t[rb]=i}function Yy(t){return Ky(t[I1])}function Qy(t){return Ky(t[qr])}function Ky(t){for(;t!==null&&!uo(t);)t=t[qr];return t}var c6;function Zy(t){c6=t}function Xy(){if(c6!==void 0)return c6;if(typeof document<"u")return document;throw new Ce(210,!1)}var Js=new A("",{providedIn:"root",factory:()=>EF}),EF="ng",M8=new A(""),qo=new A("",{providedIn:"platform",factory:()=>"unknown"});var ze=new A(""),B1=new A("",{providedIn:"root",factory:()=>Xy().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var OF="h",IF="b";var Jy=!1,PF=new A("",{providedIn:"root",factory:()=>Jy});var w8=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(w8||{}),Al=new A(""),ab=new Set;function Yo(t){ab.has(t)||(ab.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__=TF}return t})();function TF(){return new D8(je(),yi())}var ml=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ml||{}),eC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),AF=[ml.EarlyRead,ml.Write,ml.MixedReadWrite,ml.Read],VF=(()=>{class t{ngZone=u(se);scheduler=u(qs);errorHandler=u(Vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Al,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Qt(16),this.executing=!0;for(let n of AF)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[fl]??=[]).push(e),Ol(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?.[fl];i&&(this.view[fl]=i.filter(e=>e!==this))}};function ec(t,i){!i?.injector&&a8(ec);let e=i?.injector??u(Te);return Yo("NgAfterRender"),tC(t,e,i,!1)}function kt(t,i){!i?.injector&&a8(kt);let e=i?.injector??u(Te);return Yo("NgAfterNextRender"),tC(t,e,i,!0)}function LF(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 tC(t,i,e,n){let r=i.get(eC);r.impl??=i.get(VF);let a=i.get(Al,null,{optional:!0}),o=e?.phase??ml.MixedReadWrite,s=e?.manualCleanup!==!0?i.get(Go):null,d=i.get(D8,null,{optional:!0}),h=new l6(r.impl,LF(t,o),d?.view,n,s,a?.snapshot(null));return r.impl.register(h),h}var RF=(t,i,e,n)=>{};function zF(t,i,e,n){RF(t,i,e,n)}var HF=()=>null;function nC(t,i,e=!1){return HF(t,i,e)}function iC(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 U3}function B0(t){return NF()?.createHTML(t)||t}var $3;function rC(){if($3===void 0&&($3=null,ii.trustedTypes))try{$3=ii.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return $3}function ob(t){return rC()?.createHTML(t)||t}function sb(t){return rC()?.createScriptURL(t)||t}var so=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Rb})`}},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=FF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${Rb})`)}return e===i}function FF(t){return t instanceof so&&t.getTypeName()||null}function aC(t){return new u6(t)}function oC(t){return new m6(t)}function sC(t){return new p6(t)}function cC(t){return new f6(t)}function lC(t){return new h6(t)}function BF(t){let i=new _6(t);return jF()?new g6(i):i}var g6=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(B0(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=B0(i),e}};function jF(){try{return!!new window.DOMParser().parseFromString(B0(""),"text/html")}catch{return!1}}var UF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function j0(t){return t=String(t),t.match(UF)?t:"unsafe:"+t}function fo(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function j1(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var dC=fo("area,br,col,hr,img,wbr"),uC=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mC=fo("rp,rt"),$F=j1(mC,uC),GF=j1(uC,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")),WF=j1(mC,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")),cb=j1(dC,GF,WF,$F),pC=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"),YF=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"),QF=j1(pC,qF,YF),KF=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=JF(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let a=XF(e);if(a){e=a;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=lb(i).toLowerCase();if(!cb.hasOwnProperty(e))return this.sanitizedSomething=!0,!KF.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r"),!0}endElement(i){let e=lb(i).toLowerCase();cb.hasOwnProperty(e)&&!dC.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(db(i))}};function ZF(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function XF(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw fC(i);return i}function JF(t){let i=t.firstChild;if(i&&ZF(t,i))throw fC(i);return i}function lb(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function fC(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var eB=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tB=/([^\#-~ |!])/g;function db(t){return t.replace(/&/g,"&").replace(eB,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(tB,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var G3;function k8(t,i){let e=null;try{G3=G3||BF(t);let n=i?String(i):"";e=G3.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=G3.getInertBodyElement(n)}while(n!==a);let s=new v6().sanitizeChildren(ub(e)||e);return B0(s)}finally{if(e){let n=ub(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function ub(t){return"content"in t&&nB(t)?t.content:null}function nB(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ln=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}(Ln||{});function Vl(t){let i=O8();return i?ob(i.sanitize(Ln.HTML,t)||""):po(t,"HTML")?ob(Pr(t)):k8(Xy(),Yi(t))}function E8(t){let i=O8();return i?i.sanitize(Ln.URL,t)||"":po(t,"URL")?Pr(t):j0(Yi(t))}function iB(t){let i=O8();if(i)return sb(i.sanitize(Ln.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return sb(Pr(t));throw new Ce(904,!1)}function rB(t,i){return i==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||i==="href"&&(t==="base"||t==="link")?iB:E8}function hC(t,i,e){return rB(i,e)(t)}function O8(){let t=je();return t&&t[ao].sanitizer}var aB=/^>|^->||--!>|)/g,sB="\u200B$1\u200B";function cB(t){return t.replace(aB,i=>i.replace(oB,sB))}function tme(t){return t.ownerDocument.defaultView}function nme(t){return t.ownerDocument}function gC(t){return t instanceof Function?t():t}function lB(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 _C="ng-template";function dB(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 pB(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+=mb(a,r),r=""),n=o,a=a||!Gr(n);e++}return r!==""&&(i+=mb(a,r)),i}function bB(t){return t.map(vB).join(",")}function yB(t){let i=[],e=[],n=1,r=2;for(;nSn&&wC(t,i,Sn,!1),Qt(o?2:0,r),e(n,r)}finally{Gs(a),Qt(o?3:1,r)}}function $0(t,i,e){LB(t,i,e),(e.flags&64)===64&&RB(t,i,e)}function V8(t,i,e=Sa){let n=i.localNames;if(n!==null){let r=i.index+1;for(let a=0;anull;function AB(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function U1(t,i,e,n,r,a,o,s){if(!s&&R8(i,t,e,n,r)){kl(i)&&VB(e,i.index);return}if(i.type&3){let d=Sa(i,e);n=AB(n),r=o!=null?o(r,i.value||"",n):r,a.setProperty(d,n,r)}else i.type&12}function VB(t,i){let e=Ma(i,t);e[et]&16||(e[et]|=64)}function LB(t,i,e){let n=e.directiveStart,r=e.directiveEnd;kl(e)&&OB(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||u0(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[r0]=null);let r=i[Fo];if(r!==null){i[Fo]=null;for(let o=0;o{Ol(t.lView)},consumerOnSignalRead(){this.lView[Ir]=this}});function cj(t){let i=t[Ir]??Object.create(lj);return i.lView=t,i}var lj=Be(q({},Yc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=$s(t.lView);for(;i&&!AC(i[lt]);)i=$s(i);i&&fy(i)},consumerOnSignalRead(){this.lView[Ir]=this}});function AC(t){return t.type!==2}function VC(t){if(t[js]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[js])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[et]&8192)}}var dj=100;function LC(t,i=!0,e=0){let r=t[ao].rendererFactory,a=!1;a||r.begin?.();try{uj(t,e)}catch(o){throw i&&BB(t,o),o}finally{a||r.end?.()}}function uj(t,i){let e=vy();try{s0(!0),C6(t,i);let n=0;for(;R0(t);){if(n===dj)throw new Ce(103,!1);n++,C6(t,1)}}finally{s0(e)}}function mj(t,i,e,n){if(El(i))return;let r=i[et],a=!1,o=!1;g8(i);let s=!0,d=null,h=null;a||(AC(t)?(h=rj(i),d=f1(h)):oh()===null?(s=!1,h=cj(i),d=f1(h)):i[Ir]&&(h1(i[Ir]),i[Ir]=null));try{py(i),BN(t.bindingStartIndex),e!==null&&DC(t,i,e,2,n);let v=(r&3)===3;if(!a)if(v){let D=t.preOrderCheckHooks;D!==null&&Q3(i,D,null)}else{let D=t.preOrderHooks;D!==null&&K3(i,D,0,null),Vh(i,0)}if(o||pj(i),VC(i),RC(i,0),t.contentQueries!==null&&iC(t,i),!a)if(v){let D=t.contentCheckHooks;D!==null&&Q3(i,D)}else{let D=t.contentHooks;D!==null&&K3(i,D,1),Vh(i,1)}hj(t,i);let C=t.components;C!==null&&HC(i,C,0);let S=t.viewQuery;if(S!==null&&d6(2,S,n),!a)if(v){let D=t.viewCheckHooks;D!==null&&Q3(i,D)}else{let D=t.viewHooks;D!==null&&K3(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||(PC(i),i[et]&=-73)}catch(v){throw a||Ol(i),v}finally{h!==null&&(s3(h,d),s&&oj(h)),_8()}}function RC(t,i){for(let e=Yy(t);e!==null;e=Qy(e))for(let n=_i;n0&&(t[e-1][qr]=n[qr]);let a=n0(t,_i+i);WB(n[lt],n);let o=a[oo];o!==null&&o.detachView(a[lt]),n[vi]=null,n[qr]=null,n[et]&=-129}return n}function gj(t,i,e,n){let r=_i+n,a=e.length;n>0&&(e[r-1][qr]=i),n-1&&(A1(i,n),n0(e,n))}this._attachedToViewContainer=!1}G0(this._lView[lt],this._lView)}onDestroy(i){hy(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,LC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=o0(this._lView),e=this._lView[Bs];e!==null&&!i&&F8(e,this._lView),SC(this._lView[lt],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Ce(902,!1);this._appRef=i;let e=o0(this._lView),n=this._lView[Bs];n!==null&&!e&&jC(n,this._lView),Jh(this._lView)}};var Qe=(()=>{class t{static __NG_ELEMENT_ID__=bj}return t})(),_j=Qe,vj=class extends _j{_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=$1(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:n});return new V1(r)}};function bj(){return Y0(yi(),je())}function Y0(t,i){return t.type&4?new vj(i,t,Pl(t,i)):null}function Ll(t,i,e,n,r){let a=t.data[i];if(a===null)a=yj(t,i,e,n,r),jN()&&(a.flags|=32);else if(a.type&64){a.type=e,a.value=n,a.attrs=r;let o=NN();a.injectorIndex=o===null?-1:o.injectorIndex}return $o(a,!0),a}function yj(t,i,e,n,r){let a=_y(),o=m8(),s=o?a:a&&a.parent,d=t.data[i]=xj(t,s,e,i,n,r);return Cj(t,d,a,o),d}function Cj(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 xj(t,i,e,n,r,a){let o=i?i.injectorIndex:-1,s=0;return gy()&&(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 ame=new RegExp(`^(\\d+)*(${IF}|${OF})*(.*)`);var Mj=()=>null;function Ml(t,i){return Mj(t,i)}var wj=class{},UC=class{},x6=class{resolveComponentFactory(i){throw Error(`No component factory found for ${Qi(i)}.`)}},Q0=class{static NULL=new x6},En=class{},Ke=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>Dj()}return t})();function Dj(){let t=je(),i=yi(),e=Ma(i.index,t);return(Bo(e)?e:t)[an]}var Sj=(()=>{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=I0(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 Rj(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&U0.SignalBased)!==0};return r&&(a.transform=r),a})}function Nj(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function Fj(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 Bj(t){let i=t.get(En,null);if(i===null)throw new Ce(407,!1);let e=t.get(Sj,null),n=t.get(qs,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n}}function jj(t,i){let e=(t.selectors[0][0]||"div").toLowerCase();return bC(i,e,e==="svg"?dy:e==="math"?EN:null)}var Ys=class extends UC{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Hj(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Nj(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=bB(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"]:yB(this.componentDef.selectors[0]),d=P8(0,null,null,1,0,null,null,null,null,[s],null),h=Fj(o,r||this.ngModule,i),v=Bj(h),C=v.rendererFactory.createRenderer(null,o),S=n?IB(C,n,o.encapsulation,h):jj(o,C),D=T8(null,d,null,512|xC(o),null,null,v,C,h,null,nC(S,h,!0));D[Sn]=S,g8(D);let L=null;try{let ne=GC(Sn,d,D,"#host",()=>[this.componentDef],!0,0);S&&(CC(C,S,ne),Tl(S,D)),$0(d,D,ne),S8(d,ne,D),WC(d,ne),e!==void 0&&Uj(ne,this.ngContentSelectors,e),L=Ma(ne.index,D),D[qn]=L[qn],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 wj{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e){super(),this._rootLView=e,this._tNode=s8(e[lt],Sn),this.location=Pl(this._tNode,e),this.instance=Ma(this._tNode.index,e)[qn],this.hostView=this.changeDetectorRef=new V1(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[lt],r,i,e);this.previousInputValues.set(i,e);let o=Ma(n.index,r);j8(o,1)}get injector(){return new Ns(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function Uj(t,i,e){let n=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=$j}return t})();function $j(){let t=yi();return YC(t,je())}var Gj=rt,qC=class extends Gj{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return Pl(this._hostTNode,this._hostLView)}get injector(){return new Ns(this._hostTNode,this._hostLView)}get parentInjector(){let i=b8(this._hostTNode,this._hostLView);if(ky(i)){let e=l0(i,this._hostLView),n=c0(i),r=e[lt].data[n+8];return new Ns(r,e)}else return new Ns(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=vb(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=Ml(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},a,o);return this.insertImpl(s,r,xl(this._hostTNode,o)),s}createComponent(i,e,n,r,a){let o=i&&!wN(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 Ys(jo(i)),h=n||this.parentInjector;if(!a&&d.ngModule==null){let ne=(o?h:this.parentInjector).get(fn,null);ne&&(a=ne)}let v=jo(d.componentType??{}),C=Ml(this._lContainer,v?.id??null),S=C?.firstChild??null,D=d.create(h,r,S,a);return this.insertImpl(D.hostView,s,xl(this._hostTNode,C)),D}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(IN(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[vi],h=new qC(d,d[Zi],d[vi]);h.detach(h.indexOf(i))}}let a=this._adjustIndex(e),o=this._lContainer;return G1(o,r,a,n),i.attachToViewContainerRef(),Qb(Hh(o),a,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=vb(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=A1(this._lContainer,e);n&&(n0(Hh(this._lContainer),e),G0(n[lt],n))}detach(i){let e=this._adjustIndex(i,-1),n=A1(this._lContainer,e);return n&&n0(Hh(this._lContainer),e)!=null?new V1(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function vb(t){return t[a0]}function Hh(t){return t[a0]||(t[a0]=[])}function YC(t,i){let e,n=i[t.index];return uo(n)?e=n:(e=NC(n,i,null,t),i[t.index]=e,A8(i,e)),qj(e,i,t,n),new qC(e,t,i)}function Wj(t,i){let e=t[an],n=e.createComment(""),r=Sa(i,t),a=e.parentNode(r);return h0(e,a,n,e.nextSibling(r),!1),n}var qj=Kj,Yj=()=>!1;function Qj(t,i,e){return Yj(t,i,e)}function Kj(t,i,e,n){if(t[Us])return;let r;e.type&8?r=xa(n):r=Wj(i,e),t[Us]=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 XC(t,i,e){t.queries===null&&(t.queries=new E6),t.queries.track(new O6(i,e))}function iU(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 JC(t,i){let e=t[lt],n=G8(e,i);return n.crossesNgTemplate?I6(e,t,i,[]):QC(e,t,n,i)}function ex(t,i,e){let n,r=u3(()=>{n._dirtyCounter();let a=sU(n,t);if(i&&a===void 0)throw new Ce(-951,!1);return a});return n=r[Gi],n._dirtyCounter=Hn(0),n._flatValue=void 0,r}function rU(t){return ex(!0,!1,t)}function aU(t){return ex(!0,!0,t)}function oU(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 sU(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=JC(e,n);return r.reset(a,Uy),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function bb(t,i){return rU(i)}function cU(t,i){return aU(i)}var tx=(bb.required=cU,bb);function lU(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(pU))}return a}return b0.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(()=>fU(a));i.push(d)}),uU(),Promise.all(i).then(()=>{})}var b0=new Map,dU=new Set;function uU(){let t=b0;return b0=new Map,t}function mU(){return b0.size===0}function pU(t){return typeof t=="string"?t:t.text()}function fU(t){dU.delete(t)}var co=class{},W8=class{};var y0=class extends co{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new _0(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let a=Xb(i);this._bootstrapComponents=gC(a.bootstrap),this._r3Injector=Ry(i,e,[{provide:co,useValue:this},{provide:Q0,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)}},C0=class extends W8{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new y0(this.moduleType,i,[])}};function hU(t,i,e){return new y0(t,i,e,!1)}var P6=class extends co{injector;componentFactoryResolver=new _0(this);instance=null;constructor(i){super();let e=new O1([...i.providers,{provide:co,useValue:this},{provide:Q0,useValue:this.componentFactoryResolver}],i.parent||A0(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function W1(t,i,e=null){return new P6({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var gU=(()=>{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=ey(!1,e.type),r=n.length>0?W1([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 z1(()=>{let i=nx(t),e=Be(q({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(gU).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||wa.Emulated,styles:t.styles||Ai,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Yo("NgStandalone"),ix(e);let n=t.dependencies;return e.directiveDefs=yb(n,!1),e.pipeDefs=yb(n,!0),e.id=CU(e),e})}function _U(t){return jo(t)||Jb(t)}function vU(t){return t!==null}function K(t){return z1(()=>({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 bU(t,i){if(t==null)return ya;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=U0.None,d=null),e[a]=[n,s,d],i[a]=o}return e}function yU(t){if(t==null)return ya;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function V(t){return z1(()=>{let i=nx(t);return ix(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 nx(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||ya,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:bU(t.inputs,i),outputs:yU(t.outputs),debugInfo:null}}function ix(t){t.features?.forEach(i=>i(t))}function yb(t,i){if(!t)return null;let e=i?mN:_U;return()=>(typeof t=="function"?t():t).map(n=>e(n)).filter(vU)}function CU(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 xU(t){return Object.getPrototypeOf(t.prototype).constructor}function ce(t){let i=xU(t.type),e=!0,n=[t];for(;i;){let r;if(Ca(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&&kU(t,s);let d=r.viewQuery,h=r.contentQueries;if(d&&DU(t,d),h&&SU(t,h),MU(t,r),$H(t.outputs,r.outputs),Ca(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=Cl(r.hostAttrs,e=Cl(e,r.hostAttrs))}}function Nh(t){return t===ya?{}:t===Ai?[]:t}function DU(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function SU(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,a)=>{i(n,r,a),e(n,r,a)}:t.contentQueries=i}function kU(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}function rx(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=ax,e.hostDirectives=n?t.map(T6):[t]):n?e.hostDirectives.unshift(...t.map(T6)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function ax(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)Cb(T6(a),i,e)}else Cb(n,i,e)}function Cb(t,i,e){let n=Jb(t.directive);EU(n.declaredInputs,t.inputs),ax(n,i,e),e.set(n,t),i.push(n)}function T6(t){return typeof t=="function"?{directive:di(t),inputs:ya,outputs:ya}:{directive:di(t.directive),inputs:xb(t.inputs),outputs:xb(t.outputs)}}function xb(t){if(t===void 0||t.length===0)return ya;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(""),Y1=new A(""),Z0=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,r){this._ngZone=e,this.registry=n,r8()&&(this._destroyRef=u(Go,{optional:!0})??void 0),K8||(VU(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(X0),ae(Y1))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),X0=(()=>{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 VU(t){K8=t}var K8,lx=(()=>{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 dx=new A("");function X8(t){return Dl([{provide:dx,multi:!0,useValue:t}])}var ux=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=u(dx,{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 LU(){dh(()=>{throw new Ce(600,!1)})}function RU(t){return t.isBoundToModule}var zU=10;function mx(t,i){return Array.isArray(i)?i.reduce(mx,t):q(q({},t),i)}var bi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(yF);afterRenderManager=u(eC);zonelessEnabled=u(y8);rootEffectScheduler=u(lx);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(me(e=>!e));constructor(){u(Al,{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 UC;if(!this._injector.get(ux).done){let D="";throw new Ce(405,D)}let s;a?s=e:s=this._injector.get(Q0).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let d=RU(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),X3(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++R0(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;X3(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),()=>X3(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 X3(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function HU(t,i,e,n){if(!e&&!R0(t))return;LC(t,i,e&&!n?0:1)}function ee(t,i,e,n){let r=je(),a=Xs();if(fr(r,a,i)){let o=Kt(),s=Il();HB(s,r,t,i,e,n)}return ee}function eg(t,i,e,n){return fr(t,Xs(),e)?i+Yi(e)+n:Yn}function px(t,i,e,n,r,a){let o=f8(),s=L1(t,o,e,r);return F1(2),s?i+Yi(e)+n+Yi(r)+a:Yn}function NU(t,i,e,n,r,a,o,s){let d=f8(),h=sx(t,d,e,r,o);return F1(3),h?i+Yi(e)+n+Yi(r)+a+Yi(o)+s:Yn}function FU(t,i,e,n,r,a,o,s,d,h){let v=f8(),C=cx(t,v,e,r,o,d);return F1(4),C?i+Yi(e)+n+Yi(r)+a+Yi(o)+s+Yi(d)+h:Yn}function W3(t,i){return t<<17|i<<2}function Qs(t){return t>>17&32767}function BU(t){return(t&2)==2}function jU(t,i){return t&131071|i<<17}function V6(t){return t|2}function wl(t){return(t&131068)>>2}function Fh(t,i){return t&-131069|i<<2}function UU(t){return(t&1)===1}function L6(t){return t|1}function $U(t,i,e,n,r,a){let o=a?i.classBindings:i.styleBindings,s=Qs(o),d=wl(o);t[n]=e;let h=!1,v;if(Array.isArray(e)){let C=e;v=C[1],(v===null||H1(C,v)>0)&&(h=!0)}else v=e;if(r)if(d!==0){let S=Qs(t[s+1]);t[n+1]=W3(S,s),S!==0&&(t[S+1]=Fh(t[S+1],n)),t[s+1]=jU(t[s+1],n)}else t[n+1]=W3(s,0),s!==0&&(t[s+1]=Fh(t[s+1],n)),s=n;else t[n+1]=W3(d,0),s===0?s=n:t[d+1]=Fh(t[d+1],n),d=n;h&&(t[n+1]=V6(t[n+1])),Mb(t,v,n,!0),Mb(t,v,n,!1),GU(i,v,t,n,a),o=W3(s,d),a?i.classBindings=o:i.styleBindings=o}function GU(t,i,e,n,r){let a=r?t.residualClasses:t.residualStyles;a!=null&&typeof i=="string"&&H1(a,i)>=0&&(e[n+1]=L6(e[n+1]))}function Mb(t,i,e,n){let r=t[e+1],a=i===null,o=n?Qs(r):wl(r),s=!1;for(;o!==0&&(s===!1||a);){let d=t[o],h=t[o+1];WU(d,i)&&(s=!0,t[o+1]=n?L6(h):V6(h)),o=n?Qs(h):wl(h)}s&&(t[e+1]=n?V6(r):L6(r))}function WU(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?H1(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 YU(t){return QU(t),fx(t,hx(t,0,Wr.textEnd))}function fx(t,i){let e=Wr.textEnd;return e===i?-1:(i=Wr.keyEnd=KU(t,Wr.key=i,e),hx(t,i,e))}function QU(t){Wr.key=0,Wr.keyEnd=0,Wr.value=0,Wr.valueEnd=0,Wr.textEnd=t.length}function hx(t,i,e){for(;i32;)i++;return i}function y(t,i,e){let n=je(),r=Xs();if(fr(n,r,i)){let a=Kt(),o=Il();U1(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 _x(t,i,e,!1),Et}function te(t,i){return _x(t,i,null,!0),te}function It(t){vx(n$,gx,t,!0)}function gx(t,i){for(let e=YU(i);e>=0;e=fx(i,e))P0(t,qU(i),!0)}function _x(t,i,e,n){let r=je(),a=Kt(),o=F1(2);if(a.firstUpdatePass&&yx(a,t,o,n),i!==Yn&&fr(r,o,i)){let s=a.data[Qr()];Cx(a,s,r,r[an],t,r[o+1]=r$(i,e),n,o)}}function vx(t,i,e,n){let r=Kt(),a=F1(2);r.firstUpdatePass&&yx(r,null,a,n);let o=je();if(e!==Yn&&fr(o,a,e)){let s=r.data[Qr()];if(xx(s,n)&&!bx(r,a)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=Gh(d,e||"")),R6(r,s,o,e,n)}else i$(r,s,o,o[an],o[a+1],o[a+1]=t$(t,i,e),n,a)}}function bx(t,i){return i>=t.expandoStartIndex}function yx(t,i,e,n){let r=t.data;if(r[e+1]===null){let a=r[Qr()],o=bx(t,e);xx(a,n)&&i===null&&!o&&(i=!1),i=ZU(r,a,i,n),$U(r,a,i,e,o,n)}}function ZU(t,i,e,n){let r=GN(t),a=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=Bh(null,t,i,e,n),e=R1(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=XU(t,i,n);d!==void 0&&Array.isArray(d)&&(d=Bh(null,t,i,d[1],n),d=R1(d,i.attrs,n),JU(t,i,n,d))}else a=e$(t,i,n)}return a!==void 0&&(n?i.residualClasses=a:i.residualStyles=a),e}function XU(t,i,e){let n=e?i.classBindings:i.styleBindings;if(wl(n)!==0)return t[Qs(n)]}function JU(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[Qs(r)]=n}function e$(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===Yn&&(S=C?Ai:void 0);let D=C?Ph(S,n):v===n?S:void 0;if(h&&!M0(D)&&(D=Ph(d,n)),M0(D)&&(s=D,o))return s;let L=t[r+1];r=o?Qs(L):wl(L)}if(i!==null){let d=a?i.residualClasses:i.residualStyles;d!=null&&(s=Ph(d,n))}return s}function M0(t){return t!==void 0}function r$(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Qi(Pr(t)))),t}function xx(t,i){return(t.flags&(i?8:16))!==0}function J0(t,i,e){let n=je(),r=eg(n,t,i,e);vx(P0,gx,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 a$(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 w0,r??=Sb(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;)Db(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 w0,r??=Sb(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;)Db(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 Db(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 Sb(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 w0=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){Yo("NgControlFlow");let e=je(),n=Xs(),r=e[n]!==Yn?e[n]:-1,a=r!==-1?D0(e,Sn+r):void 0,o=0;if(fr(e,n,t)){let s=ht(null);try{if(a!==void 0&&BC(a,o),t!==-1){let d=Sn+t,h=D0(e,d),v=j6(e[lt],d),C=Ml(h,v.tView.ssrId),S=$1(e,v,i,{dehydratedView:C});G1(h,S,o,xl(v,C))}}finally{ht(s)}}else if(a!==void 0){let s=FC(a,o);s!==void 0&&(s[qn]=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){Yo("NgControlFlow");let D=je(),L=Kt(),ne=d!==void 0,oe=je(),ye=s?o.bind(oe[pr][qn]):o,qe=new F6(ne,ye);oe[Sn+t]=qe,x0(D,L,t+1,i,e,n,r,Uo(L.consts,a)),ne&&x0(D,L,t+2,d,h,v,C,Uo(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)[qn].$implicit}attach(i,e){let n=e[vl];this.needsIndexUpdate||=i!==this.length,G1(this.lContainer,e,i,xl(this.templateTNode,n))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,o$(this.lContainer,i)}create(i,e){let n=Ml(this.lContainer,this.templateTNode.tView.ssrId),r=$1(this.hostLView,this.templateTNode,new N6(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(i){G0(i[lt],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[qn].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(N0(!0),bC(n,r,QN()));function l$(t,i,e,n,r){let a=i.consts,o=Uo(a,n),s=Ll(i,t,8,"ng-container",o);o!==null&&w6(s,o,!0);let d=Uo(a,r);return u8()&&U8(i,e,s,d,L8),s.mergedAttrs=Cl(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?l$(a,r,n,i,e):r.data[a];$o(o,!0);let s=d$(r,n,o,t);return n[a]=s,H0()&&W0(r,n,s,o),Tl(s,n),L0(o)&&($0(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,$o(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 d$=(t,i,e,n)=>(N0(!0),MB(i[an],""));function de(){return je()}function zt(t,i,e){let n=je(),r=Xs();if(fr(n,r,i)){let a=Kt(),o=Il();U1(a,o,n,t,i,n[an],e,!0)}return zt}var zs=void 0;function u$(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var m$=["en",[["a","p"],["AM","PM"],zs],[["AM","PM"],zs,zs],[["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"]],zs,[["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"]],zs,[["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}",zs,"{1} 'at' {0}",zs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",u$],k1={};function Mx(t,i,e){typeof i!="string"&&(e=i,i=t[on.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),k1[i]=t,e&&(k1[i][on.ExtraData]=e)}function er(t){let i=p$(t),e=kb(i);if(e)return e;let n=i.split("-")[0];if(e=kb(n),e)return e;if(n==="en")return m$;throw new Ce(701,!1)}function kb(t){return t in k1||(k1[t]=ii.ng&&ii.ng.common&&ii.ng.common.locales&&ii.ng.common.locales[t]),k1[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 p$(t){return t.toLowerCase().replace(/_/g,"-")}var S0="en-US",f$="USD";var h$=S0;function g$(t){typeof t=="string"&&(h$=t.toLowerCase().replace(/_/g,"-"))}function Eb(t,i,e){return function n(r){if(r===Function)return e;let a=kl(t)?Ma(t.index,i):i;j8(a,5);let o=i[qn],s=Ob(i,o,e,r),d=n.__ngNextListenerFn__;for(;d;)s=Ob(i,o,d,r)&&s,d=d.__ngNextListenerFn__;return s}}function Ob(t,i,e,n){let r=ht(null);try{return Qt(6,i,e),e(n)!==!1}catch(a){return _$(t,a),!1}finally{Qt(7,i,e),ht(r)}}function _$(t,i){let e=t[bl],n=e?e.get(Vi,null):null;n&&n.handleError(i)}function Ib(t,i,e,n,r,a){let o=i[e],s=i[lt],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 wx(a,r,r[an],o,t,i,n),z}function v$(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 wx(t,i,e,n,r,a,o){let s=L0(n),h=t.firstCreatePass?d8(t):null,v=l8(i),C=!0;if(n.type&3||o){let S=Sa(n,i),D=o?o(S):S,L=v.length,ne=o?ye=>o(xa(ye[n.index])):n.index,oe=null;if(!o&&s&&(oe=v$(t,i,r,n.index)),oe!==null){let ye=oe.__ngLastListenerFn__||oe;ye.__ngNextListenerFn__=a,oe.__ngLastListenerFn__=a,C=!1}else{a=Eb(n,i,a),zF(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=Eb(n,i,a);if(C){let S=n.outputs?.[r],D=n.hostDirectiveOutputs?.[r];if(D&&D.length)for(let L=0;L(N0(!0),CB(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!==Yn&&nu(n,Qr(),r),X}function Ct(t,i,e,n,r){let a=je(),o=px(a,t,i,e,n,r);return o!==Yn&&nu(a,Qr(),o),Ct}function tg(t,i,e,n,r,a,o){let s=je(),d=NU(s,t,i,e,n,r,a,o);return d!==Yn&&nu(s,Qr(),d),tg}function x$(t,i,e,n,r,a,o,s,d){let h=je(),v=FU(h,t,i,e,n,r,a,o,s,d);return v!==Yn&&nu(h,Qr(),v),x$}function nu(t,i,e){let n=uy(i,t);xB(t[an],n,e)}function Q1(t,i,e){$y(i)&&(i=i());let n=je(),r=Xs();if(fr(n,r,i)){let a=Kt(),o=Il();U1(a,o,n,t,i,n[an],e,!1)}return Q1}function iu(t,i){let e=$y(t);return e&&t.set(i),e}function K1(t,i){let e=je(),n=Kt(),r=yi();return wx(n,e,e[an],r,t,i),K1}var M$={};function ng(t){let i=Kt(),e=je(),n=t+Sn,r=Ll(i,n,128,null,null);return $o(r,!1),my(i,e,n,M$),ng}function w$(t,i,e){let n=Kt();if(n.firstCreatePass){let r=Ca(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=di(t),Array.isArray(t))for(let a=0;a>20;if(_l(t)||!t.multi){let D=new Ws(h,r,k),L=$h(d,i,r?v:v+S,C);L===-1?(i6(u0(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(u0(s,o),a,d);let ye=k$(r?S$:D$,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=kx(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=_l(i),a=_N(i);if(r||a){let d=(a?di(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 kx(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)=>w$(n,r?r(t):t,i)}}function tr(t,i,e){let n=Zs()+t,r=je();return r[n]===Yn?q1(r,n,e?i.call(e):i()):IU(r,n)}function go(t,i,e,n){return Ex(je(),Zs(),t,i,e,n)}function Ea(t,i,e,n,r){return Ox(je(),Zs(),t,i,e,n,r)}function ru(t,i){let e=t[i];return e===Yn?void 0:e}function Ex(t,i,e,n,r,a){let o=i+e;return fr(t,o,r)?q1(t,o+1,a?n.call(a,r):n(r)):ru(t,o+1)}function Ox(t,i,e,n,r,a,o){let s=i+e;return L1(t,s,r,a)?q1(t,s+2,o?n.call(o,r,a):n(r,a)):ru(t,s+2)}function E$(t,i,e,n,r,a,o,s){let d=i+e;return sx(t,d,r,a,o)?q1(t,d+3,s?n.call(s,r,a,o):n(r,a,o)):ru(t,d+3)}function O$(t,i,e,n,r,a,o,s,d){let h=i+e;return cx(t,h,r,a,o,s)?q1(t,h+4,d?n.call(d,r,a,o,s):n(r,a,o,s)):ru(t,h+4)}function E(t,i){let e=Kt(),n,r=t+Sn;e.firstCreatePass?(n=I$(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=Fs(n.type,!0)),o,s=qi(k);try{let d=d0(!1),h=a();return d0(d),my(e,je(),r,h),h}finally{qi(s)}}function I$(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=N1(r,n);return au(r,n)?Ex(r,Zs(),i,a.transform,e,a):a.transform(e)}function Kr(t,i,e,n){let r=t+Sn,a=je(),o=N1(a,r);return au(a,r)?Ox(a,Zs(),i,o.transform,e,n,o):o.transform(e,n)}function mme(t,i,e,n,r){let a=t+Sn,o=je(),s=N1(o,a);return au(o,a)?E$(o,Zs(),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=N1(s,o);return au(s,o)?O$(s,Zs(),i,d.transform,e,n,r,a,d):d.transform(e,n,r,a)}function au(t,i){return t[lt].data[i].pure}function nr(t,i){return Y0(t,i)}var q3=null;function P$(t){q3!==null&&(t.defaultEncapsulation!==q3.defaultEncapsulation||t.preserveWhitespaces!==q3.preserveWhitespaces)||(q3=t)}var Ks=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 Ks("19.2.14"),G6=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},Ix=(()=>{class t{compileModuleSync(e){return new C0(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=Xb(e),a=gC(r.declarations).reduce((o,s)=>{let d=jo(s);return d&&o.push(new Ys(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})(),T$=new A("");function A$(t,i,e){let n=new C0(e);return Promise.resolve(n)}function Pb(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var V$=(()=>{class t{zone=u(se);changeDetectionScheduler=u(qs);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 L$({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new se(Be(q({},Px()),{scheduleInRootZone:e})),[{provide:se,useFactory:t},{provide:gl,multi:!0,useFactory:()=>{let n=u(V$,{optional:!0});return()=>n.initialize()}},{provide:gl,multi:!0,useFactory:()=>{let n=u(R$);return()=>{n.initialize()}}},i===!0?{provide:Hy,useValue:!0}:[],{provide:Ny,useValue:e??zy}]}function Px(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var R$=(()=>{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 z$=(()=>{class t{appRef=u(bi);taskService=u(mo);ngZone=u(se);zonelessEnabled=u(y8);tracing=u(Al,{optional:!0});disableScheduling=u(Hy,{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(p0):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Ny,{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 f0||!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?eb:Fy;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(p0+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,eb(()=>{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 H$(){return typeof $localize<"u"&&$localize.locale||S0}var Oa=new A("",{providedIn:"root",factory:()=>u(Oa,ft.Optional|ft.SkipSelf)||H$()}),Tx=new A("",{providedIn:"root",factory:()=>f$});var k0=new A(""),N$=new A("");function M1(t){return!t.moduleRef}function F$(t){let i=M1(t)?t.r3Injector:t.moduleRef.injector,e=i.get(se);return e.run(()=>{M1(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)}})}),M1(t)){let a=()=>i.destroy(),o=t.platformInjector.get(k0);o.add(a),i.onDestroy(()=>{r.unsubscribe(),o.delete(a)})}else{let a=()=>t.moduleRef.destroy(),o=t.platformInjector.get(k0);o.add(a),t.moduleRef.onDestroy(()=>{X3(t.allPlatformModules,t.moduleRef),r.unsubscribe(),o.delete(a)})}return j$(n,e,()=>{let a=i.get(ux);return a.runInitializers(),a.donePromise.then(()=>{let o=i.get(Oa,S0);if(g$(o||S0),!i.get(N$,!0))return M1(t)?i.get(bi):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(M1(t)){let d=i.get(bi);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return B$(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function B$(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 j$(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 Ax=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=n?.scheduleInRootZone,a=()=>bF(n?.ngZone,Be(q({},Px({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),o=n?.ignoreChangesOutsideZone,s=[L$({ngZoneFactory:a,ignoreChangesOutsideZone:o}),{provide:qs,useExisting:z$}],d=hU(e.moduleType,this.injector,s);return F$({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=mx({},n);return A$(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(k0,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})(),E1=null,Vx=new A("");function U$(t){if(E1&&!E1.get(Vx,!1))throw new Ce(400,!1);LU(),E1=t;let i=t.get(Ax);return W$(t),i}function ag(t,i,e=[]){let n=`Platform: ${i}`,r=new A(n);return(a=[])=>{let o=Lx();if(!o||o.injector.get(Vx,!1)){let s=[...e,...a,{provide:r,useValue:!0}];t?t(s):U$($$(s,n))}return G$(r)}}function $$(t=[],i){return Te.create({name:i,providers:[{provide:T0,useValue:"platform"},{provide:k0,useValue:new Set([()=>E1=null])},...t]})}function G$(t){let i=Lx();if(!i)throw new Ce(401,!1);return i}function Lx(){return E1?.get(Ax)??null}function W$(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 Y$(yi(),je(),(t&16)===16)}function Y$(t,i,e){if(kl(t)&&!e){let n=Ma(t.index,i);return new V1(n,n)}else if(t.type&175){let n=i[pr];return new V1(n,i)}return null}var W6=class{constructor(){}supports(i){return ox(i)}create(i){return new q6(i)}},Q$=(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||Q$}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 E0),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 E0),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}},E0=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 Tb(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 Ab(){return new gr([new W6])}var gr=(()=>{class t{factories;static \u0275prov=R({token:t,providedIn:"root",factory:Ab});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||Ab()),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 Vb(){return new ou([new K6])}var ou=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:Vb});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||Vb()),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 Rx=ag(null,"core",[]),zx=(()=>{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 u3(t,i?.equal)}var J6=class{[Gi];constructor(i){this[Gi]=i}destroy(){this[Gi].destroy()}};function Z1(t,i){!i?.injector&&a8(Z1);let e=i?.injector??u(Te),n=i?.manualCleanup!==!0?e.get(Go):null,r,a=e.get(D8,null,{optional:!0}),o=e.get(qs);return a!==null&&!i?.forceRoot?(r=X$(a.view,o,t),n instanceof m0&&n._lView===a.view&&(n=null)):r=J$(t,e.get(lx),o),r.injector=e,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new J6(r)}var Hx=Be(q({},Yc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:T1,run(){if(this.dirty=!1,this.hasRun&&!c3(this))return;this.hasRun=!0;let t=n=>(this.cleanupFns??=[]).push(n),i=f1(this),e=s0(!1);try{this.maybeCleanup(),this.fn(t)}finally{s0(e),s3(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),K$=Be(q({},Hx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){h1(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Z$=Be(q({},Hx),{consumerMarkedDirty(){this.view[et]|=8192,Ol(this.view),this.notifier.notify(13)},destroy(){h1(this),this.onDestroyFn(),this.maybeCleanup(),this.view[js]?.delete(this)}});function X$(t,i,e){let n=Object.create(Z$);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=e,t[js]??=new Set,t[js].add(n),n.consumerMarkedDirty(n),n}function J$(t,i,e){let n=Object.create(K$);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 su(t,i){let e=jo(t),n=i.elementInjector||A0();return new Ys(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector)}function Nx(t){let i=jo(t);if(!i)return null;let e=new Ys(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 jx=null;function _r(){return jx}function og(t){jx??=t}var X1=class{},J1=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>u(Ux),providedIn:"platform"})}return t})(),sg=new A(""),Ux=(()=>{class t extends J1{_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 cu(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function Fx(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(du),providedIn:"root"})}return t})(),lu=new A(""),du=(()=>{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 cu(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(J1),ae(lu,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=nG(Fx(Bx(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(tG(this._basePath,Bx(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=cu;static stripTrailingSlash=Fx;static \u0275fac=function(n){return new(n||t)(ae(Jr))};static \u0275prov=R({token:t,factory:()=>eG(),providedIn:"root"})}return t})();function eG(){return new Tr(ae(Jr))}function tG(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function Bx(t){return t.replace(/\/index.html$/,"")}function nG(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=cu(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(J1),ae(lu,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Zx={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]},Cu=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Cu||{});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 Xx(t){return er(t)[on.LocaleId]}function Jx(t,i,e){let n=er(t),r=[n[on.DayPeriodsFormat],n[on.DayPeriodsStandalone]],a=Ar(r,i);return Ar(a,e)}function eM(t,i,e){let n=er(t),r=[n[on.DaysFormat],n[on.DaysStandalone]],a=Ar(r,i);return Ar(a,e)}function tM(t,i,e){let n=er(t),r=[n[on.MonthsFormat],n[on.MonthsStandalone]],a=Ar(r,i);return Ar(a,e)}function nM(t,i){let n=er(t)[on.Eras];return Ar(n,i)}function ed(t,i){let e=er(t);return Ar(e[on.DateFormat],i)}function td(t,i){let e=er(t);return Ar(e[on.TimeFormat],i)}function nd(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 iG(t){return er(t)[on.Currencies]}function iM(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 rM(t){let i=er(t);return iM(i),(i[on.ExtraData][2]||[]).map(n=>typeof n=="string"?cg(n):[cg(n[0]),cg(n[1])])}function aM(t,i,e){let n=er(t);iM(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 oM(t,i,e="en"){let n=iG(e)[t]||Zx[t]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||t}var rG=2;function sM(t){let i,e=Zx[t];return e&&(i=e[2]),typeof i=="number"?i:rG}var aG=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,uu={},oG=/((?:[^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 cM(t,i,e,n){let r=hG(t);i=_o(e,i)||i;let o=[],s;for(;i;)if(s=oG.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=dM(n,d),r=fG(r,n));let h="";return o.forEach(v=>{let C=mG(v);h+=C?C(r,e,d):v==="''"?"'":v.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function gu(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=Xx(t);if(uu[e]??={},uu[e][i])return uu[e][i];let n="";switch(i){case"shortDate":n=ed(t,rr.Short);break;case"mediumDate":n=ed(t,rr.Medium);break;case"longDate":n=ed(t,rr.Long);break;case"fullDate":n=ed(t,rr.Full);break;case"shortTime":n=td(t,rr.Short);break;case"mediumTime":n=td(t,rr.Medium);break;case"longTime":n=td(t,rr.Long);break;case"fullTime":n=td(t,rr.Full);break;case"short":let r=_o(t,"shortTime"),a=_o(t,"shortDate");n=mu(nd(t,rr.Short),[r,a]);break;case"medium":let o=_o(t,"mediumTime"),s=_o(t,"mediumDate");n=mu(nd(t,rr.Medium),[o,s]);break;case"long":let d=_o(t,"longTime"),h=_o(t,"longDate");n=mu(nd(t,rr.Long),[d,h]);break;case"full":let v=_o(t,"fullTime"),C=_o(t,"fullDate");n=mu(nd(t,rr.Full),[v,C]);break}return n&&(uu[e][i]=n),n}function mu(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 sG(s,i);let d=ta(o,ui.MinusSign);return ea(s,i,d,n,r)}}function cG(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 lG(r,a,t,i,e,n)}}function lG(t,i,e,n,r,a){switch(e){case 2:return tM(i,r,n)[t.getMonth()];case 1:return eM(i,r,n)[t.getDay()];case 0:let o=t.getHours(),s=t.getMinutes();if(a){let h=rM(i),v=aM(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 dG=0,hu=4;function uG(t){let i=gu(t,dG,1).getDay();return gu(t,0,1+(i<=hu?hu:hu+7)-i)}function lM(t){let i=t.getDay(),e=i===0?-3:hu-i;return gu(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=lM(e),o=uG(a.getFullYear()),s=a.getTime()-o.getTime();r=1+Math.round(s/6048e5)}return ea(r,t,ta(n,ui.MinusSign))}}function fu(t,i=!1){return function(e,n){let a=lM(e).getFullYear();return ea(a,t,ta(n,ui.MinusSign),i)}}var dg={};function mG(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=Nn(0,1,0,!1,!0);break;case"yy":i=Nn(0,2,0,!0,!0);break;case"yyy":i=Nn(0,3,0,!1,!0);break;case"yyyy":i=Nn(0,4,0,!1,!0);break;case"Y":i=fu(1);break;case"YY":i=fu(2,!0);break;case"YYY":i=fu(3);break;case"YYYY":i=fu(4);break;case"M":case"L":i=Nn(1,1,1);break;case"MM":case"LL":i=Nn(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=Nn(2,1);break;case"dd":i=Nn(2,2);break;case"c":case"cc":i=Nn(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=Nn(3,1,-12);break;case"hh":i=Nn(3,2,-12);break;case"H":i=Nn(3,1);break;case"HH":i=Nn(3,2);break;case"m":i=Nn(4,1);break;case"mm":i=Nn(4,2);break;case"s":i=Nn(5,1);break;case"ss":i=Nn(5,2);break;case"S":i=Nn(6,1);break;case"SS":i=Nn(6,2);break;case"SSS":i=Nn(6,3);break;case"Z":case"ZZ":case"ZZZ":i=pu(0);break;case"ZZZZZ":i=pu(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=pu(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=pu(2);break;default:return null}return dg[t]=i,i}function dM(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function pG(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function fG(t,i,e){let r=t.getTimezoneOffset(),a=dM(i,r);return pG(t,-1*(a-r))}function hG(t){if($x(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 gu(r,a-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(aG))return gG(n)}let i=new Date(t);if(!$x(i))throw new Error(`Unable to convert "${t}" into a date`);return i}function gG(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 $x(t){return t instanceof Date&&!isNaN(t.valueOf())}var _G=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Gx=22,_u=".",id="0",vG=";",bG=",",ug="#",Wx="\xA4";function uM(t,i,e,n,r,a,o=!1){let s="",d=!1;if(!isFinite(t))s=ta(e,ui.Infinity);else{let h=CG(t);o&&(h=yG(h));let v=i.minInt,C=i.minFrac,S=i.maxFrac;if(a){let qe=a.match(_G);if(qe===null)throw new Error(`${a} is not a valid digit info`);let nt=qe[1],An=qe[3],zn=qe[5];nt!=null&&(v=mg(nt)),An!=null&&(C=mg(An)),zn!=null?S=mg(zn):An!=null&&C>S&&(S=C)}xG(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 xu(t,i,e,n,r){let a=_g(i,Cu.Currency),o=pM(a,ta(i,ui.MinusSign));return o.minFrac=sM(n),o.maxFrac=o.minFrac,uM(t,o,i,ui.CurrencyGroup,ui.CurrencyDecimal,r).replace(Wx,e).replace(Wx,"").trim()}function mM(t,i,e){let n=_g(i,Cu.Decimal),r=pM(n,ta(i,ui.MinusSign));return uM(t,r,i,ui.Group,ui.Decimal,e)}function pM(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(vG),r=n[0],a=n[1],o=r.indexOf(_u)!==-1?r.split(_u):[r.substring(0,r.lastIndexOf(id)+1),r.substring(r.lastIndexOf(id)+1)],s=o[0],d=o[1]||"";e.posPre=s.substring(0,s.indexOf(ug));for(let v=0;v-1&&(i=i.replace(_u,"")),(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)===id;a++);if(a===(s=i.length))n=[0],r=1;else{for(s--;i.charAt(s)===id;)s--;for(r-=a,n=[],o=0;a<=s;a++,o++)n[o]=Number(i.charAt(a))}return r>Gx&&(n=n.splice(0,Gx-1),e=r-1,r=1),{digits:n,exponent:e,integerLen:r}}function xG(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+/,qx=[],yn=(()=>{class t{_ngEl;_renderer;initialClasses=qx;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(pg):qx}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 vu=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 vu(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),Yx(s,r)}});for(let r=0,a=n.length;r{let a=n.get(r.currentIndex);Yx(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 Yx(t,i){t.context.$implicit=i.item}var Ae=(()=>{class t{_viewContainer;_context=new bu;_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){Qx(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Qx(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})(),bu=class{$implicit=null;ngIf=null};function Qx(t,i){if(t&&!t.createEmbeddedView)throw new Ce(2020,!1)}var yu=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()}},rd=(()=>{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 yu(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(rd,9))};static \u0275dir=V({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),bg=(()=>{class t{constructor(e,n,r){r._addDefault(new yu(e,n))}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(rd,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:Da.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(ou),k(Ke))};static \u0275dir=V({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Ko=(()=>{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 Rl(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()}},MG=new hg,wG=new fg,ad=(()=>{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 MG;if(Z8(e))return wG;throw Rl(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})(),DG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Rl(t,e);return e.toLowerCase()}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=_t({name:"lowercase",type:t,pure:!0})}return t})(),SG=/(?:[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,kG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Rl(t,e);return e.replace(SG,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 EG="mediumDate",fM=new A(""),hM=new A(""),tc=(()=>{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??EG,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return cM(e,o,a||this.locale,s)}catch(o){throw Rl(t,o.message)}}static \u0275fac=function(n){return new(n||t)(k(Oa,16),k(fM,24),k(hM,24))};static \u0275pipe=_t({name:"date",type:t,pure:!0})}return t})();var OG=(()=>{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 IG(t,i){return{key:t,value:i}}var PG=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Kx;transform(e,n=Kx){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(IG(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(ou,16))};static \u0275pipe=_t({name:"keyvalue",type:t,pure:!1})}return t})();function Kx(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(!gM(e))return null;r||=this._locale;try{let a=_M(e);return mM(a,r,n)}catch(a){throw Rl(t,a.message)}}static \u0275fac=function(n){return new(n||t)(k(Oa,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(!gM(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=oM(s,r==="symbol"?"wide":"narrow",o):s=r);try{let d=_M(e);return xu(d,o,s,n,a)}catch(d){throw Rl(t,d.message)}}static \u0275fac=function(n){return new(n||t)(k(Oa,16),k(Tx,16))};static \u0275pipe=_t({name:"currency",type:t,pure:!0})}return t})();function gM(t){return!(t==null||t===""||t!==t)}function _M(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 sd(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 Mu="browser",vM="server";function xg(t){return t===Mu}function wu(t){return t===vM}var nc=class{};function _pe(t,i,e){return Mx(t,i,e)}var bM=(()=>{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=TG(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 TG(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 ku=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(ku),ae(se))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),cd=class{_doc;constructor(i){this._doc=i}manager},Du="ng-app-id";function yM(t){for(let i of t)i.remove()}function CM(t,i){let e=i.createElement("style");return e.textContent=t,e}function AG(t,i,e,n){let r=t.head?.querySelectorAll(`style[${Du}="${i}"],link[${Du}="${i}"]`);if(r)for(let a of r)a.removeAttribute(Du),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=wu(a),AG(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,CM);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&&(yM(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])yM(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,CM(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(Du,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(ae(De),ae(Js),ae(B1,8),ae(qo))};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 MM="%COMP%",VG=`_nghost-${MM}`,LG=`_ngcontent-${MM}`,RG=!0,zG=new A("",{providedIn:"root",factory:()=>RG});function HG(t){return LG.replace(Og,t)}function NG(t){return VG.replace(Og,t)}function wM(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=wu(s),this.defaultRenderer=new ld(e,o,d,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===wa.ShadowDom&&(n=Be(q({},n),{encapsulation:wa.Emulated}));let r=this.getOrCreateRenderer(e,n);return r instanceof Su?r.applyToHost(e):r instanceof dd&&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 wa.Emulated:a=new Su(d,h,n,this.appId,v,o,s,C,S);break;case wa.ShadowDom:return new Sg(d,h,e,n,o,s,this.nonce,C,S);default:a=new dd(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(Js),ae(zG),ae(De),ae(qo),ae(se),ae(B1),ae(Al,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),ld=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){(xM(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(xM(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&(Da.DashCase|Da.Important)?i.style.setProperty(e,n,r&Da.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&Da.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 xM(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Sg=class extends ld{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=wM(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)}},dd=class extends ld{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?wM(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)}},Su=class extends dd{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=HG(v),this.hostAttr=NG(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 Eu=class t extends X1{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=FG();return e==null?null:BG(e)}resetBaseElement(){ud=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return sd(document.cookie,i)}},ud=null;function FG(){return ud=ud||document.head.querySelector("base"),ud?ud.getAttribute("href"):null}function BG(t){return new URL(t,document.baseURI).pathname}var Ou=class{addToWindow(i){ii.getAngularTestability=(n,r=!0)=>{let a=i.findTestabilityInTree(n,r);if(a==null)throw new Ce(5103,!1);return a},ii.getAllAngularTestabilities=()=>i.getAllTestabilities(),ii.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let r=ii.getAllAngularTestabilities(),a=r.length,o=function(){a--,a==0&&n()};r.forEach(s=>{s.whenStable(o)})};ii.frameworkStabilizers||(ii.frameworkStabilizers=[]),ii.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)}},jG=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),SM=(()=>{class t extends cd{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})(),DM=["alt","control","meta","shift"],UG={"\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"},$G={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kM=(()=>{class t extends cd{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."),DM.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=UG[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"),DM.forEach(o=>{if(o!==r){let s=$G[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 GG(){Eu.makeCurrent()}function WG(){return new Vi}function qG(){return Zy(document),document}var YG=[{provide:qo,useValue:Mu},{provide:M8,useValue:GG,multi:!0},{provide:De,useFactory:qG}],QG=ag(Rx,"browser",YG);var KG=[{provide:Y1,useClass:Ou},{provide:Q8,useClass:Z0,deps:[se,X0,Y1]},{provide:Z0,useClass:Z0,deps:[se,X0,Y1]}],ZG=[{provide:T0,useValue:"root"},{provide:Vi,useFactory:WG},{provide:ku,useClass:SM,multi:!0,deps:[De]},{provide:ku,useClass:kM,multi:!0,deps:[De]},Ig,Eg,kg,{provide:En,useExisting:Ig},{provide:nc,useClass:jG},[]],XG=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[...ZG,...KG],imports:[fe,zx]})}return t})();var Hl=class{},md=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 Pu=class{encodeKey(i){return EM(i)}encodeValue(i){return EM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function JG(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 eW=/%(\d[a-f0-9])/gi,tW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function EM(t){return encodeURIComponent(t).replace(eW,(i,e)=>tW[e]??i)}function Iu(t){return`${t}`}var Z=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Pu,i.fromString){if(i.fromObject)throw new Ce(2805,!1);this.map=JG(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(Iu):[Iu(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(Iu(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(Iu(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 Tu=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 nW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function OM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function IM(t){return typeof Blob<"u"&&t instanceof Blob}function PM(t){return typeof FormData<"u"&&t instanceof FormData}function iW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var TM="Content-Type",AM="Accept",LM="X-Request-URL",RM="text/plain",zM="application/json",rW=`${zM}, ${RM}, */*`,zl=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(nW(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 Tu,!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})}},ic=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}(ic||{}),Nl=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}},Au=class t extends Nl{constructor(i={}){super(i)}type=ic.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})}},pd=class t extends Nl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=ic.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})}},fd=class extends Nl{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}},aW=200,oW=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 zl)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 zl(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 zl||r.observe==="events")return o;let s=o.pipe(Ve(d=>d instanceof pd));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(me(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(me(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(me(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(me(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(Hl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var sW=new A("");function HM(t,i){return i(t)}function cW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function lW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var NM=new A(""),Ag=new A(""),FM=new A(""),Vg=new A("",{providedIn:"root",factory:()=>!0});function dW(){let t=null;return(i,e)=>{t===null&&(t=(u(NM,{optional:!0})??[]).reduceRight(cW,HM));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 Vu=(()=>{class t extends Hl{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(FM,[])]));this.chain=n.reduceRight((r,a)=>lW(r,a,this.injector),HM)}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(md),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var uW=/^\)\]\}',?\n/,mW=RegExp(`^${LM}:`,"m");function pW(t){return"responseURL"in t&&t.responseURL?t.responseURL:mW.test(t.getAllResponseHeaders())?t.getResponseHeader(LM):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(ct(()=>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(AM)||o.setRequestHeader(AM,rW),!e.headers.has(TM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(TM,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=pW(o)||e.url;return d=new Au({headers:oe,status:o.status,statusText:ne,url:ye}),d},v=()=>{let{headers:ne,status:oe,statusText:ye,url:qe}=h(),nt=null;oe!==oW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?aW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let zn=nt;nt=nt.replace(uW,"");try{nt=nt!==""?JSON.parse(nt):null}catch(Ei){nt=zn,An&&(An=!1,nt={error:Ei,text:nt})}}An?(a.next(new pd({body:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0})),a.complete()):a.error(new fd({error:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0}))},C=ne=>{let{url:oe}=h(),ye=new fd({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:ic.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:ic.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:ic.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(nc))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),BM=new A(""),fW="XSRF-TOKEN",hW=new A("",{providedIn:"root",factory:()=>fW}),gW="X-XSRF-TOKEN",_W=new A("",{providedIn:"root",factory:()=>gW}),hd=class{},vW=(()=>{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=sd(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(ae(De),ae(hW))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function bW(t,i){let e=t.url.toLowerCase();if(!u(BM)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(hd).getToken(),r=u(_W);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 yW(t,i){return{\u0275kind:t,\u0275providers:i}}function CW(...t){let i=[On,Tg,Vu,{provide:Hl,useExisting:Vu},{provide:md,useFactory:()=>u(sW,{optional:!0})??u(Tg)},{provide:Ag,useValue:bW,multi:!0},{provide:BM,useValue:!0},{provide:hd,useClass:vW}];for(let e of t)i.push(...e.\u0275providers);return Dl(i)}var VM=new A("");function xW(){return yW(Lg.LegacyInterceptors,[{provide:VM,useFactory:dW},{provide:Ag,useExisting:VM,multi:!0}])}var jM=(()=>{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 vo=(()=>{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(MW),r},providedIn:"root"})}return t})(),MW=(()=>{class t extends vo{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Ln.NONE:return n;case Ln.HTML:return po(n,"HTML")?Pr(n):k8(this._doc,String(n)).toString();case Ln.STYLE:return po(n,"Style")?Pr(n):n;case Ln.SCRIPT:if(po(n,"Script"))return Pr(n);throw new Ce(5200,!1);case Ln.URL:return po(n,"URL")?Pr(n):j0(String(n));case Ln.RESOURCE_URL:if(po(n,"ResourceURL"))return Pr(n);throw new Ce(5201,!1);default:throw new Ce(5202,!1)}}bypassSecurityTrustHtml(e){return aC(e)}bypassSecurityTrustStyle(e){return oC(e)}bypassSecurityTrustScript(e){return sC(e)}bypassSecurityTrustUrl(e){return cC(e)}bypassSecurityTrustResourceUrl(e){return lC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fl=class{},UM=(()=>{class t extends Fl{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})(),vd=class{},$M=(()=>{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 Ru(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{yd(i[n])?n in t?e[n]=Rg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):Rg({},i)}function zg(t,i){let e=i.split(".");i="";do i+=e.shift(),Zo(t)&&Zo(t[i])&&(yd(t[i])||jg(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function DW(t,i,e){let n=i.split("."),r=t;for(let a=0;a{class t extends Bl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(Ug(e))return this.interpolateString(e,n);if(wW(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=zg(n,a);return Zo(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})(),jl=class{},WM=(()=>{class t extends jl{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})(),bd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new j;onLangChange=new j;onDefaultLangChange=new j},Hg=new A("ISOLATE_TRANSLATE_SERVICE"),Ng=new A("USE_DEFAULT_LANG"),Fg=new A("DEFAULT_LANGUAGE"),Bg=new A("USE_EXTEND"),_d=t=>Wn(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 bd),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 Wn(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(No(1),Le(1));return this.loadingTranslations=n.pipe(me(r=>this.compiler.compileTranslations(r,e)),No(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]=Rg(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(zg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(zg(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(jg(e))return e.map(r=>this.runInterpolation(r,n));if(yd(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||Wn(a[d]);if(!o)return a;let s=n.map(d=>_d(a[d]));return io(s).pipe(me(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Zo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ti(r=>_d(this.getParsedResult(r,e,n)))):_d(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Zo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(ct(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}stream(e,n){if(!Zo(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(ct(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}instant(e,n){if(!Zo(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 Wn(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,n,r=this.currentLang){DW(this.translations[r],e,Ug(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(bd),ae(Fl),ae(jl),ae(Bl),ae(vd),ae(Ng),ae(Hg),ae(Bg),ae(Fg))};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);Wn(o)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Ru(e,this.lastKey)&&Ru(n,this.lastParams))return this.value;let r;if(Zo(n[0])&&n.length)if(Ug(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 yd(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 $g=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:UM},e.compiler||{provide:jl,useClass:WM},e.parser||{provide:Bl,useClass:GM},e.missingTranslationHandler||{provide:vd,useClass:$M},bd,{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:UM},e.compiler||{provide:jl,useClass:WM},e.parser||{provide:Bl,useClass:GM},e.missingTranslationHandler||{provide:vd,useClass:$M},{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Gg={mifos_x:{version:"251128",hash:"fb2d065"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Gg.mifos_x.version,hash:Gg.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 qM=(()=>{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 YM=(()=>{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 QM=(()=>{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 Xo=(()=>{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 $l=r3(Hu());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 tc(this.language.code).transform(e,n)}formatDateAsString(e,n){return(0,$l.default)(e).format(n)}parseDate(e){return e instanceof Array?(0,$l.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,$l.default)(e).toDate()}parseDatetime(e){return(0,$l.default)(e).toDate()}convertToDate(e,n){return(0,$l.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(tc))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();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(){return JSON.parse(localStorage.getItem("mifosXDateFormat"))}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),JSON.parse(localStorage.getItem("mifosXLanguage"))}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 JSON.parse(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 JSON.parse(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 JSON.parse(localStorage.getItem("mifosXThemeDarkEnabled"))}static{this.\u0275fac=function(n){return new(n||t)(ae(Xo),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nu=r3(Hu());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 xd=r3(Hu());var Pa=(()=>{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,xd.default)({year:o,month:(s??1)-1,date:d,hour:h,minute:v??0,second:C??0}):r=(0,xd.default)({year:o,month:(s??1)-1,date:d})}else typeof e=="number"&&e<1e12?r=xd.default.unix(e):r=(0,xd.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 KM=new WeakMap,ZM=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,n,r,a){if(!n||!r||e===null||e===void 0)return"";let o=KM.get(n);o||(o=new Map,KM.set(n,o));let s=o.get(r);if(!s){if(s=new Map,Array.isArray(n))for(let v of n)v&&v[r]!==void 0&&v[r]!==null&&s.set(v[r],v);o.set(r,s)}let d=s.get(e),h=d?d[a]??"":"";return typeof h=="string"?this.sanitizer.sanitize(Ln.HTML,h)||"":String(h||"")}static{this.\u0275fac=function(n){return new(n||t)(k(vo,16))}}static{this.\u0275pipe=_t({name:"find",type:t,pure:!0})}}return t})();var Jo=(()=>{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(od,16),k(Nt,16))}}static{this.\u0275pipe=_t({name:"formatNumber",type:t,pure:!0})}}return t})();var ew=r3(JM());var ju=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return ew.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 tw=(()=>{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 rc=(()=>{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 iw=(()=>{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 rw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[tw,qM,YM,QM,ZM,iw,yr,Pa,Fu,Jo,$u,ju,rc,Uu],imports:[fe]})}}return t})();var yo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Gu="Authorization",OW="Fineract-Platform-TenantId",aw="Fineract-Platform-TFA-Token",ow=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,n){return this.settingsService.tenantIdentifier&&(yo.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:yo.headers}),n.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?yo.headers[Gu]=`Bearer ${e}`:yo.headers[Gu]=`Basic ${e}`}setTwoFactorAccessToken(e){yo.headers[aw]=e}removeAuthorization(){delete yo.headers[Gu]}removeAuthorizationTenant(){delete yo.headers[Gu],delete yo.headers[OW]}removeTwoFactorAuthorization(){delete yo.headers[aw]}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(me(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(me(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(me(()=>{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(Xo),ae(ow))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var es=(()=>{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 hw=(()=>{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})(),gw=(()=>{class t extends hw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,features:[ce]})}return t})(),Qn=new A("");var PW={provide:Qn,useExisting:wt(()=>ai),multi:!0};function TW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var AW=new A(""),ai=(()=>{class t extends hw{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!TW())}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(AW,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([PW]),ce]})}return t})();function Kg(t){return t==null||Zg(t)===0}function Zg(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var oi=new A(""),oc=new A(""),VW=/^(?=.{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 _w(i)}static max(i){return vw(i)}static required(i){return bw(i)}static requiredTrue(i){return LW(i)}static email(i){return RW(i)}static minLength(i){return yw(i)}static maxLength(i){return Cw(i)}static pattern(i){return zW(i)}static nullValidator(i){return Yu()}static compose(i){return kw(i)}static composeAsync(i){return Ew(i)}};function _w(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 bw(t){return Kg(t.value)?{required:!0}:null}function LW(t){return t.value===!0?null:{required:!0}}function RW(t){return Kg(t.value)||VW.test(t.value)?null:{email:!0}}function yw(t){return i=>{let e=i.value?.length??Zg(i.value);return e===null||e===0?null:e{let e=i.value?.length??Zg(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function zW(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(Kg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Yu(t){return null}function xw(t){return t!=null}function Mw(t){return Qo(t)?jt(t):t}function ww(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function Dw(t,i){return i.map(e=>e(t))}function HW(t){return!t.validate}function Sw(t){return t.map(i=>HW(i)?i:e=>i.validate(e))}function kw(t){if(!t)return null;let i=t.filter(xw);return i.length==0?null:function(e){return ww(Dw(e,i))}}function Xg(t){return t!=null?kw(Sw(t)):null}function Ew(t){if(!t)return null;let i=t.filter(xw);return i.length==0?null:function(e){let n=Dw(e,i).map(Mw);return io(n).pipe(me(ww))}}function Jg(t){return t!=null?Ew(Sw(t)):null}function cw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Ow(t){return t._rawValidators}function Iw(t){return t._rawAsyncValidators}function qg(t){return t?Array.isArray(t)?t:[t]:[]}function Qu(t,i){return Array.isArray(t)?t.includes(i):t===i}function lw(t,i){let e=qg(i);return qg(t).forEach(r=>{Qu(e,r)||e.push(r)}),e}function dw(t,i){return qg(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=Xg(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Jg(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}},ri=class extends Ku{name;get formDirective(){return null}get path(){return null}},Fn=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}},NW={"[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"},d6e=Be(q({},NW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Zu{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(Fn,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(ri,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 Md="VALID",qu="INVALID",Wl="PENDING",wd="DISABLED",ns=class{},Xu=class extends ns{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Sd=class extends ns{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},kd=class extends ns{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},ql=class extends ns{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Ju=class extends ns{source;constructor(i){super(),this.source=i}},em=class extends ns{source;constructor(i){super(),this.source=i}};function e5(t){return(rm(t)?t.validators:t)||null}function FW(t){return Array.isArray(t)?Xg(t):t||null}function t5(t,i){return(rm(i)?i.asyncValidators:t)||null}function BW(t){return Array.isArray(t)?Jg(t):t||null}function rm(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Pw(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 Tw(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new Ce(1002,"")})}var Yl=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=Hn(void 0);get valid(){return this.status===Md}get invalid(){return this.status===qu}get pending(){return this.status==Wl}get disabled(){return this.status===wd}get enabled(){return this.status!==wd}errors;get pristine(){return ir(this.pristineReactive)}set pristine(i){ir(()=>this.pristineReactive.set(i))}_pristine=Zr(()=>this.pristineReactive());pristineReactive=Hn(!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=Hn(!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(lw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(lw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(dw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(dw(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 kd(!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 kd(!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 Sd(!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 Sd(!0,n))}markAsPending(i={}){this.status=Wl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new ql(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=wd,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 ql(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=Md,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===Md||this.status===Wl)&&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 ql(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()?wd:Md}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Wl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=Mw(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 ql(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?wd:this.errors?qu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wl)?Wl:this._anyControlsHaveStatus(qu)?qu:Md}_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 Sd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new kd(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=FW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=BW(this._rawAsyncValidators)}},ac=class extends Yl{constructor(i,e,n){super(e5(e),t5(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={}){Tw(this,!0,i),Object.keys(i).forEach(n=>{Pw(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 Aw=ac;var Yg=class extends ac{};var Ql=new A("",{providedIn:"root",factory:()=>am}),am="always";function om(t,i){return[...i.path,t]}function Ed(t,i,e=am){n5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),UW(t,i),GW(t,i),$W(t,i),jW(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 jW(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function n5(t,i){let e=Ow(t);i.validator!==null?t.setValidators(cw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Iw(t);i.asyncValidator!==null?t.setAsyncValidators(cw(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=Ow(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=Iw(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 UW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Vw(t,i)})}function $W(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Vw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Vw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GW(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Lw(t,i){t==null,n5(t,i)}function WW(t,i){return im(t,i)}function i5(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)===gw}function Rw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function r5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ai?e=a:qW(a)?n=a:r=a}),r||n||e||null}function YW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var QW={provide:ri,useExisting:wt(()=>Kl)},Dd=Promise.resolve(),Kl=(()=>{class t extends ri{callSetDisabledState;get submitted(){return ir(this.submittedReactive)}_submitted=Zr(()=>this.submittedReactive());submittedReactive=Hn(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new ac({},Xg(e),Jg(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Dd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Ed(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Dd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Dd.then(()=>{let n=this._findContainer(e.path),r=new ac({});Lw(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Dd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Dd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Rw(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(oi,10),k(oc,10),k(Ql,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([QW]),ce]})}return t})();function uw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function mw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ts=class extends Yl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(e5(e),t5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rm(e)&&(e.nonNullable||e.initialValueIsDefault)&&(mw(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){uw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){uw(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){mw(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=ts,KW=t=>t instanceof ts,ZW=(()=>{class t extends ri{_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 XW={provide:Fn,useExisting:wt(()=>JW)},pw=Promise.resolve(),JW=(()=>{class t extends Fn{_changeDetectorRef;callSetDisabledState;control=new ts;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=r5(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),i5(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(){Ed(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){pw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);pw.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(ri,9),k(oi,10),k(oc,10),k(Qn,10),k(be,8),k(Ql,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([XW]),ce,Pe]})}return t})();var is=(()=>{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})(),eq={provide:Qn,useExisting:wt(()=>tq),multi:!0},tq=(()=>{class t extends gw{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([eq]),ce]})}return t})();var a5=new A(""),nq={provide:Fn,useExisting:wt(()=>mi)},mi=(()=>{class t extends Fn{_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=r5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&tm(n,this,!1),Ed(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}i5(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(oi,10),k(oc,10),k(Qn,10),k(a5,8),k(Ql,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([nq]),ce,Pe]})}return t})(),iq={provide:ri,useExisting:wt(()=>Kn)},Kn=(()=>{class t extends ri{callSetDisabledState;get submitted(){return ir(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zr(()=>this._submittedReactive());_submittedReactive=Hn(!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 Ed(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),YW(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),Rw(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),KW(r)&&(Ed(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Lw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&WW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){n5(this.form,this),this._oldForm&&im(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(k(oi,10),k(oc,10),k(Ql,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([iq]),ce,Pe]})}return t})(),rq={provide:ri,useExisting:wt(()=>zw)},zw=(()=>{class t extends ZW{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Nw(this._parent)}static \u0275fac=function(n){return new(n||t)(k(ri,13),k(oi,10),k(oc,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ue([rq]),ce]})}return t})(),aq={provide:ri,useExisting:wt(()=>Hw)},Hw=(()=>{class t extends ri{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Nw(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(ri,13),k(oi,10),k(oc,10))};static \u0275dir=V({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ue([aq]),ce]})}return t})();function Nw(t){return!(t instanceof zw)&&!(t instanceof Kn)&&!(t instanceof Hw)}var oq={provide:Fn,useExisting:wt(()=>Cr)},Cr=(()=>{class t extends Fn{_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=r5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),i5(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(ri,13),k(oi,10),k(oc,10),k(Qn,10),k(a5,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([oq]),ce,Pe]})}return t})();function Fw(t){return typeof t=="number"?t:parseInt(t,10)}function Bw(t){return typeof t=="number"?t:parseFloat(t)}var Od=(()=>{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})(),sq={provide:oi,useExisting:wt(()=>cq),multi:!0},cq=(()=>{class t extends Od{max;inputName="max";normalizeInput=e=>Bw(e);createValidator=e=>vw(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([sq]),ce]})}return t})(),lq={provide:oi,useExisting:wt(()=>dq),multi:!0},dq=(()=>{class t extends Od{min;inputName="min";normalizeInput=e=>Bw(e);createValidator=e=>_w(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([lq]),ce]})}return t})(),uq={provide:oi,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Od{required;inputName="required";normalizeInput=B;createValidator=e=>bw;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([uq]),ce]})}return t})();var mq={provide:oi,useExisting:wt(()=>pq),multi:!0},pq=(()=>{class t extends Od{minlength;inputName="minlength";normalizeInput=e=>Fw(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:[["","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([mq]),ce]})}return t})(),fq={provide:oi,useExisting:wt(()=>hq),multi:!0},hq=(()=>{class t extends Od{maxlength;inputName="maxlength";normalizeInput=e=>Fw(e);createValidator=e=>Cw(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([fq]),ce]})}return t})();var jw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Qg=class extends Yl{constructor(i,e,n){super(e5(e),t5(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={}){Tw(this,!1,i),i.forEach((n,r)=>{Pw(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 fw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var gq=(()=>{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 fw(n)?a=n:n!==null&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new ac(r,a)}record(e,n=null){let r=this._reduceControls(e);return new Yg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(fw(n)?a=n:(a.validators=n,a.asyncValidators=r),new ts(e,Be(q({},a),{nonNullable:!0}))):new ts(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Qg(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 ts)return e;if(e instanceof Yl)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 rs=(()=>{class t extends gq{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 Uw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ql,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[jw]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:a5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ql,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[jw]})}return t})();var $w=(()=>{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 xu(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(n){return new(n||t)(k(Oa),k(Y),k(Fn))}}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 g6e=(()=>{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(Fn),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 Gw=(()=>{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 Co(t){return t.buttons===0||t.detail===0}function xo(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 o5;function Ww(){if(o5==null){let t=typeof document<"u"?document.head:null;o5=!!(t&&(t.createShadowRoot||t.attachShadow))}return o5}function sc(t){if(Ww()){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 s5;try{s5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{s5=!1}var He=(()=>{class t{_platformId=u(qo);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||s5)&&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 Id;function qw(){if(Id==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Id=!0}))}finally{Id=Id||!1}return Id}function as(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 Yw=new A("cdk-input-modality-detector-options"),Qw={ignoreKeys:[18,17,224,91,16]},Kw=650,c5={passive:!0,capture:!0},Zw=(()=>{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(xo(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(Yw,{optional:!0});if(this._options=q(q({},Qw),r),this.modalityDetected=this._modality.pipe(Rs(1)),this.modalityChanged=this.modalityDetected.pipe(cl()),this._platform.isBrowser){let a=u(En).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Dt(a,n,"keydown",this._onKeydown,c5),Dt(a,n,"mousedown",this._onMousedown,c5),Dt(a,n,"touchstart",this._onTouchstart,c5)])}}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})(),Pd=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Pd||{}),Xw=new A("cdk-focus-monitor-default-options"),cm=as({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(Zw);_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(Xw,{optional:!0});this._detectionMode=e?.detectionMode||Pd.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=sc(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===Pd.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===Pd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Kw: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(su(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 Pu=class{encodeKey(i){return EM(i)}encodeValue(i){return EM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function JG(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 eW=/%(\d[a-f0-9])/gi,tW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function EM(t){return encodeURIComponent(t).replace(eW,(i,e)=>tW[e]??i)}function Iu(t){return`${t}`}var Z=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Pu,i.fromString){if(i.fromObject)throw new Ce(2805,!1);this.map=JG(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(Iu):[Iu(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(Iu(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(Iu(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 Tu=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 nW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function OM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function IM(t){return typeof Blob<"u"&&t instanceof Blob}function PM(t){return typeof FormData<"u"&&t instanceof FormData}function iW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var TM="Content-Type",AM="Accept",LM="X-Request-URL",RM="text/plain",zM="application/json",rW=`${zM}, ${RM}, */*`,zl=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(nW(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 Tu,!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})}},ic=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}(ic||{}),Nl=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}},Au=class t extends Nl{constructor(i={}){super(i)}type=ic.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})}},pd=class t extends Nl{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=ic.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})}},fd=class extends Nl{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}},aW=200,oW=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 zl)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 zl(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 zl||r.observe==="events")return o;let s=o.pipe(Ve(d=>d instanceof pd));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(me(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(me(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(me(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(me(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(Hl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var sW=new A("");function HM(t,i){return i(t)}function cW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function lW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var NM=new A(""),Ag=new A(""),FM=new A(""),Vg=new A("",{providedIn:"root",factory:()=>!0});function dW(){let t=null;return(i,e)=>{t===null&&(t=(u(NM,{optional:!0})??[]).reduceRight(cW,HM));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 Vu=(()=>{class t extends Hl{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(FM,[])]));this.chain=n.reduceRight((r,a)=>lW(r,a,this.injector),HM)}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(md),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var uW=/^\)\]\}',?\n/,mW=RegExp(`^${LM}:`,"m");function pW(t){return"responseURL"in t&&t.responseURL?t.responseURL:mW.test(t.getAllResponseHeaders())?t.getResponseHeader(LM):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(ct(()=>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(AM)||o.setRequestHeader(AM,rW),!e.headers.has(TM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(TM,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=pW(o)||e.url;return d=new Au({headers:oe,status:o.status,statusText:ne,url:ye}),d},v=()=>{let{headers:ne,status:oe,statusText:ye,url:qe}=h(),nt=null;oe!==oW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?aW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let zn=nt;nt=nt.replace(uW,"");try{nt=nt!==""?JSON.parse(nt):null}catch(Ei){nt=zn,An&&(An=!1,nt={error:Ei,text:nt})}}An?(a.next(new pd({body:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0})),a.complete()):a.error(new fd({error:nt,headers:ne,status:oe,statusText:ye,url:qe||void 0}))},C=ne=>{let{url:oe}=h(),ye=new fd({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:ic.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:ic.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:ic.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(nc))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),BM=new A(""),fW="XSRF-TOKEN",hW=new A("",{providedIn:"root",factory:()=>fW}),gW="X-XSRF-TOKEN",_W=new A("",{providedIn:"root",factory:()=>gW}),hd=class{},vW=(()=>{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=sd(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(ae(De),ae(hW))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function bW(t,i){let e=t.url.toLowerCase();if(!u(BM)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(hd).getToken(),r=u(_W);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 yW(t,i){return{\u0275kind:t,\u0275providers:i}}function CW(...t){let i=[On,Tg,Vu,{provide:Hl,useExisting:Vu},{provide:md,useFactory:()=>u(sW,{optional:!0})??u(Tg)},{provide:Ag,useValue:bW,multi:!0},{provide:BM,useValue:!0},{provide:hd,useClass:vW}];for(let e of t)i.push(...e.\u0275providers);return Dl(i)}var VM=new A("");function xW(){return yW(Lg.LegacyInterceptors,[{provide:VM,useFactory:dW},{provide:Ag,useExisting:VM,multi:!0}])}var jM=(()=>{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 vo=(()=>{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(MW),r},providedIn:"root"})}return t})(),MW=(()=>{class t extends vo{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Ln.NONE:return n;case Ln.HTML:return po(n,"HTML")?Pr(n):k8(this._doc,String(n)).toString();case Ln.STYLE:return po(n,"Style")?Pr(n):n;case Ln.SCRIPT:if(po(n,"Script"))return Pr(n);throw new Ce(5200,!1);case Ln.URL:return po(n,"URL")?Pr(n):j0(String(n));case Ln.RESOURCE_URL:if(po(n,"ResourceURL"))return Pr(n);throw new Ce(5201,!1);default:throw new Ce(5202,!1)}}bypassSecurityTrustHtml(e){return aC(e)}bypassSecurityTrustStyle(e){return oC(e)}bypassSecurityTrustScript(e){return sC(e)}bypassSecurityTrustUrl(e){return cC(e)}bypassSecurityTrustResourceUrl(e){return lC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fl=class{},UM=(()=>{class t extends Fl{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})(),vd=class{},$M=(()=>{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 Ru(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{yd(i[n])?n in t?e[n]=Rg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):Rg({},i)}function zg(t,i){let e=i.split(".");i="";do i+=e.shift(),Zo(t)&&Zo(t[i])&&(yd(t[i])||jg(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function DW(t,i,e){let n=i.split("."),r=t;for(let a=0;a{class t extends Bl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(Ug(e))return this.interpolateString(e,n);if(wW(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=zg(n,a);return Zo(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})(),jl=class{},WM=(()=>{class t extends jl{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})(),bd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new j;onLangChange=new j;onDefaultLangChange=new j},Hg=new A("ISOLATE_TRANSLATE_SERVICE"),Ng=new A("USE_DEFAULT_LANG"),Fg=new A("DEFAULT_LANGUAGE"),Bg=new A("USE_EXTEND"),_d=t=>Wn(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 bd),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 Wn(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(No(1),Le(1));return this.loadingTranslations=n.pipe(me(r=>this.compiler.compileTranslations(r,e)),No(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]=Rg(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(zg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(zg(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(jg(e))return e.map(r=>this.runInterpolation(r,n));if(yd(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||Wn(a[d]);if(!o)return a;let s=n.map(d=>_d(a[d]));return io(s).pipe(me(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Zo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ti(r=>_d(this.getParsedResult(r,e,n)))):_d(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Zo(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(ct(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}stream(e,n){if(!Zo(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(ct(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}instant(e,n){if(!Zo(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 Wn(r)?Array.isArray(e)?e.reduce((a,o)=>(a[o]=o,a),{}):e:r}set(e,n,r=this.currentLang){DW(this.translations[r],e,Ug(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(bd),ae(Fl),ae(jl),ae(Bl),ae(vd),ae(Ng),ae(Hg),ae(Bg),ae(Fg))};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);Wn(o)?o.subscribe(a):a(o)}this.translate.get(e,n).subscribe(a)}transform(e,...n){if(!e||!e.length)return e;if(Ru(e,this.lastKey)&&Ru(n,this.lastParams))return this.value;let r;if(Zo(n[0])&&n.length)if(Ug(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 yd(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 $g=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:UM},e.compiler||{provide:jl,useClass:WM},e.parser||{provide:Bl,useClass:GM},e.missingTranslationHandler||{provide:vd,useClass:$M},bd,{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:UM},e.compiler||{provide:jl,useClass:WM},e.parser||{provide:Bl,useClass:GM},e.missingTranslationHandler||{provide:vd,useClass:$M},{provide:Hg,useValue:e.isolate},{provide:Ng,useValue:e.useDefaultLang},{provide:Bg,useValue:e.extend},{provide:Fg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Gg={mifos_x:{version:"251128",hash:"fe49b28"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Gg.mifos_x.version,hash:Gg.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 qM=(()=>{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 YM=(()=>{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 QM=(()=>{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 Xo=(()=>{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 $l=r3(Hu());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 tc(this.language.code).transform(e,n)}formatDateAsString(e,n){return(0,$l.default)(e).format(n)}parseDate(e){return e instanceof Array?(0,$l.default)(e.join("-"),"YYYY-MM-DD").toDate():(0,$l.default)(e).toDate()}parseDatetime(e){return(0,$l.default)(e).toDate()}convertToDate(e,n){return(0,$l.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(tc))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();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(){return JSON.parse(localStorage.getItem("mifosXDateFormat"))}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),JSON.parse(localStorage.getItem("mifosXLanguage"))}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 JSON.parse(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 JSON.parse(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 JSON.parse(localStorage.getItem("mifosXThemeDarkEnabled"))}static{this.\u0275fac=function(n){return new(n||t)(ae(Xo),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nu=r3(Hu());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 xd=r3(Hu());var Pa=(()=>{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,xd.default)({year:o,month:(s??1)-1,date:d,hour:h,minute:v??0,second:C??0}):r=(0,xd.default)({year:o,month:(s??1)-1,date:d})}else typeof e=="number"&&e<1e12?r=xd.default.unix(e):r=(0,xd.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 KM=new WeakMap,ZM=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,n,r,a){if(!n||!r||e===null||e===void 0)return"";let o=KM.get(n);o||(o=new Map,KM.set(n,o));let s=o.get(r);if(!s){if(s=new Map,Array.isArray(n))for(let v of n)v&&v[r]!==void 0&&v[r]!==null&&s.set(v[r],v);o.set(r,s)}let d=s.get(e),h=d?d[a]??"":"";return typeof h=="string"?this.sanitizer.sanitize(Ln.HTML,h)||"":String(h||"")}static{this.\u0275fac=function(n){return new(n||t)(k(vo,16))}}static{this.\u0275pipe=_t({name:"find",type:t,pure:!0})}}return t})();var Jo=(()=>{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(od,16),k(Nt,16))}}static{this.\u0275pipe=_t({name:"formatNumber",type:t,pure:!0})}}return t})();var ew=r3(JM());var ju=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return ew.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 tw=(()=>{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 rc=(()=>{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 iw=(()=>{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 rw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[tw,qM,YM,QM,ZM,iw,yr,Pa,Fu,Jo,$u,ju,rc,Uu],imports:[fe]})}}return t})();var yo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Gu="Authorization",OW="Fineract-Platform-TenantId",aw="Fineract-Platform-TFA-Token",ow=(()=>{class t{constructor(e){this.settingsService=e}intercept(e,n){return this.settingsService.tenantIdentifier&&(yo.headers["Fineract-Platform-TenantId"]=this.settingsService.tenantIdentifier),e=e.clone({setHeaders:yo.headers}),n.handle(e)}setAuthorizationToken(e){mt.oauth.enabled?yo.headers[Gu]=`Bearer ${e}`:yo.headers[Gu]=`Basic ${e}`}setTwoFactorAccessToken(e){yo.headers[aw]=e}removeAuthorization(){delete yo.headers[Gu]}removeAuthorizationTenant(){delete yo.headers[Gu],delete yo.headers[OW]}removeTwoFactorAuthorization(){delete yo.headers[aw]}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(me(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(me(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(me(()=>{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(Xo),ae(ow))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var es=(()=>{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 hw=(()=>{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})(),gw=(()=>{class t extends hw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,features:[ce]})}return t})(),Qn=new A("");var PW={provide:Qn,useExisting:wt(()=>ai),multi:!0};function TW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var AW=new A(""),ai=(()=>{class t extends hw{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!TW())}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(AW,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([PW]),ce]})}return t})();function Kg(t){return t==null||Zg(t)===0}function Zg(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var oi=new A(""),oc=new A(""),VW=/^(?=.{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 _w(i)}static max(i){return vw(i)}static required(i){return bw(i)}static requiredTrue(i){return LW(i)}static email(i){return RW(i)}static minLength(i){return yw(i)}static maxLength(i){return Cw(i)}static pattern(i){return zW(i)}static nullValidator(i){return Yu()}static compose(i){return kw(i)}static composeAsync(i){return Ew(i)}};function _w(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 bw(t){return Kg(t.value)?{required:!0}:null}function LW(t){return t.value===!0?null:{required:!0}}function RW(t){return Kg(t.value)||VW.test(t.value)?null:{email:!0}}function yw(t){return i=>{let e=i.value?.length??Zg(i.value);return e===null||e===0?null:e{let e=i.value?.length??Zg(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function zW(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(Kg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Yu(t){return null}function xw(t){return t!=null}function Mw(t){return Qo(t)?jt(t):t}function ww(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function Dw(t,i){return i.map(e=>e(t))}function HW(t){return!t.validate}function Sw(t){return t.map(i=>HW(i)?i:e=>i.validate(e))}function kw(t){if(!t)return null;let i=t.filter(xw);return i.length==0?null:function(e){return ww(Dw(e,i))}}function Xg(t){return t!=null?kw(Sw(t)):null}function Ew(t){if(!t)return null;let i=t.filter(xw);return i.length==0?null:function(e){let n=Dw(e,i).map(Mw);return io(n).pipe(me(ww))}}function Jg(t){return t!=null?Ew(Sw(t)):null}function cw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Ow(t){return t._rawValidators}function Iw(t){return t._rawAsyncValidators}function qg(t){return t?Array.isArray(t)?t:[t]:[]}function Qu(t,i){return Array.isArray(t)?t.includes(i):t===i}function lw(t,i){let e=qg(i);return qg(t).forEach(r=>{Qu(e,r)||e.push(r)}),e}function dw(t,i){return qg(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=Xg(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Jg(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}},ri=class extends Ku{name;get formDirective(){return null}get path(){return null}},Fn=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}},NW={"[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"},d6e=Be(q({},NW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Zu{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(k(Fn,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(ri,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 Md="VALID",qu="INVALID",Wl="PENDING",wd="DISABLED",ns=class{},Xu=class extends ns{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Sd=class extends ns{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},kd=class extends ns{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},ql=class extends ns{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Ju=class extends ns{source;constructor(i){super(),this.source=i}},em=class extends ns{source;constructor(i){super(),this.source=i}};function e5(t){return(rm(t)?t.validators:t)||null}function FW(t){return Array.isArray(t)?Xg(t):t||null}function t5(t,i){return(rm(i)?i.asyncValidators:t)||null}function BW(t){return Array.isArray(t)?Jg(t):t||null}function rm(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Pw(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 Tw(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new Ce(1002,"")})}var Yl=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=Hn(void 0);get valid(){return this.status===Md}get invalid(){return this.status===qu}get pending(){return this.status==Wl}get disabled(){return this.status===wd}get enabled(){return this.status!==wd}errors;get pristine(){return ir(this.pristineReactive)}set pristine(i){ir(()=>this.pristineReactive.set(i))}_pristine=Zr(()=>this.pristineReactive());pristineReactive=Hn(!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=Hn(!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(lw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(lw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(dw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(dw(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 kd(!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 kd(!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 Sd(!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 Sd(!0,n))}markAsPending(i={}){this.status=Wl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new ql(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=wd,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 ql(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=Md,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===Md||this.status===Wl)&&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 ql(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()?wd:Md}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Wl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=Mw(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 ql(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?wd:this.errors?qu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wl)?Wl:this._anyControlsHaveStatus(qu)?qu:Md}_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 Sd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new kd(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=FW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=BW(this._rawAsyncValidators)}},ac=class extends Yl{constructor(i,e,n){super(e5(e),t5(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={}){Tw(this,!0,i),Object.keys(i).forEach(n=>{Pw(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 Aw=ac;var Yg=class extends ac{};var Ql=new A("",{providedIn:"root",factory:()=>am}),am="always";function om(t,i){return[...i.path,t]}function Ed(t,i,e=am){n5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),UW(t,i),GW(t,i),$W(t,i),jW(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 jW(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function n5(t,i){let e=Ow(t);i.validator!==null?t.setValidators(cw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Iw(t);i.asyncValidator!==null?t.setAsyncValidators(cw(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=Ow(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=Iw(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 UW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Vw(t,i)})}function $W(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Vw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function Vw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GW(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Lw(t,i){t==null,n5(t,i)}function WW(t,i){return im(t,i)}function i5(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)===gw}function Rw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function r5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ai?e=a:qW(a)?n=a:r=a}),r||n||e||null}function YW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var QW={provide:ri,useExisting:wt(()=>Kl)},Dd=Promise.resolve(),Kl=(()=>{class t extends ri{callSetDisabledState;get submitted(){return ir(this.submittedReactive)}_submitted=Zr(()=>this.submittedReactive());submittedReactive=Hn(!1);_directives=new Set;form;ngSubmit=new j;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new ac({},Xg(e),Jg(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Dd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Ed(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Dd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Dd.then(()=>{let n=this._findContainer(e.path),r=new ac({});Lw(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Dd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Dd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Rw(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(oi,10),k(oc,10),k(Ql,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([QW]),ce]})}return t})();function uw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function mw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ts=class extends Yl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(e5(e),t5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rm(e)&&(e.nonNullable||e.initialValueIsDefault)&&(mw(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){uw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){uw(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){mw(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=ts,KW=t=>t instanceof ts,ZW=(()=>{class t extends ri{_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 XW={provide:Fn,useExisting:wt(()=>JW)},pw=Promise.resolve(),JW=(()=>{class t extends Fn{_changeDetectorRef;callSetDisabledState;control=new ts;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=r5(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),i5(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(){Ed(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){pw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);pw.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(ri,9),k(oi,10),k(oc,10),k(Qn,10),k(be,8),k(Ql,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([XW]),ce,Pe]})}return t})();var is=(()=>{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})(),eq={provide:Qn,useExisting:wt(()=>tq),multi:!0},tq=(()=>{class t extends gw{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([eq]),ce]})}return t})();var a5=new A(""),nq={provide:Fn,useExisting:wt(()=>mi)},mi=(()=>{class t extends Fn{_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=r5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&tm(n,this,!1),Ed(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}i5(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(oi,10),k(oc,10),k(Qn,10),k(a5,8),k(Ql,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([nq]),ce,Pe]})}return t})(),iq={provide:ri,useExisting:wt(()=>Kn)},Kn=(()=>{class t extends ri{callSetDisabledState;get submitted(){return ir(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Zr(()=>this._submittedReactive());_submittedReactive=Hn(!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 Ed(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),YW(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),Rw(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),KW(r)&&(Ed(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Lw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&WW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){n5(this.form,this),this._oldForm&&im(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(k(oi,10),k(oc,10),k(Ql,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([iq]),ce,Pe]})}return t})(),rq={provide:ri,useExisting:wt(()=>zw)},zw=(()=>{class t extends ZW{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Nw(this._parent)}static \u0275fac=function(n){return new(n||t)(k(ri,13),k(oi,10),k(oc,10))};static \u0275dir=V({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ue([rq]),ce]})}return t})(),aq={provide:ri,useExisting:wt(()=>Hw)},Hw=(()=>{class t extends ri{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Nw(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(ri,13),k(oi,10),k(oc,10))};static \u0275dir=V({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ue([aq]),ce]})}return t})();function Nw(t){return!(t instanceof zw)&&!(t instanceof Kn)&&!(t instanceof Hw)}var oq={provide:Fn,useExisting:wt(()=>Cr)},Cr=(()=>{class t extends Fn{_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=r5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),i5(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(ri,13),k(oi,10),k(oc,10),k(Qn,10),k(a5,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([oq]),ce,Pe]})}return t})();function Fw(t){return typeof t=="number"?t:parseInt(t,10)}function Bw(t){return typeof t=="number"?t:parseFloat(t)}var Od=(()=>{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})(),sq={provide:oi,useExisting:wt(()=>cq),multi:!0},cq=(()=>{class t extends Od{max;inputName="max";normalizeInput=e=>Bw(e);createValidator=e=>vw(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([sq]),ce]})}return t})(),lq={provide:oi,useExisting:wt(()=>dq),multi:!0},dq=(()=>{class t extends Od{min;inputName="min";normalizeInput=e=>Bw(e);createValidator=e=>_w(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([lq]),ce]})}return t})(),uq={provide:oi,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Od{required;inputName="required";normalizeInput=B;createValidator=e=>bw;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([uq]),ce]})}return t})();var mq={provide:oi,useExisting:wt(()=>pq),multi:!0},pq=(()=>{class t extends Od{minlength;inputName="minlength";normalizeInput=e=>Fw(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:[["","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([mq]),ce]})}return t})(),fq={provide:oi,useExisting:wt(()=>hq),multi:!0},hq=(()=>{class t extends Od{maxlength;inputName="maxlength";normalizeInput=e=>Fw(e);createValidator=e=>Cw(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([fq]),ce]})}return t})();var jw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Qg=class extends Yl{constructor(i,e,n){super(e5(e),t5(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={}){Tw(this,!1,i),i.forEach((n,r)=>{Pw(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 fw(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var gq=(()=>{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 fw(n)?a=n:n!==null&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new ac(r,a)}record(e,n=null){let r=this._reduceControls(e);return new Yg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(fw(n)?a=n:(a.validators=n,a.asyncValidators=r),new ts(e,Be(q({},a),{nonNullable:!0}))):new ts(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Qg(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 ts)return e;if(e instanceof Yl)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 rs=(()=>{class t extends gq{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 Uw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ql,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[jw]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:a5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ql,useValue:e.callSetDisabledState??am}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[jw]})}return t})();var $w=(()=>{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 xu(e,this.locale,this.displaySymbol,this.currencyCode,this.digitsInfo)+this.sufix}static{this.\u0275fac=function(n){return new(n||t)(k(Oa),k(Y),k(Fn))}}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 g6e=(()=>{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(Fn),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 Gw=(()=>{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 Co(t){return t.buttons===0||t.detail===0}function xo(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 o5;function Ww(){if(o5==null){let t=typeof document<"u"?document.head:null;o5=!!(t&&(t.createShadowRoot||t.attachShadow))}return o5}function sc(t){if(Ww()){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 s5;try{s5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{s5=!1}var He=(()=>{class t{_platformId=u(qo);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||s5)&&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 Id;function qw(){if(Id==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Id=!0}))}finally{Id=Id||!1}return Id}function as(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 Yw=new A("cdk-input-modality-detector-options"),Qw={ignoreKeys:[18,17,224,91,16]},Kw=650,c5={passive:!0,capture:!0},Zw=(()=>{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(xo(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(Yw,{optional:!0});if(this._options=q(q({},Qw),r),this.modalityDetected=this._modality.pipe(Rs(1)),this.modalityChanged=this.modalityDetected.pipe(cl()),this._platform.isBrowser){let a=u(En).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Dt(a,n,"keydown",this._onKeydown,c5),Dt(a,n,"mousedown",this._onMousedown,c5),Dt(a,n,"touchstart",this._onTouchstart,c5)])}}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})(),Pd=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Pd||{}),Xw=new A("cdk-focus-monitor-default-options"),cm=as({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(Zw);_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(Xw,{optional:!0});this._detectionMode=e?.detectionMode||Pd.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=sc(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===Pd.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===Pd.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Kw: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(su(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 os(t){return Array.isArray(t)?t:[t]}var Jw=new Set,cc,tD=(()=>{class t{_platform=u(He);_nonce=u(B1,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):vq}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&_q(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 _q(t,i){if(!Jw.has(t))try{cc||(cc=document.createElement("style"),i&&cc.setAttribute("nonce",i),cc.setAttribute("type","text/css"),document.head.appendChild(cc)),cc.sheet&&(cc.sheet.insertRule(`@media ${t} {body{ }}`,0),Jw.add(t))}catch(e){console.error(e)}}function vq(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var lc=(()=>{class t{_mediaMatcher=u(tD);_zone=u(se);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return eD(os(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=eD(os(e)).map(o=>this._registerQuery(o).observable),a=ni(r);return a=gi(a.pipe(Le(1)),a.pipe(Rs(1),$r(0))),a.pipe(me(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),me(({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 eD(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function bq(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})(),iD=(()=>{class t{_mutationObserverFactory=u(nD);_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(me(s=>s.filter(d=>!bq(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})(),Ad=(()=>{class t{_contentObserver=u(iD);_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})(),Zl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[nD]})}return t})();var cs=(()=>{class t{_platform=u(He);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Cq(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=yq(Oq(e));if(n&&(rD(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=rD(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!kq(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 Eq(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 yq(t){try{return t.frameElement}catch{return null}}function Cq(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function xq(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function Mq(t){return Dq(t)&&t.type=="hidden"}function wq(t){return Sq(t)&&t.hasAttribute("href")}function Dq(t){return t.nodeName.toLowerCase()=="input"}function Sq(t){return t.nodeName.toLowerCase()=="a"}function sD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function rD(t){if(!sD(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function kq(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function Eq(t){return Mq(t)?!1:xq(t)||wq(t)||t.hasAttribute("contenteditable")||sD(t)}function Oq(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)}},Xl=(()=>{class t{_checker=u(cs);_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})(),d5=(()=>{class t{_elementRef=u(Y);_focusTrapFactory=u(Xl);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})(),cD=new A("liveAnnouncerElement",{providedIn:"root",factory:lD});function lD(){return null}var dD=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Iq=0,Vd=(()=>{class t{_ngZone=u(se);_defaultOptions=u(dD,{optional:!0});_liveElement;_document=u(De);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(cD,{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(lc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ss.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 ss.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ss.BLACK_ON_WHITE}return ss.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(l5,aD,oD),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===ss.BLACK_ON_WHITE?e.add(l5,aD):n===ss.WHITE_ON_BLACK&&e.add(l5,oD)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mo=(()=>{class t{constructor(){u(um)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Zl]})}return t})();var u5={},Fe=(()=>{class t{_appId=u(Js);getId(e){return this._appId!=="ng"&&(e+=this._appId),u5.hasOwnProperty(e)||(u5[e]=0),`${e}${u5[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Pq=200,Jl=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:Pq;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),me(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;nt[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var e2=class{_items;_activeItemIndex=-1;_activeItem=Hn(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())):Wo(i)&&(this._effectRef=Z1(()=>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 Jl(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 dc=class extends e2{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var aa=class extends e2{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};function uc(t){return Wn(t)?t:ie(t)}var m5=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()})):Wn(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 Jl(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()?uc(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=uc(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 Tq(){return(t,i)=>new m5(t,i)}var pD=new A("tree-key-manager",{providedIn:"root",factory:Tq});var hD=" ";function t2(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(hD)))}function ls(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(hD)):t.removeAttribute(i)}function hm(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var gD="cdk-describedby-message",fm="cdk-describedby-host",f5=0,n2=(()=>{class t{_platform=u(He);_document=u(De);_messageRegistry=new Map;_messagesContainer=null;_id=`${f5++}`;constructor(){u(Ze).load(ar),this._id=u(Js)+"-"+f5++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let a=p5(n,r);typeof n!="string"?(fD(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=p5(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(gD)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);t2(e,"aria-describedby",r.messageElement.id),e.setAttribute(fm,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,ls(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 p5(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function fD(t,i){t.id||(t.id=`${gD}-${i}-${f5++}`)}var Aq=["mat-internal-form-field",""],Vq=["*"],i2=(()=>{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:Aq,ngContentSelectors:Vq,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,mc;function _m(){if(mc==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return mc=!1,mc;if("scrollBehavior"in document.documentElement.style)mc=!0;else{let t=Element.prototype.scrollTo;t?mc=!/\{\s*\[native code\]\s*\}/.test(t.toString()):mc=!1}}return mc}function r2(){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 h5(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var a2,_D=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function g5(){if(a2)return a2;if(typeof document!="object"||!document)return a2=new Set(_D),a2;let t=document.createElement("input");return a2=new Set(_D.filter(i=>(t.setAttribute("type",i),t.type===i))),a2}function en(t){return t!=null&&`${t}`!="false"}function Rn(t){return t==null?"":typeof t=="string"?t:`${t}px`}function vD(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||{}),_5=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)}},bD=as({passive:!0,capture:!0}),v5=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,bD)})}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,bD)))}_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))})}},zd={enterDuration:225,exitDuration:150},Lq=800,yD=as({passive:!0,capture:!0}),CD=["mousedown","touchstart"],xD=["mouseup","mouseleave","touchend","touchcancel"],Rq=(()=>{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/collaterals.module-3FOY3GZ5.js b/browser/collaterals.module-4E4LNVBH.js similarity index 99% rename from browser/collaterals.module-3FOY3GZ5.js rename to browser/collaterals.module-4E4LNVBH.js index c91e90e93..8fcc2bdea 100644 --- a/browser/collaterals.module-3FOY3GZ5.js +++ b/browser/collaterals.module-4E4LNVBH.js @@ -1,4 +1,4 @@ -import{$c as rt,$e as gt,Aa as T,Ba as K,Dc as N,Fb as X,G as E,H as y,Ib as Y,Id as ft,J as w,Jc as tt,Kd as xt,La as t,Ma as c,Na as h,Nc as et,Nd as ht,O as Q,Oa as b,Oc as it,P as z,Pc as at,Qc as nt,Rd as bt,Rf as Rt,Uf as Pt,Va as B,Vc as lt,Ya as m,Yc as ot,Za as p,_b as F,_e as vt,af as _t,bc as O,bg as Tt,cc as V,cd as mt,cf as St,df as Dt,ea as o,ec as U,ff as It,gd as pt,gf as Mt,hc as L,ia as f,ib as W,id as A,if as Et,ja as R,jd as j,jf as yt,ka as P,lf as wt,md as H,na as d,od as st,pa as C,sd as ct,ta as i,td as dt,ua as a,uc as Z,va as u,wa as D,wb as g,wg as Bt,xa as I,xd as ut,za as J,zd as Ct}from"./chunk-KNBKN23P.js";import"./chunk-PHUH23IY.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{$c as rt,$e as gt,Aa as T,Ba as K,Dc as N,Fb as X,G as E,H as y,Ib as Y,Id as ft,J as w,Jc as tt,Kd as xt,La as t,Ma as c,Na as h,Nc as et,Nd as ht,O as Q,Oa as b,Oc as it,P as z,Pc as at,Qc as nt,Rd as bt,Rf as Rt,Uf as Pt,Va as B,Vc as lt,Ya as m,Yc as ot,Za as p,_b as F,_e as vt,af as _t,bc as O,bg as Tt,cc as V,cd as mt,cf as St,df as Dt,ea as o,ec as U,ff as It,gd as pt,gf as Mt,hc as L,ia as f,ib as W,id as A,if as Et,ja as R,jd as j,jf as yt,ka as P,lf as wt,md as H,na as d,od as st,pa as C,sd as ct,ta as i,td as dt,ua as a,uc as Z,va as u,wa as D,wb as g,wg as Bt,xa as I,xd as ut,za as J,zd as Ct}from"./chunk-WHSQ4B3J.js";import"./chunk-PHUH23IY.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-H2PVZBMM.js b/browser/fixed-deposits.module-YXPBUQ5M.js similarity index 99% rename from browser/fixed-deposits.module-H2PVZBMM.js rename to browser/fixed-deposits.module-YXPBUQ5M.js index dfb882208..3a182b3eb 100644 --- a/browser/fixed-deposits.module-H2PVZBMM.js +++ b/browser/fixed-deposits.module-YXPBUQ5M.js @@ -1,4 +1,4 @@ -import{a as di}from"./chunk-NS5D25XZ.js";import{a as Fn,b as wn}from"./chunk-XNOZJBD6.js";import{a as mi}from"./chunk-6MNBF3XI.js";import{$b as zn,$c as pt,$d as xe,$e as Bt,Aa as b,Ad as At,Ba as C,Cd as Ot,Dc as E,Ea as ft,Ed as St,Fb as de,Fd as Pt,G as Gt,Gd as Mt,H as $e,Ha as _t,Hd as We,He as Qn,Ia as Ct,Ib as Hn,Ic as J,Id as yt,J as Lt,Ja as ht,Jc as H,Jd as It,Ka as R,Kd as ue,La as t,Lf as ei,Ma as u,N as te,Na as f,Nc as it,Nd as st,O as P,Oa as S,Oc as V,P as M,Pa as se,Pc as X,Qb as Ee,Qc as at,Qd as De,Qe as Yn,Qf as ni,Rb as Fe,Rd as ke,Re as Jn,Rf as fe,Sf as ii,Tb as ce,Tc as Q,Tf as ai,Ub as le,Ue as Xe,Uf as oi,V as Le,Va as k,Vb as we,Vc as ot,Vd as Ne,Ve as Ze,Wa as Ge,Wc as Kt,We as tn,Xc as Ln,Xe as en,Ya as r,Yc as rt,Yd as Ke,Ye as re,Yf as $t,Za as c,Zd as Qe,Ze as Qt,_a as F,_b as N,_d as Ye,_e as wt,aa as qn,ab as et,af as Rt,bb as jn,bc as $,bg as ri,cc as Y,cd as dt,cf as kt,cg as nn,dc as $n,df as Nt,dg as Ve,ea as o,ec as En,ee as Je,ff as Vt,gb as Oe,gc as Be,gd as ct,gf as qt,gg as pi,hb as vt,hc as B,ia as _,ib as w,id as y,if as jt,ja as A,jb as ye,jd as G,jf as Ht,ka as Ue,kd as Un,ld as Gn,lf as zt,lg as ci,md as ut,na as m,ng as li,oa as Ae,od as Dt,of as be,pa as d,pd as Wn,qb as Ie,rd as Kn,sc as ee,sd as Z,ta as n,tc as Re,td as xt,tf as Xn,ua as i,uc as Wt,uf as Zn,va as g,vb as me,vc as ne,vf as ti,vg as an,wa as v,wb as O,wc as ie,wd as bt,wg as si,xa as D,xc as ae,xd as tt,yc as oe,yd as Ft,za as I,zd as lt}from"./chunk-KNBKN23P.js";import{a as j,b as K}from"./chunk-PHUH23IY.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-35VW23QL.js";import{a as Fn,b as wn}from"./chunk-G6MYJCVK.js";import{a as mi}from"./chunk-N7YZBXCR.js";import{$b as zn,$c as pt,$d as xe,$e as Bt,Aa as b,Ad as At,Ba as C,Cd as Ot,Dc as E,Ea as ft,Ed as St,Fb as de,Fd as Pt,G as Gt,Gd as Mt,H as $e,Ha as _t,Hd as We,He as Qn,Ia as Ct,Ib as Hn,Ic as J,Id as yt,J as Lt,Ja as ht,Jc as H,Jd as It,Ka as R,Kd as ue,La as t,Lf as ei,Ma as u,N as te,Na as f,Nc as it,Nd as st,O as P,Oa as S,Oc as V,P as M,Pa as se,Pc as X,Qb as Ee,Qc as at,Qd as De,Qe as Yn,Qf as ni,Rb as Fe,Rd as ke,Re as Jn,Rf as fe,Sf as ii,Tb as ce,Tc as Q,Tf as ai,Ub as le,Ue as Xe,Uf as oi,V as Le,Va as k,Vb as we,Vc as ot,Vd as Ne,Ve as Ze,Wa as Ge,Wc as Kt,We as tn,Xc as Ln,Xe as en,Ya as r,Yc as rt,Yd as Ke,Ye as re,Yf as $t,Za as c,Zd as Qe,Ze as Qt,_a as F,_b as N,_d as Ye,_e as wt,aa as qn,ab as et,af as Rt,bb as jn,bc as $,bg as ri,cc as Y,cd as dt,cf as kt,cg as nn,dc as $n,df as Nt,dg as Ve,ea as o,ec as En,ee as Je,ff as Vt,gb as Oe,gc as Be,gd as ct,gf as qt,gg as pi,hb as vt,hc as B,ia as _,ib as w,id as y,if as jt,ja as A,jb as ye,jd as G,jf as Ht,ka as Ue,kd as Un,ld as Gn,lf as zt,lg as ci,md as ut,na as m,ng as li,oa as Ae,od as Dt,of as be,pa as d,pd as Wn,qb as Ie,rd as Kn,sc as ee,sd as Z,ta as n,tc as Re,td as xt,tf as Xn,ua as i,uc as Wt,uf as Zn,va as g,vb as me,vc as ne,vf as ti,vg as an,wa as v,wb as O,wc as ie,wd as bt,wg as si,xa as D,xc as ae,xd as tt,yc as oe,yd as Ft,za as I,zd as lt}from"./chunk-WHSQ4B3J.js";import{a as j,b as K}from"./chunk-PHUH23IY.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-NS5D25XZ.js";import{a as Fn,b as wn}from"./chunk-XNO `,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-CJKGI73B.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-7AHJLNZZ.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 a24818185..b258c3b9c 100644 --- a/browser/index.html +++ b/browser/index.html @@ -57,5 +57,5 @@
- + diff --git a/browser/loans.module-CW2OMYJ3.js b/browser/loans.module-DXM4EDOQ.js similarity index 99% rename from browser/loans.module-CW2OMYJ3.js rename to browser/loans.module-DXM4EDOQ.js index 1c63ee1e7..78330fb58 100644 --- a/browser/loans.module-CW2OMYJ3.js +++ b/browser/loans.module-DXM4EDOQ.js @@ -1,4 +1,4 @@ -import{a as v1}from"./chunk-UP7UUV62.js";import{a as Jf,b as jr,c as qr,d as Nc,e as kc}from"./chunk-2UVI3SVG.js";import{a as Fc,b as dd,c as b1,d as C1}from"./chunk-QFLVIZA5.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as _1}from"./chunk-6MNBF3XI.js";import{$a as kf,$b as jf,$c as Oe,$d as Ii,$e as hn,$f as m1,Aa as nt,Ad as In,Ba as I,C as hc,Cc as ma,Cd as An,Dc as Pt,Ea as le,Ec as zf,Ed as Ze,Fa as Ff,Fc as Vf,Fd as Ke,G as an,Gd as Je,H as gc,Ha as si,Hc as Jl,Hd as wa,He as So,Ia as ci,Ic as ce,Id as On,J as sn,Ja as pi,Jc as ae,Jd as qa,Jf as o1,K as xc,Ka as Et,Kd as Se,Kf as r1,La as e,Lc as Uf,Lf as Va,M as Ef,Ma as C,Mf as l1,N as Lr,Na as y,Nb as Zl,Nc as be,Nd as cn,O as ct,Oa as $t,Oc as Gt,P as pt,Pa as Qs,Pc as me,Pd as Xf,Pf as s1,Qa as t0,Qc as Ie,Qd as fi,Qe as mo,Qf as Mc,Ra as e0,Rd as la,Re as Do,Rf as pn,Sa as n0,Sd as Qf,Se as Pc,Sf as Ec,Ta as i0,Tc as se,Tf as ns,U as _c,Uc as Hf,Ud as Cc,Ue as Xl,Uf as c1,V as Yl,Va as Ut,Vc as Le,Vd as qo,Ve as Ql,Vf as is,Wa as La,Wc as Ti,We as ts,Xc as jo,Xe as es,Xf as Tt,Ya as p,Yc as Ae,Yd as yc,Ye as uo,Za as u,Zd as Sc,Ze as za,Zf as p1,_ as Lf,_a as ze,_b as Ot,_d as Dc,_e as fn,aa as pd,ab as Ue,ad as Gf,af as gn,b as fc,ba as vc,bc as oe,bd as Wf,bf as Tc,bg as d1,c as Mf,cc as te,cd as ke,cf as xn,cg as sa,dc as qf,df as _n,dg as Pi,e as cd,ea as s,ec as md,ee as wc,ef as Ic,eg as a0,ff as vn,gb as pa,gc as ja,gd as Ce,gf as bn,gg as u1,ha as Nf,hb as on,hc as Wt,hd as $f,hf as Ac,hg as f1,ia as O,ib as Vt,id as Dt,ie as da,if as Cn,ja as yt,jd as fe,jf as yn,ka as bc,kd as Yf,kf as Oc,ld as Zf,lf as Sn,lg as h1,md as we,na as g,ng as g1,oa as ra,ob as Rf,od as Re,of as Mi,pa as h,pd as Kf,sc as Nr,sd as de,ta as r,tc as Fr,td as Be,tf as n1,ua as l,ub as Bf,uc as Wn,ue as t1,uf as i1,ug as Lc,va as P,vb as Da,vc as Kl,ve as e1,vf as a1,vg as Qi,wa as V,wb as St,wc as kr,wd as $e,wg as x1,xa as U,xc as Rr,xd as ue,yc as Br,yd as Vn,za as vt,zd as ye}from"./chunk-KNBKN23P.js";import{a as ne,b as ve,d as Of}from"./chunk-PHUH23IY.js";var Rc=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 gx=()=>["./general"],xx=()=>["./accountdetail"],_x=()=>["./repayment-schedule"],vx=()=>["./loan-documents"],bx=()=>["./original-schedule"],Cx=()=>["./transactions"],yx=()=>["./deferred-income"],Sx=()=>["./buy-down-fees"],Dx=()=>["./delinquencytags"],wx=()=>["./loan-collateral"],Px=()=>["./loan-tranche-details"],Tx=()=>["./term-variations"],Ix=()=>["./overdue-charges"],Ax=()=>["./floating-interest-rates"],Ox=()=>["./charges"],Mx=()=>["./loan-reschedules"],Ex=()=>["./notes"],Lx=()=>["./standing-instruction"],Nx=()=>["./external-asset-owner"],Fx=t=>["./datatables",t];function kx(t,i){if(t&1&&(r(0,"tr"),e(1,` +import{a as v1}from"./chunk-QILNDM3U.js";import{a as Jf,b as jr,c as qr,d as Nc,e as kc}from"./chunk-IVYMMRJ6.js";import{a as Fc,b as dd,c as b1,d as C1}from"./chunk-TMNFWWYQ.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as _1}from"./chunk-N7YZBXCR.js";import{$a as kf,$b as jf,$c as Oe,$d as Ii,$e as hn,$f as m1,Aa as nt,Ad as In,Ba as I,C as hc,Cc as ma,Cd as An,Dc as Pt,Ea as le,Ec as zf,Ed as Ze,Fa as Ff,Fc as Vf,Fd as Ke,G as an,Gd as Je,H as gc,Ha as si,Hc as Jl,Hd as wa,He as So,Ia as ci,Ic as ce,Id as On,J as sn,Ja as pi,Jc as ae,Jd as qa,Jf as o1,K as xc,Ka as Et,Kd as Se,Kf as r1,La as e,Lc as Uf,Lf as Va,M as Ef,Ma as C,Mf as l1,N as Lr,Na as y,Nb as Zl,Nc as be,Nd as cn,O as ct,Oa as $t,Oc as Gt,P as pt,Pa as Qs,Pc as me,Pd as Xf,Pf as s1,Qa as t0,Qc as Ie,Qd as fi,Qe as mo,Qf as Mc,Ra as e0,Rd as la,Re as Do,Rf as pn,Sa as n0,Sd as Qf,Se as Pc,Sf as Ec,Ta as i0,Tc as se,Tf as ns,U as _c,Uc as Hf,Ud as Cc,Ue as Xl,Uf as c1,V as Yl,Va as Ut,Vc as Le,Vd as qo,Ve as Ql,Vf as is,Wa as La,Wc as Ti,We as ts,Xc as jo,Xe as es,Xf as Tt,Ya as p,Yc as Ae,Yd as yc,Ye as uo,Za as u,Zd as Sc,Ze as za,Zf as p1,_ as Lf,_a as ze,_b as Ot,_d as Dc,_e as fn,aa as pd,ab as Ue,ad as Gf,af as gn,b as fc,ba as vc,bc as oe,bd as Wf,bf as Tc,bg as d1,c as Mf,cc as te,cd as ke,cf as xn,cg as sa,dc as qf,df as _n,dg as Pi,e as cd,ea as s,ec as md,ee as wc,ef as Ic,eg as a0,ff as vn,gb as pa,gc as ja,gd as Ce,gf as bn,gg as u1,ha as Nf,hb as on,hc as Wt,hd as $f,hf as Ac,hg as f1,ia as O,ib as Vt,id as Dt,ie as da,if as Cn,ja as yt,jd as fe,jf as yn,ka as bc,kd as Yf,kf as Oc,ld as Zf,lf as Sn,lg as h1,md as we,na as g,ng as g1,oa as ra,ob as Rf,od as Re,of as Mi,pa as h,pd as Kf,sc as Nr,sd as de,ta as r,tc as Fr,td as Be,tf as n1,ua as l,ub as Bf,uc as Wn,ue as t1,uf as i1,ug as Lc,va as P,vb as Da,vc as Kl,ve as e1,vf as a1,vg as Qi,wa as V,wb as St,wc as kr,wd as $e,wg as x1,xa as U,xc as Rr,xd as ue,yc as Br,yd as Vn,za as vt,zd as ye}from"./chunk-WHSQ4B3J.js";import{a as ne,b as ve,d as Of}from"./chunk-PHUH23IY.js";var Rc=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 gx=()=>["./general"],xx=()=>["./accountdetail"],_x=()=>["./repayment-schedule"],vx=()=>["./loan-documents"],bx=()=>["./original-schedule"],Cx=()=>["./transactions"],yx=()=>["./deferred-income"],Sx=()=>["./buy-down-fees"],Dx=()=>["./delinquencytags"],wx=()=>["./loan-collateral"],Px=()=>["./loan-tranche-details"],Tx=()=>["./term-variations"],Ix=()=>["./overdue-charges"],Ax=()=>["./floating-interest-rates"],Ox=()=>["./charges"],Mx=()=>["./loan-reschedules"],Ex=()=>["./notes"],Lx=()=>["./standing-instruction"],Nx=()=>["./external-asset-owner"],Fx=t=>["./datatables",t];function kx(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,` @@ -6186,7 +6186,7 @@ end`};i.events.push(["putFont",function(c){(function(d){var m=d.font,x=d.out,v=d `),g(7,eF,34,3,"table",1),e(8,` `),l(),e(9,` -`)),a&2&&(s(3),$t("",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,Pt,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Uu=(()=>{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(Tt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Hu=(()=>{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 fc(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Tt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var nF=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:dm,resolve:{loansAccountTemplate:Eu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Bc,resolve:{loanDetailsData:Jr,loanDatatables:ym,loanArrearsDelinquencyConfig:Pg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:jc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Jr,loanDatatables:ym}},{path:"accountdetail",component:qc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Tp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Yo,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:Pp},{path:"export",component:vm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Uu},children:[{path:"",component:Og}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:ju,loanDelinquencyData:zu,loanDelinquencyActions:Ag},children:[{path:"",component:Pm}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:wg},children:[{path:"",component:Tm}]},{path:"loan-collateral",component:pm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Ig}},{path:"term-variations",component:Om,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Jr,interestPausesData:Vu}},{path:"loan-tranche-details",component:cm,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Ip,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:sm,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:Ap},{path:"loan-documents",component:um,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Lu}},{path:"notes",component:zc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Au}},{path:"standing-instruction",component:fm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:Am,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:Tg,loanTransfersData:qu}},{path:"datatables",children:[{path:":datatableName",component:Op,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Ou}}]},{path:"buy-down-fees",component:Dg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Hu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Jr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:gm,resolve:{loansAccountTransaction:Nu}},{path:"edit",component:xm,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:ku}},{path:"reciept",component:_m,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Fu}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:Sm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:hm,resolve:{loansAccountCharge:Dm,loanDetailsData:Jr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Im,resolve:{loansAccountCharge:Dm,loanDetailsData:Jr}}]},{path:":loanId/actions/:action",component:lm,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:Mu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-CJKGI73B.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:Sm}}]},{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:Cm,resolve:{loansAccountTemplate:Bu,groupsData:C1}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:bm,resolve:{glimData:Ru,groupsData:dd}}]}],Mg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=bc({type:t})}static{this.\u0275inj=gc({providers:[Jr,Au,ym,Ou,ju,Mu,Eu,Lu,Sm,Dm,Nu,ku,Fu,v1,dd,Ru,b1,Bu,qu,zu,Vu,Uu,Hu],imports:[md.forChild(nF),md]})}}return t})();var Eg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(O(kc))}}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),$t("",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,Pt,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Uu=(()=>{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(Tt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Hu=(()=>{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 fc(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Tt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var nF=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:dm,resolve:{loansAccountTemplate:Eu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Bc,resolve:{loanDetailsData:Jr,loanDatatables:ym,loanArrearsDelinquencyConfig:Pg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:jc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Jr,loanDatatables:ym}},{path:"accountdetail",component:qc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Tp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Yo,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:Pp},{path:"export",component:vm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Uu},children:[{path:"",component:Og}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:ju,loanDelinquencyData:zu,loanDelinquencyActions:Ag},children:[{path:"",component:Pm}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:wg},children:[{path:"",component:Tm}]},{path:"loan-collateral",component:pm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Ig}},{path:"term-variations",component:Om,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Jr,interestPausesData:Vu}},{path:"loan-tranche-details",component:cm,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Ip,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:sm,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:Ap},{path:"loan-documents",component:um,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Lu}},{path:"notes",component:zc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Au}},{path:"standing-instruction",component:fm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:Am,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:Tg,loanTransfersData:qu}},{path:"datatables",children:[{path:":datatableName",component:Op,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Ou}}]},{path:"buy-down-fees",component:Dg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Hu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Jr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:gm,resolve:{loansAccountTransaction:Nu}},{path:"edit",component:xm,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:ku}},{path:"reciept",component:_m,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Fu}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:Sm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:hm,resolve:{loansAccountCharge:Dm,loanDetailsData:Jr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Im,resolve:{loansAccountCharge:Dm,loanDetailsData:Jr}}]},{path:":loanId/actions/:action",component:lm,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:Mu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-7AHJLNZZ.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:Sm}}]},{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:Cm,resolve:{loansAccountTemplate:Bu,groupsData:C1}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:bm,resolve:{glimData:Ru,groupsData:dd}}]}],Mg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=bc({type:t})}static{this.\u0275inj=gc({providers:[Jr,Au,ym,Ou,ju,Mu,Eu,Lu,Sm,Dm,Nu,ku,Fu,v1,dd,Ru,b1,Bu,qu,zu,Vu,Uu,Hu],imports:[md.forChild(nF),md]})}}return t})();var Eg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(O(kc))}}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 34b2f5e95..721def35a 100644 --- a/browser/main.js +++ b/browser/main.js @@ -1,4 +1,4 @@ -import{a as pA,b as yr,c as cg,d as ri,e as UA}from"./chunk-2UVI3SVG.js";import{a as go,b as Yw,c as Jw,d as Sf}from"./chunk-QFLVIZA5.js";import{$ as T9,$a as Oo,$b as ur,$c as Xt,$d as oi,$e as ge,$f as qA,A as El,Aa as k,Ab as G9,Ac as eA,Ad as ue,Ae as u0,Af as Nd,B as vf,Ba as P,Bb as Bx,Bc as iA,Bd as Eo,Be as Bo,Bf as tg,C as Ul,Ca as F9,Cb as Nx,Cc as bi,Cd as he,Ce as No,Cf as kA,D as Ba,Da as k9,Db as U9,Dc as ut,Dd as lr,De as al,Df as eg,E as ja,Ea as Rt,Ec as Fp,Ed as si,Ee as La,Ef as Ld,F as S9,Fa as Dp,Fb as pn,Fc as gn,Fd as pi,Fe as jp,Ff as Vd,G as At,Ga as Td,Gb as $w,Gc as nA,Gd as ci,Ge as xr,Gf as RA,H as zi,Ha as wt,Hb as $9,Hc as il,Hd as di,He as Ae,Hf as BA,I as Ed,Ia as Ct,Ib as za,Ic as Ke,Id as wi,Ie as SA,If as ig,J as Ft,Ja as yt,Jb as Ap,Jc as Me,Jd as ki,Je as Rd,Jf as NA,Ka as gt,Kb as W9,Kc as yf,Kd as Yt,Ke as fs,Kf as LA,L as w9,La as t,Lb as Q9,Lc as tr,Ld as sA,Le as co,Lf as Lr,Ma as g,Mb as Y9,Mc as aA,Md as cA,Me as mo,Mf as hs,N as Za,Na as b,Nb as s0,Nc as oe,Nd as Dt,Ne as wA,Nf as f0,O as N,Oa as rt,Ob as Oa,Oc as lt,Od as Qx,Oe as PA,Of as ng,P as L,Pa as or,Pb as qs,Pc as zt,Pe as EA,Pf as ol,Q as cr,Qa as R9,Qb as Ao,Qc as Jt,Qd as an,Qe as zp,Qf as Xn,R as P9,Ra as G0,Rb as wo,Rc as js,Rd as gi,Re as Te,Rf as kn,S as Ix,Sa as U0,Sb as J9,Sd as Fd,Se as ai,Sf as Sa,T as H0,Ta as $0,Tb as $a,Tc as ee,Td as Bp,Te as IA,Tf as _a,Ua as Ax,Ub as io,Uc as kp,Ud as ti,Ue as gr,Uf as Cr,V as vi,Va as it,Vb as Po,Vc as Zt,Vd as Bi,Ve as _r,Vf as Oi,W as Sm,Wa as Re,Wb as Pm,Wc as mn,Wd as Yx,We as vr,Wf as Rn,X as bf,Xa as oo,Xb as Lx,Xc as yn,Xd as Jx,Xe as br,Xf as VA,Y as E9,Ya as c,Yb as Cf,Yc as Kt,Yd as c0,Ye as Ki,Z as Uw,Za as m,Zb as Vx,Zc as fr,Zd as m0,Ze as qi,Zf as ag,_ as I9,_a as Oe,_b as Pt,_c as Qr,_d as d0,_e as xe,_f as rg,a as xf,aa as Tx,ab as $e,ac as qx,ad as rA,ae as mA,af as _e,ag as og,b as gf,ba as Mx,bb as Ze,bc as Lt,bd as Rp,be as dA,bg as Lo,c as Uo,ca as M9,cb as ds,cc as It,cd as me,ce as uA,cf as ve,cg as xo,d as $r,da as Id,db as B9,dc as Wr,dd as Wx,de as kd,df as be,dg as _n,e as d9,ea as s,eb as N9,ec as Cn,ed as Yr,ee as ir,eg as Gi,f as u9,fa as D9,fb as Md,fc as jx,fd as oA,fe as Kx,ff as Ce,fg as jA,g as f9,ga as O9,gb as ga,gc as Si,gd as te,ge as fA,gf as ye,gg as Vo,h as _f,ha as Dx,hb as Ut,hc as _t,hd as p0,he as hA,i as Cm,ia as O,ib as Et,ic as zx,id as dt,ie as Fo,if as Se,ig as zA,j as h9,ja as pt,jb as Br,jc as Ww,jd as Ht,je as Xx,jf as we,jg as $i,k as An,ka as Hi,kb as Nr,kc as K9,kd as er,ke as xA,kg as lg,l as x9,la as wm,lb as L9,lc as X9,ld as nl,le as gA,lf as Pe,lg as h0,m as g9,ma as Ox,mb as us,mc as Qw,md as Qt,me as _A,mf as TA,mg as HA,n as Pd,na as h,nb as V9,nc as Hx,nd as Tl,ne as vA,nf as MA,o as ym,oa as jn,ob as lo,oc as Gx,od as Ie,oe as bA,of as Ge,og as sg,p as _9,pa as f,pb as Fx,pc as Z9,pd as hr,pe as CA,pf as DA,pg as sr,q as Pl,qa as Mp,qb as Dd,qc as tA,qd as lA,qe as zs,qf as OA,qg as xs,r as z0,ra as ms,rb as kx,rc as Ux,rd as Od,re as Np,rf as rl,rg as Fa,s as Ex,sa as A9,sb as q9,sc as ra,sd as Ot,se as Lp,sf as $o,sg as gs,t as Va,ta as o,tb as Rx,tc as Aa,td as de,te as yA,tf as uo,tg as pg,u as v9,ua as l,ub as Op,uc as Ve,ud as Jr,ue as so,uf as fo,ug as GA,v as qa,va as y,vb as j9,vc as Jn,vd as Ad,ve as po,vf as ho,w as l0,wa as $,wb as mt,wc as Kn,wd as ni,we as Vp,wf as AA,wg as pa,x as b9,xa as W,xb as z9,xc as ya,xd as Mt,xe as qp,xf as FA,y as C9,ya as Il,yb as $l,yc as zn,yd as Hn,ye as ko,yf as Zx,z as y9,za as Y,zb as H9,zc as $x,zd as Nt,ze as Ro,zf as Bd}from"./chunk-KNBKN23P.js";import{a as ae,b as Le,c as Ls,d as c9,e as pe,f as Hw,g as Vs,h as Zn,i as Gw,j as m9,k as Px}from"./chunk-PHUH23IY.js";var Am=pe((Ud,Af)=>{(function(){var e,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",p="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",u=500,x="__lodash_placeholder__",_=1,v=2,C=4,S=1,E=2,w=1,I=2,T=4,A=8,V=16,G=32,J=64,at=128,X=256,nt=512,ot=30,ht="...",ct=800,z=16,U=1,st=2,M=3,F=1/0,B=9007199254740991,R=17976931348623157e292,j=NaN,H=4294967295,et=H-1,vt=H>>>1,bt=[["ary",at],["bind",w],["bindKey",I],["curry",A],["curryRight",V],["flip",nt],["partial",G],["partialRight",J],["rearg",X]],kt="[object Arguments]",Z="[object Array]",Tt="[object AsyncFunction]",K="[object Boolean]",Q="[object Date]",xt="[object DOMException]",Bt="[object Error]",ce="[object Function]",Wt="[object GeneratorFunction]",ne="[object Map]",Ue="[object Number]",qe="[object Null]",$t="[object Object]",Ne="[object Promise]",Fe="[object Proxy]",He="[object RegExp]",Qe="[object Set]",Xe="[object String]",ei="[object Symbol]",Mi="[object Undefined]",Ai="[object WeakMap]",Ni="[object WeakSet]",un="[object ArrayBuffer]",Ui="[object DataView]",Zi="[object Float32Array]",na="[object Float64Array]",vn="[object Int8Array]",nn="[object Int16Array]",bn="[object Int32Array]",ji="[object Uint8Array]",Li="[object Uint8ClampedArray]",ta="[object Uint16Array]",dn="[object Uint32Array]",En=/\b__p \+= '';/g,Ll=/\b(__p \+=) '' \+/g,wn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Mn=/&(?:amp|lt|gt|quot|#39);/g,qr=/[&<>"']/g,Un=RegExp(Mn.source),$n=RegExp(qr.source),cl=/<%-([\s\S]+?)%>/g,Fn=/<%([\s\S]+?)%>/g,Dn=/<%=([\s\S]+?)%>/g,vo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gn=/^\w*$/,On=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ml=/[\\^$.*+?()[\]{}|]/g,Wn=RegExp(ml.source),ke=/^\s+/,mi=/\s/,hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ma=/,? & /,Ji=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cn=/[()=,{}\[\]\/\s]/,Wa=/\\(\\)?/g,In=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ln=/\w*$/,Ga=/^[-+]0x[0-9a-f]+$/i,fa=/^0b[01]+$/i,ha=/^\[object .+?Constructor\]$/,Ja=/^0o[0-7]+$/i,Fr=/^(?:0|[1-9]\d*)$/,ao=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bo=/($^)/,Zr=/['\n\r\u2028\u2029\\]/g,ro="\\ud800-\\udfff",fe="\\u0300-\\u036f",ii="\\ufe20-\\ufe2f",Ei="\\u20d0-\\u20ff",_i=fe+ii+Ei,Vi="\\u2700-\\u27bf",fn="a-z\\xdf-\\xf6\\xf8-\\xff",xn="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qn="\\u2000-\\u206f",Bn=" \\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",Yn="A-Z\\xc0-\\xd6\\xd8-\\xde",Er="\\ufe0e\\ufe0f",kr=xn+va+Qn+Bn,ka="['\u2019]",Ka="["+ro+"]",Co="["+kr+"]",Ho="["+_i+"]",dl="\\d+",es="["+Vi+"]",e0="["+fn+"]",sm="[^"+ro+kr+dl+Vi+fn+Yn+"]",i0="\\ud83c[\\udffb-\\udfff]",Na="(?:"+Ho+"|"+i0+")",Ua="[^"+ro+"]",pm="(?:\\ud83c[\\udde6-\\uddff]){2}",Os="[\\ud800-\\udbff][\\udc00-\\udfff]",As="["+Yn+"]",Zo="\\u200d",is="(?:"+e0+"|"+sm+")",n0="(?:"+As+"|"+sm+")",_p="(?:"+ka+"(?:d|ll|m|re|s|t|ve))?",cm="(?:"+ka+"(?:D|LL|M|RE|S|T|VE))?",A0=Na+"?",Fs="["+Er+"]?",Lh="(?:"+Zo+"(?:"+[Ua,pm,Os].join("|")+")"+Fs+A0+")*",pd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",mm=Fs+A0+Lh,cd="(?:"+[es,pm,Os].join("|")+")"+mm,Vh="(?:"+[Ua+Ho+"?",Ho,pm,Os,Ka].join("|")+")",md=RegExp(ka,"g"),dd=RegExp(Ho,"g"),N5=RegExp(i0+"(?="+i0+")|"+Vh+mm,"g"),FZ=RegExp([As+"?"+e0+"+"+_p+"(?="+[Co,As,"$"].join("|")+")",n0+"+"+cm+"(?="+[Co,As+is,"$"].join("|")+")",As+"?"+is+"+"+_p,As+"+"+cm,Zu,pd,dl,cd].join("|"),"g"),kZ=RegExp("["+Zo+ro+_i+Er+"]"),RZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,BZ=["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"],NZ=-1,Ir={};Ir[Zi]=Ir[na]=Ir[vn]=Ir[nn]=Ir[bn]=Ir[ji]=Ir[Li]=Ir[ta]=Ir[dn]=!0,Ir[kt]=Ir[Z]=Ir[un]=Ir[K]=Ir[Ui]=Ir[Q]=Ir[Bt]=Ir[ce]=Ir[ne]=Ir[Ue]=Ir[$t]=Ir[He]=Ir[Qe]=Ir[Xe]=Ir[Ai]=!1;var dr={};dr[kt]=dr[Z]=dr[un]=dr[Ui]=dr[K]=dr[Q]=dr[Zi]=dr[na]=dr[vn]=dr[nn]=dr[bn]=dr[ne]=dr[Ue]=dr[$t]=dr[He]=dr[Qe]=dr[Xe]=dr[ei]=dr[ji]=dr[Li]=dr[ta]=dr[dn]=!0,dr[Bt]=dr[ce]=dr[Ai]=!1;var LZ={\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"},VZ={"&":"&","<":"<",">":">",'"':""","'":"'"},qZ={"&":"&","<":"<",">":">",""":'"',"'":"'"},jZ={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zZ=parseFloat,HZ=parseInt,n8=typeof global=="object"&&global&&global.Object===Object&&global,GZ=typeof self=="object"&&self&&self.Object===Object&&self,Mo=n8||GZ||Function("return this")(),L5=typeof Ud=="object"&&Ud&&!Ud.nodeType&&Ud,dm=L5&&typeof Af=="object"&&Af&&!Af.nodeType&&Af,a8=dm&&dm.exports===L5,V5=a8&&n8.process,ns=function(){try{var We=dm&&dm.require&&dm.require("util").types;return We||V5&&V5.binding&&V5.binding("util")}catch{}}(),r8=ns&&ns.isArrayBuffer,o8=ns&&ns.isDate,l8=ns&&ns.isMap,s8=ns&&ns.isRegExp,p8=ns&&ns.isSet,c8=ns&&ns.isTypedArray;function Vl(We,yi,ui){switch(ui.length){case 0:return We.call(yi);case 1:return We.call(yi,ui[0]);case 2:return We.call(yi,ui[0],ui[1]);case 3:return We.call(yi,ui[0],ui[1],ui[2])}return We.apply(yi,ui)}function UZ(We,yi,ui,hn){for(var aa=-1,Qa=We==null?0:We.length;++aa-1}function q5(We,yi,ui){for(var hn=-1,aa=We==null?0:We.length;++hn-1;);return ui}function _8(We,yi){for(var ui=We.length;ui--&&ud(yi,We[ui],0)>-1;);return ui}function ttt(We,yi){for(var ui=We.length,hn=0;ui--;)We[ui]===yi&&++hn;return hn}var ett=G5(LZ),itt=G5(VZ);function ntt(We){return"\\"+jZ[We]}function att(We,yi){return We==null?e:We[yi]}function fd(We){return kZ.test(We)}function rtt(We){return RZ.test(We)}function ott(We){for(var yi,ui=[];!(yi=We.next()).done;)ui.push(yi.value);return ui}function Q5(We){var yi=-1,ui=Array(We.size);return We.forEach(function(hn,aa){ui[++yi]=[aa,hn]}),ui}function v8(We,yi){return function(ui){return We(yi(ui))}}function Cp(We,yi){for(var ui=-1,hn=We.length,aa=0,Qa=[];++ui-1}function Wtt(D,q){var tt=this.__data__,St=nx(tt,D);return St<0?(++this.size,tt.push([D,q])):tt[St][1]=q,this}F0.prototype.clear=Htt,F0.prototype.delete=Gtt,F0.prototype.get=Utt,F0.prototype.has=$tt,F0.prototype.set=Wtt;function k0(D){var q=-1,tt=D==null?0:D.length;for(this.clear();++q=q?D:q)),D}function ls(D,q,tt,St,Vt,le){var De,ze=q&_,Je=q&v,Ii=q&C;if(tt&&(De=Vt?tt(D,St,Vt,le):tt(D)),De!==e)return De;if(!jr(D))return D;var Di=sa(D);if(Di){if(De=Zet(D),!ze)return Cl(D,De)}else{var Ri=el(D),rn=Ri==ce||Ri==Wt;if(Tp(D))return eO(D,ze);if(Ri==$t||Ri==kt||rn&&!Vt){if(De=Je||rn?{}:bO(D),!ze)return Je?zet(D,cet(De,D)):jet(D,O8(De,D))}else{if(!dr[Ri])return Vt?D:{};De=tit(D,Ri,ze)}}le||(le=new Rs);var Sn=le.get(D);if(Sn)return Sn;le.set(D,De),YO(D)?D.forEach(function(qn){De.add(ls(qn,q,tt,qn,D,le))}):WO(D)&&D.forEach(function(qn,Ia){De.set(Ia,ls(qn,q,tt,Ia,D,le))});var Vn=Ii?Je?bw:vw:Je?Sl:Do,xa=Di?e:Vn(D);return as(xa||D,function(qn,Ia){xa&&(Ia=qn,qn=D[Ia]),lf(De,Ia,ls(qn,q,tt,Ia,D,le))}),De}function met(D){var q=Do(D);return function(tt){return A8(tt,D,q)}}function A8(D,q,tt){var St=tt.length;if(D==null)return!St;for(D=pr(D);St--;){var Vt=tt[St],le=q[Vt],De=D[Vt];if(De===e&&!(Vt in D)||!le(De))return!1}return!0}function F8(D,q,tt){if(typeof D!="function")throw new rs(n);return ff(function(){D.apply(e,tt)},q)}function sf(D,q,tt,St){var Vt=-1,le=qh,De=!0,ze=D.length,Je=[],Ii=q.length;if(!ze)return Je;tt&&(q=Rr(q,ql(tt))),St?(le=q5,De=!1):q.length>=i&&(le=tf,De=!1,q=new hm(q));t:for(;++VtVt?0:Vt+tt),St=St===e||St>Vt?Vt:ua(St),St<0&&(St+=Vt),St=tt>St?0:KO(St);tt0&&tt(ze)?q>1?Go(ze,q-1,tt,St,Vt):bp(Vt,ze):St||(Vt[Vt.length]=ze)}return Vt}var ew=lO(),B8=lO(!0);function a0(D,q){return D&&ew(D,q,Do)}function iw(D,q){return D&&B8(D,q,Do)}function rx(D,q){return vp(q,function(tt){return V0(D[tt])})}function gm(D,q){q=Ep(q,D);for(var tt=0,St=q.length;D!=null&&ttq}function fet(D,q){return D!=null&&rr.call(D,q)}function het(D,q){return D!=null&&q in pr(D)}function xet(D,q,tt){return D>=tl(q,tt)&&D=120&&Di.length>=120)?new hm(De&&Di):e}Di=D[0];var Ri=-1,rn=ze[0];t:for(;++Ri-1;)ze!==D&&Jh.call(ze,Je,1),Jh.call(D,Je,1);return D}function W8(D,q){for(var tt=D?q.length:0,St=tt-1;tt--;){var Vt=q[tt];if(tt==St||Vt!==le){var le=Vt;L0(Vt)?Jh.call(D,Vt,1):dw(D,Vt)}}return D}function pw(D,q){return D+Zh(I8()*(q-D+1))}function Det(D,q,tt,St){for(var Vt=-1,le=So(Xh((q-D)/(tt||1)),0),De=ui(le);le--;)De[St?le:++Vt]=D,D+=tt;return De}function cw(D,q){var tt="";if(!D||q<1||q>B)return tt;do q%2&&(tt+=D),q=Zh(q/2),q&&(D+=D);while(q);return tt}function ba(D,q){return Iw(SO(D,q,wl),D+"")}function Oet(D){return D8(wd(D))}function Aet(D,q){var tt=wd(D);return xx(tt,xm(q,0,tt.length))}function mf(D,q,tt,St){if(!jr(D))return D;q=Ep(q,D);for(var Vt=-1,le=q.length,De=le-1,ze=D;ze!=null&&++VtVt?0:Vt+q),tt=tt>Vt?Vt:tt,tt<0&&(tt+=Vt),Vt=q>tt?0:tt-q>>>0,q>>>=0;for(var le=ui(Vt);++St>>1,De=D[le];De!==null&&!zl(De)&&(tt?De<=q:De=i){var Ii=q?null:$et(D);if(Ii)return zh(Ii);De=!1,Vt=tf,Je=new hm}else Je=q?[]:ze;t:for(;++St=St?D:ss(D,q,tt)}var tO=Ctt||function(D){return Mo.clearTimeout(D)};function eO(D,q){if(q)return D.slice();var tt=D.length,St=y8?y8(tt):new D.constructor(tt);return D.copy(St),St}function xw(D){var q=new D.constructor(D.byteLength);return new Qh(q).set(new Qh(D)),q}function Net(D,q){var tt=q?xw(D.buffer):D.buffer;return new D.constructor(tt,D.byteOffset,D.byteLength)}function Let(D){var q=new D.constructor(D.source,ln.exec(D));return q.lastIndex=D.lastIndex,q}function Vet(D){return of?pr(of.call(D)):{}}function iO(D,q){var tt=q?xw(D.buffer):D.buffer;return new D.constructor(tt,D.byteOffset,D.length)}function nO(D,q){if(D!==q){var tt=D!==e,St=D===null,Vt=D===D,le=zl(D),De=q!==e,ze=q===null,Je=q===q,Ii=zl(q);if(!ze&&!Ii&&!le&&D>q||le&&De&&Je&&!ze&&!Ii||St&&De&&Je||!tt&&Je||!Vt)return 1;if(!St&&!le&&!Ii&&D=ze)return Je;var Ii=tt[St];return Je*(Ii=="desc"?-1:1)}}return D.index-q.index}function aO(D,q,tt,St){for(var Vt=-1,le=D.length,De=tt.length,ze=-1,Je=q.length,Ii=So(le-De,0),Di=ui(Je+Ii),Ri=!St;++ze1?tt[Vt-1]:e,De=Vt>2?tt[2]:e;for(le=D.length>3&&typeof le=="function"?(Vt--,le):e,De&&fl(tt[0],tt[1],De)&&(le=Vt<3?e:le,Vt=1),q=pr(q);++St-1?Vt[le?q[De]:De]:e}}function cO(D){return N0(function(q){var tt=q.length,St=tt,Vt=os.prototype.thru;for(D&&q.reverse();St--;){var le=q[St];if(typeof le!="function")throw new rs(n);if(Vt&&!De&&fx(le)=="wrapper")var De=new os([],!0)}for(St=De?St:tt;++St1&&Ra.reverse(),Di&&Jeze))return!1;var Ii=le.get(D),Di=le.get(q);if(Ii&&Di)return Ii==q&&Di==D;var Ri=-1,rn=!0,Sn=tt&E?new hm:e;for(le.set(D,q),le.set(q,D);++Ri1?"& ":"")+q[St],q=q.join(tt>2?", ":" "),D.replace(hi,`{ +import{a as pA,b as yr,c as cg,d as ri,e as UA}from"./chunk-IVYMMRJ6.js";import{a as go,b as Yw,c as Jw,d as Sf}from"./chunk-TMNFWWYQ.js";import{$ as T9,$a as Oo,$b as ur,$c as Xt,$d as oi,$e as ge,$f as qA,A as El,Aa as k,Ab as G9,Ac as eA,Ad as ue,Ae as u0,Af as Nd,B as vf,Ba as P,Bb as Bx,Bc as iA,Bd as Eo,Be as Bo,Bf as tg,C as Ul,Ca as F9,Cb as Nx,Cc as bi,Cd as he,Ce as No,Cf as kA,D as Ba,Da as k9,Db as U9,Dc as ut,Dd as lr,De as al,Df as eg,E as ja,Ea as Rt,Ec as Fp,Ed as si,Ee as La,Ef as Ld,F as S9,Fa as Dp,Fb as pn,Fc as gn,Fd as pi,Fe as jp,Ff as Vd,G as At,Ga as Td,Gb as $w,Gc as nA,Gd as ci,Ge as xr,Gf as RA,H as zi,Ha as wt,Hb as $9,Hc as il,Hd as di,He as Ae,Hf as BA,I as Ed,Ia as Ct,Ib as za,Ic as Ke,Id as wi,Ie as SA,If as ig,J as Ft,Ja as yt,Jb as Ap,Jc as Me,Jd as ki,Je as Rd,Jf as NA,Ka as gt,Kb as W9,Kc as yf,Kd as Yt,Ke as fs,Kf as LA,L as w9,La as t,Lb as Q9,Lc as tr,Ld as sA,Le as co,Lf as Lr,Ma as g,Mb as Y9,Mc as aA,Md as cA,Me as mo,Mf as hs,N as Za,Na as b,Nb as s0,Nc as oe,Nd as Dt,Ne as wA,Nf as f0,O as N,Oa as rt,Ob as Oa,Oc as lt,Od as Qx,Oe as PA,Of as ng,P as L,Pa as or,Pb as qs,Pc as zt,Pe as EA,Pf as ol,Q as cr,Qa as R9,Qb as Ao,Qc as Jt,Qd as an,Qe as zp,Qf as Xn,R as P9,Ra as G0,Rb as wo,Rc as js,Rd as gi,Re as Te,Rf as kn,S as Ix,Sa as U0,Sb as J9,Sd as Fd,Se as ai,Sf as Sa,T as H0,Ta as $0,Tb as $a,Tc as ee,Td as Bp,Te as IA,Tf as _a,Ua as Ax,Ub as io,Uc as kp,Ud as ti,Ue as gr,Uf as Cr,V as vi,Va as it,Vb as Po,Vc as Zt,Vd as Bi,Ve as _r,Vf as Oi,W as Sm,Wa as Re,Wb as Pm,Wc as mn,Wd as Yx,We as vr,Wf as Rn,X as bf,Xa as oo,Xb as Lx,Xc as yn,Xd as Jx,Xe as br,Xf as VA,Y as E9,Ya as c,Yb as Cf,Yc as Kt,Yd as c0,Ye as Ki,Z as Uw,Za as m,Zb as Vx,Zc as fr,Zd as m0,Ze as qi,Zf as ag,_ as I9,_a as Oe,_b as Pt,_c as Qr,_d as d0,_e as xe,_f as rg,a as xf,aa as Tx,ab as $e,ac as qx,ad as rA,ae as mA,af as _e,ag as og,b as gf,ba as Mx,bb as Ze,bc as Lt,bd as Rp,be as dA,bg as Lo,c as Uo,ca as M9,cb as ds,cc as It,cd as me,ce as uA,cf as ve,cg as xo,d as $r,da as Id,db as B9,dc as Wr,dd as Wx,de as kd,df as be,dg as _n,e as d9,ea as s,eb as N9,ec as Cn,ed as Yr,ee as ir,eg as Gi,f as u9,fa as D9,fb as Md,fc as jx,fd as oA,fe as Kx,ff as Ce,fg as jA,g as f9,ga as O9,gb as ga,gc as Si,gd as te,ge as fA,gf as ye,gg as Vo,h as _f,ha as Dx,hb as Ut,hc as _t,hd as p0,he as hA,i as Cm,ia as O,ib as Et,ic as zx,id as dt,ie as Fo,if as Se,ig as zA,j as h9,ja as pt,jb as Br,jc as Ww,jd as Ht,je as Xx,jf as we,jg as $i,k as An,ka as Hi,kb as Nr,kc as K9,kd as er,ke as xA,kg as lg,l as x9,la as wm,lb as L9,lc as X9,ld as nl,le as gA,lf as Pe,lg as h0,m as g9,ma as Ox,mb as us,mc as Qw,md as Qt,me as _A,mf as TA,mg as HA,n as Pd,na as h,nb as V9,nc as Hx,nd as Tl,ne as vA,nf as MA,o as ym,oa as jn,ob as lo,oc as Gx,od as Ie,oe as bA,of as Ge,og as sg,p as _9,pa as f,pb as Fx,pc as Z9,pd as hr,pe as CA,pf as DA,pg as sr,q as Pl,qa as Mp,qb as Dd,qc as tA,qd as lA,qe as zs,qf as OA,qg as xs,r as z0,ra as ms,rb as kx,rc as Ux,rd as Od,re as Np,rf as rl,rg as Fa,s as Ex,sa as A9,sb as q9,sc as ra,sd as Ot,se as Lp,sf as $o,sg as gs,t as Va,ta as o,tb as Rx,tc as Aa,td as de,te as yA,tf as uo,tg as pg,u as v9,ua as l,ub as Op,uc as Ve,ud as Jr,ue as so,uf as fo,ug as GA,v as qa,va as y,vb as j9,vc as Jn,vd as Ad,ve as po,vf as ho,w as l0,wa as $,wb as mt,wc as Kn,wd as ni,we as Vp,wf as AA,wg as pa,x as b9,xa as W,xb as z9,xc as ya,xd as Mt,xe as qp,xf as FA,y as C9,ya as Il,yb as $l,yc as zn,yd as Hn,ye as ko,yf as Zx,z as y9,za as Y,zb as H9,zc as $x,zd as Nt,ze as Ro,zf as Bd}from"./chunk-WHSQ4B3J.js";import{a as ae,b as Le,c as Ls,d as c9,e as pe,f as Hw,g as Vs,h as Zn,i as Gw,j as m9,k as Px}from"./chunk-PHUH23IY.js";var Am=pe((Ud,Af)=>{(function(){var e,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",p="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",u=500,x="__lodash_placeholder__",_=1,v=2,C=4,S=1,E=2,w=1,I=2,T=4,A=8,V=16,G=32,J=64,at=128,X=256,nt=512,ot=30,ht="...",ct=800,z=16,U=1,st=2,M=3,F=1/0,B=9007199254740991,R=17976931348623157e292,j=NaN,H=4294967295,et=H-1,vt=H>>>1,bt=[["ary",at],["bind",w],["bindKey",I],["curry",A],["curryRight",V],["flip",nt],["partial",G],["partialRight",J],["rearg",X]],kt="[object Arguments]",Z="[object Array]",Tt="[object AsyncFunction]",K="[object Boolean]",Q="[object Date]",xt="[object DOMException]",Bt="[object Error]",ce="[object Function]",Wt="[object GeneratorFunction]",ne="[object Map]",Ue="[object Number]",qe="[object Null]",$t="[object Object]",Ne="[object Promise]",Fe="[object Proxy]",He="[object RegExp]",Qe="[object Set]",Xe="[object String]",ei="[object Symbol]",Mi="[object Undefined]",Ai="[object WeakMap]",Ni="[object WeakSet]",un="[object ArrayBuffer]",Ui="[object DataView]",Zi="[object Float32Array]",na="[object Float64Array]",vn="[object Int8Array]",nn="[object Int16Array]",bn="[object Int32Array]",ji="[object Uint8Array]",Li="[object Uint8ClampedArray]",ta="[object Uint16Array]",dn="[object Uint32Array]",En=/\b__p \+= '';/g,Ll=/\b(__p \+=) '' \+/g,wn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Mn=/&(?:amp|lt|gt|quot|#39);/g,qr=/[&<>"']/g,Un=RegExp(Mn.source),$n=RegExp(qr.source),cl=/<%-([\s\S]+?)%>/g,Fn=/<%([\s\S]+?)%>/g,Dn=/<%=([\s\S]+?)%>/g,vo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gn=/^\w*$/,On=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ml=/[\\^$.*+?()[\]{}|]/g,Wn=RegExp(ml.source),ke=/^\s+/,mi=/\s/,hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ma=/,? & /,Ji=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cn=/[()=,{}\[\]\/\s]/,Wa=/\\(\\)?/g,In=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ln=/\w*$/,Ga=/^[-+]0x[0-9a-f]+$/i,fa=/^0b[01]+$/i,ha=/^\[object .+?Constructor\]$/,Ja=/^0o[0-7]+$/i,Fr=/^(?:0|[1-9]\d*)$/,ao=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bo=/($^)/,Zr=/['\n\r\u2028\u2029\\]/g,ro="\\ud800-\\udfff",fe="\\u0300-\\u036f",ii="\\ufe20-\\ufe2f",Ei="\\u20d0-\\u20ff",_i=fe+ii+Ei,Vi="\\u2700-\\u27bf",fn="a-z\\xdf-\\xf6\\xf8-\\xff",xn="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qn="\\u2000-\\u206f",Bn=" \\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",Yn="A-Z\\xc0-\\xd6\\xd8-\\xde",Er="\\ufe0e\\ufe0f",kr=xn+va+Qn+Bn,ka="['\u2019]",Ka="["+ro+"]",Co="["+kr+"]",Ho="["+_i+"]",dl="\\d+",es="["+Vi+"]",e0="["+fn+"]",sm="[^"+ro+kr+dl+Vi+fn+Yn+"]",i0="\\ud83c[\\udffb-\\udfff]",Na="(?:"+Ho+"|"+i0+")",Ua="[^"+ro+"]",pm="(?:\\ud83c[\\udde6-\\uddff]){2}",Os="[\\ud800-\\udbff][\\udc00-\\udfff]",As="["+Yn+"]",Zo="\\u200d",is="(?:"+e0+"|"+sm+")",n0="(?:"+As+"|"+sm+")",_p="(?:"+ka+"(?:d|ll|m|re|s|t|ve))?",cm="(?:"+ka+"(?:D|LL|M|RE|S|T|VE))?",A0=Na+"?",Fs="["+Er+"]?",Lh="(?:"+Zo+"(?:"+[Ua,pm,Os].join("|")+")"+Fs+A0+")*",pd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",mm=Fs+A0+Lh,cd="(?:"+[es,pm,Os].join("|")+")"+mm,Vh="(?:"+[Ua+Ho+"?",Ho,pm,Os,Ka].join("|")+")",md=RegExp(ka,"g"),dd=RegExp(Ho,"g"),N5=RegExp(i0+"(?="+i0+")|"+Vh+mm,"g"),FZ=RegExp([As+"?"+e0+"+"+_p+"(?="+[Co,As,"$"].join("|")+")",n0+"+"+cm+"(?="+[Co,As+is,"$"].join("|")+")",As+"?"+is+"+"+_p,As+"+"+cm,Zu,pd,dl,cd].join("|"),"g"),kZ=RegExp("["+Zo+ro+_i+Er+"]"),RZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,BZ=["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"],NZ=-1,Ir={};Ir[Zi]=Ir[na]=Ir[vn]=Ir[nn]=Ir[bn]=Ir[ji]=Ir[Li]=Ir[ta]=Ir[dn]=!0,Ir[kt]=Ir[Z]=Ir[un]=Ir[K]=Ir[Ui]=Ir[Q]=Ir[Bt]=Ir[ce]=Ir[ne]=Ir[Ue]=Ir[$t]=Ir[He]=Ir[Qe]=Ir[Xe]=Ir[Ai]=!1;var dr={};dr[kt]=dr[Z]=dr[un]=dr[Ui]=dr[K]=dr[Q]=dr[Zi]=dr[na]=dr[vn]=dr[nn]=dr[bn]=dr[ne]=dr[Ue]=dr[$t]=dr[He]=dr[Qe]=dr[Xe]=dr[ei]=dr[ji]=dr[Li]=dr[ta]=dr[dn]=!0,dr[Bt]=dr[ce]=dr[Ai]=!1;var LZ={\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"},VZ={"&":"&","<":"<",">":">",'"':""","'":"'"},qZ={"&":"&","<":"<",">":">",""":'"',"'":"'"},jZ={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zZ=parseFloat,HZ=parseInt,n8=typeof global=="object"&&global&&global.Object===Object&&global,GZ=typeof self=="object"&&self&&self.Object===Object&&self,Mo=n8||GZ||Function("return this")(),L5=typeof Ud=="object"&&Ud&&!Ud.nodeType&&Ud,dm=L5&&typeof Af=="object"&&Af&&!Af.nodeType&&Af,a8=dm&&dm.exports===L5,V5=a8&&n8.process,ns=function(){try{var We=dm&&dm.require&&dm.require("util").types;return We||V5&&V5.binding&&V5.binding("util")}catch{}}(),r8=ns&&ns.isArrayBuffer,o8=ns&&ns.isDate,l8=ns&&ns.isMap,s8=ns&&ns.isRegExp,p8=ns&&ns.isSet,c8=ns&&ns.isTypedArray;function Vl(We,yi,ui){switch(ui.length){case 0:return We.call(yi);case 1:return We.call(yi,ui[0]);case 2:return We.call(yi,ui[0],ui[1]);case 3:return We.call(yi,ui[0],ui[1],ui[2])}return We.apply(yi,ui)}function UZ(We,yi,ui,hn){for(var aa=-1,Qa=We==null?0:We.length;++aa-1}function q5(We,yi,ui){for(var hn=-1,aa=We==null?0:We.length;++hn-1;);return ui}function _8(We,yi){for(var ui=We.length;ui--&&ud(yi,We[ui],0)>-1;);return ui}function ttt(We,yi){for(var ui=We.length,hn=0;ui--;)We[ui]===yi&&++hn;return hn}var ett=G5(LZ),itt=G5(VZ);function ntt(We){return"\\"+jZ[We]}function att(We,yi){return We==null?e:We[yi]}function fd(We){return kZ.test(We)}function rtt(We){return RZ.test(We)}function ott(We){for(var yi,ui=[];!(yi=We.next()).done;)ui.push(yi.value);return ui}function Q5(We){var yi=-1,ui=Array(We.size);return We.forEach(function(hn,aa){ui[++yi]=[aa,hn]}),ui}function v8(We,yi){return function(ui){return We(yi(ui))}}function Cp(We,yi){for(var ui=-1,hn=We.length,aa=0,Qa=[];++ui-1}function Wtt(D,q){var tt=this.__data__,St=nx(tt,D);return St<0?(++this.size,tt.push([D,q])):tt[St][1]=q,this}F0.prototype.clear=Htt,F0.prototype.delete=Gtt,F0.prototype.get=Utt,F0.prototype.has=$tt,F0.prototype.set=Wtt;function k0(D){var q=-1,tt=D==null?0:D.length;for(this.clear();++q=q?D:q)),D}function ls(D,q,tt,St,Vt,le){var De,ze=q&_,Je=q&v,Ii=q&C;if(tt&&(De=Vt?tt(D,St,Vt,le):tt(D)),De!==e)return De;if(!jr(D))return D;var Di=sa(D);if(Di){if(De=Zet(D),!ze)return Cl(D,De)}else{var Ri=el(D),rn=Ri==ce||Ri==Wt;if(Tp(D))return eO(D,ze);if(Ri==$t||Ri==kt||rn&&!Vt){if(De=Je||rn?{}:bO(D),!ze)return Je?zet(D,cet(De,D)):jet(D,O8(De,D))}else{if(!dr[Ri])return Vt?D:{};De=tit(D,Ri,ze)}}le||(le=new Rs);var Sn=le.get(D);if(Sn)return Sn;le.set(D,De),YO(D)?D.forEach(function(qn){De.add(ls(qn,q,tt,qn,D,le))}):WO(D)&&D.forEach(function(qn,Ia){De.set(Ia,ls(qn,q,tt,Ia,D,le))});var Vn=Ii?Je?bw:vw:Je?Sl:Do,xa=Di?e:Vn(D);return as(xa||D,function(qn,Ia){xa&&(Ia=qn,qn=D[Ia]),lf(De,Ia,ls(qn,q,tt,Ia,D,le))}),De}function met(D){var q=Do(D);return function(tt){return A8(tt,D,q)}}function A8(D,q,tt){var St=tt.length;if(D==null)return!St;for(D=pr(D);St--;){var Vt=tt[St],le=q[Vt],De=D[Vt];if(De===e&&!(Vt in D)||!le(De))return!1}return!0}function F8(D,q,tt){if(typeof D!="function")throw new rs(n);return ff(function(){D.apply(e,tt)},q)}function sf(D,q,tt,St){var Vt=-1,le=qh,De=!0,ze=D.length,Je=[],Ii=q.length;if(!ze)return Je;tt&&(q=Rr(q,ql(tt))),St?(le=q5,De=!1):q.length>=i&&(le=tf,De=!1,q=new hm(q));t:for(;++VtVt?0:Vt+tt),St=St===e||St>Vt?Vt:ua(St),St<0&&(St+=Vt),St=tt>St?0:KO(St);tt0&&tt(ze)?q>1?Go(ze,q-1,tt,St,Vt):bp(Vt,ze):St||(Vt[Vt.length]=ze)}return Vt}var ew=lO(),B8=lO(!0);function a0(D,q){return D&&ew(D,q,Do)}function iw(D,q){return D&&B8(D,q,Do)}function rx(D,q){return vp(q,function(tt){return V0(D[tt])})}function gm(D,q){q=Ep(q,D);for(var tt=0,St=q.length;D!=null&&ttq}function fet(D,q){return D!=null&&rr.call(D,q)}function het(D,q){return D!=null&&q in pr(D)}function xet(D,q,tt){return D>=tl(q,tt)&&D=120&&Di.length>=120)?new hm(De&&Di):e}Di=D[0];var Ri=-1,rn=ze[0];t:for(;++Ri-1;)ze!==D&&Jh.call(ze,Je,1),Jh.call(D,Je,1);return D}function W8(D,q){for(var tt=D?q.length:0,St=tt-1;tt--;){var Vt=q[tt];if(tt==St||Vt!==le){var le=Vt;L0(Vt)?Jh.call(D,Vt,1):dw(D,Vt)}}return D}function pw(D,q){return D+Zh(I8()*(q-D+1))}function Det(D,q,tt,St){for(var Vt=-1,le=So(Xh((q-D)/(tt||1)),0),De=ui(le);le--;)De[St?le:++Vt]=D,D+=tt;return De}function cw(D,q){var tt="";if(!D||q<1||q>B)return tt;do q%2&&(tt+=D),q=Zh(q/2),q&&(D+=D);while(q);return tt}function ba(D,q){return Iw(SO(D,q,wl),D+"")}function Oet(D){return D8(wd(D))}function Aet(D,q){var tt=wd(D);return xx(tt,xm(q,0,tt.length))}function mf(D,q,tt,St){if(!jr(D))return D;q=Ep(q,D);for(var Vt=-1,le=q.length,De=le-1,ze=D;ze!=null&&++VtVt?0:Vt+q),tt=tt>Vt?Vt:tt,tt<0&&(tt+=Vt),Vt=q>tt?0:tt-q>>>0,q>>>=0;for(var le=ui(Vt);++St>>1,De=D[le];De!==null&&!zl(De)&&(tt?De<=q:De=i){var Ii=q?null:$et(D);if(Ii)return zh(Ii);De=!1,Vt=tf,Je=new hm}else Je=q?[]:ze;t:for(;++St=St?D:ss(D,q,tt)}var tO=Ctt||function(D){return Mo.clearTimeout(D)};function eO(D,q){if(q)return D.slice();var tt=D.length,St=y8?y8(tt):new D.constructor(tt);return D.copy(St),St}function xw(D){var q=new D.constructor(D.byteLength);return new Qh(q).set(new Qh(D)),q}function Net(D,q){var tt=q?xw(D.buffer):D.buffer;return new D.constructor(tt,D.byteOffset,D.byteLength)}function Let(D){var q=new D.constructor(D.source,ln.exec(D));return q.lastIndex=D.lastIndex,q}function Vet(D){return of?pr(of.call(D)):{}}function iO(D,q){var tt=q?xw(D.buffer):D.buffer;return new D.constructor(tt,D.byteOffset,D.length)}function nO(D,q){if(D!==q){var tt=D!==e,St=D===null,Vt=D===D,le=zl(D),De=q!==e,ze=q===null,Je=q===q,Ii=zl(q);if(!ze&&!Ii&&!le&&D>q||le&&De&&Je&&!ze&&!Ii||St&&De&&Je||!tt&&Je||!Vt)return 1;if(!St&&!le&&!Ii&&D=ze)return Je;var Ii=tt[St];return Je*(Ii=="desc"?-1:1)}}return D.index-q.index}function aO(D,q,tt,St){for(var Vt=-1,le=D.length,De=tt.length,ze=-1,Je=q.length,Ii=So(le-De,0),Di=ui(Je+Ii),Ri=!St;++ze1?tt[Vt-1]:e,De=Vt>2?tt[2]:e;for(le=D.length>3&&typeof le=="function"?(Vt--,le):e,De&&fl(tt[0],tt[1],De)&&(le=Vt<3?e:le,Vt=1),q=pr(q);++St-1?Vt[le?q[De]:De]:e}}function cO(D){return N0(function(q){var tt=q.length,St=tt,Vt=os.prototype.thru;for(D&&q.reverse();St--;){var le=q[St];if(typeof le!="function")throw new rs(n);if(Vt&&!De&&fx(le)=="wrapper")var De=new os([],!0)}for(St=De?St:tt;++St1&&Ra.reverse(),Di&&Jeze))return!1;var Ii=le.get(D),Di=le.get(q);if(Ii&&Di)return Ii==q&&Di==D;var Ri=-1,rn=!0,Sn=tt&E?new hm:e;for(le.set(D,q),le.set(q,D);++Ri1?"& ":"")+q[St],q=q.join(tt>2?", ":" "),D.replace(hi,`{ /* [wrapped with `+q+`] */ `)}function iit(D){return sa(D)||bm(D)||!!(P8&&D&&D[P8])}function L0(D,q){var tt=typeof D;return q=q??B,!!q&&(tt=="number"||tt!="symbol"&&Fr.test(D))&&D>-1&&D%1==0&&D0){if(++q>=ct)return arguments[0]}else q=0;return D.apply(e,arguments)}}function xx(D,q){var tt=-1,St=D.length,Vt=St-1;for(q=q===e?St:q;++tt1?D[q-1]:e;return tt=typeof tt=="function"?(D.pop(),tt):e,RO(D,tt)});function BO(D){var q=ie(D);return q.__chain__=!0,q}function unt(D,q){return q(D),D}function gx(D,q){return q(D)}var fnt=N0(function(D){var q=D.length,tt=q?D[0]:0,St=this.__wrapped__,Vt=function(le){return tw(le,D)};return q>1||this.__actions__.length||!(St instanceof Da)||!L0(tt)?this.thru(Vt):(St=St.slice(tt,+tt+(q?1:0)),St.__actions__.push({func:gx,args:[Vt],thisArg:e}),new os(St,this.__chain__).thru(function(le){return q&&!le.length&&le.push(e),le}))});function hnt(){return BO(this)}function xnt(){return new os(this.value(),this.__chain__)}function gnt(){this.__values__===e&&(this.__values__=JO(this.value()));var D=this.__index__>=this.__values__.length,q=D?e:this.__values__[this.__index__++];return{done:D,value:q}}function _nt(){return this}function vnt(D){for(var q,tt=this;tt instanceof ix;){var St=MO(tt);St.__index__=0,St.__values__=e,q?Vt.__wrapped__=St:q=St;var Vt=St;tt=tt.__wrapped__}return Vt.__wrapped__=D,q}function bnt(){var D=this.__wrapped__;if(D instanceof Da){var q=D;return this.__actions__.length&&(q=new Da(this)),q=q.reverse(),q.__actions__.push({func:gx,args:[Tw],thisArg:e}),new os(q,this.__chain__)}return this.thru(Tw)}function Cnt(){return X8(this.__wrapped__,this.__actions__)}var ynt=px(function(D,q,tt){rr.call(D,tt)?++D[tt]:R0(D,tt,1)});function Snt(D,q,tt){var St=sa(D)?m8:det;return tt&&fl(D,q,tt)&&(q=e),St(D,Nn(q,3))}function wnt(D,q){var tt=sa(D)?vp:R8;return tt(D,Nn(q,3))}var Pnt=pO(DO),Ent=pO(OO);function Int(D,q){return Go(_x(D,q),1)}function Tnt(D,q){return Go(_x(D,q),F)}function Mnt(D,q,tt){return tt=tt===e?1:ua(tt),Go(_x(D,q),tt)}function NO(D,q){var tt=sa(D)?as:wp;return tt(D,Nn(q,3))}function LO(D,q){var tt=sa(D)?$Z:k8;return tt(D,Nn(q,3))}var Dnt=px(function(D,q,tt){rr.call(D,tt)?D[tt].push(q):R0(D,tt,[q])});function Ont(D,q,tt,St){D=yl(D)?D:wd(D),tt=tt&&!St?ua(tt):0;var Vt=D.length;return tt<0&&(tt=So(Vt+tt,0)),Sx(D)?tt<=Vt&&D.indexOf(q,tt)>-1:!!Vt&&ud(D,q,tt)>-1}var Ant=ba(function(D,q,tt){var St=-1,Vt=typeof q=="function",le=yl(D)?ui(D.length):[];return wp(D,function(De){le[++St]=Vt?Vl(q,De,tt):pf(De,q,tt)}),le}),Fnt=px(function(D,q,tt){R0(D,tt,q)});function _x(D,q){var tt=sa(D)?Rr:j8;return tt(D,Nn(q,3))}function knt(D,q,tt,St){return D==null?[]:(sa(q)||(q=q==null?[]:[q]),tt=St?e:tt,sa(tt)||(tt=tt==null?[]:[tt]),U8(D,q,tt))}var Rnt=px(function(D,q,tt){D[tt?0:1].push(q)},function(){return[[],[]]});function Bnt(D,q,tt){var St=sa(D)?j5:h8,Vt=arguments.length<3;return St(D,Nn(q,4),tt,Vt,wp)}function Nnt(D,q,tt){var St=sa(D)?WZ:h8,Vt=arguments.length<3;return St(D,Nn(q,4),tt,Vt,k8)}function Lnt(D,q){var tt=sa(D)?vp:R8;return tt(D,Cx(Nn(q,3)))}function Vnt(D){var q=sa(D)?D8:Oet;return q(D)}function qnt(D,q,tt){(tt?fl(D,q,tt):q===e)?q=1:q=ua(q);var St=sa(D)?oet:Aet;return St(D,q)}function jnt(D){var q=sa(D)?set:ket;return q(D)}function znt(D){if(D==null)return 0;if(yl(D))return Sx(D)?hd(D):D.length;var q=el(D);return q==ne||q==Qe?D.size:ow(D).length}function Hnt(D,q,tt){var St=sa(D)?z5:Ret;return tt&&fl(D,q,tt)&&(q=e),St(D,Nn(q,3))}var Gnt=ba(function(D,q){if(D==null)return[];var tt=q.length;return tt>1&&fl(D,q[0],q[1])?q=[]:tt>2&&fl(q[0],q[1],q[2])&&(q=[q[0]]),U8(D,Go(q,1),[])}),vx=ytt||function(){return Mo.Date.now()};function Unt(D,q){if(typeof q!="function")throw new rs(n);return D=ua(D),function(){if(--D<1)return q.apply(this,arguments)}}function VO(D,q,tt){return q=tt?e:q,q=D&&q==null?D.length:q,B0(D,at,e,e,e,e,q)}function qO(D,q){var tt;if(typeof q!="function")throw new rs(n);return D=ua(D),function(){return--D>0&&(tt=q.apply(this,arguments)),D<=1&&(q=e),tt}}var Dw=ba(function(D,q,tt){var St=w;if(tt.length){var Vt=Cp(tt,yd(Dw));St|=G}return B0(D,St,q,tt,Vt)}),jO=ba(function(D,q,tt){var St=w|I;if(tt.length){var Vt=Cp(tt,yd(jO));St|=G}return B0(q,St,D,tt,Vt)});function zO(D,q,tt){q=tt?e:q;var St=B0(D,A,e,e,e,e,e,q);return St.placeholder=zO.placeholder,St}function HO(D,q,tt){q=tt?e:q;var St=B0(D,V,e,e,e,e,e,q);return St.placeholder=HO.placeholder,St}function GO(D,q,tt){var St,Vt,le,De,ze,Je,Ii=0,Di=!1,Ri=!1,rn=!0;if(typeof D!="function")throw new rs(n);q=cs(q)||0,jr(tt)&&(Di=!!tt.leading,Ri="maxWait"in tt,le=Ri?So(cs(tt.maxWait)||0,q):le,rn="trailing"in tt?!!tt.trailing:rn);function Sn(eo){var Ns=St,j0=Vt;return St=Vt=e,Ii=eo,De=D.apply(j0,Ns),De}function Vn(eo){return Ii=eo,ze=ff(Ia,q),Di?Sn(eo):De}function xa(eo){var Ns=eo-Je,j0=eo-Ii,p9=q-Ns;return Ri?tl(p9,le-j0):p9}function qn(eo){var Ns=eo-Je,j0=eo-Ii;return Je===e||Ns>=q||Ns<0||Ri&&j0>=le}function Ia(){var eo=vx();if(qn(eo))return Ra(eo);ze=ff(Ia,xa(eo))}function Ra(eo){return ze=e,rn&&St?Sn(eo):(St=Vt=e,De)}function Hl(){ze!==e&&tO(ze),Ii=0,St=Je=Vt=ze=e}function hl(){return ze===e?De:Ra(vx())}function Gl(){var eo=vx(),Ns=qn(eo);if(St=arguments,Vt=this,Je=eo,Ns){if(ze===e)return Vn(Je);if(Ri)return tO(ze),ze=ff(Ia,q),Sn(Je)}return ze===e&&(ze=ff(Ia,q)),De}return Gl.cancel=Hl,Gl.flush=hl,Gl}var $nt=ba(function(D,q){return F8(D,1,q)}),Wnt=ba(function(D,q,tt){return F8(D,cs(q)||0,tt)});function Qnt(D){return B0(D,nt)}function bx(D,q){if(typeof D!="function"||q!=null&&typeof q!="function")throw new rs(n);var tt=function(){var St=arguments,Vt=q?q.apply(this,St):St[0],le=tt.cache;if(le.has(Vt))return le.get(Vt);var De=D.apply(this,St);return tt.cache=le.set(Vt,De)||le,De};return tt.cache=new(bx.Cache||k0),tt}bx.Cache=k0;function Cx(D){if(typeof D!="function")throw new rs(n);return function(){var q=arguments;switch(q.length){case 0:return!D.call(this);case 1:return!D.call(this,q[0]);case 2:return!D.call(this,q[0],q[1]);case 3:return!D.call(this,q[0],q[1],q[2])}return!D.apply(this,q)}}function Ynt(D){return qO(2,D)}var Jnt=Bet(function(D,q){q=q.length==1&&sa(q[0])?Rr(q[0],ql(Nn())):Rr(Go(q,1),ql(Nn()));var tt=q.length;return ba(function(St){for(var Vt=-1,le=tl(St.length,tt);++Vt=q}),bm=L8(function(){return arguments}())?L8:function(D){return Ur(D)&&rr.call(D,"callee")&&!w8.call(D,"callee")},sa=ui.isArray,mat=r8?ql(r8):_et;function yl(D){return D!=null&&yx(D.length)&&!V0(D)}function to(D){return Ur(D)&&yl(D)}function dat(D){return D===!0||D===!1||Ur(D)&&ul(D)==K}var Tp=wtt||zw,uat=o8?ql(o8):vet;function fat(D){return Ur(D)&&D.nodeType===1&&!hf(D)}function hat(D){if(D==null)return!0;if(yl(D)&&(sa(D)||typeof D=="string"||typeof D.splice=="function"||Tp(D)||Sd(D)||bm(D)))return!D.length;var q=el(D);if(q==ne||q==Qe)return!D.size;if(uf(D))return!ow(D).length;for(var tt in D)if(rr.call(D,tt))return!1;return!0}function xat(D,q){return cf(D,q)}function gat(D,q,tt){tt=typeof tt=="function"?tt:e;var St=tt?tt(D,q):e;return St===e?cf(D,q,e,tt):!!St}function Aw(D){if(!Ur(D))return!1;var q=ul(D);return q==Bt||q==xt||typeof D.message=="string"&&typeof D.name=="string"&&!hf(D)}function _at(D){return typeof D=="number"&&E8(D)}function V0(D){if(!jr(D))return!1;var q=ul(D);return q==ce||q==Wt||q==Tt||q==Fe}function $O(D){return typeof D=="number"&&D==ua(D)}function yx(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=B}function jr(D){var q=typeof D;return D!=null&&(q=="object"||q=="function")}function Ur(D){return D!=null&&typeof D=="object"}var WO=l8?ql(l8):Cet;function vat(D,q){return D===q||rw(D,q,yw(q))}function bat(D,q,tt){return tt=typeof tt=="function"?tt:e,rw(D,q,yw(q),tt)}function Cat(D){return QO(D)&&D!=+D}function yat(D){if(rit(D))throw new aa(a);return V8(D)}function Sat(D){return D===null}function wat(D){return D==null}function QO(D){return typeof D=="number"||Ur(D)&&ul(D)==Ue}function hf(D){if(!Ur(D)||ul(D)!=$t)return!1;var q=Yh(D);if(q===null)return!0;var tt=rr.call(q,"constructor")&&q.constructor;return typeof tt=="function"&&tt instanceof tt&&Uh.call(tt)==_tt}var Fw=s8?ql(s8):yet;function Pat(D){return $O(D)&&D>=-B&&D<=B}var YO=p8?ql(p8):wet;function Sx(D){return typeof D=="string"||!sa(D)&&Ur(D)&&ul(D)==Xe}function zl(D){return typeof D=="symbol"||Ur(D)&&ul(D)==ei}var Sd=c8?ql(c8):Pet;function Eat(D){return D===e}function Iat(D){return Ur(D)&&el(D)==Ai}function Tat(D){return Ur(D)&&ul(D)==Ni}var Mat=ux(lw),Dat=ux(function(D,q){return D<=q});function JO(D){if(!D)return[];if(yl(D))return Sx(D)?ks(D):Cl(D);if(ef&&D[ef])return ott(D[ef]());var q=el(D),tt=q==ne?Q5:q==Qe?zh:wd;return tt(D)}function q0(D){if(!D)return D===0?D:0;if(D=cs(D),D===F||D===-F){var q=D<0?-1:1;return q*R}return D===D?D:0}function ua(D){var q=q0(D),tt=q%1;return q===q?tt?q-tt:q:0}function KO(D){return D?xm(ua(D),0,H):0}function cs(D){if(typeof D=="number")return D;if(zl(D))return j;if(jr(D)){var q=typeof D.valueOf=="function"?D.valueOf():D;D=jr(q)?q+"":q}if(typeof D!="string")return D===0?D:+D;D=x8(D);var tt=fa.test(D);return tt||Ja.test(D)?HZ(D.slice(2),tt?2:8):Ga.test(D)?j:+D}function XO(D){return r0(D,Sl(D))}function Oat(D){return D?xm(ua(D),-B,B):D===0?D:0}function Xa(D){return D==null?"":jl(D)}var Aat=bd(function(D,q){if(uf(q)||yl(q)){r0(q,Do(q),D);return}for(var tt in q)rr.call(q,tt)&&lf(D,tt,q[tt])}),ZO=bd(function(D,q){r0(q,Sl(q),D)}),wx=bd(function(D,q,tt,St){r0(q,Sl(q),D,St)}),Fat=bd(function(D,q,tt,St){r0(q,Do(q),D,St)}),kat=N0(tw);function Rat(D,q){var tt=vd(D);return q==null?tt:O8(tt,q)}var Bat=ba(function(D,q){D=pr(D);var tt=-1,St=q.length,Vt=St>2?q[2]:e;for(Vt&&fl(q[0],q[1],Vt)&&(St=1);++tt1),le}),r0(D,bw(D),tt),St&&(tt=ls(tt,_|v|C,Wet));for(var Vt=q.length;Vt--;)dw(tt,q[Vt]);return tt});function trt(D,q){return e9(D,Cx(Nn(q)))}var ert=N0(function(D,q){return D==null?{}:Tet(D,q)});function e9(D,q){if(D==null)return{};var tt=Rr(bw(D),function(St){return[St]});return q=Nn(q),$8(D,tt,function(St,Vt){return q(St,Vt[0])})}function irt(D,q,tt){q=Ep(q,D);var St=-1,Vt=q.length;for(Vt||(Vt=1,D=e);++Stq){var St=D;D=q,q=St}if(tt||D%1||q%1){var Vt=I8();return tl(D+Vt*(q-D+zZ("1e-"+((Vt+"").length-1))),q)}return pw(D,q)}var urt=Cd(function(D,q,tt){return q=q.toLowerCase(),D+(tt?a9(q):q)});function a9(D){return Bw(Xa(D).toLowerCase())}function r9(D){return D=Xa(D),D&&D.replace(ao,ett).replace(dd,"")}function frt(D,q,tt){D=Xa(D),q=jl(q);var St=D.length;tt=tt===e?St:xm(ua(tt),0,St);var Vt=tt;return tt-=q.length,tt>=0&&D.slice(tt,Vt)==q}function hrt(D){return D=Xa(D),D&&$n.test(D)?D.replace(qr,itt):D}function xrt(D){return D=Xa(D),D&&Wn.test(D)?D.replace(ml,"\\$&"):D}var grt=Cd(function(D,q,tt){return D+(tt?"-":"")+q.toLowerCase()}),_rt=Cd(function(D,q,tt){return D+(tt?" ":"")+q.toLowerCase()}),vrt=sO("toLowerCase");function brt(D,q,tt){D=Xa(D),q=ua(q);var St=q?hd(D):0;if(!q||St>=q)return D;var Vt=(q-St)/2;return dx(Zh(Vt),tt)+D+dx(Xh(Vt),tt)}function Crt(D,q,tt){D=Xa(D),q=ua(q);var St=q?hd(D):0;return q&&St>>0,tt?(D=Xa(D),D&&(typeof q=="string"||q!=null&&!Fw(q))&&(q=jl(q),!q&&fd(D))?Ip(ks(D),0,tt):D.split(q,tt)):[]}var Trt=Cd(function(D,q,tt){return D+(tt?" ":"")+Bw(q)});function Mrt(D,q,tt){return D=Xa(D),tt=tt==null?0:xm(ua(tt),0,D.length),q=jl(q),D.slice(tt,tt+q.length)==q}function Drt(D,q,tt){var St=ie.templateSettings;tt&&fl(D,q,tt)&&(q=e),D=Xa(D),q=wx({},q,St,hO);var Vt=wx({},q.imports,St.imports,hO),le=Do(Vt),De=W5(Vt,le),ze,Je,Ii=0,Di=q.interpolate||bo,Ri="__p += '",rn=Y5((q.escape||bo).source+"|"+Di.source+"|"+(Di===Dn?In:bo).source+"|"+(q.evaluate||bo).source+"|$","g"),Sn="//# sourceURL="+(rr.call(q,"sourceURL")?(q.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++NZ+"]")+` `;D.replace(rn,function(qn,Ia,Ra,Hl,hl,Gl){return Ra||(Ra=Hl),Ri+=D.slice(Ii,Gl).replace(Zr,ntt),Ia&&(ze=!0,Ri+=`' + @@ -939,13 +939,13 @@ use chrome, FireFox or Internet Explorer 11`)}var d=e("safe-buffer"),u=e("random `)),a&2){let p=gt(18);s(11),g(m(12,4,"labels.placeholders.Search Activity")),s(3),f("matAutocomplete",p)("formControl",n.searchText),s(6),f("ngForOf",m(21,6,n.filteredActivities))}},dependencies:[mt,Ut,lo,dt,oe,zt,yn,It,Ht,Qt,Mt,Ot,Nt,ue,ut,po,so,A_,F_,k_],styles:[".card[_ngcontent-%COMP%]{box-sizing:border-box;padding:2%;display:flex;flex-direction:column;overflow-x:hidden}.card[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{width:100%;padding:12px}.card[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%] .top-card[_ngcontent-%COMP%]{flex:1 0 100%}.card[_ngcontent-%COMP%] .top-card[_ngcontent-%COMP%] .trends-bar[_ngcontent-%COMP%]{width:100%;flex:1 0 100%}.card[_ngcontent-%COMP%] .bottom-card[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;gap:2px}.card[_ngcontent-%COMP%] .bottom-card[_ngcontent-%COMP%] .amount-collected[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] .bottom-card[_ngcontent-%COMP%] .amount-disbursed[_ngcontent-%COMP%]{flex:1 0 calc(40% - 10px);padding:0;margin:10px}@media screen and (width <= 768px){.top-card[_ngcontent-%COMP%], .bottom-card[_ngcontent-%COMP%]{flex-direction:column}.top-card[_ngcontent-%COMP%] .trends-bar[_ngcontent-%COMP%], .top-card[_ngcontent-%COMP%] .amount-collected[_ngcontent-%COMP%], .top-card[_ngcontent-%COMP%] .amount-disbursed[_ngcontent-%COMP%], .bottom-card[_ngcontent-%COMP%] .trends-bar[_ngcontent-%COMP%], .bottom-card[_ngcontent-%COMP%] .amount-collected[_ngcontent-%COMP%], .bottom-card[_ngcontent-%COMP%] .amount-disbursed[_ngcontent-%COMP%]{flex:1 0 100%;width:100%;margin:10px 0}}"]})}}return e})();var Jo=(()=>{class e{constructor(i){this.accountingService=i}resolve(){return this.accountingService.getOffices()}static{this.\u0275fac=function(a){return new(a||e)(Ft($i))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var but=[wa.withShell([{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",component:Wg,data:{title:"Home"}},{path:"dashboard",component:R_,data:{title:"Dashboard",breadcrumb:"Dashboard"},resolve:{offices:Jo}}])],IB=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({providers:[Jo],imports:[Cn.forChild(but),Cn]})}}return e})();var TB=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({imports:[$x,pa,Cr,IB,Fp,Wg,R_,k_,F_,A_,$g,Ag]})}}return e})();function Cut(e,r){e&1&&(o(0,"mat-error"),t(1),c(2,"translate"),o(3,"strong"),t(4),c(5,"translate"),l(),t(6,` `),l()),e&2&&(s(),b(` `,m(2,2,"labels.inputs.Username")," "),s(3),g(m(5,4,"labels.commons.is required")))}function yut(e,r){e&1&&(o(0,"span",4),t(1,` - `),y(2,"fa-icon",14),t(3,` - `),l())}function Sut(e,r){e&1&&y(0,"fa-icon",18)}function wut(e,r){e&1&&y(0,"fa-icon",19)}function Put(e,r){if(e&1){let i=Y();o(0,"button",15),k("mousedown",function(){N(i);let n=P(2);return L(n.togglePasswordVisibility())})("mouseup",function(){N(i);let n=P(2);return L(n.togglePasswordVisibility())}),t(1,` - `),h(2,Sut,1,0,"fa-icon",16),t(3,` - `),h(4,wut,1,0,"fa-icon",17),t(5,` + `),y(2,"fa-icon",13),t(3,` + `),l())}function Sut(e,r){e&1&&y(0,"fa-icon",17)}function wut(e,r){e&1&&y(0,"fa-icon",18)}function Put(e,r){if(e&1){let i=Y();o(0,"button",14),k("mousedown",function(){N(i);let n=P(2);return L(n.togglePasswordVisibility())})("mouseup",function(){N(i);let n=P(2);return L(n.togglePasswordVisibility())}),t(1,` + `),h(2,Sut,1,0,"fa-icon",15),t(3,` + `),h(4,wut,1,0,"fa-icon",16),t(5,` `),l()}if(e&2){let i=P(2);s(2),f("ngIf",i.passwordInputType==="password"),s(2),f("ngIf",i.passwordInputType==="text")}}function Eut(e,r){e&1&&(o(0,"mat-error"),t(1),c(2,"translate"),o(3,"strong"),t(4),c(5,"translate"),l(),t(6,` `),l()),e&2&&(s(),b(` - `,m(2,2,"labels.inputs.Password")," "),s(3),g(m(5,4,"labels.commons.pass is required")))}function Iut(e,r){e&1&&y(0,"mat-progress-bar",20)}function Tut(e,r){e&1&&y(0,"mat-spinner",21),e&2&&f("diameter",20)}function Mut(e,r){if(e&1){let i=Y();o(0,"div"),t(1,` + `,m(2,2,"labels.inputs.Password")," "),s(3),g(m(5,4,"labels.commons.pass is required")))}function Iut(e,r){e&1&&y(0,"mat-progress-bar",19)}function Tut(e,r){e&1&&y(0,"mat-spinner",20),e&2&&f("diameter",20)}function Mut(e,r){if(e&1){let i=Y();o(0,"div"),t(1,` `),o(2,"form",2),k("ngSubmit",function(){N(i);let n=P();return L(n.login())}),t(3,` `),o(4,"mat-form-field",3),t(5,` `),o(6,"span",4),t(7,` @@ -968,27 +968,23 @@ use chrome, FireFox or Internet Explorer 11`)}var d=e("safe-buffer"),u=e("random `),o(37,"button",11),t(38),c(39,"translate"),h(40,Tut,1,1,"mat-spinner",12),t(41,` `),l(),t(42,` - - `),o(43,"button",13),k("click",function(){N(i);let n=P();return L(n.forgotPassword())}),t(44),c(45,"translate"),l(),t(46,` - `),l(),t(47,` -`),l()}if(e&2){let i=P();s(2),f("formGroup",i.loginForm),s(10),g(m(13,14,"labels.inputs.Username")),s(5),f("ngIf",i.loginForm.controls.username.hasError("required")),s(5),f("ngIf",!i.loginForm.controls.password.value),s(3),g(m(26,16,"labels.inputs.Password")),s(3),Rt("type",i.passwordInputType),s(2),f("ngIf",i.loginForm.controls.password.value&&!i.loading),s(2),f("ngIf",i.loginForm.controls.password.hasError("required")),s(3),f("ngIf",i.loading),s(2),f("disabled",!i.loginForm.valid),s(),b(` - `,m(39,18,"labels.buttons.Login"),` - `),s(2),f("ngIf",i.loading),s(3),f("disabled",i.loading),s(),b(` - `,m(45,20,"labels.links.Forgot Password?"),` - `)}}function Dut(e,r){e&1&&y(0,"mat-spinner",21),e&2&&f("diameter",20)}function Out(e,r){if(e&1){let i=Y();o(0,"div"),t(1,` - `),o(2,"button",23),k("click",function(){N(i);let n=P(2);return L(n.loginOIDC())}),t(3),c(4,"translate"),h(5,Dut,1,1,"mat-spinner",12),t(6,` + `),l(),t(43,` +`),l()}if(e&2){let i=P();s(2),f("formGroup",i.loginForm),s(10),g(m(13,12,"labels.inputs.Username")),s(5),f("ngIf",i.loginForm.controls.username.hasError("required")),s(5),f("ngIf",!i.loginForm.controls.password.value),s(3),g(m(26,14,"labels.inputs.Password")),s(3),Rt("type",i.passwordInputType),s(2),f("ngIf",i.loginForm.controls.password.value&&!i.loading),s(2),f("ngIf",i.loginForm.controls.password.hasError("required")),s(3),f("ngIf",i.loading),s(2),f("disabled",!i.loginForm.valid),s(),b(` + `,m(39,16,"labels.buttons.Login"),` + `),s(2),f("ngIf",i.loading)}}function Dut(e,r){e&1&&y(0,"mat-spinner",20),e&2&&f("diameter",20)}function Out(e,r){if(e&1){let i=Y();o(0,"div"),t(1,` + `),o(2,"button",22),k("click",function(){N(i);let n=P(2);return L(n.loginOIDC())}),t(3),c(4,"translate"),h(5,Dut,1,1,"mat-spinner",12),t(6,` `),l(),t(7,` `),l()}if(e&2){let i=P(2);s(3),b(` `,m(4,2,"labels.buttons.Login"),` `),s(2),f("ngIf",i.loading)}}function Aut(e,r){if(e&1){let i=Y();o(0,"div"),t(1,` `),o(2,"p"),t(3,"Welcome! You are logged in."),l(),t(4,` - `),o(5,"button",24),k("click",function(){N(i);let n=P(2);return L(n.logout())}),t(6,"Logout"),l(),t(7,` - `),o(8,"button",24),k("click",function(){N(i);let n=P(2);return L(n.loadProtectedData())}),t(9,"Load Protected Data"),l(),t(10,` + `),o(5,"button",23),k("click",function(){N(i);let n=P(2);return L(n.logout())}),t(6,"Logout"),l(),t(7,` + `),o(8,"button",23),k("click",function(){N(i);let n=P(2);return L(n.loadProtectedData())}),t(9,"Load Protected Data"),l(),t(10,` `),o(11,"pre"),t(12),c(13,"json"),l(),t(14,` - `),l()}if(e&2){let i=P(2);s(12),g(m(13,1,i.protectedData))}}function Fut(e,r){if(e&1&&(o(0,"div",22),t(1,` + `),l()}if(e&2){let i=P(2);s(12),g(m(13,1,i.protectedData))}}function Fut(e,r){if(e&1&&(o(0,"div",21),t(1,` `),h(2,Out,8,4,"div",0),t(3,` `),h(4,Aut,15,3,"div",0),t(5,` -`),l()),e&2){let i=P();s(2),f("ngIf",!i.isLoggedIn),s(2),f("ngIf",i.isLoggedIn)}}var B_=(()=>{class e{constructor(i,a,n){this.formBuilder=i,this.authenticationService=a,this.authService=n,this.passwordInputType="password",this.loading=!1,this.oidcServerEnabled=gn.OIDC.oidcServerEnabled,this.enableRememberMe=gn.enableRememberMe===!0}ngOnInit(){this.createLoginForm()}login(){this.loading=!0,this.loginForm.disable(),this.authenticationService.login(this.loginForm.value).pipe(l0(()=>{this.loginForm.reset(),this.loginForm.markAsPristine(),this.loginForm.enable(),this.loading=!1})).subscribe()}loginOIDC(){this.authService.login()}getUsers(){this.authService.getUsers()}logout(){this.authService.logout()}togglePasswordVisibility(){this.passwordInputType=this.passwordInputType==="password"?"text":"password"}forgotPassword(){console.log("Forgot Password feature currently unavailable.")}createLoginForm(){this.loginForm=this.formBuilder.group({username:["",lt.required],password:["",[lt.required,lt.minLength(8)]],remember:!1})}getErrorMessage(i){let a=this.loginForm.get(i);return a?.hasError("required")?"This field is required":a?.hasError("minlength")?`Minimum length is ${a.errors?.minlength.requiredLength}`:""}static{this.\u0275fac=function(a){return new(a||e)(O(oA),O(tr),O(Vr))}}static{this.\u0275cmp=pt({type:e,selectors:[["mifosx-login-form"]],decls:4,vars:2,consts:[[4,"ngIf"],["class","container container-margin",4,"ngIf"],["id","login-form",1,"layout-column",3,"ngSubmit","formGroup"],[1,"login-input","flex-align-center"],["matPrefix","",1,"m-r-10"],["icon","user-circle","size","lg"],["matInput","","type","text","autocomplete","off","formControlName","username"],["matPrefix","","class","m-r-10",4,"ngIf"],["matInput","","formControlName","password",3,"type"],["type","button","matSuffix","","mat-icon-button","",3,"mousedown","mouseup",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",1,"login-button-first","flex-align-center",3,"disabled"],[3,"diameter",4,"ngIf"],["type","button","mat-button","",1,"login-button","flex-align-center",3,"click","disabled"],["icon","lock","size","lg"],["type","button","matSuffix","","mat-icon-button","",3,"mousedown","mouseup"],["icon","eye",4,"ngIf"],["icon","eye-slash",4,"ngIf"],["icon","eye"],["icon","eye-slash"],["mode","indeterminate"],[3,"diameter"],[1,"container","container-margin"],["mat-raised-button","","color","primary",1,"login-button-z",3,"click"],[3,"click"]],template:function(a,n){a&1&&(h(0,Mut,48,22,"div",0),t(1,` +`),l()),e&2){let i=P();s(2),f("ngIf",!i.isLoggedIn),s(2),f("ngIf",i.isLoggedIn)}}var B_=(()=>{class e{constructor(i,a,n){this.formBuilder=i,this.authenticationService=a,this.authService=n,this.passwordInputType="password",this.loading=!1,this.oidcServerEnabled=gn.OIDC.oidcServerEnabled,this.enableRememberMe=gn.enableRememberMe===!0}ngOnInit(){this.createLoginForm()}login(){this.loading=!0,this.loginForm.disable(),this.authenticationService.login(this.loginForm.value).pipe(l0(()=>{this.loginForm.reset(),this.loginForm.markAsPristine(),this.loginForm.enable(),this.loading=!1})).subscribe()}loginOIDC(){this.authService.login()}getUsers(){this.authService.getUsers()}logout(){this.authService.logout()}togglePasswordVisibility(){this.passwordInputType=this.passwordInputType==="password"?"text":"password"}createLoginForm(){this.loginForm=this.formBuilder.group({username:["",lt.required],password:["",[lt.required,lt.minLength(8)]],remember:!1})}getErrorMessage(i){let a=this.loginForm.get(i);return a?.hasError("required")?"This field is required":a?.hasError("minlength")?`Minimum length is ${a.errors?.minlength.requiredLength}`:""}static{this.\u0275fac=function(a){return new(a||e)(O(oA),O(tr),O(Vr))}}static{this.\u0275cmp=pt({type:e,selectors:[["mifosx-login-form"]],decls:4,vars:2,consts:[[4,"ngIf"],["class","container container-margin",4,"ngIf"],["id","login-form",1,"layout-column",3,"ngSubmit","formGroup"],[1,"login-input","flex-align-center"],["matPrefix","",1,"m-r-10"],["icon","user-circle","size","lg"],["matInput","","type","text","autocomplete","off","formControlName","username"],["matPrefix","","class","m-r-10",4,"ngIf"],["matInput","","formControlName","password",3,"type"],["type","button","matSuffix","","mat-icon-button","",3,"mousedown","mouseup",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",1,"login-button-first","flex-align-center",3,"disabled"],[3,"diameter",4,"ngIf"],["icon","lock","size","lg"],["type","button","matSuffix","","mat-icon-button","",3,"mousedown","mouseup"],["icon","eye",4,"ngIf"],["icon","eye-slash",4,"ngIf"],["icon","eye"],["icon","eye-slash"],["mode","indeterminate"],[3,"diameter"],[1,"container","container-margin"],["mat-raised-button","","color","primary",1,"login-button-z",3,"click"],[3,"click"]],template:function(a,n){a&1&&(h(0,Mut,44,18,"div",0),t(1,` `),h(2,Fut,6,2,"div",1),t(3,` `)),a&2&&(f("ngIf",!n.oidcServerEnabled),s(2),f("ngIf",n.oidcServerEnabled))},dependencies:[mt,Et,q9,dt,Zt,oe,zt,Jt,Kt,Xt,Mt,Ot,de,ni,Nt,_t,ut,Ad,Dt,Si,fs,Rd],styles:["#login-form[_ngcontent-%COMP%] .login-input[_ngcontent-%COMP%]{width:14rem;margin-bottom:.1rem}#login-form[_ngcontent-%COMP%] [matPrefix][_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px;position:absolute;top:50%;left:190px;transform:translateY(-50%)}#login-form[_ngcontent-%COMP%] .login-button-first[_ngcontent-%COMP%]{width:14rem;margin-top:.8rem;background-color:#1976d2;color:#fff;border-radius:8px;margin-bottom:.5rem}#login-form[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{float:right;margin:.5rem 0} .mat-mdc-form-field-infix{width:144px!important}.container-margin[_ngcontent-%COMP%]{margin-top:8rem;margin-bottom:8rem;border-radius:50px;border:solid 1px black}"]})}}return e})();var ic=e=>{let r=e.get("password"),i=e.get("repeatPassword");return r&&i&&r.value!==i.value?{passwordsDoNotMatch:!0}:null};function kut(e,r){e&1&&y(0,"fa-icon",15)}function Rut(e,r){e&1&&y(0,"fa-icon",16)}function But(e,r){if(e&1){let i=Y();o(0,"button",12),k("mousedown",function(){N(i);let n=P();return L(n.passwordInputType="text")})("mouseup",function(){N(i);let n=P();return L(n.passwordInputType="password")}),t(1,` @@ -5293,7 +5289,7 @@ use chrome, FireFox or Internet Explorer 11`)}var d=e("safe-buffer"),u=e("random `),y(57,"mat-paginator",13),t(58,` `),l(),t(59,` `),l(),t(60,` -`)),a&2&&(s(5),g(m(6,5,"labels.heading.Charges Overview")),s(3),f("dataSource",n.dataSource),s(44),f("matHeaderRowDef",n.displayedColumns),s(2),f("matRowDefColumns",n.displayedColumns),s(3),f("pageSizeOptions",it(7,W4t)))},dependencies:[mt,ga,dt,Ht,wi,ut,xe,ve,_e,be,ge,Ce,ye,we,Se,Pe,Ae,Sa],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 gI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.params.clientId;return this.clientsService.getAllClientCharges(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var _I=(()=>{class e{constructor(i,a){this.clientsService=i,this.productsService=a}resolve(i){let a=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(a){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(a){return new(a||e)(Ft(Oi),Ft(li))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var vI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(a,n)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var bI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(a,n)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var CI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var yI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var s5t=[wa.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:H_},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:kv,resolve:{clientAddressFieldConfig:Bv,clientTemplate:cu}},{path:":clientId",component:Z_,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Rv,clientTemplateData:cu,clientDatatables:uI},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:tv,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:rI,clientChargesData:lI,clientCollateralData:yI}},{path:"address",component:sv,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:Bv,clientAddressTemplateData:xI,clientAddressData:oI}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:ev,resolve:{clientFamilyMembers:sI}},{path:"add",component:iv,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:cu}},{path:":familyMemberId",children:[{path:"edit",component:nv,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:cu,editFamilyMember:pI}}]}]},{path:"identities",component:av,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:cI,clientIdentifierTemplate:hI}},{path:"documents",component:ov,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:dI}},{path:"notes",component:rv,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:mI}},{path:"datatables",children:[{path:":datatableName",component:lv,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:fI}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Rv},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Mv,resolve:{clientDataAndTemplate:CI}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:Ev,resolve:{clientActionData:_I}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:Nv,resolve:{clientChargesData:gI}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:Iv,resolve:{clientChargeData:vI}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:Tv,resolve:{transactionData:bI}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-CW2OMYJ3.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-3FOY3GZ5.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-H2PVZBMM.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-EVAINLAC.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-CCTNKR4Y.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-PX2QZD6S.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-CJKGI73B.js").then(e=>e.AccountTransfersModule)}]}]}])],pN=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({providers:[Rv,rI,oI,lI,sN,sI,pI,cu,cI,mI,dI,uI,fI,hI,Bv,xI,gI,_I,vI,bI,CI,yI],imports:[Cn.forChild(s5t),Cn]})}}return e})();var p5t=e=>({editForm:e}),cN=(()=>{class e{constructor(i,a,n){this.dialogRef=i,this.formBuilder=a,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,lt.required]})}static{this.\u0275fac=function(a){return new(a||e)(O(ra),O(te),O(Aa))}}static{this.\u0275cmp=pt({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(a,n){a&1&&(o(0,"h1",1),t(1),c(2,"translate"),l(),t(3,` +`)),a&2&&(s(5),g(m(6,5,"labels.heading.Charges Overview")),s(3),f("dataSource",n.dataSource),s(44),f("matHeaderRowDef",n.displayedColumns),s(2),f("matRowDefColumns",n.displayedColumns),s(3),f("pageSizeOptions",it(7,W4t)))},dependencies:[mt,ga,dt,Ht,wi,ut,xe,ve,_e,be,ge,Ce,ye,we,Se,Pe,Ae,Sa],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 gI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.params.clientId;return this.clientsService.getAllClientCharges(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var _I=(()=>{class e{constructor(i,a){this.clientsService=i,this.productsService=a}resolve(i){let a=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(a){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(a){return new(a||e)(Ft(Oi),Ft(li))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var vI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(a,n)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var bI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(a,n)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var CI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var yI=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let a=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Oi))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var s5t=[wa.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:H_},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:kv,resolve:{clientAddressFieldConfig:Bv,clientTemplate:cu}},{path:":clientId",component:Z_,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Rv,clientTemplateData:cu,clientDatatables:uI},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:tv,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:rI,clientChargesData:lI,clientCollateralData:yI}},{path:"address",component:sv,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:Bv,clientAddressTemplateData:xI,clientAddressData:oI}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:ev,resolve:{clientFamilyMembers:sI}},{path:"add",component:iv,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:cu}},{path:":familyMemberId",children:[{path:"edit",component:nv,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:cu,editFamilyMember:pI}}]}]},{path:"identities",component:av,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:cI,clientIdentifierTemplate:hI}},{path:"documents",component:ov,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:dI}},{path:"notes",component:rv,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:mI}},{path:"datatables",children:[{path:":datatableName",component:lv,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:fI}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Rv},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:Mv,resolve:{clientDataAndTemplate:CI}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:Ev,resolve:{clientActionData:_I}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:Nv,resolve:{clientChargesData:gI}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:Iv,resolve:{clientChargeData:vI}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:Tv,resolve:{transactionData:bI}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-DXM4EDOQ.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-4E4LNVBH.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-YXPBUQ5M.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-KV5SKG47.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-GZQUNUJ4.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-LFF5BFPJ.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-7AHJLNZZ.js").then(e=>e.AccountTransfersModule)}]}]}])],pN=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({providers:[Rv,rI,oI,lI,sN,sI,pI,cu,cI,mI,dI,uI,fI,hI,Bv,xI,gI,_I,vI,bI,CI,yI],imports:[Cn.forChild(s5t),Cn]})}}return e})();var p5t=e=>({editForm:e}),cN=(()=>{class e{constructor(i,a,n){this.dialogRef=i,this.formBuilder=a,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,lt.required]})}static{this.\u0275fac=function(a){return new(a||e)(O(ra),O(te),O(Aa))}}static{this.\u0275cmp=pt({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(a,n){a&1&&(o(0,"h1",1),t(1),c(2,"translate"),l(),t(3,` `),o(4,"div"),t(5,` `),o(6,"form",2,0),t(8,` `),o(9,"mat-form-field"),t(10,` @@ -6660,7 +6656,7 @@ use chrome, FireFox or Internet Explorer 11`)}var d=e("safe-buffer"),u=e("random `,m(68,26,"labels.buttons.Cancel"),` `),s(3),f("disabled",!n.editGroupForm.valid),s(),b(` `,m(72,28,"labels.buttons.Submit"),` - `)}},dependencies:[mt,Ut,Et,dt,Zt,oe,zt,Jt,me,Kt,Xt,It,Ht,Qt,Ie,Mt,Ot,de,ni,Nt,he,ue,pi,ci,si,_t,ut],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var SI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var wI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var PI=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var EI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(a,n)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var o2=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.paramMap.get("groupId");return this.groupsService.getGroupData(a,"true")}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var II=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(a){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 p=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,p);default:return}}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var TI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var ETt=[wa.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:Vv},{path:"create",component:$v,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:Jo}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:Sf},children:[{path:"",component:jv,resolve:{groupViewData:Sf,groupDatatables:PI},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:zv,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:Yw,groupSummary:SI,gsimData:Jw,glimData:TI}},{path:"notes",component:Hv,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:wI}},{path:"committee",component:Uv,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:Wv,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:EI}}]}]},{path:"edit",component:r2,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:o2,groupViewData:Sf}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:Qv,resolve:{groupAndTemplateData:o2}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:a2,resolve:{groupActionData:II}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-CW2OMYJ3.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-EVAINLAC.js").then(e=>e.SavingsModule)}]}]}])],fN=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({providers:[Sf,Yw,SI,wI,PI,EI,o2,II,Jw,TI],imports:[Cn.forChild(ETt),Cn]})}}return e})();var hN=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({imports:[pa,Cr,Lo,fN,Vv,jv,zv,Hv,Uv,$v,Wv,Qv,Gv,a2,Yv,qv,Jv,Kv,r2,Xv,Zv,t2,e2,i2,n2]})}}return e})();var ea=(()=>{class e{constructor(i){this.http=i}getCenters(i,a,n,p,d){let u=new pn().set("offset",p.toString()).set("limit",d.toString()).set("sortOrder",n).set("orderBy",a).set("paged","true");return i.forEach(function(x){x.value&&(u=u.set(x.type,x.value))}),this.http.get("/centers",{params:u})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let a=new pn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:a})}getCenterData(i){let a=new pn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:a})}getCenterSummary(i){let a=new pn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:a})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,a){return this.http.post(`/groups/${i}/notes`,a)}editCenterNote(i,a,n){return this.http.put(`/groups/${i}/notes/${a}`,n)}deleteCenterNote(i,a){return this.http.delete(`/groups/${i}/notes/${a}`)}getcenterDatatables(){let i=new pn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,a){let n=new pn().set("genericResultSet","true");return this.http.get(`/datatables/${a}/${i}`,{params:n})}addCenterDatatableEntry(i,a,n){let p=new pn().set("genericResultSet","true");return this.http.post(`/datatables/${a}/${i}`,n,{params:p})}editCenterDatatableEntry(i,a,n){let p=new pn().set("genericResultSet","true");return this.http.put(`/datatables/${a}/${i}`,n,{params:p})}deleteDatatableContent(i,a){let n=new pn().set("genericResultSet","true");return this.http.delete(`/datatables/${a}/${i}`,{params:n})}executeCenterActionCommand(i,a,n){let p=new pn().set("command",a);return this.http.post(`/centers/${i}`,n,{params:p})}executeGroupActionCommand(i,a,n){let p=new pn().set("command",a);return this.http.post(`/groups/${i}`,n,{params:p})}getGroupStaffData(i){let a=new pn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:a})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,a,n){let p=new pn().set("associations",a);return p=n?p.set("template",n):p,this.http.get(`/centers/${i}`,{params:p})}getMeetingsTemplate(i,a){let n=new pn().set("calenderId",a);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,a,n){let p=new pn().set("calenderId",a);return this.http.post(`/centers/${i}/meetings`,n,{params:p})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,a){return this.http.post(`/centers/${i}/calendars`,a)}getCalendarAndTemplate(i,a){let n=new pn().set("template","true");return this.http.get(`/centers/${i}/calendars/${a}`,{params:n})}updateCenterMeeting(i,a,n){return this.http.put(`/centers/${i}/calendars/${n}`,a)}getStaffAssignmentHistoryData(i,a,n,p){let d=new pn().set("tenantIdentifier",n).set("locale",p).set("R_centerId",a);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:d})}getCenterAndTemplateData(i){let a=new pn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:a})}executeEditCenter(i,a){return this.http.put(`/groups/${i}`,a)}getAllMeetingFallCenters(i,a,n,p,d){return this.http.get(`/centers?dateFormat=${p}&locale=${d}&meetingDate=${n}&officeId=${i}&staffId=${a}`)}static{this.\u0275fac=function(a){return new(a||e)(Ft(za))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var l2=class{constructor(r){this.centersService=r,this.centersSubject=new $r([]),this.recordsSubject=new $r(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",a="",n=0,p=10,d=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,a,n*p,p).subscribe(u=>{u.pageItems=d?u.pageItems.filter(x=>x.active):u.pageItems,this.recordsSubject.next(u.totalFilteredRecords),this.centersSubject.next(u.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var ITt=["showClosedCenters"],TTt=()=>[10,25,50,100],MTt=()=>["../","organization","bulk-import","Centers"],DTt=()=>["create"],OTt=e=>[e,"general"];function ATt(e,r){e&1&&(o(0,"button",22),t(1,` + `)}},dependencies:[mt,Ut,Et,dt,Zt,oe,zt,Jt,me,Kt,Xt,It,Ht,Qt,Ie,Mt,Ot,de,ni,Nt,he,ue,pi,ci,si,_t,ut],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var SI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var wI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var PI=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var EI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(a,n)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var o2=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.paramMap.get("groupId");return this.groupsService.getGroupData(a,"true")}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var II=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(a){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 p=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,p);default:return}}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var TI=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let a=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(a)}static{this.\u0275fac=function(a){return new(a||e)(Ft(Rn))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac})}}return e})();var ETt=[wa.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:Vv},{path:"create",component:$v,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:Jo}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:Sf},children:[{path:"",component:jv,resolve:{groupViewData:Sf,groupDatatables:PI},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:zv,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:Yw,groupSummary:SI,gsimData:Jw,glimData:TI}},{path:"notes",component:Hv,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:wI}},{path:"committee",component:Uv,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:Wv,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:EI}}]}]},{path:"edit",component:r2,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:o2,groupViewData:Sf}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:Qv,resolve:{groupAndTemplateData:o2}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:a2,resolve:{groupActionData:II}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-DXM4EDOQ.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-KV5SKG47.js").then(e=>e.SavingsModule)}]}]}])],fN=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({providers:[Sf,Yw,SI,wI,PI,EI,o2,II,Jw,TI],imports:[Cn.forChild(ETt),Cn]})}}return e})();var hN=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275mod=Hi({type:e})}static{this.\u0275inj=zi({imports:[pa,Cr,Lo,fN,Vv,jv,zv,Hv,Uv,$v,Wv,Qv,Gv,a2,Yv,qv,Jv,Kv,r2,Xv,Zv,t2,e2,i2,n2]})}}return e})();var ea=(()=>{class e{constructor(i){this.http=i}getCenters(i,a,n,p,d){let u=new pn().set("offset",p.toString()).set("limit",d.toString()).set("sortOrder",n).set("orderBy",a).set("paged","true");return i.forEach(function(x){x.value&&(u=u.set(x.type,x.value))}),this.http.get("/centers",{params:u})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let a=new pn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:a})}getCenterData(i){let a=new pn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:a})}getCenterSummary(i){let a=new pn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:a})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,a){return this.http.post(`/groups/${i}/notes`,a)}editCenterNote(i,a,n){return this.http.put(`/groups/${i}/notes/${a}`,n)}deleteCenterNote(i,a){return this.http.delete(`/groups/${i}/notes/${a}`)}getcenterDatatables(){let i=new pn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,a){let n=new pn().set("genericResultSet","true");return this.http.get(`/datatables/${a}/${i}`,{params:n})}addCenterDatatableEntry(i,a,n){let p=new pn().set("genericResultSet","true");return this.http.post(`/datatables/${a}/${i}`,n,{params:p})}editCenterDatatableEntry(i,a,n){let p=new pn().set("genericResultSet","true");return this.http.put(`/datatables/${a}/${i}`,n,{params:p})}deleteDatatableContent(i,a){let n=new pn().set("genericResultSet","true");return this.http.delete(`/datatables/${a}/${i}`,{params:n})}executeCenterActionCommand(i,a,n){let p=new pn().set("command",a);return this.http.post(`/centers/${i}`,n,{params:p})}executeGroupActionCommand(i,a,n){let p=new pn().set("command",a);return this.http.post(`/groups/${i}`,n,{params:p})}getGroupStaffData(i){let a=new pn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:a})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,a,n){let p=new pn().set("associations",a);return p=n?p.set("template",n):p,this.http.get(`/centers/${i}`,{params:p})}getMeetingsTemplate(i,a){let n=new pn().set("calenderId",a);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,a,n){let p=new pn().set("calenderId",a);return this.http.post(`/centers/${i}/meetings`,n,{params:p})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,a){return this.http.post(`/centers/${i}/calendars`,a)}getCalendarAndTemplate(i,a){let n=new pn().set("template","true");return this.http.get(`/centers/${i}/calendars/${a}`,{params:n})}updateCenterMeeting(i,a,n){return this.http.put(`/centers/${i}/calendars/${n}`,a)}getStaffAssignmentHistoryData(i,a,n,p){let d=new pn().set("tenantIdentifier",n).set("locale",p).set("R_centerId",a);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:d})}getCenterAndTemplateData(i){let a=new pn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:a})}executeEditCenter(i,a){return this.http.put(`/groups/${i}`,a)}getAllMeetingFallCenters(i,a,n,p,d){return this.http.get(`/centers?dateFormat=${p}&locale=${d}&meetingDate=${n}&officeId=${i}&staffId=${a}`)}static{this.\u0275fac=function(a){return new(a||e)(Ft(za))}}static{this.\u0275prov=At({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var l2=class{constructor(r){this.centersService=r,this.centersSubject=new $r([]),this.recordsSubject=new $r(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",a="",n=0,p=10,d=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,a,n*p,p).subscribe(u=>{u.pageItems=d?u.pageItems.filter(x=>x.active):u.pageItems,this.recordsSubject.next(u.totalFilteredRecords),this.centersSubject.next(u.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var ITt=["showClosedCenters"],TTt=()=>[10,25,50,100],MTt=()=>["../","organization","bulk-import","Centers"],DTt=()=>["create"],OTt=e=>[e,"general"];function ATt(e,r){e&1&&(o(0,"button",22),t(1,` `),y(2,"fa-icon",23),t(3),c(4,"translate"),l()),e&2&&(f("routerLink",it(4,MTt)),s(3),b("",m(4,2,"labels.buttons.Import Center"),` `))}function FTt(e,r){e&1&&(o(0,"button",22),t(1,` `),y(2,"fa-icon",24),t(3),c(4,"translate"),l()),e&2&&(f("routerLink",it(4,DTt)),s(3),b("",m(4,2,"labels.buttons.Create Center"),` diff --git a/browser/recurring-deposits.module-CCTNKR4Y.js b/browser/recurring-deposits.module-GZQUNUJ4.js similarity index 99% rename from browser/recurring-deposits.module-CCTNKR4Y.js rename to browser/recurring-deposits.module-GZQUNUJ4.js index 0ffe548b5..e4b776449 100644 --- a/browser/recurring-deposits.module-CCTNKR4Y.js +++ b/browser/recurring-deposits.module-GZQUNUJ4.js @@ -1,4 +1,4 @@ -import{a as Tn,b as Mn}from"./chunk-XNOZJBD6.js";import{a as mi}from"./chunk-6MNBF3XI.js";import{$b as Vn,$c as at,$d as se,$e as Nt,Aa as b,Ad as Ot,Ba as _,Cc as Oe,Cd as Et,Dc as E,Ea as bt,Ed as ft,Fb as te,Fd as _t,G as It,Gd as Ct,H as Ve,Ha as St,Hd as Ue,He as Jn,Ia as Pt,Ib as kn,Ic as Q,Id as Rt,J as yt,Ja as Tt,Jc as U,Jd as Ft,Ka as R,Kd as pe,La as t,Lf as ni,Ma as u,N as Zt,Na as x,Nc as ct,Nd as ut,O as S,Oa as M,Oc as q,P,Pa as oe,Pc as Y,Qb as Me,Qc as nt,Qd as fe,Qe as Ke,Qf as ii,Rb as ye,Rd as ce,Re as Xn,Rf as Yt,Sf as ri,Tb as re,Tc as J,Tf as Ze,Ub as ae,Ue as Qe,Uf as ai,V as qe,Va as L,Vb as Ae,Vc as it,Vd as He,Ve as Ye,Wa as xe,Wc as Ee,We as Je,Xc as zn,Xe,Ya as o,Yc as rt,Yd as $e,Ye as ne,Yf as le,Za as c,Zd as Le,Ze as Qt,_a as w,_b as k,_d as ze,_e as Bt,aa as Bn,ab as G,af as kt,bc as H,bg as oi,cc as z,cd as st,cf as Vt,cg as tn,dc as qn,df as qt,dg as Re,ea as a,ec as Pn,ee as We,fb as Nn,ff as jt,gb as be,gc as Ie,gd as ot,gf as Gt,gg as pi,hb as Mt,hc as V,ia as C,ib as F,id as O,if as Ut,ja as A,jb as Se,jd as W,jf as Ht,ka as je,kd as Wn,ld as Kn,lf as $t,lg as ci,md as lt,na as m,ng as si,oa as ve,od as gt,of as _e,pa as d,pd as Qn,qb as Pe,rd as Yn,sc as jn,sd as X,ta as n,tc as Gn,td as mt,tf as Zn,ua as i,ub as Ge,uc as ee,uf as ti,va as f,vb as Te,vc as Un,vf as ei,vg as we,wa as D,wb as I,wc as Hn,wd as xt,wg as li,xa as v,xc as $n,xd as Z,yc as Ln,yd as Kt,za as y,zd as dt}from"./chunk-KNBKN23P.js";import{a as B,b as K}from"./chunk-PHUH23IY.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-G6MYJCVK.js";import{a as mi}from"./chunk-N7YZBXCR.js";import{$b as Vn,$c as at,$d as se,$e as Nt,Aa as b,Ad as Ot,Ba as _,Cc as Oe,Cd as Et,Dc as E,Ea as bt,Ed as ft,Fb as te,Fd as _t,G as It,Gd as Ct,H as Ve,Ha as St,Hd as Ue,He as Jn,Ia as Pt,Ib as kn,Ic as Q,Id as Rt,J as yt,Ja as Tt,Jc as U,Jd as Ft,Ka as R,Kd as pe,La as t,Lf as ni,Ma as u,N as Zt,Na as x,Nc as ct,Nd as ut,O as S,Oa as M,Oc as q,P,Pa as oe,Pc as Y,Qb as Me,Qc as nt,Qd as fe,Qe as Ke,Qf as ii,Rb as ye,Rd as ce,Re as Xn,Rf as Yt,Sf as ri,Tb as re,Tc as J,Tf as Ze,Ub as ae,Ue as Qe,Uf as ai,V as qe,Va as L,Vb as Ae,Vc as it,Vd as He,Ve as Ye,Wa as xe,Wc as Ee,We as Je,Xc as zn,Xe,Ya as o,Yc as rt,Yd as $e,Ye as ne,Yf as le,Za as c,Zd as Le,Ze as Qt,_a as w,_b as k,_d as ze,_e as Bt,aa as Bn,ab as G,af as kt,bc as H,bg as oi,cc as z,cd as st,cf as Vt,cg as tn,dc as qn,df as qt,dg as Re,ea as a,ec as Pn,ee as We,fb as Nn,ff as jt,gb as be,gc as Ie,gd as ot,gf as Gt,gg as pi,hb as Mt,hc as V,ia as C,ib as F,id as O,if as Ut,ja as A,jb as Se,jd as W,jf as Ht,ka as je,kd as Wn,ld as Kn,lf as $t,lg as ci,md as lt,na as m,ng as si,oa as ve,od as gt,of as _e,pa as d,pd as Qn,qb as Pe,rd as Yn,sc as jn,sd as X,ta as n,tc as Gn,td as mt,tf as Zn,ua as i,ub as Ge,uc as ee,uf as ti,va as f,vb as Te,vc as Un,vf as ei,vg as we,wa as D,wb as I,wc as Hn,wd as xt,wg as li,xa as v,xc as $n,xd as Z,yc as Ln,yd as Kt,za as y,zd as dt}from"./chunk-WHSQ4B3J.js";import{a as B,b as K}from"./chunk-PHUH23IY.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-XNOZJBD6.js";import{a as mi}from"./chunk-6MN `),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-CJKGI73B.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-CJKGI73B.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-7AHJLNZZ.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-7AHJLNZZ.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-EVAINLAC.js b/browser/savings.module-KV5SKG47.js similarity index 99% rename from browser/savings.module-EVAINLAC.js rename to browser/savings.module-KV5SKG47.js index 6f37aab3b..49b097973 100644 --- a/browser/savings.module-EVAINLAC.js +++ b/browser/savings.module-KV5SKG47.js @@ -1,4 +1,4 @@ -import{a as He}from"./chunk-UP7UUV62.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-QFLVIZA5.js";import{a as Ge}from"./chunk-NS5D25XZ.js";import{a as ri,b as si}from"./chunk-XNOZJBD6.js";import{a as Gi}from"./chunk-6MNBF3XI.js";import{$a as hi,$b as Xe,$c as rt,$d as Ce,$e as qt,$f as Bi,Aa as h,Ad as wt,Ba as C,Cc as ve,Cd as Ft,Dc as O,Ea as gt,Ed as xt,Fc as tn,Fd as _t,G as Tt,Gd as Ct,H as We,Ha as Pt,Hd as xe,He as we,Ia as yt,Ic as z,Id as Rt,J as Mt,Ja as Ot,Jc as j,Jd as Vt,Ka as D,Kd as Lt,La as t,Lc as bi,Lf as Ve,Ma as u,N as Oe,Na as v,Nb as Je,Nc as nt,Nd as bt,Nf as Ei,O as S,Oa as R,Oc as U,P as M,Pa as Ie,Pc as K,Qc as it,Qd as le,Qe as Fe,Qf as wi,Ra as Zn,Rd as _e,Re as ai,Rf as de,Sa as ti,Se as Di,Sf as pn,Ta as ei,Tc as ft,Tf as dn,Uc as Si,Ud as Oi,Ue as ke,Uf as Fi,V as Qe,Va as B,Vc as at,Vd as nn,Ve as Be,Wa as Nt,Wc as oe,We as Ne,Xc as Mi,Xe as Re,Ya as c,Yc as ot,Yd as an,Ye as he,Yf as I,Za as m,Zd as on,Ze as pe,Zf as ki,_a as St,_b as F,_d as rn,_e as Ut,aa as Ci,ab as et,af as Ht,ba as Ke,bb as ni,bc as q,bg as Ni,cc as G,cd as pt,cf as zt,cg as Le,dc as Ze,df as $t,dg as ue,ea as o,ec as ii,ee as sn,ff as Wt,gb as ge,gc as De,gd as st,gf as Qt,gg as un,hb as It,hc as k,hd as Ai,ia as x,ib as N,id as P,ie as Ii,if as Kt,ja as A,jd as J,jf as Yt,ka as Ye,kd as en,ld as Ti,lf as Jt,lg as Ri,md as ct,n as _i,na as d,ng as Vi,od as ht,of as Zt,pa as l,pd as Pi,rd as yi,sc as te,sd as X,ta as i,tc as Ee,td as dt,tf as cn,ua as a,uc as Et,uf as mn,ug as Li,va as f,vb as fe,vc as ee,vf as ln,vg as je,wa as E,wb as T,wc as ne,wd as vt,wg as ji,xa as w,xc as ie,xd as Z,yc as ae,yd as re,za as y,zd as mt}from"./chunk-KNBKN23P.js";import{a as L,b as Q}from"./chunk-PHUH23IY.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-QILNDM3U.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-TMNFWWYQ.js";import{a as Ge}from"./chunk-35VW23QL.js";import{a as ri,b as si}from"./chunk-G6MYJCVK.js";import{a as Gi}from"./chunk-N7YZBXCR.js";import{$a as hi,$b as Xe,$c as rt,$d as Ce,$e as qt,$f as Bi,Aa as h,Ad as wt,Ba as C,Cc as ve,Cd as Ft,Dc as O,Ea as gt,Ed as xt,Fc as tn,Fd as _t,G as Tt,Gd as Ct,H as We,Ha as Pt,Hd as xe,He as we,Ia as yt,Ic as z,Id as Rt,J as Mt,Ja as Ot,Jc as j,Jd as Vt,Ka as D,Kd as Lt,La as t,Lc as bi,Lf as Ve,Ma as u,N as Oe,Na as v,Nb as Je,Nc as nt,Nd as bt,Nf as Ei,O as S,Oa as R,Oc as U,P as M,Pa as Ie,Pc as K,Qc as it,Qd as le,Qe as Fe,Qf as wi,Ra as Zn,Rd as _e,Re as ai,Rf as de,Sa as ti,Se as Di,Sf as pn,Ta as ei,Tc as ft,Tf as dn,Uc as Si,Ud as Oi,Ue as ke,Uf as Fi,V as Qe,Va as B,Vc as at,Vd as nn,Ve as Be,Wa as Nt,Wc as oe,We as Ne,Xc as Mi,Xe as Re,Ya as c,Yc as ot,Yd as an,Ye as he,Yf as I,Za as m,Zd as on,Ze as pe,Zf as ki,_a as St,_b as F,_d as rn,_e as Ut,aa as Ci,ab as et,af as Ht,ba as Ke,bb as ni,bc as q,bg as Ni,cc as G,cd as pt,cf as zt,cg as Le,dc as Ze,df as $t,dg as ue,ea as o,ec as ii,ee as sn,ff as Wt,gb as ge,gc as De,gd as st,gf as Qt,gg as un,hb as It,hc as k,hd as Ai,ia as x,ib as N,id as P,ie as Ii,if as Kt,ja as A,jd as J,jf as Yt,ka as Ye,kd as en,ld as Ti,lf as Jt,lg as Ri,md as ct,n as _i,na as d,ng as Vi,od as ht,of as Zt,pa as l,pd as Pi,rd as yi,sc as te,sd as X,ta as i,tc as Ee,td as dt,tf as cn,ua as a,uc as Et,uf as mn,ug as Li,va as f,vb as fe,vc as ee,vf as ln,vg as je,wa as E,wb as T,wc as ne,wd as vt,wg as ji,xa as w,xc as ie,xd as Z,yc as ae,yd as re,za as y,zd as mt}from"./chunk-WHSQ4B3J.js";import{a as L,b as Q}from"./chunk-PHUH23IY.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-UP7UUV62.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-CJKGI73B.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-7AHJLNZZ.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-PX2QZD6S.js b/browser/shares.module-LFF5BFPJ.js similarity index 99% rename from browser/shares.module-PX2QZD6S.js rename to browser/shares.module-LFF5BFPJ.js index 819144cae..8366f0147 100644 --- a/browser/shares.module-PX2QZD6S.js +++ b/browser/shares.module-LFF5BFPJ.js @@ -1,4 +1,4 @@ -import{$a as mi,$b as pi,$c as ce,$d as Le,$e as Te,Aa as g,Ad as it,Ba as _,Cc as di,Cd as nt,Dc as E,Ea as H,Ed as Se,Fb as xt,Fd as ve,G as Ne,Gd as _e,H as dt,Ha as te,Hd as Ci,He as at,Ia as ie,Ib as ci,Ic as re,Id as Be,J as Oe,Ja as ne,Jc as q,Jd as je,Ka as R,Kd as Dt,La as e,Lf as wt,Ma as u,N as ut,Na as S,Nc as oe,Nd as be,Nf as Pi,O as y,Oa as P,Oc as $,P as I,Pc as se,Qc as W,Qd as Ai,Qf as wi,Rd as Tt,Re as rt,Rf as st,Sc as ui,Se as yt,Sf as mt,Tf as Ri,Ue as It,Uf as Fi,V as ht,Va as N,Vc as Y,Vd as gi,Ve as Et,Wa as si,Wc as hi,We as Mt,Xe as Pt,Ya as m,Yc as me,Yd as bi,Ye as ot,Za as c,Zd as Di,Ze as Ue,_a as ae,_b as F,_d as Ti,_e as De,ab as Ce,af as ye,bc as z,bg as Bi,cc as K,cd as pe,cf as Ie,dc as li,df as Ee,dg as ki,ea as a,ec as ni,ee as yi,ff as Me,gb as Ze,gc as St,gd as le,gf as Pe,hb as qe,hc as k,hd as fi,ia as x,ib as j,id as T,if as we,ja as b,jd as de,jf as Re,ka as ft,kd as xi,ld as Si,lf as Fe,lg as Rt,md as ue,na as l,od as ge,of as Ve,pa as d,pd as vi,rd as _i,sc as vt,sd as J,ta as i,tc as _t,td as he,tf as Ii,ua as n,uc as He,uf as Ei,ug as Ni,va as f,vb as et,vc as Ct,vf as Mi,wa as C,wb as D,wc as At,wd as fe,wg as Oi,xa as A,xc as gt,xd as X,yc as bt,yd as tt,za as w,zd as xe}from"./chunk-KNBKN23P.js";import{a as V,b as Q}from"./chunk-PHUH23IY.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{$a as mi,$b as pi,$c as ce,$d as Le,$e as Te,Aa as g,Ad as it,Ba as _,Cc as di,Cd as nt,Dc as E,Ea as H,Ed as Se,Fb as xt,Fd as ve,G as Ne,Gd as _e,H as dt,Ha as te,Hd as Ci,He as at,Ia as ie,Ib as ci,Ic as re,Id as Be,J as Oe,Ja as ne,Jc as q,Jd as je,Ka as R,Kd as Dt,La as e,Lf as wt,Ma as u,N as ut,Na as S,Nc as oe,Nd as be,Nf as Pi,O as y,Oa as P,Oc as $,P as I,Pc as se,Qc as W,Qd as Ai,Qf as wi,Rd as Tt,Re as rt,Rf as st,Sc as ui,Se as yt,Sf as mt,Tf as Ri,Ue as It,Uf as Fi,V as ht,Va as N,Vc as Y,Vd as gi,Ve as Et,Wa as si,Wc as hi,We as Mt,Xe as Pt,Ya as m,Yc as me,Yd as bi,Ye as ot,Za as c,Zd as Di,Ze as Ue,_a as ae,_b as F,_d as Ti,_e as De,ab as Ce,af as ye,bc as z,bg as Bi,cc as K,cd as pe,cf as Ie,dc as li,df as Ee,dg as ki,ea as a,ec as ni,ee as yi,ff as Me,gb as Ze,gc as St,gd as le,gf as Pe,hb as qe,hc as k,hd as fi,ia as x,ib as j,id as T,if as we,ja as b,jd as de,jf as Re,ka as ft,kd as xi,ld as Si,lf as Fe,lg as Rt,md as ue,na as l,od as ge,of as Ve,pa as d,pd as vi,rd as _i,sc as vt,sd as J,ta as i,tc as _t,td as he,tf as Ii,ua as n,uc as He,uf as Ei,ug as Ni,va as f,vb as et,vc as Ct,vf as Mi,wa as C,wb as D,wc as At,wd as fe,wg as Oi,xa as A,xc as gt,xd as X,yc as bt,yd as tt,za as w,zd as xe}from"./chunk-WHSQ4B3J.js";import{a as V,b as Q}from"./chunk-PHUH23IY.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,`