From b58dc4a127f14f8db93d2de9a0bfcf01c39e4e14 Mon Sep 17 00:00:00 2001 From: alberto-art3ch Date: Tue, 11 Nov 2025 17:25:23 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20openMF/w?= =?UTF-8?q?eb-app@3a0b20800a70865fa7effd54b11644b830c3b0f3=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ule-SYP4EGKT.js => account-transfers.module-BXOTWU6G.js} | 2 +- browser/assets/translations/cs-CS.json | 1 + browser/assets/translations/de-DE.json | 1 + browser/assets/translations/en-US.json | 1 + browser/assets/translations/es-CL.json | 1 + browser/assets/translations/es-MX.json | 1 + browser/assets/translations/fr-FR.json | 1 + browser/assets/translations/it-IT.json | 1 + browser/assets/translations/ko-KO.json | 1 + browser/assets/translations/lt-LT.json | 1 + browser/assets/translations/lv-LV.json | 1 + browser/assets/translations/ne-NE.json | 1 + browser/assets/translations/pt-PT.json | 1 + browser/assets/translations/sw-SW.json | 1 + browser/{chunk-O3TIIV3O.js => chunk-CHY6SRC3.js} | 2 +- browser/{chunk-SXJVCOHC.js => chunk-JFTPDLDM.js} | 2 +- browser/{chunk-HX6REEIG.js => chunk-JMMR5IIN.js} | 2 +- browser/{chunk-RZXN3A6J.js => chunk-KREIMA5H.js} | 2 +- browser/{chunk-GVCHTHAU.js => chunk-LNIBDYCO.js} | 2 +- browser/{chunk-OBL2YLFF.js => chunk-UP2J3HSS.js} | 2 +- browser/{chunk-ZZS3RZ6Y.js => chunk-ZZUSF5VQ.js} | 2 +- ...ls.module-6JA7SBWB.js => collaterals.module-BPY72UFL.js} | 2 +- ...module-JXL7H2TF.js => fixed-deposits.module-OXMWH4HY.js} | 4 ++-- browser/index.html | 2 +- .../{loans.module-2ILSMO5Q.js => loans.module-OA2OYK77.js} | 4 ++-- browser/main.js | 6 +++--- ...le-4BVXLZIB.js => recurring-deposits.module-MDQNXF36.js} | 4 ++-- ...avings.module-KNKOANAZ.js => savings.module-NVX7B35C.js} | 4 ++-- ...{shares.module-LQVSIAFS.js => shares.module-TK7ZHSHC.js} | 2 +- 29 files changed, 35 insertions(+), 22 deletions(-) rename browser/{account-transfers.module-SYP4EGKT.js => account-transfers.module-BXOTWU6G.js} (99%) rename browser/{chunk-O3TIIV3O.js => chunk-CHY6SRC3.js} (82%) rename browser/{chunk-SXJVCOHC.js => chunk-JFTPDLDM.js} (99%) rename browser/{chunk-HX6REEIG.js => chunk-JMMR5IIN.js} (99%) rename browser/{chunk-RZXN3A6J.js => chunk-KREIMA5H.js} (91%) rename browser/{chunk-GVCHTHAU.js => chunk-LNIBDYCO.js} (89%) rename browser/{chunk-OBL2YLFF.js => chunk-UP2J3HSS.js} (97%) rename browser/{chunk-ZZS3RZ6Y.js => chunk-ZZUSF5VQ.js} (97%) rename browser/{collaterals.module-6JA7SBWB.js => collaterals.module-BPY72UFL.js} (99%) rename browser/{fixed-deposits.module-JXL7H2TF.js => fixed-deposits.module-OXMWH4HY.js} (99%) rename browser/{loans.module-2ILSMO5Q.js => loans.module-OA2OYK77.js} (99%) rename browser/{recurring-deposits.module-4BVXLZIB.js => recurring-deposits.module-MDQNXF36.js} (99%) rename browser/{savings.module-KNKOANAZ.js => savings.module-NVX7B35C.js} (99%) rename browser/{shares.module-LQVSIAFS.js => shares.module-TK7ZHSHC.js} (99%) diff --git a/browser/account-transfers.module-SYP4EGKT.js b/browser/account-transfers.module-BXOTWU6G.js similarity index 99% rename from browser/account-transfers.module-SYP4EGKT.js rename to browser/account-transfers.module-BXOTWU6G.js index 037ad640a..34fada524 100644 --- a/browser/account-transfers.module-SYP4EGKT.js +++ b/browser/account-transfers.module-BXOTWU6G.js @@ -1,4 +1,4 @@ -import{a as D}from"./chunk-ZZS3RZ6Y.js";import{$ as a,$e as zt,Ad as ct,Bd as pt,Ca as At,Cd as dt,Da as Mt,De as yt,Ea as kt,Ec as ht,Ed as ut,F as H,Fa as E,Fc as z,G as qt,Ga as t,Gd as U,Ha as c,I as V,Ia as v,Ja as g,Jc as Q,Jd as ft,Ka as Te,Kc as _,L as h,Lc as W,M as C,Ma as he,Mc as tt,Na as Ce,Nd as Pe,Nf as Re,Oa as be,Pc as Ft,Pf as Le,Qa as w,Qc as ke,Qf as He,Ra as vt,Rc as et,Rd as xt,Rf as je,Sc as Ct,Ta as o,Tc as Fe,Ua as s,Ub as N,Uc as nt,Va as Lt,We as jt,X as ce,Xb as Tt,Xc as it,Xd as Ne,Xe as $t,Yb as G,Ye as Ut,Zf as $e,_b as pe,_c as at,_e as Gt,ab as ye,ad as Oe,bb as Ee,bc as j,bf as Qt,cb as Z,cd as bt,cf as Wt,da as I,db as P,dd as Be,ea as A,ed as F,ef as Yt,fa as Vt,fd as q,ff as Jt,hf as Kt,ia as u,id as $,ka as m,kd as rt,kf as Ot,lb as De,oa as n,oc as Ae,od as Y,pa as e,pd as ot,qa as f,qd as we,qe,ra as R,rb as M,re as Ve,sa as L,sd as st,sg as Ue,td as J,ua as O,ud as Ht,va as T,vd as K,wa as b,wd as lt,xc as k,yd as mt,za as Rt,zc as Me}from"./chunk-SXJVCOHC.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(` +import{a as D}from"./chunk-ZZUSF5VQ.js";import{$ as a,$e as zt,Ad as ct,Bd as pt,Ca as At,Cd as dt,Da as Mt,De as yt,Ea as kt,Ec as ht,Ed as ut,F as H,Fa as E,Fc as z,G as qt,Ga as t,Gd as U,Ha as c,I as V,Ia as v,Ja as g,Jc as Q,Jd as ft,Ka as Te,Kc as _,L as h,Lc as W,M as C,Ma as he,Mc as tt,Na as Ce,Nd as Pe,Nf as Re,Oa as be,Pc as Ft,Pf as Le,Qa as w,Qc as ke,Qf as He,Ra as vt,Rc as et,Rd as xt,Rf as je,Sc as Ct,Ta as o,Tc as Fe,Ua as s,Ub as N,Uc as nt,Va as Lt,We as jt,X as ce,Xb as Tt,Xc as it,Xd as Ne,Xe as $t,Yb as G,Ye as Ut,Zf as $e,_b as pe,_c as at,_e as Gt,ab as ye,ad as Oe,bb as Ee,bc as j,bf as Qt,cb as Z,cd as bt,cf as Wt,da as I,db as P,dd as Be,ea as A,ed as F,ef as Yt,fa as Vt,fd as q,ff as Jt,hf as Kt,ia as u,id as $,ka as m,kd as rt,kf as Ot,lb as De,oa as n,oc as Ae,od as Y,pa as e,pd as ot,qa as f,qd as we,qe,ra as R,rb as M,re as Ve,sa as L,sd as st,sg as Ue,td as J,ua as O,ud as Ht,va as T,vd as K,wa as b,wd as lt,xc as k,yd as mt,za as Rt,zc as Me}from"./chunk-JFTPDLDM.js";import{a as Pt,b as Nt}from"./chunk-O7S4L63H.js";var We=()=>["../","edit"],Ye=()=>["../","list-account-transactions"];function Je(i,p){i&1&&(n(0,"button",1),t(1),o(2,"translate"),e()),i&2&&(m("routerLink",w(4,Ye)),a(),v(` `,s(2,2,"labels.buttons.View Transactions History"),` `))}function Ke(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Within Bank")," "))}function Xe(i,p){i&1&&(n(0,"span"),t(1),o(2,"translate"),e()),i&2&&(a(),v(" ",s(2,1,"labels.inputs.Own Account")," "))}var Xt=(()=>{class i{constructor(r){this.route=r,this.allowclientedit=!1,this.route.data.subscribe(d=>{this.standingInstructionsData=d.standingInstructionsData,this.standingInstructionsData.fromClient.id===this.standingInstructionsData.toClient.id&&(this.allowclientedit=!1)})}static{this.\u0275fac=function(d){return new(d||i)(I(N))}}static{this.\u0275cmp=A({type:i,selectors:[["mifosx-view-standing-instructions"]],decls:215,vars:90,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],[1,"container"],[1,"layout-row-wrap","responsive-column"],[1,"mat-h2","flex-fill"],[3,"inset"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],[4,"ngIf"]],template:function(d,l){d&1&&(n(0,"div",0),t(1,` `),n(2,"button",1),t(3,` diff --git a/browser/assets/translations/cs-CS.json b/browser/assets/translations/cs-CS.json index 6d5971c9a..a92e6e91e 100644 --- a/browser/assets/translations/cs-CS.json +++ b/browser/assets/translations/cs-CS.json @@ -3043,6 +3043,7 @@ "Loan Products": "Úvěrové produkty", "Loan Provisioning Criteria Organization": "Definujte kritéria pro poskytování úvěrů pro organizaci", "Loan Tranche Details": "Podrobnosti o tranši úvěru", + "Loan Term Variations": "Variace podmínek úvěru", "Loan View": "Pohled na půjčku", "Loan products define the rules, default settings": "Úvěrové produkty definují pravidla, výchozí nastavení a omezení pro nabídky půjček finanční instituce. Úvěrový produkt poskytuje pro klienty finanční instituce šablonu pro více úvěrových účtů.", "Loan": "Půjčka", diff --git a/browser/assets/translations/de-DE.json b/browser/assets/translations/de-DE.json index d912c7336..f75796930 100644 --- a/browser/assets/translations/de-DE.json +++ b/browser/assets/translations/de-DE.json @@ -3042,6 +3042,7 @@ "Loan Products": "Kreditprodukte", "Loan Provisioning Criteria Organization": "Definieren Sie Kreditbereitstellungskriterien für die Organisation", "Loan Tranche Details": "Details zur Darlehenstranche", + "Loan Term Variations": "Begriffsvariationen des Darlehens", "Loan View": "Kreditansicht", "Loan products define the rules, default settings": "Kreditprodukte definieren die Regeln, Standardeinstellungen und Einschränkungen für die Kreditangebote eines Finanzinstituts. Ein Kreditprodukt bietet eine Vorlage für mehrere Kreditkonten für die Kunden des Finanzinstituts.", "Loan": "Darlehen", diff --git a/browser/assets/translations/en-US.json b/browser/assets/translations/en-US.json index 5ee1253c1..2b01e75e4 100644 --- a/browser/assets/translations/en-US.json +++ b/browser/assets/translations/en-US.json @@ -3136,6 +3136,7 @@ "Loan Products": "Loan Products", "Loan Provisioning Criteria Organization": "Define Loan Provisioning Criteria for Organization", "Loan Tranche Details": "Loan Tranche Details", + "Loan Term Variations": "Loan Term Variations", "Loan View": "Loan View", "Loan products define the rules, default settings": "Loan products define the rules, default settings, and constraints for a financial institution's lending offerings. A loan product provides a template for multiple loan accounts for the financial institution's clients.", "Loan": "Loan", diff --git a/browser/assets/translations/es-CL.json b/browser/assets/translations/es-CL.json index 2d2050cd5..cc90b1e3b 100644 --- a/browser/assets/translations/es-CL.json +++ b/browser/assets/translations/es-CL.json @@ -3043,6 +3043,7 @@ "Loan Products": "Productos de Crédito", "Loan Provisioning Criteria Organization": "Definir criterios de concesión de Créditos para la organización", "Loan Tranche Details": "Detalles de la Dispersión de Crédito", + "Loan Term Variations": "Variaciones de Términos del Crédito", "Loan View": "Vista de Crédito", "Loan products define the rules, default settings": "Los productos crediticios definen las reglas, la configuración predeterminada y las restricciones para las ofertas de Créditos de una institución financiera. Un producto de Crédito proporciona una plantilla para múltiples cuentas de Crédito para los clientes de la institución financiera.", "Loan": "Crédito", diff --git a/browser/assets/translations/es-MX.json b/browser/assets/translations/es-MX.json index aee096f3a..c6942acda 100644 --- a/browser/assets/translations/es-MX.json +++ b/browser/assets/translations/es-MX.json @@ -3044,6 +3044,7 @@ "Loan Products": "Productos de Crédito", "Loan Provisioning Criteria Organization": "Definir criterios de concesión de Créditos para la organización", "Loan Tranche Details": "Detalles de la Dispersión de Crédito", + "Loan Term Variations": "Variaciones de Términos del Crédito", "Loan View": "Vista de Crédito", "Loan products define the rules, default settings": "Los productos crediticios definen las reglas, la configuración predeterminada y las restricciones para las ofertas de Créditos de una institución financiera. Un producto de Crédito proporciona una plantilla para múltiples cuentas de Crédito para los clientes de la institución financiera.", "Loan": "Crédito", diff --git a/browser/assets/translations/fr-FR.json b/browser/assets/translations/fr-FR.json index d8ae26659..f8babe484 100644 --- a/browser/assets/translations/fr-FR.json +++ b/browser/assets/translations/fr-FR.json @@ -3042,6 +3042,7 @@ "Loan Products": "Produits de prêt", "Loan Provisioning Criteria Organization": "Définir les critères de provisionnement des prêts pour l'organisation", "Loan Tranche Details": "Détails de la tranche de prêt", + "Loan Term Variations": "Variations de Durée du Prêt", "Loan View": "Vue du prêt", "Loan products define the rules, default settings": "Les produits de prêt définissent les règles, les paramètres par défaut et les contraintes des offres de prêt d'une institution financière. Un produit de prêt fournit un modèle pour plusieurs comptes de prêt pour les clients de l'institution financière.", "Loan": "Prêt", diff --git a/browser/assets/translations/it-IT.json b/browser/assets/translations/it-IT.json index d53c3be24..faee7393b 100644 --- a/browser/assets/translations/it-IT.json +++ b/browser/assets/translations/it-IT.json @@ -3043,6 +3043,7 @@ "Loan Products": "Prodotti di prestito", "Loan Provisioning Criteria Organization": "Definire i criteri di erogazione del prestito per l'organizzazione", "Loan Tranche Details": "Dettagli della tranche del prestito", + "Loan Term Variations": "Variazioni dei Termini del Prestito", "Loan View": "Visualizzazione prestito", "Loan products define the rules, default settings": "I prodotti di prestito definiscono le regole, le impostazioni predefinite e i vincoli per le offerte di prestito di un istituto finanziario. Un prodotto di prestito fornisce un modello per più conti di prestito per i clienti dell'istituto finanziario.", "Loan": "Prestito", diff --git a/browser/assets/translations/ko-KO.json b/browser/assets/translations/ko-KO.json index ec0b5d896..88762ea12 100644 --- a/browser/assets/translations/ko-KO.json +++ b/browser/assets/translations/ko-KO.json @@ -3043,6 +3043,7 @@ "Loan Products": "대출상품", "Loan Provisioning Criteria Organization": "조직에 대한 대출 준비 기준 정의", "Loan Tranche Details": "대출 트랜치 세부정보", + "Loan Term Variations": "대출 용어 변형", "Loan View": "대출보기", "Loan products define the rules, default settings": "대출 상품은 금융 기관의 대출 상품에 대한 규칙, 기본 설정 및 제약 조건을 정의합니다. 대출 상품은 금융 기관 고객을 위한 여러 대출 계정에 대한 템플릿을 제공합니다.", "Loan": "대출", diff --git a/browser/assets/translations/lt-LT.json b/browser/assets/translations/lt-LT.json index 7ba48e34c..5bc64cf72 100644 --- a/browser/assets/translations/lt-LT.json +++ b/browser/assets/translations/lt-LT.json @@ -3043,6 +3043,7 @@ "Loan Products": "Paskolos produktai", "Loan Provisioning Criteria Organization": "Apibrėžkite organizacijos paskolos suteikimo kriterijus", "Loan Tranche Details": "Išsami informacija apie paskolos dalį", + "Loan Term Variations": "Paskolos terminų variacijos", "Loan View": "Paskolos vaizdas", "Loan products define the rules, default settings": "Paskolų produktai apibrėžia finansų įstaigos skolinimo pasiūlymų taisykles, numatytuosius nustatymus ir apribojimus. Paskolos produktas suteikia šabloną kelioms paskolos paskyroms finansų įstaigos klientams.", "Loan": "Paskola", diff --git a/browser/assets/translations/lv-LV.json b/browser/assets/translations/lv-LV.json index 6e960a16e..286fd2701 100644 --- a/browser/assets/translations/lv-LV.json +++ b/browser/assets/translations/lv-LV.json @@ -3043,6 +3043,7 @@ "Loan Products": "Aizdevuma produkti", "Loan Provisioning Criteria Organization": "Definējiet organizācijas aizdevuma piešķiršanas kritērijus", "Loan Tranche Details": "Sīkāka informācija par aizdevuma daļu", + "Loan Term Variations": "Aizdevuma terminu variācijas", "Loan View": "Aizdevuma skats", "Loan products define the rules, default settings": "Aizdevuma produkti nosaka noteikumus, noklusējuma iestatījumus un ierobežojumus finanšu iestādes aizdevumu piedāvājumiem. Aizdevuma produkts nodrošina veidni vairākiem aizdevuma kontiem finanšu iestādes klientiem.", "Loan": "Aizdevums", diff --git a/browser/assets/translations/ne-NE.json b/browser/assets/translations/ne-NE.json index 3ba1e55f0..f841fd217 100644 --- a/browser/assets/translations/ne-NE.json +++ b/browser/assets/translations/ne-NE.json @@ -3043,6 +3043,7 @@ "Loan Products": "ऋण उत्पादनहरू", "Loan Provisioning Criteria Organization": "संस्थाको लागि ऋण प्रावधान मापदण्ड परिभाषित गर्नुहोस्", "Loan Tranche Details": "ऋण किस्ता विवरण", + "Loan Term Variations": "ऋण अवधि भिन्नताहरू", "Loan View": "ऋण दृश्य", "Loan products define the rules, default settings": "ऋण उत्पादनहरूले वित्तीय संस्थाको ऋण प्रस्तावहरूको लागि नियमहरू, पूर्वनिर्धारित सेटिङहरू, र अवरोधहरू परिभाषित गर्दछ। ऋण उत्पादनले वित्तीय संस्थाका ग्राहकहरूको लागि बहु ऋण खाताहरूको लागि टेम्प्लेट प्रदान गर्दछ।", "Loan": "ऋण", diff --git a/browser/assets/translations/pt-PT.json b/browser/assets/translations/pt-PT.json index 84dd4e8c8..730f2cdd1 100644 --- a/browser/assets/translations/pt-PT.json +++ b/browser/assets/translations/pt-PT.json @@ -3043,6 +3043,7 @@ "Loan Products": "Produtos de empréstimo", "Loan Provisioning Criteria Organization": "Definir critérios de provisionamento de empréstimos para a organização", "Loan Tranche Details": "Detalhes da parcela do empréstimo", + "Loan Term Variations": "Variações de Prazo do Empréstimo", "Loan View": "Visão do empréstimo", "Loan products define the rules, default settings": "Os produtos de empréstimo definem as regras, configurações padrão e restrições para as ofertas de empréstimo de uma instituição financeira. Um produto de empréstimo fornece um modelo para múltiplas contas de empréstimo para os clientes da instituição financeira.", "Loan": "Empréstimo", diff --git a/browser/assets/translations/sw-SW.json b/browser/assets/translations/sw-SW.json index 6c3984d95..5919ffa04 100644 --- a/browser/assets/translations/sw-SW.json +++ b/browser/assets/translations/sw-SW.json @@ -3042,6 +3042,7 @@ "Loan Products": "Bidhaa za Mkopo", "Loan Provisioning Criteria Organization": "Bainisha Vigezo vya Utoaji wa Mkopo kwa Shirika", "Loan Tranche Details": "Maelezo ya Mkopo", + "Loan Term Variations": "Tofauti za Muda za Mkopo", "Loan View": "Mtazamo wa mkopo", "Loan products define the rules, default settings": "Bidhaa za mkopo hufafanua sheria, mipangilio chaguo-msingi na vikwazo vya utoaji wa mikopo wa taasisi ya fedha. Bidhaa ya mkopo hutoa kiolezo cha akaunti nyingi za mkopo kwa wateja wa taasisi ya fedha.", "Loan": "Mkopo", diff --git a/browser/chunk-O3TIIV3O.js b/browser/chunk-CHY6SRC3.js similarity index 82% rename from browser/chunk-O3TIIV3O.js rename to browser/chunk-CHY6SRC3.js index 535347f19..9c6961ea0 100644 --- a/browser/chunk-O3TIIV3O.js +++ b/browser/chunk-CHY6SRC3.js @@ -1 +1 @@ -import{F as r,I as c,Uf as a}from"./chunk-SXJVCOHC.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{F as r,I as c,Uf as a}from"./chunk-JFTPDLDM.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-SXJVCOHC.js b/browser/chunk-JFTPDLDM.js similarity index 99% rename from browser/chunk-SXJVCOHC.js rename to browser/chunk-JFTPDLDM.js index f73c76866..de9306b11 100644 --- a/browser/chunk-SXJVCOHC.js +++ b/browser/chunk-JFTPDLDM.js @@ -13,7 +13,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` `+t.message,r,e,n),t[iN]=r,t[t0]=null,t}function lN(t,i,e,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==aN?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(rN,` `)}`}var hr=Zb(jb("Optional"),8);var Yr=Zb(jb("SkipSelf"),4);function Fs(t,i){let e=t.hasOwnProperty(J3);return e?t[J3]:null}function dN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;nArray.isArray(e)?i8(e,i):i(e))}function Xb(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 mN(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,pN(t,n,i,e)),n}function Th(t,i){let e=H1(t,i);if(e>=0)return t[e|1]}function H1(t,i){return fN(t,i,1)}function fN(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 i8(i,o=>{let s=o;Kh(s,a,[],n)&&(r||=[],r.push(s))}),r!==void 0&&ry(r,a),e}function ry(t,i){for(let e=0;e{i(a,n)})}}function Kh(t,i,e,n){if(t=di(t),!t)return!1;let r=null,a=Gv(t),o=!a&&Bo(t);if(!a&&!o){let d=t.ngModule;if(a=Gv(d),a)r=d;else return!1}else{if(o&&!o.standalone)return!1;r=t}let s=n.has(r);if(o){if(s)return!1;if(n.add(r),o.dependencies){let d=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let h of d)Kh(h,i,e,n)}}else if(a){if(a.imports!=null&&!s){n.add(r);let h;try{i8(a.imports,v=>{Kh(v,i,e,n)&&(h||=[],h.push(v))})}finally{}h!==void 0&&ry(h,i)}if(!s){let h=Fs(r)||(()=>new r);i({provide:r,useFactory:h,deps:Ai},r),i({provide:ey,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;r8(d,v=>{i(v,h)})}}else return!1;return r!==t&&t.providers!==void 0}function r8(t,i){for(let e of t)qb(e)&&(e=e.\u0275providers),Array.isArray(e)?r8(e,i):i(e)}var _N=Wt({provide:String,useValue:Wt});function ay(t){return t!==null&&typeof t=="object"&&_N in t}function vN(t){return!!(t&&t.useExisting)}function bN(t){return!!(t&&t.useFactory)}function _l(t){return typeof t=="function"}function yN(t){return!!t.useClass}var T0=new A(""),Y3={},Qv={},Ah;function A0(){return Ah===void 0&&(Ah=new i0),Ah}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,Xh(i,o=>this.processProvider(o)),this.records.set(Jb,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(ey,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=Xa(this),n=qi(void 0),r;try{return i()}finally{Xa(e),qi(n)}}get(i,e=Hs,n=ft.Default){if(w1(this),i.hasOwnProperty(qv))return i[qv](this);n=I0(n);let r,a=Xa(this),o=qi(void 0);try{if(!(n&ft.SkipSelf)){let d=this.records.get(i);if(d===void 0){let h=DN(i)&&O0(i);h&&this.injectableDefInScope(h)?d=dl(Zh(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 cN(s,i,"R3InjectorError",this.source)}else throw s}finally{qi(o),Xa(a)}}resolveInjectorInitializers(){let i=ht(null),e=Xa(this),n=qi(void 0),r;try{let a=this.get(gl,Ai,ft.Self);for(let o of a)o()}finally{Xa(e),qi(n),ht(i)}}toString(){let i=[],e=this.records;for(let n of e.keys())i.push(Qi(n));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=di(i);let e=_l(i)?i:di(i&&i.provide),n=xN(i);if(!_l(i)&&i.multi===!0){let r=this.records.get(e);r||(r=dl(void 0,Y3,!0),r.factory=()=>Qh(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=ht(null);try{return e.value===Qv?Yb(Qi(i)):e.value===Y3&&(e.value=Qv,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&wN(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 Zh(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 CN(t);throw new Ce(204,!1)}function CN(t){if(t.length>0)throw new Ce(204,!1);let e=QH(t);return e!==null?()=>e.factory(t):()=>new t}function xN(t){if(ay(t))return dl(void 0,t.useValue);{let i=oy(t);return dl(i,Y3)}}function oy(t,i,e){let n;if(_l(t)){let r=di(t);return Fs(r)||Zh(r)}else if(ay(t))n=()=>di(t.useValue);else if(bN(t))n=()=>t.useFactory(...Qh(t.deps||[]));else if(vN(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(MN(t))n=()=>new r(...Qh(t.deps));else return Fs(r)||Zh(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 MN(t){return!!t.deps}function wN(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function DN(t){return typeof t=="function"||typeof t=="object"&&t instanceof A}function Xh(t,i){for(let e of t)Array.isArray(e)?Xh(e,i):e&&qb(e)?Xh(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=Xa(e),a=qi(void 0);try{return i()}finally{Xa(r),qi(a)}}function a8(){return Qb()!==void 0||_1()!=null}function o8(t){if(!a8())throw new Ce(-203,!1)}function SN(t){let i=ii.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function kN(t){return typeof t=="function"}var lo=0,ct=1,et=2,vi=3,qr=4,Zi=5,vl=6,r0=7,qn=8,bl=9,ao=10,an=11,I1=12,Kv=13,Sl=14,pr=15,Bs=16,ul=17,oo=18,V0=19,sy=20,No=21,Vh=22,js=23,Ir=24,fl=25,Sn=26,cy=1;var Us=7,a0=8,yl=9,_i=10;function Fo(t){return Array.isArray(t)&&typeof t[cy]=="object"}function uo(t){return Array.isArray(t)&&t[cy]===!0}function s8(t){return(t.flags&4)!==0}function kl(t){return t.componentOffset>-1}function L0(t){return(t.flags&1)===1}function ya(t){return!!t.template}function o0(t){return(t[et]&512)!==0}function El(t){return(t[et]&256)===256}var Jh=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function ly(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Pe=(()=>{let t=()=>dy;return t.ngInherit=!0,t})();function dy(t){return t.type.prototype.ngOnChanges&&(t.setInput=ON),EN}function EN(){let t=my(this),i=t?.current;if(i){let e=t.previous;if(e===ba)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function ON(t,i,e,n,r){let a=this.declaredInputs[n],o=my(t)||IN(t,{previous:ba,current:null}),s=o.current||(o.current={}),d=o.previous,h=d[a];s[a]=new Jh(h&&h.currentValue,e,d===ba),ly(t,i,r,e)}var uy="__ngSimpleChanges__";function my(t){return t[uy]||null}function IN(t,i){return t[uy]=i}var Zv=null;var Qt=function(t,i=null,e){Zv?.(t,i,e)},py="svg",PN="math";function Ca(t){for(;Array.isArray(t);)t=t[lo];return t}function fy(t,i){return Ca(i[t])}function Da(t,i){return Ca(i[t.index])}function c8(t,i){return t.data[i]}function N1(t,i){return t[i]}function hy(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function xa(t,i){let e=i[t];return Fo(e)?e:e[lo]}function TN(t){return(t[et]&4)===4}function l8(t){return(t[et]&128)===128}function AN(t){return uo(t[vi])}function jo(t,i){return i==null?null:t[i]}function gy(t){t[ul]=0}function _y(t){t[et]&1024||(t[et]|=1024,l8(t)&&Ol(t))}function VN(t,i){for(;t>0;)i=i[Sl],t--;return i}function R0(t){return!!(t[et]&9216||t[Ir]?.dirty)}function e6(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,!l8(i)));)i=$s(i)}function vy(t,i){if(El(t))throw new Ce(911,!1);t[No]===null&&(t[No]=[]),t[No].push(i)}function LN(t,i){if(t[No]===null)return;let e=t[No].indexOf(i);e!==-1&&t[No].splice(e,1)}function $s(t){let i=t[vi];return uo(i)?i[vi]:i}function d8(t){return t[r0]??=[]}function u8(t){return t.cleanup??=[]}function RN(t,i,e,n){let r=d8(i);r.push(e),t.firstCreatePass&&u8(t).push(n,r.length-1)}var ut={lFrame:wy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var t6=!1;function zN(){return ut.lFrame.elementDepthCount}function HN(){ut.lFrame.elementDepthCount++}function NN(){ut.lFrame.elementDepthCount--}function m8(){return ut.bindingsEnabled}function by(){return ut.skipHydrationRootTNode!==null}function FN(t){return ut.skipHydrationRootTNode===t}function BN(){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=yy();for(;t!==null&&t.type===64;)t=t.parent;return t}function yy(){return ut.lFrame.currentTNode}function jN(){let t=ut.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function Uo(t,i){let e=ut.lFrame;e.currentTNode=t,e.isParent=i}function p8(){return ut.lFrame.isParent}function f8(){ut.lFrame.isParent=!1}function UN(){return ut.lFrame.contextLView}function Cy(){return t6}function s0(t){let i=t6;return t6=t,i}function Zs(){let t=ut.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function h8(){return ut.lFrame.bindingIndex}function $N(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 GN(){return ut.lFrame.inI18n}function WN(t,i){let e=ut.lFrame;e.bindingIndex=e.bindingRootIndex=t,n6(i)}function qN(){return ut.lFrame.currentDirectiveIndex}function n6(t){ut.lFrame.currentDirectiveIndex=t}function YN(t){let i=ut.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function g8(){return ut.lFrame.currentQueryIndex}function z0(t){ut.lFrame.currentQueryIndex=t}function QN(t){let i=t[ct];return i.type===2?i.declTNode:i.type===1?t[Zi]:null}function xy(t,i,e){if(e&ft.SkipSelf){let r=i,a=t;for(;r=r.parent,r===null&&!(e&ft.Host);)if(r=QN(a),r===null||(a=a[Sl],r.type&10))break;if(r===null)return!1;i=r,t=a}let n=ut.lFrame=My();return n.currentTNode=i,n.lView=t,!0}function _8(t){let i=My(),e=t[ct];ut.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function My(){let t=ut.lFrame,i=t===null?null:t.child;return i===null?wy(t):i}function wy(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=i),i}function Dy(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Sy=Dy;function v8(){let t=Dy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function KN(t){return(ut.lFrame.contextLView=VN(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 c8(t.tView,t.selectedIndex)}function Ut(){ut.lFrame.currentNamespace=py}function Sa(){ZN()}function ZN(){ut.lFrame.currentNamespace=null}function XN(){return ut.lFrame.currentNamespace}var ky=!0;function H0(){return ky}function N0(t){ky=t}function JN(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=i.type.prototype;if(n){let o=dy(i);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}function b8(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,Xv(s,a)):Xv(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 tF(t){return(t.flags&8)!==0}function nF(t){return(t.flags&16)!==0}function iF(t,i,e){let n=0;for(;ni){o=a-1;break}}}for(;a>16}function l0(t,i){let e=aF(t),n=i;for(;e>0;)n=n[Sl],e--;return n}var i6=!0;function d0(t){let i=i6;return i6=t,i}var oF=256,Py=oF-1,Ty=5,sF=0,va={};function cF(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(S1)&&(n=e[S1]),n==null&&(n=e[S1]=sF++);let r=n&Py,a=1<>Ty)]|=a}function u0(t,i){let e=Ay(t,i);if(e!==-1)return e;let n=i[ct];n.firstCreatePass&&(t.injectorIndex=i.length,Rh(n.data,t),Rh(i,null),Rh(n.blueprint,null));let r=y8(t,i),a=t.injectorIndex;if(Iy(r)){let o=c0(r),s=l0(r,i),d=s[ct].data;for(let h=0;h<8;h++)i[a+h]=s[o+h]|d[o+h]}return i[a+8]=r,a}function Rh(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Ay(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function y8(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;r!==null;){if(n=Hy(r),n===null)return hl;if(e++,r=r[Sl],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return hl}function r6(t,i,e){cF(t,i,e)}function lF(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,r=0;for(;r>20,C=n?s:s+v,S=r?s+v:h;for(let D=C;D=d&&L.type===e)return D}if(r){let D=o[d];if(D&&ya(D)&&D.type===e)return d}return null}function P1(t,i,e,n,r){let a=t[e],o=i.data;if(a instanceof Ws){let s=a;s.resolving&&Yb(tN(o[e]));let d=d0(s.canSeeViewProviders);s.resolving=!0;let h,v=s.injectImpl?qi(s.injectImpl):null,C=xy(t,n,ft.Default);try{a=t[e]=s.factory(void 0,r,o,t,n),i.firstCreatePass&&e>=n.directiveStart&&JN(e,o[e],i)}finally{v!==null&&qi(v),d0(d),s.resolving=!1,Sy()}}return a}function uF(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&Py:mF:i}function eb(t,i,e){let n=1<>Ty)]&n)}function tb(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 Ry(this._tNode,this._lView,i,I0(n),e)}};function mF(){return new Ns(yi(),je())}function we(t){return z1(()=>{let i=t.prototype.constructor,e=i[J3]||a6(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let a=r[J3]||a6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function a6(t){return Ub(t)?()=>{let i=a6(di(t));return i&&i()}:Fs(t)}function pF(t,i,e,n,r){let a=t,o=i;for(;a!==null&&o!==null&&o[et]&2048&&!o0(o);){let s=zy(a,o,e,n|ft.Self,va);if(s!==va)return s;let d=a.parent;if(!d){let h=o[sy];if(h){let v=h.get(e,va,n);if(v!==va)return v}d=Hy(o),o=o[Sl]}a=d}return r}function Hy(t){let i=t[ct],e=i.type;return e===2?i.declTNode:e===1?t[Zi]:null}function F0(t){return lF(yi(),t)}function nb(t,i=null,e=null,n){let r=Ny(t,i,e,n);return r.resolveInjectorInitializers(),r}function Ny(t,i=null,e=null,n,r=new Set){let a=[e||Ai,gN(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 nb({name:""},e,i,"");{let n=i.name??"";return nb({name:n},i.parent,i.providers,n)}}static \u0275prov=R({token:t,providedIn:"any",factory:()=>ae(Jb)});static __NG_ELEMENT_ID__=-1};var hn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>F0(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},fF=new A("");fF.__NG_ELEMENT_ID__=t=>{let i=yi();if(i===null)throw new Ce(204,!1);if(i.type&2)return i.value;if(t&ft.Optional)return null;throw new Ce(204,!1)};var Fy=!1,$o=(()=>{class t{static __NG_ELEMENT_ID__=hF;static __NG_ENV_ID__=e=>e}return t})(),m0=class extends $o{_lView;constructor(i){super(),this._lView=i}onDestroy(i){let e=this._lView;return El(e)?(i(),()=>{}):(vy(e,i),()=>LN(e,i))}};function hF(){return new m0(je())}var qs=class{},C8=new A("",{providedIn:"root",factory:()=>!1});var By=new A(""),jy=new A(""),mo=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Je(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})();var o6=class extends N{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,a8()&&(this.destroyRef=u($o,{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=o6;function T1(...t){}function Uy(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 ib(t){return queueMicrotask(()=>t()),()=>{t=T1}}var x8="isAngularZone",p0=x8+"_ID",gF=0,se=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new j(!1);onMicrotaskEmpty=new j(!1);onStable=new j(!1);onError=new j(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=Fy}=i;if(typeof Zone>"u")throw new Ce(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,bF(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(x8)===!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,_F,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)}},_F={};function M8(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 vF(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){Uy(()=>{t.callbackScheduled=!1,s6(t),t.isCheckStableRunning=!0,M8(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),s6(t)}function bF(t){let i=()=>{vF(t)},e=gF++;t._inner=t._inner.fork({name:"angular",properties:{[x8]:!0,[p0]:e,[p0+e]:!0},onInvokeTask:(n,r,a,o,s,d)=>{if(yF(d))return n.invokeTask(a,o,s,d);try{return rb(t),n.invokeTask(a,o,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),ab(t)}},onInvoke:(n,r,a,o,s,d,h)=>{try{return rb(t),n.invoke(a,o,s,d,h)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!CF(d)&&i(),ab(t)}},onHasTask:(n,r,a,o)=>{n.hasTask(a,o),r===a&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,s6(t),M8(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 s6(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rb(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ab(t){t._nesting--,M8(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 yF(t){return $y(t,"__ignore_ng_zone__")}function CF(t){return $y(t,"__scheduler_tick__")}function $y(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function xF(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)}},MF=new A("",{providedIn:"root",factory:()=>{let t=u(se),i=u(Vi);return e=>t.runOutsideAngular(()=>i.handleError(e))}});function ob(t,i){return Bb(t,i)}function wF(t){return Bb(Fb,t)}var Gy=(ob.required=wF,ob);function DF(){return Pl(yi(),je())}function Pl(t,i){return new Y(Da(t,i))}var Y=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=DF}return t})();function Wy(t){return t instanceof Y?t.nativeElement:t}function Go(t){return typeof t=="function"&&t[Gi]!==void 0}function Hn(t,i){let e=mh(t,i?.equal),n=e[Gi];return e.set=r=>g1(n,r),e.update=r=>ph(n,r),e.asReadonly=SF.bind(e),e}function SF(){let t=this[Gi];if(t.readonlyFn===void 0){let i=()=>this();i[Gi]=t,t.readonlyFn=i}return t.readonlyFn}function qy(t){return Go(t)&&typeof t.set=="function"}function kF(){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=uN(i);(this._changesDetected=!dN(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]=kF};function Yy(t){return(t.flags&128)===128}var Qy=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Qy||{}),Ky=new Map,EF=0;function OF(){return EF++}function IF(t){Ky.set(t[V0],t)}function c6(t){Ky.delete(t[V0])}var sb="__ngContext__";function Tl(t,i){Fo(i)?(t[sb]=i[V0],IF(i)):t[sb]=i}function Zy(t){return Jy(t[I1])}function Xy(t){return Jy(t[qr])}function Jy(t){for(;t!==null&&!uo(t);)t=t[qr];return t}var l6;function eC(t){l6=t}function tC(){if(l6!==void 0)return l6;if(typeof document<"u")return document;throw new Ce(210,!1)}var Js=new A("",{providedIn:"root",factory:()=>PF}),PF="ng",w8=new A(""),Wo=new A("",{providedIn:"platform",factory:()=>"unknown"});var ze=new A(""),B1=new A("",{providedIn:"root",factory:()=>tC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var TF="h",AF="b";var nC=!1,VF=new A("",{providedIn:"root",factory:()=>nC});var D8=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(D8||{}),Al=new A(""),cb=new Set;function qo(t){cb.has(t)||(cb.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var S8=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=LF}return t})();function LF(){return new S8(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||{}),iC=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),RF=[ml.EarlyRead,ml.Write,ml.MixedReadWrite,ml.Read],zF=(()=>{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 RF)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(D8.AFTER_NEXT_RENDER,e):e()}static \u0275prov=R({token:t,providedIn:"root",factory:()=>new t})}return t})(),d6=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&&o8(ec);let e=i?.injector??u(Te);return qo("NgAfterRender"),rC(t,e,i,!1)}function kt(t,i){!i?.injector&&o8(kt);let e=i?.injector??u(Te);return qo("NgAfterNextRender"),rC(t,e,i,!0)}function HF(t,i){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function rC(t,i,e,n){let r=i.get(iC);r.impl??=i.get(zF);let a=i.get(Al,null,{optional:!0}),o=e?.phase??ml.MixedReadWrite,s=e?.manualCleanup!==!0?i.get($o):null,d=i.get(S8,null,{optional:!0}),h=new d6(r.impl,HF(t,o),d?.view,n,s,a?.snapshot(null));return r.impl.register(h),h}var NF=(t,i,e,n)=>{};function FF(t,i,e,n){NF(t,i,e,n)}var BF=()=>null;function aC(t,i,e=!1){return BF(t,i,e)}function oC(t,i){let e=t.contentQueries;if(e!==null){let n=ht(null);try{for(let r=0;rt,createScript:t=>t,createScriptURL:t=>t})}catch{}return U3}function B0(t){return jF()?.createHTML(t)||t}var $3;function sC(){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 lb(t){return sC()?.createHTML(t)||t}function db(t){return sC()?.createScriptURL(t)||t}var so=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nb})`}},m6=class extends so{getTypeName(){return"HTML"}},p6=class extends so{getTypeName(){return"Style"}},f6=class extends so{getTypeName(){return"Script"}},h6=class extends so{getTypeName(){return"URL"}},g6=class extends so{getTypeName(){return"ResourceURL"}};function Pr(t){return t instanceof so?t.changingThisBreaksApplicationSecurity:t}function po(t,i){let e=UF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${Nb})`)}return e===i}function UF(t){return t instanceof so&&t.getTypeName()||null}function cC(t){return new m6(t)}function lC(t){return new p6(t)}function dC(t){return new f6(t)}function uC(t){return new h6(t)}function mC(t){return new g6(t)}function $F(t){let i=new v6(t);return GF()?new _6(i):i}var _6=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}}},v6=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 GF(){try{return!!new window.DOMParser().parseFromString(B0(""),"text/html")}catch{return!1}}var WF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function j0(t){return t=String(t),t.match(WF)?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 pC=fo("area,br,col,hr,img,wbr"),fC=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hC=fo("rp,rt"),qF=j1(hC,fC),YF=j1(fC,fo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),QF=j1(hC,fo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ub=j1(pC,YF,QF,qF),gC=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),KF=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"),ZF=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"),XF=j1(gC,KF,ZF),JF=fo("script,style,template"),b6=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=nB(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let a=tB(e);if(a){e=a;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=mb(i).toLowerCase();if(!ub.hasOwnProperty(e))return this.sanitizedSomething=!0,!JF.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r"),!0}endElement(i){let e=mb(i).toLowerCase();ub.hasOwnProperty(e)&&!pC.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(pb(i))}};function eB(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function tB(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw _C(i);return i}function nB(t){let i=t.firstChild;if(i&&eB(t,i))throw _C(i);return i}function mb(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function _C(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var iB=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rB=/([^\#-~ |!])/g;function pb(t){return t.replace(/&/g,"&").replace(iB,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(rB,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var G3;function E8(t,i){let e=null;try{G3=G3||$F(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 b6().sanitizeChildren(fb(e)||e);return B0(s)}finally{if(e){let n=fb(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function fb(t){return"content"in t&&aB(t)?t.content:null}function aB(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=I8();return i?lb(i.sanitize(Ln.HTML,t)||""):po(t,"HTML")?lb(Pr(t)):E8(tC(),Yi(t))}function O8(t){let i=I8();return i?i.sanitize(Ln.URL,t)||"":po(t,"URL")?Pr(t):j0(Yi(t))}function oB(t){let i=I8();if(i)return db(i.sanitize(Ln.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return db(Pr(t));throw new Ce(904,!1)}function sB(t,i){return i==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||i==="href"&&(t==="base"||t==="link")?oB:O8}function vC(t,i,e){return sB(i,e)(t)}function I8(){let t=je();return t&&t[ao].sanitizer}var cB=/^>|^->||--!>|)/g,dB="\u200B$1\u200B";function uB(t){return t.replace(cB,i=>i.replace(lB,dB))}function Xue(t){return t.ownerDocument.defaultView}function Jue(t){return t.ownerDocument}function bC(t){return t instanceof Function?t():t}function mB(t,i,e){let n=t.length;for(;;){let r=t.indexOf(i,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let a=i.length;if(r+a===n||t.charCodeAt(r+a)<=32)return r}e=r+1}}var yC="ng-template";function pB(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 gB(t,i,e,n){if(i===null)return-1;let r=0;if(n||!e){let a=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!Gr(o)&&(i+=hb(a,r),r=""),n=o,a=a||!Gr(n);e++}return r!==""&&(i+=hb(a,r)),i}function xB(t){return t.map(CB).join(",")}function MB(t){let i=[],e=[],n=1,r=2;for(;nSn&&kC(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){HB(t,i,e),(e.flags&64)===64&&NB(t,i,e)}function L8(t,i,e=Da){let n=i.localNames;if(n!==null){let r=i.index+1;for(let a=0;anull;function RB(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&&z8(i,t,e,n,r)){kl(i)&&zB(e,i.index);return}if(i.type&3){let d=Da(i,e);n=RB(n),r=o!=null?o(r,i.value||"",n):r,a.setProperty(d,n,r)}else i.type&12}function zB(t,i){let e=xa(i,t);e[et]&16||(e[et]|=64)}function HB(t,i,e){let n=e.directiveStart,r=e.directiveEnd;kl(e)&&TB(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[No];if(r!==null){i[No]=null;for(let o=0;o{Ol(t.lView)},consumerOnSignalRead(){this.lView[Ir]=this}});function uj(t){let i=t[Ir]??Object.create(mj);return i.lView=t,i}var mj=Be(q({},Yc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=$s(t.lView);for(;i&&!RC(i[ct]);)i=$s(i);i&&_y(i)},consumerOnSignalRead(){this.lView[Ir]=this}});function RC(t){return t.type!==2}function zC(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 pj=100;function HC(t,i=!0,e=0){let r=t[ao].rendererFactory,a=!1;a||r.begin?.();try{fj(t,e)}catch(o){throw i&&$B(t,o),o}finally{a||r.end?.()}}function fj(t,i){let e=Cy();try{s0(!0),x6(t,i);let n=0;for(;R0(t);){if(n===pj)throw new Ce(103,!1);n++,x6(t,1)}}finally{s0(e)}}function hj(t,i,e,n){if(El(i))return;let r=i[et],a=!1,o=!1;_8(i);let s=!0,d=null,h=null;a||(RC(t)?(h=sj(i),d=f1(h)):sh()===null?(s=!1,h=uj(i),d=f1(h)):i[Ir]&&(h1(i[Ir]),i[Ir]=null));try{gy(i),$N(t.bindingStartIndex),e!==null&&EC(t,i,e,2,n);let v=(r&3)===3;if(!a)if(v){let D=t.preOrderCheckHooks;D!==null&&Q3(i,D,null)}else{let D=t.preOrderHooks;D!==null&&K3(i,D,0,null),Lh(i,0)}if(o||gj(i),zC(i),NC(i,0),t.contentQueries!==null&&oC(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),Lh(i,1)}vj(t,i);let C=t.components;C!==null&&BC(i,C,0);let S=t.viewQuery;if(S!==null&&u6(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),Lh(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[Vh]){for(let D of i[Vh])D();i[Vh]=null}a||(VC(i),i[et]&=-73)}catch(v){throw a||Ol(i),v}finally{h!==null&&(s3(h,d),s&&lj(h)),v8()}}function NC(t,i){for(let e=Zy(t);e!==null;e=Xy(e))for(let n=_i;n0&&(t[e-1][qr]=n[qr]);let a=n0(t,_i+i);QB(n[ct],n);let o=a[oo];o!==null&&o.detachView(a[ct]),n[vi]=null,n[qr]=null,n[et]&=-129}return n}function bj(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[ct],this._lView)}onDestroy(i){vy(this._lView,i)}markForCheck(){U8(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[et]&=-129}reattach(){e6(this._lView),this._lView[et]|=128}detectChanges(){this._lView[et]|=1024,HC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=o0(this._lView),e=this._lView[Bs];e!==null&&!i&&B8(e,this._lView),OC(this._lView[ct],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&&GC(n,this._lView),e6(this._lView)}};var Qe=(()=>{class t{static __NG_ELEMENT_ID__=xj}return t})(),yj=Qe,Cj=class extends yj{_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 xj(){return Y0(yi(),je())}function Y0(t,i){return t.type&4?new Cj(i,t,Pl(t,i)):null}function Ll(t,i,e,n,r){let a=t.data[i];if(a===null)a=Mj(t,i,e,n,r),GN()&&(a.flags|=32);else if(a.type&64){a.type=e,a.value=n,a.attrs=r;let o=jN();a.injectorIndex=o===null?-1:o.injectorIndex}return Uo(a,!0),a}function Mj(t,i,e,n,r){let a=yy(),o=p8(),s=o?a:a&&a.parent,d=t.data[i]=Dj(t,s,e,i,n,r);return wj(t,d,a,o),d}function wj(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 Dj(t,i,e,n,r,a){let o=i?i.injectorIndex:-1,s=0;return by()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var nme=new RegExp(`^(\\d+)*(${AF}|${TF})*(.*)`);var Sj=()=>null;function Ml(t,i){return Sj(t,i)}var kj=class{},WC=class{},M6=class{resolveComponentFactory(i){throw Error(`No component factory found for ${Qi(i)}.`)}},Q0=class{static NULL=new M6},En=class{},Ke=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>Ej()}return t})();function Ej(){let t=je(),i=yi(),e=xa(i.index,t);return(Fo(e)?e:t)[an]}var Oj=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>null})}return t})();var Hh={},w6=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,Hh,n);return r!==Hh||e===Hh?r:this.parentInjector.get(i,e,n)}};function D6(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 Nj(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 jj(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function Uj(t,i,e){let n=i instanceof fn?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new w6(e,n):e}function $j(t){let i=t.get(En,null);if(i===null)throw new Ce(407,!1);let e=t.get(Oj,null),n=t.get(qs,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n}}function Gj(t,i){let e=(t.selectors[0][0]||"div").toLowerCase();return xC(i,e,e==="svg"?py:e==="math"?PN:null)}var Ys=class extends WC{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Bj(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=jj(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=xB(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"]:MB(this.componentDef.selectors[0]),d=T8(0,null,null,1,0,null,null,null,null,[s],null),h=Uj(o,r||this.ngModule,i),v=$j(h),C=v.rendererFactory.createRenderer(null,o),S=n?AB(C,n,o.encapsulation,h):Gj(o,C),D=A8(null,d,null,512|DC(o),null,null,v,C,h,null,aC(S,h,!0));D[Sn]=S,_8(D);let L=null;try{let ne=YC(Sn,d,D,"#host",()=>[this.componentDef],!0,0);S&&(wC(C,S,ne),Tl(S,D)),$0(d,D,ne),k8(d,ne,D),QC(d,ne),e!==void 0&&Wj(ne,this.ngContentSelectors,e),L=xa(ne.index,D),D[qn]=L[qn],H8(d,D,null)}catch(ne){throw L!==null&&c6(L),c6(D),ne}finally{Qt(23),v8()}return new S6(this.componentType,D)}finally{ht(a)}}},S6=class extends kj{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e){super(),this._rootLView=e,this._tNode=c8(e[ct],Sn),this.location=Pl(this._tNode,e),this.instance=xa(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=z8(n,r[ct],r,i,e);this.previousInputValues.set(i,e);let o=xa(n.index,r);U8(o,1)}get injector(){return new Ns(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function Wj(t,i,e){let n=t.projection=[];for(let r=0;r{class t{static __NG_ELEMENT_ID__=qj}return t})();function qj(){let t=yi();return ZC(t,je())}var Yj=rt,KC=class extends Yj{_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=y8(this._hostTNode,this._hostLView);if(Iy(i)){let e=l0(i,this._hostLView),n=c0(i),r=e[ct].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=Cb(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-_i}createEmbeddedView(i,e,n){let r,a;typeof n=="number"?r=n:n!=null&&(r=n.index,a=n.injector);let o=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&&!kN(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(Bo(i)),h=n||this.parentInjector;if(!a&&d.ngModule==null){let ne=(o?h:this.parentInjector).get(fn,null);ne&&(a=ne)}let v=Bo(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(AN(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[vi],h=new KC(d,d[Zi],d[vi]);h.detach(h.indexOf(i))}}let a=this._adjustIndex(e),o=this._lContainer;return G1(o,r,a,n),i.attachToViewContainerRef(),Xb(Nh(o),a,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=Cb(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=A1(this._lContainer,e);n&&(n0(Nh(this._lContainer),e),G0(n[ct],n))}detach(i){let e=this._adjustIndex(i,-1),n=A1(this._lContainer,e);return n&&n0(Nh(this._lContainer),e)!=null?new V1(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function Cb(t){return t[a0]}function Nh(t){return t[a0]||(t[a0]=[])}function ZC(t,i){let e,n=i[t.index];return uo(n)?e=n:(e=jC(n,i,null,t),i[t.index]=e,V8(i,e)),Kj(e,i,t,n),new KC(e,t,i)}function Qj(t,i){let e=t[an],n=e.createComment(""),r=Da(i,t),a=e.parentNode(r);return h0(e,a,n,e.nextSibling(r),!1),n}var Kj=Jj,Zj=()=>!1;function Xj(t,i,e){return Zj(t,i,e)}function Jj(t,i,e,n){if(t[Us])return;let r;e.type&8?r=Ca(n):r=Qj(i,e),t[Us]=r}var k6=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},E6=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,r=[];for(let a=0;a0)n.push(o[s/2]);else{let h=a[s+1],v=i[-d];for(let C=_i;Ci.trim())}function tx(t,i,e){t.queries===null&&(t.queries=new O6),t.queries.track(new I6(i,e))}function oU(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 W8(t,i){return t.queries.getByIndex(i)}function nx(t,i){let e=t[ct],n=W8(e,i);return n.crossesNgTemplate?P6(e,t,i,[]):XC(e,t,n,i)}function ix(t,i,e){let n,r=u3(()=>{n._dirtyCounter();let a=dU(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 sU(t){return ix(!0,!1,t)}function cU(t){return ix(!0,!0,t)}function lU(t,i){let e=t[Gi];e._lView=je(),e._queryIndex=i,e._queryList=G8(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function dU(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=G8(e,n),a=nx(e,n);return r.reset(a,Wy),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function xb(t,i){return sU(i)}function uU(t,i){return cU(i)}var rx=(xb.required=uU,xb);function mU(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(gU))}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(()=>_U(a));i.push(d)}),fU(),Promise.all(i).then(()=>{})}var b0=new Map,pU=new Set;function fU(){let t=b0;return b0=new Map,t}function hU(){return b0.size===0}function gU(t){return typeof t=="string"?t:t.text()}function _U(t){pU.delete(t)}var co=class{},q8=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=ty(i);this._bootstrapComponents=bC(a.bootstrap),this._r3Injector=Ny(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 q8{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new y0(this.moduleType,i,[])}};function vU(t,i,e){return new y0(t,i,e,!1)}var T6=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 T6({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var bU=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=iy(!1,e.type),r=n.length>0?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=ax(t),e=Be(q({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Qy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(bU).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ma.Emulated,styles:t.styles||Ai,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&qo("NgStandalone"),ox(e);let n=t.dependencies;return e.directiveDefs=Mb(n,!1),e.pipeDefs=Mb(n,!0),e.id=wU(e),e})}function yU(t){return Bo(t)||ny(t)}function CU(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 xU(t,i){if(t==null)return ba;let e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],a,o,s,d;Array.isArray(r)?(s=r[0],a=r[1],o=r[2]??a,d=r[3]||null):(a=r,o=r,s=U0.None,d=null),e[a]=[n,s,d],i[a]=o}return e}function MU(t){if(t==null)return ba;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function V(t){return z1(()=>{let i=ax(t);return ox(i),i})}function _t(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ax(t){let i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||ba,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ai,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xU(t.inputs,i),outputs:MU(t.outputs),debugInfo:null}}function ox(t){t.features?.forEach(i=>i(t))}function Mb(t,i){if(!t)return null;let e=i?hN:yU;return()=>(typeof t=="function"?t():t).map(n=>e(n)).filter(CU)}function wU(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 DU(t){return Object.getPrototypeOf(t.prototype).constructor}function ce(t){let i=DU(t.type),e=!0,n=[t];for(;i;){let r;if(ya(t))r=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Ce(903,!1);r=i.\u0275dir}if(r){if(e){n.push(r);let o=t;o.inputs=Fh(t.inputs),o.declaredInputs=Fh(t.declaredInputs),o.outputs=Fh(t.outputs);let s=r.hostBindings;s&&IU(t,s);let d=r.viewQuery,h=r.contentQueries;if(d&&EU(t,d),h&&OU(t,h),SU(t,r),qH(t.outputs,r.outputs),ya(r)&&r.data.animation){let v=t.data;v.animation=(v.animation||[]).concat(r.data.animation)}}let a=r.features;if(a)for(let o=0;o=0;n--){let r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=Cl(r.hostAttrs,e=Cl(e,r.hostAttrs))}}function Fh(t){return t===ba?{}:t===Ai?[]:t}function EU(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function OU(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,a)=>{i(n,r,a),e(n,r,a)}:t.contentQueries=i}function IU(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}function sx(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=cx,e.hostDirectives=n?t.map(A6):[t]):n?e.hostDirectives.unshift(...t.map(A6)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function cx(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let r=n();for(let a of r)wb(A6(a),i,e)}else wb(n,i,e)}function wb(t,i,e){let n=ny(t.directive);PU(n.declaredInputs,t.inputs),cx(n,i,e),e.set(n,t),i.push(n)}function A6(t){return typeof t=="function"?{directive:di(t),inputs:ba,outputs:ba}:{directive:di(t.directive),inputs:Db(t.inputs),outputs:Db(t.outputs)}}function Db(t){if(t===void 0||t.length===0)return ba;let i={};for(let e=0;e{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var K8=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,a8()&&(this._destroyRef=u($o,{optional:!0})??void 0),Z8||(zU(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 Z8?.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 zU(t){Z8=t}var Z8,mx=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>new V6})}return t})(),V6=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 Yo(t){return!!t&&typeof t.then=="function"}function X8(t){return!!t&&typeof t.subscribe=="function"}var px=new A("");function J8(t){return Dl([{provide:px,multi:!0,useValue:t}])}var fx=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=u(px,{optional:!0})??[];injector=u(Te);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let a=Ki(this.injector,r);if(Yo(a))e.push(a);else if(X8(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})(),eg=new A("");function HU(){uh(()=>{throw new Ce(600,!1)})}function NU(t){return t.isBoundToModule}var FU=10;function hx(t,i){return Array.isArray(i)?i.reduce(hx,t):q(q({},t),i)}var bi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(MF);afterRenderManager=u(iC);zonelessEnabled=u(C8);rootEffectScheduler=u(mx);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new N;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(mo).hasPendingTasks.pipe(pe(e=>!e));constructor(){u(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 WC;if(!this._injector.get(fx).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=NU(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(K8,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(D8.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(eg,[]).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 BU(t,i,e,n){if(!e&&!R0(t))return;HC(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();BB(s,r,t,i,e,n)}return ee}function tg(t,i,e,n){return fr(t,Xs(),e)?i+Yi(e)+n:Yn}function gx(t,i,e,n,r,a){let o=h8(),s=L1(t,o,e,r);return F1(2),s?i+Yi(e)+n+Yi(r)+a:Yn}function jU(t,i,e,n,r,a,o,s){let d=h8(),h=dx(t,d,e,r,o);return F1(3),h?i+Yi(e)+n+Yi(r)+a+Yi(o)+s:Yn}function UU(t,i,e,n,r,a,o,s,d,h){let v=h8(),C=ux(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 $U(t){return(t&2)==2}function GU(t,i){return t&131071|i<<17}function L6(t){return t|2}function wl(t){return(t&131068)>>2}function Bh(t,i){return t&-131069|i<<2}function WU(t){return(t&1)===1}function R6(t){return t|1}function qU(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]=Bh(t[S+1],n)),t[s+1]=GU(t[s+1],n)}else t[n+1]=W3(s,0),s!==0&&(t[s+1]=Bh(t[s+1],n)),s=n;else t[n+1]=W3(d,0),s===0?s=n:t[d+1]=Bh(t[d+1],n),d=n;h&&(t[n+1]=L6(t[n+1])),Sb(t,v,n,!0),Sb(t,v,n,!1),YU(i,v,t,n,a),o=W3(s,d),a?i.classBindings=o:i.styleBindings=o}function YU(t,i,e,n,r){let a=r?t.residualClasses:t.residualStyles;a!=null&&typeof i=="string"&&H1(a,i)>=0&&(e[n+1]=R6(e[n+1]))}function Sb(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];QU(d,i)&&(s=!0,t[o+1]=n?R6(h):L6(h)),o=n?Qs(h):wl(h)}s&&(t[e+1]=n?L6(r):R6(r))}function QU(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 KU(t){return t.substring(Wr.key,Wr.keyEnd)}function ZU(t){return XU(t),_x(t,vx(t,0,Wr.textEnd))}function _x(t,i){let e=Wr.textEnd;return e===i?-1:(i=Wr.keyEnd=JU(t,Wr.key=i,e),vx(t,i,e))}function XU(t){Wr.key=0,Wr.keyEnd=0,Wr.value=0,Wr.valueEnd=0,Wr.textEnd=t.length}function vx(t,i,e){for(;i32;)i++;return i}function y(t,i,e){let n=je(),r=Xs();if(fr(n,r,i)){let a=Kt(),o=Il();U1(a,o,n,t,i,n[an],e,!1)}return y}function z6(t,i,e,n,r){z8(i,t,e,r?"class":"style",n)}function Et(t,i,e){return yx(t,i,e,!1),Et}function te(t,i){return yx(t,i,null,!0),te}function It(t){Cx(a$,bx,t,!0)}function bx(t,i){for(let e=ZU(i);e>=0;e=_x(i,e))P0(t,KU(i),!0)}function yx(t,i,e,n){let r=je(),a=Kt(),o=F1(2);if(a.firstUpdatePass&&Mx(a,t,o,n),i!==Yn&&fr(r,o,i)){let s=a.data[Qr()];wx(a,s,r,r[an],t,r[o+1]=s$(i,e),n,o)}}function Cx(t,i,e,n){let r=Kt(),a=F1(2);r.firstUpdatePass&&Mx(r,null,a,n);let o=je();if(e!==Yn&&fr(o,a,e)){let s=r.data[Qr()];if(Dx(s,n)&&!xx(r,a)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=Wh(d,e||"")),z6(r,s,o,e,n)}else o$(r,s,o,o[an],o[a+1],o[a+1]=r$(t,i,e),n,a)}}function xx(t,i){return i>=t.expandoStartIndex}function Mx(t,i,e,n){let r=t.data;if(r[e+1]===null){let a=r[Qr()],o=xx(t,e);Dx(a,n)&&i===null&&!o&&(i=!1),i=e$(r,a,i,n),qU(r,a,i,e,o,n)}}function e$(t,i,e,n){let r=YN(t),a=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=jh(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=jh(r,t,i,e,n),a===null){let d=t$(t,i,n);d!==void 0&&Array.isArray(d)&&(d=jh(null,t,i,d[1],n),d=R1(d,i.attrs,n),n$(t,i,n,d))}else a=i$(t,i,n)}return a!==void 0&&(n?i.residualClasses=a:i.residualStyles=a),e}function t$(t,i,e){let n=e?i.classBindings:i.styleBindings;if(wl(n)!==0)return t[Qs(n)]}function n$(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[Qs(r)]=n}function i$(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?Th(S,n):v===n?S:void 0;if(h&&!M0(D)&&(D=Th(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=Th(d,n))}return s}function M0(t){return t!==void 0}function s$(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Qi(Pr(t)))),t}function Dx(t,i){return(t.flags&(i?8:16))!==0}function J0(t,i,e){let n=je(),r=tg(n,t,i,e);Cx(P0,bx,r,!0)}var H6=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 Uh(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function c$(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=Uh(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=Uh(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??=Ob(t,a,o,e),N6(t,n,a,ye))t.updateValue(a,v),a++,o++;else if(r.has(ye))n.set(ne,t.detach(a)),o--;else{let qe=t.create(a,i[a]);t.attach(a,qe),a++,o++}}for(;a<=d;)Eb(t,n,e,a,i[a]),a++}else if(i!=null){let d=i[Symbol.iterator](),h=d.next();for(;!h.done&&a<=o;){let v=t.at(a),C=h.value,S=Uh(a,v,a,C,e);if(S!==0)S<0&&t.updateValue(a,C),a++,h=d.next();else{n??=new w0,r??=Ob(t,a,o,e);let D=e(a,C);if(N6(t,n,a,D))t.updateValue(a,C),a++,o++,h=d.next();else if(!r.has(D))t.attach(a,t.create(a,C)),a++,o++,h=d.next();else{let L=e(a,v);n.set(L,t.detach(a)),o--}}}for(;!h.done;)Eb(t,n,e,t.length,h.value),h=d.next()}for(;a<=o;)t.destroy(t.detach(o--));n?.forEach(d=>{t.destroy(d)})}function N6(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function Eb(t,i,e,n,r){if(N6(t,i,n,e(n,r)))t.updateValue(n,r);else{let a=t.create(n,r);t.attach(n,a)}}function Ob(t,i,e,n){let r=new Set;for(let a=i;a<=e;a++)r.add(n(a,t.at(a)));return r}var 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){qo("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&&$C(a,o),t!==-1){let d=Sn+t,h=D0(e,d),v=U6(e[ct],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=UC(a,o);s!==void 0&&(s[qn]=i)}}var F6=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 B6=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){qo("NgControlFlow");let D=je(),L=Kt(),ne=d!==void 0,oe=je(),ye=s?o.bind(oe[pr][qn]):o,qe=new B6(ne,ye);oe[Sn+t]=qe,x0(D,L,t+1,i,e,n,r,jo(L.consts,a)),ne&&x0(D,L,t+2,d,h,v,C,jo(L.consts,S))}var j6=class extends H6{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,l$(this.lContainer,i)}create(i,e){let n=Ml(this.lContainer,this.templateTNode.tView.ssrId),r=$1(this.hostLView,this.templateTNode,new F6(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(i){G0(i[ct],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),xC(n,r,XN()));function m$(t,i,e,n,r){let a=i.consts,o=jo(a,n),s=Ll(i,t,8,"ng-container",o);o!==null&&D6(s,o,!0);let d=jo(a,r);return m8()&&$8(i,e,s,d,R8),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?m$(a,r,n,i,e):r.data[a];Uo(o,!0);let s=p$(r,n,o,t);return n[a]=s,H0()&&W0(r,n,s,o),Tl(s,n),L0(o)&&($0(r,n,o),k8(r,o,n)),e!=null&&L8(n,o),gn}function _n(){let t=yi(),i=Kt();return p8()?f8():(t=t.parent,Uo(t,!1)),i.firstCreatePass&&(b8(i,t),s8(t)&&i.queries.elementEnd(t)),_n}function Tt(t,i,e){return gn(t,i,e),_n(),Tt}var p$=(t,i,e,n)=>(N0(!0),SB(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 f$(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var h$=["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",f$],k1={};function Sx(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=g$(t),e=Ib(i);if(e)return e;let n=i.split("-")[0];if(e=Ib(n),e)return e;if(n==="en")return h$;throw new Ce(701,!1)}function Ib(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 g$(t){return t.toLowerCase().replace(/_/g,"-")}var S0="en-US",_$="USD";var v$=S0;function b$(t){typeof t=="string"&&(v$=t.toLowerCase().replace(/_/g,"-"))}function Pb(t,i,e){return function n(r){if(r===Function)return e;let a=kl(t)?xa(t.index,i):i;U8(a,5);let o=i[qn],s=Tb(i,o,e,r),d=n.__ngNextListenerFn__;for(;d;)s=Tb(i,o,d,r)&&s,d=d.__ngNextListenerFn__;return s}}function Tb(t,i,e,n){let r=ht(null);try{return Qt(6,i,e),e(n)!==!1}catch(a){return y$(t,a),!1}finally{Qt(7,i,e),ht(r)}}function y$(t,i){let e=t[bl],n=e?e.get(Vi,null):null;n&&n.handleError(i)}function Ab(t,i,e,n,r,a){let o=i[e],s=i[ct],h=s.data[e].outputs[n],v=o[h],C=s.firstCreatePass?u8(s):null,S=d8(i),D=v.subscribe(a),L=S.length;S.push(a,D),C&&C.push(r,t.index,L,-(L+1))}function z(t,i,e,n){let r=je(),a=Kt(),o=yi();return kx(a,r,r[an],o,t,i,n),z}function C$(t,i,e,n){let r=t.cleanup;if(r!=null)for(let a=0;ad?s[d]:null}typeof o=="string"&&(a+=2)}return null}function kx(t,i,e,n,r,a,o){let s=L0(n),h=t.firstCreatePass?u8(t):null,v=d8(i),C=!0;if(n.type&3||o){let S=Da(n,i),D=o?o(S):S,L=v.length,ne=o?ye=>o(Ca(ye[n.index])):n.index,oe=null;if(!o&&s&&(oe=C$(t,i,r,n.index)),oe!==null){let ye=oe.__ngLastListenerFn__||oe;ye.__ngNextListenerFn__=a,oe.__ngLastListenerFn__=a,C=!1}else{a=Pb(n,i,a),FF(i,D,r,a);let ye=e.listen(D,r,a);v.push(a,ye),h&&h.push(r,ne,L,L+1)}}else a=Pb(n,i,a);if(C){let S=n.outputs?.[r],D=n.hostDirectiveOutputs?.[r];if(D&&D.length)for(let L=0;L(N0(!0),wB(i[an],n));function P(t){return X("",t,""),P}function X(t,i,e){let n=je(),r=tg(n,t,i,e);return r!==Yn&&nu(n,Qr(),r),X}function Ct(t,i,e,n,r){let a=je(),o=gx(a,t,i,e,n,r);return o!==Yn&&nu(a,Qr(),o),Ct}function ng(t,i,e,n,r,a,o){let s=je(),d=jU(s,t,i,e,n,r,a,o);return d!==Yn&&nu(s,Qr(),d),ng}function D$(t,i,e,n,r,a,o,s,d){let h=je(),v=UU(h,t,i,e,n,r,a,o,s,d);return v!==Yn&&nu(h,Qr(),v),D$}function nu(t,i,e){let n=fy(i,t);DB(t[an],n,e)}function Q1(t,i,e){qy(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=qy(t);return e&&t.set(i),e}function K1(t,i){let e=je(),n=Kt(),r=yi();return kx(n,e,e[an],r,t,i),K1}var S$={};function ig(t){let i=Kt(),e=je(),n=t+Sn,r=Ll(i,n,128,null,null);return Uo(r,!1),hy(i,e,n,S$),ig}function k$(t,i,e){let n=Kt();if(n.firstCreatePass){let r=ya(t);$6(e,n.data,n.blueprint,r,!0),$6(i,n.data,n.blueprint,r,!1)}}function $6(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=Gh(d,i,r?v:v+S,C);L===-1?(r6(u0(s,o),a,d),$h(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=Gh(d,i,v+S,C),L=Gh(d,i,v,v+S),ne=D>=0&&e[D],oe=L>=0&&e[L];if(r&&!oe||!r&&!ne){r6(u0(s,o),a,d);let ye=I$(r?O$:E$,e.length,r,n,h);!r&&oe&&(e[L].providerFactory=ye),$h(a,t,i.length,0),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(ye),o.push(ye)}else{let ye=Ix(e[r?L:D],h,!r&&n);$h(a,t,D>-1?D:L,ye)}!r&&n&&oe&&e[L].componentProviders++}}}function $h(t,i,e,n){let r=_l(i),a=yN(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 Ix(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function Gh(t,i,e,n){for(let r=e;r{e.providersResolver=(n,r)=>k$(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()):AU(r,n)}function go(t,i,e,n){return Px(je(),Zs(),t,i,e,n)}function ka(t,i,e,n,r){return Tx(je(),Zs(),t,i,e,n,r)}function ru(t,i){let e=t[i];return e===Yn?void 0:e}function Px(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 Tx(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 P$(t,i,e,n,r,a,o,s){let d=i+e;return dx(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 T$(t,i,e,n,r,a,o,s,d){let h=i+e;return ux(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=A$(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),hy(e,je(),r,h),h}finally{qi(s)}}function A$(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)?Px(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)?Tx(a,Zs(),i,o.transform,e,n,o):o.transform(e,n)}function lme(t,i,e,n,r){let a=t+Sn,o=je(),s=N1(o,a);return au(o,a)?P$(o,Zs(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function rg(t,i,e,n,r,a){let o=t+Sn,s=je(),d=N1(s,o);return au(s,o)?T$(s,Zs(),i,d.transform,e,n,r,a,d):d.transform(e,n,r,a)}function au(t,i){return t[ct].data[i].pure}function nr(t,i){return Y0(t,i)}var q3=null;function V$(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(".")}},ag=new Ks("19.2.14"),W6=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},Ax=(()=>{class t{compileModuleSync(e){return new C0(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=ty(e),a=bC(r.declarations).reduce((o,s)=>{let d=Bo(s);return d&&o.push(new Ys(d)),o},[]);return new W6(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})(),L$=new A("");function R$(t,i,e){let n=new C0(e);return Promise.resolve(n)}function Vb(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var z$=(()=>{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 H$({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new se(Be(q({},Vx()),{scheduleInRootZone:e})),[{provide:se,useFactory:t},{provide:gl,multi:!0,useFactory:()=>{let n=u(z$,{optional:!0});return()=>n.initialize()}},{provide:gl,multi:!0,useFactory:()=>{let n=u(N$);return()=>{n.initialize()}}},i===!0?{provide:By,useValue:!0}:[],{provide:jy,useValue:e??Fy}]}function Vx(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var N$=(()=>{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 F$=(()=>{class t{appRef=u(bi);taskService=u(mo);ngZone=u(se);zonelessEnabled=u(C8);tracing=u(Al,{optional:!0});disableScheduling=u(By,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(p0):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(jy,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof 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?ib:Uy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(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,ib(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function B$(){return typeof $localize<"u"&&$localize.locale||S0}var Ea=new A("",{providedIn:"root",factory:()=>u(Ea,ft.Optional|ft.SkipSelf)||B$()}),Lx=new A("",{providedIn:"root",factory:()=>_$});var k0=new A(""),j$=new A("");function M1(t){return!t.moduleRef}function U$(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 G$(n,e,()=>{let a=i.get(fx);return a.runInitializers(),a.donePromise.then(()=>{let o=i.get(Ea,S0);if(b$(o||S0),!i.get(j$,!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 $$(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function $$(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 G$(t,i,e){try{let n=e();return Yo(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t.handleError(n)),n}}var Rx=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=n?.scheduleInRootZone,a=()=>xF(n?.ngZone,Be(q({},Vx({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),o=n?.ignoreChangesOutsideZone,s=[H$({ngZoneFactory:a,ignoreChangesOutsideZone:o}),{provide:qs,useExisting:F$}],d=vU(e.moduleType,this.injector,s);return U$({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=hx({},n);return R$(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,zx=new A("");function W$(t){if(E1&&!E1.get(zx,!1))throw new Ce(400,!1);HU(),E1=t;let i=t.get(Rx);return Q$(t),i}function og(t,i,e=[]){let n=`Platform: ${i}`,r=new A(n);return(a=[])=>{let o=Hx();if(!o||o.injector.get(zx,!1)){let s=[...e,...a,{provide:r,useValue:!0}];t?t(s):W$(q$(s,n))}return Y$(r)}}function q$(t=[],i){return Te.create({name:i,providers:[{provide:T0,useValue:"platform"},{provide:k0,useValue:new Set([()=>E1=null])},...t]})}function Y$(t){let i=Hx();if(!i)throw new Ce(401,!1);return i}function Hx(){return E1?.get(Rx)??null}function Q$(t){let i=t.get(w8,null);Ki(t,()=>{i?.forEach(e=>e())})}var be=(()=>{class t{static __NG_ELEMENT_ID__=K$}return t})();function K$(t){return Z$(yi(),je(),(t&16)===16)}function Z$(t,i,e){if(kl(t)&&!e){let n=xa(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 q6=class{constructor(){}supports(i){return lx(i)}create(i){return new Y6(i)}},X$=(t,i)=>i,Y6=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||X$}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 Q6(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}},Q6=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}},K6=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 K6,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,r=this.map.get(n);return r?r.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lb(t,i,e){let n=t.previousIndex;if(n===null)return n;let r=0;return e&&n{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let a=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let r=this._records.get(i);this._maybeAddToChanges(r,e);let a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}let n=new J6(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))}},J6=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function Rb(){return new gr([new q6])}var gr=(()=>{class t{factories;static \u0275prov=R({token:t,providedIn:"root",factory:Rb});constructor(e){this.factories=e}static create(e,n){if(n!=null){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Rb()),deps:[[t,new Yr,new hr]]}}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new Ce(901,!1)}}return t})();function zb(){return new ou([new Z6])}var ou=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:zb});factories;constructor(e){this.factories=e}static create(e,n){if(n){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||zb()),deps:[[t,new Yr,new hr]]}}find(e){let n=this.factories.find(r=>r.supports(e));if(n)return n;throw new Ce(901,!1)}}return t})();var Nx=og(null,"core",[]),Fx=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(ae(bi))};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();function B(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ot(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}function ir(t){return fh(t)}function Zr(t,i){return u3(t,i?.equal)}var e8=class{[Gi];constructor(i){this[Gi]=i}destroy(){this[Gi].destroy()}};function Z1(t,i){!i?.injector&&o8(Z1);let e=i?.injector??u(Te),n=i?.manualCleanup!==!0?e.get($o):null,r,a=e.get(S8,null,{optional:!0}),o=e.get(qs);return a!==null&&!i?.forceRoot?(r=tG(a.view,o,t),n instanceof m0&&n._lView===a.view&&(n=null)):r=nG(t,e.get(mx),o),r.injector=e,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new e8(r)}var Bx=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=[]}}}),J$=Be(q({},Bx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){h1(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),eG=Be(q({},Bx),{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 tG(t,i,e){let n=Object.create(eG);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 nG(t,i,e){let n=Object.create(J$);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=Bo(t),n=i.elementInjector||A0();return new Ys(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector)}function jx(t){let i=Bo(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 Gx=null;function _r(){return Gx}function sg(t){Gx??=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(Wx),providedIn:"platform"})}return t})(),cg=new A(""),Wx=(()=>{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 Ux(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function Xr(t){return t&&t[0]!=="?"?`?${t}`:t}var Jr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>u(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=aG(Ux($x(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+Xr(n))}normalize(e){return t.stripTrailingSlash(rG(this._basePath,$x(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xr(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xr(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=Xr;static joinWithSlash=cu;static stripTrailingSlash=Ux;static \u0275fac=function(n){return new(n||t)(ae(Jr))};static \u0275prov=R({token:t,factory:()=>iG(),providedIn:"root"})}return t})();function iG(){return new Tr(ae(Jr))}function rG(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function $x(t){return t.replace(/\/index.html$/,"")}function aG(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var _g=(()=>{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})(),eM={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},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 tM(t){return er(t)[on.LocaleId]}function nM(t,i,e){let n=er(t),r=[n[on.DayPeriodsFormat],n[on.DayPeriodsStandalone]],a=Ar(r,i);return Ar(a,e)}function iM(t,i,e){let n=er(t),r=[n[on.DaysFormat],n[on.DaysStandalone]],a=Ar(r,i);return Ar(a,e)}function rM(t,i,e){let n=er(t),r=[n[on.MonthsFormat],n[on.MonthsStandalone]],a=Ar(r,i);return Ar(a,e)}function aM(t,i){let n=er(t)[on.Eras];return Ar(n,i)}function 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 vg(t,i){return er(t)[on.NumberFormats][i]}function oG(t){return er(t)[on.Currencies]}function oM(t){if(!t[on.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[on.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function sM(t){let i=er(t);return oM(i),(i[on.ExtraData][2]||[]).map(n=>typeof n=="string"?lg(n):[lg(n[0]),lg(n[1])])}function cM(t,i,e){let n=er(t);oM(n);let r=[n[on.ExtraData][0],n[on.ExtraData][1]],a=Ar(r,i)||[];return Ar(a,e)||[]}function Ar(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function lg(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}function lM(t,i,e="en"){let n=oG(e)[t]||eM[t]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||t}var sG=2;function dM(t){let i,e=eM[t];return e&&(i=e[2]),typeof i=="number"?i:sG}var cG=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,uu={},lG=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function uM(t,i,e,n){let r=vG(t);i=_o(e,i)||i;let o=[],s;for(;i;)if(s=lG.exec(i),s){o=o.concat(s.slice(1));let v=o.pop();if(!v)break;i=v}else{o.push(i);break}let d=r.getTimezoneOffset();n&&(d=pM(n,d),r=_G(r,n));let h="";return o.forEach(v=>{let C=hG(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=tM(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 dG(s,i);let d=ta(o,ui.MinusSign);return ea(s,i,d,n,r)}}function uG(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 mG(r,a,t,i,e,n)}}function mG(t,i,e,n,r,a){switch(e){case 2:return rM(i,r,n)[t.getMonth()];case 1:return iM(i,r,n)[t.getDay()];case 0:let o=t.getHours(),s=t.getMinutes();if(a){let h=sM(i),v=cM(i,r,n),C=h.findIndex(S=>{if(Array.isArray(S)){let[D,L]=S,ne=o>=D.hours&&s>=D.minutes,oe=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+ea(o,2,a)+ea(Math.abs(r%60),2,a);case 1:return"GMT"+(r>=0?"+":"")+ea(o,1,a);case 2:return"GMT"+(r>=0?"+":"")+ea(o,2,a)+":"+ea(Math.abs(r%60),2,a);case 3:return n===0?"Z":(r>=0?"+":"")+ea(o,2,a)+":"+ea(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${t}"`)}}}var pG=0,hu=4;function fG(t){let i=gu(t,pG,1).getDay();return gu(t,0,1+(i<=hu?hu:hu+7)-i)}function mM(t){let i=t.getDay(),e=i===0?-3:hu-i;return gu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function dg(t,i=!1){return function(e,n){let r;if(i){let a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{let a=mM(e),o=fG(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=mM(e).getFullYear();return ea(a,t,ta(n,ui.MinusSign),i)}}var ug={};function hG(t){if(ug[t])return ug[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=dg(1);break;case"ww":i=dg(2);break;case"W":i=dg(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 ug[t]=i,i}function pM(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function gG(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function _G(t,i,e){let r=t.getTimezoneOffset(),a=pM(i,r);return gG(t,-1*(a-r))}function vG(t){if(qx(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,a=1,o=1]=t.split("-").map(s=>+s);return gu(r,a-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(cG))return bG(n)}let i=new Date(t);if(!qx(i))throw new Error(`Unable to convert "${t}" into a date`);return i}function bG(t){let i=new Date(0),e=0,n=0,r=t[8]?i.setUTCFullYear:i.setFullYear,a=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,s=Number(t[5]||0)-n,d=Number(t[6]||0),h=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(i,o,s,d,h),i}function qx(t){return t instanceof Date&&!isNaN(t.valueOf())}var yG=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yx=22,_u=".",id="0",CG=";",xG=",",mg="#",Qx="\xA4";function fM(t,i,e,n,r,a,o=!1){let s="",d=!1;if(!isFinite(t))s=ta(e,ui.Infinity);else{let h=wG(t);o&&(h=MG(h));let v=i.minInt,C=i.minFrac,S=i.maxFrac;if(a){let qe=a.match(yG);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=pg(nt)),An!=null&&(C=pg(An)),zn!=null?S=pg(zn):An!=null&&C>S&&(S=C)}DG(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=vg(i,Cu.Currency),o=gM(a,ta(i,ui.MinusSign));return o.minFrac=dM(n),o.maxFrac=o.minFrac,fM(t,o,i,ui.CurrencyGroup,ui.CurrencyDecimal,r).replace(Qx,e).replace(Qx,"").trim()}function hM(t,i,e){let n=vg(i,Cu.Decimal),r=gM(n,ta(i,ui.MinusSign));return fM(t,r,i,ui.Group,ui.Decimal,e)}function gM(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(CG),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(mg));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>Yx&&(n=n.splice(0,Yx-1),e=r-1,r=1),{digits:n,exponent:e,integerLen:r}}function DG(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 pg(t){let i=parseInt(t);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+t);return i}var fg=/\s+/,Kx=[],yn=(()=>{class t{_ngEl;_renderer;initialClasses=Kx;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(fg):Kx}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(fg):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(fg).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),Zx(s,r)}});for(let r=0,a=n.length;r{let a=n.get(r.currentIndex);Zx(a,r)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe),k(gr))};static \u0275dir=V({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Zx(t,i){t.context.$implicit=i.item}var Ae=(()=>{class t{_viewContainer;_context=new 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){Xx(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Xx(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(k(rt),k(Qe))};static \u0275dir=V({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),bu=class{$implicit=null;ngIf=null};function Xx(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})(),bg=(()=>{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})(),yg=(()=>{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 Cg=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[r,a]=e.split("."),o=r.indexOf("-")===-1?void 0:wa.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${n}${a}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(k(Y),k(ou),k(Ke))};static \u0275dir=V({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Qo=(()=>{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 hg=class{createSubscription(i,e){return ir(()=>i.subscribe({next:e,error:n=>{throw n}}))}dispose(i){ir(()=>i.unsubscribe())}},gg=class{createSubscription(i,e){return i.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(i){i.unsubscribe()}},SG=new gg,kG=new hg,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(Yo(e))return SG;if(X8(e))return kG;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})(),EG=(()=>{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})(),OG=/(?:[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,IG=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Rl(t,e);return e.replace(OG,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 PG="mediumDate",_M=new A(""),vM=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??PG,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return uM(e,o,a||this.locale,s)}catch(o){throw Rl(t,o.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16),k(_M,24),k(vM,24))};static \u0275pipe=_t({name:"date",type:t,pure:!0})}return t})();var TG=(()=>{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 AG(t,i){return{key:t,value:i}}var VG=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Jx;transform(e,n=Jx){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),a=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(AG(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 Jx(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e{class t{_locale;constructor(e){this._locale=e}transform(e,n,r){if(!bM(e))return null;r||=this._locale;try{let a=yM(e);return hM(a,r,n)}catch(a){throw Rl(t,a.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16))};static \u0275pipe=_t({name:"number",type:t,pure:!0})}return t})();var xg=(()=>{class t{_locale;_defaultCurrencyCode;constructor(e,n="USD"){this._locale=e,this._defaultCurrencyCode=n}transform(e,n=this._defaultCurrencyCode,r="symbol",a,o){if(!bM(e))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let s=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?s=lM(s,r==="symbol"?"wide":"narrow",o):s=r);try{let d=yM(e);return xu(d,o,s,n,a)}catch(d){throw Rl(t,d.message)}}static \u0275fac=function(n){return new(n||t)(k(Ea,16),k(Lx,16))};static \u0275pipe=_t({name:"currency",type:t,pure:!0})}return t})();function bM(t){return!(t==null||t===""||t!==t)}function yM(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var fe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();function 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",CM="server";function Mg(t){return t===Mu}function wu(t){return t===CM}var nc=class{};function fpe(t,i,e){return Sx(t,i,e)}var xM=(()=>{class t{static \u0275prov=R({token:t,providedIn:"root",factory:()=>new wg(u(De),window)})}return t})(),wg=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=LG(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 LG(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(""),Eg=(()=>{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 MM(t){for(let i of t)i.remove()}function wM(t,i){let e=i.createElement("style");return e.textContent=t,e}function RG(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 Sg(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Og=(()=>{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),RG(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,wM);n?.forEach(r=>this.addUsage(r,this.external,Sg))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let a=n.get(e);a?a.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(MM(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])MM(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,wM(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,Sg(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(Wo))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Dg={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"},Ig=/%COMP%/g;var SM="%COMP%",zG=`_nghost-${SM}`,HG=`_ngcontent-${SM}`,NG=!0,FG=new A("",{providedIn:"root",factory:()=>NG});function BG(t){return HG.replace(Ig,t)}function jG(t){return zG.replace(Ig,t)}function kM(t,i){return i.map(e=>e.replace(Ig,t))}var Pg=(()=>{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===Ma.ShadowDom&&(n=Be(q({},n),{encapsulation:Ma.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 Ma.Emulated:a=new Su(d,h,n,this.appId,v,o,s,C,S);break;case Ma.ShadowDom:return new kg(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(Eg),ae(Og),ae(Js),ae(FG),ae(De),ae(Wo),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(Dg[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(DM(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(DM(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new Ce(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let a=Dg[r];a?i.setAttributeNS(a,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=Dg[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(wa.DashCase|wa.Important)?i.style.setProperty(e,n,r&wa.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&wa.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=_r().getGlobalEventTarget(this.doc,i),!i))throw new Ce(5102,!1);let a=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(i,e,a)),this.eventManager.addEventListener(i,e,a,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function DM(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var kg=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=kM(r.id,v);for(let S of v){let D=document.createElement("style");s&&D.setAttribute("nonce",s),D.textContent=S,this.shadowRoot.appendChild(D)}let C=r.getExternalStyles?.();if(C)for(let S of C){let D=Sg(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?kM(h,v):v,this.styleUrls=n.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},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=BG(v),this.hostAttr=jG(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(){sg(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=UG();return e==null?null:$G(e)}resetBaseElement(){ud=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return sd(document.cookie,i)}},ud=null;function UG(){return ud=ud||document.head.querySelector("base"),ud?ud.getAttribute("href"):null}function $G(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)}},GG=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),OM=(()=>{class t extends 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})(),EM=["alt","control","meta","shift"],WG={"\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"},qG={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},IM=(()=>{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."),EM.forEach(h=>{let v=n.indexOf(h);v>-1&&(n.splice(v,1),o+=h+".")}),o+=a,n.length!=0||a.length===0)return null;let d={};return d.domEventName=r,d.fullKey=o,d}static matchEventFullKeyCode(e,n){let r=WG[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(r=e.code,a="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),EM.forEach(o=>{if(o!==r){let s=qG[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 YG(){Eu.makeCurrent()}function QG(){return new Vi}function KG(){return eC(document),document}var ZG=[{provide:Wo,useValue:Mu},{provide:w8,useValue:YG,multi:!0},{provide:De,useFactory:KG}],XG=og(Nx,"browser",ZG);var JG=[{provide:Y1,useClass:Ou},{provide:K8,useClass:Z0,deps:[se,X0,Y1]},{provide:Z0,useClass:Z0,deps:[se,X0,Y1]}],eW=[{provide:T0,useValue:"root"},{provide:Vi,useFactory:QG},{provide:ku,useClass:OM,multi:!0,deps:[De]},{provide:ku,useClass:IM,multi:!0,deps:[De]},Pg,Og,Eg,{provide:En,useExisting:Pg},{provide:nc,useClass:GG},[]],tW=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({providers:[...eW,...JG],imports:[fe,Fx]})}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 PM(i)}encodeValue(i){return PM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function nW(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 iW=/%(\d[a-f0-9])/gi,rW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function PM(t){return encodeURIComponent(t).replace(iW,(i,e)=>rW[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=nW(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 aW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function TM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function AM(t){return typeof Blob<"u"&&t instanceof Blob}function VM(t){return typeof FormData<"u"&&t instanceof FormData}function oW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var LM="Content-Type",RM="Accept",HM="X-Request-URL",NM="text/plain",FM="application/json",sW=`${FM}, ${NM}, */*`,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(aW(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}},cW=200,lW=204;function Tg(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(pe(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(pe(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(pe(d=>d.body))}case"response":return s;default:throw new Ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Z().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Tg(r,n))}post(e,n,r={}){return this.request("POST",e,Tg(r,n))}put(e,n,r={}){return this.request("PUT",e,Tg(r,n))}static \u0275fac=function(n){return new(n||t)(ae(Hl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var dW=new A("");function BM(t,i){return i(t)}function uW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function mW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var jM=new A(""),Vg=new A(""),UM=new A(""),Lg=new A("",{providedIn:"root",factory:()=>!0});function pW(){let t=null;return(i,e)=>{t===null&&(t=(u(jM,{optional:!0})??[]).reduceRight(uW,BM));let n=u(mo);if(u(Lg)){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(Lg);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(Vg),...this.injector.get(UM,[])]));this.chain=n.reduceRight((r,a)=>mW(r,a,this.injector),BM)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(_a(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(ae(md),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var fW=/^\)\]\}',?\n/,hW=RegExp(`^${HM}:`,"m");function gW(t){return"responseURL"in t&&t.responseURL?t.responseURL:hW.test(t.getAllResponseHeaders())?t.getResponseHeader(HM):null}var Ag=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Ce(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?jt(n.\u0275loadImpl()):ie(null)).pipe(dt(()=>new Ue(a=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((ne,oe)=>o.setRequestHeader(ne,oe.join(","))),e.headers.has(RM)||o.setRequestHeader(RM,sW),!e.headers.has(LM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(LM,ne)}if(e.responseType){let ne=e.responseType.toLowerCase();o.responseType=ne!=="json"?ne:"text"}let s=e.serializeBody(),d=null,h=()=>{if(d!==null)return d;let ne=o.statusText||"OK",oe=new vr(o.getAllResponseHeaders()),ye=gW(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!==lW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?cW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let zn=nt;nt=nt.replace(fW,"");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})(),$M=new A(""),_W="XSRF-TOKEN",vW=new A("",{providedIn:"root",factory:()=>_W}),bW="X-XSRF-TOKEN",yW=new A("",{providedIn:"root",factory:()=>bW}),hd=class{},CW=(()=>{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(vW))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function xW(t,i){let e=t.url.toLowerCase();if(!u($M)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(hd).getToken(),r=u(yW);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var Rg=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}(Rg||{});function MW(t,i){return{\u0275kind:t,\u0275providers:i}}function wW(...t){let i=[On,Ag,Vu,{provide:Hl,useExisting:Vu},{provide:md,useFactory:()=>u(dW,{optional:!0})??u(Ag)},{provide:Vg,useValue:xW,multi:!0},{provide:$M,useValue:!0},{provide:hd,useClass:CW}];for(let e of t)i.push(...e.\u0275providers);return Dl(i)}var zM=new A("");function DW(){return MW(Rg.LegacyInterceptors,[{provide:zM,useFactory:pW},{provide:Vg,useExisting:zM,multi:!0}])}var GM=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var 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(SW),r},providedIn:"root"})}return t})(),SW=(()=>{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):E8(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 cC(e)}bypassSecurityTrustStyle(e){return lC(e)}bypassSecurityTrustScript(e){return dC(e)}bypassSecurityTrustUrl(e){return uC(e)}bypassSecurityTrustResourceUrl(e){return mC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fl=class{},WM=(()=>{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{},qM=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function 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]=zg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):zg({},i)}function Hg(t,i){let e=i.split(".");i="";do i+=e.shift(),Ko(t)&&Ko(t[i])&&(yd(t[i])||Ug(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function EW(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($g(e))return this.interpolateString(e,n);if(kW(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=Hg(n,a);return Ko(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{},QM=(()=>{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},Ng=new A("ISOLATE_TRANSLATE_SERVICE"),Fg=new A("USE_DEFAULT_LANG"),Bg=new A("DEFAULT_LANGUAGE"),jg=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(Ls(1),Le(1));return this.loadingTranslations=n.pipe(pe(r=>this.compiler.compileTranslations(r,e)),Ls(1),Le(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?q(q({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let a=this.compiler.compileTranslations(n,e);(r||this.extend)&&this.translations[e]?this.translations[e]=zg(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(r=>!this.langs.includes(r));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,r){let a;if(e&&(a=this.runInterpolation(Hg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(Hg(this.translations[this.defaultLang],n),r)),a===void 0){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:n}runInterpolation(e,n){if(Ug(e))return e.map(r=>this.runInterpolation(r,n));if(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 no(s).pipe(pe(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Ko(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(!Ko(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}stream(e,n){if(!Ko(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}instant(e,n){if(!Ko(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){EW(this.translations[r],e,$g(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(ae(bd),ae(Fl),ae(jl),ae(Bl),ae(vd),ae(Fg),ae(Ng),ae(jg),ae(Bg))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ee=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);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(Ko(n[0])&&n.length)if($g(n[0])&&n[0].length){let a=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else 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 Gg=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:WM},e.compiler||{provide:jl,useClass:QM},e.parser||{provide:Bl,useClass:YM},e.missingTranslationHandler||{provide:vd,useClass:qM},bd,{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:WM},e.compiler||{provide:jl,useClass:QM},e.parser||{provide:Bl,useClass:YM},e.missingTranslationHandler||{provide:vd,useClass:qM},{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Wg={mifos_x:{version:"251110",hash:"38faa47"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Wg.mifos_x.version,hash:Wg.mifos_x.hash,fineractPlatformTenantId:Xt.fineractPlatformTenantId||"default",fineractPlatformTenantIds:Xt.fineractPlatformTenantIds||"default",baseApiUrls:Xt.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:Xt.fineractApiUrl||(Xt.fineractApiUrls?.length>0?Xt.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:Xt.oauthServerUrl||Xt.fineractApiUrl+Xt.apiProvider,allowServerSwitch:Xt.allowServerSwitch||"true",apiProvider:Xt.apiProvider||"/fineract-provider/api",apiVersion:Xt.apiVersion||"/v1",serverUrl:"",oauth:{enabled:Xt.oauthServerEnabled||!1,serverUrl:Xt.oauthServerUrl||"",appId:Xt.oauthAppId||""},enableRememberMe:!1,warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:Xt.defaultLanguage||"en-US",supportedLanguages:Xt.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:Xt.preloadClients||!0,defaultCharDelimiter:Xt.defaultCharDelimiter||",",displayBackEndInfo:Xt.displayBackEndInfo||"true",displayTenantSelector:Xt.displayTenantSelector||"true",waitTimeForNotifications:Xt.waitTimeForNotifications||60,waitTimeForCOBCatchUp:Xt.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:Xt.sessionIdleTimeout||3e5}},httpCacheEnabled:Xt.httpCacheEnabled||!1,vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:Xt.minPasswordLength||12,OIDC:{oidcServerEnabled:window.env.oidcServerEnabled||!1,oidcBaseUrl:window.env.oidcBaseUrl||"",oidcClientId:window.env.oidcClientId||"",oidcApiUrl:window.env.oidcApiUrl||"",oidcFrontUrl:window.env.oidcFrontUrl||""}};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var KM=(()=>{class t{transform(e,n,r,a){if(e){if(n==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),n==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),n==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),n==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return n==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"accountsFilter",type:t,pure:!0})}}return t})();var ZM=(()=>{class t{transform(e,n,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||n.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesFilter",type:t,pure:!0})}}return t})();var XM=(()=>{class t{transform(e,n){return e&&(e=e.filter(r=>r.penalty===n)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var Zo=(()=>{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})();function Yg(t,i){if(!t)return i;try{return JSON.parse(t)}catch{return i}}function Nu(t,i){if(!t)return i;try{let e=JSON.parse(t);return e&&typeof e=="object"&&!Array.isArray(e)?e:i}catch{return i}}function Qg(t,i=[]){if(!t)return i;try{let e=JSON.parse(t);return Array.isArray(e)?e:i}catch{return i}}var Nt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,n){this.alertService=e,this.dateUtils=n,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){let e=Yg(localStorage.getItem("mifosXDateFormat"),null);return typeof e=="string"&&e.length>0?e:"dd MMMM yyyy"}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),Nu(localStorage.getItem("mifosXLanguage"),void 0)}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return Qg(localStorage.getItem("mifosXServers"),[])}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return Qg(localStorage.getItem("mifosXTenantIdentifiers"),[])}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(n=>{if(n.name===t.businessDateConfigName)return n.enabled})}getBusinessDates(e,n){e.some(r=>{if(r.type===n){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:n+" Set",message:this.dateUtils.formatDate(a,this.dateFormat)});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",JSON.stringify(e))}get themeDarkEnabled(){return Yg(localStorage.getItem("mifosXThemeDarkEnabled"),!1)}static{this.\u0275fac=function(n){return new(n||t)(ae(Zo),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Fu=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 Fu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Fu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Fu.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 Ia=(()=>{class t{transform(e,n){if(e==null||e==="")return"";let r;if(Array.isArray(e)){let[o,s,d,h,v,C]=e;h!=null?r=(0,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 Bu=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"externalIdentifier",type:t,pure:!0})}}return t})();var JM=new WeakMap,ew=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,n,r,a){if(!n||!r||e===null||e===void 0)return"";let o=JM.get(n);o||(o=new Map,JM.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 Xo=(()=>{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 iw=r3(nw());var Uu=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return iw.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 rw=(()=>{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 $u=(()=>{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 ow=(()=>{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 Gu=(()=>{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 sw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[rw,KM,ZM,XM,ew,ow,yr,Ia,Bu,Xo,Gu,Uu,rc,$u],imports:[fe]})}}return t})();var yo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Wu="Authorization",TW="Fineract-Platform-TenantId",cw="Fineract-Platform-TFA-Token",lw=(()=>{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[Wu]=`Bearer ${e}`:yo.headers[Wu]=`Basic ${e}`}setTwoFactorAccessToken(e){yo.headers[cw]=e}removeAuthorization(){delete yo.headers[Wu]}removeAuthorizationTenant(){delete yo.headers[Wu],delete yo.headers[TW]}removeTwoFactorAuthorization(){delete yo.headers[cw]}static{this.\u0275fac=function(n){return new(n||t)(ae(Nt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var qu=(()=>{class t{changePassword(e,n){return this.http.put(`/users/${e}`,n)}constructor(e,n,r){this.http=e,this.alertService=n,this.authenticationInterceptor=r,this.userLoggedIn$=new Je(!1),this.isAuthenticated$=this.userLoggedIn$.asObservable(),this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token),this.userLoggedIn=!0,this.userLoggedIn$.next(!0)}}login(e){this.alertService.alert({type:"Authentication Start",message:"Please wait..."});let n=mt.enableRememberMe===!0;if(this.rememberMe=n?e.remember:!1,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let r=new Z;r=r.set("username",e.username),r=r.set("password",e.password),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("grant_type","password"),r=r.set("remember_me",this.rememberMe?"true":"false");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).pipe(pe(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(pe(r=>(this.onLoginSuccess(r),ie(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let n=new vr;n=n.set("Authorization","bearer "+e.access_token),this.http.get(`${mt.serverUrl}/userdetails`,{headers:n}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let n=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,this.userLoggedIn$.next(!0),e.rememberMe=this.rememberMe,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,n=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,this.userLoggedIn$.next(!1),ie(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(pe(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let n={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(n).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(n){return new(n||t)(ae(On),ae(Zo),ae(lw))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Jo=(()=>{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(qu))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var vw=(()=>{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})(),bw=(()=>{class t extends vw{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 VW={provide:Qn,useExisting:wt(()=>ai),multi:!0};function LW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var RW=new A(""),ai=(()=>{class t extends vw{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!LW())}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(RW,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([VW]),ce]})}return t})();function Jg(t){return t==null||e5(t)===0}function e5(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var oi=new A(""),oc=new A(""),zW=/^(?=.{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 yw(i)}static max(i){return Cw(i)}static required(i){return xw(i)}static requiredTrue(i){return HW(i)}static email(i){return NW(i)}static minLength(i){return Mw(i)}static maxLength(i){return ww(i)}static pattern(i){return FW(i)}static nullValidator(i){return Qu()}static compose(i){return Iw(i)}static composeAsync(i){return Pw(i)}};function yw(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 xw(t){return Jg(t.value)?{required:!0}:null}function HW(t){return t.value===!0?null:{required:!0}}function NW(t){return Jg(t.value)||zW.test(t.value)?null:{email:!0}}function Mw(t){return i=>{let e=i.value?.length??e5(i.value);return e===null||e===0?null:e{let e=i.value?.length??e5(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function FW(t){if(!t)return Qu;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Jg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Qu(t){return null}function Dw(t){return t!=null}function Sw(t){return Yo(t)?jt(t):t}function kw(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function Ew(t,i){return i.map(e=>e(t))}function BW(t){return!t.validate}function Ow(t){return t.map(i=>BW(i)?i:e=>i.validate(e))}function Iw(t){if(!t)return null;let i=t.filter(Dw);return i.length==0?null:function(e){return kw(Ew(e,i))}}function t5(t){return t!=null?Iw(Ow(t)):null}function Pw(t){if(!t)return null;let i=t.filter(Dw);return i.length==0?null:function(e){let n=Ew(e,i).map(Sw);return no(n).pipe(pe(kw))}}function n5(t){return t!=null?Pw(Ow(t)):null}function uw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Tw(t){return t._rawValidators}function Aw(t){return t._rawAsyncValidators}function Kg(t){return t?Array.isArray(t)?t:[t]:[]}function Ku(t,i){return Array.isArray(t)?t.includes(i):t===i}function mw(t,i){let e=Kg(i);return Kg(t).forEach(r=>{Ku(e,r)||e.push(r)}),e}function pw(t,i){return Kg(i).filter(e=>!Ku(t,e))}var Zu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=t5(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=n5(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ri=class extends Zu{name;get formDirective(){return null}get path(){return null}},Fn=class extends Zu{_parent=null;name=null;valueAccessor=null},Xu=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}},jW={"[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"},l6e=Be(q({},jW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Xu{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 Xu{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",Yu="INVALID",Wl="PENDING",wd="DISABLED",ts=class{},Ju=class extends ts{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Sd=class extends ts{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},kd=class extends ts{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},ql=class extends ts{status;source;constructor(i,e){super(),this.status=i,this.source=e}},em=class extends ts{source;constructor(i){super(),this.source=i}},tm=class extends ts{source;constructor(i){super(),this.source=i}};function i5(t){return(am(t)?t.validators:t)||null}function UW(t){return Array.isArray(t)?t5(t):t||null}function r5(t,i){return(am(i)?i.asyncValidators:t)||null}function $W(t){return Array.isArray(t)?n5(t):t||null}function am(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Vw(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 Lw(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===Yu}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(mw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(mw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(pw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(pw(i,this._rawAsyncValidators))}hasValidator(i){return Ku(this._rawValidators,i)}hasAsyncValidator(i){return Ku(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 Ju(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 Ju(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=Sw(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?Yu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wl)?Wl:this._anyControlsHaveStatus(Yu)?Yu: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){am(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=UW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=$W(this._rawAsyncValidators)}},ac=class extends Yl{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){Lw(this,!0,i),Object.keys(i).forEach(n=>{Vw(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 Rw=ac;var Zg=class extends ac{};var Ql=new A("",{providedIn:"root",factory:()=>om}),om="always";function sm(t,i){return[...i.path,t]}function Ed(t,i,e=om){a5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),WW(t,i),YW(t,i),qW(t,i),GW(t,i)}function nm(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),rm(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function im(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function GW(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function a5(t,i){let e=Tw(t);i.validator!==null?t.setValidators(uw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Aw(t);i.asyncValidator!==null?t.setAsyncValidators(uw(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();im(i._rawValidators,r),im(i._rawAsyncValidators,r)}function rm(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Tw(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=Aw(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 im(i._rawValidators,n),im(i._rawAsyncValidators,n),e}function WW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&zw(t,i)})}function qW(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&zw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function zw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function YW(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Hw(t,i){t==null,a5(t,i)}function QW(t,i){return rm(t,i)}function o5(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function KW(t){return Object.getPrototypeOf(t.constructor)===bw}function Nw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function s5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ai?e=a:KW(a)?n=a:r=a}),r||n||e||null}function ZW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var XW={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({},t5(e),n5(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){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({});Hw(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),Nw(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new em(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 tm(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([XW]),ce]})}return t})();function fw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function hw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var es=class extends Yl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(i5(e),r5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),am(e)&&(e.nonNullable||e.initialValueIsDefault)&&(hw(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){fw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){fw(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){hw(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=es,JW=t=>t instanceof es,eq=(()=>{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 sm(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 tq={provide:Fn,useExisting:wt(()=>nq)},gw=Promise.resolve(),nq=(()=>{class t extends Fn{_changeDetectorRef;callSetDisabledState;control=new es;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new j;constructor(e,n,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=s5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),o5(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){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){gw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);gw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?sm(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([tq]),ce,Pe]})}return t})();var ns=(()=>{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})(),iq={provide:Qn,useExisting:wt(()=>rq),multi:!0},rq=(()=>{class t extends bw{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([iq]),ce]})}return t})();var c5=new A(""),aq={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=s5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&nm(n,this,!1),Ed(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}o5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nm(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(c5,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([aq]),ce,Pe]})}return t})(),oq={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&&(rm(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){nm(e.control||null,e,!1),ZW(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),Nw(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new em(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 tm(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(nm(n||null,e),JW(r)&&(Ed(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Hw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&QW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){a5(this.form,this),this._oldForm&&rm(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([oq]),ce,Pe]})}return t})(),sq={provide:ri,useExisting:wt(()=>Fw)},Fw=(()=>{class t extends eq{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){jw(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([sq]),ce]})}return t})(),cq={provide:ri,useExisting:wt(()=>Bw)},Bw=(()=>{class t extends ri{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){jw(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 sm(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([cq]),ce]})}return t})();function jw(t){return!(t instanceof Fw)&&!(t instanceof Kn)&&!(t instanceof Bw)}var lq={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=s5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),o5(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return sm(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(c5,8))};static \u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ue([lq]),ce,Pe]})}return t})();function Uw(t){return typeof t=="number"?t:parseInt(t,10)}function $w(t){return typeof t=="number"?t:parseFloat(t)}var Od=(()=>{class t{_validator=Qu;_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):Qu,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})(),dq={provide:oi,useExisting:wt(()=>uq),multi:!0},uq=(()=>{class t extends Od{max;inputName="max";normalizeInput=e=>$w(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:[["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([dq]),ce]})}return t})(),mq={provide:oi,useExisting:wt(()=>pq),multi:!0},pq=(()=>{class t extends Od{min;inputName="min";normalizeInput=e=>$w(e);createValidator=e=>yw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","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([mq]),ce]})}return t})(),fq={provide:oi,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Od{required;inputName="required";normalizeInput=B;createValidator=e=>xw;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([fq]),ce]})}return t})();var hq={provide:oi,useExisting:wt(()=>gq),multi:!0},gq=(()=>{class t extends Od{minlength;inputName="minlength";normalizeInput=e=>Uw(e);createValidator=e=>Mw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","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([hq]),ce]})}return t})(),_q={provide:oi,useExisting:wt(()=>vq),multi:!0},vq=(()=>{class t extends Od{maxlength;inputName="maxlength";normalizeInput=e=>Uw(e);createValidator=e=>ww(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([_q]),ce]})}return t})();var Gw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Xg=class extends Yl{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Lw(this,!1,i),i.forEach((n,r)=>{Vw(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 _w(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var bq=(()=>{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 _w(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 Zg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(_w(n)?a=n:(a.validators=n,a.asyncValidators=r),new es(e,Be(q({},a),{nonNullable:!0}))):new es(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Xg(a,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof es)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 is=(()=>{class t extends bq{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 Ww=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ql,useValue:e.callSetDisabledState??om}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Gw]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:c5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ql,useValue:e.callSetDisabledState??om}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Gw]})}return t})();var qw=(()=>{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(Ea),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 h6e=(()=>{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 Yw=(()=>{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 l5;function Qw(){if(l5==null){let t=typeof document<"u"?document.head:null;l5=!!(t&&(t.createShadowRoot||t.attachShadow))}return l5}function sc(t){if(Qw()){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(ag.major),o=parseInt(ag.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(i,e,n,r):(i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)})}var d5;try{d5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d5=!1}var He=(()=>{class t{_platformId=u(Wo);isBrowser=this._platformId?Mg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||d5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Id;function Kw(){if(Id==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Id=!0}))}finally{Id=Id||!1}return Id}function rs(t){return Kw()?t:!!t.capture}function sn(t,i=0){return cm(t)?Number(t):arguments.length===2?i:0}function cm(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Cn(t){return t instanceof Y?t.nativeElement:t}var Zw=new A("cdk-input-modality-detector-options"),Xw={ignoreKeys:[18,17,224,91,16]},Jw=650,u5={passive:!0,capture:!0},eD=(()=>{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(Zw,{optional:!0});if(this._options=q(q({},Xw),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,u5),Dt(a,n,"mousedown",this._onMousedown,u5),Dt(a,n,"touchstart",this._onTouchstart,u5)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pd=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Pd||{}),tD=new A("cdk-focus-monitor-default-options"),lm=rs({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(eD);_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(tD,{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?Jw: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,lm),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,lm)}),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,lm),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,lm),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 dm=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=dm.get(n);r||(r={loaders:new Set,refs:[]},dm.set(n,r),n.onDestroy(()=>{dm.get(n)?.refs.forEach(a=>a.destroy()),dm.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 PM(i)}encodeValue(i){return PM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function nW(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 iW=/%(\d[a-f0-9])/gi,rW={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function PM(t){return encodeURIComponent(t).replace(iW,(i,e)=>rW[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=nW(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 aW(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function TM(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function AM(t){return typeof Blob<"u"&&t instanceof Blob}function VM(t){return typeof FormData<"u"&&t instanceof FormData}function oW(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var LM="Content-Type",RM="Accept",HM="X-Request-URL",NM="text/plain",FM="application/json",sW=`${FM}, ${NM}, */*`,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(aW(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}},cW=200,lW=204;function Tg(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(pe(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Ce(2806,!1);return d.body}));case"blob":return s.pipe(pe(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Ce(2807,!1);return d.body}));case"text":return s.pipe(pe(d=>{if(d.body!==null&&typeof d.body!="string")throw new Ce(2808,!1);return d.body}));case"json":default:return s.pipe(pe(d=>d.body))}case"response":return s;default:throw new Ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Z().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Tg(r,n))}post(e,n,r={}){return this.request("POST",e,Tg(r,n))}put(e,n,r={}){return this.request("PUT",e,Tg(r,n))}static \u0275fac=function(n){return new(n||t)(ae(Hl))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var dW=new A("");function BM(t,i){return i(t)}function uW(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function mW(t,i,e){return(n,r)=>Ki(e,()=>i(n,a=>t(a,r)))}var jM=new A(""),Vg=new A(""),UM=new A(""),Lg=new A("",{providedIn:"root",factory:()=>!0});function pW(){let t=null;return(i,e)=>{t===null&&(t=(u(jM,{optional:!0})??[]).reduceRight(uW,BM));let n=u(mo);if(u(Lg)){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(Lg);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(Vg),...this.injector.get(UM,[])]));this.chain=n.reduceRight((r,a)=>mW(r,a,this.injector),BM)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(_a(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(ae(md),ae(fn))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var fW=/^\)\]\}',?\n/,hW=RegExp(`^${HM}:`,"m");function gW(t){return"responseURL"in t&&t.responseURL?t.responseURL:hW.test(t.getAllResponseHeaders())?t.getResponseHeader(HM):null}var Ag=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Ce(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?jt(n.\u0275loadImpl()):ie(null)).pipe(dt(()=>new Ue(a=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((ne,oe)=>o.setRequestHeader(ne,oe.join(","))),e.headers.has(RM)||o.setRequestHeader(RM,sW),!e.headers.has(LM)){let ne=e.detectContentTypeHeader();ne!==null&&o.setRequestHeader(LM,ne)}if(e.responseType){let ne=e.responseType.toLowerCase();o.responseType=ne!=="json"?ne:"text"}let s=e.serializeBody(),d=null,h=()=>{if(d!==null)return d;let ne=o.statusText||"OK",oe=new vr(o.getAllResponseHeaders()),ye=gW(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!==lW&&(nt=typeof o.response>"u"?o.responseText:o.response),oe===0&&(oe=nt?cW:0);let An=oe>=200&&oe<300;if(e.responseType==="json"&&typeof nt=="string"){let zn=nt;nt=nt.replace(fW,"");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})(),$M=new A(""),_W="XSRF-TOKEN",vW=new A("",{providedIn:"root",factory:()=>_W}),bW="X-XSRF-TOKEN",yW=new A("",{providedIn:"root",factory:()=>bW}),hd=class{},CW=(()=>{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(vW))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function xW(t,i){let e=t.url.toLowerCase();if(!u($M)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=u(hd).getToken(),r=u(yW);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var Rg=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}(Rg||{});function MW(t,i){return{\u0275kind:t,\u0275providers:i}}function wW(...t){let i=[On,Ag,Vu,{provide:Hl,useExisting:Vu},{provide:md,useFactory:()=>u(dW,{optional:!0})??u(Ag)},{provide:Vg,useValue:xW,multi:!0},{provide:$M,useValue:!0},{provide:hd,useClass:CW}];for(let e of t)i.push(...e.\u0275providers);return Dl(i)}var zM=new A("");function DW(){return MW(Rg.LegacyInterceptors,[{provide:zM,useFactory:pW},{provide:Vg,useExisting:zM,multi:!0}])}var GM=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var 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(SW),r},providedIn:"root"})}return t})(),SW=(()=>{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):E8(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 cC(e)}bypassSecurityTrustStyle(e){return lC(e)}bypassSecurityTrustScript(e){return dC(e)}bypassSecurityTrustUrl(e){return uC(e)}bypassSecurityTrustResourceUrl(e){return mC(e)}static \u0275fac=function(n){return new(n||t)(ae(De))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Fl=class{},WM=(()=>{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{},qM=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function 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]=zg(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):zg({},i)}function Hg(t,i){let e=i.split(".");i="";do i+=e.shift(),Ko(t)&&Ko(t[i])&&(yd(t[i])||Ug(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function EW(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($g(e))return this.interpolateString(e,n);if(kW(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,a)=>{let o=Hg(n,a);return Ko(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{},QM=(()=>{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},Ng=new A("ISOLATE_TRANSLATE_SERVICE"),Fg=new A("USE_DEFAULT_LANG"),Bg=new A("DEFAULT_LANGUAGE"),jg=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(Ls(1),Le(1));return this.loadingTranslations=n.pipe(pe(r=>this.compiler.compileTranslations(r,e)),Ls(1),Le(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?q(q({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let a=this.compiler.compileTranslations(n,e);(r||this.extend)&&this.translations[e]?this.translations[e]=zg(this.translations[e],a):this.translations[e]=a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(r=>!this.langs.includes(r));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,r){let a;if(e&&(a=this.runInterpolation(Hg(e,n),r)),a===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.runInterpolation(Hg(this.translations[this.defaultLang],n),r)),a===void 0){let o={key:n,translateService:this};typeof r<"u"&&(o.interpolateParams=r),a=this.missingTranslationHandler.handle(o)}return a!==void 0?a:n}runInterpolation(e,n){if(Ug(e))return e.map(r=>this.runInterpolation(r,n));if(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 no(s).pipe(pe(d=>{let h={};return d.forEach((v,C)=>{h[n[C]]=v}),h}))}return this.getParsedResultForKey(e,n,r)}get(e,n){if(!Ko(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(!Ko(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return gi(Pi(()=>this.get(e,n)),this.onTranslationChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}stream(e,n){if(!Ko(e)||!e.length)throw new Error('Parameter "key" required');return gi(Pi(()=>this.get(e,n)),this.onLangChange.pipe(dt(r=>{let a=this.getParsedResult(r.translations,e,n);return _d(a)})))}instant(e,n){if(!Ko(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){EW(this.translations[r],e,$g(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(ae(bd),ae(Fl),ae(jl),ae(Bl),ae(vd),ae(Fg),ae(Ng),ae(jg),ae(Bg))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ee=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,r){let a=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(r,e,n);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(Ko(n[0])&&n.length)if($g(n[0])&&n[0].length){let a=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(a)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else 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 Gg=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:WM},e.compiler||{provide:jl,useClass:QM},e.parser||{provide:Bl,useClass:YM},e.missingTranslationHandler||{provide:vd,useClass:qM},bd,{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Fl,useClass:WM},e.compiler||{provide:jl,useClass:QM},e.parser||{provide:Bl,useClass:YM},e.missingTranslationHandler||{provide:vd,useClass:qM},{provide:Ng,useValue:e.isolate},{provide:Fg,useValue:e.useDefaultLang},{provide:jg,useValue:e.extend},{provide:Bg,useValue:e.defaultLanguage},br]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})();var Wg={mifos_x:{version:"251111",hash:"3a0b208"},allow_switching_backend_instance:!0};var Xt=window.env||{},mt={production:!0,version:Wg.mifos_x.version,hash:Wg.mifos_x.hash,fineractPlatformTenantId:Xt.fineractPlatformTenantId||"default",fineractPlatformTenantIds:Xt.fineractPlatformTenantIds||"default",baseApiUrls:Xt.fineractApiUrls||"https://sandbox.mifos.community,https://demo.mifos.community,https://localhost:8443,"+window.location.origin,baseApiUrl:Xt.fineractApiUrl||(Xt.fineractApiUrls?.length>0?Xt.fineractApiUrls.split(",")[0]:window.location.origin),oauthServerUrl:Xt.oauthServerUrl||Xt.fineractApiUrl+Xt.apiProvider,allowServerSwitch:Xt.allowServerSwitch||"true",apiProvider:Xt.apiProvider||"/fineract-provider/api",apiVersion:Xt.apiVersion||"/v1",serverUrl:"",oauth:{enabled:Xt.oauthServerEnabled||!1,serverUrl:Xt.oauthServerUrl||"",appId:Xt.oauthAppId||""},enableRememberMe:!1,warningDialog:{title:"Warning",content:"This system is for authorized use only. Unauthorized access will result in possible legal action. By accessing this system, you acknowledge that you are authorized to do so and that all data stored and processed here is confidential.",buttonText:"Close"},defaultLanguage:Xt.defaultLanguage||"en-US",supportedLanguages:Xt.supportedLanguages||"cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW",preloadClients:Xt.preloadClients||!0,defaultCharDelimiter:Xt.defaultCharDelimiter||",",displayBackEndInfo:Xt.displayBackEndInfo||"true",displayTenantSelector:Xt.displayTenantSelector||"true",waitTimeForNotifications:Xt.waitTimeForNotifications||60,waitTimeForCOBCatchUp:Xt.waitTimeForCOBCatchUp||30,session:{timeout:{idleTimeout:Xt.sessionIdleTimeout||3e5}},httpCacheEnabled:Xt.httpCacheEnabled||!1,vNextApiUrl:window.env.vNextApiUrl||"https://apis.mifos.community",vNextApiProvider:window.env.vNextApiProvider||"/vnext1",vNextApiVersion:window.env.vNextApiVersion||"/v1.0",interbankTransfers:window.env.interbankTransfers||!1,minPasswordLength:Xt.minPasswordLength||12,OIDC:{oidcServerEnabled:window.env.oidcServerEnabled||!1,oidcBaseUrl:window.env.oidcBaseUrl||"",oidcClientId:window.env.oidcClientId||"",oidcApiUrl:window.env.oidcApiUrl||"",oidcFrontUrl:window.env.oidcFrontUrl||""}};mt.serverUrl=`${mt.baseApiUrl}${mt.apiProvider}${mt.apiVersion}`;var KM=(()=>{class t{transform(e,n,r,a){if(e){if(n==="loan"&&(r==="closed"?e=e.filter(o=>o.status.code==="loanStatusType.closed.written.off"||o.status.code==="loanStatusType.closed.obligations.met"||o.status.code==="loanStatusType.closed.reschedule.outstanding.amount"||o.status.code==="loanStatusType.withdrawn.by.client"||o.status.code==="loanStatusType.rejected"):e=e.filter(o=>o.status.code!=="loanStatusType.closed.written.off"&&o.status.code!=="loanStatusType.closed.obligations.met"&&o.status.code!=="loanStatusType.closed.reschedule.outstanding.amount"&&o.status.code!=="loanStatusType.withdrawn.by.client"&&o.status.code!=="loanStatusType.rejected")),n==="saving"&&(a==="isFixed"?e=e.filter(o=>o.depositType.value==="Fixed Deposit"):a==="isRecurring"?e=e.filter(o=>o.depositType.value==="Recurring Deposit"):a==="isSavings"&&(e=e.filter(o=>o.depositType.value==="Savings")),r==="closed"?e=e.filter(o=>o.status.code==="savingsAccountStatusType.withdrawn.by.applicant"||o.status.code==="savingsAccountStatusType.closed"||o.status.code==="savingsAccountStatusType.pre.mature.closure"||o.status.code==="savingsAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="savingsAccountStatusType.withdrawn.by.applicant"&&o.status.code!=="savingsAccountStatusType.closed"&&o.status.code!=="savingsAccountStatusType.pre.mature.closure"&&o.status.code!=="savingsAccountStatusType.rejected")),n==="share"&&(r==="closed"?e=e.filter(o=>o.status.code==="shareAccountStatusType.closed"||o.status.code==="shareAccountStatusType.rejected"):e=e.filter(o=>o.status.code!=="shareAccountStatusType.closed"&&o.status.code!=="shareAccountStatusType.rejected")),n==="guarantor")if(r===!1)e=e.filter(o=>o.status===!0);else return e;return n==="clientApproval"&&(e=e.filter(o=>o.active===!1&&o.status.value==="Pending")),e}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"accountsFilter",type:t,pure:!0})}}return t})();var ZM=(()=>{class t{transform(e,n,r,a){return e&&(e=e.filter(o=>!(o.currency.code!==r||a&&o.chargeTimeType.id===12||n.filter(s=>s.id===o.id).length))),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesFilter",type:t,pure:!0})}}return t})();var XM=(()=>{class t{transform(e,n){return e&&(e=e.filter(r=>r.penalty===n)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"chargesPenaltyFilter",type:t,pure:!0})}}return t})();var Zo=(()=>{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})();function Yg(t,i){if(!t)return i;try{return JSON.parse(t)}catch{return i}}function Nu(t,i){if(!t)return i;try{let e=JSON.parse(t);return e&&typeof e=="object"&&!Array.isArray(e)?e:i}catch{return i}}function Qg(t,i=[]){if(!t)return i;try{let e=JSON.parse(t);return Array.isArray(e)?e:i}catch{return i}}var Nt=(()=>{class t{static{this.businessDateFormat="yyyy-MM-dd"}static{this.businessDateConfigName="enable-business-date"}static{this.businessDateType="BUSINESS_DATE"}static{this.cobDateType="COB_DATE"}constructor(e,n){this.alertService=e,this.dateUtils=n,this.minAllowedDate=new Date(1950,0,1),this.maxAllowedDate=new Date(2100,0,1)}setDateFormat(e){localStorage.setItem("mifosXDateFormat",JSON.stringify(e))}setLanguage(e){localStorage.setItem("mifosXLanguage",JSON.stringify(e))}setDecimalToDisplay(e){localStorage.setItem("mifosXDecimalsToDisplay",e)}setDefaultLanguage(){let e=mt.defaultLanguage?mt.defaultLanguage:"en-US";this.setLanguage({name:e,code:e.substring(0,2)})}setServer(e){localStorage.setItem("mifosXServerURL",e)}setServers(e){localStorage.setItem("mifosXServers",JSON.stringify(e))}setTenantIdentifiers(e){localStorage.setItem("mifosXTenantIdentifiers",JSON.stringify(e))}setTenantIdentifier(e){localStorage.setItem("mifosXTenantIdentifier",e)}setBusinessDate(e){localStorage.setItem("mifosXServerDate",e)}setBusinessDateConfig(e){localStorage.setItem("mifosXServerBusinessDateEnabled",e)}get dateFormat(){let e=Yg(localStorage.getItem("mifosXDateFormat"),null);return typeof e=="string"&&e.length>0?e:"dd MMMM yyyy"}get language(){return localStorage.getItem("mifosXLanguage")||this.setDefaultLanguage(),Nu(localStorage.getItem("mifosXLanguage"),void 0)}get languageCode(){let e=this.language.code;return e==="es"?"es-MX":e==="en"?"en-US":e+"-"+e.toUpperCase()}get decimals(){return localStorage.getItem("mifosXDecimalsToDisplay")?localStorage.getItem("mifosXDecimalsToDisplay"):"2"}get servers(){return Qg(localStorage.getItem("mifosXServers"),[])}get server(){return localStorage.getItem("mifosXServerURL")?localStorage.getItem("mifosXServerURL"):mt.baseApiUrl&&mt.baseApiUrl!==""?mt.baseApiUrl:this.servers[0]}get baseServerUrl(){return this.server+mt.apiProvider}get serverUrl(){return this.server+mt.apiProvider+mt.apiVersion}get serverHost(){return this.server}get businessDate(){return this.dateUtils.convertToDate(localStorage.getItem("mifosXServerDate"),t.businessDateFormat)}get businessDateConfig(){return localStorage.getItem("mifosXServerBusinessDateEnabled")}get minPastDate(){return this.minAllowedDate}get maxFutureDate(){return this.maxAllowedDate}get tenantIdentifiers(){return Qg(localStorage.getItem("mifosXTenantIdentifiers"),[])}get tenantIdentifier(){return localStorage.getItem("mifosXTenantIdentifier")}validateBusinessDateStatus(e){e.some(n=>{if(n.name===t.businessDateConfigName)return n.enabled})}getBusinessDates(e,n){e.some(r=>{if(r.type===n){let a=new Date(r.date);this.setBusinessDate(this.dateUtils.formatDate(a,t.businessDateFormat)),this.alertService.alert({type:n+" Set",message:this.dateUtils.formatDate(a,this.dateFormat)});return}})}setThemeDarkEnabled(e){localStorage.setItem("mifosXThemeDarkEnabled",JSON.stringify(e))}get themeDarkEnabled(){return Yg(localStorage.getItem("mifosXThemeDarkEnabled"),!1)}static{this.\u0275fac=function(n){return new(n||t)(ae(Zo),ae(Li))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Fu=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 Fu.default.locale(this.settingsService.language.code),e instanceof Array?a=(0,Fu.default)(e.join("-"),"YYYY-MM-DD"):a=(0,Fu.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 Ia=(()=>{class t{transform(e,n){if(e==null||e==="")return"";let r;if(Array.isArray(e)){let[o,s,d,h,v,C]=e;h!=null?r=(0,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 Bu=(()=>{class t{transform(e){if(e){if(/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi.test(e))return e.split("-")[4];{let a=e.length;return a>20?e.substring(a-20,a):e}}else return""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=_t({name:"externalIdentifier",type:t,pure:!0})}}return t})();var JM=new WeakMap,ew=(()=>{class t{constructor(e){this.sanitizer=e}transform(e,n,r,a){if(!n||!r||e===null||e===void 0)return"";let o=JM.get(n);o||(o=new Map,JM.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 Xo=(()=>{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 iw=r3(nw());var Uu=(()=>{class t{transform(e){if(e.charAt(0)==="{"&&e.charAt(e.length-1)==="}")try{return iw.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 rw=(()=>{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 $u=(()=>{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 ow=(()=>{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 Gu=(()=>{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 sw=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=K({type:t})}static{this.\u0275inj=Q({providers:[rw,KM,ZM,XM,ew,ow,yr,Ia,Bu,Xo,Gu,Uu,rc,$u],imports:[fe]})}}return t})();var yo={headers:{"Fineract-Platform-TenantId":mt.fineractPlatformTenantId}},Wu="Authorization",TW="Fineract-Platform-TenantId",cw="Fineract-Platform-TFA-Token",lw=(()=>{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[Wu]=`Bearer ${e}`:yo.headers[Wu]=`Basic ${e}`}setTwoFactorAccessToken(e){yo.headers[cw]=e}removeAuthorization(){delete yo.headers[Wu]}removeAuthorizationTenant(){delete yo.headers[Wu],delete yo.headers[TW]}removeTwoFactorAuthorization(){delete yo.headers[cw]}static{this.\u0275fac=function(n){return new(n||t)(ae(Nt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var qu=(()=>{class t{changePassword(e,n){return this.http.put(`/users/${e}`,n)}constructor(e,n,r){this.http=e,this.alertService=n,this.authenticationInterceptor=r,this.userLoggedIn$=new Je(!1),this.isAuthenticated$=this.userLoggedIn$.asObservable(),this.dialogShown=!1,this.credentialsStorageKey="mifosXCredentials",this.oAuthTokenDetailsStorageKey="mifosXOAuthTokenDetails",this.twoFactorAuthenticationTokenStorageKey="mifosXTwoFactorAuthenticationToken",this.userLoggedIn=!1,this.rememberMe=!1,this.storage=sessionStorage;let a=JSON.parse(sessionStorage.getItem(this.credentialsStorageKey)||localStorage.getItem(this.credentialsStorageKey));if(a){a.rememberMe&&(this.rememberMe=!0,this.storage=localStorage);let o=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));mt.oauth.enabled?this.refreshOAuthAccessToken():r.setAuthorizationToken(a.base64EncodedAuthenticationKey),o&&r.setTwoFactorAccessToken(o.token),this.userLoggedIn=!0,this.userLoggedIn$.next(!0)}}login(e){this.alertService.alert({type:"Authentication Start",message:"Please wait..."});let n=mt.enableRememberMe===!0;if(this.rememberMe=n?e.remember:!1,this.storage=this.rememberMe?localStorage:sessionStorage,mt.oauth.enabled){let r=new Z;r=r.set("username",e.username),r=r.set("password",e.password),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("grant_type","password"),r=r.set("remember_me",this.rememberMe?"true":"false");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).pipe(pe(o=>(this.getUserDetails(o),ie(!0))))}else return this.http.post("/authentication",{username:e.username,password:e.password,remember:this.rememberMe}).pipe(pe(r=>(this.onLoginSuccess(r),ie(!0))))}getUserDetails(e){this.refreshTokenOnExpiry(e.expires_in);let n=new vr;n=n.set("Authorization","bearer "+e.access_token),this.http.get(`${mt.serverUrl}/userdetails`,{headers:n}).subscribe(r=>{this.onLoginSuccess(r),r.shouldRenewPassword||this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(e))})}refreshTokenOnExpiry(e){setTimeout(()=>this.refreshOAuthAccessToken(),e*1e3)}refreshOAuthAccessToken(){var e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey));if(e==null)return;e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,this.authenticationInterceptor.removeAuthorization();let n=JSON.parse(this.storage.getItem(this.credentialsStorageKey)),r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e),r=r.set("grant_type","refresh_token");let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/token`,r.toString(),{headers:a}).subscribe(o=>{this.storage.setItem(this.oAuthTokenDetailsStorageKey,JSON.stringify(o)),this.authenticationInterceptor.setAuthorizationToken(o.access_token),this.refreshTokenOnExpiry(o.expires_in);let s=JSON.parse(this.storage.getItem(this.credentialsStorageKey));s.accessToken=o.access_token,this.storage.setItem(this.credentialsStorageKey,JSON.stringify(s))})}onLoginSuccess(e){this.userLoggedIn=!0,this.userLoggedIn$.next(!0),e.rememberMe=this.rememberMe,mt.oauth.enabled?this.authenticationInterceptor.setAuthorizationToken(e.accessToken):this.authenticationInterceptor.setAuthorizationToken(e.base64EncodedAuthenticationKey),e.isTwoFactorAuthenticationRequired?(this.credentials=e,this.alertService.alert({type:"Two Factor Authentication Required",message:"Two Factor Authentication Required"})):e.shouldRenewPassword?(this.credentials=e,this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"})):(this.setCredentials(e),this.alertService.alert({type:"Authentication Success",message:`${e.username} successfully logged in!`}),delete this.credentials)}logoutAuthSession(){let e=JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey)).refresh_token,n=JSON.parse(this.storage.getItem(this.credentialsStorageKey));this.authenticationInterceptor.removeAuthorizationTenant();let r=new Z;r=r.set("username",n.username),r=r.set("client_id",`${mt.oauth.appId}`),r=r.set("refresh_token",e);let a=new vr;return a=a.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(`${mt.oauth.serverUrl}/logout`,r.toString(),{headers:a}).subscribe()}logout(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e&&(this.http.post("/twofactor/invalidate",{token:e.token}).subscribe(),this.authenticationInterceptor.removeTwoFactorAuthorization()),JSON.parse(this.storage.getItem(this.oAuthTokenDetailsStorageKey))&&this.logoutAuthSession(),this.authenticationInterceptor.removeAuthorization(),this.setCredentials(),this.resetDialog(),this.userLoggedIn=!1,this.userLoggedIn$.next(!1),ie(!0)}twoFactorAccessTokenIsValid(){let e=JSON.parse(this.storage.getItem(this.twoFactorAuthenticationTokenStorageKey));return e?new Date().getTime(){this.onOTPValidateSuccess(r)}))}onOTPValidateSuccess(e){this.authenticationInterceptor.setTwoFactorAccessToken(e.token),this.credentials.shouldRenewPassword?this.alertService.alert({type:"Password Expired",message:"Your password has expired, please reset your password!"}):(this.setCredentials(this.credentials),this.alertService.alert({type:"Authentication Success",message:`${this.credentials.username} successfully logged in!`}),delete this.credentials,this.storage.setItem(this.twoFactorAuthenticationTokenStorageKey,JSON.stringify(e)))}resetPassword(e){return this.http.put(`/users/${this.credentials.userId}`,e).pipe(pe(()=>{this.alertService.alert({type:"Password Reset Success",message:"Your password was sucessfully reset!"}),this.authenticationInterceptor.removeAuthorization(),this.authenticationInterceptor.removeTwoFactorAuthorization();let n={username:this.credentials.username,password:e.password,remember:this.rememberMe};this.login(n).subscribe()}))}getUserLoggedIn(){return this.userLoggedIn}static{this.\u0275fac=function(n){return new(n||t)(ae(On),ae(Zo),ae(lw))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var Jo=(()=>{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(qu))}}static{this.\u0275dir=V({type:t,selectors:[["","mifosxHasPermission",""]],inputs:{mifosxHasPermission:"mifosxHasPermission"}})}}return t})();var vw=(()=>{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})(),bw=(()=>{class t extends vw{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 VW={provide:Qn,useExisting:wt(()=>ai),multi:!0};function LW(){let t=_r()?_r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var RW=new A(""),ai=(()=>{class t extends vw{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!LW())}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(RW,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([VW]),ce]})}return t})();function Jg(t){return t==null||e5(t)===0}function e5(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var oi=new A(""),oc=new A(""),zW=/^(?=.{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 yw(i)}static max(i){return Cw(i)}static required(i){return xw(i)}static requiredTrue(i){return HW(i)}static email(i){return NW(i)}static minLength(i){return Mw(i)}static maxLength(i){return ww(i)}static pattern(i){return FW(i)}static nullValidator(i){return Qu()}static compose(i){return Iw(i)}static composeAsync(i){return Pw(i)}};function yw(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 xw(t){return Jg(t.value)?{required:!0}:null}function HW(t){return t.value===!0?null:{required:!0}}function NW(t){return Jg(t.value)||zW.test(t.value)?null:{email:!0}}function Mw(t){return i=>{let e=i.value?.length??e5(i.value);return e===null||e===0?null:e{let e=i.value?.length??e5(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function FW(t){if(!t)return Qu;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(Jg(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Qu(t){return null}function Dw(t){return t!=null}function Sw(t){return Yo(t)?jt(t):t}function kw(t){let i={};return t.forEach(e=>{i=e!=null?q(q({},i),e):i}),Object.keys(i).length===0?null:i}function Ew(t,i){return i.map(e=>e(t))}function BW(t){return!t.validate}function Ow(t){return t.map(i=>BW(i)?i:e=>i.validate(e))}function Iw(t){if(!t)return null;let i=t.filter(Dw);return i.length==0?null:function(e){return kw(Ew(e,i))}}function t5(t){return t!=null?Iw(Ow(t)):null}function Pw(t){if(!t)return null;let i=t.filter(Dw);return i.length==0?null:function(e){let n=Ew(e,i).map(Sw);return no(n).pipe(pe(kw))}}function n5(t){return t!=null?Pw(Ow(t)):null}function uw(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function Tw(t){return t._rawValidators}function Aw(t){return t._rawAsyncValidators}function Kg(t){return t?Array.isArray(t)?t:[t]:[]}function Ku(t,i){return Array.isArray(t)?t.includes(i):t===i}function mw(t,i){let e=Kg(i);return Kg(t).forEach(r=>{Ku(e,r)||e.push(r)}),e}function pw(t,i){return Kg(i).filter(e=>!Ku(t,e))}var Zu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=t5(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=n5(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},ri=class extends Zu{name;get formDirective(){return null}get path(){return null}},Fn=class extends Zu{_parent=null;name=null;valueAccessor=null},Xu=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}},jW={"[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"},l6e=Be(q({},jW),{"[class.ng-submitted]":"isSubmitted"}),Jt=(()=>{class t extends Xu{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 Xu{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",Yu="INVALID",Wl="PENDING",wd="DISABLED",ts=class{},Ju=class extends ts{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Sd=class extends ts{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},kd=class extends ts{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},ql=class extends ts{status;source;constructor(i,e){super(),this.status=i,this.source=e}},em=class extends ts{source;constructor(i){super(),this.source=i}},tm=class extends ts{source;constructor(i){super(),this.source=i}};function i5(t){return(am(t)?t.validators:t)||null}function UW(t){return Array.isArray(t)?t5(t):t||null}function r5(t,i){return(am(i)?i.asyncValidators:t)||null}function $W(t){return Array.isArray(t)?n5(t):t||null}function am(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Vw(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 Lw(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===Yu}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(mw(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(mw(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(pw(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(pw(i,this._rawAsyncValidators))}hasValidator(i){return Ku(this._rawValidators,i)}hasAsyncValidator(i){return Ku(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 Ju(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 Ju(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=Sw(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?Yu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wl)?Wl:this._anyControlsHaveStatus(Yu)?Yu: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){am(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=UW(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=$W(this._rawAsyncValidators)}},ac=class extends Yl{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){Lw(this,!0,i),Object.keys(i).forEach(n=>{Vw(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 Rw=ac;var Zg=class extends ac{};var Ql=new A("",{providedIn:"root",factory:()=>om}),om="always";function sm(t,i){return[...i.path,t]}function Ed(t,i,e=om){a5(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),WW(t,i),YW(t,i),qW(t,i),GW(t,i)}function nm(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),rm(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function im(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function GW(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function a5(t,i){let e=Tw(t);i.validator!==null?t.setValidators(uw(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=Aw(t);i.asyncValidator!==null?t.setAsyncValidators(uw(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();im(i._rawValidators,r),im(i._rawAsyncValidators,r)}function rm(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=Tw(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=Aw(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 im(i._rawValidators,n),im(i._rawAsyncValidators,n),e}function WW(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&zw(t,i)})}function qW(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&zw(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function zw(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function YW(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Hw(t,i){t==null,a5(t,i)}function QW(t,i){return rm(t,i)}function o5(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function KW(t){return Object.getPrototypeOf(t.constructor)===bw}function Nw(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function s5(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(a=>{a.constructor===ai?e=a:KW(a)?n=a:r=a}),r||n||e||null}function ZW(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var XW={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({},t5(e),n5(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){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({});Hw(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),Nw(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new em(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 tm(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([XW]),ce]})}return t})();function fw(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function hw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var es=class extends Yl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(i5(e),r5(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),am(e)&&(e.nonNullable||e.initialValueIsDefault)&&(hw(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){fw(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){fw(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){hw(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=es,JW=t=>t instanceof es,eq=(()=>{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 sm(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 tq={provide:Fn,useExisting:wt(()=>nq)},gw=Promise.resolve(),nq=(()=>{class t extends Fn{_changeDetectorRef;callSetDisabledState;control=new es;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new j;constructor(e,n,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=s5(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),o5(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){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){gw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&B(n);gw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?sm(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([tq]),ce,Pe]})}return t})();var ns=(()=>{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})(),iq={provide:Qn,useExisting:wt(()=>rq),multi:!0},rq=(()=>{class t extends bw{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([iq]),ce]})}return t})();var c5=new A(""),aq={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=s5(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&nm(n,this,!1),Ed(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}o5(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nm(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(c5,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([aq]),ce,Pe]})}return t})(),oq={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&&(rm(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){nm(e.control||null,e,!1),ZW(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),Nw(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new em(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 tm(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(nm(n||null,e),JW(r)&&(Ed(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Hw(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&QW(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){a5(this.form,this),this._oldForm&&rm(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([oq]),ce,Pe]})}return t})(),sq={provide:ri,useExisting:wt(()=>Fw)},Fw=(()=>{class t extends eq{name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){jw(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([sq]),ce]})}return t})(),cq={provide:ri,useExisting:wt(()=>Bw)},Bw=(()=>{class t extends ri{_parent;name=null;constructor(e,n,r){super(),this._parent=e,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){jw(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 sm(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([cq]),ce]})}return t})();function jw(t){return!(t instanceof Fw)&&!(t instanceof Kn)&&!(t instanceof Bw)}var lq={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=s5(this,a)}ngOnChanges(e){this._added||this._setUpControl(),o5(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return sm(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(c5,8))};static \u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ue([lq]),ce,Pe]})}return t})();function Uw(t){return typeof t=="number"?t:parseInt(t,10)}function $w(t){return typeof t=="number"?t:parseFloat(t)}var Od=(()=>{class t{_validator=Qu;_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):Qu,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})(),dq={provide:oi,useExisting:wt(()=>uq),multi:!0},uq=(()=>{class t extends Od{max;inputName="max";normalizeInput=e=>$w(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:[["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([dq]),ce]})}return t})(),mq={provide:oi,useExisting:wt(()=>pq),multi:!0},pq=(()=>{class t extends Od{min;inputName="min";normalizeInput=e=>$w(e);createValidator=e=>yw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["input","type","number","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([mq]),ce]})}return t})(),fq={provide:oi,useExisting:wt(()=>na),multi:!0};var na=(()=>{class t extends Od{required;inputName="required";normalizeInput=B;createValidator=e=>xw;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([fq]),ce]})}return t})();var hq={provide:oi,useExisting:wt(()=>gq),multi:!0},gq=(()=>{class t extends Od{minlength;inputName="minlength";normalizeInput=e=>Uw(e);createValidator=e=>Mw(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=we(t)))(r||t)}})();static \u0275dir=V({type:t,selectors:[["","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([hq]),ce]})}return t})(),_q={provide:oi,useExisting:wt(()=>vq),multi:!0},vq=(()=>{class t extends Od{maxlength;inputName="maxlength";normalizeInput=e=>Uw(e);createValidator=e=>ww(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([_q]),ce]})}return t})();var Gw=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({})}return t})(),Xg=class extends Yl{constructor(i,e,n){super(i5(e),r5(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){Lw(this,!1,i),i.forEach((n,r)=>{Vw(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 _w(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var bq=(()=>{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 _w(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 Zg(r,n)}control(e,n,r){let a={};return this.useNonNullable?(_w(n)?a=n:(a.validators=n,a.asyncValidators=r),new es(e,Be(q({},a),{nonNullable:!0}))):new es(e,n,r)}array(e,n,r){let a=e.map(o=>this._createControl(o));return new Xg(a,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof es)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 is=(()=>{class t extends bq{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 Ww=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ql,useValue:e.callSetDisabledState??om}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Gw]})}return t})(),_e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:c5,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ql,useValue:e.callSetDisabledState??om}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Gw]})}return t})();var qw=(()=>{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(Ea),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 h6e=(()=>{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 Yw=(()=>{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 l5;function Qw(){if(l5==null){let t=typeof document<"u"?document.head:null;l5=!!(t&&(t.createShadowRoot||t.attachShadow))}return l5}function sc(t){if(Qw()){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(ag.major),o=parseInt(ag.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(i,e,n,r):(i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)})}var d5;try{d5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d5=!1}var He=(()=>{class t{_platformId=u(Wo);isBrowser=this._platformId?Mg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||d5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Id;function Kw(){if(Id==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Id=!0}))}finally{Id=Id||!1}return Id}function rs(t){return Kw()?t:!!t.capture}function sn(t,i=0){return cm(t)?Number(t):arguments.length===2?i:0}function cm(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Cn(t){return t instanceof Y?t.nativeElement:t}var Zw=new A("cdk-input-modality-detector-options"),Xw={ignoreKeys:[18,17,224,91,16]},Jw=650,u5={passive:!0,capture:!0},eD=(()=>{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(Zw,{optional:!0});if(this._options=q(q({},Xw),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,u5),Dt(a,n,"mousedown",this._onMousedown,u5),Dt(a,n,"touchstart",this._onTouchstart,u5)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pd=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Pd||{}),tD=new A("cdk-focus-monitor-default-options"),lm=rs({passive:!0,capture:!0}),qt=(()=>{class t{_ngZone=u(se);_platform=u(He);_inputModalityDetector=u(eD);_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(tD,{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?Jw: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,lm),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,lm)}),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,lm),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,lm),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 dm=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=dm.get(n);r||(r={loaders:new Set,refs:[]},dm.set(n,r),n.onDestroy(()=>{dm.get(n)?.refs.forEach(a=>a.destroy()),dm.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 as(t){return Array.isArray(t)?t:[t]}var nD=new Set,cc,rD=(()=>{class t{_platform=u(He);_nonce=u(B1,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Cq}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&yq(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 yq(t,i){if(!nD.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),nD.add(t))}catch(e){console.error(e)}}function Cq(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var lc=(()=>{class t{_mediaMatcher=u(rD);_zone=u(se);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return iD(as(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=iD(as(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(pe(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:d,query:h})=>{s.matches=s.matches||d,s.breakpoints[h]=d}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),a={observable:new Ue(o=>{let s=d=>this._zone.run(()=>o.next(d));return n.addListener(s),()=>{n.removeListener(s)}}).pipe($e(n),pe(({matches:o})=>({query:e,matches:o})),ve(this._destroySubject)),mql:n};return this._queries.set(e,a),a}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function iD(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function xq(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})(),oD=(()=>{class t{_mutationObserverFactory=u(aD);_observedElements=new Map;_ngZone=u(se);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=Cn(e);return new Ue(r=>{let o=this._observeElement(n).pipe(pe(s=>s.filter(d=>!xq(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(oD);_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:[aD]})}return t})();var ss=(()=>{class t{_platform=u(He);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return wq(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=Mq(Tq(e));if(n&&(sD(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=sD(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Iq(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 Pq(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 Mq(t){try{return t.frameElement}catch{return null}}function wq(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Dq(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function Sq(t){return Eq(t)&&t.type=="hidden"}function kq(t){return Oq(t)&&t.hasAttribute("href")}function Eq(t){return t.nodeName.toLowerCase()=="input"}function Oq(t){return t.nodeName.toLowerCase()=="a"}function dD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function sD(t){if(!dD(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Iq(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function Pq(t){return Sq(t)?!1:Dq(t)||kq(t)||t.hasAttribute("contenteditable")||dD(t)}function Tq(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var um=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(ss);_ngZone=u(se);_document=u(De);_injector=u(Te);constructor(){u(Ze).load(ar)}create(e,n=!1){return new um(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p5=(()=>{class t{_elementRef=u(Y);_focusTrapFactory=u(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})(),uD=new A("liveAnnouncerElement",{providedIn:"root",factory:mD});function mD(){return null}var pD=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Aq=0,Vd=(()=>{class t{_ngZone=u(se);_defaultOptions=u(pD,{optional:!0});_liveElement;_document=u(De);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(uD,{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 os.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 os.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return os.BLACK_ON_WHITE}return os.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(m5,cD,lD),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===os.BLACK_ON_WHITE?e.add(m5,cD):n===os.WHITE_ON_BLACK&&e.add(m5,lD)}}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(mm)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=K({type:t});static \u0275inj=Q({imports:[Zl]})}return t})();var f5={},Fe=(()=>{class t{_appId=u(Js);getId(e){return this._appId!=="ng"&&(e+=this._appId),f5.hasOwnProperty(e)||(f5[e]=0),`${e}${f5[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vq=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:Vq;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Mt(e=>this._pressedLetters.push(e)),$r(i),Ve(()=>this._pressedLetters.length>0),pe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;nt[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var 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())):Go(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 h5=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=i=>!1;_trackByFn=i=>i;_items=[];_typeahead;_typeaheadSubscription=Me.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let i=0;for(let n=0;n{this._items=n.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):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 Lq(){return(t,i)=>new h5(t,i)}var gD=new A("tree-key-manager",{providedIn:"root",factory:Lq});var vD=" ";function t2(t,i,e){let n=gm(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(vD)))}function cs(t,i,e){let n=gm(t,i);e=e.trim();let r=n.filter(a=>a!==e);r.length?t.setAttribute(i,r.join(vD)):t.removeAttribute(i)}function gm(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var bD="cdk-describedby-message",hm="cdk-describedby-host",_5=0,n2=(()=>{class t{_platform=u(He);_document=u(De);_messageRegistry=new Map;_messagesContainer=null;_id=`${_5++}`;constructor(){u(Ze).load(ar),this._id=u(Js)+"-"+_5++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let a=g5(n,r);typeof n!="string"?(_D(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let a=g5(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof n=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${hm}="${this._id}"]`);for(let n=0;nr.indexOf(bD)!=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(hm,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,cs(e,"aria-describedby",r.messageElement.id),e.removeAttribute(hm)}_isElementDescribedByMessage(e,n){let r=gm(e,"aria-describedby"),a=this._messageRegistry.get(n),o=a&&a.messageElement.id;return!!o&&r.indexOf(o)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function g5(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function _D(t,i){t.id||(t.id=`${bD}-${i}-${_5++}`)}var Rq=["mat-internal-form-field",""],zq=["*"],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:Rq,ngContentSelectors:zq,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||{}),_m,mc;function vm(){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(_m==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),_m=oa.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,_m=t.scrollLeft===0?oa.NEGATED:oa.INVERTED),t.remove()}return _m}function v5(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var a2,yD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b5(){if(a2)return a2;if(typeof document!="object"||!document)return a2=new Set(yD),a2;let t=document.createElement("input");return a2=new Set(yD.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 CD(t,i=/\s+/){let e=[];if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let r of n){let a=`${r}`.trim();a&&e.push(a)}}return e}var zr=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(zr||{}),y5=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=zr.HIDDEN;constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},xD=rs({passive:!0,capture:!0}),C5=class{_events=new Map;addHandler(i,e,n,r){let a=this._events.get(e);if(a){let o=a.get(n);o?o.add(r):a.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,xD)})}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,xD)))}_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},Hq=800,MD=rs({passive:!0,capture:!0}),wD=["mousedown","touchstart"],DD=["mouseup","mouseleave","touchend","touchcancel"],Nq=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=I({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} diff --git a/browser/chunk-HX6REEIG.js b/browser/chunk-JMMR5IIN.js similarity index 99% rename from browser/chunk-HX6REEIG.js rename to browser/chunk-JMMR5IIN.js index 8e9390987..66e88bd58 100644 --- a/browser/chunk-HX6REEIG.js +++ b/browser/chunk-JMMR5IIN.js @@ -1 +1 @@ -import{Cb as u,F as o,Fc as c,I as p,wc as f,zb as r}from"./chunk-SXJVCOHC.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class a{constructor(t){this.translateService=t}translate(t,e){return this.translateService.get(t,e)}static{this.\u0275fac=function(e){return new(e||a)(p(f))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac})}}return a})();var T=(()=>{class a{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[a.DAYS_BEFORE_REPAYMENT_IS_DUE,a.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(n=>{let i=this.resolvePropertyName(n.name);i!==""&&(e?(!t[i]||t[i]==="")&&(t[i]=n.value):t[i]=n.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,n=this.settingsService.language.code,i=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:n});return delete i.allowAttributeConfiguration,delete i.advancedAccountingRules,i.allowPartialPeriodInterestCalcualtion=i.allowPartialPeriodInterestCalculation,delete i.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!i[l]||i[l]==="")&&(i[l]=h.value)}),i}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||a)(p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var b=(()=>{class a{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:n})}executeExternalAssetOwnerTransferCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:n})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||a)(p(u))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var F=(()=>{class a{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:n})}editOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:n})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let n=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:n})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let n=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:n})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let n=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:n})}allocateCash(t,e,s){let n=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:n})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaffs(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/staff",{params:e})}getCenters(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/centers",{params:e})}getGroups(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/groups",{params:e})}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,n){let i=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(i=i.set("officeId",e.toString())),s&&(i=i.set("staffId",s.toString())),n.length&&(i=i.set("legalFormType",n)),this.http.get(`${t}/downloadtemplate`,{params:i,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let n=new r;s.length&&(n=n.set("legalFormType",s));let i=new FormData;return i.append("file",t),i.append("locale",this.settingsService.language.code),i.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,i,{params:n})}static{this.\u0275fac=function(e){return new(e||a)(p(u),p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var k=(()=>{class a{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||a)}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{E as a,T as b,b as c,F as d,k as e}; +import{Cb as u,F as o,Fc as c,I as p,wc as f,zb as r}from"./chunk-JFTPDLDM.js";import{a as g,b as d}from"./chunk-O7S4L63H.js";var E=(()=>{class a{constructor(t){this.translateService=t}translate(t,e){return this.translateService.get(t,e)}static{this.\u0275fac=function(e){return new(e||a)(p(f))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac})}}return a})();var T=(()=>{class a{static{this.LOAN_SCHEDULE_TYPE_CUMULATIVE="CUMULATIVE"}static{this.LOAN_SCHEDULE_TYPE_PROGRESSIVE="PROGRESSIVE"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_HORIZONTAL="HORIZONTAL"}static{this.LOAN_SCHEDULE_PROCESSING_TYPE_VERTICAL="VERTICAL"}static{this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY="advanced-payment-allocation-strategy"}static{this.DAYS_BEFORE_REPAYMENT_IS_DUE="days-before-repayment-is-due"}static{this.DAYS_AFTER_REPAYMENT_IS_OVERDUE="days-after-repayment-is-overdue"}static isAdvancedPaymentAllocationStrategy(t){return t===this.ADVANCED_PAYMENT_ALLOCATION_STRATEGY}constructor(t){this.settingsService=t,this.globalConfigurations=[a.DAYS_BEFORE_REPAYMENT_IS_DUE,a.DAYS_AFTER_REPAYMENT_IS_OVERDUE],this.propertyNames=["dueDaysForRepaymentEvent","overDueDaysForRepaymentEvent"]}setItemsByDefault(t){let e=[];return t.globalConfiguration.forEach(s=>{this.globalConfigurations.includes(s.name)&&e.push(s)}),e}updateLoanProductDefaults(t,e){return t.itemsByDefault.forEach(n=>{let i=this.resolvePropertyName(n.name);i!==""&&(e?(!t[i]||t[i]==="")&&(t[i]=n.value):t[i]=n.value)}),t}buildPayload(t,e){let s=this.settingsService.dateFormat,n=this.settingsService.language.code,i=d(g({},t),{charges:t.charges.map(h=>({id:h.id})),dateFormat:s,locale:n});return delete i.allowAttributeConfiguration,delete i.advancedAccountingRules,i.allowPartialPeriodInterestCalcualtion=i.allowPartialPeriodInterestCalculation,delete i.allowPartialPeriodInterestCalculation,e.forEach(h=>{let l=this.resolvePropertyName(h.name);l!==""&&(!i[l]||i[l]==="")&&(i[l]=h.value)}),i}isItemByDefault(t){return this.propertyNames.includes(t)}isGlobalConfigurations(t){return this.globalConfigurations.includes(t)}resolvePropertyName(t){if(this.globalConfigurations.includes(t)){let e=this.globalConfigurations.indexOf(t);if(e>-1)return this.propertyNames[e]}return""}static{this.\u0275fac=function(e){return new(e||a)(p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var b=(()=>{class a{constructor(t){this.http=t,this.basePath="/external-asset-owners"}executeExternalAssetOwnerLoanCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/loans/${t}`,e,{params:n})}executeExternalAssetOwnerTransferCommand(t,e,s){let n=new r().set("command",s);return this.http.post(`${this.basePath}/transfers/${t}`,e,{params:n})}retrieveExternalAssetOwnerTransfers(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers`,{params:e})}retrieveExternalAssetOwnerActiveTransfer(t){let e=new r().set("loanId",t);return this.http.get(`${this.basePath}/transfers/active-transfer`,{params:e})}retrieveExternalAssetOwnerTransferJournalEntries(t){return this.http.get(`${this.basePath}/transfers/${t}/journal-entries`)}searchExternalAssetOwnerTransfer(t){return this.http.post(`${this.basePath}/search`,t)}static{this.\u0275fac=function(e){return new(e||a)(p(u))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var F=(()=>{class a{constructor(t,e){this.http=t,this.settingsService=e}getProvisioningCriterias(){return this.http.get("/provisioningcriteria")}getProvisioningCriteriaTemplate(){return this.http.get("/provisioningcriteria/template")}getProvisioningCriteria(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/provisioningcriteria/${t}`,{params:s})}createProvisioningCriteria(t){return this.http.post("/provisioningcriteria",t)}updateProvisioningCriteria(t,e){return this.http.put(`/provisioningcriteria/${t}`,e)}deleteProvisioningCriteria(t){return this.http.delete(`/provisioningcriteria/${t}`)}getOffices(){return this.http.get("/offices")}getOfficeTemplate(t){let e=new r().set("officeId",t.toString());return this.http.get("/loans/loanreassignment/template",{params:e})}getOfficerTemplate(t,e){let s=new r().set("fromLoanOfficerId",t.toString()).set("officeId",e.toString());return this.http.get("/loans/loanreassignment/template",{params:s})}createLoanReassignment(t){return this.http.post("/loans/loanreassignment",t)}getOffice(t,e=!1){let s=new r().set("template",e.toString());return this.http.get(`/offices/${t}`,{params:s})}createOffice(t){return this.http.post("/offices",t)}updateOffice(t,e){return this.http.put(`/offices/${t}`,e)}getOfficeDatatables(){let t=new r().set("apptable","m_office");return this.http.get("/datatables",{params:t})}getOfficeDatatable(t,e){let s=new r().set("genericResultSet","true");return this.http.get(`/datatables/${e}/${t}`,{params:s})}addOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.post(`/datatables/${e}/${t}`,s,{params:n})}editOfficeDatatableEntry(t,e,s){let n=new r().set("genericResultSet","true");return this.http.put(`/datatables/${e}/${t}`,s,{params:n})}deleteDatatableContent(t,e){let s=new r().set("genericResultSet","true");return this.http.delete(`/datatables/${e}/${t}`,{params:s})}getEmployees(){let t=new r().set("status","all");return this.http.get("/staff",{params:t})}createEmployee(t){return this.http.post("/staff",t)}getEmployee(t,e=!0){let s=new r().set("template",e.toString());return this.http.get(`/staff/${t}`,{params:s})}getCurrencies(){return this.http.get("/currencies")}updateCurrencies(t){return this.http.put("/currencies",{currencies:t})}getSmsCampaigns(){return this.http.get("/smscampaigns")}getSmsCampaign(t){return this.http.get(`/smscampaigns/${t}`)}createSmsCampaign(t){return this.http.post("/smscampaigns",t)}updateSmsCampaign(t,e){return this.http.put(`/smscampaigns/${e}`,t)}deleteSmsCampaign(t){return this.http.delete(`/smscampaigns/${t}`)}getSmsCampaignTemplate(){return this.http.get("/smscampaigns/template")}executeSmsCampaignCommand(t,e,s){let n=new r().set("command",s.toString());return this.http.post(`/smscampaigns/${t}`,e,{params:n})}getMessagebyStatus(t){let e=new r().set("status",t.status.toString()).set("locale",t.locale).set("dateFormat",t.dateFormat);return e=t.fromDate?e.set("fromDate",t.fromDate):e,e=t.toDate?e.set("toDate",t.toDate):e,this.http.get(`/sms/${t.id}/messageByStatus`,{params:e})}getAdhocQueries(){return this.http.get("/adhocquery")}getAdhocQuery(t){return this.http.get(`/adhocquery/${t}`)}getAdhocQueryTemplate(){return this.http.get("/adhocquery/template")}getAdhocQueryAndTemplate(t){let e=new r().set("template","true");return this.http.get(`/adhocquery/${t}`,{params:e})}createAdhocQuery(t){return this.http.post("/adhocquery",t)}updateAdhocQuery(t,e){return this.http.put(`/adhocquery/${t}`,e)}deleteAdhocQuery(t){return this.http.delete(`/adhocquery/${t}`)}getTellers(){return this.http.get("/tellers")}getTeller(t){return this.http.get(`/tellers/${t}`)}getCashiers(t){return this.http.get(`/tellers/${t}/cashiers`)}getCashier(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}`)}getCashierSummaryAndTransactions(t,e,s){let n=new r().set("currencyCode",s);return this.http.get(`/tellers/${t}/cashiers/${e}/summaryandtransactions`,{params:n})}getCashierTransactionTemplate(t,e){return this.http.get(`/tellers/${t}/cashiers/${e}/transactions/template`)}createCashier(t,e){return this.http.post(`/tellers/${t}/cashiers`,e)}deleteCashier(t,e){return this.http.delete(`/tellers/${t}/cashiers/${e}`)}settleCash(t,e,s){let n=new r().set("command","settle");return this.http.post(`/tellers/${t}/cashiers/${e}/settle`,s,{params:n})}allocateCash(t,e,s){let n=new r().set("command","allocate");return this.http.post(`/tellers/${t}/cashiers/${e}/allocate`,s,{params:n})}getCashierTemplate(t){return this.http.get(`/tellers/${t}/cashiers/template`)}updateCashier(t,e,s){return this.http.put(`/tellers/${t}/cashiers/${e}`,s)}deleteTeller(t){return this.http.delete(`/tellers/${t}`)}createTeller(t){return this.http.post("/tellers",t)}getPaymentTypes(){return this.http.get("/paymenttypes")}getPaymentTypesWithCode(){return this.http.get("/paymenttypes?onlyWithCode=true")}createPaymentType(t){return this.http.post("/paymenttypes",t)}deletePaymentType(t){return this.http.delete(`/paymenttypes/${t}`)}getPaymentType(t){return this.http.get(`/paymenttypes/${t}`)}updatePaymentType(t,e){return this.http.put(`/paymenttypes/${t}`,e)}getPasswordPreferencesTemplate(){return this.http.get("/passwordpreferences/template")}updatePasswordPreferences(t){return this.http.put("/passwordpreferences",t)}getEntityDataTableChecks(t=0,e=-1){let s=new r().set("offset",t.toString()).set("limit",e.toString());return this.http.get("/entityDatatableChecks",{params:s})}getEntityDataTableChecksTemplate(){return this.http.get("/entityDatatableChecks/template")}createEntityDataTableChecks(t){return this.http.post("/entityDatatableChecks",t)}deleteEntityDataTableCheck(t){return this.http.delete(`/entityDatatableChecks/${t}`)}getWorkingDays(){return this.http.get("/workingdays")}updateWorkingDays(t){return this.http.put("/workingdays",t)}getHolidays(t){let e=new r().set("officeId",t.toString());return this.http.get("/holidays",{params:e})}getHoliday(t){return this.http.get(`/holidays/${t}`)}getHolidayTemplate(){return this.http.get("/holidays/template")}createHoliday(t){return this.http.post("/holidays",t)}updateHoliday(t,e){return this.http.put(`/holidays/${t}`,e)}deleteHoliday(t){return this.http.delete(`/holidays/${t}`)}activateHoliday(t){let e=new r().set("command","activate");return this.http.post(`/holidays/${t}`,null,{params:e})}updateEmployee(t,e){return this.http.put(`/staff/${t}`,e)}updateTeller(t,e){return this.http.put(`/tellers/${t}`,e)}getFunds(){return this.http.get("/funds")}getFund(t){return this.http.get(`/funds/${t}`)}createFund(t){return this.http.post("/funds",t)}editFund(t,e){return this.http.put(`/funds/${t}`,e)}getStaffs(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/staff",{params:e})}getCenters(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/centers",{params:e})}getGroups(t){let e=new r().set("officeId",t).set("status","all");return this.http.get("/groups",{params:e})}getStaff(t){let e=new r().set("officeId",t.toString());return this.http.get("/staff",{params:e})}getImports(t){let e=new r().set("entityType",t);return this.http.get("/imports",{params:e})}getAdvanceSearchTemplate(){return this.http.get("/search/template")}retrieveAdvanceSearchResults(t){return this.http.post("/search/advance",t)}getStandingInstructionTemplate(){return this.http.get("/standinginstructions/template")}getStandingInstructions(t){let e=new r;for(let s in t)t[s]!==""&&t[s]!==null&&(e=e.set(s,t[s]));return this.http.get("/standinginstructionrunhistory",{params:e})}getImportTemplate(t,e,s,n){let i=new r().set("tenantIdentifier","default").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return e&&(i=i.set("officeId",e.toString())),s&&(i=i.set("staffId",s.toString())),n.length&&(i=i.set("legalFormType",n)),this.http.get(`${t}/downloadtemplate`,{params:i,responseType:"arraybuffer",observe:"response"})}getImportDocument(t){let e=new r().set("importDocumentId",t).set("tenantIdentifier","default");return this.http.get("/imports/downloadOutputTemplate",{params:e,responseType:"arraybuffer",observe:"response"})}uploadImportDocument(t,e,s){let n=new r;s.length&&(n=n.set("legalFormType",s));let i=new FormData;return i.append("file",t),i.append("locale",this.settingsService.language.code),i.append("dateFormat",this.settingsService.dateFormat),this.http.post(`${e}/uploadtemplate`,i,{params:n})}static{this.\u0275fac=function(e){return new(e||a)(p(u),p(c))}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var k=(()=>{class a{constructor(){this.defaultDate="9999-12-31"}validateStatus(t,e){return t!=null?t.status===e:!1}itemCurrentStatus(t){return this.isBuyBackPending(t)?t.status+" PENDING":t.status}itemStatus(t){return"status-"+t.toLowerCase()}isPending(t){return t.status==="PENDING"}isPendingOrCanceled(t){return t.status==="PENDING"||t.status==="CANCELLED"||this.isBuyBackPending(t)}isBuyBackPending(t){return t.status==="BUYBACK"&&t.effectiveTo===this.defaultDate}canBeCancelled(t){return this.validateStatus(t,"PENDING")}canBeSold(t){return t==null?!0:["","CANCELLED"].includes(t.status)||t.status==="BUYBACK"&&t.effectiveTo!==this.defaultDate}canBeBuyed(t){return this.validateStatus(t,"ACTIVE")}static{this.\u0275fac=function(e){return new(e||a)}}static{this.\u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{E as a,T as b,b as c,F as d,k as e}; diff --git a/browser/chunk-RZXN3A6J.js b/browser/chunk-KREIMA5H.js similarity index 91% rename from browser/chunk-RZXN3A6J.js rename to browser/chunk-KREIMA5H.js index df0aba5a5..00cfb71ec 100644 --- a/browser/chunk-RZXN3A6J.js +++ b/browser/chunk-KREIMA5H.js @@ -1 +1 @@ -import{F as r,I as i,Uf as n}from"./chunk-SXJVCOHC.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{F as r,I as i,Uf as n}from"./chunk-JFTPDLDM.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-GVCHTHAU.js b/browser/chunk-LNIBDYCO.js similarity index 89% rename from browser/chunk-GVCHTHAU.js rename to browser/chunk-LNIBDYCO.js index 1f0eed282..defe48047 100644 --- a/browser/chunk-GVCHTHAU.js +++ b/browser/chunk-LNIBDYCO.js @@ -1,4 +1,4 @@ -import{$ as n,Ga as t,Ha as m,Ia as u,Qa as f,Ta as o,Ua as a,bc as x,da as p,ea as d,ed as E,ka as c,mc as v,oa as e,pa as i,pc as D,qc as M,rb as g,rc as b,sc as C,xc as S}from"./chunk-SXJVCOHC.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{$ as n,Ga as t,Ha as m,Ia as u,Qa as f,Ta as o,Ua as a,bc as x,da as p,ea as d,ed as E,ka as c,mc as v,oa as e,pa as i,pc as D,qc as M,rb as g,rc as b,sc as C,xc as S}from"./chunk-JFTPDLDM.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-OBL2YLFF.js b/browser/chunk-UP2J3HSS.js similarity index 97% rename from browser/chunk-OBL2YLFF.js rename to browser/chunk-UP2J3HSS.js index 4d54314b5..8e19f51d1 100644 --- a/browser/chunk-OBL2YLFF.js +++ b/browser/chunk-UP2J3HSS.js @@ -1 +1 @@ -import{Cb as d,F as i,I as p,Sf as n,k as u,zb as c}from"./chunk-SXJVCOHC.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{Cb as d,F as i,I as p,Sf as n,k as u,zb as c}from"./chunk-JFTPDLDM.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-ZZS3RZ6Y.js b/browser/chunk-ZZUSF5VQ.js similarity index 97% rename from browser/chunk-ZZS3RZ6Y.js rename to browser/chunk-ZZUSF5VQ.js index d2ae78f98..38b53772c 100644 --- a/browser/chunk-ZZS3RZ6Y.js +++ b/browser/chunk-ZZUSF5VQ.js @@ -1 +1 @@ -import{A as g,Cb as N,F as f,I as l,yb as m,zb as a,zc as i}from"./chunk-SXJVCOHC.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; +import{A as g,Cb as N,F as f,I as l,yb as m,zb as a,zc as i}from"./chunk-JFTPDLDM.js";import{a as d,b as h}from"./chunk-O7S4L63H.js";var P=(()=>{class c{constructor(t){this.http=t}getStandingInstructionsData(t){return this.http.get(`/standinginstructions/${t}`)}getStandingInstructionsDataAndTemplate(t){let n=new a().set("associations","template");return this.http.get(`/standinginstructions/${t}`,{params:n})}updateStandingInstructionsData(t,n){let s=new a().set("command","update");return this.http.put(`/standinginstructions/${t}`,n,{params:s})}getStandingInstructionsTemplate(t,n,s,e){let r=new a().set("fromAccountType",s).set("fromClientId",t).set("fromOfficeId",n);if(e){let o=Object.getOwnPropertyNames(e);for(let p=0;p{let o=JSON.stringify(h(d({},s),{ownerFspId:r.fspId}));return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/partyinfo`,o,{headers:e})}))}sendInterbankTransfer(t){let n=new m({"Content-Type":"application/json"});return this.http.post(`${i.vNextApiUrl}${i.vNextApiVersion}${i.vNextApiProvider}/executetransfer`,t,{headers:n})}static{this.\u0275fac=function(n){return new(n||c)(l(N))}}static{this.\u0275prov=f({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();export{P as a}; diff --git a/browser/collaterals.module-6JA7SBWB.js b/browser/collaterals.module-BPY72UFL.js similarity index 99% rename from browser/collaterals.module-6JA7SBWB.js rename to browser/collaterals.module-BPY72UFL.js index 698f5dede..11a161b80 100644 --- a/browser/collaterals.module-6JA7SBWB.js +++ b/browser/collaterals.module-BPY72UFL.js @@ -1,4 +1,4 @@ -import{$ as o,$e as Dt,Cb as Y,Ed as ft,F as E,Fc as tt,G as y,Ga as t,Gd as xt,Ha as c,I as w,Ia as h,Ja as b,Jc as et,Jd as ht,Kc as it,L as Q,Lc as at,M as z,Mc as nt,Nd as bt,Nf as Rt,Qa as B,Qf as Pt,Rc as lt,Ta as m,Ua as p,Ub as F,Uc as ot,We as vt,Xb as O,Xc as rt,Xe as gt,Yb as V,Ye as _t,Zf as Tt,_b as U,_c as mt,_e as St,bc as L,bf as It,cd as pt,cf as Mt,da as f,db as W,ea as R,ed as A,ef as Et,fa as P,fd as j,ff as yt,hf as wt,ia as d,id as H,ka as C,kd as st,oa as i,oc as Z,od as ct,pa as a,pd as dt,qa as u,ra as D,rb as g,sa as I,sg as Bt,td as ut,ua as J,va as T,vd as Ct,wa as K,xc as N,zb as X}from"./chunk-SXJVCOHC.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,` +import{$ as o,$e as Dt,Cb as Y,Ed as ft,F as E,Fc as tt,G as y,Ga as t,Gd as xt,Ha as c,I as w,Ia as h,Ja as b,Jc as et,Jd as ht,Kc as it,L as Q,Lc as at,M as z,Mc as nt,Nd as bt,Nf as Rt,Qa as B,Qf as Pt,Rc as lt,Ta as m,Ua as p,Ub as F,Uc as ot,We as vt,Xb as O,Xc as rt,Xe as gt,Yb as V,Ye as _t,Zf as Tt,_b as U,_c as mt,_e as St,bc as L,bf as It,cd as pt,cf as Mt,da as f,db as W,ea as R,ed as A,ef as Et,fa as P,fd as j,ff as yt,hf as wt,ia as d,id as H,ka as C,kd as st,oa as i,oc as Z,od as ct,pa as a,pd as dt,qa as u,ra as D,rb as g,sa as I,sg as Bt,td as ut,ua as J,va as T,vd as Ct,wa as K,xc as N,zb as X}from"./chunk-JFTPDLDM.js";import"./chunk-O7S4L63H.js";var _=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let S=new X().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(S=S.set("officeId",v)),this.http.get("/clients",{params:S})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(w(Y))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ht=()=>["edit"];function qt(e,s){e&1&&(i(0,"button",16),t(1,` `),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",B(4,Ht)),o(3),h(` `,p(4,2,"labels.buttons.Edit"),` `))}function kt(e,s){if(e&1){let n=J();i(0,"button",18),T("click",function(){Q(n);let r=K();return z(r.deleteCollateral())}),t(1,` diff --git a/browser/fixed-deposits.module-JXL7H2TF.js b/browser/fixed-deposits.module-OXMWH4HY.js similarity index 99% rename from browser/fixed-deposits.module-JXL7H2TF.js rename to browser/fixed-deposits.module-OXMWH4HY.js index 6fcc8b5b1..cc5bbdd7b 100644 --- a/browser/fixed-deposits.module-JXL7H2TF.js +++ b/browser/fixed-deposits.module-OXMWH4HY.js @@ -1,4 +1,4 @@ -import{a as di}from"./chunk-GVCHTHAU.js";import{a as Fn,b as wn}from"./chunk-RZXN3A6J.js";import{a as mi}from"./chunk-ZZS3RZ6Y.js";import{$ as o,$e as Nt,$f as Ve,Ad as St,Bd as Pt,Ca as _t,Cb as Hn,Cd as Mt,Da as Ct,Dd as We,De as Qn,Ea as ht,Ec as J,Ed as yt,F as Gt,Fa as R,Fc as H,Fd as It,G as $e,Ga as t,Gd as ue,Ha as u,Hf as ei,I as Lt,Ia as f,Ja as S,Jc as it,Jd as st,K as te,Ka as se,Kb as Ee,Kc as V,L as P,Lb as Fe,Lc as X,M,Mc as at,Md as De,Me as Yn,Mf as ni,Nb as ce,Nd as ke,Ne as Jn,Nf as fe,Ob as le,Of as ii,Pb as we,Pc as Q,Pf as ai,Qa as k,Qe as Xe,Qf as oi,R as Le,Ra as Ge,Rc as ot,Rd as Ne,Re as Ze,Sc as Kt,Se as tn,Ta as r,Tc as Ln,Te as en,Ua as c,Ub as N,Uc as rt,Ud as Ke,Ue as re,Uf as $t,Va as F,Vb as zn,Vd as Qe,Ve as Qt,Wd as Ye,We as wt,X as qn,Xa as et,Xb as $,Xc as pt,Xd as xe,Xe as Bt,Ya as jn,Yb as Y,Ye as Rt,Zb as $n,Zf as ri,_b as En,_c as dt,_e as kt,_f as nn,ac as Be,ae as Je,bb as Oe,bc as B,bf as Vt,cb as vt,cd as ct,cf as qt,cg as pi,da as _,db as w,ea as A,eb as ye,ed as y,ef as jt,fa as Ue,fd as G,ff as Ht,gd as Un,hd as Gn,hf as zt,hg as ci,ia as m,id as ut,ja as Ae,jg as li,ka as d,kd as Dt,kf as be,lb as Ie,ld as Wn,mc as ee,nc as Re,nd as Kn,oa as n,oc as Wt,od as Z,pa as i,pc as ne,pd as xt,pf as Xn,qa as g,qb as me,qc as ie,qf as Zn,ra as v,rb as O,rc as ae,rf as ti,rg as an,sa as D,sc as oe,sd as bt,sg as si,td as tt,ua as I,ud as Ft,va as b,vd as lt,wa as C,wd as At,xc as E,yd as Ot,za as ft,zb as de}from"./chunk-SXJVCOHC.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,` +import{a as di}from"./chunk-LNIBDYCO.js";import{a as Fn,b as wn}from"./chunk-KREIMA5H.js";import{a as mi}from"./chunk-ZZUSF5VQ.js";import{$ as o,$e as Nt,$f as Ve,Ad as St,Bd as Pt,Ca as _t,Cb as Hn,Cd as Mt,Da as Ct,Dd as We,De as Qn,Ea as ht,Ec as J,Ed as yt,F as Gt,Fa as R,Fc as H,Fd as It,G as $e,Ga as t,Gd as ue,Ha as u,Hf as ei,I as Lt,Ia as f,Ja as S,Jc as it,Jd as st,K as te,Ka as se,Kb as Ee,Kc as V,L as P,Lb as Fe,Lc as X,M,Mc as at,Md as De,Me as Yn,Mf as ni,Nb as ce,Nd as ke,Ne as Jn,Nf as fe,Ob as le,Of as ii,Pb as we,Pc as Q,Pf as ai,Qa as k,Qe as Xe,Qf as oi,R as Le,Ra as Ge,Rc as ot,Rd as Ne,Re as Ze,Sc as Kt,Se as tn,Ta as r,Tc as Ln,Te as en,Ua as c,Ub as N,Uc as rt,Ud as Ke,Ue as re,Uf as $t,Va as F,Vb as zn,Vd as Qe,Ve as Qt,Wd as Ye,We as wt,X as qn,Xa as et,Xb as $,Xc as pt,Xd as xe,Xe as Bt,Ya as jn,Yb as Y,Ye as Rt,Zb as $n,Zf as ri,_b as En,_c as dt,_e as kt,_f as nn,ac as Be,ae as Je,bb as Oe,bc as B,bf as Vt,cb as vt,cd as ct,cf as qt,cg as pi,da as _,db as w,ea as A,eb as ye,ed as y,ef as jt,fa as Ue,fd as G,ff as Ht,gd as Un,hd as Gn,hf as zt,hg as ci,ia as m,id as ut,ja as Ae,jg as li,ka as d,kd as Dt,kf as be,lb as Ie,ld as Wn,mc as ee,nc as Re,nd as Kn,oa as n,oc as Wt,od as Z,pa as i,pc as ne,pd as xt,pf as Xn,qa as g,qb as me,qc as ie,qf as Zn,ra as v,rb as O,rc as ae,rf as ti,rg as an,sa as D,sc as oe,sd as bt,sg as si,td as tt,ua as I,ud as Ft,va as b,vd as lt,wa as C,wd as At,xc as E,yd as Ot,za as ft,zb as de}from"./chunk-JFTPDLDM.js";import{a as j,b as K}from"./chunk-O7S4L63H.js";var xi=()=>({confirm:!0}),on=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(ee))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,` `),n(4,"div",1),t(5,` `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,` `),i(),t(10,` @@ -2267,4 +2267,4 @@ import{a as di}from"./chunk-GVCHTHAU.js";import{a as Fn,b as wn}from"./chunk-RZX `,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-SYP4EGKT.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-BXOTWU6G.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 d498b8b9c..4f58cc805 100644 --- a/browser/index.html +++ b/browser/index.html @@ -57,5 +57,5 @@
- + diff --git a/browser/loans.module-2ILSMO5Q.js b/browser/loans.module-OA2OYK77.js similarity index 99% rename from browser/loans.module-2ILSMO5Q.js rename to browser/loans.module-OA2OYK77.js index 7879d7460..60ea07bc2 100644 --- a/browser/loans.module-2ILSMO5Q.js +++ b/browser/loans.module-OA2OYK77.js @@ -1,4 +1,4 @@ -import{a as hf}from"./chunk-O3TIIV3O.js";import{a as W1,b as Lr,c as Nr,d as Oc,e as Ec}from"./chunk-HX6REEIG.js";import{a as Mc,b as ld,c as gf,d as xf}from"./chunk-OBL2YLFF.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as ff}from"./chunk-ZZS3RZ6Y.js";import{$ as s,$e as _n,$f as Pi,Aa as O1,Ad as Ze,B as T1,Bd as Ke,Ca as si,Cd as Je,Da as ci,Dc as Jl,Dd as wa,De as So,Ea as pi,Ec as ce,Ed as On,F as an,Fa as Et,Fc as ie,Fd as qa,Ff as tf,G as fc,Ga as e,Gd as be,Gf as ef,Ha as C,Hb as Hl,Hc as B1,Hf as Va,I as sn,Ia as y,If as nf,Ja as Wt,Jc as xe,Jd as cn,K as Er,Ka as Qs,Kc as Gt,L as ct,La as t0,Lc as me,Ld as $1,Lf as af,M as pt,Ma as e0,Mc as Te,Md as fi,Me as mo,Mf as Tc,Na as n0,Nd as ra,Ne as Do,Nf as pn,Oa as i0,Od as Y1,Oe as yc,Of as Ic,Pc as se,Pf as ns,Qa as Ut,Qc as j1,Qd as xc,Qe as Xl,Qf as of,R as Ul,Ra as La,Rc as Le,Rd as qo,Re as Ql,Rf as is,Sc as Ti,Se as ts,Ta as p,Tc as jo,Te as es,Tf as Pt,Ua as u,Ub as Ot,Uc as Ie,Ud as _c,Ue as uo,V as I1,Va as ze,Vb as N1,Vd as vc,Ve as za,Vf as rf,Wa as M1,Wd as bc,We as fn,X as od,Xa as Ue,Xb as oe,Xc as Ae,Xd as Ii,Xe as hn,Xf as lf,Y as hc,Yb as te,Yc as q1,Ye as gn,Zb as F1,Zc as z1,Ze as Sc,Zf as sf,_b as rd,_c as ke,_e as xn,_f as la,ac as ja,ae as Cc,af as Dc,ag as a0,b as D1,bb as pa,bc as $t,bf as vn,c as w1,ca as A1,cb as on,cd as _e,cf as bn,cg as cf,da as E,db as Vt,dd as V1,df as wc,dg as pf,e as P1,ea as yt,ed as Dt,ee as da,ef as Cn,fa as gc,fd as fe,ff as yn,gd as U1,gf as Pc,hd as H1,hf as Sn,hg as mf,ia as g,id as De,ja as oa,jb as E1,jg as df,ka as h,kd as Re,kf as Mi,ld as G1,mc as Gl,nc as Wl,oa as r,oc as Qn,od as de,pa as l,pb as L1,pc as $l,pd as Be,pf as J1,qa as P,qb as Da,qc as Yl,qe as Z1,qf as X1,qg as Ac,ra as V,rb as St,rc as Zl,re as K1,rf as Q1,rg as Xi,sa as U,sc as Kl,sd as $e,sg as uf,td as ue,ua as vt,ud as Vn,va as it,vd as ve,wa as I,wc as ma,wd as In,xc as It,yc as k1,yd as An,za as le,zc as R1}from"./chunk-SXJVCOHC.js";import{a as ae,b as we,d as S1}from"./chunk-O7S4L63H.js";var Lc=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"},{name:"Undo Write-off",icon:"undo",taskPermissionName:"UNDOWRITEOFF_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var mx=()=>["./general"],dx=()=>["./accountdetail"],ux=()=>["./repayment-schedule"],fx=()=>["./loan-documents"],hx=()=>["./original-schedule"],gx=()=>["./transactions"],xx=()=>["./deferred-income"],_x=()=>["./buy-down-fees"],vx=()=>["./delinquencytags"],bx=()=>["./loan-collateral"],Cx=()=>["./loan-tranche-details"],yx=()=>["./term-variations"],Sx=()=>["./overdue-charges"],Dx=()=>["./floating-interest-rates"],wx=()=>["./charges"],Px=()=>["./loan-reschedules"],Tx=()=>["./notes"],Ix=()=>["./standing-instruction"],Ax=()=>["./external-asset-owner"],Ox=t=>["./datatables",t];function Mx(t,i){if(t&1&&(r(0,"tr"),e(1,` +import{a as hf}from"./chunk-CHY6SRC3.js";import{a as W1,b as Lr,c as Nr,d as Oc,e as Ec}from"./chunk-JMMR5IIN.js";import{a as Mc,b as ld,c as gf,d as xf}from"./chunk-UP2J3HSS.js";import{a as hi}from"./chunk-FK6H3RFT.js";import{a as ff}from"./chunk-ZZUSF5VQ.js";import{$ as s,$e as _n,$f as Pi,Aa as O1,Ad as Ze,B as T1,Bd as Ke,Ca as si,Cd as Je,Da as ci,Dc as Jl,Dd as wa,De as So,Ea as pi,Ec as ce,Ed as On,F as an,Fa as Et,Fc as ie,Fd as qa,Ff as tf,G as fc,Ga as e,Gd as be,Gf as ef,Ha as C,Hb as Hl,Hc as B1,Hf as Va,I as sn,Ia as y,If as nf,Ja as Wt,Jc as xe,Jd as cn,K as Er,Ka as Qs,Kc as Gt,L as ct,La as t0,Lc as me,Ld as $1,Lf as af,M as pt,Ma as e0,Mc as Te,Md as fi,Me as mo,Mf as Tc,Na as n0,Nd as ra,Ne as Do,Nf as pn,Oa as i0,Od as Y1,Oe as yc,Of as Ic,Pc as se,Pf as ns,Qa as Ut,Qc as j1,Qd as xc,Qe as Xl,Qf as of,R as Ul,Ra as La,Rc as Le,Rd as qo,Re as Ql,Rf as is,Sc as Ti,Se as ts,Ta as p,Tc as jo,Te as es,Tf as Pt,Ua as u,Ub as Ot,Uc as Ie,Ud as _c,Ue as uo,V as I1,Va as ze,Vb as N1,Vd as vc,Ve as za,Vf as rf,Wa as M1,Wd as bc,We as fn,X as od,Xa as Ue,Xb as oe,Xc as Ae,Xd as Ii,Xe as hn,Xf as lf,Y as hc,Yb as te,Yc as q1,Ye as gn,Zb as F1,Zc as z1,Ze as Sc,Zf as sf,_b as rd,_c as ke,_e as xn,_f as la,ac as ja,ae as Cc,af as Dc,ag as a0,b as D1,bb as pa,bc as $t,bf as vn,c as w1,ca as A1,cb as on,cd as _e,cf as bn,cg as cf,da as E,db as Vt,dd as V1,df as wc,dg as pf,e as P1,ea as yt,ed as Dt,ee as da,ef as Cn,fa as gc,fd as fe,ff as yn,gd as U1,gf as Pc,hd as H1,hf as Sn,hg as mf,ia as g,id as De,ja as oa,jb as E1,jg as df,ka as h,kd as Re,kf as Mi,ld as G1,mc as Gl,nc as Wl,oa as r,oc as Qn,od as de,pa as l,pb as L1,pc as $l,pd as Be,pf as J1,qa as P,qb as Da,qc as Yl,qe as Z1,qf as X1,qg as Ac,ra as V,rb as St,rc as Zl,re as K1,rf as Q1,rg as Xi,sa as U,sc as Kl,sd as $e,sg as uf,td as ue,ua as vt,ud as Vn,va as it,vd as ve,wa as I,wc as ma,wd as In,xc as It,yc as k1,yd as An,za as le,zc as R1}from"./chunk-JFTPDLDM.js";import{a as ae,b as we,d as S1}from"./chunk-O7S4L63H.js";var Lc=class{constructor(i,n){this.setOptions(i,n),this.setButtons(i)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}get optionsPayment(){return this.optionPaymentArray}setButtons(i){switch(i){case"Active":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Foreclosure",icon:"heart-broken",taskPermissionName:"FORECLOSURE_LOAN"},{name:"Make Repayment",icon:"coins",taskPermissionName:"REPAYMENT_LOAN"},{name:"Undo Disbursal",icon:"undo",taskPermissionName:"DISBURSALUNDO_LOAN"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Add Loan Charge",icon:"plus",taskPermissionName:"CREATE_LOANCHARGE"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_LOAN"},{name:"Modify Application",icon:"edit",taskPermissionName:"UPDATE_LOAN"},{name:"Reject",icon:"times",taskPermissionName:"REJECT_LOAN"}];break;case"Approved":this.buttonsArray=[{name:"Disburse",icon:"hand-holding-usd",taskPermissionName:"DISBURSE_LOAN"},{name:"Disburse to Savings",icon:"piggy-bank",taskPermissionName:"DISBURSETOSAVINGS_LOAN"},{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_LOAN"}];break;case"Overpaid":this.buttonsArray=[{name:"Transfer Funds",icon:"exchange",taskPermissionName:"CREATE_ACCOUNTTRANSFER"},{name:"Credit Balance Refund",icon:"coins",taskPermissionName:"CREATE_CREDIT_BALANCE_REFUND"}];break;case"Closed (written off)":this.buttonsArray=[{name:"Recovery Payment",icon:"briefcase",taskPermissionName:"RECOVERYPAYMENT_LOAN"},{name:"Undo Write-off",icon:"undo",taskPermissionName:"UNDOWRITEOFF_LOAN"}];break;case"Closed (obligations met)":this.buttonsArray=[{name:"Goodwill Credit",icon:"coins",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",icon:"coins",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",icon:"coins",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",icon:"coins",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;default:this.buttonsArray=[]}}setOptions(i,n){switch(i){case"Active":this.optionArray=[{name:"Waive Interest",taskPermissionName:"WAIVEINTERESTPORTION_LOAN"},{name:"Reschedule",taskPermissionName:"CREATE_RESCHEDULELOAN"},{name:"Write Off",taskPermissionName:"WRITEOFF_LOAN"},{name:"Close (as Rescheduled)",taskPermissionName:"CLOSEASRESCHEDULED_LOAN"},{name:"Close",taskPermissionName:"CLOSE_LOAN"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Recover From Guarantor",taskPermissionName:"RECOVERGUARANTEES_LOAN"},{name:"Sell Loan",taskPermissionName:"SALE_LOAN"}],this.isContractTermination(n)||this.optionArray.push({name:"Contract Termination",taskPermissionName:"CONTRACT_TERMINATION_LOAN"}),this.optionPaymentArray=[{name:"Goodwill Credit",taskPermissionName:"CREATE_GOODWILL_TRANSACTION"},{name:"Interest Payment Waiver",taskPermissionName:"CREATE_INTERESTPAYMENTWAIVER_TRANSACTION"},{name:"Payout Refund",taskPermissionName:"CREATE_PAYOUT_REFUND"},{name:"Merchant Issued Refund",taskPermissionName:"CREATE_MERCHANT_ISSUED_REFUND"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Withdrawn by Client",taskPermissionName:"WITHDRAW_LOAN"},{name:"Delete",taskPermissionName:"DELETE_LOAN"},{name:"Add Collateral",taskPermissionName:"CREATE_COLLATERAL"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Reports",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;case"Approved":this.optionArray=[{name:"Add Loan Charge",taskPermissionName:"CREATE_LOANCHARGE"},{name:"View Guarantors",taskPermissionName:"READ_GUARANTOR"},{name:"Create Guarantor",taskPermissionName:"CREATE_GUARANTOR"},{name:"Loan Screen Report",taskPermissionName:"READ_LOAN"}],this.optionPaymentArray=[];break;default:this.optionArray=[],this.optionPaymentArray=[]}}addOption(i){this.optionArray.push(i)}addButton(i){this.buttonsArray.push(i)}isContractTermination(i){return i==null?!1:i.code==="loanSubStatus.loanSubStatusType.contractTermination"}};var mx=()=>["./general"],dx=()=>["./accountdetail"],ux=()=>["./repayment-schedule"],fx=()=>["./loan-documents"],hx=()=>["./original-schedule"],gx=()=>["./transactions"],xx=()=>["./deferred-income"],_x=()=>["./buy-down-fees"],vx=()=>["./delinquencytags"],bx=()=>["./loan-collateral"],Cx=()=>["./loan-tranche-details"],yx=()=>["./term-variations"],Sx=()=>["./overdue-charges"],Dx=()=>["./floating-interest-rates"],wx=()=>["./charges"],Px=()=>["./loan-reschedules"],Tx=()=>["./notes"],Ix=()=>["./standing-instruction"],Ax=()=>["./external-asset-owner"],Ox=t=>["./datatables",t];function Mx(t,i){if(t&1&&(r(0,"tr"),e(1,` `),r(2,"td"),e(3),p(4,"translate"),l(),e(5,` `),r(6,"td"),e(7,` `),r(8,"span",49),P(9,"i",50),l(),e(10),l(),e(11,` @@ -6171,7 +6171,7 @@ end`};i.events.push(["putFont",function(c){(function(d){var m=d.font,x=d.out,v=d `),g(7,ZN,34,3,"table",1),e(8,` `),l(),e(9,` -`)),a&2&&(s(3),Wt("",u(4,3,"labels.inputs.Deferred income")," - ",u(5,5,"labels.menus.Capitalized Income"),""),s(4),h("ngIf",o.capitalizedIncomeData.length>0))},dependencies:[St,Vt,Dt,It,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Ru=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return this.loansService.getDeferredIncomeData(a)}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Bu=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return a?this.loansService.getBuyDownFeeData(a):(console.error("LoanBuyDownFeesDataResolver: Could not find loanId in route parameters"),new D1(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var KN=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:sm,resolve:{loansAccountTemplate:Pu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Nc,resolve:{loanDetailsData:Wr,loanDatatables:_m,loanArrearsDelinquencyConfig:Cg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Fc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,loanDatatables:_m}},{path:"accountdetail",component:kc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Sp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Ur,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:yp},{path:"export",component:hm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Ru},children:[{path:"",component:wg}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:Lu,loanDelinquencyData:Fu,loanDelinquencyActions:Dg},children:[{path:"",component:ym}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:bg},children:[{path:"",component:Sm}]},{path:"loan-collateral",component:rm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Sg}},{path:"term-variations",component:Pm,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,interestPausesData:ku}},{path:"loan-tranche-details",component:om,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Dp,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:am,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:wp},{path:"loan-documents",component:cm,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Tu}},{path:"notes",component:Rc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Su}},{path:"standing-instruction",component:pm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:wm,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:yg,loanTransfersData:Nu}},{path:"datatables",children:[{path:":datatableName",component:Pp,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Du}}]},{path:"buy-down-fees",component:vg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Bu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Wr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:dm,resolve:{loansAccountTransaction:Iu}},{path:"edit",component:um,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:Ou}},{path:"reciept",component:fm,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Au}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:mm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Dm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}}]},{path:":loanId/actions/:action",component:im,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:wu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-SYP4EGKT.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}}]},{path:"glim-account",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create GLIM Application",breadcrumb:"Create GLIM Application",routeParamBreadcrumb:!1},component:xm,resolve:{loansAccountTemplate:Eu,groupsData:xf}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:gm,resolve:{glimData:Mu,groupsData:ld}}]}],Pg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=gc({type:t})}static{this.\u0275inj=fc({providers:[Wr,Su,_m,Du,Lu,wu,Pu,Tu,vm,bm,Iu,Ou,Au,hf,ld,Mu,gf,Eu,Nu,Fu,ku,Ru,Bu],imports:[rd.forChild(KN),rd]})}}return t})();var Tg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(E(Ec))}}static{this.\u0275cmp=yt({type:t,selectors:[["mifosx-external-asset-transfer"]],inputs:{transferData:"transferData"},decls:167,vars:60,consts:[[1,"m-l-5","flex-25"],[1,"flex-25","m-l-5","left"],[3,"ngClass"],["icon","stop"],[1,"m-l-5","status"],["completed","true",3,"externalId"],[1,"flex-75","left"],[1,"flex-50","m-l-5"],[1,"flex-50","r-amount"]],template:function(a,o){a&1&&(r(0,"table"),e(1,` +`)),a&2&&(s(3),Wt("",u(4,3,"labels.inputs.Deferred income")," - ",u(5,5,"labels.menus.Capitalized Income"),""),s(4),h("ngIf",o.capitalizedIncomeData.length>0))},dependencies:[St,Vt,Dt,It,fn,xn,gn,_n,hn,vn,bn,yn,Cn,Sn,pn],encapsulation:2})}}return t})();var Ru=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return this.loansService.getDeferredIncomeData(a)}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var Bu=(()=>{class t{constructor(n){this.loansService=n}resolve(n){let a=n.paramMap.get("loanId")||n.parent.paramMap.get("loanId");return a?this.loansService.getBuyDownFeeData(a):(console.error("LoanBuyDownFeesDataResolver: Could not find loanId in route parameters"),new D1(o=>{o.next([]),o.complete()}))}static{this.\u0275fac=function(a){return new(a||t)(sn(Pt))}}static{this.\u0275prov=an({token:t,factory:t.\u0275fac})}}return t})();var KN=[{path:"",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Loans Account",breadcrumb:"Create Loans Account"},component:sm,resolve:{loansAccountTemplate:Pu}},{path:":loanId",data:{title:"Loan View",routeParamBreadcrumb:"loanId"},component:Nc,resolve:{loanDetailsData:Wr,loanDatatables:_m,loanArrearsDelinquencyConfig:Cg},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Fc,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,loanDatatables:_m}},{path:"accountdetail",component:kc,data:{title:"Account Detail",breadcrumb:"Account Detail",routeParamBreadcrumb:!1}},{path:"original-schedule",component:Sp,data:{title:"Original Schedule",breadcrumb:"Original Schedule",routeParamBreadcrumb:!1}},{path:"repayment-schedule",component:Ur,data:{title:"Repayment Schedule",breadcrumb:"Repayment Schedule",routeParamBreadcrumb:!1}},{path:"transactions",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",component:yp},{path:"export",component:hm}]},{path:"deferred-income",data:{title:"Loans Deferred Income",breadcrumb:"Deferred income",routeParamBreadcrumb:!1},resolve:{loanDeferredIncomeData:Ru},children:[{path:"",component:wg}]},{path:"delinquencytags",data:{title:"Loans Delinquency Tags",breadcrumb:"Delinquency Tags",routeParamBreadcrumb:!1},resolve:{loanDelinquencyTagsData:Lu,loanDelinquencyData:Fu,loanDelinquencyActions:Dg},children:[{path:"",component:ym}]},{path:"loan-reschedules",data:{},resolve:{loanRescheduleData:bg},children:[{path:"",component:Sm}]},{path:"loan-collateral",component:rm,data:{title:"Loan Collateral Details",breadcrumb:"Loan Collateral Details",routeParamBreadcrumb:!1},resolve:{loanCollaterals:Sg}},{path:"term-variations",component:Pm,data:{title:"Loan Term Variations",breadcrumb:"Loan Term Variations",routeParamBreadcrumb:!1},resolve:{loanDetailsData:Wr,interestPausesData:ku}},{path:"loan-tranche-details",component:om,data:{title:"Loan Tranche Details",breadcrumb:"Loan Tranche Details",routeParamBreadcrumb:!1}},{path:"overdue-charges",component:Dp,data:{title:"Overdue Charges",breadcrumb:"Overdue Charges",routeParamBreadcrumb:!1}},{path:"floating-interest-rates",component:am,data:{title:"Floating Interest Rates",breadcrumb:"Floating Interest Rates",routeParamBreadcrumb:!1}},{path:"charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},component:wp},{path:"loan-documents",component:cm,data:{title:"Loan Documents",breadcrumb:"Loan Documents",routeParamBreadcrumb:!1},resolve:{loanDocuments:Tu}},{path:"notes",component:Rc,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{loanNotes:Su}},{path:"standing-instruction",component:pm,data:{title:"Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"external-asset-owner",component:wm,data:{title:"External Asset Owner",breadcrumb:"External Asset Owner",routeParamBreadcrumb:!1},resolve:{activeTransferData:yg,loanTransfersData:Nu}},{path:"datatables",children:[{path:":datatableName",component:Pp,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{loanDatatable:Du}}]},{path:"buy-down-fees",component:vg,data:{title:"Buy Down Fees",breadcrumb:"Buy Down Fees",routeParamBreadcrumb:!1},resolve:{loanBuyDownFeesData:Bu}}]},{path:":loanId/transactions/:id",data:{title:"Loans Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},resolve:{loanDetailsAssociationData:Wr},children:[{path:"",data:{routeParamBreadcrumb:"id"},component:dm,resolve:{loansAccountTransaction:Iu}},{path:"edit",component:um,data:{breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{loansAccountTransactionTemplate:Ou}},{path:"reciept",component:fm,data:{breadcrumb:"Reciept",routeParamBreadcrumb:!1},resolve:{loansTransactionReciept:Au}}]},{path:":loanId/edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}},{path:":loanId/charges",data:{title:"Loans Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../charges",pathMatch:"prefix"},{path:":id",data:{routeParamBreadcrumb:"id"},component:mm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}},{path:":id/adjustment",data:{routeParamBreadcrumb:"id",breadcrumb:"Adjustment"},component:Dm,resolve:{loansAccountCharge:bm,loanDetailsData:Wr}}]},{path:":loanId/actions/:action",component:im,data:{title:"Loan Account Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},resolve:{actionButtonData:wu}},{path:":loanId/transfer-funds",loadChildren:()=>import("./account-transfers.module-BXOTWU6G.js").then(t=>t.AccountTransfersModule)},{path:"edit-loans-account",data:{title:"Modify Loans Account",breadcrumb:"Modify Loans Account",routeParamBreadcrumb:"Edit"},component:M0,resolve:{loansAccountAndTemplate:vm}}]},{path:"glim-account",data:{title:"Loans",breadcrumb:"Loans",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create GLIM Application",breadcrumb:"Create GLIM Application",routeParamBreadcrumb:!1},component:xm,resolve:{loansAccountTemplate:Eu,groupsData:xf}},{path:":glimId",data:{title:"GSIM Account View",routeParamBreadcrumb:"savingAccountId"},component:gm,resolve:{glimData:Mu,groupsData:ld}}]}],Pg=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=gc({type:t})}static{this.\u0275inj=fc({providers:[Wr,Su,_m,Du,Lu,wu,Pu,Tu,vm,bm,Iu,Ou,Au,hf,ld,Mu,gf,Eu,Nu,Fu,ku,Ru,Bu],imports:[rd.forChild(KN),rd]})}}return t})();var Tg=(()=>{class t{constructor(n){this.externalAssetOwner=n}itemStatus(n){return this.externalAssetOwner.itemStatus(n)}static{this.\u0275fac=function(a){return new(a||t)(E(Ec))}}static{this.\u0275cmp=yt({type:t,selectors:[["mifosx-external-asset-transfer"]],inputs:{transferData:"transferData"},decls:167,vars:60,consts:[[1,"m-l-5","flex-25"],[1,"flex-25","m-l-5","left"],[3,"ngClass"],["icon","stop"],[1,"m-l-5","status"],["completed","true",3,"externalId"],[1,"flex-75","left"],[1,"flex-50","m-l-5"],[1,"flex-50","r-amount"]],template:function(a,o){a&1&&(r(0,"table"),e(1,` `),r(2,"tbody"),e(3,` `),r(4,"tr"),e(5,` `),r(6,"td",0),e(7,` diff --git a/browser/main.js b/browser/main.js index 840a614cf..31e0bd7bb 100644 --- a/browser/main.js +++ b/browser/main.js @@ -1,4 +1,4 @@ -import{a as z$,b as Sa,c as Bw,d as Ei,e as bW}from"./chunk-HX6REEIG.js";import{a as Ts,b as e9,c as i9,d as db}from"./chunk-OBL2YLFF.js";import{$ as l,$a as u$,$b as pw,$c as gw,$d as qg,$e as Le,$f as Xn,A as KO,Aa as tu,Ab as ZO,Ac as A$,Ad as Ti,Ae as Io,Af as $g,B as Um,Ba as Rg,Bb as C$,Bc as O$,Bd as Mi,Be as mu,Bf as Wg,C as wo,Ca as Nt,Cb as Ro,Cc as F$,Cd as Di,Ce as xa,Cf as pW,D as Bo,Da as Bt,Db as iu,Dc as Dl,Dd as Ai,De as Je,Df as mW,E as ZU,Ea as Rt,Eb as y$,Ec as _i,Ed as Gi,Ee as Z$,Ef as kw,F as Wt,Fa as Mt,Fb as S$,Fc as We,Fd as on,Fe as Hg,Ff as dW,G as un,Ga as t,Gb as w$,Gc as mb,Gd as de,Ge as Tp,Gf as uW,H as JS,Ha as b,Hb as Wm,Hc as Wo,Hd as V$,He as Ss,Hf as La,I as Qt,Ia as P,Ib as vo,Ic as B$,Id as j$,Ie as ws,If as Mp,J as XU,Ja as _t,Jb as cm,Jc as Se,Jd as Gt,Je as X$,Jf as Xm,K as Vo,Ka as ea,Kb as Zs,Kc as bt,Kd as xw,Ke as tW,Kf as Iw,L as W,La as p$,Lb as zs,Lc as re,Le as eW,Lf as Rl,M as Q,Ma as H0,Mb as E$,Mc as ue,Md as Fn,Me as du,Mf as Fr,N as ca,Na as G0,Nb as zo,Nc as pm,Nd as Li,Ne as $e,Nf as _r,O as t$,Oa as U0,Ob as ps,Od as jg,Oe as wi,Of as mo,P as ZS,Pa as m$,Pb as js,Pc as _e,Pd as au,Pe as iW,Pf as no,Q as q0,Qa as ht,Qb as Nh,Qc as ru,Qd as Ci,Qe as _a,Qf as ya,R as $n,Ra as Xe,Rb as sw,Rc as ge,Rd as sn,Re as va,Rf as Ji,S as Rh,Sa as vs,Sb as pb,Sc as Gn,Sd as _w,Se as ba,Sf as vr,T as lb,Ta as m,Tb as lw,Tc as er,Td as vw,Te as Ca,Tf as fW,U as JO,Ua as d,Ub as Lt,Uc as fe,Ud as Ym,Ue as En,V as e$,Va as Ye,Vb as fa,Vc as ha,Vd as Km,Ve as dn,Vf as Tw,W as i$,Wa as Js,Wb as cw,Wc as is,Wd as Jm,We as Fe,Wf as Mw,X as XS,Xa as pi,Xb as te,Xc as he,Xd as Pi,Xe as Be,Xf as hW,Y as tw,Ya as vi,Yb as qt,Yc as R$,Yd as bw,Ye as Re,Yf as Dw,Z as n$,Za as $m,Zb as es,Zc as ou,Zd as Cw,Zf as rl,_ as Bg,_a as d$,_b as tr,_c as Ie,_d as q$,_e as Ne,_f as Is,a as ob,aa as r$,ab as Ng,ac as Hi,ad as ns,ae as Yo,ag as hn,b as ab,ba as o$,bb as io,bc as Dt,bd as N$,be as yw,bf as Ve,bg as gW,c as ec,ca as ew,cb as se,cc as mw,cd as xe,ce as H$,cf as ze,cg as ol,d as _s,da as V,db as zt,dc as XO,dd as Qm,de as G$,e as qU,ea as yt,eb as Ra,ec as P$,ed as wt,ee as Xs,ef as je,eg as xW,f as HU,fa as fn,fb as Na,fc as k$,fd as oe,fe as Sw,ff as qe,fg as xn,g as GU,ga as cb,gb as f$,gc as t9,gd as Qo,ge as U$,gg as Aw,h as sb,ha as a$,hb as Ip,hc as dw,hd as Al,he as $$,hf as He,hg as t0,i as Fh,ia as x,ib as h$,ic as uw,id as me,ie as W$,if as nW,ig as _W,j as UU,ja as Ir,jb as bs,jc as I$,jd as Ol,je as Q$,jf as rW,k as xr,ka as g,kb as iw,kc as T$,kd as Ue,ke as Y$,kf as ci,kg as Ow,l as $U,la as Xd,lb as Lg,lc as fw,ld as ga,le as K$,lf as oW,lg as na,m as WU,ma as kp,mb as nw,mc as qr,md as L$,me as mm,mf as aW,mg as Dp,n as Fg,na as s$,nb as g$,nc as bo,nd as Vg,ne as su,nf as Bl,ng as Co,o as YS,oa as a,ob as rw,oc as ni,od as $t,oe as lu,of as xl,og as Ap,p as QU,pa as s,pb as eu,pc as Ar,pd as Te,pe as J$,pf as Es,pg as Fw,q as Ec,qa as k,qb as x$,qc as Or,qd as rs,qe as Cs,qf as Ps,qg as vW,r as Bh,ra as ot,rb as St,rc as po,rd as zg,re as ys,rf as ks,s as KS,sa as at,sb as Yc,sc as Tr,sd as Si,se as cu,sf as sW,sg as Yr,t as Oo,ta as kc,tb as _$,tc as hw,td as Ht,te as pu,tf as lW,u as YU,ua as st,ub as v$,uc as M$,ud as Mr,ue as tl,uf as ww,v as Fo,va as q,vb as ow,vc as D$,vd as Xt,ve as el,vf as Gg,w as Gm,wa as A,wb as aw,wc as zi,wd as De,we as Zm,wf as Ug,x as KU,xa as l$,xb as b$,xc as Et,xd as qs,xe as il,xf as Ew,y as JU,ya as c$,yc as nu,yd as Oe,ye as nl,yf as cW,z as Pc,za as Zt,zb as Hn,zc as Wn,zd as ia,ze as Fl,zf as Pw}from"./chunk-SXJVCOHC.js";import{a as ye,b as oi,c as lm,d as zU,e as Pe,f as QO,g as Pp,h as Cr,i as YO,j as jU,k as cs,l as QS}from"./chunk-O7S4L63H.js";var Gh=Pe((Xg,Cb)=>{(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,_="__lodash_placeholder__",y=1,C=2,E=4,T=1,D=2,M=1,F=2,B=4,z=8,$=16,tt=32,lt=64,gt=128,X=256,mt=512,vt=30,Tt="...",Ct=800,Z=16,nt=1,xt=2,R=3,j=1/0,G=9007199254740991,H=17976931348623157e292,K=NaN,et=4294967295,ft=et-1,At=et>>>1,Ot=[["ary",gt],["bind",M],["bindKey",F],["curry",z],["curryRight",$],["flip",mt],["partial",tt],["partialRight",lt],["rearg",X]],Yt="[object Arguments]",dt="[object Array]",jt="[object AsyncFunction]",ct="[object Boolean]",rt="[object Date]",It="[object DOMException]",Kt="[object Error]",ke="[object Function]",ce="[object GeneratorFunction]",pe="[object Map]",si="[object Number]",ii="[object Null]",le="[object Object]",ti="[object Promise]",Ke="[object Proxy]",li="[object RegExp]",fi="[object Set]",di="[object String]",gi="[object Symbol]",Yi="[object Undefined]",Zi="[object WeakMap]",Xi="[object WeakSet]",On="[object ArrayBuffer]",pn="[object DataView]",kn="[object Float32Array]",Rr="[object Float64Array]",Un="[object Int8Array]",In="[object Int16Array]",Qn="[object Int32Array]",mn="[object Uint8Array]",ln="[object Uint8ClampedArray]",lr="[object Uint16Array]",vn="[object Uint32Array]",zn=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,Yn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ar=/&(?:amp|lt|gt|quot|#39);/g,oa=/[&<>"']/g,Sr=RegExp(ar.source),wr=RegExp(oa.source),$s=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,sr=/<%=([\s\S]+?)%>/g,To=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ds=/[\\^$.*+?()[\]{}|]/g,Er=RegExp(ds.source),Ze=/^\s+/,Ii=/\s/,Ri=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,_n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vn=/[()=,{}\[\]\/\s]/,Mo=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bn=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,$r=/^\[object .+?Constructor\]$/,No=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ss=/($^)/,za=/['\n\r\u2028\u2029\\]/g,Wa="\\ud800-\\udfff",Ae="\\u0300-\\u036f",yi="\\ufe20-\\ufe2f",$i="\\u20d0-\\u20ff",Vi=Ae+yi+$i,cn="\\u2700-\\u27bf",Rn="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pr="\\u2000-\\u206f",mr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",kr="A-Z\\xc0-\\xd6\\xd8-\\xde",aa="\\ufe0e\\ufe0f",ma=jn+Lr+Pr+mr,ho="['\u2019]",Lo="["+Wa+"]",da="["+ma+"]",us="["+Vi+"]",pl="\\d+",lc="["+cn+"]",Hl="["+Rn+"]",d0="[^"+Wa+ma+pl+cn+Rn+kr+"]",op="\\ud83c[\\udffb-\\udfff]",xo="(?:"+us+"|"+op+")",Eo="[^"+Wa+"]",cc="(?:\\ud83c[\\udde6-\\uddff]){2}",El="[\\ud800-\\udbff][\\udc00-\\udfff]",Rc="["+kr+"]",ja="\\u200d",Ws="(?:"+Hl+"|"+d0+")",ap="(?:"+Rc+"|"+d0+")",Nc="(?:"+ho+"(?:d|ll|m|re|s|t|ve))?",Qp="(?:"+ho+"(?:D|LL|M|RE|S|T|VE))?",Yp=xo+"?",Gl="["+aa+"]?",Kp="(?:"+ja+"(?:"+[Eo,cc,El].join("|")+")"+Gl+Yp+")*",bd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sm=Gl+Yp+Kp,yd="(?:"+[lc,cc,El].join("|")+")"+Sm,E1="(?:"+[Eo+us+"?",us,cc,El,Lo].join("|")+")",wm=RegExp(ho,"g"),Sd=RegExp(us,"g"),P1=RegExp(op+"(?="+op+")|"+E1+Sm,"g"),DC=RegExp([Rc+"?"+Hl+"+"+Nc+"(?="+[da,Rc,"$"].join("|")+")",ap+"+"+Qp+"(?="+[da,Rc+Ws,"$"].join("|")+")",Rc+"?"+Ws+"+"+Nc,Rc+"+"+Qp,Cd,bd,pl,yd].join("|"),"g"),AC=RegExp("["+ja+Wa+Vi+aa+"]"),Df=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_A=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],C_=-1,ta={};ta[kn]=ta[Rr]=ta[Un]=ta[In]=ta[Qn]=ta[mn]=ta[ln]=ta[lr]=ta[vn]=!0,ta[Yt]=ta[dt]=ta[On]=ta[ct]=ta[pn]=ta[rt]=ta[Kt]=ta[ke]=ta[pe]=ta[si]=ta[le]=ta[li]=ta[fi]=ta[di]=ta[Zi]=!1;var fr={};fr[Yt]=fr[dt]=fr[On]=fr[pn]=fr[ct]=fr[rt]=fr[kn]=fr[Rr]=fr[Un]=fr[In]=fr[Qn]=fr[pe]=fr[si]=fr[le]=fr[li]=fr[fi]=fr[di]=fr[gi]=fr[mn]=fr[ln]=fr[lr]=fr[vn]=!0,fr[Kt]=fr[ke]=fr[Zi]=!1;var vA={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},y_={"&":"&","<":"<",">":">",'"':""","'":"'"},OC={"&":"&","<":"<",">":">",""":'"',"'":"'"},Af={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},S_=parseFloat,wd=parseInt,w_=typeof global=="object"&&global&&global.Object===Object&&global,E_=typeof self=="object"&&self&&self.Object===Object&&self,fs=w_||E_||Function("return this")(),k1=typeof Xg=="object"&&Xg&&!Xg.nodeType&&Xg,u0=k1&&typeof Cb=="object"&&Cb&&!Cb.nodeType&&Cb,I1=u0&&u0.exports===k1,P_=I1&&w_.process,pc=function(){try{var ui=u0&&u0.require&&u0.require("util").types;return ui||P_&&P_.binding&&P_.binding("util")}catch{}}(),FC=pc&&pc.isArrayBuffer,Of=pc&&pc.isDate,T1=pc&&pc.isMap,BC=pc&&pc.isRegExp,RC=pc&&pc.isSet,NC=pc&&pc.isTypedArray;function Ul(ui,ji,bi){switch(bi.length){case 0:return ui.call(ji);case 1:return ui.call(ji,bi[0]);case 2:return ui.call(ji,bi[0],bi[1]);case 3:return ui.call(ji,bi[0],bi[1],bi[2])}return ui.apply(ji,bi)}function Ed(ui,ji,bi,qn){for(var Dr=-1,ro=ui==null?0:ui.length;++Dr-1}function M1(ui,ji,bi){for(var qn=-1,Dr=ui==null?0:ui.length;++qn-1;);return bi}function GC(ui,ji){for(var bi=ui.length;bi--&&f0(ji,ui[bi],0)>-1;);return bi}function h0(ui,ji){for(var bi=ui.length,qn=0;bi--;)ui[bi]===ji&&++qn;return qn}var Lf=Rf(vA),yA=Rf(y_);function SA(ui){return"\\"+Af[ui]}function L1(ui,ji){return ui==null?e:ui[ji]}function Pm(ui){return AC.test(ui)}function wA(ui){return Df.test(ui)}function EA(ui){for(var ji,bi=[];!(ji=ui.next()).done;)bi.push(ji.value);return bi}function O_(ui){var ji=-1,bi=Array(ui.size);return ui.forEach(function(qn,Dr){bi[++ji]=[Dr,qn]}),bi}function F_(ui,ji){return function(bi){return ui(ji(bi))}}function Zp(ui,ji){for(var bi=-1,qn=ui.length,Dr=0,ro=[];++bi-1}function zA(L,Y){var ut=this.__data__,Ft=Qf(ut,L);return Ft<0?(++this.size,ut.push([L,Y])):ut[Ft][1]=Y,this}pp.prototype.clear=z1,pp.prototype.delete=oy,pp.prototype.get=LA,pp.prototype.has=VA,pp.prototype.set=zA;function mp(L){var Y=-1,ut=L==null?0:L.length;for(this.clear();++Y=Y?L:Y)),L}function Pl(L,Y,ut,Ft,ee,we){var Qe,ri=Y&y,hi=Y&C,Ui=Y&E;if(ut&&(Qe=ee?ut(L,Ft,ee,we):ut(L)),Qe!==e)return Qe;if(!Pa(L))return L;var Wi=Vr(L);if(Wi){if(Qe=qy(L),!ri)return Yl(L,Qe)}else{var rn=Fs(L),Mn=rn==ke||rn==ce;if(Vm(L))return My(L,ri);if(rn==le||rn==Yt||Mn&&!ee){if(Qe=hi||Mn?{}:ag(L),!ri)return hi?a7(L,hy(Qe,L)):o7(L,Yf(Qe,L))}else{if(!fr[rn])return ee?L:{};Qe=mh(L,rn,ri)}}we||(we=new Wl);var Zn=we.get(L);if(Zn)return Zn;we.set(L,Qe),Ud(L)?L.forEach(function(gr){Qe.add(Pl(gr,Y,ut,gr,L,we))}):Dv(L)&&L.forEach(function(gr,so){Qe.set(so,Pl(gr,Y,ut,so,L,we))});var ur=Ui?hi?ch:lh:hi?hl:ls,Qr=Wi?e:ur(L);return mc(Qr||L,function(gr,so){Qr&&(so=gr,gr=L[so]),Po(Qe,so,Pl(gr,Y,ut,so,L,we))}),Qe}function gy(L){var Y=ls(L);return function(ut){return xy(ut,L,Y)}}function xy(L,Y,ut){var Ft=ut.length;if(L==null)return!Ft;for(L=Go(L);Ft--;){var ee=ut[Ft],we=Y[ee],Qe=L[ee];if(Qe===e&&!(ee in L)||!we(Qe))return!1}return!0}function Kf(L,Y,ut){if(typeof L!="function")throw new ml(n);return Bm(function(){L.apply(e,ut)},Y)}function Jf(L,Y,ut,Ft){var ee=-1,we=Ff,Qe=!0,ri=L.length,hi=[],Ui=Y.length;if(!ri)return hi;ut&&(Y=sa(Y,$l(ut))),Ft?(we=M1,Qe=!1):Y.length>=i&&(we=Nf,Qe=!1,Y=new gc(Y));t:for(;++eeee?0:ee+ut),Ft=Ft===e||Ft>ee?ee:Jn(Ft),Ft<0&&(Ft+=ee),Ft=ut>Ft?0:Ha(Ft);ut0&&ut(ri)?Y>1?As(ri,Y-1,ut,Ft,ee):Em(ee,ri):Ft||(ee[ee.length]=ri)}return ee}var G1=By(),Cy=By(!0);function xc(L,Y){return L&&G1(L,Y,ls)}function Zf(L,Y){return L&&Cy(L,Y,ls)}function Bd(L,Y){return Jp(Y,function(ut){return rm(L[ut])})}function v0(L,Y){Y=hp(Y,L);for(var ut=0,Ft=Y.length;L!=null&&utY}function $A(L,Y){return L!=null&&bn.call(L,Y)}function WA(L,Y){return L!=null&&Y in Go(L)}function yy(L,Y,ut){return L>=hs(Y,ut)&&L=120&&Wi.length>=120)?new gc(Qe&&Wi):e}Wi=L[0];var rn=-1,Mn=ri[0];t:for(;++rn-1;)ri!==L&&Lc.call(ri,hi,1),Lc.call(L,hi,1);return L}function J_(L,Y){for(var ut=L?Y.length:0,Ft=ut-1;ut--;){var ee=Y[ut];if(ut==Ft||ee!==we){var we=ee;_p(ee)?Lc.call(L,ee,1):ev(L,ee)}}return L}function th(L,Y){return L+Uf(ny()*(Y-L+1))}function J1(L,Y,ut,Ft){for(var ee=-1,we=Ka(Gf((Y-L)/(ut||1)),0),Qe=bi(we);we--;)Qe[Ft?we:++ee]=L,L+=ut;return Qe}function Z_(L,Y){var ut="";if(!L||Y<1||Y>G)return ut;do Y%2&&(ut+=L),Y=Uf(Y/2),Y&&(L+=L);while(Y);return ut}function Xr(L,Y){return sg(Qy(L,Y,jr),L+"")}function JA(L){return Dm(R0(L))}function X_(L,Y){var ut=R0(L);return gh(ut,_0(Y,0,ut.length))}function eh(L,Y,ut,Ft){if(!Pa(L))return L;Y=hp(Y,L);for(var ee=-1,we=Y.length,Qe=we-1,ri=L;ri!=null&&++eeee?0:ee+Y),ut=ut>ee?ee:ut,ut<0&&(ut+=ee),ee=Y>ut?0:ut-Y>>>0,Y>>>=0;for(var we=bi(ee);++Ft>>1,Qe=L[we];Qe!==null&&!Rs(Qe)&&(ut?Qe<=Y:Qe=i){var Ui=Y?null:zd(L);if(Ui)return V1(Ui);Qe=!1,ee=Nf,hi=new gc}else hi=Y?[]:ri;t:for(;++Ft=Ft?L:_c(L,Y,ut)}var eg=ZC||function(L){return fs.clearTimeout(L)};function My(L,Y){if(Y)return L.slice();var ut=L.length,Ft=R_?R_(ut):new L.constructor(ut);return L.copy(Ft),Ft}function ov(L){var Y=new L.constructor(L.byteLength);return new Td(Y).set(new Td(L)),Y}function i7(L,Y){var ut=Y?ov(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.byteLength)}function C0(L){var Y=new L.constructor(L.source,Bn.exec(L));return Y.lastIndex=L.lastIndex,Y}function n7(L){return Qs?Go(Qs.call(L)):{}}function av(L,Y){var ut=Y?ov(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.length)}function Dy(L,Y){if(L!==Y){var ut=L!==e,Ft=L===null,ee=L===L,we=Rs(L),Qe=Y!==e,ri=Y===null,hi=Y===Y,Ui=Rs(Y);if(!ri&&!Ui&&!we&&L>Y||we&&Qe&&hi&&!ri&&!Ui||Ft&&Qe&&hi||!ut&&hi||!ee)return 1;if(!Ft&&!we&&!Ui&&L=ri)return hi;var Ui=ut[Ft];return hi*(Ui=="desc"?-1:1)}}return L.index-Y.index}function Ay(L,Y,ut,Ft){for(var ee=-1,we=L.length,Qe=ut.length,ri=-1,hi=Y.length,Ui=Ka(we-Qe,0),Wi=bi(hi+Ui),rn=!Ft;++ri1?ut[ee-1]:e,Qe=ee>2?ut[2]:e;for(we=L.length>3&&typeof we=="function"?(ee--,we):e,Qe&&Ys(ut[0],ut[1],Qe)&&(we=ee<3?e:we,ee=1),Y=Go(Y);++Ft-1?ee[we?Y[Qe]:Qe]:e}}function Vd(L){return nm(function(Y){var ut=Y.length,Ft=ut,ee=hc.prototype.thru;for(L&&Y.reverse();Ft--;){var we=Y[Ft];if(typeof we!="function")throw new ml(n);if(ee&&!Qe&&k0(we)=="wrapper")var Qe=new hc([],!0)}for(Ft=Qe?Ft:ut;++Ft1&&go.reverse(),Wi&&hiri))return!1;var Ui=we.get(L),Wi=we.get(Y);if(Ui&&Wi)return Ui==Y&&Wi==L;var rn=-1,Mn=!0,Zn=ut&D?new gc:e;for(we.set(L,Y),we.set(Y,L);++rn1?"& ":"")+Y[Ft],Y=Y.join(ut>2?", ":" "),L.replace(Ri,`{ +import{a as z$,b as Sa,c as Bw,d as Ei,e as bW}from"./chunk-JMMR5IIN.js";import{a as Ts,b as e9,c as i9,d as db}from"./chunk-UP2J3HSS.js";import{$ as l,$a as u$,$b as pw,$c as gw,$d as qg,$e as Le,$f as Xn,A as KO,Aa as tu,Ab as ZO,Ac as A$,Ad as Ti,Ae as Io,Af as $g,B as Um,Ba as Rg,Bb as C$,Bc as O$,Bd as Mi,Be as mu,Bf as Wg,C as wo,Ca as Nt,Cb as Ro,Cc as F$,Cd as Di,Ce as xa,Cf as pW,D as Bo,Da as Bt,Db as iu,Dc as Dl,Dd as Ai,De as Je,Df as mW,E as ZU,Ea as Rt,Eb as y$,Ec as _i,Ed as Gi,Ee as Z$,Ef as kw,F as Wt,Fa as Mt,Fb as S$,Fc as We,Fd as on,Fe as Hg,Ff as dW,G as un,Ga as t,Gb as w$,Gc as mb,Gd as de,Ge as Tp,Gf as uW,H as JS,Ha as b,Hb as Wm,Hc as Wo,Hd as V$,He as Ss,Hf as La,I as Qt,Ia as P,Ib as vo,Ic as B$,Id as j$,Ie as ws,If as Mp,J as XU,Ja as _t,Jb as cm,Jc as Se,Jd as Gt,Je as X$,Jf as Xm,K as Vo,Ka as ea,Kb as Zs,Kc as bt,Kd as xw,Ke as tW,Kf as Iw,L as W,La as p$,Lb as zs,Lc as re,Le as eW,Lf as Rl,M as Q,Ma as H0,Mb as E$,Mc as ue,Md as Fn,Me as du,Mf as Fr,N as ca,Na as G0,Nb as zo,Nc as pm,Nd as Li,Ne as $e,Nf as _r,O as t$,Oa as U0,Ob as ps,Od as jg,Oe as wi,Of as mo,P as ZS,Pa as m$,Pb as js,Pc as _e,Pd as au,Pe as iW,Pf as no,Q as q0,Qa as ht,Qb as Nh,Qc as ru,Qd as Ci,Qe as _a,Qf as ya,R as $n,Ra as Xe,Rb as sw,Rc as ge,Rd as sn,Re as va,Rf as Ji,S as Rh,Sa as vs,Sb as pb,Sc as Gn,Sd as _w,Se as ba,Sf as vr,T as lb,Ta as m,Tb as lw,Tc as er,Td as vw,Te as Ca,Tf as fW,U as JO,Ua as d,Ub as Lt,Uc as fe,Ud as Ym,Ue as En,V as e$,Va as Ye,Vb as fa,Vc as ha,Vd as Km,Ve as dn,Vf as Tw,W as i$,Wa as Js,Wb as cw,Wc as is,Wd as Jm,We as Fe,Wf as Mw,X as XS,Xa as pi,Xb as te,Xc as he,Xd as Pi,Xe as Be,Xf as hW,Y as tw,Ya as vi,Yb as qt,Yc as R$,Yd as bw,Ye as Re,Yf as Dw,Z as n$,Za as $m,Zb as es,Zc as ou,Zd as Cw,Zf as rl,_ as Bg,_a as d$,_b as tr,_c as Ie,_d as q$,_e as Ne,_f as Is,a as ob,aa as r$,ab as Ng,ac as Hi,ad as ns,ae as Yo,ag as hn,b as ab,ba as o$,bb as io,bc as Dt,bd as N$,be as yw,bf as Ve,bg as gW,c as ec,ca as ew,cb as se,cc as mw,cd as xe,ce as H$,cf as ze,cg as ol,d as _s,da as V,db as zt,dc as XO,dd as Qm,de as G$,e as qU,ea as yt,eb as Ra,ec as P$,ed as wt,ee as Xs,ef as je,eg as xW,f as HU,fa as fn,fb as Na,fc as k$,fd as oe,fe as Sw,ff as qe,fg as xn,g as GU,ga as cb,gb as f$,gc as t9,gd as Qo,ge as U$,gg as Aw,h as sb,ha as a$,hb as Ip,hc as dw,hd as Al,he as $$,hf as He,hg as t0,i as Fh,ia as x,ib as h$,ic as uw,id as me,ie as W$,if as nW,ig as _W,j as UU,ja as Ir,jb as bs,jc as I$,jd as Ol,je as Q$,jf as rW,k as xr,ka as g,kb as iw,kc as T$,kd as Ue,ke as Y$,kf as ci,kg as Ow,l as $U,la as Xd,lb as Lg,lc as fw,ld as ga,le as K$,lf as oW,lg as na,m as WU,ma as kp,mb as nw,mc as qr,md as L$,me as mm,mf as aW,mg as Dp,n as Fg,na as s$,nb as g$,nc as bo,nd as Vg,ne as su,nf as Bl,ng as Co,o as YS,oa as a,ob as rw,oc as ni,od as $t,oe as lu,of as xl,og as Ap,p as QU,pa as s,pb as eu,pc as Ar,pd as Te,pe as J$,pf as Es,pg as Fw,q as Ec,qa as k,qb as x$,qc as Or,qd as rs,qe as Cs,qf as Ps,qg as vW,r as Bh,ra as ot,rb as St,rc as po,rd as zg,re as ys,rf as ks,s as KS,sa as at,sb as Yc,sc as Tr,sd as Si,se as cu,sf as sW,sg as Yr,t as Oo,ta as kc,tb as _$,tc as hw,td as Ht,te as pu,tf as lW,u as YU,ua as st,ub as v$,uc as M$,ud as Mr,ue as tl,uf as ww,v as Fo,va as q,vb as ow,vc as D$,vd as Xt,ve as el,vf as Gg,w as Gm,wa as A,wb as aw,wc as zi,wd as De,we as Zm,wf as Ug,x as KU,xa as l$,xb as b$,xc as Et,xd as qs,xe as il,xf as Ew,y as JU,ya as c$,yc as nu,yd as Oe,ye as nl,yf as cW,z as Pc,za as Zt,zb as Hn,zc as Wn,zd as ia,ze as Fl,zf as Pw}from"./chunk-JFTPDLDM.js";import{a as ye,b as oi,c as lm,d as zU,e as Pe,f as QO,g as Pp,h as Cr,i as YO,j as jU,k as cs,l as QS}from"./chunk-O7S4L63H.js";var Gh=Pe((Xg,Cb)=>{(function(){var e,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,_="__lodash_placeholder__",y=1,C=2,E=4,T=1,D=2,M=1,F=2,B=4,z=8,$=16,tt=32,lt=64,gt=128,X=256,mt=512,vt=30,Tt="...",Ct=800,Z=16,nt=1,xt=2,R=3,j=1/0,G=9007199254740991,H=17976931348623157e292,K=NaN,et=4294967295,ft=et-1,At=et>>>1,Ot=[["ary",gt],["bind",M],["bindKey",F],["curry",z],["curryRight",$],["flip",mt],["partial",tt],["partialRight",lt],["rearg",X]],Yt="[object Arguments]",dt="[object Array]",jt="[object AsyncFunction]",ct="[object Boolean]",rt="[object Date]",It="[object DOMException]",Kt="[object Error]",ke="[object Function]",ce="[object GeneratorFunction]",pe="[object Map]",si="[object Number]",ii="[object Null]",le="[object Object]",ti="[object Promise]",Ke="[object Proxy]",li="[object RegExp]",fi="[object Set]",di="[object String]",gi="[object Symbol]",Yi="[object Undefined]",Zi="[object WeakMap]",Xi="[object WeakSet]",On="[object ArrayBuffer]",pn="[object DataView]",kn="[object Float32Array]",Rr="[object Float64Array]",Un="[object Int8Array]",In="[object Int16Array]",Qn="[object Int32Array]",mn="[object Uint8Array]",ln="[object Uint8ClampedArray]",lr="[object Uint16Array]",vn="[object Uint32Array]",zn=/\b__p \+= '';/g,wl=/\b(__p \+=) '' \+/g,Yn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ar=/&(?:amp|lt|gt|quot|#39);/g,oa=/[&<>"']/g,Sr=RegExp(ar.source),wr=RegExp(oa.source),$s=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,sr=/<%=([\s\S]+?)%>/g,To=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ds=/[\\^$.*+?()[\]{}|]/g,Er=RegExp(ds.source),Ze=/^\s+/,Ii=/\s/,Ri=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,_n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vn=/[()=,{}\[\]\/\s]/,Mo=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bn=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,zr=/^0b[01]+$/i,$r=/^\[object .+?Constructor\]$/,No=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ss=/($^)/,za=/['\n\r\u2028\u2029\\]/g,Wa="\\ud800-\\udfff",Ae="\\u0300-\\u036f",yi="\\ufe20-\\ufe2f",$i="\\u20d0-\\u20ff",Vi=Ae+yi+$i,cn="\\u2700-\\u27bf",Rn="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Lr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pr="\\u2000-\\u206f",mr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",kr="A-Z\\xc0-\\xd6\\xd8-\\xde",aa="\\ufe0e\\ufe0f",ma=jn+Lr+Pr+mr,ho="['\u2019]",Lo="["+Wa+"]",da="["+ma+"]",us="["+Vi+"]",pl="\\d+",lc="["+cn+"]",Hl="["+Rn+"]",d0="[^"+Wa+ma+pl+cn+Rn+kr+"]",op="\\ud83c[\\udffb-\\udfff]",xo="(?:"+us+"|"+op+")",Eo="[^"+Wa+"]",cc="(?:\\ud83c[\\udde6-\\uddff]){2}",El="[\\ud800-\\udbff][\\udc00-\\udfff]",Rc="["+kr+"]",ja="\\u200d",Ws="(?:"+Hl+"|"+d0+")",ap="(?:"+Rc+"|"+d0+")",Nc="(?:"+ho+"(?:d|ll|m|re|s|t|ve))?",Qp="(?:"+ho+"(?:D|LL|M|RE|S|T|VE))?",Yp=xo+"?",Gl="["+aa+"]?",Kp="(?:"+ja+"(?:"+[Eo,cc,El].join("|")+")"+Gl+Yp+")*",bd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sm=Gl+Yp+Kp,yd="(?:"+[lc,cc,El].join("|")+")"+Sm,E1="(?:"+[Eo+us+"?",us,cc,El,Lo].join("|")+")",wm=RegExp(ho,"g"),Sd=RegExp(us,"g"),P1=RegExp(op+"(?="+op+")|"+E1+Sm,"g"),DC=RegExp([Rc+"?"+Hl+"+"+Nc+"(?="+[da,Rc,"$"].join("|")+")",ap+"+"+Qp+"(?="+[da,Rc+Ws,"$"].join("|")+")",Rc+"?"+Ws+"+"+Nc,Rc+"+"+Qp,Cd,bd,pl,yd].join("|"),"g"),AC=RegExp("["+ja+Wa+Vi+aa+"]"),Df=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_A=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],C_=-1,ta={};ta[kn]=ta[Rr]=ta[Un]=ta[In]=ta[Qn]=ta[mn]=ta[ln]=ta[lr]=ta[vn]=!0,ta[Yt]=ta[dt]=ta[On]=ta[ct]=ta[pn]=ta[rt]=ta[Kt]=ta[ke]=ta[pe]=ta[si]=ta[le]=ta[li]=ta[fi]=ta[di]=ta[Zi]=!1;var fr={};fr[Yt]=fr[dt]=fr[On]=fr[pn]=fr[ct]=fr[rt]=fr[kn]=fr[Rr]=fr[Un]=fr[In]=fr[Qn]=fr[pe]=fr[si]=fr[le]=fr[li]=fr[fi]=fr[di]=fr[gi]=fr[mn]=fr[ln]=fr[lr]=fr[vn]=!0,fr[Kt]=fr[ke]=fr[Zi]=!1;var vA={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},y_={"&":"&","<":"<",">":">",'"':""","'":"'"},OC={"&":"&","<":"<",">":">",""":'"',"'":"'"},Af={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},S_=parseFloat,wd=parseInt,w_=typeof global=="object"&&global&&global.Object===Object&&global,E_=typeof self=="object"&&self&&self.Object===Object&&self,fs=w_||E_||Function("return this")(),k1=typeof Xg=="object"&&Xg&&!Xg.nodeType&&Xg,u0=k1&&typeof Cb=="object"&&Cb&&!Cb.nodeType&&Cb,I1=u0&&u0.exports===k1,P_=I1&&w_.process,pc=function(){try{var ui=u0&&u0.require&&u0.require("util").types;return ui||P_&&P_.binding&&P_.binding("util")}catch{}}(),FC=pc&&pc.isArrayBuffer,Of=pc&&pc.isDate,T1=pc&&pc.isMap,BC=pc&&pc.isRegExp,RC=pc&&pc.isSet,NC=pc&&pc.isTypedArray;function Ul(ui,ji,bi){switch(bi.length){case 0:return ui.call(ji);case 1:return ui.call(ji,bi[0]);case 2:return ui.call(ji,bi[0],bi[1]);case 3:return ui.call(ji,bi[0],bi[1],bi[2])}return ui.apply(ji,bi)}function Ed(ui,ji,bi,qn){for(var Dr=-1,ro=ui==null?0:ui.length;++Dr-1}function M1(ui,ji,bi){for(var qn=-1,Dr=ui==null?0:ui.length;++qn-1;);return bi}function GC(ui,ji){for(var bi=ui.length;bi--&&f0(ji,ui[bi],0)>-1;);return bi}function h0(ui,ji){for(var bi=ui.length,qn=0;bi--;)ui[bi]===ji&&++qn;return qn}var Lf=Rf(vA),yA=Rf(y_);function SA(ui){return"\\"+Af[ui]}function L1(ui,ji){return ui==null?e:ui[ji]}function Pm(ui){return AC.test(ui)}function wA(ui){return Df.test(ui)}function EA(ui){for(var ji,bi=[];!(ji=ui.next()).done;)bi.push(ji.value);return bi}function O_(ui){var ji=-1,bi=Array(ui.size);return ui.forEach(function(qn,Dr){bi[++ji]=[Dr,qn]}),bi}function F_(ui,ji){return function(bi){return ui(ji(bi))}}function Zp(ui,ji){for(var bi=-1,qn=ui.length,Dr=0,ro=[];++bi-1}function zA(L,Y){var ut=this.__data__,Ft=Qf(ut,L);return Ft<0?(++this.size,ut.push([L,Y])):ut[Ft][1]=Y,this}pp.prototype.clear=z1,pp.prototype.delete=oy,pp.prototype.get=LA,pp.prototype.has=VA,pp.prototype.set=zA;function mp(L){var Y=-1,ut=L==null?0:L.length;for(this.clear();++Y=Y?L:Y)),L}function Pl(L,Y,ut,Ft,ee,we){var Qe,ri=Y&y,hi=Y&C,Ui=Y&E;if(ut&&(Qe=ee?ut(L,Ft,ee,we):ut(L)),Qe!==e)return Qe;if(!Pa(L))return L;var Wi=Vr(L);if(Wi){if(Qe=qy(L),!ri)return Yl(L,Qe)}else{var rn=Fs(L),Mn=rn==ke||rn==ce;if(Vm(L))return My(L,ri);if(rn==le||rn==Yt||Mn&&!ee){if(Qe=hi||Mn?{}:ag(L),!ri)return hi?a7(L,hy(Qe,L)):o7(L,Yf(Qe,L))}else{if(!fr[rn])return ee?L:{};Qe=mh(L,rn,ri)}}we||(we=new Wl);var Zn=we.get(L);if(Zn)return Zn;we.set(L,Qe),Ud(L)?L.forEach(function(gr){Qe.add(Pl(gr,Y,ut,gr,L,we))}):Dv(L)&&L.forEach(function(gr,so){Qe.set(so,Pl(gr,Y,ut,so,L,we))});var ur=Ui?hi?ch:lh:hi?hl:ls,Qr=Wi?e:ur(L);return mc(Qr||L,function(gr,so){Qr&&(so=gr,gr=L[so]),Po(Qe,so,Pl(gr,Y,ut,so,L,we))}),Qe}function gy(L){var Y=ls(L);return function(ut){return xy(ut,L,Y)}}function xy(L,Y,ut){var Ft=ut.length;if(L==null)return!Ft;for(L=Go(L);Ft--;){var ee=ut[Ft],we=Y[ee],Qe=L[ee];if(Qe===e&&!(ee in L)||!we(Qe))return!1}return!0}function Kf(L,Y,ut){if(typeof L!="function")throw new ml(n);return Bm(function(){L.apply(e,ut)},Y)}function Jf(L,Y,ut,Ft){var ee=-1,we=Ff,Qe=!0,ri=L.length,hi=[],Ui=Y.length;if(!ri)return hi;ut&&(Y=sa(Y,$l(ut))),Ft?(we=M1,Qe=!1):Y.length>=i&&(we=Nf,Qe=!1,Y=new gc(Y));t:for(;++eeee?0:ee+ut),Ft=Ft===e||Ft>ee?ee:Jn(Ft),Ft<0&&(Ft+=ee),Ft=ut>Ft?0:Ha(Ft);ut0&&ut(ri)?Y>1?As(ri,Y-1,ut,Ft,ee):Em(ee,ri):Ft||(ee[ee.length]=ri)}return ee}var G1=By(),Cy=By(!0);function xc(L,Y){return L&&G1(L,Y,ls)}function Zf(L,Y){return L&&Cy(L,Y,ls)}function Bd(L,Y){return Jp(Y,function(ut){return rm(L[ut])})}function v0(L,Y){Y=hp(Y,L);for(var ut=0,Ft=Y.length;L!=null&&utY}function $A(L,Y){return L!=null&&bn.call(L,Y)}function WA(L,Y){return L!=null&&Y in Go(L)}function yy(L,Y,ut){return L>=hs(Y,ut)&&L=120&&Wi.length>=120)?new gc(Qe&&Wi):e}Wi=L[0];var rn=-1,Mn=ri[0];t:for(;++rn-1;)ri!==L&&Lc.call(ri,hi,1),Lc.call(L,hi,1);return L}function J_(L,Y){for(var ut=L?Y.length:0,Ft=ut-1;ut--;){var ee=Y[ut];if(ut==Ft||ee!==we){var we=ee;_p(ee)?Lc.call(L,ee,1):ev(L,ee)}}return L}function th(L,Y){return L+Uf(ny()*(Y-L+1))}function J1(L,Y,ut,Ft){for(var ee=-1,we=Ka(Gf((Y-L)/(ut||1)),0),Qe=bi(we);we--;)Qe[Ft?we:++ee]=L,L+=ut;return Qe}function Z_(L,Y){var ut="";if(!L||Y<1||Y>G)return ut;do Y%2&&(ut+=L),Y=Uf(Y/2),Y&&(L+=L);while(Y);return ut}function Xr(L,Y){return sg(Qy(L,Y,jr),L+"")}function JA(L){return Dm(R0(L))}function X_(L,Y){var ut=R0(L);return gh(ut,_0(Y,0,ut.length))}function eh(L,Y,ut,Ft){if(!Pa(L))return L;Y=hp(Y,L);for(var ee=-1,we=Y.length,Qe=we-1,ri=L;ri!=null&&++eeee?0:ee+Y),ut=ut>ee?ee:ut,ut<0&&(ut+=ee),ee=Y>ut?0:ut-Y>>>0,Y>>>=0;for(var we=bi(ee);++Ft>>1,Qe=L[we];Qe!==null&&!Rs(Qe)&&(ut?Qe<=Y:Qe=i){var Ui=Y?null:zd(L);if(Ui)return V1(Ui);Qe=!1,ee=Nf,hi=new gc}else hi=Y?[]:ri;t:for(;++Ft=Ft?L:_c(L,Y,ut)}var eg=ZC||function(L){return fs.clearTimeout(L)};function My(L,Y){if(Y)return L.slice();var ut=L.length,Ft=R_?R_(ut):new L.constructor(ut);return L.copy(Ft),Ft}function ov(L){var Y=new L.constructor(L.byteLength);return new Td(Y).set(new Td(L)),Y}function i7(L,Y){var ut=Y?ov(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.byteLength)}function C0(L){var Y=new L.constructor(L.source,Bn.exec(L));return Y.lastIndex=L.lastIndex,Y}function n7(L){return Qs?Go(Qs.call(L)):{}}function av(L,Y){var ut=Y?ov(L.buffer):L.buffer;return new L.constructor(ut,L.byteOffset,L.length)}function Dy(L,Y){if(L!==Y){var ut=L!==e,Ft=L===null,ee=L===L,we=Rs(L),Qe=Y!==e,ri=Y===null,hi=Y===Y,Ui=Rs(Y);if(!ri&&!Ui&&!we&&L>Y||we&&Qe&&hi&&!ri&&!Ui||Ft&&Qe&&hi||!ut&&hi||!ee)return 1;if(!Ft&&!we&&!Ui&&L=ri)return hi;var Ui=ut[Ft];return hi*(Ui=="desc"?-1:1)}}return L.index-Y.index}function Ay(L,Y,ut,Ft){for(var ee=-1,we=L.length,Qe=ut.length,ri=-1,hi=Y.length,Ui=Ka(we-Qe,0),Wi=bi(hi+Ui),rn=!Ft;++ri1?ut[ee-1]:e,Qe=ee>2?ut[2]:e;for(we=L.length>3&&typeof we=="function"?(ee--,we):e,Qe&&Ys(ut[0],ut[1],Qe)&&(we=ee<3?e:we,ee=1),Y=Go(Y);++Ft-1?ee[we?Y[Qe]:Qe]:e}}function Vd(L){return nm(function(Y){var ut=Y.length,Ft=ut,ee=hc.prototype.thru;for(L&&Y.reverse();Ft--;){var we=Y[Ft];if(typeof we!="function")throw new ml(n);if(ee&&!Qe&&k0(we)=="wrapper")var Qe=new hc([],!0)}for(Ft=Qe?Ft:ut;++Ft1&&go.reverse(),Wi&&hiri))return!1;var Ui=we.get(L),Wi=we.get(Y);if(Ui&&Wi)return Ui==Y&&Wi==L;var rn=-1,Mn=!0,Zn=ut&D?new gc:e;for(we.set(L,Y),we.set(Y,L);++rn1?"& ":"")+Y[Ft],Y=Y.join(ut>2?", ":" "),L.replace(Ri,`{ /* [wrapped with `+Y+`] */ `)}function Gy(L){return Vr(L)||F0(L)||!!(Hf&&L&&L[Hf])}function _p(L,Y){var ut=typeof L;return Y=Y??G,!!Y&&(ut=="number"||ut!="symbol"&&pa.test(L))&&L>-1&&L%1==0&&L0){if(++Y>=Ct)return arguments[0]}else Y=0;return L.apply(e,arguments)}}function gh(L,Y){var ut=-1,Ft=L.length,ee=Ft-1;for(Y=Y===e?Ft:Y;++ut1?L[Y-1]:e;return ut=typeof ut=="function"?(L.pop(),ut):e,Cc(L,ut)});function vv(L){var Y=be(L);return Y.__chain__=!0,Y}function L7(L,Y){return Y(L),L}function D0(L,Y){return Y(L)}var V7=nm(function(L){var Y=L.length,ut=Y?L[0]:0,Ft=this.__wrapped__,ee=function(we){return q1(we,L)};return Y>1||this.__actions__.length||!(Ft instanceof oo)||!_p(ut)?this.thru(ee):(Ft=Ft.slice(ut,+ut+(Y?1:0)),Ft.__actions__.push({func:D0,args:[ee],thisArg:e}),new hc(Ft,this.__chain__).thru(function(we){return Y&&!we.length&&we.push(e),we}))});function z7(){return vv(this)}function j7(){return new hc(this.value(),this.__chain__)}function f3(){this.__values__===e&&(this.__values__=fl(this.value()));var L=this.__index__>=this.__values__.length,Y=L?e:this.__values__[this.__index__++];return{done:L,value:Y}}function q7(){return this}function H7(L){for(var Y,ut=this;ut instanceof Fd;){var Ft=I0(ut);Ft.__index__=0,Ft.__values__=e,Y?ee.__wrapped__=Ft:Y=Ft;var ee=Ft;ut=ut.__wrapped__}return ee.__wrapped__=L,Y}function h3(){var L=this.__wrapped__;if(L instanceof oo){var Y=L;return this.__actions__.length&&(Y=new oo(this)),Y=Y.reverse(),Y.__actions__.push({func:D0,args:[pg],thisArg:e}),new hc(Y,this.__chain__)}return this.thru(pg)}function bv(){return iv(this.__wrapped__,this.__actions__)}var g3=nh(function(L,Y,ut){bn.call(L,ut)?++L[ut]:em(L,ut,1)});function x3(L,Y,ut){var Ft=Vr(L)?k_:UA;return ut&&Ys(L,Y,ut)&&(Y=e),Ft(L,dr(Y,3))}function G7(L,Y){var ut=Vr(L)?Jp:by;return ut(L,dr(Y,3))}var _3=sv(gv),Xl=sv(Zy);function v3(L,Y){return As(A0(L,Y),1)}function U7(L,Y){return As(A0(L,Y),j)}function b3(L,Y,ut){return ut=ut===e?1:Jn(ut),As(A0(L,Y),ut)}function dg(L,Y){var ut=Vr(L)?mc:im;return ut(L,dr(Y,3))}function C3(L,Y){var ut=Vr(L)?LC:_y;return ut(L,dr(Y,3))}var $7=nh(function(L,Y,ut){bn.call(L,ut)?L[ut].push(Y):em(L,ut,[Y])});function tc(L,Y,ut,Ft){L=kl(L)?L:R0(L),ut=ut&&!Ft?Jn(ut):0;var ee=L.length;return ut<0&&(ut=Ka(ee+ut,0)),Ph(L)?ut<=ee&&L.indexOf(Y,ut)>-1:!!ee&&f0(L,Y,ut)>-1}var W7=Xr(function(L,Y,ut){var Ft=-1,ee=typeof Y=="function",we=kl(L)?bi(L.length):[];return im(L,function(Qe){we[++Ft]=ee?Ul(Y,Qe,ut):Rd(Qe,Y,ut)}),we}),Q7=nh(function(L,Y,ut){em(L,ut,Y)});function A0(L,Y){var ut=Vr(L)?sa:Y_;return ut(L,dr(Y,3))}function Uc(L,Y,ut,Ft){return L==null?[]:(Vr(Y)||(Y=Y==null?[]:[Y]),ut=Ft?e:ut,Vr(ut)||(ut=ut==null?[]:[ut]),K_(L,Y,ut))}var Y7=nh(function(L,Y,ut){L[ut?0:1].push(Y)},function(){return[[],[]]});function bh(L,Y,ut){var Ft=Vr(L)?D1:B1,ee=arguments.length<3;return Ft(L,dr(Y,4),ut,ee,im)}function y3(L,Y,ut){var Ft=Vr(L)?bA:B1,ee=arguments.length<3;return Ft(L,dr(Y,4),ut,ee,_y)}function K7(L,Y){var ut=Vr(L)?Jp:by;return ut(L,ug(dr(Y,3)))}function S3(L){var Y=Vr(L)?Dm:JA;return Y(L)}function w3(L,Y,ut){(ut?Ys(L,Y,ut):Y===e)?Y=1:Y=Jn(Y);var Ft=Vr(L)?HA:X_;return Ft(L,Y)}function E3(L){var Y=Vr(L)?fy:XA;return Y(L)}function Ch(L){if(L==null)return 0;if(kl(L))return Ph(L)?Pd(L):L.length;var Y=Fs(L);return Y==pe||Y==fi?L.size:Q_(L).length}function P3(L,Y,ut){var Ft=Vr(L)?A1:t7;return ut&&Ys(L,Y,ut)&&(Y=e),Ft(L,dr(Y,3))}var k3=Xr(function(L,Y){if(L==null)return[];var ut=Y.length;return ut>1&&Ys(L,Y[0],Y[1])?Y=[]:ut>2&&Ys(Y[0],Y[1],Y[2])&&(Y=[Y[0]]),K_(L,As(Y,1),[])}),Gd=L_||function(){return fs.Date.now()};function I3(L,Y){if(typeof Y!="function")throw new ml(n);return L=Jn(L),function(){if(--L<1)return Y.apply(this,arguments)}}function Cv(L,Y,ut){return Y=ut?e:Y,Y=L&&Y==null?L.length:Y,qc(L,gt,e,e,e,e,Y)}function yv(L,Y){var ut;if(typeof Y!="function")throw new ml(n);return L=Jn(L),function(){return--L>0&&(ut=Y.apply(this,arguments)),L<=1&&(Y=e),ut}}var Sv=Xr(function(L,Y,ut){var Ft=M;if(ut.length){var ee=Zp(ut,qd(Sv));Ft|=tt}return qc(L,Ft,Y,ut,ee)}),T3=Xr(function(L,Y,ut){var Ft=M|F;if(ut.length){var ee=Zp(ut,qd(T3));Ft|=tt}return qc(Y,Ft,L,ut,ee)});function wv(L,Y,ut){Y=ut?e:Y;var Ft=qc(L,z,e,e,e,e,e,Y);return Ft.placeholder=wv.placeholder,Ft}function Ev(L,Y,ut){Y=ut?e:Y;var Ft=qc(L,$,e,e,e,e,e,Y);return Ft.placeholder=Ev.placeholder,Ft}function Pv(L,Y,ut){var Ft,ee,we,Qe,ri,hi,Ui=0,Wi=!1,rn=!1,Mn=!0;if(typeof L!="function")throw new ml(n);Y=la(Y)||0,Pa(ut)&&(Wi=!!ut.leading,rn="maxWait"in ut,we=rn?Ka(la(ut.maxWait)||0,Y):we,Mn="trailing"in ut?!!ut.trailing:Mn);function Zn(Ga){var Wc=Ft,Qc=ee;return Ft=ee=e,Ui=Ga,Qe=L.apply(Qc,Wc),Qe}function ur(Ga){return Ui=Ga,ri=Bm(so,Y),Wi?Zn(Ga):Qe}function Qr(Ga){var Wc=Ga-hi,Qc=Ga-Ui,Kv=Y-Wc;return rn?hs(Kv,we-Qc):Kv}function gr(Ga){var Wc=Ga-hi,Qc=Ga-Ui;return hi===e||Wc>=Y||Wc<0||rn&&Qc>=we}function so(){var Ga=Gd();if(gr(Ga))return go(Ga);ri=Bm(so,Qr(Ga))}function go(Ga){return ri=e,Mn&&Ft?Zn(Ga):(Ft=ee=e,Qe)}function Il(){ri!==e&&eg(ri),Ui=0,Ft=hi=ee=ri=e}function gl(){return ri===e?Qe:go(Gd())}function Tl(){var Ga=Gd(),Wc=gr(Ga);if(Ft=arguments,ee=this,hi=Ga,Wc){if(ri===e)return ur(hi);if(rn)return eg(ri),ri=Bm(so,Y),Zn(hi)}return ri===e&&(ri=Bm(so,Y)),Qe}return Tl.cancel=Il,Tl.flush=gl,Tl}var J7=Xr(function(L,Y){return Kf(L,1,Y)}),Z7=Xr(function(L,Y,ut){return Kf(L,la(Y)||0,ut)});function X7(L){return qc(L,mt)}function yh(L,Y){if(typeof L!="function"||Y!=null&&typeof Y!="function")throw new ml(n);var ut=function(){var Ft=arguments,ee=Y?Y.apply(this,Ft):Ft[0],we=ut.cache;if(we.has(ee))return we.get(ee);var Qe=L.apply(this,Ft);return ut.cache=we.set(ee,Qe)||we,Qe};return ut.cache=new(yh.Cache||mp),ut}yh.Cache=mp;function ug(L){if(typeof L!="function")throw new ml(n);return function(){var Y=arguments;switch(Y.length){case 0:return!L.call(this);case 1:return!L.call(this,Y[0]);case 2:return!L.call(this,Y[0],Y[1]);case 3:return!L.call(this,Y[0],Y[1],Y[2])}return!L.apply(this,Y)}}function t8(L){return yv(2,L)}var M3=e7(function(L,Y){Y=Y.length==1&&Vr(Y[0])?sa(Y[0],$l(dr())):sa(As(Y,1),$l(dr()));var ut=Y.length;return Xr(function(Ft){for(var ee=-1,we=hs(Ft.length,ut);++ee=Y}),F0=U_(function(){return arguments}())?U_:function(L){return Fa(L)&&bn.call(L,"callee")&&!N_.call(L,"callee")},Vr=bi.isArray,r8=FC?$l(FC):Sy;function kl(L){return L!=null&&wh(L.length)&&!rm(L)}function qa(L){return Fa(L)&&kl(L)}function o8(L){return L===!0||L===!1||Fa(L)&&Os(L)==ct}var Vm=MA||yg,a8=Of?$l(Of):an;function s8(L){return Fa(L)&&L.nodeType===1&&!Bs(L)}function B0(L){if(L==null)return!0;if(kl(L)&&(Vr(L)||typeof L=="string"||typeof L.splice=="function"||Vm(L)||vp(L)||F0(L)))return!L.length;var Y=Fs(L);if(Y==pe||Y==fi)return!L.size;if(fh(L))return!Q_(L).length;for(var ut in L)if(bn.call(L,ut))return!1;return!0}function l8(L,Y){return Nd(L,Y)}function c8(L,Y,ut){ut=typeof ut=="function"?ut:e;var Ft=ut?ut(L,Y):e;return Ft===e?Nd(L,Y,e,ut):!!Ft}function hg(L){if(!Fa(L))return!1;var Y=Os(L);return Y==Kt||Y==It||typeof L.message=="string"&&typeof L.name=="string"&&!Bs(L)}function p8(L){return typeof L=="number"&&z_(L)}function rm(L){if(!Pa(L))return!1;var Y=Os(L);return Y==ke||Y==ce||Y==jt||Y==Ke}function N3(L){return typeof L=="number"&&L==Jn(L)}function wh(L){return typeof L=="number"&&L>-1&&L%1==0&&L<=G}function Pa(L){var Y=typeof L;return L!=null&&(Y=="object"||Y=="function")}function Fa(L){return L!=null&&typeof L=="object"}var Dv=T1?$l(T1):wy;function m8(L,Y){return L===Y||$1(L,Y,cv(Y))}function d8(L,Y,ut){return ut=typeof ut=="function"?ut:e,$1(L,Y,cv(Y),ut)}function u8(L){return Ov(L)&&L!=+L}function f8(L){if(Uy(L))throw new Dr(o);return $_(L)}function h8(L){return L===null}function Av(L){return L==null}function Ov(L){return typeof L=="number"||Fa(L)&&Os(L)==si}function Bs(L){if(!Fa(L)||Os(L)!=le)return!1;var Y=ua(L);if(Y===null)return!0;var ut=bn.call(Y,"constructor")&&Y.constructor;return typeof ut=="function"&&ut instanceof ut&&Id.call(ut)==KC}var Eh=BC?$l(BC):Ey;function L3(L){return N3(L)&&L>=-G&&L<=G}var Ud=RC?$l(RC):W1;function Ph(L){return typeof L=="string"||!Vr(L)&&Fa(L)&&Os(L)==di}function Rs(L){return typeof L=="symbol"||Fa(L)&&Os(L)==gi}var vp=NC?$l(NC):YA;function V3(L){return L===e}function ko(L){return Fa(L)&&Fs(L)==Zi}function xs(L){return Fa(L)&&Os(L)==Xi}var $o=w0(Y1),Ba=w0(function(L,Y){return L<=Y});function fl(L){if(!L)return[];if(kl(L))return Ph(L)?dc(L):Yl(L);if(Dd&&L[Dd])return EA(L[Dd]());var Y=Fs(L),ut=Y==pe?O_:Y==fi?V1:R0;return ut(L)}function bp(L){if(!L)return L===0?L:0;if(L=la(L),L===j||L===-j){var Y=L<0?-1:1;return Y*H}return L===L?L:0}function Jn(L){var Y=bp(L),ut=Y%1;return Y===Y?ut?Y-ut:Y:0}function Ha(L){return L?_0(Jn(L),0,et):0}function la(L){if(typeof L=="number")return L;if(Rs(L))return K;if(Pa(L)){var Y=typeof L.valueOf=="function"?L.valueOf():L;L=Pa(Y)?Y+"":Y}if(typeof L!="string")return L===0?L:+L;L=D_(L);var ut=zr.test(L);return ut||No.test(L)?wd(L.slice(2),ut?2:8):to.test(L)?K:+L}function Cp(L){return gp(L,hl(L))}function yp(L){return L?_0(Jn(L),-G,G):L===0?L:0}function Wr(L){return L==null?"":dl(L)}var g8=y0(function(L,Y){if(fh(Y)||kl(Y)){gp(Y,ls(Y),L);return}for(var ut in Y)bn.call(Y,ut)&&Po(L,ut,Y[ut])}),gg=y0(function(L,Y){gp(Y,hl(Y),L)}),ao=y0(function(L,Y,ut,Ft){gp(Y,hl(Y),L,Ft)}),x8=y0(function(L,Y,ut,Ft){gp(Y,ls(Y),L,Ft)}),z3=nm(q1);function _8(L,Y){var ut=Tm(L);return Y==null?ut:Yf(ut,Y)}var v8=Xr(function(L,Y){L=Go(L);var ut=-1,Ft=Y.length,ee=Ft>2?Y[2]:e;for(ee&&Ys(Y[0],Y[1],ee)&&(Ft=1);++ut1),we}),gp(L,ch(L),ut),Ft&&(ut=Pl(ut,y|C|E,Ny));for(var ee=Y.length;ee--;)ev(ut,Y[ee]);return ut});function xg(L,Y){return Q3(L,ug(dr(Y)))}var I8=nm(function(L,Y){return L==null?{}:b0(L,Y)});function Q3(L,Y){if(L==null)return{};var ut=sa(ch(L),function(Ft){return[Ft]});return Y=dr(Y),qo(L,ut,function(Ft,ee){return Y(Ft,ee[0])})}function T8(L,Y,ut){Y=hp(Y,L);var Ft=-1,ee=Y.length;for(ee||(ee=1,L=e);++FtY){var Ft=L;L=Y,Y=Ft}if(ut||L%1||Y%1){var ee=ny();return hs(L+ee*(Y-L+S_("1e-"+((ee+"").length-1))),Y)}return th(L,Y)}var B8=Fm(function(L,Y,ut){return Y=Y.toLowerCase(),L+(ut?eS(Y):Y)});function eS(L){return Vv(Wr(L).toLowerCase())}function Nv(L){return L=Wr(L),L&&L.replace(Xo,Lf).replace(Sd,"")}function R8(L,Y,ut){L=Wr(L),Y=dl(Y);var Ft=L.length;ut=ut===e?Ft:_0(Jn(ut),0,Ft);var ee=ut;return ut-=Y.length,ut>=0&&L.slice(ut,ee)==Y}function Qd(L){return L=Wr(L),L&&wr.test(L)?L.replace(oa,yA):L}function N8(L){return L=Wr(L),L&&Er.test(L)?L.replace(ds,"\\$&"):L}var om=Fm(function(L,Y,ut){return L+(ut?"-":"")+Y.toLowerCase()}),L8=Fm(function(L,Y,ut){return L+(ut?" ":"")+Y.toLowerCase()}),iS=Ry("toLowerCase");function nS(L,Y,ut){L=Wr(L),Y=Jn(Y);var Ft=Y?Pd(L):0;if(!Y||Ft>=Y)return L;var ee=(Y-Ft)/2;return xp(Uf(ee),ut)+L+xp(Gf(ee),ut)}function kh(L,Y,ut){L=Wr(L),Y=Jn(Y);var Ft=Y?Pd(L):0;return Y&&Ft>>0,ut?(L=Wr(L),L&&(typeof Y=="string"||Y!=null&&!Eh(Y))&&(Y=dl(Y),!Y&&Pm(L))?Om(dc(L),0,ut):L.split(Y,ut)):[]}var sS=Fm(function(L,Y,ut){return L+(ut?" ":"")+Vv(Y)});function lS(L,Y,ut){return L=Wr(L),ut=ut==null?0:_0(Jn(ut),0,L.length),Y=dl(Y),L.slice(ut,ut+Y.length)==Y}function cS(L,Y,ut){var Ft=be.templateSettings;ut&&Ys(L,Y,ut)&&(Y=e),L=Wr(L),Y=ao({},Y,Ft,jd);var ee=ao({},Y.imports,Ft.imports,jd),we=ls(ee),Qe=A_(ee,we),ri,hi,Ui=0,Wi=Y.interpolate||ss,rn="__p += '",Mn=B_((Y.escape||ss).source+"|"+Wi.source+"|"+(Wi===sr?nr:ss).source+"|"+(Y.evaluate||ss).source+"|$","g"),Zn="//# sourceURL="+(bn.call(Y,"sourceURL")?(Y.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++C_+"]")+` `;L.replace(Mn,function(gr,so,go,Il,gl,Tl){return go||(go=Il),rn+=L.slice(Ui,Tl).replace(za,SA),so&&(ri=!0,rn+=`' + @@ -12549,7 +12549,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `),k(57,"mat-paginator",13),t(58,` `),s(),t(59,` `),s(),t(60,` -`)),o&2&&(l(5),b(d(6,5,"labels.heading.Charges Overview")),l(3),g("dataSource",n.dataSource),l(44),g("matHeaderRowDef",n.displayedColumns),l(2),g("matRowDefColumns",n.displayedColumns),l(3),g("pageSizeOptions",ht(7,$Ot)))},dependencies:[St,io,wt,oe,Gi,Et,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He,Je,mo],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.charges-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%}"]})}}return e})();var UF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.params.clientId;return this.clientsService.getAllClientCharges(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var $F=(()=>{class e{constructor(i,o){this.clientsService=i,this.productsService=o}resolve(i){let o=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(o){case"Survey":return this.clientsService.getSurveys(n);case"Take Survey":return this.clientsService.getAllSurveysType();case"Close":return this.clientsService.getClientCommandTemplate("close");case"Reject":return this.clientsService.getClientCommandTemplate("reject");case"Withdraw":return this.clientsService.getClientCommandTemplate("withdraw");case"Transfer Client":return this.clientsService.getOffices();case"Add Charge":return this.clientsService.getClientChargeTemplate(n);case"Create Collateral":return this.productsService.getCollaterals();case"Client Screen Reports":return this.clientsService.getClientReportTemplates();case"Assign Staff":case"Update Default Savings":return this.clientsService.getClientDataAndTemplate(n);case"Undo Transfer":case"Accept Transfer":case"Reject Transfer":return this.clientsService.getClientTransferProposalDate(n);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji),Qt(ki))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var WF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var QF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var YF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var KF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var s9t=[uo.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:a5},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:J5,resolve:{clientAddressFieldConfig:X5,clientTemplate:xx}},{path:":clientId",component:g5,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5,clientTemplateData:xx,clientDatatables:jF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:x5,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:OF,clientChargesData:BF,clientCollateralData:KF}},{path:"address",component:E5,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:X5,clientAddressTemplateData:GF,clientAddressData:FF}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:_5,resolve:{clientFamilyMembers:RF}},{path:"add",component:v5,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:xx}},{path:":familyMemberId",children:[{path:"edit",component:b5,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:xx,editFamilyMember:NF}}]}]},{path:"identities",component:C5,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:LF,clientIdentifierTemplate:HF}},{path:"documents",component:S5,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:zF}},{path:"notes",component:y5,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:VF}},{path:"datatables",children:[{path:":datatableName",component:w5,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:qF}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:$5,resolve:{clientDataAndTemplate:YF}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:H5,resolve:{clientActionData:$F}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:tE,resolve:{clientChargesData:UF}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:G5,resolve:{clientChargeData:WF}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:U5,resolve:{transactionData:QF}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-2ILSMO5Q.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-6JA7SBWB.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-JXL7H2TF.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-KNKOANAZ.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-4BVXLZIB.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-LQVSIAFS.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-SYP4EGKT.js").then(e=>e.AccountTransfersModule)}]}]}])],CJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Z5,OF,FF,BF,bJ,RF,NF,xx,LF,VF,zF,jF,qF,HF,X5,GF,UF,$F,WF,QF,YF,KF],imports:[tr.forChild(s9t),tr]})}}return e})();var l9t=e=>({editForm:e}),yJ=(()=>{class e{constructor(i,o,n){this.dialogRef=i,this.formBuilder=o,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,bt.required]})}static{this.\u0275fac=function(o){return new(o||e)(V(qr),V(xe),V(bo))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-edit-notes-dialog"]],decls:27,vars:14,consts:[["formRef","ngForm"],["mat-dialog-title",""],[3,"formGroup"],["formControlName","note","matInput","","placeholder","Write a note ...."],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"]],template:function(o,n){o&1&&(a(0,"h1",1),t(1),m(2,"translate"),s(),t(3,` +`)),o&2&&(l(5),b(d(6,5,"labels.heading.Charges Overview")),l(3),g("dataSource",n.dataSource),l(44),g("matHeaderRowDef",n.displayedColumns),l(2),g("matRowDefColumns",n.displayedColumns),l(3),g("pageSizeOptions",ht(7,$Ot)))},dependencies:[St,io,wt,oe,Gi,Et,Fe,Ne,Re,Le,Be,Ve,ze,qe,je,He,Je,mo],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.charges-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%}"]})}}return e})();var UF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.params.clientId;return this.clientsService.getAllClientCharges(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var $F=(()=>{class e{constructor(i,o){this.clientsService=i,this.productsService=o}resolve(i){let o=i.paramMap.get("name"),n=i.paramMap.get("clientId")||i.parent.parent.paramMap.get("clientId");switch(o){case"Survey":return this.clientsService.getSurveys(n);case"Take Survey":return this.clientsService.getAllSurveysType();case"Close":return this.clientsService.getClientCommandTemplate("close");case"Reject":return this.clientsService.getClientCommandTemplate("reject");case"Withdraw":return this.clientsService.getClientCommandTemplate("withdraw");case"Transfer Client":return this.clientsService.getOffices();case"Add Charge":return this.clientsService.getClientChargeTemplate(n);case"Create Collateral":return this.productsService.getCollaterals();case"Client Screen Reports":return this.clientsService.getClientReportTemplates();case"Assign Staff":case"Update Default Savings":return this.clientsService.getClientDataAndTemplate(n);case"Undo Transfer":case"Accept Transfer":case"Reject Transfer":return this.clientsService.getClientTransferProposalDate(n);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji),Qt(ki))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var WF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getSelectedChargeData(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var QF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.parent.parent.paramMap.get("clientId"),n=i.paramMap.get("chargeId");return this.clientsService.getClientTransactionPay(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var YF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.paramMap.get("clientId");return this.clientsService.getClientDataAndTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var KF=(()=>{class e{constructor(i){this.clientsService=i}resolve(i){let o=i.parent.paramMap.get("clientId");return this.clientsService.getCollateralTemplate(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ji))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var s9t=[uo.withShell([{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:"",component:a5},{path:"create",data:{title:"Create Client",breadcrumb:"Create Client",routeParamBreadcrumb:!1},component:J5,resolve:{clientAddressFieldConfig:X5,clientTemplate:xx}},{path:":clientId",component:g5,data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5,clientTemplateData:xx,clientDatatables:jF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:x5,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{clientAccountsData:OF,clientChargesData:BF,clientCollateralData:KF}},{path:"address",component:E5,data:{title:"Address",breadcrumb:"Address",routeParamBreadcrumb:!1},resolve:{clientAddressFieldConfig:X5,clientAddressTemplateData:GF,clientAddressData:FF}},{path:"family-members",data:{title:"Family Members",breadcrumb:"Family Members",routeParamBreadcrumb:!1},children:[{path:"",component:_5,resolve:{clientFamilyMembers:RF}},{path:"add",component:v5,data:{title:"Add",breadcrumb:"Add",routeParamBreadcrumb:!1},resolve:{clientTemplate:xx}},{path:":familyMemberId",children:[{path:"edit",component:b5,data:{title:"Family Member View",routeParamBreadcrumb:"familyMemberId"},resolve:{clientTemplate:xx,editFamilyMember:NF}}]}]},{path:"identities",component:C5,data:{title:"Identities",breadcrumb:"Identities",routeParamBreadcrumb:!1},resolve:{clientIdentities:LF,clientIdentifierTemplate:HF}},{path:"documents",component:S5,data:{title:"Documents",breadcrumb:"Documents",routeParamBreadcrumb:!1},resolve:{clientDocuments:zF}},{path:"notes",component:y5,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{clientNotes:VF}},{path:"datatables",children:[{path:":datatableName",component:w5,data:{title:"Data Table View",routeParamBreadcrumb:"datatableName"},resolve:{clientDatatable:qF}}]}]}]},{path:"clients",data:{title:"Clients",breadcrumb:"Clients",routeParamBreadcrumb:!1},children:[{path:":clientId",data:{title:"Clients View",routeParamBreadcrumb:"clientId"},resolve:{clientViewData:Z5},children:[{path:"edit",data:{title:"Edit Client",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:$5,resolve:{clientDataAndTemplate:YF}},{path:"actions/:name",data:{title:"Client Actions",routeParamBreadcrumb:"name"},component:H5,resolve:{clientActionData:$F}},{path:"charges",children:[{path:"overview",data:{title:"Charges Overview",breadcrumb:"Charges Overview"},component:tE,resolve:{clientChargesData:UF}},{path:":chargeId",data:{title:"Charges",routeParamBreadcrumb:"chargeId"},children:[{path:"",component:G5,resolve:{clientChargeData:WF}},{path:"pay",data:{title:"Pay Charge",routeParamBreadcrumb:!1},component:U5,resolve:{transactionData:QF}}]}]},{path:"loans-accounts",loadChildren:()=>import("./loans.module-OA2OYK77.js").then(e=>e.LoansModule)},{path:"client-collateral",loadChildren:()=>import("./collaterals.module-BPY72UFL.js").then(e=>e.CollateralsModule)},{path:"fixed-deposits-accounts",loadChildren:()=>import("./fixed-deposits.module-OXMWH4HY.js").then(e=>e.FixedDepositsModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-NVX7B35C.js").then(e=>e.SavingsModule)},{path:"recurring-deposits-accounts",loadChildren:()=>import("./recurring-deposits.module-MDQNXF36.js").then(e=>e.RecurringDepositsModule)},{path:"shares-accounts",loadChildren:()=>import("./shares.module-TK7ZHSHC.js").then(e=>e.SharesModule)},{path:"standing-instructions",loadChildren:()=>import("./account-transfers.module-BXOTWU6G.js").then(e=>e.AccountTransfersModule)}]}]}])],CJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[Z5,OF,FF,BF,bJ,RF,NF,xx,LF,VF,zF,jF,qF,HF,X5,GF,UF,$F,WF,QF,YF,KF],imports:[tr.forChild(s9t),tr]})}}return e})();var l9t=e=>({editForm:e}),yJ=(()=>{class e{constructor(i,o,n){this.dialogRef=i,this.formBuilder=o,this.data=n}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:[this.data.noteContent,bt.required]})}static{this.\u0275fac=function(o){return new(o||e)(V(qr),V(xe),V(bo))}}static{this.\u0275cmp=yt({type:e,selectors:[["mifosx-edit-notes-dialog"]],decls:27,vars:14,consts:[["formRef","ngForm"],["mat-dialog-title",""],[3,"formGroup"],["formControlName","note","matInput","","placeholder","Write a note ...."],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"]],template:function(o,n){o&1&&(a(0,"h1",1),t(1),m(2,"translate"),s(),t(3,` `),a(4,"div"),t(5,` `),a(6,"form",2,0),t(8,` `),a(9,"mat-form-field"),t(10,` @@ -13916,7 +13916,7 @@ use chrome, FireFox or Internet Explorer 11`)}var u=e("safe-buffer"),h=e("random `,d(68,26,"labels.buttons.Cancel"),` `),l(3),g("disabled",!n.editGroupForm.valid),l(),P(` `,d(72,28,"labels.buttons.Submit"),` - `)}},dependencies:[St,se,zt,wt,ge,Se,re,ue,Ie,fe,he,qt,oe,me,Ue,Ht,$t,Te,Si,Xt,Oe,De,Mi,Di,Ti,Dt,Et],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var JF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ZF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var XF=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var tB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var SE=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("groupId");return this.groupsService.getGroupData(o,"true")}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var eB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(o){case"Attendance":case"Manage Members":case"Transfer Clients":return this.groupsService.getGroupData(n);case"Assign Staff":return this.groupsService.getGroupData(n,"true");case"Close":return this.groupsService.getGroupCommandTemplate("close");case"Attach Meeting":return this.groupsService.getGroupCalendarTemplate(n);case"Edit Meeting":case"Edit Meeting Schedule":let c=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,c);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var iB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ELt=[uo.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:iE},{path:"create",component:cE,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:bl}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:db},children:[{path:"",component:rE,resolve:{groupViewData:db,groupDatatables:XF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:oE,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:e9,groupSummary:JF,gsimData:i9,glimData:iB}},{path:"notes",component:aE,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:ZF}},{path:"committee",component:lE,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:pE,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:tB}}]}]},{path:"edit",component:yE,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:SE,groupViewData:db}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:mE,resolve:{groupAndTemplateData:SE}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:CE,resolve:{groupActionData:eB}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-2ILSMO5Q.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-KNKOANAZ.js").then(e=>e.SavingsModule)}]}]}])],PJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[db,e9,JF,ZF,XF,tB,SE,eB,i9,iB],imports:[tr.forChild(ELt),tr]})}}return e})();var kJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,ya,rl,PJ,iE,rE,oE,aE,lE,cE,pE,mE,sE,CE,dE,nE,uE,fE,yE,hE,gE,xE,_E,vE,bE]})}}return e})();var Nr=(()=>{class e{constructor(i){this.http=i}getCenters(i,o,n,c,u){let h=new Hn().set("offset",c.toString()).set("limit",u.toString()).set("sortOrder",n).set("orderBy",o).set("paged","true");return i.forEach(function(_){_.value&&(h=h.set(_.type,_.value))}),this.http.get("/centers",{params:h})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let o=new Hn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:o})}getCenterData(i){let o=new Hn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:o})}getCenterSummary(i){let o=new Hn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:o})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,o){return this.http.post(`/groups/${i}/notes`,o)}editCenterNote(i,o,n){return this.http.put(`/groups/${i}/notes/${o}`,n)}deleteCenterNote(i,o){return this.http.delete(`/groups/${i}/notes/${o}`)}getcenterDatatables(){let i=new Hn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,o){let n=new Hn().set("genericResultSet","true");return this.http.get(`/datatables/${o}/${i}`,{params:n})}addCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.post(`/datatables/${o}/${i}`,n,{params:c})}editCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.put(`/datatables/${o}/${i}`,n,{params:c})}deleteDatatableContent(i,o){let n=new Hn().set("genericResultSet","true");return this.http.delete(`/datatables/${o}/${i}`,{params:n})}executeCenterActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/centers/${i}`,n,{params:c})}executeGroupActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/groups/${i}`,n,{params:c})}getGroupStaffData(i){let o=new Hn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:o})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,o,n){let c=new Hn().set("associations",o);return c=n?c.set("template",n):c,this.http.get(`/centers/${i}`,{params:c})}getMeetingsTemplate(i,o){let n=new Hn().set("calenderId",o);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,o,n){let c=new Hn().set("calenderId",o);return this.http.post(`/centers/${i}/meetings`,n,{params:c})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,o){return this.http.post(`/centers/${i}/calendars`,o)}getCalendarAndTemplate(i,o){let n=new Hn().set("template","true");return this.http.get(`/centers/${i}/calendars/${o}`,{params:n})}updateCenterMeeting(i,o,n){return this.http.put(`/centers/${i}/calendars/${n}`,o)}getStaffAssignmentHistoryData(i,o,n,c){let u=new Hn().set("tenantIdentifier",n).set("locale",c).set("R_centerId",o);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:u})}getCenterAndTemplateData(i){let o=new Hn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:o})}executeEditCenter(i,o){return this.http.put(`/groups/${i}`,o)}getAllMeetingFallCenters(i,o,n,c,u){return this.http.get(`/centers?dateFormat=${c}&locale=${u}&meetingDate=${n}&officeId=${i}&staffId=${o}`)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ro))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wE=class{constructor(r){this.centersService=r,this.centersSubject=new _s([]),this.recordsSubject=new _s(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",o="",n=0,c=10,u=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,o,n*c,c).subscribe(h=>{h.pageItems=u?h.pageItems.filter(_=>_.active):h.pageItems,this.recordsSubject.next(h.totalFilteredRecords),this.centersSubject.next(h.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var PLt=["showClosedCenters"],kLt=()=>[10,25,50,100],ILt=()=>["../","organization","bulk-import","Centers"],TLt=()=>["create"],MLt=e=>[e,"general"];function DLt(e,r){e&1&&(a(0,"button",22),t(1,` + `)}},dependencies:[St,se,zt,wt,ge,Se,re,ue,Ie,fe,he,qt,oe,me,Ue,Ht,$t,Te,Si,Xt,Oe,De,Mi,Di,Ti,Dt,Et],styles:[".container[_ngcontent-%COMP%]{max-width:50rem}"]})}}return e})();var JF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupSummary(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ZF=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGroupNotes(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var XF=(()=>{class e{constructor(i){this.groupsService=i}resolve(){return this.groupsService.getGroupDatatables()}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var tB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.parent.paramMap.get("groupId"),n=i.paramMap.get("datatableName");return this.groupsService.getGroupDatatable(o,n)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var SE=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("groupId");return this.groupsService.getGroupData(o,"true")}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var eB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.paramMap.get("action"),n=i.paramMap.get("groupId")||i.parent.parent.paramMap.get("groupId");switch(o){case"Attendance":case"Manage Members":case"Transfer Clients":return this.groupsService.getGroupData(n);case"Assign Staff":return this.groupsService.getGroupData(n,"true");case"Close":return this.groupsService.getGroupCommandTemplate("close");case"Attach Meeting":return this.groupsService.getGroupCalendarTemplate(n);case"Edit Meeting":case"Edit Meeting Schedule":let c=i.queryParamMap.get("calendarId");return this.groupsService.getGroupCalendarAndTemplate(n,c);default:return}}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var iB=(()=>{class e{constructor(i){this.groupsService=i}resolve(i){let o=i.parent.paramMap.get("groupId");return this.groupsService.getGLIMAccountsData(o)}static{this.\u0275fac=function(o){return new(o||e)(Qt(vr))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}}return e})();var ELt=[uo.withShell([{path:"groups",data:{title:"Groups",breadcrumb:"Groups",routeParamBreadcrumb:!1},children:[{path:"",component:iE},{path:"create",component:cE,data:{title:"Create Group",breadcrumb:"Create",routeParamBreadcrumb:!1},resolve:{offices:bl}},{path:":groupId",data:{title:"View Group",routeParamBreadcrumb:"groupId"},resolve:{groupViewData:db},children:[{path:"",component:rE,resolve:{groupViewData:db,groupDatatables:XF},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:oE,data:{title:"General",breadcrumb:"General",routeParamBreadcrumb:!1},resolve:{groupAccountsData:e9,groupSummary:JF,gsimData:i9,glimData:iB}},{path:"notes",component:aE,data:{title:"Notes",breadcrumb:"Notes",routeParamBreadcrumb:!1},resolve:{groupNotes:ZF}},{path:"committee",component:lE,data:{title:"Committee",breadcrumb:"Committee",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:pE,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{groupDatatable:tB}}]}]},{path:"edit",component:yE,data:{title:"Edit Group",breadcrumb:"Edit",routeParamBreadcrumb:!1},resolve:{groupAndTemplateData:SE,groupViewData:db}},{path:"committee",children:[{path:"",redirectTo:"../committee",pathMatch:"prefix"},{path:"add-role",data:{title:"Add Role",breadcrumb:"Add Role",routeParamBreadcrumb:!1},component:mE,resolve:{groupAndTemplateData:SE}}]},{path:"actions/:action",data:{title:"Group Actions",breadcrumb:"action",routeParamBreadcrumb:"action"},component:CE,resolve:{groupActionData:eB}},{path:"loans-accounts",loadChildren:()=>import("./loans.module-OA2OYK77.js").then(e=>e.LoansModule)},{path:"savings-accounts",loadChildren:()=>import("./savings.module-NVX7B35C.js").then(e=>e.SavingsModule)}]}]}])],PJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({providers:[db,e9,JF,ZF,XF,tB,SE,eB,i9,iB],imports:[tr.forChild(ELt),tr]})}}return e})();var kJ=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275mod=fn({type:e})}static{this.\u0275inj=un({imports:[Yr,ya,rl,PJ,iE,rE,oE,aE,lE,cE,pE,mE,sE,CE,dE,nE,uE,fE,yE,hE,gE,xE,_E,vE,bE]})}}return e})();var Nr=(()=>{class e{constructor(i){this.http=i}getCenters(i,o,n,c,u){let h=new Hn().set("offset",c.toString()).set("limit",u.toString()).set("sortOrder",n).set("orderBy",o).set("paged","true");return i.forEach(function(_){_.value&&(h=h.set(_.type,_.value))}),this.http.get("/centers",{params:h})}createCenter(i){return this.http.post("/centers",i)}getStaff(i){let o=new Hn().set("officeId",i.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/centers/template",{params:o})}getCenterData(i){let o=new Hn().set("associations","groupMembers,collectionMeetingCalendar");return this.http.get(`/centers/${i}`,{params:o})}getCenterSummary(i){let o=new Hn().set("R_groupId",i).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:o})}getSavingsAccountDetails(i){return this.http.get(`/centers/${i}/accounts`)}getCenterNotes(i){return this.http.get(`/groups/${i}/notes`)}createCenterNote(i,o){return this.http.post(`/groups/${i}/notes`,o)}editCenterNote(i,o,n){return this.http.put(`/groups/${i}/notes/${o}`,n)}deleteCenterNote(i,o){return this.http.delete(`/groups/${i}/notes/${o}`)}getcenterDatatables(){let i=new Hn().set("apptable","m_center");return this.http.get("/datatables",{params:i})}getCenterDatatable(i,o){let n=new Hn().set("genericResultSet","true");return this.http.get(`/datatables/${o}/${i}`,{params:n})}addCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.post(`/datatables/${o}/${i}`,n,{params:c})}editCenterDatatableEntry(i,o,n){let c=new Hn().set("genericResultSet","true");return this.http.put(`/datatables/${o}/${i}`,n,{params:c})}deleteDatatableContent(i,o){let n=new Hn().set("genericResultSet","true");return this.http.delete(`/datatables/${o}/${i}`,{params:n})}executeCenterActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/centers/${i}`,n,{params:c})}executeGroupActionCommand(i,o,n){let c=new Hn().set("command",o);return this.http.post(`/groups/${i}`,n,{params:c})}getGroupStaffData(i){let o=new Hn().set("groupOrCenter","centers").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/groups/${i}`,{params:o})}deleteCenter(i){return this.http.delete(`/centers/${i}`)}getCentersData(i,o,n){let c=new Hn().set("associations",o);return c=n?c.set("template",n):c,this.http.get(`/centers/${i}`,{params:c})}getMeetingsTemplate(i,o){let n=new Hn().set("calenderId",o);return this.http.get(`/centers/${i}/meetings/template`)}assignCenterAttendance(i,o,n){let c=new Hn().set("calenderId",o);return this.http.post(`/centers/${i}/meetings`,n,{params:c})}getCalendarTemplate(i){return this.http.get(`/centers/${i}/calendars/template`)}createCenterMeeting(i,o){return this.http.post(`/centers/${i}/calendars`,o)}getCalendarAndTemplate(i,o){let n=new Hn().set("template","true");return this.http.get(`/centers/${i}/calendars/${o}`,{params:n})}updateCenterMeeting(i,o,n){return this.http.put(`/centers/${i}/calendars/${n}`,o)}getStaffAssignmentHistoryData(i,o,n,c){let u=new Hn().set("tenantIdentifier",n).set("locale",c).set("R_centerId",o);return this.http.get(`/runreports/${i}`,{responseType:"arraybuffer",observe:"response",params:u})}getCenterAndTemplateData(i){let o=new Hn().set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/centers/${i}`,{params:o})}executeEditCenter(i,o){return this.http.put(`/groups/${i}`,o)}getAllMeetingFallCenters(i,o,n,c,u){return this.http.get(`/centers?dateFormat=${c}&locale=${u}&meetingDate=${n}&officeId=${i}&staffId=${o}`)}static{this.\u0275fac=function(o){return new(o||e)(Qt(Ro))}}static{this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var wE=class{constructor(r){this.centersService=r,this.centersSubject=new _s([]),this.recordsSubject=new _s(0),this.records$=this.recordsSubject.asObservable()}getCenters(r,i="",o="",n=0,c=10,u=!0){this.centersSubject.next([]),this.centersService.getCenters(r,i,o,n*c,c).subscribe(h=>{h.pageItems=u?h.pageItems.filter(_=>_.active):h.pageItems,this.recordsSubject.next(h.totalFilteredRecords),this.centersSubject.next(h.pageItems)})}connect(r){return this.centersSubject.asObservable()}disconnect(r){this.centersSubject.complete(),this.recordsSubject.complete()}};var PLt=["showClosedCenters"],kLt=()=>[10,25,50,100],ILt=()=>["../","organization","bulk-import","Centers"],TLt=()=>["create"],MLt=e=>[e,"general"];function DLt(e,r){e&1&&(a(0,"button",22),t(1,` `),k(2,"fa-icon",23),t(3),m(4,"translate"),s()),e&2&&(g("routerLink",ht(4,ILt)),l(3),P("",d(4,2,"labels.buttons.Import Center"),` `))}function ALt(e,r){e&1&&(a(0,"button",22),t(1,` `),k(2,"fa-icon",24),t(3),m(4,"translate"),s()),e&2&&(g("routerLink",ht(4,TLt)),l(3),P("",d(4,2,"labels.buttons.Create Center"),` diff --git a/browser/recurring-deposits.module-4BVXLZIB.js b/browser/recurring-deposits.module-MDQNXF36.js similarity index 99% rename from browser/recurring-deposits.module-4BVXLZIB.js rename to browser/recurring-deposits.module-MDQNXF36.js index 4b6006d5b..db4cbfade 100644 --- a/browser/recurring-deposits.module-4BVXLZIB.js +++ b/browser/recurring-deposits.module-MDQNXF36.js @@ -1,4 +1,4 @@ -import{a as Tn,b as Mn}from"./chunk-RZXN3A6J.js";import{a as mi}from"./chunk-ZZS3RZ6Y.js";import{$ as a,$e as qt,$f as Re,Ad as ft,Bd as _t,Ca as St,Cb as kn,Cd as Ct,Da as Pt,Dd as Ue,De as Jn,Ea as Tt,Ec as Q,Ed as Rt,F as It,Fa as R,Fc as U,Fd as Ft,G as Ve,Ga as t,Gd as pe,Ha as u,Hf as ni,I as yt,Ia as x,Ja as M,Jc as ct,Jd as ut,K as Zt,Ka as oe,Kb as Me,Kc as q,L as S,Lb as ye,Lc as Y,M as P,Mc as nt,Md as fe,Me as Ke,Mf as ii,Nb as re,Nd as ce,Ne as Xn,Nf as Yt,Ob as ae,Of as ri,Pb as Ae,Pc as J,Pf as Ze,Qa as L,Qe,Qf as ai,R as qe,Ra as xe,Rc as it,Rd as He,Re as Ye,Sc as Ee,Se as Je,Ta as o,Tc as zn,Te as Xe,Ua as c,Ub as k,Uc as rt,Ud as $e,Ue as ne,Uf as le,Va as w,Vb as Vn,Vd as Le,Ve as Qt,Wd as ze,We as Bt,X as Bn,Xa as G,Xb as H,Xc as at,Xd as se,Xe as Nt,Yb as z,Ye as kt,Zb as qn,Zf as oi,_b as Pn,_c as st,_e as Vt,_f as tn,ab as Nn,ac as Ie,ae as We,bb as be,bc as V,bf as jt,cb as Mt,cd as ot,cf as Gt,cg as pi,da as C,db as F,ea as A,eb as Se,ed as O,ef as Ut,fa as je,fd as W,ff as Ht,gd as Wn,hd as Kn,hf as $t,hg as ci,ia as m,id as lt,ja as ve,jg as si,ka as d,kd as gt,kf as _e,lb as Pe,ld as Qn,mc as jn,nc as Gn,nd as Yn,oa as n,oc as ee,od as X,pa as i,pb as Ge,pc as Un,pd as mt,pf as Zn,qa as f,qb as Te,qc as Hn,qf as ti,ra as D,rb as I,rc as $n,rf as ei,rg as we,sa as v,sc as Ln,sd as xt,sg as li,td as Z,ua as y,ud as Kt,va as b,vd as dt,wa as _,wc as Oe,wd as Ot,xc as E,yd as Et,za as bt,zb as te}from"./chunk-SXJVCOHC.js";import{a as B,b as K}from"./chunk-O7S4L63H.js";var N=(()=>{class e{constructor(r){this.http=r}getRecurringDepositsAccountData(r){let l=new te().set("associations","all");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}getStandingInstructions(r,l,p,g,h){let T=new te().set("clientId",r).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",g).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}getRecurringDepositsAccountTemplate(r,l){let p=new te().set("clientId",r);return p=l?p.set("productId",l):p,this.http.get("/recurringdepositaccounts/template",{params:p})}createRecurringDepositAccount(r){return this.http.post("/recurringdepositaccounts",r)}executeRecurringDepositsAccountCommand(r,l,p){let g=new te().set("command",l);return l==="deposit"||l==="withdrawal"?this.http.post(`/recurringdepositaccounts/${r}/transactions`,p,{params:g}):this.http.post(`/recurringdepositaccounts/${r}`,p,{params:g})}deleteRecurringDepositsAccount(r){return this.http.delete(`/recurringdepositaccounts/${r}`)}getRecurringDepositsAccountAndTemplate(r){let l=new te().set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}updateRecurringDepositAccount(r,l){return this.http.put(`/recurringdepositaccounts/${r}`,l)}getRecurringDepositAccountActionResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/template`,{params:p})}getRecurringDepositAccountTransactionTemplateResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/transactions/template`,{params:p})}getRecurringDepositsAccountTransaction(r,l){return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`)}getRecurringDepositsAccountTransactionTemplate(r,l){let p=new te().set("template","true");return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`,{params:p})}executeRecurringDepositsAccountTransactionsCommand(r,l,p,g){let h=new te().set("command",l);return this.http.post(`/recurringdepositaccounts/${r}/transactions/${g}`,p,{params:h})}static{this.\u0275fac=function(l){return new(l||e)(yt(kn))}}static{this.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var en=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}addButton(s){this.buttonsArray.push(s)}};var xi=()=>({confirm:!0}),Jt=(()=>{class e{constructor(r,l){this.dialogRef=r,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(C(jn),C(Gn))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),i(),t(2,` +import{a as Tn,b as Mn}from"./chunk-KREIMA5H.js";import{a as mi}from"./chunk-ZZUSF5VQ.js";import{$ as a,$e as qt,$f as Re,Ad as ft,Bd as _t,Ca as St,Cb as kn,Cd as Ct,Da as Pt,Dd as Ue,De as Jn,Ea as Tt,Ec as Q,Ed as Rt,F as It,Fa as R,Fc as U,Fd as Ft,G as Ve,Ga as t,Gd as pe,Ha as u,Hf as ni,I as yt,Ia as x,Ja as M,Jc as ct,Jd as ut,K as Zt,Ka as oe,Kb as Me,Kc as q,L as S,Lb as ye,Lc as Y,M as P,Mc as nt,Md as fe,Me as Ke,Mf as ii,Nb as re,Nd as ce,Ne as Xn,Nf as Yt,Ob as ae,Of as ri,Pb as Ae,Pc as J,Pf as Ze,Qa as L,Qe,Qf as ai,R as qe,Ra as xe,Rc as it,Rd as He,Re as Ye,Sc as Ee,Se as Je,Ta as o,Tc as zn,Te as Xe,Ua as c,Ub as k,Uc as rt,Ud as $e,Ue as ne,Uf as le,Va as w,Vb as Vn,Vd as Le,Ve as Qt,Wd as ze,We as Bt,X as Bn,Xa as G,Xb as H,Xc as at,Xd as se,Xe as Nt,Yb as z,Ye as kt,Zb as qn,Zf as oi,_b as Pn,_c as st,_e as Vt,_f as tn,ab as Nn,ac as Ie,ae as We,bb as be,bc as V,bf as jt,cb as Mt,cd as ot,cf as Gt,cg as pi,da as C,db as F,ea as A,eb as Se,ed as O,ef as Ut,fa as je,fd as W,ff as Ht,gd as Wn,hd as Kn,hf as $t,hg as ci,ia as m,id as lt,ja as ve,jg as si,ka as d,kd as gt,kf as _e,lb as Pe,ld as Qn,mc as jn,nc as Gn,nd as Yn,oa as n,oc as ee,od as X,pa as i,pb as Ge,pc as Un,pd as mt,pf as Zn,qa as f,qb as Te,qc as Hn,qf as ti,ra as D,rb as I,rc as $n,rf as ei,rg as we,sa as v,sc as Ln,sd as xt,sg as li,td as Z,ua as y,ud as Kt,va as b,vd as dt,wa as _,wc as Oe,wd as Ot,xc as E,yd as Et,za as bt,zb as te}from"./chunk-JFTPDLDM.js";import{a as B,b as K}from"./chunk-O7S4L63H.js";var N=(()=>{class e{constructor(r){this.http=r}getRecurringDepositsAccountData(r){let l=new te().set("associations","all");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}getStandingInstructions(r,l,p,g,h){let T=new te().set("clientId",r).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",g).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}getRecurringDepositsAccountTemplate(r,l){let p=new te().set("clientId",r);return p=l?p.set("productId",l):p,this.http.get("/recurringdepositaccounts/template",{params:p})}createRecurringDepositAccount(r){return this.http.post("/recurringdepositaccounts",r)}executeRecurringDepositsAccountCommand(r,l,p){let g=new te().set("command",l);return l==="deposit"||l==="withdrawal"?this.http.post(`/recurringdepositaccounts/${r}/transactions`,p,{params:g}):this.http.post(`/recurringdepositaccounts/${r}`,p,{params:g})}deleteRecurringDepositsAccount(r){return this.http.delete(`/recurringdepositaccounts/${r}`)}getRecurringDepositsAccountAndTemplate(r){let l=new te().set("associations","charges").set("template","true");return this.http.get(`/recurringdepositaccounts/${r}`,{params:l})}updateRecurringDepositAccount(r,l){return this.http.put(`/recurringdepositaccounts/${r}`,l)}getRecurringDepositAccountActionResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/template`,{params:p})}getRecurringDepositAccountTransactionTemplateResource(r,l){let p=new te().set("command",l);return this.http.get(`/recurringdepositaccounts/${r}/transactions/template`,{params:p})}getRecurringDepositsAccountTransaction(r,l){return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`)}getRecurringDepositsAccountTransactionTemplate(r,l){let p=new te().set("template","true");return this.http.get(`/recurringdepositaccounts/${r}/transactions/${l}`,{params:p})}executeRecurringDepositsAccountTransactionsCommand(r,l,p,g){let h=new te().set("command",l);return this.http.post(`/recurringdepositaccounts/${r}/transactions/${g}`,p,{params:h})}static{this.\u0275fac=function(l){return new(l||e)(yt(kn))}}static{this.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var en=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Deposit",icon:"fa fa-arrow-up",taskPermissionName:"DEPOSIT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawal",icon:"fa fa-arrow-down",taskPermissionName:"WITHDRAWAL_RECURRINGDEPOSITACCOUNT"},{name:"Premature Close",icon:"fa fa-arrow-left",taskPermissionName:"PREMATURECLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Undo Activation",icon:"fa fa-undo",taskPermissionName:"UNDO_ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-edit",taskPermissionName:"UPDATE_RECURRINGDEPOSITACCOUNT"},{name:"Approve",icon:"fa fa-check",taskPermissionName:"APPROVE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo",taskPermissionName:"APPROVALUNDO_RECURRINGDEPOSITACCOUNT"},{name:"Activate",icon:"fa fa-check",taskPermissionName:"ACTIVATE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right",taskPermissionName:"CLOSE_RECURRINGDEPOSITACCOUNT"},{name:"Calculate Interest",icon:"fa fa-calculator",taskPermissionName:"CALCULATEINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Post Interest",icon:"fa fa-money",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":this.optionArray=[{name:"Post Interest",icon:"table",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"POSTINTEREST_RECURRINGDEPOSITACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",icon:"ban",taskPermissionName:"REJECT_RECURRINGDEPOSITACCOUNT"},{name:"Withdrawn by Client",icon:"arrow-down",taskPermissionName:"WITHDRAW_RECURRINGDEPOSITACCOUNT"},{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"},{name:"Delete",icon:"trash",taskPermissionName:"DELETE_RECURRINGDEPOSITACCOUNT"}];break;case"Matured":this.optionArray=[{name:"Add Charge",icon:"plus",taskPermissionName:"ADDCHARGE_RECURRINGDEPOSITACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}addButton(s){this.buttonsArray.push(s)}};var xi=()=>({confirm:!0}),Jt=(()=>{class e{constructor(r,l){this.dialogRef=r,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(C(jn),C(Gn))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-recurring-deposit-confirmation-action"]],decls:20,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),i(),t(2,` `),n(3,"div",1),t(4,` `),n(5,"p"),t(6),i(),t(7,` `),i(),t(8,` @@ -2477,4 +2477,4 @@ import{a as Tn,b as Mn}from"./chunk-RZXN3A6J.js";import{a as mi}from"./chunk-ZZS `),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-SYP4EGKT.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-SYP4EGKT.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-BXOTWU6G.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-BXOTWU6G.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-KNKOANAZ.js b/browser/savings.module-NVX7B35C.js similarity index 99% rename from browser/savings.module-KNKOANAZ.js rename to browser/savings.module-NVX7B35C.js index 206f592c0..b45bbabd0 100644 --- a/browser/savings.module-KNKOANAZ.js +++ b/browser/savings.module-NVX7B35C.js @@ -1,4 +1,4 @@ -import{a as He}from"./chunk-O3TIIV3O.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-OBL2YLFF.js";import{a as Ge}from"./chunk-GVCHTHAU.js";import{a as ri,b as si}from"./chunk-RZXN3A6J.js";import{a as Gi}from"./chunk-ZZS3RZ6Y.js";import{$ as o,$e as $t,$f as ue,Ad as xt,Bd as _t,Ca as Pt,Cd as Ct,Da as yt,Dd as xe,De as we,Ea as Ot,Ec as z,Ed as Rt,F as Tt,Fa as D,Fc as j,Fd as Vt,G as We,Ga as t,Gd as Lt,Ha as u,Hb as Je,Hc as bi,Hf as Ve,I as Mt,Ia as v,Ja as R,Jc as nt,Jd as bt,Jf as Ei,K as Oe,Ka as Ie,Kc as U,L as S,Lc as K,M,Ma as Zn,Mc as it,Md as le,Me as Fe,Mf as wi,Na as ti,Nd as _e,Ne as ai,Nf as de,Oa as ei,Oe as Di,Of as pn,Pc as ft,Pf as dn,Qa as B,Qc as Si,Qd as Oi,Qe as ke,Qf as Fi,R as Qe,Ra as Nt,Rc as at,Rd as nn,Re as Be,Sc as oe,Se as Ne,Ta as c,Tc as Mi,Te as Re,Ua as m,Ub as F,Uc as ot,Ud as an,Ue as he,Uf as I,Va as St,Vb as Xe,Vd as on,Ve as pe,Vf as ki,Wa as hi,Wd as rn,We as Ut,X as Ci,Xa as et,Xb as q,Xc as rt,Xd as Ce,Xe as qt,Xf as Bi,Y as Ke,Ya as ni,Yb as G,Ye as Ht,Zb as Ze,Zf as Ni,_b as ii,_c as pt,_e as zt,_f as Le,ac as De,ae as sn,bb as ge,bc as k,bf as Wt,cb as It,cd as st,cf as Qt,cg as un,da as x,db as N,dd as Ai,ea as A,ed as P,ee as Ii,ef as Kt,fa as Ye,fd as J,ff as Yt,gd as en,hd as Ti,hf as Jt,hg as Ri,ia as d,id as ct,jg as Vi,ka as l,kd as ht,kf as Zt,ld as Pi,mc as te,n as _i,nc as Ee,nd as yi,oa as i,oc as Et,od as X,pa as a,pc as ee,pd as dt,pf as cn,qa as f,qb as fe,qc as ne,qf as mn,qg as Li,ra as E,rb as T,rc as ie,rf as ln,rg as je,sa as w,sc as ae,sd as vt,sg as ji,td as Z,ua as y,ud as re,va as h,vd as mt,wa as C,wc as ve,wd as wt,xc as O,yd as Ft,za as gt,zc as tn}from"./chunk-SXJVCOHC.js";import{a as L,b as Q}from"./chunk-O7S4L63H.js";var Ki=()=>({confirm:!0}),fn=(()=>{class e{constructor(n){this.dialogRef=n}static{this.\u0275fac=function(s){return new(s||e)(x(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(s,r){s&1&&(i(0,"h1",0),t(1),c(2,"translate"),a(),t(3,` +import{a as He}from"./chunk-CHY6SRC3.js";import{a as gn,b as oi,c as Ui,d as qi}from"./chunk-UP2J3HSS.js";import{a as Ge}from"./chunk-LNIBDYCO.js";import{a as ri,b as si}from"./chunk-KREIMA5H.js";import{a as Gi}from"./chunk-ZZUSF5VQ.js";import{$ as o,$e as $t,$f as ue,Ad as xt,Bd as _t,Ca as Pt,Cd as Ct,Da as yt,Dd as xe,De as we,Ea as Ot,Ec as z,Ed as Rt,F as Tt,Fa as D,Fc as j,Fd as Vt,G as We,Ga as t,Gd as Lt,Ha as u,Hb as Je,Hc as bi,Hf as Ve,I as Mt,Ia as v,Ja as R,Jc as nt,Jd as bt,Jf as Ei,K as Oe,Ka as Ie,Kc as U,L as S,Lc as K,M,Ma as Zn,Mc as it,Md as le,Me as Fe,Mf as wi,Na as ti,Nd as _e,Ne as ai,Nf as de,Oa as ei,Oe as Di,Of as pn,Pc as ft,Pf as dn,Qa as B,Qc as Si,Qd as Oi,Qe as ke,Qf as Fi,R as Qe,Ra as Nt,Rc as at,Rd as nn,Re as Be,Sc as oe,Se as Ne,Ta as c,Tc as Mi,Te as Re,Ua as m,Ub as F,Uc as ot,Ud as an,Ue as he,Uf as I,Va as St,Vb as Xe,Vd as on,Ve as pe,Vf as ki,Wa as hi,Wd as rn,We as Ut,X as Ci,Xa as et,Xb as q,Xc as rt,Xd as Ce,Xe as qt,Xf as Bi,Y as Ke,Ya as ni,Yb as G,Ye as Ht,Zb as Ze,Zf as Ni,_b as ii,_c as pt,_e as zt,_f as Le,ac as De,ae as sn,bb as ge,bc as k,bf as Wt,cb as It,cd as st,cf as Qt,cg as un,da as x,db as N,dd as Ai,ea as A,ed as P,ee as Ii,ef as Kt,fa as Ye,fd as J,ff as Yt,gd as en,hd as Ti,hf as Jt,hg as Ri,ia as d,id as ct,jg as Vi,ka as l,kd as ht,kf as Zt,ld as Pi,mc as te,n as _i,nc as Ee,nd as yi,oa as i,oc as Et,od as X,pa as a,pc as ee,pd as dt,pf as cn,qa as f,qb as fe,qc as ne,qf as mn,qg as Li,ra as E,rb as T,rc as ie,rf as ln,rg as je,sa as w,sc as ae,sd as vt,sg as ji,td as Z,ua as y,ud as re,va as h,vd as mt,wa as C,wc as ve,wd as wt,xc as O,yd as Ft,za as gt,zc as tn}from"./chunk-JFTPDLDM.js";import{a as L,b as Q}from"./chunk-O7S4L63H.js";var Ki=()=>({confirm:!0}),fn=(()=>{class e{constructor(n){this.dialogRef=n}static{this.\u0275fac=function(s){return new(s||e)(x(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(s,r){s&1&&(i(0,"h1",0),t(1),c(2,"translate"),a(),t(3,` `),i(4,"div",1),t(5,` `),i(6,"p"),t(7),c(8,"translate"),a(),t(9,` `),a(),t(10,` @@ -2459,5 +2459,5 @@ import{a as He}from"./chunk-O3TIIV3O.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-SYP4EGKT.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-BXOTWU6G.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-LQVSIAFS.js b/browser/shares.module-TK7ZHSHC.js similarity index 99% rename from browser/shares.module-LQVSIAFS.js rename to browser/shares.module-TK7ZHSHC.js index 7a05941ac..2d4d9f1d4 100644 --- a/browser/shares.module-LQVSIAFS.js +++ b/browser/shares.module-TK7ZHSHC.js @@ -1,4 +1,4 @@ -import{$ as a,$e as Ee,$f as ki,Ad as Se,Bd as ve,Ca as te,Cb as ci,Cd as _e,Da as ie,Dd as Ci,De as at,Ea as ne,Ec as re,Ed as Be,F as Ne,Fa as R,Fc as q,Fd as je,G as dt,Ga as e,Gd as Dt,Ha as u,Hf as wt,I as Oe,Ia as S,Ja as P,Jc as oe,Jd as be,Jf as Pi,K as ut,Kc as $,L as y,Lc as se,M as I,Mc as W,Md as Ai,Mf as wi,Nd as Tt,Ne as rt,Nf as st,Oc as ui,Oe as yt,Of as mt,Pf as Ri,Qa as N,Qe as It,Qf as Fi,R as ht,Ra as si,Rc as Y,Rd as gi,Re as Et,Sc as hi,Se as Mt,Ta as m,Te as Pt,Ua as c,Ub as F,Uc as me,Ud as bi,Ue as ot,Va as ae,Vb as pi,Vd as Di,Ve as Ue,Wa as mi,Wd as Ti,We as De,Xa as Ce,Xb as z,Xc as ce,Xd as Le,Xe as Te,Yb as K,Ye as ye,Zb as li,Zf as Bi,_b as ni,_c as pe,_e as Ie,ac as St,ae as yi,bb as Ze,bc as k,bf as Me,cb as qe,cd as le,cf as Pe,da as x,db as j,dd as fi,ea as b,ed as T,ef as we,fa as ft,fd as de,ff as Re,gd as xi,hd as Si,hf as Fe,hg as Rt,ia as l,id as ue,ka as d,kd as ge,kf as Ve,ld as vi,mc as vt,nc as _t,nd as _i,oa as i,oc as He,od as J,pa as n,pc as Ct,pd as he,pf as Ii,qa as f,qb as et,qc as At,qf as Ei,qg as Ni,ra as C,rb as D,rc as gt,rf as Mi,sa as A,sc as bt,sd as fe,sg as Oi,td as X,ua as w,ud as tt,va as g,vd as xe,wa as _,wc as di,wd as it,xc as E,yd as nt,za as H,zb as xt}from"./chunk-SXJVCOHC.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,` +import{$ as a,$e as Ee,$f as ki,Ad as Se,Bd as ve,Ca as te,Cb as ci,Cd as _e,Da as ie,Dd as Ci,De as at,Ea as ne,Ec as re,Ed as Be,F as Ne,Fa as R,Fc as q,Fd as je,G as dt,Ga as e,Gd as Dt,Ha as u,Hf as wt,I as Oe,Ia as S,Ja as P,Jc as oe,Jd as be,Jf as Pi,K as ut,Kc as $,L as y,Lc as se,M as I,Mc as W,Md as Ai,Mf as wi,Nd as Tt,Ne as rt,Nf as st,Oc as ui,Oe as yt,Of as mt,Pf as Ri,Qa as N,Qe as It,Qf as Fi,R as ht,Ra as si,Rc as Y,Rd as gi,Re as Et,Sc as hi,Se as Mt,Ta as m,Te as Pt,Ua as c,Ub as F,Uc as me,Ud as bi,Ue as ot,Va as ae,Vb as pi,Vd as Di,Ve as Ue,Wa as mi,Wd as Ti,We as De,Xa as Ce,Xb as z,Xc as ce,Xd as Le,Xe as Te,Yb as K,Ye as ye,Zb as li,Zf as Bi,_b as ni,_c as pe,_e as Ie,ac as St,ae as yi,bb as Ze,bc as k,bf as Me,cb as qe,cd as le,cf as Pe,da as x,db as j,dd as fi,ea as b,ed as T,ef as we,fa as ft,fd as de,ff as Re,gd as xi,hd as Si,hf as Fe,hg as Rt,ia as l,id as ue,ka as d,kd as ge,kf as Ve,ld as vi,mc as vt,nc as _t,nd as _i,oa as i,oc as He,od as J,pa as n,pc as Ct,pd as he,pf as Ii,qa as f,qb as et,qc as At,qf as Ei,qg as Ni,ra as C,rb as D,rc as gt,rf as Mi,sa as A,sc as bt,sd as fe,sg as Oi,td as X,ua as w,ud as tt,va as g,vd as xe,wa as _,wc as di,wd as it,xc as E,yd as nt,za as H,zb as xt}from"./chunk-JFTPDLDM.js";import{a as V,b as Q}from"./chunk-O7S4L63H.js";var B=(()=>{class t{constructor(r){this.http=r}getSharesAccountData(r,s){let o=new xt().set("template",s.toString());return this.http.get(`/accounts/share/${r}`,{params:o})}getSharesAccountTemplate(r,s){let o=new xt().set("clientId",r);return o=s?o.set("productId",s):o,this.http.get("/accounts/share/template",{params:o})}createSharesAccount(r){return this.http.post("/accounts/share",r)}updateSharesAccount(r,s){return this.http.put(`/accounts/share/${r}`,s)}deleteSharesAccount(r){return this.http.delete(`/accounts/share/${r}`)}executeSharesAccountCommand(r,s,o){let h=new xt().set("command",s);return this.http.post(`/accounts/share/${r}`,o,{params:h})}static{this.\u0275fac=function(s){return new(s||t)(Oe(ci))}}static{this.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ft=class{constructor(p){this.setOptions(p),this.setButtons(p)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(p){switch(p){case"Active":this.buttonsArray=[{name:"Apply Additional Shares",icon:"arrow-right",taskPermissionName:"APPLYADDITIONAL_SHAREACCOUNT"},{name:"Approve Additional Shares",icon:"arrow-right",taskPermissionName:"APPROVEADDITIONAL_SHAREACCOUNT"},{name:"Reject Additional Shares",icon:"arrow-left",taskPermissionName:"REJECTADDITIONAL_SHAREACCOUNT"},{name:"Redeem Shares",icon:"arrow-left",taskPermissionName:"WITHDRAW_SAVINGSACCOUNT"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"pencil",taskPermissionName:"UPDATE_SHAREACCOUNT"},{name:"Approve",icon:"check",taskPermissionName:"APPROVE_SHAREACCOUNT"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"undo",taskPermissionName:"APPROVALUNDO_SHAREACCOUNT"},{name:"Activate",icon:"check",taskPermissionName:"ACTIVATE_SHAREACCOUNT"}];break;default:this.buttonsArray=[]}}setOptions(p){switch(p){case"Active":this.optionArray=[{name:"Close",taskPermissionName:"CLOSE_SHAREACCOUNT"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject",taskPermissionName:"REJECT_SHAREACCOUNT"},{name:"Delete",taskPermissionName:"DELETE_SHAREACCOUNT"}];break;case"Approved":default:this.optionArray=[]}}addOption(p){this.optionArray.push(p)}removeButton(p){let s=this.buttonsArray.map(o=>o.name).indexOf(p);this.buttonsArray.splice(s,1)}};var Li=()=>["./general"],Ui=()=>["./transactions"],$i=()=>["./charges"],Gi=()=>["./dividends"];function zi(t,p){if(t&1&&(i(0,"span",31),e(1,` `),f(2,"mifosx-account-number",32),e(3,` `),n()),t&2){let r=_();a(2),H("accountNo",r.sharesAccountData.clientAccountNo)}}function Qi(t,p){if(t&1&&(i(0,"tr"),e(1,` `),i(2,"td"),e(3),m(4,"translate"),n(),e(5,`