From f2e58c6a7bf361e41201c765c4eecd3994676524 Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 15 Mar 2024 23:40:12 -0300 Subject: [PATCH] =?UTF-8?q?creando=20dist=20para=20producci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/206.5f6cceda7dde340a.js | 1 + docs/270.83f68e7b6134bfac.js | 1 + docs/313.04f859891501c6ff.js | 1 + docs/3rdpartylicenses.txt | 259 +++++++++ docs/favicon.ico | Bin 0 -> 948 bytes docs/index.html | 17 + docs/main.164e3fc111e6f535.js | 1 + docs/polyfills.5c3ea5cd5013e3cd.js | 1 + docs/runtime.a879d1c9a2e787d1.js | 1 + docs/styles.ef46db3751d8e999.css | 0 package-lock.json | 837 ++++++++++++++++++++++++++++- package.json | 8 +- 12 files changed, 1106 insertions(+), 21 deletions(-) create mode 100644 docs/206.5f6cceda7dde340a.js create mode 100644 docs/270.83f68e7b6134bfac.js create mode 100644 docs/313.04f859891501c6ff.js create mode 100644 docs/3rdpartylicenses.txt create mode 100644 docs/favicon.ico create mode 100644 docs/index.html create mode 100644 docs/main.164e3fc111e6f535.js create mode 100644 docs/polyfills.5c3ea5cd5013e3cd.js create mode 100644 docs/runtime.a879d1c9a2e787d1.js create mode 100644 docs/styles.ef46db3751d8e999.css diff --git a/docs/206.5f6cceda7dde340a.js b/docs/206.5f6cceda7dde340a.js new file mode 100644 index 0000000..65d2254 --- /dev/null +++ b/docs/206.5f6cceda7dde340a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkAppForm=self.webpackChunkAppForm||[]).push([[206],{7206:(G,m,i)=>{i.r(m),i.d(m,{AuthModule:()=>X});var c=i(6814),h=i(1643),a=i(95),p=i(5592),A=i(7394);class y extends A.w0{constructor(t,s){super()}schedule(t,s=0){return this}}const d={setInterval(r,t,...s){const{delegate:n}=d;return n?.setInterval?n.setInterval(r,t,...s):setInterval(r,t,...s)},clearInterval(r){const{delegate:t}=d;return(t?.clearInterval||clearInterval)(r)},delegate:void 0};var T=i(9039);const f={now:()=>(f.delegate||Date).now(),delegate:void 0};class u{constructor(t,s=u.now){this.schedulerActionCtor=t,this.now=s}schedule(t,s=0,n){return new this.schedulerActionCtor(this,t).schedule(n,s)}}u.now=f.now;const g=new class U extends u{constructor(t,s=u.now){super(t,s),this.actions=[],this._active=!1}flush(t){const{actions:s}=this;if(this._active)return void s.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=s.shift());if(this._active=!1,n){for(;t=s.shift();)t.unsubscribe();throw n}}}(class F extends y{constructor(t,s){super(t,s),this.scheduler=t,this.work=s,this.pending=!1}schedule(t,s=0){var n;if(this.closed)return this;this.state=t;const o=this.id,l=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(l,o,s)),this.pending=!0,this.delay=s,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(l,this.id,s),this}requestAsyncId(t,s,n=0){return d.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,s,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return s;null!=s&&d.clearInterval(s)}execute(t,s){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,s);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,s){let o,n=!1;try{this.work(t)}catch(l){n=!0,o=l||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:s}=this,{actions:n}=s;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(s,t,null)),this.delay=null,super.unsubscribe()}}}),q=g;var I=i(5211),Z=i(8180),w=i(9360),C=i(8251),x=i(2420),S=i(975),b=i(1631),P=i(4829);function v(r,t){return t?s=>(0,I.z)(t.pipe((0,Z.q)(1),function N(){return(0,w.e)((r,t)=>{r.subscribe((0,C.x)(t,x.Z))})}()),s.pipe(v(r))):(0,b.z)((s,n)=>(0,P.Xf)(r(s,n)).pipe((0,Z.q)(1),(0,S.h)(s)))}var j=i(671);var e=i(4946);let V=(()=>{class r{validate(s){const n=s.value;return new p.y(l=>{if(console.log({email:n}),"luis@luis.com"===n)return l.next({emailTaken:!0}),void l.complete();l.next(null),l.complete()}).pipe(function R(r,t=g){const s=function J(r=0,t,s=q){let n=-1;return null!=t&&((0,j.K)(t)?s=t:n=t),new p.y(o=>{let l=function L(r){return r instanceof Date&&!isNaN(r)}(r)?+r-s.now():r;l<0&&(l=0);let k=0;return s.schedule(function(){o.closed||(o.next(k++),0<=n?this.schedule(void 0,n):o.complete())},l)})}(r,t);return v(()=>s)}(2e3))}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var Y=i(1772);function E(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," Debe de ser en formato de nombre y apellido "),e.qZA())}function O(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," mensaje de error del email "),e.qZA())}function B(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," El username no puede ser Strider "),e.qZA())}function z(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," La contrase\xf1a debe de ser mayor de 6 caracteres. "),e.qZA())}function Q(r,t){1&r&&(e.TgZ(0,"span",13),e._uU(1," Las contrase\xf1as deben de ser iguales "),e.qZA())}const M=[{path:"",children:[{path:"login",component:(()=>{class r{constructor(s,n){this.formBuilder=s,this.validatorsService=n,this.myForm=this.formBuilder.group({name:["",[a.kI.required,a.kI.pattern(this.validatorsService.firstNameAndLastnamePattern)],[new V]],email:["",[a.kI.required,a.kI.pattern(this.validatorsService.emailPattern)]],userName:["",[a.kI.required,this.validatorsService.cantBeStrider]],password:["",[a.kI.required,a.kI.minLength(6)]],password2:["",[a.kI.required]]},{validators:[this.validatorsService.isFieldsEquals("password","password2")]})}isValidField(s){return this.validatorsService.isValidField(this.myForm,s)}onSubmit(){this.myForm.markAllAsTouched()}static#e=this.\u0275fac=function(n){return new(n||r)(e.Y36(a.qu),e.Y36(Y.S))};static#t=this.\u0275cmp=e.Xpm({type:r,selectors:[["app-register-page"]],decls:79,vars:33,consts:[[1,"row"],[1,"col"],["autocomplete","off",3,"formGroup","ngSubmit"],[1,"row","mb-3"],[1,"col-sm-3","col-form-label"],[1,"col-sm-9"],["type","text","placeholder","Nombre del usuario","formControlName","name",1,"form-control"],["class","form-text text-danger",4,"ngIf"],["type","email","placeholder","Email del usuario","formControlName","email",1,"form-control"],["type","text","placeholder","Nombre c\xf3digo del usuario","formControlName","userName",1,"form-control"],["type","password","placeholder","Password de su cuenta","formControlName","password",1,"form-control"],["type","password","placeholder","Confirmar la contrase\xf1a","formControlName","password2",1,"form-control"],["type","submit",1,"btn","btn-primary","float-end"],[1,"form-text","text-danger"]],template:function(n,o){1&n&&(e.TgZ(0,"h2"),e._uU(1,"Validaciones Reactivas"),e.qZA(),e._UZ(2,"hr"),e.TgZ(3,"div",0)(4,"div",1)(5,"form",2),e.NdJ("ngSubmit",function(){return o.onSubmit()}),e.TgZ(6,"div",3)(7,"label",4),e._uU(8,"Nombre"),e.qZA(),e.TgZ(9,"div",5),e._UZ(10,"input",6),e.YNc(11,E,2,0,"span",7),e.qZA()(),e.TgZ(12,"div",3)(13,"label",4),e._uU(14,"Email"),e.qZA(),e.TgZ(15,"div",5),e._UZ(16,"input",8),e.YNc(17,O,2,0,"span",7),e.qZA()(),e.TgZ(18,"div",3)(19,"label",4),e._uU(20,"Username"),e.qZA(),e.TgZ(21,"div",5),e._UZ(22,"input",9),e.YNc(23,B,2,0,"span",7),e.qZA()(),e.TgZ(24,"div",3)(25,"label",4),e._uU(26,"Password"),e.qZA(),e.TgZ(27,"div",5),e._UZ(28,"input",10),e.YNc(29,z,2,0,"span",7),e.qZA()(),e.TgZ(30,"div",3)(31,"label",4),e._uU(32,"Confirmar"),e.qZA(),e.TgZ(33,"div",5),e._UZ(34,"input",11),e.YNc(35,Q,2,0,"span",7),e.qZA()(),e.TgZ(36,"div",0)(37,"div",1)(38,"button",12),e._uU(39," Crear "),e.qZA()()()()()(),e.TgZ(40,"h2"),e._uU(41),e.ALo(42,"json"),e.qZA(),e.TgZ(43,"h2"),e._uU(44),e.ALo(45,"json"),e.qZA(),e.TgZ(46,"h2"),e._uU(47),e.ALo(48,"json"),e.qZA(),e.TgZ(49,"h2"),e._uU(50,"Form errors:"),e.qZA(),e.TgZ(51,"pre"),e._uU(52),e.ALo(53,"json"),e.qZA(),e.TgZ(54,"h5"),e._uU(55,"Nombre"),e.qZA(),e.TgZ(56,"pre"),e._uU(57),e.ALo(58,"json"),e.qZA(),e.TgZ(59,"h5"),e._uU(60,"Email"),e.qZA(),e.TgZ(61,"pre"),e._uU(62),e.ALo(63,"json"),e.qZA(),e.TgZ(64,"h5"),e._uU(65,"Username"),e.qZA(),e.TgZ(66,"pre"),e._uU(67),e.ALo(68,"json"),e.qZA(),e.TgZ(69,"h5"),e._uU(70,"Password"),e.qZA(),e.TgZ(71,"pre"),e._uU(72),e.ALo(73,"json"),e.qZA(),e.TgZ(74,"h5"),e._uU(75,"Confirmar"),e.qZA(),e.TgZ(76,"pre"),e._uU(77),e.ALo(78,"json"),e.qZA()),2&n&&(e.xp6(5),e.Q6J("formGroup",o.myForm),e.xp6(6),e.Q6J("ngIf",o.isValidField("name")),e.xp6(6),e.Q6J("ngIf",o.isValidField("email")),e.xp6(6),e.Q6J("ngIf",o.isValidField("userName")),e.xp6(6),e.Q6J("ngIf",o.isValidField("password")),e.xp6(6),e.Q6J("ngIf",o.isValidField("password2")),e.xp6(6),e.hij("Form Valid: ",e.lcZ(42,15,o.myForm.valid),""),e.xp6(3),e.hij("Form Status: ",e.lcZ(45,17,o.myForm.status)," "),e.xp6(3),e.hij("Form Pending: ",e.lcZ(48,19,o.myForm.pending)," "),e.xp6(5),e.Oqu(e.lcZ(53,21,o.myForm.errors)),e.xp6(5),e.Oqu(e.lcZ(58,23,o.myForm.value.name)),e.xp6(5),e.Oqu(e.lcZ(63,25,o.myForm.value.email)),e.xp6(5),e.Oqu(e.lcZ(68,27,o.myForm.controls.userName.errors)),e.xp6(5),e.Oqu(e.lcZ(73,29,o.myForm.value.password)),e.xp6(5),e.Oqu(e.lcZ(78,31,o.myForm.controls.password2.errors)))},dependencies:[c.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u,c.Ts],encapsulation:2})}return r})()},{path:"**",redirectTo:"login"}]}];let D=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=e.oAB({type:r});static#s=this.\u0275inj=e.cJS({imports:[h.Bz.forChild(M),h.Bz]})}return r})(),X=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=e.oAB({type:r});static#s=this.\u0275inj=e.cJS({imports:[c.ez,D,a.UX]})}return r})()}}]); \ No newline at end of file diff --git a/docs/270.83f68e7b6134bfac.js b/docs/270.83f68e7b6134bfac.js new file mode 100644 index 0000000..91c26e9 --- /dev/null +++ b/docs/270.83f68e7b6134bfac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkAppForm=self.webpackChunkAppForm||[]).push([[270],{7270:(F,u,s)=>{s.r(u),s.d(u,{ReactiveModule:()=>b});var a=s(6814),p=s(1643),o=s(95),e=s(4946),l=s(1772);function d(r,m){if(1&r&&(e.TgZ(0,"span",11),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" ",t.getError("name")," ")}}function Z(r,m){1&r&&(e.TgZ(0,"span",11),e._uU(1," El precio debe de ser 0 o mayor. "),e.qZA())}function g(r,m){1&r&&(e.TgZ(0,"span",11),e._uU(1," Las existencias deben de ser 0 o mayor "),e.qZA())}function h(r,m){if(1&r&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&r){const t=e.oxw();e.xp6(1),e.hij(" ",t.getError("name")," ")}}function _(r,m){1&r&&(e.TgZ(0,"span",14),e._uU(1," Este campo es requerido "),e.qZA())}function v(r,m){if(1&r){const t=e.EpF();e.TgZ(0,"div",15)(1,"div",6),e._UZ(2,"input",16),e.TgZ(3,"button",17),e.NdJ("click",function(){const c=e.CHM(t).index,U=e.oxw();return e.KtG(U.onDeleteFavoriteGame(c))}),e._uU(4," Eliminar "),e.qZA()(),e.YNc(5,_,2,0,"span",5),e.qZA()}if(2&r){const t=m.index,i=e.oxw();e.xp6(2),e.Q6J("formControlName",t),e.xp6(3),e.Q6J("ngIf",i.isValidFieldInArray(i.favoriteGames,t))}}function T(r,m){1&r&&(e.TgZ(0,"span",18),e._uU(1," Debe aceptar los t\xe9rminos y condiciones de uso "),e.qZA())}const q=[{path:"",children:[{path:"basic",component:(()=>{class r{ngOnInit(){}constructor(t,i){this.formBuilder=t,this.validatorsService=i,this.myForm=this.formBuilder.group({name:["",[o.kI.required,o.kI.minLength(3)]],price:[0,[o.kI.required,o.kI.min(0)]],inStorage:[0,[o.kI.required,o.kI.min(0)]]})}isValidField(t){return this.validatorsService.isValidField(this.myForm,t)}getError(t){if(!this.myForm.controls[t])return null;const i=this.myForm.controls[t].errors||{};for(const n of Object.keys(i))switch(n){case"required":return"Este campo es requerido";case"minlength":return`Minimo ${i.minlength.requiredLength} caracteres`}return""}onSave(){this.myForm.invalid||this.myForm.reset({price:0,inStorage:0})}static#e=this.\u0275fac=function(i){return new(i||r)(e.Y36(o.qu),e.Y36(l.S))};static#o=this.\u0275cmp=e.Xpm({type:r,selectors:[["ng-component"]],decls:70,vars:28,consts:[[1,"row"],[1,"col"],["autocomplete","off",3,"formGroup","ngSubmit"],[1,"mb-3","row"],[1,"col-sm-3","col-form-label"],[1,"col-sm-9"],["type","text","formControlName","name","placeholder","Nombre del producto",1,"form-control"],["class","form-text text-danger",4,"ngIf"],["type","number","formControlName","price","placeholder","Precio del producto",1,"form-control"],["type","number","formControlName","inStorage","placeholder","Existencias del producto",1,"form-control"],["type","submit",1,"btn","btn-primary","float-end"],[1,"form-text","text-danger"]],template:function(i,n){1&i&&(e.TgZ(0,"h2"),e._uU(1,"Reactivos: B\xe1sicos"),e.qZA(),e._UZ(2,"hr"),e.TgZ(3,"div",0)(4,"div",1)(5,"form",2),e.NdJ("ngSubmit",function(){return n.onSave()}),e.TgZ(6,"div",3)(7,"label",4),e._uU(8,"Producto"),e.qZA(),e.TgZ(9,"div",5),e._UZ(10,"input",6),e.YNc(11,d,2,1,"span",7),e.qZA()(),e.TgZ(12,"div",3)(13,"label",4),e._uU(14,"Precio"),e.qZA(),e.TgZ(15,"div",5),e._UZ(16,"input",8),e.YNc(17,Z,2,0,"span",7),e.qZA()(),e.TgZ(18,"div",3)(19,"label",4),e._uU(20,"Existencias"),e.qZA(),e.TgZ(21,"div",5),e._UZ(22,"input",9),e.YNc(23,g,2,0,"span",7),e.qZA()(),e.TgZ(24,"div",0)(25,"div",1)(26,"button",10),e._uU(27," Guardar "),e.qZA()()()()()(),e.TgZ(28,"div",0)(29,"div",1)(30,"span"),e._uU(31,"Valid"),e.qZA(),e.TgZ(32,"pre"),e._uU(33),e.ALo(34,"json"),e.qZA(),e.TgZ(35,"span"),e._uU(36,"Pristine"),e.qZA(),e.TgZ(37,"pre"),e._uU(38),e.ALo(39,"json"),e.qZA(),e.TgZ(40,"span"),e._uU(41,"Touched"),e.qZA(),e.TgZ(42,"pre"),e._uU(43),e.ALo(44,"json"),e.qZA(),e.TgZ(45,"span"),e._uU(46,"Value"),e.qZA(),e.TgZ(47,"pre"),e._uU(48),e.ALo(49,"json"),e.qZA(),e.TgZ(50,"span"),e._uU(51,"Precio"),e.qZA(),e.TgZ(52,"pre"),e._uU(53),e.ALo(54,"json"),e.qZA(),e.TgZ(55,"span"),e._uU(56,"Precio - Errors"),e.qZA(),e.TgZ(57,"pre"),e._uU(58),e.ALo(59,"json"),e.qZA(),e.TgZ(60,"span"),e._uU(61,"Producto"),e.qZA(),e.TgZ(62,"pre"),e._uU(63),e.ALo(64,"json"),e.qZA(),e.TgZ(65,"span"),e._uU(66,"Producto"),e.qZA(),e.TgZ(67,"pre"),e._uU(68),e.ALo(69,"json"),e.qZA()()()),2&i&&(e.xp6(5),e.Q6J("formGroup",n.myForm),e.xp6(6),e.Q6J("ngIf",n.isValidField("name")),e.xp6(6),e.Q6J("ngIf",n.isValidField("price")),e.xp6(6),e.Q6J("ngIf",n.isValidField("inStorage")),e.xp6(10),e.Oqu(e.lcZ(34,12,n.myForm.valid)),e.xp6(5),e.Oqu(e.lcZ(39,14,n.myForm.pristine)),e.xp6(5),e.Oqu(e.lcZ(44,16,n.myForm.touched)),e.xp6(5),e.Oqu(e.lcZ(49,18,n.myForm.value)),e.xp6(5),e.Oqu(e.lcZ(54,20,n.myForm.controls.price.value)),e.xp6(5),e.Oqu(e.lcZ(59,22,n.myForm.controls.price.errors)),e.xp6(5),e.Oqu(e.lcZ(64,24,n.myForm.controls.name.value)),e.xp6(5),e.Oqu(e.lcZ(69,26,n.myForm.controls.name.errors)))},dependencies:[a.O5,o._Y,o.Fj,o.wV,o.JJ,o.JL,o.sg,o.u,a.Ts],encapsulation:2})}return r})()},{path:"dynamic",component:(()=>{class r{constructor(t,i){this.formBuilder=t,this.validatorsService=i,this.myForm=this.formBuilder.group({name:["",[o.kI.required,o.kI.minLength(3)]],favoriteGames:this.formBuilder.array([["World of Warcraft",o.kI.required],["King of fighters 97",o.kI.required]])}),this.newFavorite=new o.NI("",[o.kI.required,o.kI.minLength(3)])}get favoriteGames(){return this.myForm.get("favoriteGames")}isValidField(t){return this.validatorsService.isValidField(this.myForm,t)}getError(t){if(!this.myForm.controls[t])return null;const i=this.myForm.controls[t].errors||{};for(const n of Object.keys(i))switch(n){case"required":return"Este campo es requerido";case"minlength":return`Minimo ${i.minlength.requiredLength} caracteres`}return""}isValidFieldInArray(t,i){return t.controls[i].errors&&t.controls[i].touched}onDeleteFavoriteGame(t){this.favoriteGames.removeAt(t)}onAddFavoriteGame(){this.newFavorite.invalid||(this.favoriteGames.push(this.formBuilder.control(this.newFavorite.value,o.kI.required)),this.newFavorite.reset())}onSubmit(){this.myForm.invalid?this.myForm.markAllAsTouched():(console.log(this.myForm.value),this.myForm.controls.favoriteGames=this.formBuilder.array([]),this.myForm.reset())}static#e=this.\u0275fac=function(i){return new(i||r)(e.Y36(o.qu),e.Y36(l.S))};static#o=this.\u0275cmp=e.Xpm({type:r,selectors:[["ng-component"]],decls:49,vars:16,consts:[["autocomplete","off",3,"formGroup","ngSubmit"],[1,"mb-3","row"],[1,"col-sm-3","col-form-label"],[1,"col-sm-9"],["placeholder","Nombre de la persona","formControlName","name",1,"form-control"],["class","form-text text-danger",4,"ngIf"],[1,"input-group"],["placeholder","Agregar favorito",1,"form-control",3,"formControl"],["type","button",1,"btn","btn-outline-primary",3,"click"],["formArrayName","favoriteGames",1,"col-sm-9"],["class","mb-1",4,"ngFor","ngForOf"],[1,"row"],[1,"col-sm-12"],["type","submit",1,"btn","btn-primary","float-end"],[1,"form-text","text-danger"],[1,"mb-1"],[1,"form-control",3,"formControlName"],["type","button",1,"btn","btn-outline-danger",3,"click"]],template:function(i,n){1&i&&(e.TgZ(0,"h2"),e._uU(1,"Reactivos: "),e.TgZ(2,"small"),e._uU(3," Din\xe1micos "),e.qZA()(),e._UZ(4,"hr"),e.TgZ(5,"form",0),e.NdJ("ngSubmit",function(){return n.onSubmit()}),e.TgZ(6,"div",1)(7,"label",2),e._uU(8,"Nombre"),e.qZA(),e.TgZ(9,"div",3),e._UZ(10,"input",4),e.YNc(11,h,2,1,"span",5),e.qZA()(),e.TgZ(12,"div",1)(13,"label",2),e._uU(14,"Agregar"),e.qZA(),e.TgZ(15,"div",3)(16,"div",6),e._UZ(17,"input",7),e.TgZ(18,"button",8),e.NdJ("click",function(){return n.onAddFavoriteGame()}),e._uU(19," Agregar favorito "),e.qZA()()()(),e.TgZ(20,"div",1)(21,"label",2),e._uU(22,"Favoritos"),e.qZA(),e.TgZ(23,"div",9),e.YNc(24,v,6,2,"div",10),e.qZA()(),e.TgZ(25,"div",11)(26,"div",12)(27,"button",13),e._uU(28," Guardar "),e.qZA()()()(),e.TgZ(29,"span"),e._uU(30,"Valid"),e.qZA(),e.TgZ(31,"pre"),e._uU(32),e.ALo(33,"json"),e.qZA(),e._UZ(34,"br"),e.TgZ(35,"span"),e._uU(36,"Value"),e.qZA(),e.TgZ(37,"pre"),e._uU(38),e.ALo(39,"json"),e.qZA(),e._UZ(40,"br"),e.TgZ(41,"span"),e._uU(42,"Agregar Juego"),e.qZA(),e.TgZ(43,"pre"),e._uU(44),e.ALo(45,"json"),e.qZA(),e.TgZ(46,"pre"),e._uU(47),e.ALo(48,"json"),e.qZA()),2&i&&(e.xp6(5),e.Q6J("formGroup",n.myForm),e.xp6(6),e.Q6J("ngIf",n.isValidField("name")),e.xp6(6),e.Q6J("formControl",n.newFavorite),e.xp6(7),e.Q6J("ngForOf",n.favoriteGames.controls),e.xp6(8),e.Oqu(e.lcZ(33,8,"object")),e.xp6(6),e.Oqu(e.lcZ(39,10,"object")),e.xp6(6),e.Oqu(e.lcZ(45,12,"object")),e.xp6(3),e.Oqu(e.lcZ(48,14,"object")))},dependencies:[a.sg,a.O5,o._Y,o.Fj,o.JJ,o.JL,o.oH,o.sg,o.u,o.CE,a.Ts],encapsulation:2})}return r})()},{path:"switches",component:(()=>{class r{constructor(t,i){this.formBuilder=t,this.validatorsService=i,this.myForm=this.formBuilder.group({gender:["",o.kI.required],wantNotifications:[!1,o.kI.required],termsAndConditions:[!1,o.kI.required]})}isValidField(t){return this.validatorsService.isValidField(this.myForm,t)}onSave(){this.myForm.invalid&&this.myForm.markAsTouched()}static#e=this.\u0275fac=function(i){return new(i||r)(e.Y36(o.qu),e.Y36(l.S))};static#o=this.\u0275cmp=e.Xpm({type:r,selectors:[["ng-component"]],decls:58,vars:11,consts:[["autocomplete","off",3,"formGroup","ngSubmit"],[1,"row","mb-3"],[1,"col-sm-3","col-form-label"],[1,"col-sm-9"],[1,"form-check"],["type","radio","value","M","id","radioMasculino","formControlName","gender",1,"form-check-input"],["for","radioMasculino",1,"form-check-label"],["type","radio","value","F","id","radioFemenino","formControlName","gender",1,"form-check-input"],["for","radioFemenino",1,"form-check-label"],[1,"form-check","form-switch","mt-2"],["type","checkbox","id","flexSwitchCheckChecked","formControlName","wantNotifications",1,"form-check-input"],["for","flexSwitchCheckChecked",1,"form-check-label"],["type","checkbox","id","flexCheckDefault","formControlName","termsAndConditions",1,"form-check-input"],["for","flexCheckDefault",1,"form-check-label"],["class","form-text text-danger",4,"ngIf"],[1,"row"],[1,"col"],["type","submit",1,"btn","btn-primary","float-end",3,"click"],[1,"form-text","text-danger"]],template:function(i,n){1&i&&(e.TgZ(0,"h2"),e._uU(1,"Reactivos: Switches"),e.qZA(),e._UZ(2,"hr"),e.TgZ(3,"form",0),e.NdJ("ngSubmit",function(){return n.onSave()}),e.TgZ(4,"div",1)(5,"label",2),e._uU(6,"G\xe9nero"),e.qZA(),e.TgZ(7,"div",3)(8,"div",4),e._UZ(9,"input",5),e.TgZ(10,"label",6),e._uU(11," Masculino "),e.qZA()(),e.TgZ(12,"div",4),e._UZ(13,"input",7),e.TgZ(14,"label",8),e._uU(15," Femenino "),e.qZA()()()(),e.TgZ(16,"div",1)(17,"label",2),e._uU(18,"Notificaciones"),e.qZA(),e.TgZ(19,"div",3)(20,"div",9),e._UZ(21,"input",10),e.TgZ(22,"label",11),e._uU(23,"Quiero recibir notificaciones"),e.qZA()()()(),e.TgZ(24,"div",1),e._UZ(25,"label",2),e.TgZ(26,"div",3)(27,"div",4),e._UZ(28,"input",12),e.TgZ(29,"label",13),e._uU(30," T\xe9rminos y condiciones de uso "),e.qZA()(),e.YNc(31,T,2,0,"span",14),e.qZA()(),e.TgZ(32,"div",15)(33,"div",16)(34,"button",17),e.NdJ("click",function(){return n.onSave()}),e._uU(35," Guardar "),e.qZA()()()(),e.TgZ(36,"h5"),e._uU(37,"Valor del formulario"),e.qZA(),e.TgZ(38,"pre"),e._uU(39),e.ALo(40,"json"),e.qZA(),e._UZ(41,"br"),e.TgZ(42,"h5"),e._uU(43,"Persona"),e.qZA(),e.TgZ(44,"pre"),e._uU(45),e.ALo(46,"json"),e.qZA(),e._UZ(47,"br"),e.TgZ(48,"h5"),e._uU(49,"Valid"),e.qZA(),e.TgZ(50,"pre"),e._uU(51),e.ALo(52,"json"),e.qZA(),e.TgZ(53,"h5"),e._uU(54,"T\xe9rminos"),e.qZA(),e._UZ(55,"br"),e.TgZ(56,"pre"),e._uU(57,"Condiciones: "),e.qZA()),2&i&&(e.xp6(3),e.Q6J("formGroup",n.myForm),e.xp6(28),e.Q6J("ngIf",n.isValidField("termsAndConditions")),e.xp6(8),e.Oqu(e.lcZ(40,5,n.myForm.value)),e.xp6(6),e.Oqu(e.lcZ(46,7,n.myForm.value)),e.xp6(6),e.Oqu(e.lcZ(52,9,n.myForm.valid)))},dependencies:[a.O5,o._Y,o.Fj,o.Wl,o._,o.JJ,o.JL,o.sg,o.u,a.Ts],encapsulation:2})}return r})()},{path:"**",redirectTo:"basic"}]}];let y=(()=>{class r{static#e=this.\u0275fac=function(i){return new(i||r)};static#o=this.\u0275mod=e.oAB({type:r});static#r=this.\u0275inj=e.cJS({imports:[p.Bz.forChild(q),p.Bz]})}return r})(),b=(()=>{class r{static#e=this.\u0275fac=function(i){return new(i||r)};static#o=this.\u0275mod=e.oAB({type:r});static#r=this.\u0275inj=e.cJS({imports:[a.ez,y,o.UX]})}return r})()}}]); \ No newline at end of file diff --git a/docs/313.04f859891501c6ff.js b/docs/313.04f859891501c6ff.js new file mode 100644 index 0000000..fb2db82 --- /dev/null +++ b/docs/313.04f859891501c6ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkAppForm=self.webpackChunkAppForm||[]).push([[313],{1772:(Ae,z,u)=>{u.d(z,{S:()=>G});var r=u(4946);let G=(()=>{class y{constructor(){this.firstNameAndLastnamePattern="([a-zA-Z]+) ([a-zA-Z]+)",this.emailPattern="^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",this.cantBeStrider=p=>"strider"===p.value.trim().toLowerCase()?{noStrider:!0}:null}isValidField(p,h){return p.controls[h].errors&&p.controls[h].touched}isFieldsEquals(p,h){return A=>{const J=A.get(p)?.value,Z=A.get(h)?.value;return J!==Z?(A.get(h)?.setErrors({notEqual:!0}),{notEqual:!0}):(A.get(h)?.setErrors(null),null)}}static#t=this.\u0275fac=function(h){return new(h||y)};static#e=this.\u0275prov=r.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},95:(Ae,z,u)=>{u.d(z,{Wl:()=>Q,Fj:()=>x,CE:()=>W,qu:()=>An,NI:()=>b,oH:()=>ft,u:()=>gt,sg:()=>q,JJ:()=>Yt,JL:()=>qt,wV:()=>dt,_:()=>ct,UX:()=>Dn,kI:()=>Ge,_Y:()=>oe});var r=u(4946),G=u(6814),y=u(7715),De=u(5592),p=u(7453),h=u(4829),A=u(9940),J=u(8251),Z=u(7400),Me=u(2714),Ee=u(7398);let Ct=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(r.Qsj),r.Y36(r.SBq))};static#e=this.\u0275dir=r.lG2({type:e})}return e})(),v=(()=>{class e extends Ct{static#t=this.\u0275fac=function(){let t;return function(o){return(t||(t=r.n5z(e)))(o||e)}}();static#e=this.\u0275dir=r.lG2({type:e,features:[r.qOj]})}return e})();const f=new r.OlP("NgValueAccessor"),Fe={provide:f,useExisting:(0,r.Gpc)(()=>Q),multi:!0};let Q=(()=>{class e extends v{writeValue(t){this.setProperty("checked",t)}static#t=this.\u0275fac=function(){let t;return function(o){return(t||(t=r.n5z(e)))(o||e)}}();static#e=this.\u0275dir=r.lG2({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,o){1&i&&r.NdJ("change",function(a){return o.onChange(a.target.checked)})("blur",function(){return o.onTouched()})},features:[r._Bn([Fe]),r.qOj]})}return e})();const we={provide:f,useExisting:(0,r.Gpc)(()=>x),multi:!0},Se=new r.OlP("CompositionEventMode");let x=(()=>{class e extends Ct{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Oe(){const e=(0,G.q)()?(0,G.q)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(Se,8))};static#e=this.\u0275dir=r.lG2({type:e,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(i,o){1&i&&r.NdJ("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[r._Bn([we]),r.qOj]})}return e})();function g(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function Vt(e){return null!=e&&"number"==typeof e.length}const l=new r.OlP("NgValidators"),m=new r.OlP("NgAsyncValidators"),Ne=/^(?=.{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])?)*$/;class Ge{static min(n){return function At(e){return n=>{if(g(n.value)||g(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(g(n.value)||g(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function Mt(e){return g(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function bt(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function Et(e){return g(e.value)||Ne.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function Ft(e){return n=>g(n.value)||!Vt(n.value)?null:n.value.lengthVt(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function Ot(e){if(!e)return B;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(g(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return It(n)}static composeAsync(n){return Pt(n)}}function B(e){return null}function St(e){return null!=e}function Nt(e){return(0,r.QGY)(e)?(0,y.D)(e):e}function Gt(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function xt(e,n){return n.map(t=>t(e))}function Bt(e){return e.map(n=>function xe(e){return!e.validate}(n)?n:t=>n.validate(t))}function It(e){if(!e)return null;const n=e.filter(St);return 0==n.length?null:function(t){return Gt(xt(t,n))}}function X(e){return null!=e?It(Bt(e)):null}function Pt(e){if(!e)return null;const n=e.filter(St);return 0==n.length?null:function(t){return function be(...e){const n=(0,A.jO)(e),{args:t,keys:i}=(0,p.D)(e),o=new De.y(s=>{const{length:a}=t;if(!a)return void s.complete();const c=new Array(a);let V=a,E=a;for(let $=0;${vt||(vt=!0,E--),c[$]=Mn},()=>V--,void 0,()=>{(!V||!vt)&&(E||s.next(i?(0,Me.n)(i,c):c),s.complete())}))}});return n?o.pipe((0,Z.Z)(n)):o}(xt(t,n).map(Nt)).pipe((0,Ee.U)(Gt))}}function K(e){return null!=e?Pt(Bt(e)):null}function kt(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Tt(e){return e._rawValidators}function Ht(e){return e._rawAsyncValidators}function tt(e){return e?Array.isArray(e)?e:[e]:[]}function I(e,n){return Array.isArray(e)?e.includes(n):e===n}function Ut(e,n){const t=tt(n);return tt(e).forEach(o=>{I(t,o)||t.push(o)}),t}function jt(e,n){return tt(n).filter(t=>!I(e,t))}class Rt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=X(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class d extends Rt{get formDirective(){return null}get path(){return null}}class _ extends Rt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Yt=(()=>{class e extends Lt{constructor(t){super(t)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(_,2))};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&r.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[r.qOj]})}return e})(),qt=(()=>{class e extends Lt{constructor(t){super(t)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(d,10))};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&r.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[r.qOj]})}return e})();const F="VALID",k="INVALID",D="PENDING",w="DISABLED";function it(e){return(T(e)?e.validators:e)||null}function rt(e,n){return(T(n)?n.asyncValidators:e)||null}function T(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function $t(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new r.vHH(1e3,"");if(!i[t])throw new r.vHH(1001,"")}function zt(e,n,t){e._forEachChild((i,o)=>{if(void 0===t[o])throw new r.vHH(1002,"")})}class H{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===F}get invalid(){return this.status===k}get pending(){return this.status==D}get disabled(){return this.status===w}get enabled(){return this.status!==w}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Ut(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ut(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(jt(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(jt(n,this._rawAsyncValidators))}hasValidator(n){return I(this._rawValidators,n)}hasAsyncValidator(n){return I(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=D,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=w,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=F,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===F||this.status===D)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?w:F}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=D,this._hasOwnPendingAsyncValidator=!0;const t=Nt(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,o)=>i&&i._find(o),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?w:this.errors?k:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(D)?D:this._anyControlsHaveStatus(k)?k:F}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){T(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function ke(e){return Array.isArray(e)?X(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Te(e){return Array.isArray(e)?K(e):e||null}(this._rawAsyncValidators)}}class O extends H{constructor(n,t,i){super(it(t),rt(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){zt(this,0,n),Object.keys(n).forEach(i=>{$t(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,o)=>((i.enabled||this.disabled)&&(t[o]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((o,s)=>{i=t(i,o,s)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class Jt extends O{}const M=new r.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>U}),U="always";function j(e,n){return[...n.path,e]}function S(e,n,t=U){ot(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Ue(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Zt(e,n)})}(e,n),function Re(e,n){const t=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function je(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Zt(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function He(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function R(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Y(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function L(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function ot(e,n){const t=Tt(e);null!==n.validator?e.setValidators(kt(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=Ht(e);null!==n.asyncValidator?e.setAsyncValidators(kt(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();L(n._rawValidators,o),L(n._rawAsyncValidators,o)}function Y(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=Tt(e);if(Array.isArray(o)&&o.length>0){const s=o.filter(a=>a!==n.validator);s.length!==o.length&&(t=!0,e.setValidators(s))}}if(null!==n.asyncValidator){const o=Ht(e);if(Array.isArray(o)&&o.length>0){const s=o.filter(a=>a!==n.asyncValidator);s.length!==o.length&&(t=!0,e.setAsyncValidators(s))}}}const i=()=>{};return L(n._rawValidators,i),L(n._rawAsyncValidators,i),t}function Zt(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function at(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function lt(e,n){if(!n)return null;let t,i,o;return Array.isArray(n),n.forEach(s=>{s.constructor===x?t=s:function qe(e){return Object.getPrototypeOf(e.constructor)===v}(s)?i=s:o=s}),o||i||t||null}function Kt(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function te(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const b=class extends H{constructor(n=null,t,i){super(it(t),rt(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),T(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=te(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Kt(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Kt(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){te(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let ee=(()=>{class e extends d{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return j(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#t=this.\u0275fac=function(){let t;return function(o){return(t||(t=r.n5z(e)))(o||e)}}();static#e=this.\u0275dir=r.lG2({type:e,features:[r.qOj]})}return e})(),oe=(()=>{class e{static#t=this.\u0275fac=function(i){return new(i||e)};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Qe={provide:f,useExisting:(0,r.Gpc)(()=>dt),multi:!0};let dt=(()=>{class e extends v{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#t=this.\u0275fac=function(){let t;return function(o){return(t||(t=r.n5z(e)))(o||e)}}();static#e=this.\u0275dir=r.lG2({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){1&i&&r.NdJ("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[r._Bn([Qe]),r.qOj]})}return e})();const Xe={provide:f,useExisting:(0,r.Gpc)(()=>ct),multi:!0};let se=(()=>{class e{static#t=this.\u0275fac=function(i){return new(i||e)};static#e=this.\u0275mod=r.oAB({type:e});static#n=this.\u0275inj=r.cJS({})}return e})(),Ke=(()=>{class e{constructor(){this._accessors=[]}add(t,i){this._accessors.push([t,i])}remove(t){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===t)return void this._accessors.splice(i,1)}select(t){this._accessors.forEach(i=>{this._isSameGroup(i,t)&&i[1]!==t&&i[1].fireUncheck(t.value)})}_isSameGroup(t,i){return!!t[0].control&&t[0]._parent===i._control._parent&&t[1].name===i.name}static#t=this.\u0275fac=function(i){return new(i||e)};static#e=this.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:se})}return e})(),ct=(()=>{class e extends v{constructor(t,i,o,s){super(t,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,r.f3M)(M,{optional:!0})??U}ngOnInit(){this._control=this._injector.get(_),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(Ke),r.Y36(r.zs3))};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){1&i&&r.NdJ("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r._Bn([Xe]),r.qOj]})}return e})();const ht=new r.OlP("NgModelWithFormControlWarning"),en={provide:_,useExisting:(0,r.Gpc)(()=>ft)};let ft=(()=>{class e extends _{set isDisabled(t){}static#t=this._ngModelWarningSentOnce=!1;constructor(t,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=lt(0,o)}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&R(i,this,!1),S(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}at(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&R(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static#e=this.\u0275fac=function(i){return new(i||e)(r.Y36(l,10),r.Y36(m,10),r.Y36(f,10),r.Y36(ht,8),r.Y36(M,8))};static#n=this.\u0275dir=r.lG2({type:e,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([en]),r.qOj,r.TTD]})}return e})();const nn={provide:d,useExisting:(0,r.Gpc)(()=>q)};let q=(()=>{class e extends d{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Y(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return S(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){R(t.control||null,t,!1),function We(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,function Xt(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,o=this.form.get(t.path);i!==o&&(R(i||null,t),(e=>e instanceof b)(o)&&(S(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);(function Qt(e,n){ot(e,n)})(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function Le(e,n){return Y(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ot(this.form,this),this._oldForm&&Y(this._oldForm,this)}_checkFormPresent(){}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(l,10),r.Y36(m,10),r.Y36(M,8))};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&r.NdJ("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([nn]),r.qOj,r.TTD]})}return e})();const rn={provide:d,useExisting:(0,r.Gpc)(()=>pt)};let pt=(()=>{class e extends ee{constructor(t,i,o){super(),this.name=null,this._parent=t,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){le(this._parent)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(d,13),r.Y36(l,10),r.Y36(m,10))};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r._Bn([rn]),r.qOj]})}return e})();const on={provide:d,useExisting:(0,r.Gpc)(()=>W)};let W=(()=>{class e extends d{constructor(t,i,o){super(),this.name=null,this._parent=t,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return j(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){le(this._parent)}static#t=this.\u0275fac=function(i){return new(i||e)(r.Y36(d,13),r.Y36(l,10),r.Y36(m,10))};static#e=this.\u0275dir=r.lG2({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r._Bn([on]),r.qOj]})}return e})();function le(e){return!(e instanceof pt||e instanceof q||e instanceof W)}const sn={provide:_,useExisting:(0,r.Gpc)(()=>gt)};let gt=(()=>{class e extends _{set isDisabled(t){}static#t=this._ngModelWarningSentOnce=!1;constructor(t,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=lt(0,s)}ngOnChanges(t){this._added||this._setUpControl(),at(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return j(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#e=this.\u0275fac=function(i){return new(i||e)(r.Y36(d,13),r.Y36(l,10),r.Y36(m,10),r.Y36(f,10),r.Y36(ht,8))};static#n=this.\u0275dir=r.lG2({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([sn]),r.qOj,r.TTD]})}return e})(),Vn=(()=>{class e{static#t=this.\u0275fac=function(i){return new(i||e)};static#e=this.\u0275mod=r.oAB({type:e});static#n=this.\u0275inj=r.cJS({imports:[se]})}return e})();class Ce extends H{constructor(n,t,i){super(it(t),rt(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){zt(this,0,n),n.forEach((i,o)=>{$t(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function Ve(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let An=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const o=this._reduceControls(t);let s={};return Ve(i)?s=i:null!==i&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new O(o,s)}record(t,i=null){const o=this._reduceControls(t);return new Jt(o,i)}control(t,i,o){let s={};return this.useNonNullable?(Ve(i)?s=i:(s.validators=i,s.asyncValidators=o),new b(t,{...s,nonNullable:!0})):new b(t,i,o)}array(t,i,o){const s=t.map(a=>this._createControl(a));return new Ce(s,i,o)}_reduceControls(t){const i={};return Object.keys(t).forEach(o=>{i[o]=this._createControl(t[o])}),i}_createControl(t){return t instanceof b||t instanceof H?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#t=this.\u0275fac=function(i){return new(i||e)};static#e=this.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Dn=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ht,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:M,useValue:t.callSetDisabledState??U}]}}static#t=this.\u0275fac=function(i){return new(i||e)};static#e=this.\u0275mod=r.oAB({type:e});static#n=this.\u0275inj=r.cJS({imports:[Vn]})}return e})()}}]); \ No newline at end of file diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt new file mode 100644 index 0000000..af98492 --- /dev/null +++ b/docs/3rdpartylicenses.txt @@ -0,0 +1,259 @@ +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/platform-browser +MIT + +@angular/router +MIT + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2023 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..997406ad22c29aae95893fb3d666c30258a09537 GIT binary patch literal 948 zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0 z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht z%t9#h|nu0K(bJ ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU z3LTTBtjwo`7(HA6 z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000 + + + + + AppForm + + + + + + + + + + + diff --git a/docs/main.164e3fc111e6f535.js b/docs/main.164e3fc111e6f535.js new file mode 100644 index 0000000..0350e2d --- /dev/null +++ b/docs/main.164e3fc111e6f535.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkAppForm=self.webpackChunkAppForm||[]).push([[179],{1697:(Te,ne,M)=>{var g=M(6593),k=M(1643),x=M(4946);const q=[{path:"reactive",loadChildren:()=>Promise.all([M.e(313),M.e(270)]).then(M.bind(M,7270)).then(X=>X.ReactiveModule)},{path:"auth",loadChildren:()=>Promise.all([M.e(313),M.e(206)]).then(M.bind(M,7206)).then(X=>X.AuthModule)},{path:"**",redirectTo:"reactive"}];let H=(()=>{class X{static#e=this.\u0275fac=function(_e){return new(_e||X)};static#t=this.\u0275mod=x.oAB({type:X});static#n=this.\u0275inj=x.cJS({imports:[k.Bz.forRoot(q),k.Bz]})}return X})();var V=M(6814);const ce=function(X){return[X]};function Ee(X,Ie){if(1&X&&(x.TgZ(0,"li",3),x._uU(1),x.qZA()),2&X){const je=Ie.$implicit;x.Q6J("routerLink",x.VKq(2,ce,je.route)),x.xp6(1),x.hij(" ",je.title," ")}}function pe(X,Ie){if(1&X&&(x.TgZ(0,"li",3),x._uU(1),x.qZA()),2&X){const je=Ie.$implicit;x.Q6J("routerLink",x.VKq(2,ce,je.route)),x.xp6(1),x.hij(" ",je.title," ")}}let oe=(()=>{class X{constructor(){this.reactiveMenu=[{title:"B\xe1sicos",route:"./reactive/basic"},{title:"Din\xe1micos",route:"./reactive/dynamic"},{title:"Switches",route:"./reactive/switches"}],this.authMenu=[{title:"Registro",route:"./auth"}]}static#e=this.\u0275fac=function(_e){return new(_e||X)};static#t=this.\u0275cmp=x.Xpm({type:X,selectors:[["shared-side-menu"]],decls:12,vars:2,consts:[[1,"mt-3"],[1,"list-group"],["class","list-group-item","routerLinkActive","active",3,"routerLink",4,"ngFor","ngForOf"],["routerLinkActive","active",1,"list-group-item",3,"routerLink"]],template:function(_e,Ze){1&_e&&(x.TgZ(0,"h2"),x._uU(1,"P\xe1ginas"),x.qZA(),x._UZ(2,"hr"),x.TgZ(3,"h3",0),x._uU(4,"Reactive"),x.qZA(),x.TgZ(5,"ul",1),x.YNc(6,Ee,2,4,"li",2),x.qZA(),x._UZ(7,"hr"),x.TgZ(8,"h3",0),x._uU(9,"Validaciones"),x.qZA(),x.TgZ(10,"ul",1),x.YNc(11,pe,2,4,"li",2),x.qZA()),2&_e&&(x.xp6(6),x.Q6J("ngForOf",Ze.reactiveMenu),x.xp6(5),x.Q6J("ngForOf",Ze.authMenu))},dependencies:[V.sg,k.rH,k.Od],encapsulation:2})}return X})(),z=(()=>{class X{constructor(){this.title="AppForm"}static#e=this.\u0275fac=function(_e){return new(_e||X)};static#t=this.\u0275cmp=x.Xpm({type:X,selectors:[["app-root"]],decls:5,vars:0,consts:[[1,"row","mt-5"],[1,"col"],[1,"col-12","col-sm-4"]],template:function(_e,Ze){1&_e&&(x.TgZ(0,"div",0)(1,"div",1),x._UZ(2,"router-outlet"),x.qZA(),x.TgZ(3,"div",2),x._UZ(4,"shared-side-menu"),x.qZA()())},dependencies:[k.lC,oe]})}return X})(),ie=(()=>{class X{static#e=this.\u0275fac=function(_e){return new(_e||X)};static#t=this.\u0275mod=x.oAB({type:X});static#n=this.\u0275inj=x.cJS({imports:[V.ez,k.Bz]})}return X})(),De=(()=>{class X{static#e=this.\u0275fac=function(_e){return new(_e||X)};static#t=this.\u0275mod=x.oAB({type:X,bootstrap:[z]});static#n=this.\u0275inj=x.cJS({imports:[g.b2,V.ez,H,ie]})}return X})();g.q6().bootstrapModule(De).catch(X=>console.error(X))},5619:(Te,ne,M)=>{M.d(ne,{X:()=>k});var g=M(8645);class k extends g.x{constructor(q){super(),this._value=q}get value(){return this.getValue()}_subscribe(q){const H=super._subscribe(q);return!H.closed&&q.next(this._value),H}getValue(){const{hasError:q,thrownError:H,_value:V}=this;if(q)throw H;return this._throwIfClosed(),V}next(q){super.next(this._value=q)}}},5592:(Te,ne,M)=>{M.d(ne,{y:()=>Ee});var g=M(305),k=M(7394),x=M(4850),q=M(8407),H=M(2653),V=M(4674),ce=M(1441);let Ee=(()=>{class ie{constructor(X){X&&(this._subscribe=X)}lift(X){const Ie=new ie;return Ie.source=this,Ie.operator=X,Ie}subscribe(X,Ie,je){const _e=function z(ie){return ie&&ie instanceof g.Lv||function oe(ie){return ie&&(0,V.m)(ie.next)&&(0,V.m)(ie.error)&&(0,V.m)(ie.complete)}(ie)&&(0,k.Nn)(ie)}(X)?X:new g.Hp(X,Ie,je);return(0,ce.x)(()=>{const{operator:Ze,source:vt}=this;_e.add(Ze?Ze.call(_e,vt):vt?this._subscribe(_e):this._trySubscribe(_e))}),_e}_trySubscribe(X){try{return this._subscribe(X)}catch(Ie){X.error(Ie)}}forEach(X,Ie){return new(Ie=pe(Ie))((je,_e)=>{const Ze=new g.Hp({next:vt=>{try{X(vt)}catch(Tt){_e(Tt),Ze.unsubscribe()}},error:_e,complete:je});this.subscribe(Ze)})}_subscribe(X){var Ie;return null===(Ie=this.source)||void 0===Ie?void 0:Ie.subscribe(X)}[x.L](){return this}pipe(...X){return(0,q.U)(X)(this)}toPromise(X){return new(X=pe(X))((Ie,je)=>{let _e;this.subscribe(Ze=>_e=Ze,Ze=>je(Ze),()=>Ie(_e))})}}return ie.create=De=>new ie(De),ie})();function pe(ie){var De;return null!==(De=ie??H.config.Promise)&&void 0!==De?De:Promise}},8645:(Te,ne,M)=>{M.d(ne,{x:()=>ce});var g=M(5592),k=M(7394);const q=(0,M(2306).d)(pe=>function(){pe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=M(9039),V=M(1441);let ce=(()=>{class pe extends g.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const ie=new Ee(this,this);return ie.operator=z,ie}_throwIfClosed(){if(this.closed)throw new q}next(z){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ie of this.currentObservers)ie.next(z)}})}error(z){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:ie}=this;for(;ie.length;)ie.shift().error(z)}})}complete(){(0,V.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:ie,isStopped:De,observers:X}=this;return ie||De?k.Lc:(this.currentObservers=null,X.push(z),new k.w0(()=>{this.currentObservers=null,(0,H.P)(X,z)}))}_checkFinalizedStatuses(z){const{hasError:ie,thrownError:De,isStopped:X}=this;ie?z.error(De):X&&z.complete()}asObservable(){const z=new g.y;return z.source=this,z}}return pe.create=(oe,z)=>new Ee(oe,z),pe})();class Ee extends ce{constructor(oe,z){super(),this.destination=oe,this.source=z}next(oe){var z,ie;null===(ie=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===ie||ie.call(z,oe)}error(oe){var z,ie;null===(ie=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===ie||ie.call(z,oe)}complete(){var oe,z;null===(z=null===(oe=this.destination)||void 0===oe?void 0:oe.complete)||void 0===z||z.call(oe)}_subscribe(oe){var z,ie;return null!==(ie=null===(z=this.source)||void 0===z?void 0:z.subscribe(oe))&&void 0!==ie?ie:k.Lc}}},305:(Te,ne,M)=>{M.d(ne,{Hp:()=>je,Lv:()=>ie});var g=M(4674),k=M(7394),x=M(2653),q=M(3894),H=M(2420);const V=pe("C",void 0,void 0);function pe(ee,ue,he){return{kind:ee,value:ue,error:he}}var oe=M(7599),z=M(1441);class ie extends k.w0{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,k.Nn)(ue)&&ue.add(this)):this.destination=Tt}static create(ue,he,$e){return new je(ue,he,$e)}next(ue){this.isStopped?vt(function Ee(ee){return pe("N",ee,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?vt(function ce(ee){return pe("E",void 0,ee)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?vt(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const De=Function.prototype.bind;function X(ee,ue){return De.call(ee,ue)}class Ie{constructor(ue){this.partialObserver=ue}next(ue){const{partialObserver:he}=this;if(he.next)try{he.next(ue)}catch($e){_e($e)}}error(ue){const{partialObserver:he}=this;if(he.error)try{he.error(ue)}catch($e){_e($e)}else _e(ue)}complete(){const{partialObserver:ue}=this;if(ue.complete)try{ue.complete()}catch(he){_e(he)}}}class je extends ie{constructor(ue,he,$e){let le;if(super(),(0,g.m)(ue)||!ue)le={next:ue??void 0,error:he??void 0,complete:$e??void 0};else{let se;this&&x.config.useDeprecatedNextContext?(se=Object.create(ue),se.unsubscribe=()=>this.unsubscribe(),le={next:ue.next&&X(ue.next,se),error:ue.error&&X(ue.error,se),complete:ue.complete&&X(ue.complete,se)}):le=ue}this.destination=new Ie(le)}}function _e(ee){x.config.useDeprecatedSynchronousErrorHandling?(0,z.O)(ee):(0,q.h)(ee)}function vt(ee,ue){const{onStoppedNotification:he}=x.config;he&&oe.z.setTimeout(()=>he(ee,ue))}const Tt={closed:!0,next:H.Z,error:function Ze(ee){throw ee},complete:H.Z}},7394:(Te,ne,M)=>{M.d(ne,{Lc:()=>V,w0:()=>H,Nn:()=>ce});var g=M(4674);const x=(0,M(2306).d)(pe=>function(z){pe(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((ie,De)=>`${De+1}) ${ie.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var q=M(9039);class H{constructor(oe){this.initialTeardown=oe,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let oe;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const X of z)X.remove(this);else z.remove(this);const{initialTeardown:ie}=this;if((0,g.m)(ie))try{ie()}catch(X){oe=X instanceof x?X.errors:[X]}const{_finalizers:De}=this;if(De){this._finalizers=null;for(const X of De)try{Ee(X)}catch(Ie){oe=oe??[],Ie instanceof x?oe=[...oe,...Ie.errors]:oe.push(Ie)}}if(oe)throw new x(oe)}}add(oe){var z;if(oe&&oe!==this)if(this.closed)Ee(oe);else{if(oe instanceof H){if(oe.closed||oe._hasParent(this))return;oe._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(oe)}}_hasParent(oe){const{_parentage:z}=this;return z===oe||Array.isArray(z)&&z.includes(oe)}_addParent(oe){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(oe),z):z?[z,oe]:oe}_removeParent(oe){const{_parentage:z}=this;z===oe?this._parentage=null:Array.isArray(z)&&(0,q.P)(z,oe)}remove(oe){const{_finalizers:z}=this;z&&(0,q.P)(z,oe),oe instanceof H&&oe._removeParent(this)}}H.EMPTY=(()=>{const pe=new H;return pe.closed=!0,pe})();const V=H.EMPTY;function ce(pe){return pe instanceof H||pe&&"closed"in pe&&(0,g.m)(pe.remove)&&(0,g.m)(pe.add)&&(0,g.m)(pe.unsubscribe)}function Ee(pe){(0,g.m)(pe)?pe():pe.unsubscribe()}},2653:(Te,ne,M)=>{M.d(ne,{config:()=>g});const g={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5211:(Te,ne,M)=>{M.d(ne,{z:()=>H});var g=M(7537),x=M(9940),q=M(7715);function H(...V){return function k(){return(0,g.J)(1)}()((0,q.D)(V,(0,x.yG)(V)))}},6232:(Te,ne,M)=>{M.d(ne,{E:()=>k});const k=new(M(5592).y)(H=>H.complete())},7715:(Te,ne,M)=>{M.d(ne,{D:()=>$e});var g=M(4829),k=M(7103),x=M(9360),q=M(8251);function H(le,se=0){return(0,x.e)((J,we)=>{J.subscribe((0,q.x)(we,Pt=>(0,k.f)(we,le,()=>we.next(Pt),se),()=>(0,k.f)(we,le,()=>we.complete(),se),Pt=>(0,k.f)(we,le,()=>we.error(Pt),se)))})}function V(le,se=0){return(0,x.e)((J,we)=>{we.add(le.schedule(()=>J.subscribe(we),se))})}var pe=M(5592),z=M(4971),ie=M(4674);function X(le,se){if(!le)throw new Error("Iterable cannot be null");return new pe.y(J=>{(0,k.f)(J,se,()=>{const we=le[Symbol.asyncIterator]();(0,k.f)(J,se,()=>{we.next().then(Pt=>{Pt.done?J.complete():J.next(Pt.value)})},0,!0)})})}var Ie=M(8382),je=M(4026),_e=M(4266),Ze=M(3664),vt=M(5726),Tt=M(9853),ee=M(541);function $e(le,se){return se?function he(le,se){if(null!=le){if((0,Ie.c)(le))return function ce(le,se){return(0,g.Xf)(le).pipe(V(se),H(se))}(le,se);if((0,_e.z)(le))return function oe(le,se){return new pe.y(J=>{let we=0;return se.schedule(function(){we===le.length?J.complete():(J.next(le[we++]),J.closed||this.schedule())})})}(le,se);if((0,je.t)(le))return function Ee(le,se){return(0,g.Xf)(le).pipe(V(se),H(se))}(le,se);if((0,vt.D)(le))return X(le,se);if((0,Ze.T)(le))return function De(le,se){return new pe.y(J=>{let we;return(0,k.f)(J,se,()=>{we=le[z.h](),(0,k.f)(J,se,()=>{let Pt,Zt;try{({value:Pt,done:Zt}=we.next())}catch(Ht){return void J.error(Ht)}Zt?J.complete():J.next(Pt)},0,!0)}),()=>(0,ie.m)(we?.return)&&we.return()})}(le,se);if((0,ee.L)(le))return function ue(le,se){return X((0,ee.Q)(le),se)}(le,se)}throw(0,Tt.z)(le)}(le,se):(0,g.Xf)(le)}},4829:(Te,ne,M)=>{M.d(ne,{Xf:()=>De});var g=M(7582),k=M(4266),x=M(4026),q=M(5592),H=M(8382),V=M(5726),ce=M(9853),Ee=M(3664),pe=M(541),oe=M(4674),z=M(3894),ie=M(4850);function De(ee){if(ee instanceof q.y)return ee;if(null!=ee){if((0,H.c)(ee))return function X(ee){return new q.y(ue=>{const he=ee[ie.L]();if((0,oe.m)(he.subscribe))return he.subscribe(ue);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ee);if((0,k.z)(ee))return function Ie(ee){return new q.y(ue=>{for(let he=0;he{ee.then(he=>{ue.closed||(ue.next(he),ue.complete())},he=>ue.error(he)).then(null,z.h)})}(ee);if((0,V.D)(ee))return Ze(ee);if((0,Ee.T)(ee))return function _e(ee){return new q.y(ue=>{for(const he of ee)if(ue.next(he),ue.closed)return;ue.complete()})}(ee);if((0,pe.L)(ee))return function vt(ee){return Ze((0,pe.Q)(ee))}(ee)}throw(0,ce.z)(ee)}function Ze(ee){return new q.y(ue=>{(function Tt(ee,ue){var he,$e,le,se;return(0,g.mG)(this,void 0,void 0,function*(){try{for(he=(0,g.KL)(ee);!($e=yield he.next()).done;)if(ue.next($e.value),ue.closed)return}catch(J){le={error:J}}finally{try{$e&&!$e.done&&(se=he.return)&&(yield se.call(he))}finally{if(le)throw le.error}}ue.complete()})})(ee,ue).catch(he=>ue.error(he))})}},2096:(Te,ne,M)=>{M.d(ne,{of:()=>x});var g=M(9940),k=M(7715);function x(...q){const H=(0,g.yG)(q);return(0,k.D)(q,H)}},8251:(Te,ne,M)=>{M.d(ne,{x:()=>k});var g=M(305);function k(q,H,V,ce,Ee){return new x(q,H,V,ce,Ee)}class x extends g.Lv{constructor(H,V,ce,Ee,pe,oe){super(H),this.onFinalize=pe,this.shouldUnsubscribe=oe,this._next=V?function(z){try{V(z)}catch(ie){H.error(ie)}}:super._next,this._error=Ee?function(z){try{Ee(z)}catch(ie){H.error(ie)}finally{this.unsubscribe()}}:super._error,this._complete=ce?function(){try{ce()}catch(z){H.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:V}=this;super.unsubscribe(),!V&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}},7398:(Te,ne,M)=>{M.d(ne,{U:()=>x});var g=M(9360),k=M(8251);function x(q,H){return(0,g.e)((V,ce)=>{let Ee=0;V.subscribe((0,k.x)(ce,pe=>{ce.next(q.call(H,pe,Ee++))}))})}},975:(Te,ne,M)=>{M.d(ne,{h:()=>k});var g=M(7398);function k(x){return(0,g.U)(()=>x)}},7537:(Te,ne,M)=>{M.d(ne,{J:()=>x});var g=M(1631),k=M(2737);function x(q=1/0){return(0,g.z)(k.y,q)}},1631:(Te,ne,M)=>{M.d(ne,{z:()=>Ee});var g=M(7398),k=M(4829),x=M(9360),q=M(7103),H=M(8251),ce=M(4674);function Ee(pe,oe,z=1/0){return(0,ce.m)(oe)?Ee((ie,De)=>(0,g.U)((X,Ie)=>oe(ie,X,De,Ie))((0,k.Xf)(pe(ie,De))),z):("number"==typeof oe&&(z=oe),(0,x.e)((ie,De)=>function V(pe,oe,z,ie,De,X,Ie,je){const _e=[];let Ze=0,vt=0,Tt=!1;const ee=()=>{Tt&&!_e.length&&!Ze&&oe.complete()},ue=$e=>Ze{X&&oe.next($e),Ze++;let le=!1;(0,k.Xf)(z($e,vt++)).subscribe((0,H.x)(oe,se=>{De?.(se),X?ue(se):oe.next(se)},()=>{le=!0},void 0,()=>{if(le)try{for(Ze--;_e.length&&Zehe(se)):he(se)}ee()}catch(se){oe.error(se)}}))};return pe.subscribe((0,H.x)(oe,ue,()=>{Tt=!0,ee()})),()=>{je?.()}}(ie,De,pe,z)))}},4664:(Te,ne,M)=>{M.d(ne,{w:()=>q});var g=M(4829),k=M(9360),x=M(8251);function q(H,V){return(0,k.e)((ce,Ee)=>{let pe=null,oe=0,z=!1;const ie=()=>z&&!pe&&Ee.complete();ce.subscribe((0,x.x)(Ee,De=>{pe?.unsubscribe();let X=0;const Ie=oe++;(0,g.Xf)(H(De,Ie)).subscribe(pe=(0,x.x)(Ee,je=>Ee.next(V?V(De,je,Ie,X++):je),()=>{pe=null,ie()}))},()=>{z=!0,ie()}))})}},8180:(Te,ne,M)=>{M.d(ne,{q:()=>q});var g=M(6232),k=M(9360),x=M(8251);function q(H){return H<=0?()=>g.E:(0,k.e)((V,ce)=>{let Ee=0;V.subscribe((0,x.x)(ce,pe=>{++Ee<=H&&(ce.next(pe),H<=Ee&&ce.complete())}))})}},7599:(Te,ne,M)=>{M.d(ne,{z:()=>g});const g={setTimeout(k,x,...q){const{delegate:H}=g;return H?.setTimeout?H.setTimeout(k,x,...q):setTimeout(k,x,...q)},clearTimeout(k){const{delegate:x}=g;return(x?.clearTimeout||clearTimeout)(k)},delegate:void 0}},4971:(Te,ne,M)=>{M.d(ne,{h:()=>k});const k=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Te,ne,M)=>{M.d(ne,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Te,ne,M)=>{M.d(ne,{_6:()=>V,jO:()=>q,yG:()=>H});var g=M(4674),k=M(671);function x(ce){return ce[ce.length-1]}function q(ce){return(0,g.m)(x(ce))?ce.pop():void 0}function H(ce){return(0,k.K)(x(ce))?ce.pop():void 0}function V(ce,Ee){return"number"==typeof x(ce)?ce.pop():Ee}},7453:(Te,ne,M)=>{M.d(ne,{D:()=>H});const{isArray:g}=Array,{getPrototypeOf:k,prototype:x,keys:q}=Object;function H(ce){if(1===ce.length){const Ee=ce[0];if(g(Ee))return{args:Ee,keys:null};if(function V(ce){return ce&&"object"==typeof ce&&k(ce)===x}(Ee)){const pe=q(Ee);return{args:pe.map(oe=>Ee[oe]),keys:pe}}}return{args:ce,keys:null}}},9039:(Te,ne,M)=>{function g(k,x){if(k){const q=k.indexOf(x);0<=q&&k.splice(q,1)}}M.d(ne,{P:()=>g})},2306:(Te,ne,M)=>{function g(k){const q=k(H=>{Error.call(H),H.stack=(new Error).stack});return q.prototype=Object.create(Error.prototype),q.prototype.constructor=q,q}M.d(ne,{d:()=>g})},2714:(Te,ne,M)=>{function g(k,x){return k.reduce((q,H,V)=>(q[H]=x[V],q),{})}M.d(ne,{n:()=>g})},1441:(Te,ne,M)=>{M.d(ne,{O:()=>q,x:()=>x});var g=M(2653);let k=null;function x(H){if(g.config.useDeprecatedSynchronousErrorHandling){const V=!k;if(V&&(k={errorThrown:!1,error:null}),H(),V){const{errorThrown:ce,error:Ee}=k;if(k=null,ce)throw Ee}}else H()}function q(H){g.config.useDeprecatedSynchronousErrorHandling&&k&&(k.errorThrown=!0,k.error=H)}},7103:(Te,ne,M)=>{function g(k,x,q,H=0,V=!1){const ce=x.schedule(function(){q(),V?k.add(this.schedule(null,H)):this.unsubscribe()},H);if(k.add(ce),!V)return ce}M.d(ne,{f:()=>g})},2737:(Te,ne,M)=>{function g(k){return k}M.d(ne,{y:()=>g})},4266:(Te,ne,M)=>{M.d(ne,{z:()=>g});const g=k=>k&&"number"==typeof k.length&&"function"!=typeof k},5726:(Te,ne,M)=>{M.d(ne,{D:()=>k});var g=M(4674);function k(x){return Symbol.asyncIterator&&(0,g.m)(x?.[Symbol.asyncIterator])}},4674:(Te,ne,M)=>{function g(k){return"function"==typeof k}M.d(ne,{m:()=>g})},8382:(Te,ne,M)=>{M.d(ne,{c:()=>x});var g=M(4850),k=M(4674);function x(q){return(0,k.m)(q[g.L])}},3664:(Te,ne,M)=>{M.d(ne,{T:()=>x});var g=M(4971),k=M(4674);function x(q){return(0,k.m)(q?.[g.h])}},4026:(Te,ne,M)=>{M.d(ne,{t:()=>k});var g=M(4674);function k(x){return(0,g.m)(x?.then)}},541:(Te,ne,M)=>{M.d(ne,{L:()=>q,Q:()=>x});var g=M(7582),k=M(4674);function x(H){return(0,g.FC)(this,arguments,function*(){const ce=H.getReader();try{for(;;){const{value:Ee,done:pe}=yield(0,g.qq)(ce.read());if(pe)return yield(0,g.qq)(void 0);yield yield(0,g.qq)(Ee)}}finally{ce.releaseLock()}})}function q(H){return(0,k.m)(H?.getReader)}},671:(Te,ne,M)=>{M.d(ne,{K:()=>k});var g=M(4674);function k(x){return x&&(0,g.m)(x.schedule)}},9360:(Te,ne,M)=>{M.d(ne,{A:()=>k,e:()=>x});var g=M(4674);function k(q){return(0,g.m)(q?.lift)}function x(q){return H=>{if(k(H))return H.lift(function(V){try{return q(V,this)}catch(ce){this.error(ce)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Te,ne,M)=>{M.d(ne,{Z:()=>q});var g=M(7398);const{isArray:k}=Array;function q(H){return(0,g.U)(V=>function x(H,V){return k(V)?H(...V):H(V)}(H,V))}},2420:(Te,ne,M)=>{function g(){}M.d(ne,{Z:()=>g})},8407:(Te,ne,M)=>{M.d(ne,{U:()=>x,z:()=>k});var g=M(2737);function k(...q){return x(q)}function x(q){return 0===q.length?g.y:1===q.length?q[0]:function(V){return q.reduce((ce,Ee)=>Ee(ce),V)}}},3894:(Te,ne,M)=>{M.d(ne,{h:()=>x});var g=M(2653),k=M(7599);function x(q){k.z.setTimeout(()=>{const{onUnhandledError:H}=g.config;if(!H)throw q;H(q)})}},9853:(Te,ne,M)=>{function g(k){return new TypeError(`You provided ${null!==k&&"object"==typeof k?"an invalid object":`'${k}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}M.d(ne,{z:()=>g})},6814:(Te,ne,M)=>{M.d(ne,{Do:()=>je,EM:()=>At,HT:()=>q,JF:()=>Mr,K0:()=>V,Mx:()=>ui,O5:()=>Po,PM:()=>xe,S$:()=>De,Ts:()=>oo,V_:()=>Ee,Ye:()=>_e,b0:()=>Ie,bD:()=>zr,ez:()=>Bo,q:()=>x,sg:()=>Wn,w_:()=>H});var g=M(4946);let k=null;function x(){return k}function q(l){k||(k=l)}class H{}const V=new g.OlP("DocumentToken");let ce=(()=>{class l{historyGo(p){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275prov=g.Yz7({token:l,factory:function(){return(0,g.f3M)(pe)},providedIn:"platform"})}return l})();const Ee=new g.OlP("Location Initialized");let pe=(()=>{class l extends ce{constructor(){super(),this._doc=(0,g.f3M)(V),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return x().getBaseHref(this._doc)}onPopState(p){const y=x().getGlobalEventTarget(this._doc,"window");return y.addEventListener("popstate",p,!1),()=>y.removeEventListener("popstate",p)}onHashChange(p){const y=x().getGlobalEventTarget(this._doc,"window");return y.addEventListener("hashchange",p,!1),()=>y.removeEventListener("hashchange",p)}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(p){this._location.pathname=p}pushState(p,y,_){this._history.pushState(p,y,_)}replaceState(p,y,_){this._history.replaceState(p,y,_)}forward(){this._history.forward()}back(){this._history.back()}historyGo(p=0){this._history.go(p)}getState(){return this._history.state}static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275prov=g.Yz7({token:l,factory:function(){return new l},providedIn:"platform"})}return l})();function oe(l,D){if(0==l.length)return D;if(0==D.length)return l;let p=0;return l.endsWith("/")&&p++,D.startsWith("/")&&p++,2==p?l+D.substring(1):1==p?l+D:l+"/"+D}function z(l){const D=l.match(/#|\?|$/),p=D&&D.index||l.length;return l.slice(0,p-("/"===l[p-1]?1:0))+l.slice(p)}function ie(l){return l&&"?"!==l[0]?"?"+l:l}let De=(()=>{class l{historyGo(p){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275prov=g.Yz7({token:l,factory:function(){return(0,g.f3M)(Ie)},providedIn:"root"})}return l})();const X=new g.OlP("appBaseHref");let Ie=(()=>{class l extends De{constructor(p,y){super(),this._platformLocation=p,this._removeListenerFns=[],this._baseHref=y??this._platformLocation.getBaseHrefFromDOM()??(0,g.f3M)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}prepareExternalUrl(p){return oe(this._baseHref,p)}path(p=!1){const y=this._platformLocation.pathname+ie(this._platformLocation.search),_=this._platformLocation.hash;return _&&p?`${y}${_}`:y}pushState(p,y,_,F){const G=this.prepareExternalUrl(_+ie(F));this._platformLocation.pushState(p,y,G)}replaceState(p,y,_,F){const G=this.prepareExternalUrl(_+ie(F));this._platformLocation.replaceState(p,y,G)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}static#e=this.\u0275fac=function(y){return new(y||l)(g.LFG(ce),g.LFG(X,8))};static#t=this.\u0275prov=g.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),je=(()=>{class l extends De{constructor(p,y){super(),this._platformLocation=p,this._baseHref="",this._removeListenerFns=[],null!=y&&(this._baseHref=y)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}path(p=!1){let y=this._platformLocation.hash;return null==y&&(y="#"),y.length>0?y.substring(1):y}prepareExternalUrl(p){const y=oe(this._baseHref,p);return y.length>0?"#"+y:y}pushState(p,y,_,F){let G=this.prepareExternalUrl(_+ie(F));0==G.length&&(G=this._platformLocation.pathname),this._platformLocation.pushState(p,y,G)}replaceState(p,y,_,F){let G=this.prepareExternalUrl(_+ie(F));0==G.length&&(G=this._platformLocation.pathname),this._platformLocation.replaceState(p,y,G)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}static#e=this.\u0275fac=function(y){return new(y||l)(g.LFG(ce),g.LFG(X,8))};static#t=this.\u0275prov=g.Yz7({token:l,factory:l.\u0275fac})}return l})(),_e=(()=>{class l{constructor(p){this._subject=new g.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=p;const y=this._locationStrategy.getBaseHref();this._basePath=function ee(l){if(new RegExp("^(https?:)?//").test(l)){const[,p]=l.split(/\/\/[^\/]+/);return p}return l}(z(Tt(y))),this._locationStrategy.onPopState(_=>{this._subject.emit({url:this.path(!0),pop:!0,state:_.state,type:_.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(p=!1){return this.normalize(this._locationStrategy.path(p))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(p,y=""){return this.path()==this.normalize(p+ie(y))}normalize(p){return l.stripTrailingSlash(function vt(l,D){if(!l||!D.startsWith(l))return D;const p=D.substring(l.length);return""===p||["/",";","?","#"].includes(p[0])?p:D}(this._basePath,Tt(p)))}prepareExternalUrl(p){return p&&"/"!==p[0]&&(p="/"+p),this._locationStrategy.prepareExternalUrl(p)}go(p,y="",_=null){this._locationStrategy.pushState(_,"",p,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+ie(y)),_)}replaceState(p,y="",_=null){this._locationStrategy.replaceState(_,"",p,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+ie(y)),_)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(p=0){this._locationStrategy.historyGo?.(p)}onUrlChange(p){return this._urlChangeListeners.push(p),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(y=>{this._notifyUrlChangeListeners(y.url,y.state)})),()=>{const y=this._urlChangeListeners.indexOf(p);this._urlChangeListeners.splice(y,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(p="",y){this._urlChangeListeners.forEach(_=>_(p,y))}subscribe(p,y,_){return this._subject.subscribe({next:p,error:y,complete:_})}static#e=this.normalizeQueryParams=ie;static#t=this.joinWithSlash=oe;static#n=this.stripTrailingSlash=z;static#r=this.\u0275fac=function(y){return new(y||l)(g.LFG(De))};static#o=this.\u0275prov=g.Yz7({token:l,factory:function(){return function Ze(){return new _e((0,g.LFG)(De))}()},providedIn:"root"})}return l})();function Tt(l){return l.replace(/\/index.html$/,"")}function ui(l,D){D=encodeURIComponent(D);for(const p of l.split(";")){const y=p.indexOf("="),[_,F]=-1==y?[p,""]:[p.slice(0,y),p.slice(y+1)];if(_.trim()===D)return decodeURIComponent(F)}return null}class Qe{constructor(D,p,y,_){this.$implicit=D,this.ngForOf=p,this.index=y,this.count=_}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Wn=(()=>{class l{set ngForOf(p){this._ngForOf=p,this._ngForOfDirty=!0}set ngForTrackBy(p){this._trackByFn=p}get ngForTrackBy(){return this._trackByFn}constructor(p,y,_){this._viewContainer=p,this._template=y,this._differs=_,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(p){p&&(this._template=p)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const p=this._ngForOf;!this._differ&&p&&(this._differ=this._differs.find(p).create(this.ngForTrackBy))}if(this._differ){const p=this._differ.diff(this._ngForOf);p&&this._applyChanges(p)}}_applyChanges(p){const y=this._viewContainer;p.forEachOperation((_,F,G)=>{if(null==_.previousIndex)y.createEmbeddedView(this._template,new Qe(_.item,this._ngForOf,-1,-1),null===G?void 0:G);else if(null==G)y.remove(null===F?void 0:F);else if(null!==F){const me=y.get(F);y.move(me,G),eo(me,_)}});for(let _=0,F=y.length;_{eo(y.get(_.currentIndex),_)})}static ngTemplateContextGuard(p,y){return!0}static#e=this.\u0275fac=function(y){return new(y||l)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))};static#t=this.\u0275dir=g.lG2({type:l,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return l})();function eo(l,D){l.context.$implicit=D.item}let Po=(()=>{class l{constructor(p,y){this._viewContainer=p,this._context=new _n,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=y}set ngIf(p){this._context.$implicit=this._context.ngIf=p,this._updateView()}set ngIfThen(p){Mn("ngIfThen",p),this._thenTemplateRef=p,this._thenViewRef=null,this._updateView()}set ngIfElse(p){Mn("ngIfElse",p),this._elseTemplateRef=p,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 ngTemplateContextGuard(p,y){return!0}static#e=this.\u0275fac=function(y){return new(y||l)(g.Y36(g.s_b),g.Y36(g.Rgc))};static#t=this.\u0275dir=g.lG2({type:l,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return l})();class _n{constructor(){this.$implicit=null,this.ngIf=null}}function Mn(l,D){if(D&&!D.createEmbeddedView)throw new Error(`${l} must be a TemplateRef, but received '${(0,g.AaK)(D)}'.`)}let oo=(()=>{class l{transform(p){return JSON.stringify(p,null,2)}static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275pipe=g.Yjl({name:"json",type:l,pure:!1,standalone:!0})}return l})(),Bo=(()=>{class l{static#e=this.\u0275fac=function(y){return new(y||l)};static#t=this.\u0275mod=g.oAB({type:l});static#n=this.\u0275inj=g.cJS({})}return l})();const zr="browser",so="server";function xe(l){return l===so}let At=(()=>{class l{static#e=this.\u0275prov=(0,g.Yz7)({token:l,providedIn:"root",factory:()=>new ur((0,g.LFG)(V),window)})}return l})();class ur{constructor(D,p){this.document=D,this.window=p,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const p=function Mt(l,D){const p=l.getElementById(D)||l.getElementsByName(D)[0];if(p)return p;if("function"==typeof l.createTreeWalker&&l.body&&"function"==typeof l.body.attachShadow){const y=l.createTreeWalker(l.body,NodeFilter.SHOW_ELEMENT);let _=y.currentNode;for(;_;){const F=_.shadowRoot;if(F){const G=F.getElementById(D)||F.querySelector(`[name="${D}"]`);if(G)return G}_=y.nextNode()}}return null}(this.document,D);p&&(this.scrollToElement(p),p.focus())}setHistoryScrollRestoration(D){this.supportsScrolling()&&(this.window.history.scrollRestoration=D)}scrollToElement(D){const p=D.getBoundingClientRect(),y=p.left+this.window.pageXOffset,_=p.top+this.window.pageYOffset,F=this.offset();this.window.scrollTo(y-F[0],_-F[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Mr{}},4946:(Te,ne,M)=>{M.d(ne,{tb:()=>Pd,AFp:()=>Ch,ip1:()=>gv,hGG:()=>SM,z2F:()=>ls,Ojb:()=>rC,sBO:()=>dM,Sil:()=>N_,EJc:()=>T_,Xts:()=>na,SBq:()=>ia,lqb:()=>Nr,qLn:()=>bo,vpe:()=>Or,XFs:()=>ve,OlP:()=>Ge,zs3:()=>mr,ZZ4:()=>$d,aQg:()=>Bd,soG:()=>Qu,YKP:()=>ym,h0i:()=>ii,PXZ:()=>rM,R0b:()=>Kt,FiY:()=>Ja,Lbi:()=>cl,g9A:()=>Eh,Qsj:()=>yC,FYo:()=>Sh,JOm:()=>au,tp0:()=>eu,Rgc:()=>Ia,dDg:()=>J_,eoX:()=>Iv,GfV:()=>Th,s_b:()=>qu,ifc:()=>jn,VuI:()=>jM,MMx:()=>Cm,Lck:()=>fI,eFA:()=>Sv,Gpc:()=>se,f3M:()=>rt,$WT:()=>Hn,_c5:()=>bM,qFp:()=>$M,rg0:()=>On,c2e:()=>mv,zSh:()=>il,HDt:()=>vv,wAp:()=>ss,vHH:()=>re,lri:()=>Ev,rWj:()=>wv,cg1:()=>ad,kL8:()=>Vg,dqk:()=>it,Z0I:()=>kr,eJc:()=>_d,QGY:()=>Xl,F4k:()=>Yp,RDi:()=>_D,AaK:()=>he,qOj:()=>Hl,Xq5:()=>Sp,TTD:()=>Ps,_Bn:()=>vm,jDz:()=>Em,xp6:()=>Xh,uIk:()=>Bl,ekj:()=>od,Suo:()=>Zm,Xpm:()=>ko,lG2:()=>Vr,Yz7:()=>Ye,cJS:()=>ze,oAB:()=>oo,Yjl:()=>io,Y36:()=>Yi,_UZ:()=>ql,qZA:()=>Hu,TgZ:()=>ju,EpF:()=>Wp,n5z:()=>ff,LFG:()=>$t,$8M:()=>Rc,$Z:()=>ep,NdJ:()=>Jl,CRH:()=>qm,oxw:()=>Xp,ALo:()=>Pm,lcZ:()=>Fm,Q6J:()=>Yl,VKq:()=>Tm,iGM:()=>Ym,KtG:()=>Ba,CHM:()=>$a,P3R:()=>dh,YNc:()=>$p,_uU:()=>wg,Oqu:()=>sd,hij:()=>Uu});var g=M(8645),k=M(7394),x=M(5592),q=M(7537),H=M(4829),V=M(6232),ce=M(9940),Ee=M(7715),oe=M(5619),z=M(2096),ie=M(305),De=M(9360);function X(e={}){const{connector:t=(()=>new g.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,c,h,v=0,C=!1,w=!1;const S=()=>{c?.unsubscribe(),c=void 0},A=()=>{S(),s=h=void 0,C=w=!1},j=()=>{const Q=s;A(),Q?.unsubscribe()};return(0,De.e)((Q,de)=>{v++,!w&&!C&&S();const ye=h=h??t();de.add(()=>{v--,0===v&&!w&&!C&&(c=Ie(j,o))}),ye.subscribe(de),!s&&v>0&&(s=new ie.Hp({next:Y=>ye.next(Y),error:Y=>{w=!0,S(),c=Ie(A,n,Y),ye.error(Y)},complete:()=>{C=!0,S(),c=Ie(A,r),ye.complete()}}),(0,H.Xf)(Q).subscribe(s))})(i)}}function Ie(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ie.Hp({next:()=>{r.unsubscribe(),e()}});return(0,H.Xf)(t(...n)).subscribe(r)}var je=M(4664),_e=M(2737),Ze=M(8251);function Tt(e,t){return e===t}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function ue(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function he(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(he).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function $e(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const le=ee({__forward_ref__:ee});function se(e){return e.__forward_ref__=se,e.toString=function(){return he(this())},e}function J(e){return we(e)?e():e}function we(e){return"function"==typeof e&&e.hasOwnProperty(le)&&e.__forward_ref__===se}function Pt(e){return e&&!!e.\u0275providers}const Ht="https://g.co/ng/security#xss";class re extends Error{constructor(t,n){super(function Ft(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Ce(e){return"string"==typeof e?e:null==e?"":String(e)}function B(e,t){throw new re(-201,!1)}function Dt(e,t){null==e&&function Se(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ze(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ae(e){return rr(e,kt)||rr(e,wt)}function kr(e){return null!==Ae(e)}function rr(e,t){return e.hasOwnProperty(t)?e[t]:null}function zn(e){return e&&(e.hasOwnProperty(jr)||e.hasOwnProperty(Ao))?e[jr]:null}const kt=ee({\u0275prov:ee}),jr=ee({\u0275inj:ee}),wt=ee({ngInjectableDef:ee}),Ao=ee({ngInjectorDef:ee});var ve=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ve||{});let Hr;function Nt(e){const t=Hr;return Hr=e,t}function cn(e,t,n){const r=Ae(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ve.Optional?null:void 0!==t?t:void B(he(e))}const it=globalThis;class Ge{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ye({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ke={},nt="__NG_DI_FLAG__",_t="ngTempTokenPath",ln=/\n/gm,ai="__source";let Dr;function wn(e){const t=Dr;return Dr=e,t}function hs(e,t=ve.Default){if(void 0===Dr)throw new re(-203,!1);return null===Dr?cn(e,void 0,t):Dr.get(e,t&ve.Optional?null:void 0,t)}function $t(e,t=ve.Default){return(function or(){return Hr}()||hs)(J(e),t)}function rt(e,t=ve.Default){return $t(e,Cr(t))}function Cr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function In(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[w+1].toLowerCase();const A=8&r?S:null;if(A&&-1!==Ir(A,v,0)||2&r&&v!==S){if(tn(r))return!1;s=!0}}}}else{if(!s&&!tn(r)&&!tn(h))return!1;if(s&&tn(h))continue;s=!1,r=h|1&r}}return tn(r)||s}function tn(e){return 0==(1&e)}function gs(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!tn(s)&&(t+=fi(i,o),o=""),r=s,i=i||!tn(r);n++}return""!==o&&(t+=fi(i,o)),t}function ko(e){return qt(()=>{const t=_r(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jn.Emulated,styles:e.styles||Qe,_:null,schemas:e.schemas||null,tView:null,id:""};Bo(n);const r=e.dependencies;return n.directiveDefs=zr(r,!1),n.pipeDefs=zr(r,!0),n.id=function hi(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Ho(e){return He(e)||It(e)}function ba(e){return null!==e}function oo(e){return qt(()=>({type:e.type,bootstrap:e.bootstrap||Qe,declarations:e.declarations||Qe,imports:e.imports||Qe,exports:e.exports||Qe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function $o(e,t){if(null==e)return en;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Vr(e){return qt(()=>{const t=_r(e);return Bo(t),t})}function io(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function He(e){return e[Wn]||null}function It(e){return e[eo]||null}function Ot(e){return e[ci]||null}function Hn(e){const t=He(e)||It(e)||Ot(e);return null!==t&&t.standalone}function nn(e,t){const n=e[Po]||null;if(!n&&!0===t)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return n}function _r(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||en,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Qe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$o(e.inputs,t),outputs:$o(e.outputs)}}function Bo(e){e.features?.forEach(t=>t(e))}function zr(e,t){if(!e)return null;const n=t?Ot:Ho;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ba)}const gt=0,fe=1,xe=2,ht=3,rn=4,ao=5,At=6,ur=7,Mt=8,dn=9,Mr=10,Fe=11,$n=12,pi=13,cr=14,bt=15,br=16,Tn=17,An=18,Uo=19,Is=20,lr=21,dr=22,uo=23,co=24,Ve=25,lo=1,fn=2,Rn=7,Gr=9,Ut=11;function jt(e){return Array.isArray(e)&&"object"==typeof e[lo]}function zt(e){return Array.isArray(e)&&!0===e[lo]}function gi(e){return 0!=(4&e.flags)}function hn(e){return e.componentOffset>-1}function ot(e){return 1==(1&e.flags)}function Nn(e){return!!e.template}function mi(e){return 0!=(512&e[xe])}function hr(e,t){return e.hasOwnProperty(_n)?e[_n]:null}let St=null,mo=!1;function pn(e){const t=St;return St=e,t}const Rs={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Go(e){if(!yo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ns(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Ci(e){e.dirty=!0,function Di(e){if(void 0===e.liveConsumerNode)return;const t=mo;mo=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ci(n)}finally{mo=t}}(e),e.consumerMarkedDirty?.(e)}function Ei(e){return e&&(e.nextProducerIndex=0),pn(e)}function wi(e,t){if(pn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(yo(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ns(e){Yr(e);for(let t=0;t0}function Yr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let _=null;function On(e){const t=pn(null);try{return e()}finally{pn(t)}}const Xt=()=>{},qn=(()=>({...Rs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Xt}))();class Tr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ps(){return xa}function xa(e){return e.type.prototype.ngOnChanges&&(e.setInput=lc),Ii}function Ii(){const e=Do(this),t=e?.current;if(t){const n=e.previous;if(n===en)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lc(e,t,n,r){const o=this.declaredInputs[n],i=Do(e)||function Fa(e,t){return e[Pa]=t}(e,{previous:en,current:null}),s=i.current||(i.current={}),c=i.previous,h=c[o];s[o]=new Tr(h&&h.currentValue,t,c===en),e[r]=t}Ps.ngInherit=!0;const Pa="__ngSimpleChanges__";function Do(e){return e[Pa]||null}const Kn=function(e,t,n){};function mt(e){for(;Array.isArray(e);)e=e[gt];return e}function Zr(e,t){return mt(t[e])}function Jt(e,t){return mt(t[e.index])}function Ls(e,t){return e.data[t]}function xn(e,t){const n=t[e];return jt(n)?n:n[gt]}function qr(e,t){return null==t?null:e[t]}function js(e){e[Tn]=0}function gr(e){1024&e[xe]||(e[xe]|=1024,pc(e,1))}function ja(e){1024&e[xe]&&(e[xe]&=-1025,pc(e,-1))}function pc(e,t){let n=e[ht];if(null===n)return;n[ao]+=t;let r=n;for(n=n[ht];null!==n&&(1===t&&1===r[ao]||-1===t&&0===r[ao]);)n[ao]+=t,r=n,n=n[ht]}const Re={lFrame:Xn(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function $s(){return Re.bindingsEnabled}function Z(){return Re.lFrame.lView}function Xe(){return Re.lFrame.tView}function $a(e){return Re.lFrame.contextLView=e,e[Mt]}function Ba(e){return Re.lFrame.contextLView=null,e}function Gt(){let e=Ua();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ua(){return Re.lFrame.currentTNode}function Qn(e,t){const n=Re.lFrame;n.currentTNode=e,n.isParent=t}function Bs(){return Re.lFrame.isParent}function on(){const e=Re.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ko(){return Re.lFrame.bindingIndex++}function f(e,t){const n=Re.lFrame;n.bindingIndex=n.bindingRootIndex=e,E(t)}function E(e){Re.lFrame.currentDirectiveIndex=e}function O(){return Re.lFrame.currentQueryIndex}function R(e){Re.lFrame.currentQueryIndex=e}function ae(e){const t=e[fe];return 2===t.type?t.declTNode:1===t.type?e[At]:null}function Pe(e,t,n){if(n&ve.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&ve.Host||(o=ae(i),null===o||(i=i[cr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Re.lFrame=Je();return r.currentTNode=t,r.lView=e,!0}function at(e){const t=Je(),n=e[fe];Re.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Je(){const e=Re.lFrame,t=null===e?null:e.child;return null===t?Xn(e):t}function Xn(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Eo(){const e=Re.lFrame;return Re.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const wo=Eo;function Qo(){const e=Eo();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function mn(){return Re.lFrame.selectedIndex}function Xo(e){Re.lFrame.selectedIndex=e}function Rt(){const e=Re.lFrame;return Ls(e.tView,e.selectedIndex)}let Xd=!0;function Va(){return Xd}function _o(e){Xd=e}function za(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[Tn]+=65536),(c>13>16&&(3&e[xe])===t&&(e[xe]+=8192,ef(c,i)):ef(c,i)}const bi=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Mc(e){return e!==bi}function Vs(e){return 32767&e}function zs(e,t){let n=function cy(e){return e>>16}(e),r=t;for(;n>0;)r=r[cr],n--;return r}let bc=!0;function Ya(e){const t=bc;return bc=e,t}const tf=255,nf=5;let ly=0;const Rr={};function Za(e,t){const n=rf(e,t);if(-1!==n)return n;const r=t[fe];r.firstCreatePass&&(e.injectorIndex=t.length,Sc(r.data,e),Sc(t,null),Sc(r.blueprint,null));const o=qa(e,t),i=e.injectorIndex;if(Mc(o)){const s=Vs(o),c=zs(o,t),h=c[fe].data;for(let v=0;v<8;v++)t[i+v]=c[s+v]|h[s+v]}return t[i+8]=o,i}function Sc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function qa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=hf(o),null===r)return bi;if(n++,o=o[cr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return bi}function Tc(e,t,n){!function dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mn)&&(r=n[Mn]),null==r&&(r=n[Mn]=ly++);const o=r&tf;t.data[e+(o>>nf)]|=1<=0?t&tf:my:t}(n);if("function"==typeof i){if(!Pe(t,e,r))return r&ve.Host?sf(o,0,r):af(t,n,r,o);try{let s;if(s=i(r),null!=s||r&ve.Optional)return s;B()}finally{wo()}}else if("number"==typeof i){let s=null,c=rf(e,t),h=bi,v=r&ve.Host?t[bt][At]:null;for((-1===c||r&ve.SkipSelf)&&(h=-1===c?qa(e,t):t[c+8],h!==bi&&df(r,!1)?(s=t[fe],c=Vs(h),t=zs(h,t)):c=-1);-1!==c;){const C=t[fe];if(lf(i,c,C.data)){const w=hy(c,t,n,s,r,v);if(w!==Rr)return w}h=t[c+8],h!==bi&&df(r,t[fe].data[c+8]===v)&&lf(i,c,t)?(s=C,c=Vs(h),t=zs(h,t)):c=-1}}return o}function hy(e,t,n,r,o,i){const s=t[fe],c=s.data[e+8],C=Ka(c,s,n,null==r?hn(c)&&bc:r!=s&&0!=(3&c.type),o&ve.Host&&i===c);return null!==C?Jo(t,s,C,c):Rr}function Ka(e,t,n,r,o){const i=e.providerIndexes,s=t.data,c=1048575&i,h=e.directiveStart,C=i>>20,S=o?c+C:e.directiveEnd;for(let A=r?c:c+C;A=h&&j.type===n)return A}if(o){const A=s[h];if(A&&Nn(A)&&A.type===n)return h}return null}function Jo(e,t,n,r){let o=e[n];const i=t.data;if(function sy(e){return e instanceof Us}(o)){const s=o;s.resolving&&function L(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new re(-200,`Circular dependency in DI detected for ${e}${n}`)}(function qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ce(e)}(i[n]));const c=Ya(s.canSeeViewProviders);s.resolving=!0;const v=s.injectImpl?Nt(s.injectImpl):null;Pe(e,r,ve.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function oy(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=xa(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==v&&Nt(v),Ya(c),s.resolving=!1,wo()}}return o}function lf(e,t,n){return!!(n[t+(e>>nf)]&1<{const t=e.prototype.constructor,n=t[_n]||Ac(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[_n]||Ac(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ac(e){return we(e)?()=>{const t=Ac(J(e));return t&&t()}:hr(e)}function hf(e){const t=e[fe],n=t.type;return 2===n?t.declTNode:1===n?e[At]:null}function Rc(e){return function fy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function Nc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return c.annotation=s,c;function c(h,v,C){const w=h.hasOwnProperty(Ti)?h[Ti]:Object.defineProperty(h,Ti,{value:[]})[Ti];for(;w.length<=C;)w.push(null);return(w[C]=w[C]||[]).push(s),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Oi(e,t){e.forEach(n=>Array.isArray(n)?Oi(n,t):t(n))}function gf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Qa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Un(e,t,n){let r=xi(e,t);return r>=0?e[1|r]=n:(r=~r,function _y(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Oc(e,t){const n=xi(e,t);if(n>=0)return e[1|n]}function xi(e,t){return function mf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<0&&(e[n-1][rn]=r[rn]);const i=Qa(e,Ut+t);!function aD(e,t){Xs(e,t,t[Fe],2,null,null),t[gt]=null,t[At]=null}(r[fe],r);const s=i[An];null!==s&&s.detachView(i[fe]),r[ht]=null,r[rn]=null,r[xe]&=-129}return r}function Vc(e,t){if(!(256&t[xe])){const n=t[Fe];t[uo]&&Os(t[uo]),t[co]&&Os(t[co]),n.destroyNode&&Xs(e,t,n,3,null,null),function lD(e){let t=e[$n];if(!t)return zc(e[fe],e);for(;t;){let n=null;if(jt(t))n=t[$n];else{const r=t[Ut];r&&(n=r)}if(!n){for(;t&&!t[rn]&&t!==e;)jt(t)&&zc(t[fe],t),t=t[ht];null===t&&(t=e),jt(t)&&zc(t[fe],t),n=t&&t[rn]}t=n}}(t)}}function zc(e,t){if(!(256&t[xe])){t[xe]&=-129,t[xe]|=256,function pD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[ur]=null);const o=t[lr];if(null!==o){t[lr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===jn.None||i===jn.Emulated)return null}return Jt(r,n)}}(e,t.parent,n)}function ei(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Uf(e,t,n){e.appendChild(t,n)}function Vf(e,t,n,r,o){null!==r?ei(e,t,n,r,o):Uf(e,t,n)}function du(e,t){return e.parentNode(t)}let Wc,Kc,gu,Wf=function Gf(e,t,n){return 40&e.type?Jt(e,n):null};function fu(e,t,n,r){const o=Gc(e,r,t),i=t[Fe],c=function zf(e,t,n){return Wf(e,t,n)}(r.parent||t[At],r,t);if(null!=o)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return gu}()?.createScriptURL(e)||e}class nh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ht})`}}function Mo(e){return e instanceof nh?e.changingThisBreaksApplicationSecurity:e}function Js(e,t){const n=function RD(e){return e instanceof nh&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ht})`)}return n===t}const PD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Hi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Hi||{});function ch(e){const t=ta();return t?t.sanitize(Hi.URL,e)||"":Js(e,"URL")?Mo(e):function Xc(e){return(e=String(e)).match(PD)?e:"unsafe:"+e}(Ce(e))}function lh(e){const t=ta();if(t)return th(t.sanitize(Hi.RESOURCE_URL,e)||"");if(Js(e,"ResourceURL"))return th(Mo(e));throw new re(904,!1)}function dh(e,t,n){return function WD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?lh:ch}(t,n)(e)}function ta(){const e=Z();return e&&e[Mr].sanitizer}const na=new Ge("ENVIRONMENT_INITIALIZER"),fh=new Ge("INJECTOR",-1),hh=new Ge("INJECTOR_DEF_TYPES");class nl{get(t,n=Ke){if(n===Ke){const r=new Error(`NullInjectorError: No provider for ${he(t)}!`);throw r.name="NullInjectorError",r}return n}}function YD(...e){return{\u0275providers:gh(0,e),\u0275fromNgModule:!0}}function gh(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Oi(t,s=>{const c=s;vu(c,i,[],r)&&(o||=[],o.push(c))}),void 0!==o&&mh(o,i),n}function mh(e,t){for(let n=0;n{t(i,r)})}}function vu(e,t,n,r){if(!(e=J(e)))return!1;let o=null,i=zn(e);const s=!i&&He(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const h=e.ngModule;if(i=zn(h),!i)return!1;o=h}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const v of h)vu(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let v;r.add(o);try{Oi(i.imports,C=>{vu(C,t,n,r)&&(v||=[],v.push(C))})}finally{}void 0!==v&&mh(v,t)}if(!c){const v=hr(o)||(()=>new o);t({provide:o,useFactory:v,deps:Qe},o),t({provide:hh,useValue:o,multi:!0},o),t({provide:na,useValue:()=>$t(o),multi:!0},o)}const h=i.providers;if(null!=h&&!c){const v=e;rl(h,C=>{t(C,v)})}}}return o!==e&&void 0!==e.providers}function rl(e,t){for(let n of e)Pt(n)&&(n=n.\u0275providers),Array.isArray(n)?rl(n,t):t(n)}const ZD=ee({provide:String,useValue:ee});function ol(e){return null!==e&&"object"==typeof e&&ZD in e}function ti(e){return"function"==typeof e}const il=new Ge("Set Injector scope."),yu={},KD={};let sl;function Du(){return void 0===sl&&(sl=new nl),sl}class Nr{}class $i extends Nr{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ul(t,s=>this.processProvider(s)),this.records.set(fh,Bi(void 0,this)),o.has("environment")&&this.records.set(Nr,Bi(void 0,this));const i=this.records.get(il);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(hh.multi,Qe,ve.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=wn(this),r=Nt(void 0);try{return t()}finally{wn(n),Nt(r)}}get(t,n=Ke,r=ve.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(to))return t[to](this);r=Cr(r);const i=wn(this),s=Nt(void 0);try{if(!(r&ve.SkipSelf)){let h=this.records.get(t);if(void 0===h){const v=function tC(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ge}(t)&&Ae(t);h=v&&this.injectableDefInScope(v)?Bi(al(t),yu):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ve.Self?Du():this.parent).get(t,n=r&ve.Optional&&n===Ke?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[_t]=c[_t]||[]).unshift(he(t)),i)throw c;return function ui(e,t,n,r){const o=e[_t];throw t[ai]&&o.unshift(t[ai]),e.message=function Er(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=he(t);if(Array.isArray(t))o=t.map(he).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):he(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ln,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[_t]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{Nt(s),wn(i)}}resolveInjectorInitializers(){const t=wn(this),n=Nt(void 0);try{const o=this.get(na.multi,Qe,ve.Self);for(const i of o)i()}finally{wn(t),Nt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(he(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new re(205,!1)}processProvider(t){let n=ti(t=J(t))?t:J(t&&t.provide);const r=function XD(e){return ol(e)?Bi(void 0,e.useValue):Bi(Dh(e),yu)}(t);if(ti(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Bi(void 0,yu,!0),o.factory=()=>In(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===yu&&(n.value=KD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function eC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=J(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function al(e){const t=Ae(e),n=null!==t?t.factory:hr(e);if(null!==n)return n;if(e instanceof Ge)throw new re(204,!1);if(e instanceof Function)return function QD(e){const t=e.length;if(t>0)throw function Ys(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new re(204,!1)}function Dh(e,t,n){let r;if(ti(e)){const o=J(e);return hr(o)||al(o)}if(ol(e))r=()=>J(e.useValue);else if(function yh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...In(e.deps||[]));else if(function vh(e){return!(!e||!e.useExisting)}(e))r=()=>$t(J(e.useExisting));else{const o=J(e&&(e.useClass||e.provide));if(!function JD(e){return!!e.deps}(e))return hr(o)||al(o);r=()=>new o(...In(e.deps))}return r}function Bi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ul(e,t){for(const n of e)Array.isArray(n)?ul(n,t):n&&Pt(n)?ul(n.\u0275providers,t):t(n)}const Ch=new Ge("AppId",{providedIn:"root",factory:()=>nC}),nC="ng",Eh=new Ge("Platform Initializer"),cl=new Ge("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rC=new Ge("CSP nonce",{providedIn:"root",factory:()=>function ji(){if(void 0!==Kc)return Kc;if(typeof document<"u")return document;throw new re(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let wh=(e,t,n)=>null;function vl(e,t,n=!1){return wh(e,t,n)}class hC{}class Mh{}class gC{resolveComponentFactory(t){throw function pC(e){const t=Error(`No component factory found for ${he(e)}.`);return t.ngComponent=e,t}(t)}}let Mu=(()=>{class e{static#e=this.NULL=new gC}return e})();function mC(){return zi(Gt(),Z())}function zi(e,t){return new ia(Jt(e,t))}let ia=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=mC}return e})();function vC(e){return e instanceof ia?e.nativeElement:e}class Sh{}let yC=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function DC(){const e=Z(),n=xn(Gt().index,e);return(jt(n)?n:e)[Fe]}()}return e})(),CC=(()=>{class e{static#e=this.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>null})}return e})();class Th{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const EC=new Th("16.2.12"),Cl={};function Oh(e,t=null,n=null,r){const o=xh(e,t,n,r);return o.resolveInjectorInitializers(),o}function xh(e,t=null,n=null,r,o=new Set){const i=[n||Qe,YD(e)];return r=r||("object"==typeof e?void 0:he(e)),new $i(i,t||Du(),r||null,o)}let mr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ke;static#t=this.NULL=new nl;static create(n,r){if(Array.isArray(n))return Oh({name:""},r,n,"");{const o=n.name??"";return Oh({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=Ye({token:e,providedIn:"any",factory:()=>$t(fh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function wl(e){return e.ngOriginalError}class bo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&wl(t);for(;n&&wl(n);)n=wl(n);return n||null}}function _l(e){return t=>{setTimeout(e,void 0,t)}}const Or=class TC extends g.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),i=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(i=_l(i),o&&(o=_l(o)),s&&(s=_l(s)));const c=super.subscribe({next:o,error:i,complete:s});return t instanceof k.w0&&t.add(c),c}};function Fh(...e){}class Kt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Or(!1),this.onMicrotaskEmpty=new Or(!1),this.onStable=new Or(!1),this.onError=new Or(!1),typeof Zone>"u")throw new re(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function AC(){const e="function"==typeof it.requestAnimationFrame;let t=it[e?"requestAnimationFrame":"setTimeout"],n=it[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function OC(e){const t=()=>{!function NC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(it,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bl(e),e.isCheckStableRunning=!0,Ml(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,c)=>{if(function PC(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(c))return n.invokeTask(o,i,s,c);try{return Lh(e),n.invokeTask(o,i,s,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),kh(e)}},onInvoke:(n,r,o,i,s,c,h)=>{try{return Lh(e),n.invoke(o,i,s,c,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),kh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,bl(e),Ml(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Kt.isInAngularZone())throw new re(909,!1)}static assertNotInAngularZone(){if(Kt.isInAngularZone())throw new re(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,RC,Fh,Fh);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const RC={};function Ml(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function bl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Lh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function kh(e){e._nesting--,Ml(e)}class xC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Or,this.onMicrotaskEmpty=new Or,this.onStable=new Or,this.onError=new Or}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const jh=new Ge("",{providedIn:"root",factory:Hh});function Hh(){const e=rt(Kt);let t=!0;return function pe(...e){const t=(0,ce.yG)(e),n=(0,ce._6)(e,1/0),r=e;return r.length?1===r.length?(0,H.Xf)(r[0]):(0,q.J)(n)((0,Ee.D)(r,t)):V.E}(new x.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new x.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Kt.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Kt.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(X()))}function Qr(e){return e instanceof Function?e():e}let Sl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>new e})}return e})();function sa(e){for(;e;){e[xe]|=64;const t=Ks(e);if(mi(e)&&!t)return e;e=t}return null}const zh=new Ge("",{providedIn:"root",factory:()=>!1});let Su=null;function Zh(e,t){return e[t]??Qh()}function qh(e,t){const n=Qh();n.producerNode?.length&&(e[t]=Su,n.lView=e,Su=Kh())}const zC={...Rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{sa(e.lView)},lView:null};function Kh(){return Object.create(zC)}function Qh(){return Su??=Kh(),Su}const Ue={};function Xh(e){Jh(Xe(),Z(),mn()+e,!1)}function Jh(e,t,n,r){if(!r)if(3==(3&t[xe])){const i=e.preOrderCheckHooks;null!==i&&Ga(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Wa(t,i,0,n)}Xo(n)}function Yi(e,t=ve.Default){const n=Z();return null===n?$t(e,t):uf(Gt(),n,J(e),t)}function ep(){throw new Error("invalid")}function Tu(e,t,n,r,o,i,s,c,h,v,C){const w=t.blueprint.slice();return w[gt]=o,w[xe]=140|r,(null!==v||e&&2048&e[xe])&&(w[xe]|=2048),js(w),w[ht]=w[cr]=e,w[Mt]=n,w[Mr]=s||e&&e[Mr],w[Fe]=c||e&&e[Fe],w[dn]=h||e&&e[dn]||null,w[At]=i,w[Uo]=function qy(){return Zy++}(),w[dr]=C,w[Is]=v,w[bt]=2==t.type?e[bt]:w,w}function Zi(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Tl(e,t,n,r,o){const i=Ua(),s=Bs(),h=e.data[t]=function XC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,c=0;return function Co(){return null!==Re.skipHydrationRootTNode}()&&(c|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=h),null!==i&&(s?null==i.child&&null!==h.parent&&(i.child=h):null===i.next&&(i.next=h,h.prev=i)),h}(e,t,n,r,o),function d(){return Re.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function qo(){const e=Re.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Qn(i,!0),i}function aa(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iVe&&Jh(e,t,Ve,!1),Kn(c?2:0,o);const v=c?i:null,C=Ei(v);try{null!==v&&(v.dirty=!1),n(r,o)}finally{wi(v,C)}}finally{c&&null===t[uo]&&qh(t,uo),Xo(s),Kn(c?3:1,o)}}function Al(e,t,n){if(gi(t)){const r=pn(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function op(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?ip(n,t,o,i):r.hasOwnProperty(o)&&ip(n,t,r[o],i)}return n}function ip(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function xl(e,t,n,r){if($s()){const o=null===r?null:{"":-1},i=function aE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,i)}}(e,t,r,aa(e,n,o.hostVars,Ue),o)}function xr(e,t,n,r,o,i){const s=Jt(e,t);!function Fl(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const c=null==s?Ce(i):s(i,r||"",o);e.setAttribute(t,o,c,n)}}(t[Fe],s,i,e.value,n,r,o)}function hE(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let c=0;c{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function Bn(e,t,n){const r=Object.create(qn);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Ci(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ns(r))return;r.hasRun=!0;const s=Ei(r);try{r.cleanupFn(),r.cleanupFn=Xt,r.fn(o)}finally{wi(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,v=>{this.all.has(v)&&this.queue.set(v,i)},o);let c;this.all.add(s),s.notify();const h=()=>{s.cleanup(),c?.(),this.all.delete(s),this.queue.delete(s)};return c=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Ye({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ru(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){yp(e,1);const o=n.components;null!==o&&Cp(e,o,1)}}function Cp(e,t,n){for(let r=0;r-1&&(lu(t,r),Qa(n,r))}this._attachedToViewContainer=!1}Vc(this._lView[fe],this._lView)}onDestroy(t){!function gc(e,t){if(256==(256&e[xe]))throw new re(911,!1);null===e[lr]&&(e[lr]=[]),e[lr].push(t)}(this._lView,t)}markForCheck(){sa(this._cdRefInjectingView||this._lView)}detach(){this._lView[xe]&=-129}reattach(){this._lView[xe]|=128}detectChanges(){Nu(this._lView[fe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new re(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function cD(e,t){Xs(e,t,t[Fe],2,null,null)}(this._lView[fe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new re(902,!1);this._appRef=t}}class wE extends ca{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Nu(t[fe],t,t[Mt],!1)}checkNoChanges(){}get context(){return null}}class Ep extends Mu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=He(t);return new la(n,this.ngModule)}}function wp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class _E{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Cr(r);const o=this.injector.get(t,Cl,r);return o!==Cl||n===Cl?o:this.parentInjector.get(t,n,r)}}class la extends Mh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=wp(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return wp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Es(e){return e.map(Cs).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Nr?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new _E(t,i):t,c=s.get(Sh,null);if(null===c)throw new re(407,!1);const w={rendererFactory:c,sanitizer:s.get(CC,null),effectManager:s.get(gp,null),afterRenderEventManager:s.get(Sl,null)},S=c.createRenderer(null,this.componentDef),A=this.componentDef.selectors[0][0]||"div",j=r?function YC(e,t,n,r){const i=r.get(zh,!1)||n===jn.ShadowDom,s=e.selectRootElement(t,i);return function ZC(e){rp(e)}(s),s}(S,r,this.componentDef.encapsulation,s):cu(S,A,function IE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(A)),ye=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Y=null;null!==j&&(Y=vl(j,s,!0));const ke=Ol(0,null,null,1,0,null,null,null,null,null,null),We=Tu(null,ke,null,ye,null,null,w,S,s,null,Y);let pt,kn;at(We);try{const Jr=this.componentDef;let ds,Vd=null;Jr.findHostDirectiveDefs?(ds=[],Vd=new Map,Jr.findHostDirectiveDefs(Jr,ds,Vd),ds.push(Jr)):ds=[Jr];const BM=function bE(e,t){const n=e[fe],r=Ve;return e[r]=t,Zi(n,r,2,"#host",null)}(We,j),UM=function SE(e,t,n,r,o,i,s){const c=o[fe];!function TE(e,t,n,r){for(const o of e)t.mergedAttrs=bn(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ru(t,t.mergedAttrs,!0),null!==n&&Xf(r,n,t))}(r,e,t,s);let h=null;null!==t&&(h=vl(t,o[dn]));const v=i.rendererFactory.createRenderer(t,n);let C=16;n.signals?C=4096:n.onPush&&(C=64);const w=Tu(o,np(n),null,C,o[e.index],e,i,v,null,null,h);return c.firstCreatePass&&Pl(c,e,r.length-1),Au(o,w),o[e.index]=w}(BM,j,Jr,ds,We,w,S);kn=Ls(ke,Ve),j&&function RE(e,t,n,r){if(r)Fo(e,n,["ng-version",EC.full]);else{const{attrs:o,classes:i}=function ws(e){const t=[],n=[];let r=1,o=2;for(;r0&&Qf(e,n,i.join(" "))}}(S,Jr,j,r),void 0!==n&&function NE(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=bn(o.hostAttrs,n=bn(n,o.hostAttrs))}}(r)}function Ou(e){return e===en?{}:e===Qe?[]:e}function PE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function FE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function LE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Sp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function xu(e){return!!$l(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function $l(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function an(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Bl(e,t,n,r){const o=Z();return an(o,Ko(),t)&&(Xe(),xr(Rt(),o,e,t,n,r)),Bl}function $p(e,t,n,r,o,i,s,c){const h=Z(),v=Xe(),C=e+Ve,w=v.firstCreatePass?function aw(e,t,n,r,o,i,s,c,h){const v=t.consts,C=Zi(t,e,4,s||null,qr(v,c));xl(t,n,C,qr(v,h)),za(t,C);const w=C.tView=Ol(2,C,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,v,null);return null!==t.queries&&(t.queries.template(t,C),w.queries=t.queries.embeddedTView(C)),C}(C,v,h,t,n,r,o,i,s):v.data[C];Qn(w,!1);const S=Bp(v,h,w,e);Va()&&fu(v,h,S,w),sn(S,h),Au(h,h[C]=cp(S,h,S,w)),ot(w)&&Rl(v,h,w),null!=s&&Nl(h,w,c)}let Bp=function Up(e,t,n,r){return _o(!0),t[Fe].createComment("")};function Yl(e,t,n){const r=Z();return an(r,Ko(),t)&&function Vn(e,t,n,r,o,i,s,c){const h=Jt(t,n);let C,v=t.inputs;!c&&null!=v&&(C=v[r])?(kl(e,n,C,r,o),hn(t)&&function tE(e,t){const n=xn(t,e);16&n[xe]||(n[xe]|=64)}(n,t.index)):3&t.type&&(r=function eE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(h,r,o))}(Xe(),Rt(),r,e,t,r[Fe],n,!1),Yl}function Zl(e,t,n,r,o){const s=o?"class":"style";kl(e,n,t.inputs[s],s,r)}function ju(e,t,n,r){const o=Z(),i=Xe(),s=Ve+e,c=o[Fe],h=i.firstCreatePass?function fw(e,t,n,r,o,i){const s=t.consts,h=Zi(t,e,2,r,qr(s,o));return xl(t,n,h,qr(s,i)),null!==h.attrs&&Ru(h,h.attrs,!1),null!==h.mergedAttrs&&Ru(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,o,t,n,r):i.data[s],v=Vp(i,o,h,c,t,e);o[s]=v;const C=ot(h);return Qn(h,!0),Xf(c,v,h),32!=(32&h.flags)&&Va()&&fu(i,o,v,h),0===function mc(){return Re.lFrame.elementDepthCount}()&&sn(v,o),function vc(){Re.lFrame.elementDepthCount++}(),C&&(Rl(i,o,h),Al(i,h,o)),null!==r&&Nl(o,h),ju}function Hu(){let e=Gt();Bs()?function Mi(){Re.lFrame.isParent=!1}():(e=e.parent,Qn(e,!1));const t=e;(function Yd(e){return Re.skipHydrationRootTNode===e})(t)&&function Kd(){Re.skipHydrationRootTNode=null}(),function Wd(){Re.lFrame.elementDepthCount--}();const n=Xe();return n.firstCreatePass&&(za(n,e),gi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ay(e){return 0!=(8&e.flags)}(t)&&Zl(n,t,Z(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function uy(e){return 0!=(16&e.flags)}(t)&&Zl(n,t,Z(),t.stylesWithoutHost,!1),Hu}function ql(e,t,n,r){return ju(e,t,n,r),Hu(),ql}let Vp=(e,t,n,r,o,i)=>(_o(!0),cu(r,o,function Qd(){return Re.lFrame.currentNamespace}()));function Wp(){return Z()}function Xl(e){return!!e&&"function"==typeof e.then}function Yp(e){return!!e&&"function"==typeof e.subscribe}function Jl(e,t,n,r){const o=Z(),i=Xe(),s=Gt();return function qp(e,t,n,r,o,i,s){const c=ot(r),v=e.firstCreatePass&&fp(e),C=t[Mt],w=dp(t);let S=!0;if(3&r.type||s){const Q=Jt(r,t),de=s?s(Q):Q,ye=w.length,Y=s?We=>s(mt(We[r.index])):r.index;let ke=null;if(!s&&c&&(ke=function yw(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ih?c[h]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==ke)(ke.__ngLastListenerFn__||ke).__ngNextListenerFn__=i,ke.__ngLastListenerFn__=i,S=!1;else{i=Qp(r,t,C,i,!1);const We=n.listen(de,o,i);w.push(i,We),v&&v.push(o,Y,ye,ye+1)}}else i=Qp(r,t,C,i,!1);const A=r.outputs;let j;if(S&&null!==A&&(j=A[o])){const Q=j.length;if(Q)for(let de=0;de-1?xn(e.index,t):t);let h=Kp(t,n,r,s),v=i.__ngNextListenerFn__;for(;v;)h=Kp(t,n,v,s)&&h,v=v.__ngNextListenerFn__;return o&&!1===h&&s.preventDefault(),h}}function Xp(e=1){return function Io(e){return(Re.lFrame.contextLView=function wc(e,t){for(;e>0;)t=t[cr],e--;return t}(e,Re.lFrame.contextLView))[Mt]}(e)}function $u(e,t){return e<<17|t<<2}function So(e){return e>>17&32767}function td(e){return 2|e}function ri(e){return(131068&e)>>2}function nd(e,t){return-131069&e|t<<2}function rd(e){return 1|e}function ug(e,t,n,r,o){const i=e[n+1],s=null===t;let c=r?So(i):ri(i),h=!1;for(;0!==c&&(!1===h||s);){const C=e[c+1];Sw(e[c],t)&&(h=!0,e[c+1]=r?rd(C):td(C)),c=r?So(C):ri(C)}h&&(e[n+1]=r?td(i):rd(i))}function Sw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xi(e,t)>=0}function od(e,t){return function vr(e,t,n,r){const o=Z(),i=Xe(),s=function u(e){const t=Re.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function vg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[mn()],s=function mg(e,t){return t>=e.expandoStartIndex}(e,n);(function Eg(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function Lw(e,t,n,r){const o=function I(e){const t=Re.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ga(n=id(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=id(o,e,t,n,r),null===i){let h=function kw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ri(r))return e[So(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=id(null,e,t,h[1],r),h=ga(h,t.attrs,r),function jw(e,t,n,r){e[So(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else i=function Hw(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(v=!0)):C=n,o)if(0!==h){const S=So(e[c+1]);e[r+1]=$u(S,c),0!==S&&(e[S+1]=nd(e[S+1],r)),e[c+1]=function Iw(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=$u(c,0),0!==c&&(e[c+1]=nd(e[c+1],r)),c=r;else e[r+1]=$u(h,0),0===c?c=r:e[h+1]=nd(e[h+1],r),h=r;v&&(e[r+1]=td(e[r+1])),ug(e,C,r,!0),ug(e,C,r,!1),function bw(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&xi(i,t)>=0&&(n[r+1]=rd(n[r+1]))}(t,C,e,r,i),s=$u(c,h),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==Ue&&an(o,s,t)&&function Dg(e,t,n,r,o,i,s,c){if(!(3&t.type))return;const h=e.data,v=h[c+1],C=function _w(e){return 1==(1&e)}(v)?Cg(h,t,n,o,ri(v),s):void 0;Bu(C)||(Bu(i)||function ww(e){return 2==(2&e)}(v)&&(i=Cg(h,null,n,o,c,s)),function DD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:au.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=au.Important),e.setStyle(n,r,o,i))}}(r,s,Zr(mn(),n),o,i))}(i,i.data[mn()],o,o[Fe],e,o[s+1]=function Vw(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=he(Mo(e)))),e}(t,n),r,s)}(e,t,null,!0),od}function id(e,t,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const h=e[o],v=Array.isArray(h),C=v?h[1]:h,w=null===C;let S=n[o+1];S===Ue&&(S=w?Qe:void 0);let A=w?Oc(S,r):C===r?S:void 0;if(v&&!Bu(A)&&(A=Oc(h,r)),Bu(A)&&(c=A,s))return c;const j=e[o+1];o=s?So(j):ri(j)}if(null!==t){let h=i?t.residualClasses:t.residualStyles;null!=h&&(c=Oc(h,r))}return c}function Bu(e){return void 0!==e}function wg(e,t=""){const n=Z(),r=Xe(),o=e+Ve,i=r.firstCreatePass?Zi(r,o,1,t,null):r.data[o],s=Ig(r,n,i,t,e);n[o]=s,Va()&&fu(r,n,s,i),Qn(i,!1)}let Ig=(e,t,n,r,o)=>(_o(!0),function uu(e,t){return e.createText(t)}(t[Fe],r));function sd(e){return Uu("",e,""),sd}function Uu(e,t,n){const r=Z(),o=function Ki(e,t,n,r){return an(e,Ko(),n)?t+Ce(n)+r:Ue}(r,e,t,n);return o!==Ue&&function Xr(e,t,n){const r=Zr(t,e);!function Hf(e,t,n){e.setValue(t,n)}(e[Fe],r,n)}(r,mn(),o),Uu}const oi=void 0;var f0=["en",[["a","p"],["AM","PM"],oi],[["AM","PM"],oi,oi],[["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"]],oi,[["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"]],oi,[["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}",oi,"{1} 'at' {0}",oi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function d0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let is={};function ad(e){const t=function h0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=zg(t);if(n)return n;const r=t.split("-")[0];if(n=zg(r),n)return n;if("en"===r)return f0;throw new re(701,!1)}function Vg(e){return ad(e)[ss.PluralCase]}function zg(e){return e in is||(is[e]=it.ng&&it.ng.common&&it.ng.common.locales&&it.ng.common.locales[e]),is[e]}var ss=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ss||{});const as="en-US";let Gg=as;function ld(e,t,n,r,o){if(e=J(e),Array.isArray(e))for(let i=0;i>20;if(ti(e)||!e.multi){const A=new Us(v,o,Yi),j=fd(h,t,o?C:C+S,w);-1===j?(Tc(Za(c,s),i,h),dd(i,e,t.length),t.push(h),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(A),s.push(A)):(n[j]=A,s[j]=A)}else{const A=fd(h,t,C+S,w),j=fd(h,t,C,C+S),de=j>=0&&n[j];if(o&&!de||!o&&!(A>=0&&n[A])){Tc(Za(c,s),i,h);const ye=function dI(e,t,n,r,o){const i=new Us(e,n,Yi);return i.multi=[],i.index=t,i.componentProviders=0,mm(i,o,r&&!n),i}(o?lI:cI,n.length,o,r,v);!o&&de&&(n[j].providerFactory=ye),dd(i,e,t.length,0),t.push(h),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(ye),s.push(ye)}else dd(i,e,A>-1?A:j,mm(n[o?j:A],v,!o&&r));!o&&r&&de&&n[j].componentProviders++}}}function dd(e,t,n,r){const o=ti(t),i=function qD(e){return!!e.useClass}(t);if(o||i){const h=(i?J(t.useClass):t).prototype.ngOnDestroy;if(h){const v=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const C=v.indexOf(n);-1===C?v.push(n,[r,h]):v[C+1].push(r,h)}else v.push(n,h)}}}function mm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fd(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function uI(e,t,n){const r=Xe();if(r.firstCreatePass){const o=Nn(e);ld(n,r.data,r.blueprint,o,!0),ld(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class ii{}class ym{}function fI(e,t){return new pd(e,t??null,[])}class pd extends ii{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ep(this);const o=nn(t);this._bootstrapComponents=Qr(o.bootstrap),this._r3Injector=xh(t,n,[{provide:ii,useValue:this},{provide:Mu,useValue:this.componentFactoryResolver},...r],he(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gd extends ym{constructor(t){super(),this.moduleType=t}create(t){return new pd(this.moduleType,t,[])}}class Dm extends ii{constructor(t){super(),this.componentFactoryResolver=new Ep(this),this.instance=null;const n=new $i([...t.providers,{provide:ii,useValue:this},{provide:Mu,useValue:this.componentFactoryResolver}],t.parent||Du(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cm(e,t,n=null){return new Dm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let pI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=gh(0,n.type),o=r.length>0?Cm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ye({token:e,providedIn:"environment",factory:()=>new e($t(Nr))})}return e})();function Em(e){e.getStandaloneInjector=t=>t.get(pI).getOrCreateStandaloneInjector(e)}function Tm(e,t,n,r){return Am(Z(),on(),e,t,n,r)}function Am(e,t,n,r,o,i){const s=t+n;return an(e,s,o)?function Pr(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Ea(e,t){const n=e[t];return n===Ue?void 0:n}(e,s+1)}function Pm(e,t){const n=Xe();let r;const o=e+Ve;n.firstCreatePass?(r=function OI(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=hr(r.type)),c=Nt(Yi);try{const h=Ya(!1),v=i();return Ya(h),function lw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Z(),o,v),v}finally{Nt(c)}}function Fm(e,t,n){const r=e+Ve,o=Z(),i=function Zo(e,t){return e[t]}(o,r);return function wa(e,t){return e[fe].data[t].pure}(o,r)?Am(o,on(),t,i.transform,n,i):i.transform(n)}function kI(){return this._results[Symbol.iterator]()}class vd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Or)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=vd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=kI)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function Jn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[o-1][rn]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=UI}return e})();const $I=Ia,BI=class extends $I{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function jI(e,t,n,r){const o=t.tView,c=Tu(e,o,n,4096&e[xe]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);c[br]=e[t.index];const v=e[An];return null!==v&&(c[An]=v.createEmbeddedView(o)),jl(o,c,n),c}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new ca(o)}};function UI(){return Yu(Gt(),Z())}function Yu(e,t){return 4&e.type?new BI(t,e,zi(e,t)):null}let qu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ZI}return e})();function ZI(){return Um(Gt(),Z())}const qI=qu,$m=class extends qI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zi(this._hostTNode,this._hostLView)}get injector(){return new vn(this._hostTNode,this._hostLView)}get parentInjector(){const t=qa(this._hostTNode,this._hostLView);if(Mc(t)){const n=zs(t,this._hostLView),r=Vs(t);return new vn(n[fe].data[r+8],n)}return new vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Bm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ut}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const c=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(c,o,false),c}createComponent(t,n,r,o,i){const s=t&&!function Ws(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const Q=n||{};c=Q.index,r=Q.injector,o=Q.projectableNodes,i=Q.environmentInjector||Q.ngModuleRef}const h=s?t:new la(He(t)),v=r||this.parentInjector;if(!i&&null==h.ngModule){const de=(s?v:this.parentInjector).get(Nr,null);de&&(i=de)}He(h.componentType??{});const A=h.create(v,o,null,i);return this.insertImpl(A.hostView,c,false),A}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function ka(e){return zt(e[ht])}(o)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const v=o[ht],C=new $m(v,v[At],v[ht]);C.detach(C.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;return HI(c,o,s,!r),t.attachToViewContainerRef(),gf(yd(c),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Bm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=lu(this._lContainer,n);r&&(Qa(yd(this._lContainer),n),Vc(r[fe],r))}detach(t){const n=this._adjustIndex(t,-1),r=lu(this._lContainer,n);return r&&null!=Qa(yd(this._lContainer),n)?new ca(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Bm(e){return e[8]}function yd(e){return e[8]||(e[8]=[])}function Um(e,t){let n;const r=t[e.index];return zt(r)?n=r:(n=cp(r,t,null,e),t[e.index]=n,Au(t,n)),Vm(n,t,e,r),new $m(n,e,t)}let Vm=function zm(e,t,n,r){if(e[Rn])return;let o;o=8&n.type?mt(r):function KI(e,t){const n=e[Fe],r=n.createComment(""),o=Jt(t,e);return ei(n,du(n,o),r,function mD(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Rn]=o};class Dd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Dd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[c/2]);else{const v=i[c+1],C=t[-h];for(let w=Ut;w{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=rt(gv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Xl(i))n.push(i);else if(Yp(i)){const s=new Promise((c,h)=>{i.subscribe({complete:c,error:h})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Qu=new Ge("LocaleId",{providedIn:"root",factory:()=>rt(Qu,ve.Optional|ve.SkipSelf)||function S_(){return typeof $localize<"u"&&$localize.locale||as}()}),T_=new Ge("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let vv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class R_{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let N_=(()=>{class e{compileModuleSync(n){return new gd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Qr(nn(n).declarations).reduce((s,c)=>{const h=He(c);return h&&s.push(new la(h)),s},[]);return new R_(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ev=new Ge(""),wv=new Ge("");let Od,J_=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Od||(function eM(e){Od=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Kt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)($t(Kt),$t(Iv),$t(wv))};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac})}return e})(),Iv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Od?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),To=null;const _v=new Ge("AllowMultipleToken"),xd=new Ge("PlatformDestroyListeners"),Pd=new Ge("appBootstrapListener");class rM{constructor(t,n){this.name=t,this.token=n}}function Sv(e,t,n=[]){const r=`Platform: ${t}`,o=new Ge(r);return(i=[])=>{let s=Fd();if(!s||s.injector.get(_v,!1)){const c=[...n,...i,{provide:o,useValue:!0}];e?e(c):function oM(e){if(To&&!To.get(_v,!1))throw new re(400,!1);(function Mv(){!function G(e){_=e}(()=>{throw new re(600,!1)})})(),To=e;const t=e.get(Av);(function bv(e){e.get(Eh,null)?.forEach(n=>n())})(e)}(function Tv(e=[],t){return mr.create({name:t,providers:[{provide:il,useValue:"platform"},{provide:xd,useValue:new Set([()=>To=null])},...e]})}(c,r))}return function sM(e){const t=Fd();if(!t)throw new re(401,!1);return t}()}}function Fd(){return To?.get(Av)??null}let Av=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function aM(e="zone.js",t){return"noop"===e?new xC:"zone.js"===e?new Kt(t):e}(r?.ngZone,function Rv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function hI(e,t,n){return new pd(e,t,n)}(n.moduleType,this.injector,function Fv(e){return[{provide:Kt,useFactory:e},{provide:na,multi:!0,useFactory:()=>{const t=rt(cM,{optional:!0});return()=>t.initialize()}},{provide:Pv,useFactory:uM},{provide:jh,useFactory:Hh}]}(()=>o)),s=i.injector.get(bo,null);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:h=>{s.handleError(h)}});i.onDestroy(()=>{Ju(this._modules,i),c.unsubscribe()})}),function Nv(e,t,n){try{const r=n();return Xl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const c=i.injector.get(Ad);return c.runInitializers(),c.donePromise.then(()=>(function Wg(e){Dt(e,"Expected localeId to be defined"),"string"==typeof e&&(Gg=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Qu,as)||as),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Ov({},r);return function tM(e,t,n){const r=new gd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ls);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new re(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new re(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(xd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)($t(mr))};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ov(e,t){return Array.isArray(t)?t.reduce(Ov,e):{...e,...t}}let ls=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=rt(Pv),this.zoneIsStable=rt(jh),this.componentTypes=[],this.components=[],this.isStable=rt(vv).hasPendingTasks.pipe((0,je.w)(n=>n?(0,z.of)(!1):this.zoneIsStable),function vt(e,t=_e.y){return e=e??Tt,(0,De.e)((n,r)=>{let o,i=!0;n.subscribe((0,Ze.x)(r,s=>{const c=t(s);(i||!e(o,c))&&(i=!1,o=c,r.next(s))}))})}(),X()),this._injector=rt(Nr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Mh;if(!this._injector.get(Ad).done)throw!o&&Hn(n),new re(405,!1);let s;s=o?n:this._injector.get(Mu).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function nM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ii),v=s.create(mr.NULL,[],r||s.selector,c),C=v.location.nativeElement,w=v.injector.get(Ev,null);return w?.registerApplication(C),v.onDestroy(()=>{this.detachView(v.hostView),Ju(this.components,v),w?.unregisterApplication(C)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new re(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ju(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Pd,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ju(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new re(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ju(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Pv=new Ge("",{providedIn:"root",factory:()=>rt(bo).handleError.bind(void 0)});function uM(){const e=rt(Kt),t=rt(bo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cM=(()=>{class e{constructor(){this.zone=rt(Kt),this.applicationRef=rt(ls)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Ye({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let dM=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fM}return e})();function fM(e){return function hM(e,t,n){if(hn(e)&&!n){const r=xn(e.index,t);return new ca(r,r)}return 47&e.type?new ca(t[bt],t):null}(Gt(),Z(),16==(16&e))}class Hv{constructor(){}supports(t){return xu(t)}create(t){return new DM(t)}}const yM=(e,t)=>t;class DM{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||yM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new CM(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new $v),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new $v),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class CM{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class EM{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class $v{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new EM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new IM(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class IM{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Vv(){return new $d([new Hv])}let $d=(()=>{class e{static#e=this.\u0275prov=Ye({token:e,providedIn:"root",factory:Vv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Vv()),deps:[[e,new eu,new Ja]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new re(901,!1)}}return e})();function zv(){return new Bd([new Uv])}let Bd=(()=>{class e{static#e=this.\u0275prov=Ye({token:e,providedIn:"root",factory:zv});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||zv()),deps:[[e,new eu,new Ja]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new re(901,!1)}}return e})();const bM=Sv(null,"core",[]);let SM=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)($t(ls))};static#t=this.\u0275mod=oo({type:e});static#n=this.\u0275inj=ze({})}return e})();function jM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function $M(e){const t=He(e);if(!t)return null;const n=new la(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6593:(Te,ne,M)=>{M.d(ne,{Dx:()=>tr,b2:()=>yt,q6:()=>Ct});var g=M(4946),k=M(6814);class x extends k.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class q extends x{static makeCurrent(){(0,k.HT)(new q)}onAndCancel(N,b,T){return N.addEventListener(b,T),()=>{N.removeEventListener(b,T)}}dispatchEvent(N,b){N.dispatchEvent(b)}remove(N){N.parentNode&&N.parentNode.removeChild(N)}createElement(N,b){return(b=b||this.getDefaultDocument()).createElement(N)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(N){return N.nodeType===Node.ELEMENT_NODE}isShadowRoot(N){return N instanceof DocumentFragment}getGlobalEventTarget(N,b){return"window"===b?window:"document"===b?N:"body"===b?N.body:null}getBaseHref(N){const b=function V(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==b?null:function Ee(U){ce=ce||document.createElement("a"),ce.setAttribute("href",U);const N=ce.pathname;return"/"===N.charAt(0)?N:`/${N}`}(b)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(N){return(0,k.Mx)(document.cookie,N)}}let ce,H=null,oe=(()=>{class U{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(T){return new(T||U)};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const z=new g.OlP("EventManagerPlugins");let ie=(()=>{class U{constructor(b,T){this._zone=T,this._eventNameToPlugin=new Map,b.forEach(W=>{W.manager=this}),this._plugins=b.slice().reverse()}addEventListener(b,T,W){return this._findPluginFor(T).addEventListener(b,T,W)}getZone(){return this._zone}_findPluginFor(b){let T=this._eventNameToPlugin.get(b);if(T)return T;if(T=this._plugins.find(ge=>ge.supports(b)),!T)throw new g.vHH(5101,!1);return this._eventNameToPlugin.set(b,T),T}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(z),g.LFG(g.R0b))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();class De{constructor(N){this._doc=N}}const X="ng-app-id";let Ie=(()=>{class U{constructor(b,T,W,ge={}){this.doc=b,this.appId=T,this.nonce=W,this.platformId=ge,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,k.PM)(ge),this.resetHostNodes()}addStyles(b){for(const T of b)1===this.changeUsageCount(T,1)&&this.onStyleAdded(T)}removeStyles(b){for(const T of b)this.changeUsageCount(T,-1)<=0&&this.onStyleRemoved(T)}ngOnDestroy(){const b=this.styleNodesInDOM;b&&(b.forEach(T=>T.remove()),b.clear());for(const T of this.getAllStyles())this.onStyleRemoved(T);this.resetHostNodes()}addHost(b){this.hostNodes.add(b);for(const T of this.getAllStyles())this.addStyleToHost(b,T)}removeHost(b){this.hostNodes.delete(b)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(b){for(const T of this.hostNodes)this.addStyleToHost(T,b)}onStyleRemoved(b){const T=this.styleRef;T.get(b)?.elements?.forEach(W=>W.remove()),T.delete(b)}collectServerRenderedStyles(){const b=this.doc.head?.querySelectorAll(`style[${X}="${this.appId}"]`);if(b?.length){const T=new Map;return b.forEach(W=>{null!=W.textContent&&T.set(W.textContent,W)}),T}return null}changeUsageCount(b,T){const W=this.styleRef;if(W.has(b)){const ge=W.get(b);return ge.usage+=T,ge.usage}return W.set(b,{usage:T,elements:[]}),T}getStyleElement(b,T){const W=this.styleNodesInDOM,ge=W?.get(T);if(ge?.parentNode===b)return W.delete(T),ge.removeAttribute(X),ge;{const be=this.doc.createElement("style");return this.nonce&&be.setAttribute("nonce",this.nonce),be.textContent=T,this.platformIsServer&&be.setAttribute(X,this.appId),be}}addStyleToHost(b,T){const W=this.getStyleElement(b,T);b.appendChild(W);const ge=this.styleRef,be=ge.get(T)?.elements;be?be.push(W):ge.set(T,{elements:[W],usage:1})}resetHostNodes(){const b=this.hostNodes;b.clear(),b.add(this.doc.head)}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(k.K0),g.LFG(g.AFp),g.LFG(g.Ojb,8),g.LFG(g.Lbi))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const je={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/MathML/"},_e=/%COMP%/g,ue=new g.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function le(U,N){return N.map(b=>b.replace(_e,U))}let se=(()=>{class U{constructor(b,T,W,ge,be,Ke,nt,_t=null){this.eventManager=b,this.sharedStylesHost=T,this.appId=W,this.removeStylesOnCompDestroy=ge,this.doc=be,this.platformId=Ke,this.ngZone=nt,this.nonce=_t,this.rendererByCompId=new Map,this.platformIsServer=(0,k.PM)(Ke),this.defaultRenderer=new J(b,be,nt,this.platformIsServer)}createRenderer(b,T){if(!b||!T)return this.defaultRenderer;this.platformIsServer&&T.encapsulation===g.ifc.ShadowDom&&(T={...T,encapsulation:g.ifc.Emulated});const W=this.getOrCreateRenderer(b,T);return W instanceof Ft?W.applyToHost(b):W instanceof re&&W.applyStyles(),W}getOrCreateRenderer(b,T){const W=this.rendererByCompId;let ge=W.get(T.id);if(!ge){const be=this.doc,Ke=this.ngZone,nt=this.eventManager,_t=this.sharedStylesHost,En=this.removeStylesOnCompDestroy,ln=this.platformIsServer;switch(T.encapsulation){case g.ifc.Emulated:ge=new Ft(nt,_t,T,this.appId,En,be,Ke,ln);break;case g.ifc.ShadowDom:return new Ht(nt,_t,b,T,be,Ke,this.nonce,ln);default:ge=new re(nt,_t,T,En,be,Ke,ln)}W.set(T.id,ge)}return ge}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(ie),g.LFG(Ie),g.LFG(g.AFp),g.LFG(ue),g.LFG(k.K0),g.LFG(g.Lbi),g.LFG(g.R0b),g.LFG(g.Ojb))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();class J{constructor(N,b,T,W){this.eventManager=N,this.doc=b,this.ngZone=T,this.platformIsServer=W,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(N,b){return b?this.doc.createElementNS(je[b]||b,N):this.doc.createElement(N)}createComment(N){return this.doc.createComment(N)}createText(N){return this.doc.createTextNode(N)}appendChild(N,b){(Zt(N)?N.content:N).appendChild(b)}insertBefore(N,b,T){N&&(Zt(N)?N.content:N).insertBefore(b,T)}removeChild(N,b){N&&N.removeChild(b)}selectRootElement(N,b){let T="string"==typeof N?this.doc.querySelector(N):N;if(!T)throw new g.vHH(-5104,!1);return b||(T.textContent=""),T}parentNode(N){return N.parentNode}nextSibling(N){return N.nextSibling}setAttribute(N,b,T,W){if(W){b=W+":"+b;const ge=je[W];ge?N.setAttributeNS(ge,b,T):N.setAttribute(b,T)}else N.setAttribute(b,T)}removeAttribute(N,b,T){if(T){const W=je[T];W?N.removeAttributeNS(W,b):N.removeAttribute(`${T}:${b}`)}else N.removeAttribute(b)}addClass(N,b){N.classList.add(b)}removeClass(N,b){N.classList.remove(b)}setStyle(N,b,T,W){W&(g.JOm.DashCase|g.JOm.Important)?N.style.setProperty(b,T,W&g.JOm.Important?"important":""):N.style[b]=T}removeStyle(N,b,T){T&g.JOm.DashCase?N.style.removeProperty(b):N.style[b]=""}setProperty(N,b,T){N[b]=T}setValue(N,b){N.nodeValue=b}listen(N,b,T){if("string"==typeof N&&!(N=(0,k.q)().getGlobalEventTarget(this.doc,N)))throw new Error(`Unsupported event target ${N} for event ${b}`);return this.eventManager.addEventListener(N,b,this.decoratePreventDefault(T))}decoratePreventDefault(N){return b=>{if("__ngUnwrap__"===b)return N;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>N(b)):N(b))&&b.preventDefault()}}}function Zt(U){return"TEMPLATE"===U.tagName&&void 0!==U.content}class Ht extends J{constructor(N,b,T,W,ge,be,Ke,nt){super(N,ge,be,nt),this.sharedStylesHost=b,this.hostEl=T,this.shadowRoot=T.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _t=le(W.id,W.styles);for(const En of _t){const ln=document.createElement("style");Ke&&ln.setAttribute("nonce",Ke),ln.textContent=En,this.shadowRoot.appendChild(ln)}}nodeOrShadowRoot(N){return N===this.hostEl?this.shadowRoot:N}appendChild(N,b){return super.appendChild(this.nodeOrShadowRoot(N),b)}insertBefore(N,b,T){return super.insertBefore(this.nodeOrShadowRoot(N),b,T)}removeChild(N,b){return super.removeChild(this.nodeOrShadowRoot(N),b)}parentNode(N){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(N)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class re extends J{constructor(N,b,T,W,ge,be,Ke,nt){super(N,ge,be,Ke),this.sharedStylesHost=b,this.removeStylesOnCompDestroy=W,this.styles=nt?le(nt,T.styles):T.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ft extends re{constructor(N,b,T,W,ge,be,Ke,nt){const _t=W+"-"+T.id;super(N,b,T,ge,be,Ke,nt,_t),this.contentAttr=function he(U){return"_ngcontent-%COMP%".replace(_e,U)}(_t),this.hostAttr=function $e(U){return"_nghost-%COMP%".replace(_e,U)}(_t)}applyToHost(N){this.applyStyles(),this.setAttribute(N,this.hostAttr,"")}createElement(N,b){const T=super.createElement(N,b);return super.setAttribute(T,this.contentAttr,""),T}}let Ce=(()=>{class U extends De{constructor(b){super(b)}supports(b){return!0}addEventListener(b,T,W){return b.addEventListener(T,W,!1),()=>this.removeEventListener(b,T,W)}removeEventListener(b,T,W){return b.removeEventListener(T,W)}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(k.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const qe=["alt","control","meta","shift"],L={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},P={alt:U=>U.altKey,control:U=>U.ctrlKey,meta:U=>U.metaKey,shift:U=>U.shiftKey};let $=(()=>{class U extends De{constructor(b){super(b)}supports(b){return null!=U.parseEventName(b)}addEventListener(b,T,W){const ge=U.parseEventName(T),be=U.eventCallback(ge.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,k.q)().onAndCancel(b,ge.domEventName,be))}static parseEventName(b){const T=b.toLowerCase().split("."),W=T.shift();if(0===T.length||"keydown"!==W&&"keyup"!==W)return null;const ge=U._normalizeKey(T.pop());let be="",Ke=T.indexOf("code");if(Ke>-1&&(T.splice(Ke,1),be="code."),qe.forEach(_t=>{const En=T.indexOf(_t);En>-1&&(T.splice(En,1),be+=_t+".")}),be+=ge,0!=T.length||0===ge.length)return null;const nt={};return nt.domEventName=W,nt.fullKey=be,nt}static matchEventFullKeyCode(b,T){let W=L[b.key]||b.key,ge="";return T.indexOf("code.")>-1&&(W=b.code,ge="code."),!(null==W||!W)&&(W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),qe.forEach(be=>{be!==W&&(0,P[be])(b)&&(ge+=be+".")}),ge+=W,ge===T)}static eventCallback(b,T,W){return ge=>{U.matchEventFullKeyCode(ge,b)&&W.runGuarded(()=>T(ge))}}static _normalizeKey(b){return"esc"===b?"escape":b}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(k.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const Ct=(0,g.eFA)(g._c5,"browser",[{provide:g.Lbi,useValue:k.bD},{provide:g.g9A,useValue:function Ne(){q.makeCurrent()},multi:!0},{provide:k.K0,useFactory:function Oe(){return(0,g.RDi)(document),document},deps:[]}]),Et=new g.OlP(""),Vt=[{provide:g.rWj,useClass:class pe{addToWindow(N){g.dqk.getAngularTestability=(T,W=!0)=>{const ge=N.findTestabilityInTree(T,W);if(null==ge)throw new g.vHH(5103,!1);return ge},g.dqk.getAllAngularTestabilities=()=>N.getAllTestabilities(),g.dqk.getAllAngularRootElements=()=>N.getAllRootElements(),g.dqk.frameworkStabilizers||(g.dqk.frameworkStabilizers=[]),g.dqk.frameworkStabilizers.push(T=>{const W=g.dqk.getAllAngularTestabilities();let ge=W.length,be=!1;const Ke=function(nt){be=be||nt,ge--,0==ge&&T(be)};W.forEach(nt=>{nt.whenStable(Ke)})})}findTestabilityInTree(N,b,T){return null==b?null:N.getTestability(b)??(T?(0,k.q)().isShadowRoot(b)?this.findTestabilityInTree(N,b.host,!0):this.findTestabilityInTree(N,b.parentElement,!0):null)}},deps:[]},{provide:g.lri,useClass:g.dDg,deps:[g.R0b,g.eoX,g.rWj]},{provide:g.dDg,useClass:g.dDg,deps:[g.R0b,g.eoX,g.rWj]}],Qt=[{provide:g.zSh,useValue:"root"},{provide:g.qLn,useFactory:function ut(){return new g.qLn},deps:[]},{provide:z,useClass:Ce,multi:!0,deps:[k.K0,g.R0b,g.Lbi]},{provide:z,useClass:$,multi:!0,deps:[k.K0]},se,Ie,ie,{provide:g.FYo,useExisting:se},{provide:k.JF,useClass:oe,deps:[]},[]];let yt=(()=>{class U{constructor(b){}static withServerTransition(b){return{ngModule:U,providers:[{provide:g.AFp,useValue:b.appId}]}}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(Et,12))};static#t=this.\u0275mod=g.oAB({type:U});static#n=this.\u0275inj=g.cJS({providers:[...Qt,...Vt],imports:[k.ez,g.hGG]})}return U})(),tr=(()=>{class U{constructor(b){this._doc=b}getTitle(){return this._doc.title}setTitle(b){this._doc.title=b||""}static#e=this.\u0275fac=function(T){return new(T||U)(g.LFG(k.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:function(T){let W=null;return W=T?new T:function Le(){return new tr((0,g.LFG)(k.K0))}(),W},providedIn:"root"})}return U})();typeof window<"u"&&window},1643:(Te,ne,M)=>{M.d(ne,{rH:()=>Zr,Od:()=>Jt,Bz:()=>Ba,lC:()=>rn});var g=M(4946),k=M(5592),x=M(4674),H=M(7715),V=M(2096),ce=M(5619),Ee=M(7453),pe=M(2737),oe=M(7400),z=M(9940),ie=M(2714),De=M(8251),X=M(7103);function Ie(...u){const d=(0,z.yG)(u),a=(0,z.jO)(u),{args:f,keys:m}=(0,Ee.D)(u);if(0===f.length)return(0,H.D)([],d);const E=new k.y(function je(u,d,a=pe.y){return f=>{_e(d,()=>{const{length:m}=u,E=new Array(m);let I=m,O=m;for(let R=0;R{const ae=(0,H.D)(u[R],d);let Pe=!1;ae.subscribe((0,De.x)(f,at=>{E[R]=at,Pe||(Pe=!0,O--),O||f.next(a(E.slice()))},()=>{--I||f.complete()}))},f)},f)}}(f,d,m?I=>(0,ie.n)(m,I):pe.y));return a?E.pipe((0,oe.Z)(a)):E}function _e(u,d,a){u?(0,X.f)(a,u,d):d()}const vt=(0,M(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var Tt=M(5211),ee=M(4829);function ue(u){return new k.y(d=>{(0,ee.Xf)(u()).subscribe(d)})}var he=M(8407);function $e(u,d){const a=(0,x.m)(u)?u:()=>u,f=m=>m.error(a());return new k.y(d?m=>d.schedule(f,0,m):f)}var le=M(6232),se=M(7394),J=M(9360);function we(){return(0,J.e)((u,d)=>{let a=null;u._refCount++;const f=(0,De.x)(d,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(a=null);const m=u._connection,E=a;a=null,m&&(!E||m===E)&&m.unsubscribe(),d.unsubscribe()});u.subscribe(f),f.closed||(a=u.connect())})}class Pt extends k.y{constructor(d,a){super(),this.source=d,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,J.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,d?.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new se.w0;const a=this.getSubject();d.add(this.source.subscribe((0,De.x)(a,void 0,()=>{this._teardown(),a.complete()},f=>{this._teardown(),a.error(f)},()=>this._teardown()))),d.closed&&(this._connection=null,d=se.w0.EMPTY)}return d}refCount(){return we()(this)}}var Zt=M(8645),Ht=M(6814),re=M(7398),Ft=M(4664),Ce=M(8180);function L(u,d){return(0,J.e)((a,f)=>{let m=0;a.subscribe((0,De.x)(f,E=>u.call(d,E,m++)&&f.next(E)))})}var P=M(1631);function $(u){return(0,J.e)((d,a)=>{let f=!1;d.subscribe((0,De.x)(a,m=>{f=!0,a.next(m)},()=>{f||a.next(u),a.complete()}))})}function B(u=K){return(0,J.e)((d,a)=>{let f=!1;d.subscribe((0,De.x)(a,m=>{f=!0,a.next(m)},()=>f?a.complete():a.error(u())))})}function K(){return new vt}function te(u,d){const a=arguments.length>=2;return f=>f.pipe(u?L((m,E)=>u(m,E,f)):pe.y,(0,Ce.q)(1),a?$(d):B(()=>new vt))}function Me(u,d){return(0,x.m)(d)?(0,P.z)(u,d,1):(0,P.z)(u,1)}function Ne(u,d,a){const f=(0,x.m)(u)||d||a?{next:u,error:d,complete:a}:u;return f?(0,J.e)((m,E)=>{var I;null===(I=f.subscribe)||void 0===I||I.call(f);let O=!0;m.subscribe((0,De.x)(E,R=>{var ae;null===(ae=f.next)||void 0===ae||ae.call(f,R),E.next(R)},()=>{var R;O=!1,null===(R=f.complete)||void 0===R||R.call(f),E.complete()},R=>{var ae;O=!1,null===(ae=f.error)||void 0===ae||ae.call(f,R),E.error(R)},()=>{var R,ae;O&&(null===(R=f.unsubscribe)||void 0===R||R.call(f)),null===(ae=f.finalize)||void 0===ae||ae.call(f)}))}):pe.y}function ut(u){return(0,J.e)((d,a)=>{let E,f=null,m=!1;f=d.subscribe((0,De.x)(a,void 0,void 0,I=>{E=(0,ee.Xf)(u(I,ut(u)(d))),f?(f.unsubscribe(),f=null,E.subscribe(a)):m=!0})),m&&(f.unsubscribe(),f=null,E.subscribe(a))})}function Ct(u){return u<=0?()=>le.E:(0,J.e)((d,a)=>{let f=[];d.subscribe((0,De.x)(a,m=>{f.push(m),u{for(const m of f)a.next(m);a.complete()},void 0,()=>{f=null}))})}var Vt=M(975);function Qt(u){return(0,J.e)((d,a)=>{try{d.subscribe(a)}finally{a.add(u)}})}var yt=M(2420),Dt=M(7537),Se=M(6593);const Le="primary",tr=Symbol("RouteTitle");class nr{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a[0]:a}return null}getAll(d){if(this.has(d)){const a=this.params[d];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Ye(u){return new nr(u)}function Dn(u,d,a){const f=a.path.split("/");if(f.length>u.length||"full"===a.pathMatch&&(d.hasChildren()||f.lengthf[E]===m)}return u===d}function rr(u){return u.length>0?u[u.length-1]:null}function Lt(u){return function q(u){return!!u&&(u instanceof k.y||(0,x.m)(u.lift)&&(0,x.m)(u.subscribe))}(u)?u:(0,g.QGY)(u)?(0,H.D)(Promise.resolve(u)):(0,V.of)(u)}const zn={exact:function Ao(u,d,a){if(!Cn(u.segments,d.segments)||!Nt(u.segments,d.segments,a)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const f in d.children)if(!u.children[f]||!Ao(u.children[f],d.children[f],a))return!1;return!0},subset:Hr},kt={exact:function wt(u,d){return Ae(u,d)},subset:function ve(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(a=>kr(u[a],d[a]))},ignored:()=>!0};function jr(u,d,a){return zn[a.paths](u.root,d.root,a.matrixParams)&&kt[a.queryParams](u.queryParams,d.queryParams)&&!("exact"===a.fragment&&u.fragment!==d.fragment)}function Hr(u,d,a){return or(u,d,d.segments,a)}function or(u,d,a,f){if(u.segments.length>a.length){const m=u.segments.slice(0,a.length);return!(!Cn(m,a)||d.hasChildren()||!Nt(m,a,f))}if(u.segments.length===a.length){if(!Cn(u.segments,a)||!Nt(u.segments,a,f))return!1;for(const m in d.children)if(!u.children[m]||!Hr(u.children[m],d.children[m],f))return!1;return!0}{const m=a.slice(0,u.segments.length),E=a.slice(u.segments.length);return!!(Cn(u.segments,m)&&Nt(u.segments,m,f)&&u.children[Le])&&or(u.children[Le],d,E,f)}}function Nt(u,d,a){return d.every((f,m)=>kt[a](u[m].parameters,f.parameters))}class cn{constructor(d=new tt([],{}),a={},f=null){this.root=d,this.queryParams=a,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return No.serialize(this)}}class tt{constructor(d,a){this.segments=d,this.children=a,this.parent=null,Object.values(a).forEach(f=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sr(this)}}class it{constructor(d,a){this.path=d,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Ye(this.parameters)),this._parameterMap}toString(){return Ke(this)}}function Cn(u,d){return u.length===d.length&&u.every((a,f)=>a.path===d[f].path)}let Gn=(()=>{class u{static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:function(){return new ir},providedIn:"root"})}return u})();class ir{parse(d){const a=new $t(d);return new cn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(d){const a=`/${U(d.root,!0)}`,f=function _t(u){const d=Object.keys(u).map(a=>{const f=u[a];return Array.isArray(f)?f.map(m=>`${b(a)}=${b(m)}`).join("&"):`${b(a)}=${b(f)}`}).filter(a=>!!a);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${a}${f}${"string"==typeof d.fragment?`#${function T(u){return encodeURI(u)}(d.fragment)}`:""}`}}const No=new ir;function sr(u){return u.segments.map(d=>Ke(d)).join("/")}function U(u,d){if(!u.hasChildren())return sr(u);if(d){const a=u.children[Le]?U(u.children[Le],!1):"",f=[];return Object.entries(u.children).forEach(([m,E])=>{m!==Le&&f.push(`${m}:${U(E,!1)}`)}),f.length>0?`${a}(${f.join("//")})`:a}{const a=function Ge(u,d){let a=[];return Object.entries(u.children).forEach(([f,m])=>{f===Le&&(a=a.concat(d(m,f)))}),Object.entries(u.children).forEach(([f,m])=>{f!==Le&&(a=a.concat(d(m,f)))}),a}(u,(f,m)=>m===Le?[U(u.children[Le],!1)]:[`${m}:${U(f,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[Le]?`${sr(u)}/${a[0]}`:`${sr(u)}/(${a.join("//")})`}}function N(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function b(u){return N(u).replace(/%3B/gi,";")}function W(u){return N(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ge(u){return decodeURIComponent(u)}function be(u){return ge(u.replace(/\+/g,"%20"))}function Ke(u){return`${W(u.path)}${function nt(u){return Object.keys(u).map(d=>`;${W(d)}=${W(u[d])}`).join("")}(u.parameters)}`}const En=/^[^\/()?;#]+/;function ln(u){const d=u.match(En);return d?d[0]:""}const Oo=/^[^\/()?;=#]+/,Dr=/^[^=?&#]+/,wn=/^[^&#]+/;class $t{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new tt([],{}):new tt([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(d.length>0||Object.keys(a).length>0)&&(f[Le]=new tt(d,a)),f}parseSegment(){const d=ln(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new g.vHH(4009,!1);return this.capture(d),new it(ge(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const a=function ai(u){const d=u.match(Oo);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const m=ln(this.remaining);m&&(f=m,this.capture(f))}d[ge(a)]=ge(f)}parseQueryParam(d){const a=function fs(u){const d=u.match(Dr);return d?d[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const I=function hs(u){const d=u.match(wn);return d?d[0]:""}(this.remaining);I&&(f=I,this.capture(f))}const m=be(a),E=be(f);if(d.hasOwnProperty(m)){let I=d[m];Array.isArray(I)||(I=[I],d[m]=I),I.push(E)}else d[m]=E}parseParens(d){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=ln(this.remaining),m=this.remaining[f.length];if("/"!==m&&")"!==m&&";"!==m)throw new g.vHH(4010,!1);let E;f.indexOf(":")>-1?(E=f.slice(0,f.indexOf(":")),this.capture(E),this.capture(":")):d&&(E=Le);const I=this.parseChildren();a[E]=1===Object.keys(I).length?I[Le]:new tt([],I),this.consumeOptional("//")}return a}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new g.vHH(4011,!1)}}function xo(u){return u.segments.length>0?new tt([],{[Le]:u}):u}function rt(u){const d={};for(const f of Object.keys(u.children)){const E=rt(u.children[f]);if(f===Le&&0===E.segments.length&&E.hasChildren())for(const[I,O]of Object.entries(E.children))d[I]=O;else(E.segments.length>0||E.hasChildren())&&(d[f]=E)}return function Cr(u){if(1===u.numberOfChildren&&u.children[Le]){const d=u.children[Le];return new tt(u.segments.concat(d.segments),d.children)}return u}(new tt(u.segments,d))}function In(u){return u instanceof cn}function ps(u){let d;const m=xo(function a(E){const I={};for(const R of E.children){const ae=a(R);I[R.outlet]=ae}const O=new tt(E.url,I);return E===u&&(d=O),O}(u.root));return d??m}function ui(u,d,a,f){let m=u;for(;m.parent;)m=m.parent;if(0===d.length)return wr(m,m,m,a,f);const E=function Qe(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new en(!0,0,u);let d=0,a=!1;const f=u.reduce((m,E,I)=>{if("object"==typeof E&&null!=E){if(E.outlets){const O={};return Object.entries(E.outlets).forEach(([R,ae])=>{O[R]="string"==typeof ae?ae.split("/"):ae}),[...m,{outlets:O}]}if(E.segmentPath)return[...m,E.segmentPath]}return"string"!=typeof E?[...m,E]:0===I?(E.split("/").forEach((O,R)=>{0==R&&"."===O||(0==R&&""===O?a=!0:".."===O?d++:""!=O&&m.push(O))}),m):[...m,E]},[]);return new en(a,d,f)}(d);if(E.toRoot())return wr(m,m,new tt([],{}),a,f);const I=function eo(u,d,a){if(u.isAbsolute)return new Wn(d,!0,0);if(!a)return new Wn(d,!1,NaN);if(null===a.parent)return new Wn(a,!0,0);const f=Er(u.commands[0])?0:1;return function ci(u,d,a){let f=u,m=d,E=a;for(;E>m;){if(E-=m,f=f.parent,!f)throw new g.vHH(4005,!1);m=f.segments.length}return new Wn(f,!1,m-E)}(a,a.segments.length-1+f,u.numberOfDoubleDots)}(E,m,u),O=I.processChildren?Mn(I.segmentGroup,I.index,E.commands):_n(I.segmentGroup,I.index,E.commands);return wr(m,I.segmentGroup,O,a,f)}function Er(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function qt(u){return"object"==typeof u&&null!=u&&u.outlets}function wr(u,d,a,f,m){let I,E={};f&&Object.entries(f).forEach(([R,ae])=>{E[R]=Array.isArray(ae)?ae.map(Pe=>`${Pe}`):`${ae}`}),I=u===d?a:jn(u,d,a);const O=xo(rt(I));return new cn(O,E,m)}function jn(u,d,a){const f={};return Object.entries(u.children).forEach(([m,E])=>{f[m]=E===d?a:jn(E,d,a)}),new tt(u.segments,f)}class en{constructor(d,a,f){if(this.isAbsolute=d,this.numberOfDoubleDots=a,this.commands=f,d&&f.length>0&&Er(f[0]))throw new g.vHH(4003,!1);const m=f.find(qt);if(m&&m!==rr(f))throw new g.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wn{constructor(d,a,f){this.segmentGroup=d,this.processChildren=a,this.index=f}}function _n(u,d,a){if(u||(u=new tt([],{})),0===u.segments.length&&u.hasChildren())return Mn(u,d,a);const f=function to(u,d,a){let f=0,m=d;const E={match:!1,pathIndex:0,commandIndex:0};for(;m=a.length)return E;const I=u.segments[m],O=a[f];if(qt(O))break;const R=`${O}`,ae=f0&&void 0===R)break;if(R&&ae&&"object"==typeof ae&&void 0===ae.outlets){if(!li(R,ae,I))return E;f+=2}else{if(!li(R,{},I))return E;f++}m++}return{match:!0,pathIndex:m,commandIndex:f}}(u,d,a),m=a.slice(f.commandIndex);if(f.match&&f.pathIndexE!==Le)&&u.children[Le]&&1===u.numberOfChildren&&0===u.children[Le].segments.length){const E=Mn(u.children[Le],d,a);return new tt(u.segments,E.children)}return Object.entries(f).forEach(([E,I])=>{"string"==typeof I&&(I=[I]),null!==I&&(m[E]=_n(u.children[E],d,I))}),Object.entries(u.children).forEach(([E,I])=>{void 0===f[E]&&(m[E]=I)}),new tt(u.segments,m)}}function Ir(u,d,a){const f=u.segments.slice(0,d);let m=0;for(;m{"string"==typeof f&&(f=[f]),null!==f&&(d[a]=Ir(new tt([],{}),0,f))}),d}function Lo(u){const d={};return Object.entries(u).forEach(([a,f])=>d[a]=`${f}`),d}function li(u,d,a){return u==a.path&&Ae(d,a.parameters)}const bn="imperative";class Sn{constructor(d,a){this.id=d,this.url=a}}class no extends Sn{constructor(d,a,f="imperative",m=null){super(d,a),this.type=0,this.navigationTrigger=f,this.restoredState=m}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ar extends Sn{constructor(d,a,f){super(d,a),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Br extends Sn{constructor(d,a,f,m){super(d,a),this.reason=f,this.code=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Bt extends Sn{constructor(d,a,f,m){super(d,a),this.reason=f,this.code=m,this.type=16}}class ro extends Sn{constructor(d,a,f,m){super(d,a),this.error=f,this.target=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class tn extends Sn{constructor(d,a,f,m){super(d,a),this.urlAfterRedirects=f,this.state=m,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gs extends Sn{constructor(d,a,f,m){super(d,a),this.urlAfterRedirects=f,this.state=m,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class di extends Sn{constructor(d,a,f,m,E){super(d,a),this.urlAfterRedirects=f,this.state=m,this.shouldActivate=E,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ms extends Sn{constructor(d,a,f,m){super(d,a),this.urlAfterRedirects=f,this.state=m,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vs extends Sn{constructor(d,a,f,m){super(d,a),this.urlAfterRedirects=f,this.state=m,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ys{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ds{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class fi{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cs{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Es{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ws{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(d,a,f){this.routerEvent=d,this.position=a,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class jo{}class Ho{constructor(d){this.url=d}}class oo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ur,this.attachRef=null}}let Ur=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(a,f){const m=this.getOrCreateContext(a);m.outlet=f,this.contexts.set(a,m)}onChildOutletDestroyed(a){const f=this.getContext(a);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let f=this.getContext(a);return f||(f=new oo,this.contexts.set(a,f)),f}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class $o{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const a=this.pathFromRoot(d);return a.length>1?a[a.length-2]:null}children(d){const a=Vr(d,this._root);return a?a.children.map(f=>f.value):[]}firstChild(d){const a=Vr(d,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(d){const a=io(d,this._root);return a.length<2?[]:a[a.length-2].children.map(m=>m.value).filter(m=>m!==d)}pathFromRoot(d){return io(d,this._root).map(a=>a.value)}}function Vr(u,d){if(u===d.value)return d;for(const a of d.children){const f=Vr(u,a);if(f)return f}return null}function io(u,d){if(u===d.value)return[d];for(const a of d.children){const f=io(u,a);if(f.length)return f.unshift(d),f}return[]}class He{constructor(d,a){this.value=d,this.children=a}toString(){return`TreeNode(${this.value})`}}function It(u){const d={};return u&&u.children.forEach(a=>d[a.value.outlet]=a),d}class Ot extends $o{constructor(d,a){super(d),this.snapshot=a,gt(this,d)}toString(){return this.snapshot.toString()}}function Hn(u,d){const a=function nn(u,d){const I=new so([],{},{},"",{},Le,d,null,{});return new hi("",new He(I,[]))}(0,d),f=new ce.X([new it("",{})]),m=new ce.X({}),E=new ce.X({}),I=new ce.X({}),O=new ce.X(""),R=new _r(f,m,I,O,E,Le,d,a.root);return R.snapshot=a.root,new Ot(new He(R,[]),a)}class _r{constructor(d,a,f,m,E,I,O,R){this.urlSubject=d,this.paramsSubject=a,this.queryParamsSubject=f,this.fragmentSubject=m,this.dataSubject=E,this.outlet=I,this.component=O,this._futureSnapshot=R,this.title=this.dataSubject?.pipe((0,re.U)(ae=>ae[tr]))??(0,V.of)(void 0),this.url=d,this.params=a,this.queryParams=f,this.fragment=m,this.data=E}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,re.U)(d=>Ye(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,re.U)(d=>Ye(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bo(u,d="emptyOnly"){const a=u.pathFromRoot;let f=0;if("always"!==d)for(f=a.length-1;f>=1;){const m=a[f],E=a[f-1];if(m.routeConfig&&""===m.routeConfig.path)f--;else{if(E.component)break;f--}}return function zr(u){return u.reduce((d,a)=>({params:{...d.params,...a.params},data:{...d.data,...a.data},resolve:{...a.data,...d.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(f))}class so{get title(){return this.data?.[tr]}constructor(d,a,f,m,E,I,O,R,ae){this.url=d,this.params=a,this.queryParams=f,this.fragment=m,this.data=E,this.outlet=I,this.component=O,this.routeConfig=R,this._resolve=ae}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hi extends $o{constructor(d,a){super(a),this.url=d,gt(this,a)}toString(){return fe(this._root)}}function gt(u,d){d.value._routerState=u,d.children.forEach(a=>gt(u,a))}function fe(u){const d=u.children.length>0?` { ${u.children.map(fe).join(", ")} } `:"";return`${u.value}${d}`}function xe(u){if(u.snapshot){const d=u.snapshot,a=u._futureSnapshot;u.snapshot=a,Ae(d.queryParams,a.queryParams)||u.queryParamsSubject.next(a.queryParams),d.fragment!==a.fragment&&u.fragmentSubject.next(a.fragment),Ae(d.params,a.params)||u.paramsSubject.next(a.params),function ze(u,d){if(u.length!==d.length)return!1;for(let a=0;aAe(a.parameters,d[f].parameters))}(u.url,d.url);return a&&!(!u.parent!=!d.parent)&&(!u.parent||ht(u.parent,d.parent))}let rn=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Le,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.parentContexts=(0,g.f3M)(Ur),this.location=(0,g.f3M)(g.s_b),this.changeDetector=(0,g.f3M)(g.sBO),this.environmentInjector=(0,g.f3M)(g.lqb),this.inputBinder=(0,g.f3M)(At,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:f,previousValue:m}=a.name;if(f)return;this.isTrackedInParentContexts(m)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(m)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,f){this.activated=a,this._activatedRoute=f,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,f){if(this.isActivated)throw new g.vHH(4013,!1);this._activatedRoute=a;const m=this.location,I=a.snapshot.component,O=this.parentContexts.getOrCreateContext(this.name).children,R=new ao(a,O,m.injector);this.activated=m.createComponent(I,{index:m.length,injector:R,environmentInjector:f??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275dir=g.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[g.TTD]})}return u})();class ao{constructor(d,a,f){this.route=d,this.childContexts=a,this.parent=f}get(d,a){return d===_r?this.route:d===Ur?this.childContexts:this.parent.get(d,a)}}const At=new g.OlP("");let ur=(()=>{class u{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:f}=a,m=Ie([f.queryParams,f.params,f.data]).pipe((0,Ft.w)(([E,I,O],R)=>(O={...E,...I,...O},0===R?(0,V.of)(O):Promise.resolve(O)))).subscribe(E=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==f||null===f.component)return void this.unsubscribeFromRouteData(a);const I=(0,g.qFp)(f.component);if(I)for(const{templateName:O}of I.inputs)a.activatedComponentRef.setInput(O,E[O]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,m)}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac})}return u})();function dn(u,d,a){if(a&&u.shouldReuseRoute(d.value,a.value.snapshot)){const f=a.value;f._futureSnapshot=d.value;const m=function Mr(u,d,a){return d.children.map(f=>{for(const m of a.children)if(u.shouldReuseRoute(f.value,m.value.snapshot))return dn(u,f,m);return dn(u,f)})}(u,d,a);return new He(f,m)}{if(u.shouldAttach(d.value)){const E=u.retrieve(d.value);if(null!==E){const I=E.route;return I.value._futureSnapshot=d.value,I.children=d.children.map(O=>dn(u,O)),I}}const f=function Fe(u){return new _r(new ce.X(u.url),new ce.X(u.params),new ce.X(u.queryParams),new ce.X(u.fragment),new ce.X(u.data),u.outlet,u.component,u)}(d.value),m=d.children.map(E=>dn(u,E));return new He(f,m)}}const $n="ngNavigationCancelingError";function pi(u,d){const{redirectTo:a,navigationBehaviorOptions:f}=In(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,m=cr(!1,0,d);return m.url=a,m.navigationBehaviorOptions=f,m}function cr(u,d,a){const f=new Error("NavigationCancelingError: "+(u||""));return f[$n]=!0,f.cancellationCode=d,a&&(f.url=a),f}function br(u){return u&&u[$n]}let Tn=(()=>{class u{static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275cmp=g.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[g.jDz],decls:1,vars:0,template:function(f,m){1&f&&g._UZ(0,"router-outlet")},dependencies:[rn],encapsulation:2})}return u})();function lo(u){const d=u.children&&u.children.map(lo),a=d?{...u,children:d}:{...u};return!a.component&&!a.loadComponent&&(d||a.loadChildren)&&a.outlet&&a.outlet!==Le&&(a.component=Tn),a}function fn(u){return u.outlet||Le}function Yn(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const a=d.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class Ut{constructor(d,a,f,m,E){this.routeReuseStrategy=d,this.futureState=a,this.currState=f,this.forwardEvent=m,this.inputBindingEnabled=E}activate(d){const a=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,f,d),xe(this.futureState.root),this.activateChildRoutes(a,f,d)}deactivateChildRoutes(d,a,f){const m=It(a);d.children.forEach(E=>{const I=E.value.outlet;this.deactivateRoutes(E,m[I],f),delete m[I]}),Object.values(m).forEach(E=>{this.deactivateRouteAndItsChildren(E,f)})}deactivateRoutes(d,a,f){const m=d.value,E=a?a.value:null;if(m===E)if(m.component){const I=f.getContext(m.outlet);I&&this.deactivateChildRoutes(d,a,I.children)}else this.deactivateChildRoutes(d,a,f);else E&&this.deactivateRouteAndItsChildren(a,f)}deactivateRouteAndItsChildren(d,a){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,a):this.deactivateRouteAndOutlet(d,a)}detachAndStoreRouteSubtree(d,a){const f=a.getContext(d.value.outlet),m=f&&d.value.component?f.children:a,E=It(d);for(const I of Object.keys(E))this.deactivateRouteAndItsChildren(E[I],m);if(f&&f.outlet){const I=f.outlet.detach(),O=f.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:I,route:d,contexts:O})}}deactivateRouteAndOutlet(d,a){const f=a.getContext(d.value.outlet),m=f&&d.value.component?f.children:a,E=It(d);for(const I of Object.keys(E))this.deactivateRouteAndItsChildren(E[I],m);f&&(f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated()),f.attachRef=null,f.route=null)}activateChildRoutes(d,a,f){const m=It(a);d.children.forEach(E=>{this.activateRoutes(E,m[E.value.outlet],f),this.forwardEvent(new ws(E.value.snapshot))}),d.children.length&&this.forwardEvent(new Cs(d.value.snapshot))}activateRoutes(d,a,f){const m=d.value,E=a?a.value:null;if(xe(m),m===E)if(m.component){const I=f.getOrCreateContext(m.outlet);this.activateChildRoutes(d,a,I.children)}else this.activateChildRoutes(d,a,f);else if(m.component){const I=f.getOrCreateContext(m.outlet);if(this.routeReuseStrategy.shouldAttach(m.snapshot)){const O=this.routeReuseStrategy.retrieve(m.snapshot);this.routeReuseStrategy.store(m.snapshot,null),I.children.onOutletReAttached(O.contexts),I.attachRef=O.componentRef,I.route=O.route.value,I.outlet&&I.outlet.attach(O.componentRef,O.route.value),xe(O.route.value),this.activateChildRoutes(d,null,I.children)}else{const O=Yn(m.snapshot);I.attachRef=null,I.route=m,I.injector=O,I.outlet&&I.outlet.activateWith(m,I.injector),this.activateChildRoutes(d,null,I.children)}}else this.activateChildRoutes(d,null,f)}}class _s{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class jt{constructor(d,a){this.component=d,this.route=a}}function zt(u,d,a){const f=u._root;return ot(f,d?d._root:null,a,[f.value])}function hn(u,d){const a=Symbol(),f=d.get(u,a);return f===a?"function"!=typeof u||(0,g.Z0I)(u)?d.get(u):u:f}function ot(u,d,a,f,m={canDeactivateChecks:[],canActivateChecks:[]}){const E=It(d);return u.children.forEach(I=>{(function Nn(u,d,a,f,m={canDeactivateChecks:[],canActivateChecks:[]}){const E=u.value,I=d?d.value:null,O=a?a.getContext(u.value.outlet):null;if(I&&E.routeConfig===I.routeConfig){const R=function mi(u,d,a){if("function"==typeof a)return a(u,d);switch(a){case"pathParamsChange":return!Cn(u.url,d.url);case"pathParamsOrQueryParamsChange":return!Cn(u.url,d.url)||!Ae(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ht(u,d)||!Ae(u.queryParams,d.queryParams);default:return!ht(u,d)}}(I,E,E.routeConfig.runGuardsAndResolvers);R?m.canActivateChecks.push(new _s(f)):(E.data=I.data,E._resolvedData=I._resolvedData),ot(u,d,E.component?O?O.children:null:a,f,m),R&&O&&O.outlet&&O.outlet.isActivated&&m.canDeactivateChecks.push(new jt(O.outlet.component,I))}else I&&ho(d,O,m),m.canActivateChecks.push(new _s(f)),ot(u,null,E.component?O?O.children:null:a,f,m)})(I,E[I.value.outlet],a,f.concat([I.value]),m),delete E[I.value.outlet]}),Object.entries(E).forEach(([I,O])=>ho(O,a.getContext(I),m)),m}function ho(u,d,a){const f=It(u),m=u.value;Object.entries(f).forEach(([E,I])=>{ho(I,m.component?d?d.children.getContext(E):null:d,a)}),a.canDeactivateChecks.push(new jt(m.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,m))}function po(u){return"function"==typeof u}function bs(u){return u instanceof vt||"EmptyError"===u?.name}const Vo=Symbol("INITIAL_VALUE");function fr(){return(0,Ft.w)(u=>Ie(u.map(d=>d.pipe((0,Ce.q)(1),function qe(...u){const d=(0,z.yG)(u);return(0,J.e)((a,f)=>{(d?(0,Tt.z)(u,a,d):(0,Tt.z)(u,a)).subscribe(f)})}(Vo)))).pipe((0,re.U)(d=>{for(const a of d)if(!0!==a){if(a===Vo)return Vo;if(!1===a||a instanceof cn)return a}return!0}),L(d=>d!==Vo),(0,Ce.q)(1)))}function hr(u){return(0,he.z)(Ne(d=>{if(In(d))throw pi(0,d)}),(0,re.U)(d=>!0===d))}class vi{constructor(d){this.segmentGroup=d||null}}class Oa{constructor(d){this.urlTree=d}}function St(u){return $e(new vi(u))}function mo(u){return $e(new Oa(u))}class yi{constructor(d,a){this.urlSerializer=d,this.urlTree=a}noMatchError(d){return new g.vHH(4002,!1)}lineralizeSegments(d,a){let f=[],m=a.root;for(;;){if(f=f.concat(m.segments),0===m.numberOfChildren)return(0,V.of)(f);if(m.numberOfChildren>1||!m.children[Le])return $e(new g.vHH(4e3,!1));m=m.children[Le]}}applyRedirectCommands(d,a,f){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),d,f)}applyRedirectCreateUrlTree(d,a,f,m){const E=this.createSegmentGroup(d,a.root,f,m);return new cn(E,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(d,a){const f={};return Object.entries(d).forEach(([m,E])=>{if("string"==typeof E&&E.startsWith(":")){const O=E.substring(1);f[m]=a[O]}else f[m]=E}),f}createSegmentGroup(d,a,f,m){const E=this.createSegments(d,a.segments,f,m);let I={};return Object.entries(a.children).forEach(([O,R])=>{I[O]=this.createSegmentGroup(d,R,f,m)}),new tt(E,I)}createSegments(d,a,f,m){return a.map(E=>E.path.startsWith(":")?this.findPosParam(d,E,m):this.findOrReturn(E,f))}findPosParam(d,a,f){const m=f[a.path.substring(1)];if(!m)throw new g.vHH(4001,!1);return m}findOrReturn(d,a){let f=0;for(const m of a){if(m.path===d.path)return a.splice(f),m;f++}return d}}const Go={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Di(u,d,a,f,m){const E=Wr(u,d,a);return E.matched?(f=function An(u,d){return u.providers&&!u._injector&&(u._injector=(0,g.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}(d,f),function pr(u,d,a,f){const m=d.canMatch;if(!m||0===m.length)return(0,V.of)(!0);const E=m.map(I=>{const O=hn(I,u);return Lt(function ic(u){return u&&po(u.canMatch)}(O)?O.canMatch(d,a):u.runInContext(()=>O(d,a)))});return(0,V.of)(E).pipe(fr(),hr())}(f,d,a).pipe((0,re.U)(I=>!0===I?E:{...Go}))):(0,V.of)(E)}function Wr(u,d,a){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||a.length>0)?{...Go}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const m=(d.matcher||Dn)(a,u,d);if(!m)return{...Go};const E={};Object.entries(m.posParams??{}).forEach(([O,R])=>{E[O]=R.path});const I=m.consumed.length>0?{...E,...m.consumed[m.consumed.length-1].parameters}:E;return{matched:!0,consumedSegments:m.consumed,remainingSegments:a.slice(m.consumed.length),parameters:I,positionalParamSegments:m.posParams??{}}}function Ci(u,d,a,f){return a.length>0&&function Ns(u,d,a){return a.some(f=>vo(u,d,f)&&fn(f)!==Le)}(u,a,f)?{segmentGroup:new tt(d,wi(f,new tt(a,u.children))),slicedSegments:[]}:0===a.length&&function Os(u,d,a){return a.some(f=>vo(u,d,f))}(u,a,f)?{segmentGroup:new tt(u.segments,Ei(u,0,a,f,u.children)),slicedSegments:a}:{segmentGroup:new tt(u.segments,u.children),slicedSegments:a}}function Ei(u,d,a,f,m){const E={};for(const I of f)if(vo(u,a,I)&&!m[fn(I)]){const O=new tt([],{});E[fn(I)]=O}return{...m,...E}}function wi(u,d){const a={};a[Le]=d;for(const f of u)if(""===f.path&&fn(f)!==Le){const m=new tt([],{});a[fn(f)]=m}return a}function vo(u,d,a){return(!(u.hasChildren()||d.length>0)||"full"!==a.pathMatch)&&""===a.path}class xs{constructor(d,a,f,m,E,I,O){this.injector=d,this.configLoader=a,this.rootComponentType=f,this.config=m,this.urlTree=E,this.paramsInheritanceStrategy=I,this.urlSerializer=O,this.allowRedirects=!0,this.applyRedirects=new yi(this.urlSerializer,this.urlTree)}noMatchError(d){return new g.vHH(4002,!1)}recognize(){const d=Ci(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,Le).pipe(ut(a=>{if(a instanceof Oa)return this.allowRedirects=!1,this.urlTree=a.urlTree,this.match(a.urlTree);throw a instanceof vi?this.noMatchError(a):a}),(0,re.U)(a=>{const f=new so([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Le,this.rootComponentType,null,{}),m=new He(f,a),E=new hi("",m),I=function $r(u,d,a=null,f=null){return ui(ps(u),d,a,f)}(f,[],this.urlTree.queryParams,this.urlTree.fragment);return I.queryParams=this.urlTree.queryParams,E.url=this.urlSerializer.serialize(I),this.inheritParamsAndData(E._root),{state:E,tree:I}}))}match(d){return this.processSegmentGroup(this.injector,this.config,d.root,Le).pipe(ut(f=>{throw f instanceof vi?this.noMatchError(f):f}))}inheritParamsAndData(d){const a=d.value,f=Bo(a,this.paramsInheritanceStrategy);a.params=Object.freeze(f.params),a.data=Object.freeze(f.data),d.children.forEach(m=>this.inheritParamsAndData(m))}processSegmentGroup(d,a,f,m){return 0===f.segments.length&&f.hasChildren()?this.processChildren(d,a,f):this.processSegment(d,a,f,f.segments,m,!0)}processChildren(d,a,f){const m=[];for(const E of Object.keys(f.children))"primary"===E?m.unshift(E):m.push(E);return(0,H.D)(m).pipe(Me(E=>{const I=f.children[E],O=function Rn(u,d){const a=u.filter(f=>fn(f)===d);return a.push(...u.filter(f=>fn(f)!==d)),a}(a,E);return this.processSegmentGroup(d,O,I,E)}),function ft(u,d){return(0,J.e)(function Oe(u,d,a,f,m){return(E,I)=>{let O=a,R=d,ae=0;E.subscribe((0,De.x)(I,Pe=>{const at=ae++;R=O?u(R,Pe,at):(O=!0,Pe),f&&I.next(R)},m&&(()=>{O&&I.next(R),I.complete()})))}}(u,d,arguments.length>=2,!0))}((E,I)=>(E.push(...I),E)),$(null),function Et(u,d){const a=arguments.length>=2;return f=>f.pipe(u?L((m,E)=>u(m,E,f)):pe.y,Ct(1),a?$(d):B(()=>new vt))}(),(0,P.z)(E=>{if(null===E)return St(f);const I=l(E);return function Yo(u){u.sort((d,a)=>d.value.outlet===Le?-1:a.value.outlet===Le?1:d.value.outlet.localeCompare(a.value.outlet))}(I),(0,V.of)(I)}))}processSegment(d,a,f,m,E,I){return(0,H.D)(a).pipe(Me(O=>this.processSegmentAgainstRoute(O._injector??d,a,O,f,m,E,I).pipe(ut(R=>{if(R instanceof vi)return(0,V.of)(null);throw R}))),te(O=>!!O),ut(O=>{if(bs(O))return function yo(u,d,a){return 0===d.length&&!u.children[a]}(f,m,E)?(0,V.of)([]):St(f);throw O}))}processSegmentAgainstRoute(d,a,f,m,E,I,O){return function Wo(u,d,a,f){return!!(fn(u)===f||f!==Le&&vo(d,a,u))&&("**"===u.path||Wr(d,u,a).matched)}(f,m,E,I)?void 0===f.redirectTo?this.matchSegmentAgainstRoute(d,m,f,E,I,O):O&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,m,a,f,E,I):St(m):St(m)}expandSegmentAgainstRouteUsingRedirect(d,a,f,m,E,I){return"**"===m.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,f,m,I):this.expandRegularSegmentAgainstRouteUsingRedirect(d,a,f,m,E,I)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,a,f,m){const E=this.applyRedirects.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?mo(E):this.applyRedirects.lineralizeSegments(f,E).pipe((0,P.z)(I=>{const O=new tt(I,{});return this.processSegment(d,a,O,I,m,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,a,f,m,E,I){const{matched:O,consumedSegments:R,remainingSegments:ae,positionalParamSegments:Pe}=Wr(a,m,E);if(!O)return St(a);const at=this.applyRedirects.applyRedirectCommands(R,m.redirectTo,Pe);return m.redirectTo.startsWith("/")?mo(at):this.applyRedirects.lineralizeSegments(m,at).pipe((0,P.z)(Je=>this.processSegment(d,f,a,Je.concat(ae),I,!1)))}matchSegmentAgainstRoute(d,a,f,m,E,I){let O;if("**"===f.path){const R=m.length>0?rr(m).parameters:{},ae=new so(m,R,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p(f),fn(f),f.component??f._loadedComponent??null,f,y(f));O=(0,V.of)({snapshot:ae,consumedSegments:[],remainingSegments:[]}),a.children={}}else O=Di(a,f,m,d).pipe((0,re.U)(({matched:R,consumedSegments:ae,remainingSegments:Pe,parameters:at})=>R?{snapshot:new so(ae,at,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p(f),fn(f),f.component??f._loadedComponent??null,f,y(f)),consumedSegments:ae,remainingSegments:Pe}:null));return O.pipe((0,Ft.w)(R=>null===R?St(a):this.getChildConfig(d=f._injector??d,f,m).pipe((0,Ft.w)(({routes:ae})=>{const Pe=f._loadedInjector??d,{snapshot:at,consumedSegments:Je,remainingSegments:Xn}=R,{segmentGroup:Eo,slicedSegments:wo}=Ci(a,Je,Xn,ae);if(0===wo.length&&Eo.hasChildren())return this.processChildren(Pe,ae,Eo).pipe((0,re.U)(Io=>null===Io?null:[new He(at,Io)]));if(0===ae.length&&0===wo.length)return(0,V.of)([new He(at,[])]);const Qo=fn(f)===E;return this.processSegment(Pe,ae,Eo,wo,Qo?Le:E,!0).pipe((0,re.U)(Io=>[new He(at,Io)]))}))))}getChildConfig(d,a,f){return a.children?(0,V.of)({routes:a.children,injector:d}):a.loadChildren?void 0!==a._loadedRoutes?(0,V.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function As(u,d,a,f){const m=d.canLoad;if(void 0===m||0===m.length)return(0,V.of)(!0);const E=m.map(I=>{const O=hn(I,u);return Lt(function Ta(u){return u&&po(u.canLoad)}(O)?O.canLoad(d,a):u.runInContext(()=>O(d,a)))});return(0,V.of)(E).pipe(fr(),hr())}(d,a,f).pipe((0,P.z)(m=>m?this.configLoader.loadChildren(d,a).pipe(Ne(E=>{a._loadedRoutes=E.routes,a._loadedInjector=E.injector})):function Rs(u){return $e(cr(!1,3))}())):(0,V.of)({routes:[],injector:d})}}function cc(u){const d=u.value.routeConfig;return d&&""===d.path}function l(u){const d=[],a=new Set;for(const f of u){if(!cc(f)){d.push(f);continue}const m=d.find(E=>f.value.routeConfig===E.value.routeConfig);void 0!==m?(m.children.push(...f.children),a.add(m)):d.push(f)}for(const f of a){const m=l(f.children);d.push(new He(f.value,m))}return d.filter(f=>!a.has(f))}function p(u){return u.data||{}}function y(u){return u.resolve||{}}function et(u){return"string"==typeof u.title||null===u.title}function Be(u){return(0,Ft.w)(d=>{const a=u(d);return a?(0,H.D)(a).pipe((0,re.U)(()=>d)):(0,V.of)(d)})}const ct=new g.OlP("ROUTES");let st=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,g.f3M)(g.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,V.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const f=Lt(a.loadComponent()).pipe((0,re.U)(On),Ne(E=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=E}),Qt(()=>{this.componentLoaders.delete(a)})),m=new Pt(f,()=>new Zt.x).pipe(we());return this.componentLoaders.set(a,m),m}loadChildren(a,f){if(this.childrenLoaders.get(f))return this.childrenLoaders.get(f);if(f._loadedRoutes)return(0,V.of)({routes:f._loadedRoutes,injector:f._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(f);const E=function xt(u,d,a,f){return Lt(u.loadChildren()).pipe((0,re.U)(On),(0,P.z)(m=>m instanceof g.YKP||Array.isArray(m)?(0,V.of)(m):(0,H.D)(d.compileModuleAsync(m))),(0,re.U)(m=>{f&&f(u);let E,I,O=!1;return Array.isArray(m)?(I=m,!0):(E=m.create(a).injector,I=E.get(ct,[],{optional:!0,self:!0}).flat()),{routes:I.map(lo),injector:E}}))}(f,this.compiler,a,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(f)})),I=new Pt(E,()=>new Zt.x).pipe(we());return this.childrenLoaders.set(f,I),I}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function On(u){return function Zn(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let Bn=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Zt.x,this.transitionAbortSubject=new Zt.x,this.configLoader=(0,g.f3M)(st),this.environmentInjector=(0,g.f3M)(g.lqb),this.urlSerializer=(0,g.f3M)(Gn),this.rootContexts=(0,g.f3M)(Ur),this.inputBindingEnabled=null!==(0,g.f3M)(At,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,V.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=m=>this.events.next(new Ds(m)),this.configLoader.onLoadStartListener=m=>this.events.next(new ys(m))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const f=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:f})}setupNavigations(a,f,m){return this.transitions=new ce.X({id:0,currentUrlTree:f,currentRawUrl:f,currentBrowserUrl:f,extractedUrl:a.urlHandlingStrategy.extract(f),urlAfterRedirects:a.urlHandlingStrategy.extract(f),rawUrl:f,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:bn,restoredState:null,currentSnapshot:m.snapshot,targetSnapshot:null,currentRouterState:m,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(L(E=>0!==E.id),(0,re.U)(E=>({...E,extractedUrl:a.urlHandlingStrategy.extract(E.rawUrl)})),(0,Ft.w)(E=>{this.currentTransition=E;let I=!1,O=!1;return(0,V.of)(E).pipe(Ne(R=>{this.currentNavigation={id:R.id,initialUrl:R.rawUrl,extractedUrl:R.extractedUrl,trigger:R.source,extras:R.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ft.w)(R=>{const ae=R.currentBrowserUrl.toString(),Pe=!a.navigated||R.extractedUrl.toString()!==ae||ae!==R.currentUrlTree.toString();if(!Pe&&"reload"!==(R.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const Je="";return this.events.next(new Bt(R.id,this.urlSerializer.serialize(R.rawUrl),Je,0)),R.resolve(null),le.E}if(a.urlHandlingStrategy.shouldProcessUrl(R.rawUrl))return(0,V.of)(R).pipe((0,Ft.w)(Je=>{const Xn=this.transitions?.getValue();return this.events.next(new no(Je.id,this.urlSerializer.serialize(Je.extractedUrl),Je.source,Je.restoredState)),Xn!==this.transitions?.getValue()?le.E:Promise.resolve(Je)}),function _(u,d,a,f,m,E){return(0,P.z)(I=>function Yr(u,d,a,f,m,E,I="emptyOnly"){return new xs(u,d,a,f,m,I,E).recognize()}(u,d,a,f,I.extractedUrl,m,E).pipe((0,re.U)(({state:O,tree:R})=>({...I,targetSnapshot:O,urlAfterRedirects:R}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,a.paramsInheritanceStrategy),Ne(Je=>{E.targetSnapshot=Je.targetSnapshot,E.urlAfterRedirects=Je.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Je.urlAfterRedirects};const Xn=new tn(Je.id,this.urlSerializer.serialize(Je.extractedUrl),this.urlSerializer.serialize(Je.urlAfterRedirects),Je.targetSnapshot);this.events.next(Xn)}));if(Pe&&a.urlHandlingStrategy.shouldProcessUrl(R.currentRawUrl)){const{id:Je,extractedUrl:Xn,source:Eo,restoredState:wo,extras:Qo}=R,Io=new no(Je,this.urlSerializer.serialize(Xn),Eo,wo);this.events.next(Io);const wc=Hn(0,this.rootComponentType).snapshot;return this.currentTransition=E={...R,targetSnapshot:wc,urlAfterRedirects:Xn,extras:{...Qo,skipLocationChange:!1,replaceUrl:!1}},(0,V.of)(E)}{const Je="";return this.events.next(new Bt(R.id,this.urlSerializer.serialize(R.extractedUrl),Je,1)),R.resolve(null),le.E}}),Ne(R=>{const ae=new gs(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects),R.targetSnapshot);this.events.next(ae)}),(0,re.U)(R=>(this.currentTransition=E={...R,guards:zt(R.targetSnapshot,R.currentSnapshot,this.rootContexts)},E)),function go(u,d){return(0,P.z)(a=>{const{targetSnapshot:f,currentSnapshot:m,guards:{canActivateChecks:E,canDeactivateChecks:I}}=a;return 0===I.length&&0===E.length?(0,V.of)({...a,guardsResult:!0}):function sc(u,d,a,f){return(0,H.D)(u).pipe((0,P.z)(m=>function Na(u,d,a,f,m){const E=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!E||0===E.length)return(0,V.of)(!0);const I=E.map(O=>{const R=Yn(d)??m,ae=hn(O,R);return Lt(function oc(u){return u&&po(u.canDeactivate)}(ae)?ae.canDeactivate(u,d,a,f):R.runInContext(()=>ae(u,d,a,f))).pipe(te())});return(0,V.of)(I).pipe(fr())}(m.component,m.route,a,d,f)),te(m=>!0!==m,!0))}(I,f,m,u).pipe((0,P.z)(O=>O&&function rc(u){return"boolean"==typeof u}(O)?function ac(u,d,a,f){return(0,H.D)(d).pipe(Me(m=>(0,Tt.z)(function zo(u,d){return null!==u&&d&&d(new fi(u)),(0,V.of)(!0)}(m.route.parent,f),function Ss(u,d){return null!==u&&d&&d(new Es(u)),(0,V.of)(!0)}(m.route,f),function uc(u,d,a){const f=d[d.length-1],E=d.slice(0,d.length-1).reverse().map(I=>function gi(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(I)).filter(I=>null!==I).map(I=>ue(()=>{const O=I.guards.map(R=>{const ae=Yn(I.node)??a,Pe=hn(R,ae);return Lt(function Ra(u){return u&&po(u.canActivateChild)}(Pe)?Pe.canActivateChild(f,u):ae.runInContext(()=>Pe(f,u))).pipe(te())});return(0,V.of)(O).pipe(fr())}));return(0,V.of)(E).pipe(fr())}(u,m.path,a),function Ts(u,d,a){const f=d.routeConfig?d.routeConfig.canActivate:null;if(!f||0===f.length)return(0,V.of)(!0);const m=f.map(E=>ue(()=>{const I=Yn(d)??a,O=hn(E,I);return Lt(function Aa(u){return u&&po(u.canActivate)}(O)?O.canActivate(d,u):I.runInContext(()=>O(d,u))).pipe(te())}));return(0,V.of)(m).pipe(fr())}(u,m.route,a))),te(m=>!0!==m,!0))}(f,E,u,d):(0,V.of)(O)),(0,re.U)(O=>({...a,guardsResult:O})))})}(this.environmentInjector,R=>this.events.next(R)),Ne(R=>{if(E.guardsResult=R.guardsResult,In(R.guardsResult))throw pi(0,R.guardsResult);const ae=new di(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects),R.targetSnapshot,!!R.guardsResult);this.events.next(ae)}),L(R=>!!R.guardsResult||(this.cancelNavigationTransition(R,"",3),!1)),Be(R=>{if(R.guards.canActivateChecks.length)return(0,V.of)(R).pipe(Ne(ae=>{const Pe=new ms(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects),ae.targetSnapshot);this.events.next(Pe)}),(0,Ft.w)(ae=>{let Pe=!1;return(0,V.of)(ae).pipe(function F(u,d){return(0,P.z)(a=>{const{targetSnapshot:f,guards:{canActivateChecks:m}}=a;if(!m.length)return(0,V.of)(a);let E=0;return(0,H.D)(m).pipe(Me(I=>function G(u,d,a,f){const m=u.routeConfig,E=u._resolve;return void 0!==m?.title&&!et(m)&&(E[tr]=m.title),function me(u,d,a,f){const m=function lt(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===m.length)return(0,V.of)({});const E={};return(0,H.D)(m).pipe((0,P.z)(I=>function dt(u,d,a,f){const m=Yn(d)??f,E=hn(u,m);return Lt(E.resolve?E.resolve(d,a):m.runInContext(()=>E(d,a)))}(u[I],d,a,f).pipe(te(),Ne(O=>{E[I]=O}))),Ct(1),(0,Vt.h)(E),ut(I=>bs(I)?le.E:$e(I)))}(E,u,d,f).pipe((0,re.U)(I=>(u._resolvedData=I,u.data=Bo(u,a).resolve,m&&et(m)&&(u.data[tr]=m.title),null)))}(I.route,f,u,d)),Ne(()=>E++),Ct(1),(0,P.z)(I=>E===m.length?(0,V.of)(a):le.E))})}(a.paramsInheritanceStrategy,this.environmentInjector),Ne({next:()=>Pe=!0,complete:()=>{Pe||this.cancelNavigationTransition(ae,"",2)}}))}),Ne(ae=>{const Pe=new vs(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects),ae.targetSnapshot);this.events.next(Pe)}))}),Be(R=>{const ae=Pe=>{const at=[];Pe.routeConfig?.loadComponent&&!Pe.routeConfig._loadedComponent&&at.push(this.configLoader.loadComponent(Pe.routeConfig).pipe(Ne(Je=>{Pe.component=Je}),(0,re.U)(()=>{})));for(const Je of Pe.children)at.push(...ae(Je));return at};return Ie(ae(R.targetSnapshot.root)).pipe($(),(0,Ce.q)(1))}),Be(()=>this.afterPreactivation()),(0,re.U)(R=>{const ae=function Mt(u,d,a){const f=dn(u,d._root,a?a._root:void 0);return new Ot(f,d)}(a.routeReuseStrategy,R.targetSnapshot,R.currentRouterState);return this.currentTransition=E={...R,targetRouterState:ae},E}),Ne(()=>{this.events.next(new jo)}),((u,d,a,f)=>(0,re.U)(m=>(new Ut(d,m.targetRouterState,m.currentRouterState,a,f).activate(u),m)))(this.rootContexts,a.routeReuseStrategy,R=>this.events.next(R),this.inputBindingEnabled),(0,Ce.q)(1),Ne({next:R=>{I=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ar(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects))),a.titleStrategy?.updateTitle(R.targetRouterState.snapshot),R.resolve(!0)},complete:()=>{I=!0}}),function un(u){return(0,J.e)((d,a)=>{(0,ee.Xf)(u).subscribe((0,De.x)(a,()=>a.complete(),yt.Z)),!a.closed&&d.subscribe(a)})}(this.transitionAbortSubject.pipe(Ne(R=>{throw R}))),Qt(()=>{I||O||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),ut(R=>{if(O=!0,br(R))this.events.next(new Br(E.id,this.urlSerializer.serialize(E.extractedUrl),R.message,R.cancellationCode)),function bt(u){return br(u)&&In(u.url)}(R)?this.events.next(new Ho(R.url)):E.resolve(!1);else{this.events.next(new ro(E.id,this.urlSerializer.serialize(E.extractedUrl),R,E.targetSnapshot??void 0));try{E.resolve(a.errorHandler(R))}catch(ae){E.reject(ae)}}return le.E}))}))}cancelNavigationTransition(a,f,m){const E=new Br(a.id,this.urlSerializer.serialize(a.extractedUrl),f,m);this.events.next(E),a.resolve(!1)}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Xt(u){return u!==bn}let qn=(()=>{class u{buildTitle(a){let f,m=a.root;for(;void 0!==m;)f=this.getResolvedTitleForRoute(m)??f,m=m.children.find(E=>E.outlet===Le);return f}getResolvedTitleForRoute(a){return a.data[tr]}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Sr)},providedIn:"root"})}return u})(),Sr=(()=>{class u extends qn{constructor(a){super(),this.title=a}updateTitle(a){const f=this.buildTitle(a);void 0!==f&&this.title.setTitle(f)}static#e=this.\u0275fac=function(f){return new(f||u)(g.LFG(Se.Dx))};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),Tr=(()=>{class u{static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(xa)},providedIn:"root"})}return u})();class Ps{shouldDetach(d){return!1}store(d,a){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,a){return d.routeConfig===a.routeConfig}}let xa=(()=>{class u extends Ps{static#e=this.\u0275fac=function(){let a;return function(m){return(a||(a=g.n5z(u)))(m||u)}}();static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Ii=new g.OlP("",{providedIn:"root",factory:()=>({})});let lc=(()=>{class u{static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:function(){return(0,g.f3M)(Pa)},providedIn:"root"})}return u})(),Pa=(()=>{class u{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,f){return a}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var Do=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Do||{});function Fa(u,d){u.events.pipe(L(a=>a instanceof ar||a instanceof Br||a instanceof ro||a instanceof Bt),(0,re.U)(a=>a instanceof ar||a instanceof Bt?Do.COMPLETE:a instanceof Br&&(0===a.code||1===a.code)?Do.REDIRECTING:Do.FAILED),L(a=>a!==Do.REDIRECTING),(0,Ce.q)(1)).subscribe(()=>{d()})}function Fs(u){throw u}function dc(u,d,a){return d.parse("/")}const Kn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},La={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gn=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,g.f3M)(g.c2e),this.isNgZoneEnabled=!1,this._events=new Zt.x,this.options=(0,g.f3M)(Ii,{optional:!0})||{},this.pendingTasks=(0,g.f3M)(g.HDt),this.errorHandler=this.options.errorHandler||Fs,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||dc,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,g.f3M)(lc),this.routeReuseStrategy=(0,g.f3M)(Tr),this.titleStrategy=(0,g.f3M)(qn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,g.f3M)(ct,{optional:!0})?.flat()??[],this.navigationTransitions=(0,g.f3M)(Bn),this.urlSerializer=(0,g.f3M)(Gn),this.location=(0,g.f3M)(Ht.Ye),this.componentInputBindingEnabled=!!(0,g.f3M)(At,{optional:!0}),this.eventsSubscription=new se.w0,this.isNgZoneEnabled=(0,g.f3M)(g.R0b)instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new cn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Hn(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(a=>{this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(f=>{try{const{currentTransition:m}=this.navigationTransitions;if(null===m)return void(_i(f)&&this._events.next(f));if(f instanceof no)Xt(m.source)&&(this.browserUrlTree=m.extractedUrl);else if(f instanceof Bt)this.rawUrlTree=m.rawUrl;else if(f instanceof tn){if("eager"===this.urlUpdateStrategy){if(!m.extras.skipLocationChange){const E=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl);this.setBrowserUrl(E,m)}this.browserUrlTree=m.urlAfterRedirects}}else if(f instanceof jo)this.currentUrlTree=m.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl),this.routerState=m.targetRouterState,"deferred"===this.urlUpdateStrategy&&(m.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,m),this.browserUrlTree=m.urlAfterRedirects);else if(f instanceof Br)0!==f.code&&1!==f.code&&(this.navigated=!0),(3===f.code||2===f.code)&&this.restoreHistory(m);else if(f instanceof Ho){const E=this.urlHandlingStrategy.merge(f.url,m.currentRawUrl),I={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Xt(m.source)};this.scheduleNavigation(E,bn,null,I,{resolve:m.resolve,reject:m.reject,promise:m.promise})}f instanceof ro&&this.restoreHistory(m,!0),f instanceof ar&&(this.navigated=!0),_i(f)&&this._events.next(f)}catch(m){this.navigationTransitions.transitionAbortSubject.next(m)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const a=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),bn,a)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const f="popstate"===a.type?"popstate":"hashchange";"popstate"===f&&setTimeout(()=>{this.navigateToSyncWithBrowser(a.url,f,a.state)},0)}))}navigateToSyncWithBrowser(a,f,m){const E={replaceUrl:!0},I=m?.navigationId?m:null;if(m){const R={...m};delete R.navigationId,delete R.\u0275routerPageId,0!==Object.keys(R).length&&(E.state=R)}const O=this.parseUrl(a);this.scheduleNavigation(O,f,I,E)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(lo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(a,f={}){const{relativeTo:m,queryParams:E,fragment:I,queryParamsHandling:O,preserveFragment:R}=f,ae=R?this.currentUrlTree.fragment:I;let at,Pe=null;switch(O){case"merge":Pe={...this.currentUrlTree.queryParams,...E};break;case"preserve":Pe=this.currentUrlTree.queryParams;break;default:Pe=E||null}null!==Pe&&(Pe=this.removeEmptyProps(Pe));try{at=ps(m?m.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),at=this.currentUrlTree.root}return ui(at,a,Pe,ae??null)}navigateByUrl(a,f={skipLocationChange:!1}){const m=In(a)?a:this.parseUrl(a),E=this.urlHandlingStrategy.merge(m,this.rawUrlTree);return this.scheduleNavigation(E,bn,null,f)}navigate(a,f={skipLocationChange:!1}){return function mt(u){for(let d=0;d{const E=a[m];return null!=E&&(f[m]=E),f},{})}scheduleNavigation(a,f,m,E,I){if(this.disposed)return Promise.resolve(!1);let O,R,ae;I?(O=I.resolve,R=I.reject,ae=I.promise):ae=new Promise((at,Je)=>{O=at,R=Je});const Pe=this.pendingTasks.add();return Fa(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Pe))}),this.navigationTransitions.handleNavigationRequest({source:f,restoredState:m,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:a,extras:E,resolve:O,reject:R,promise:ae,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ae.catch(at=>Promise.reject(at))}setBrowserUrl(a,f){const m=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(m)||f.extras.replaceUrl){const I={...f.extras.state,...this.generateNgRouterState(f.id,this.browserPageId)};this.location.replaceState(m,"",I)}else{const E={...f.extras.state,...this.generateNgRouterState(f.id,this.browserPageId+1)};this.location.go(m,"",E)}}restoreHistory(a,f=!1){if("computed"===this.canceledNavigationResolution){const E=this.currentPageId-this.browserPageId;0!==E?this.location.historyGo(E):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===E&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(f&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,f){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:f}:{navigationId:a}}static#e=this.\u0275fac=function(f){return new(f||u)};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function _i(u){return!(u instanceof jo||u instanceof Ho)}let Zr=(()=>{class u{constructor(a,f,m,E,I,O){this.router=a,this.route=f,this.tabIndexAttribute=m,this.renderer=E,this.el=I,this.locationStrategy=O,this.href=null,this.commands=null,this.onChanges=new Zt.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const R=I.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===R||"area"===R,this.isAnchorElement?this.subscription=a.events.subscribe(ae=>{ae instanceof ar&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,f,m,E,I){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||f||m||E||I||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const a=null===this.href?null:(0,g.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,f){const m=this.renderer,E=this.el.nativeElement;null!==f?m.setAttribute(E,a,f):m.removeAttribute(E,a)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(f){return new(f||u)(g.Y36(gn),g.Y36(_r),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq),g.Y36(Ht.S$))};static#t=this.\u0275dir=g.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(f,m){1&f&&g.NdJ("click",function(I){return m.onClick(I.button,I.ctrlKey,I.shiftKey,I.altKey,I.metaKey)}),2&f&&g.uIk("target",m.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",g.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",g.VuI],replaceUrl:["replaceUrl","replaceUrl",g.VuI],routerLink:"routerLink"},standalone:!0,features:[g.Xq5,g.TTD]})}return u})(),Jt=(()=>{class u{get isActive(){return this._isActive}constructor(a,f,m,E,I){this.router=a,this.element=f,this.renderer=m,this.cdr=E,this.link=I,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new g.vpe,this.routerEventsSubscription=a.events.subscribe(O=>{O instanceof ar&&this.update()})}ngAfterContentInit(){(0,V.of)(this.links.changes,(0,V.of)(null)).pipe((0,Dt.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),this.link].filter(f=>!!f).map(f=>f.onChanges);this.linkInputChangesSubscription=(0,H.D)(a).pipe((0,Dt.J)()).subscribe(f=>{this._isActive!==this.isLinkActive(this.router)(f)&&this.update()})}set routerLinkActive(a){const f=Array.isArray(a)?a:a.split(" ");this.classes=f.filter(m=>!!m)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const a=this.hasActiveLinks();this._isActive!==a&&(this._isActive=a,this.cdr.markForCheck(),this.classes.forEach(f=>{a?this.renderer.addClass(this.element.nativeElement,f):this.renderer.removeClass(this.element.nativeElement,f)}),a&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(a))})}isLinkActive(a){const f=function fc(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return m=>!!m.urlTree&&a.isActive(m.urlTree,f)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.links.some(a)}static#e=this.\u0275fac=function(f){return new(f||u)(g.Y36(gn),g.Y36(g.SBq),g.Y36(g.Qsj),g.Y36(g.sBO),g.Y36(Zr,8))};static#t=this.\u0275dir=g.lG2({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(f,m,E){if(1&f&&g.Suo(E,Zr,5),2&f){let I;g.iGM(I=g.CRH())&&(m.links=I)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[g.TTD]})}return u})();class Ls{}let hc=(()=>{class u{constructor(a,f,m,E,I){this.router=a,this.injector=m,this.preloadingStrategy=E,this.loader=I}setUpPreloading(){this.subscription=this.router.events.pipe(L(a=>a instanceof ar),Me(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,f){const m=[];for(const E of f){E.providers&&!E._injector&&(E._injector=(0,g.MMx)(E.providers,a,`Route: ${E.path}`));const I=E._injector??a,O=E._loadedInjector??I;(E.loadChildren&&!E._loadedRoutes&&void 0===E.canLoad||E.loadComponent&&!E._loadedComponent)&&m.push(this.preloadConfig(I,E)),(E.children||E._loadedRoutes)&&m.push(this.processRoutes(O,E.children??E._loadedRoutes))}return(0,H.D)(m).pipe((0,Dt.J)())}preloadConfig(a,f){return this.preloadingStrategy.preload(f,()=>{let m;m=f.loadChildren&&void 0===f.canLoad?this.loader.loadChildren(a,f):(0,V.of)(null);const E=m.pipe((0,P.z)(I=>null===I?(0,V.of)(void 0):(f._loadedRoutes=I.routes,f._loadedInjector=I.injector,this.processRoutes(I.injector??a,I.routes))));if(f.loadComponent&&!f._loadedComponent){const I=this.loader.loadComponent(f);return(0,H.D)([E,I]).pipe((0,Dt.J)())}return E})}static#e=this.\u0275fac=function(f){return new(f||u)(g.LFG(gn),g.LFG(g.Sil),g.LFG(g.lqb),g.LFG(Ls),g.LFG(st))};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const ks=new g.OlP("");let ka=(()=>{class u{constructor(a,f,m,E,I={}){this.urlSerializer=a,this.transitions=f,this.viewportScroller=m,this.zone=E,this.options=I,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},I.scrollPositionRestoration=I.scrollPositionRestoration||"disabled",I.anchorScrolling=I.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof no?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof ar?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof Bt&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof ko&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,f){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ko(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,f))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(f){g.$Z()};static#t=this.\u0275prov=g.Yz7({token:u,factory:u.\u0275fac})}return u})();function gr(u,d){return{\u0275kind:u,\u0275providers:d}}function Re(){const u=(0,g.f3M)(g.zs3);return d=>{const a=u.get(g.z2F);if(d!==a.components[0])return;const f=u.get(gn),m=u.get(Hs);1===u.get(Ha)&&f.initialNavigation(),u.get($s,null,g.XFs.Optional)?.setUpPreloading(),u.get(ks,null,g.XFs.Optional)?.init(),f.resetRootComponentType(a.componentTypes[0]),m.closed||(m.next(),m.complete(),m.unsubscribe())}}const Hs=new g.OlP("",{factory:()=>new Zt.x}),Ha=new g.OlP("",{providedIn:"root",factory:()=>1}),$s=new g.OlP("");function Co(u){return gr(0,[{provide:$s,useExisting:hc},{provide:Ls,useExisting:u}])}const Z=new g.OlP("ROUTER_FORROOT_GUARD"),Xe=[Ht.Ye,{provide:Gn,useClass:ir},gn,Ur,{provide:_r,useFactory:function js(u){return u.routerState.root},deps:[gn]},st,[]];function $a(){return new g.PXZ("Router",gn)}let Ba=(()=>{class u{constructor(a){}static forRoot(a,f){return{ngModule:u,providers:[Xe,[],{provide:ct,multi:!0,useValue:a},{provide:Z,useFactory:Qn,deps:[[gn,new g.FiY,new g.tp0]]},{provide:Ii,useValue:f||{}},f?.useHash?{provide:Ht.S$,useClass:Ht.Do}:{provide:Ht.S$,useClass:Ht.b0},{provide:ks,useFactory:()=>{const u=(0,g.f3M)(Ht.EM),d=(0,g.f3M)(g.R0b),a=(0,g.f3M)(Ii),f=(0,g.f3M)(Bn),m=(0,g.f3M)(Gn);return a.scrollOffset&&u.setOffset(a.scrollOffset),new ka(m,f,u,d,a)}},f?.preloadingStrategy?Co(f.preloadingStrategy).\u0275providers:[],{provide:g.PXZ,multi:!0,useFactory:$a},f?.initialNavigation?Bs(f):[],f?.bindToComponentInputs?gr(8,[ur,{provide:At,useExisting:ur}]).\u0275providers:[],[{provide:Mi,useFactory:Re},{provide:g.tb,multi:!0,useExisting:Mi}]]}}static forChild(a){return{ngModule:u,providers:[{provide:ct,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(f){return new(f||u)(g.LFG(Z,8))};static#t=this.\u0275mod=g.oAB({type:u});static#n=this.\u0275inj=g.cJS({})}return u})();function Qn(u){return"guarded"}function Bs(u){return["disabled"===u.initialNavigation?gr(3,[{provide:g.ip1,multi:!0,useFactory:()=>{const d=(0,g.f3M)(gn);return()=>{d.setUpLocationChangeListener()}}},{provide:Ha,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?gr(2,[{provide:Ha,useValue:0},{provide:g.ip1,multi:!0,deps:[g.zs3],useFactory:d=>{const a=d.get(Ht.V_,Promise.resolve());return()=>a.then(()=>new Promise(f=>{const m=d.get(gn),E=d.get(Hs);Fa(m,()=>{f(!0)}),d.get(Bn).afterPreactivation=()=>(f(!0),E.closed?(0,V.of)(void 0):E),m.initialNavigation()}))}}]).\u0275providers:[]]}const Mi=new g.OlP("")},7582:(Te,ne,M)=>{function ie(L,P,$,B){return new($||($=Promise))(function(te,Me){function Ne(ft){try{Oe(B.next(ft))}catch(Ct){Me(Ct)}}function ut(ft){try{Oe(B.throw(ft))}catch(Ct){Me(Ct)}}function Oe(ft){ft.done?te(ft.value):function K(te){return te instanceof $?te:new $(function(Me){Me(te)})}(ft.value).then(Ne,ut)}Oe((B=B.apply(L,P||[])).next())})}function ee(L){return this instanceof ee?(this.v=L,this):new ee(L)}function ue(L,P,$){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var K,B=$.apply(L,P||[]),te=[];return K={},Me("next"),Me("throw"),Me("return"),K[Symbol.asyncIterator]=function(){return this},K;function Me(Et){B[Et]&&(K[Et]=function(Vt){return new Promise(function(Qt,yt){te.push([Et,Vt,Qt,yt])>1||Ne(Et,Vt)})})}function Ne(Et,Vt){try{!function ut(Et){Et.value instanceof ee?Promise.resolve(Et.value.v).then(Oe,ft):Ct(te[0][2],Et)}(B[Et](Vt))}catch(Qt){Ct(te[0][3],Qt)}}function Oe(Et){Ne("next",Et)}function ft(Et){Ne("throw",Et)}function Ct(Et,Vt){Et(Vt),te.shift(),te.length&&Ne(te[0][0],te[0][1])}}function $e(L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $,P=L[Symbol.asyncIterator];return P?P.call(L):(L=function je(L){var P="function"==typeof Symbol&&Symbol.iterator,$=P&&L[P],B=0;if($)return $.call(L);if(L&&"number"==typeof L.length)return{next:function(){return L&&B>=L.length&&(L=void 0),{value:L&&L[B++],done:!L}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(L),$={},B("next"),B("throw"),B("return"),$[Symbol.asyncIterator]=function(){return this},$);function B(te){$[te]=L[te]&&function(Me){return new Promise(function(Ne,ut){!function K(te,Me,Ne,ut){Promise.resolve(ut).then(function(Oe){te({value:Oe,done:Ne})},Me)}(Ne,ut,(Me=L[te](Me)).done,Me.value)})}}}M.d(ne,{FC:()=>ue,KL:()=>$e,mG:()=>ie,qq:()=>ee}),"function"==typeof SuppressedError&&SuppressedError}},Te=>{Te(Te.s=1697)}]); \ No newline at end of file diff --git a/docs/polyfills.5c3ea5cd5013e3cd.js b/docs/polyfills.5c3ea5cd5013e3cd.js new file mode 100644 index 0000000..4902de2 --- /dev/null +++ b/docs/polyfills.5c3ea5cd5013e3cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkAppForm=self.webpackChunkAppForm||[]).push([[429],{8332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(e){if(!(e=e||Y.event))return;let n=we[e.type];n||(n=we[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=we[d];b||(b=we[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,Ue),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},pe(e,n,o),e[c]=!0}function qe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=w);const D=u.run(m,void 0,Z&&m!==K&&m!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,S)=>{for(let Z=0;Z{g||(g=!0,m(D))},D=>{w.push(D),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function w(S){s(S)}function m(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((D,V)=>{f=D,g=V}),m=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,m--,0===m&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),m--,0===m&&f(Z)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(Z),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=ae(e,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(Pe&&!Be||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Oe],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ue=>{ue(ue.s=8332)}]); \ No newline at end of file diff --git a/docs/runtime.a879d1c9a2e787d1.js b/docs/runtime.a879d1c9a2e787d1.js new file mode 100644 index 0000000..1a0ef75 --- /dev/null +++ b/docs/runtime.a879d1c9a2e787d1.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function r(e){var i=m[e];if(void 0!==i)return i.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(i,t,o,f)=>{if(!t){var a=1/0;for(n=0;n=f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(c=!1,f0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[t,o,f]},r.d=(e,i)=>{for(var t in i)r.o(i,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((i,t)=>(r.f[t](e,i),i),[])),r.u=e=>e+"."+{206:"5f6cceda7dde340a",270:"83f68e7b6134bfac",313:"04f859891501c6ff"}[e]+".js",r.miniCssF=e=>{},r.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),(()=>{var e={},i="AppForm:";r.l=(t,o,f,n)=>{if(e[t])e[t].push(o);else{var a,c;if(void 0!==f)for(var u=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(y=>y(b)),g)return g(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:i=>i},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(o,f)=>{var n=r.o(e,o)?e[o]:void 0;if(0!==n)if(n)f.push(n[2]);else if(666!=o){var a=new Promise((l,s)=>n=e[o]=[l,s]);f.push(n[2]=a);var c=r.p+r.u(o),u=new Error;r.l(c,l=>{if(r.o(e,o)&&(0!==(n=e[o])&&(e[o]=void 0),n)){var s=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;u.message="Loading chunk "+o+" failed.\n("+s+": "+p+")",u.name="ChunkLoadError",u.type=s,u.request=p,n[1](u)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var i=(o,f)=>{var u,d,[n,a,c]=f,l=0;if(n.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(c)var s=c(r)}for(o&&o(f);l=0.10.0" + } + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -4636,6 +4659,48 @@ "node": ">=6" } }, + "node_modules/camelcase-keys": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", + "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "dev": true, + "dependencies": { + "camelcase": "^6.3.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/caniuse-lite": { "version": "1.0.30001597", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz", @@ -5055,6 +5120,75 @@ "node": ">=10.13.0" } }, + "node_modules/copyfiles": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.4.1.tgz", + "integrity": "sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==", + "dev": true, + "dependencies": { + "glob": "^7.0.5", + "minimatch": "^3.0.3", + "mkdirp": "^1.0.4", + "noms": "0.0.0", + "through2": "^2.0.1", + "untildify": "^4.0.0", + "yargs": "^16.1.0" + }, + "bin": { + "copyfiles": "copyfiles", + "copyup": "copyfiles" + } + }, + "node_modules/copyfiles/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/copyfiles/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/copyfiles/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/copyfiles/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/core-js-compat": { "version": "3.36.0", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.36.0.tgz", @@ -5381,6 +5515,52 @@ } } }, + "node_modules/decamelize": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", + "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "dev": true, + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/decimal.js": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", @@ -5437,6 +5617,118 @@ "node": ">=8" } }, + "node_modules/del": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/del/-/del-7.1.0.tgz", + "integrity": "sha512-v2KyNk7efxhlyHpjEvfyxaAihKKK0nWCuf6ZtqZcFFpQRG0bJ12Qsr0RpvsICMjAAZ8DOVCxrlqpxISlMHC4Kg==", + "dev": true, + "dependencies": { + "globby": "^13.1.2", + "graceful-fs": "^4.2.10", + "is-glob": "^4.0.3", + "is-path-cwd": "^3.0.0", + "is-path-inside": "^4.0.0", + "p-map": "^5.5.0", + "rimraf": "^3.0.2", + "slash": "^4.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/del-cli/-/del-cli-5.1.0.tgz", + "integrity": "sha512-xwMeh2acluWeccsfzE7VLsG3yTr7nWikbfw+xhMnpRrF15pGSkw+3/vJZWlGoE4I86UiLRNHicmKt4tkIX9Jtg==", + "dev": true, + "dependencies": { + "del": "^7.1.0", + "meow": "^10.1.3" + }, + "bin": { + "del": "cli.js", + "del-cli": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/aggregate-error": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", + "dev": true, + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/clean-stack": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", + "dev": true, + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/p-map": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-5.5.0.tgz", + "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==", + "dev": true, + "dependencies": { + "aggregate-error": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -6646,6 +6938,15 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -7373,6 +7674,30 @@ "node": ">=0.12.0" } }, + "node_modules/is-path-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-3.0.0.tgz", + "integrity": "sha512-kyiNFFLU0Ampr6SDZitD/DwUo4Zs1nSdnygUBqsu3LooL00Qvb5j+UnvApUn/TTj1J3OuE6BTdQ5rudKmU2ZaA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-path-inside": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", + "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-plain-obj": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", @@ -8483,6 +8808,18 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -8504,28 +8841,120 @@ "node": ">= 4.0.0" } }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "dev": true - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "node_modules/meow": { + "version": "10.1.5", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", + "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", "dev": true, + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, "engines": { - "node": ">= 8" - } - }, - "node_modules/methods": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/meow/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/meow/node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/meow/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/meow/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "dev": true + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", @@ -8589,6 +9018,15 @@ "node": ">=6" } }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/mini-css-extract-plugin": { "version": "2.7.6", "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", @@ -8635,6 +9073,29 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/minimist-options/node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/minipass": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", @@ -9056,6 +9517,40 @@ "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, + "node_modules/noms": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz", + "integrity": "sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "~1.0.31" + } + }, + "node_modules/noms/node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", + "dev": true + }, + "node_modules/noms/node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/noms/node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==", + "dev": true + }, "node_modules/nopt": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", @@ -10206,6 +10701,18 @@ } ] }, + "node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -10331,6 +10838,183 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/read-pkg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/read-pkg/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -10357,6 +11041,34 @@ "node": ">=8.10.0" } }, + "node_modules/redent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", + "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", + "dev": true, + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/redent/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/reflect-metadata": { "version": "0.1.14", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.14.tgz", @@ -11542,6 +12254,21 @@ "node": ">=6" } }, + "node_modules/strip-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", + "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -11794,6 +12521,46 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/through2/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/through2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/thunky": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", @@ -11887,6 +12654,18 @@ "tree-kill": "cli.js" } }, + "node_modules/trim-newlines": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", + "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -12145,6 +12924,15 @@ "node": ">= 0.8" } }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/update-browserslist-db": { "version": "1.0.13", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", @@ -12864,6 +13652,15 @@ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", "dev": true }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index 5e9639d..1d1c8d5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,11 @@ "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", - "test": "ng test" + "test": "ng test", + "build:href": "ng build --base-href ./", + "build:github": "npm run delete:docs && npm run build:href && npm run copy:dist", + "delete:docs": "del docs", + "copy:dist": "copyfiles dist/app-form/* ./docs -f" }, "private": true, "dependencies": { @@ -27,6 +31,8 @@ "@angular/cli": "^16.2.8", "@angular/compiler-cli": "^16.2.0", "@types/jasmine": "~4.3.0", + "copyfiles": "^2.4.1", + "del-cli": "^5.1.0", "jasmine-core": "~4.6.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0",