From ea9d7f1f60d6422f86c722eb4c7de88ae95a34be Mon Sep 17 00:00:00 2001 From: bigBear713 <774326739@qq.com> Date: Sat, 31 Dec 2022 17:32:46 +0800 Subject: [PATCH] Update: deploy files --- docs/249.179c4a768e318e00.js | 1 + docs/404.html | 4 ++-- docs/index.html | 4 ++-- docs/main.3bb38a3889c1a1aa.js | 1 - docs/main.a728ddb9b41d1fde.js | 1 + docs/polyfills.0d1c48b529314817.js | 1 + docs/polyfills.81b5a0ac59214453.js | 1 - docs/runtime.1b581a2fa8e17068.js | 1 + docs/runtime.e967317e22394954.js | 1 - 9 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 docs/249.179c4a768e318e00.js delete mode 100644 docs/main.3bb38a3889c1a1aa.js create mode 100644 docs/main.a728ddb9b41d1fde.js create mode 100644 docs/polyfills.0d1c48b529314817.js delete mode 100644 docs/polyfills.81b5a0ac59214453.js create mode 100644 docs/runtime.1b581a2fa8e17068.js delete mode 100644 docs/runtime.e967317e22394954.js diff --git a/docs/249.179c4a768e318e00.js b/docs/249.179c4a768e318e00.js new file mode 100644 index 0000000..fb60379 --- /dev/null +++ b/docs/249.179c4a768e318e00.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[249],{1249:(g,s,o)=>{o.r(s),o.d(s,{Feature1Component:()=>i,routes:()=>u});var a=o(6895),r=o(4719),m=o(3324),f=o(929),e=o(6738);function _(l,n){if(1&l){const t=e.EpF();e.TgZ(0,"form",1)(1,"nb-field-item",2)(2,"span",3),e._uU(3),e.ALo(4,"nbTrans"),e.qZA(),e.TgZ(5,"input",4),e.NdJ("change",function(c){e.CHM(t);const p=e.oxw();return e.KtG(p.onChangeFile(c))}),e.qZA()()()}if(2&l){const t=e.oxw();e.Q6J("formGroup",t.form),e.xp6(1),e.Q6J("control",t.field1Ctrl)("errInfo",t.errInfo2),e.xp6(2),e.hij("",e.lcZ(4,4,"demoContent.field1"),"\uff1a")}}class i{constructor(n,t){this.fb=n,this.formService=t,this.errInfo2={[f.ti.FILE_MAX_SIZE]:"The file max size is 500kb!"},this.buildForm()}get field1Ctrl(){return this.form?.get("field1")}ngOnInit(){}onChangeFile(n){const t=n.target;t&&t.files?.length&&(this.field1Ctrl.markAsDirty(),this.field1Ctrl.setValue(t.files[0]))}buildForm(){this.form=this.fb.group({field1:[null,this.formService.getValidatorsFromControlConfig({fileType:["image/svg+xml","image/jpeg"],maxFileSize:5e5,minFileSize:1e5})]})}}i.\u0275fac=function(n){return new(n||i)(e.Y36(r.QS),e.Y36(f.LR))},i.\u0275cmp=e.Xpm({type:i,selectors:[["app-feature1"]],standalone:!0,features:[e.jDz],decls:3,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[3,"control","errInfo"],["field-label",""],["type","file",3,"change"]],template:function(n,t){1&n&&(e.TgZ(0,"h4"),e._uU(1,"standalone component"),e.qZA(),e.YNc(2,_,6,6,"form",0)),2&n&&(e.xp6(2),e.Q6J("ngIf",t.form))},dependencies:[f.XI,f.XX,m.pT,m.y6,a.ez,a.O5,r.u5,r._Y,r.JL,r.UX,r.sg]});const u=[{path:"",component:i}]}}]); \ No newline at end of file diff --git a/docs/404.html b/docs/404.html index d9eb0f9..e301553 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,4 +1,4 @@ -
+new Y(k,z),L})();class Y extends re{constructor(k,z){super(),this.destination=k,this.source=z}next(k){const{destination:z}=this;z&&z.next&&z.next(k)}error(k){const{destination:z}=this;z&&z.error&&this.destination.error(k)}complete(){const{destination:k}=this;k&&k.complete&&this.destination.complete()}_subscribe(k){const{source:z}=this;return z?this.source.subscribe(k):X.w.EMPTY}}},3489:(Oe,ie,A)=>{A.d(ie,{L:()=>fe});var h=A(7043),p=A(3292),X=A(2654),ee=A(7668),ae=A(2830),Q=A(2782);class fe extends X.w{constructor(L,k,z){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=p.c;break;case 1:if(!L){this.destination=p.c;break}if("object"==typeof L){L instanceof fe?(this.syncErrorThrowable=L.syncErrorThrowable,this.destination=L,L.add(this)):(this.syncErrorThrowable=!0,this.destination=new re(this,L));break}default:this.syncErrorThrowable=!0,this.destination=new re(this,L,k,z)}}[ee.b](){return this}static create(L,k,z){const le=new fe(L,k,z);return le.syncErrorThrowable=!1,le}next(L){this.isStopped||this._next(L)}error(L){this.isStopped||(this.isStopped=!0,this._error(L))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(L){this.destination.next(L)}_error(L){this.destination.error(L),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:L}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=L,this}}class re extends fe{constructor(L,k,z,le){super(),this._parentSubscriber=L;let q,ce=this;(0,h.m)(k)?q=k:k&&(q=k.next,z=k.error,le=k.complete,k!==p.c&&(ce=Object.create(k),(0,h.m)(ce.unsubscribe)&&this.add(ce.unsubscribe.bind(ce)),ce.unsubscribe=this.unsubscribe.bind(this))),this._context=ce,this._next=q,this._error=z,this._complete=le}next(L){if(!this.isStopped&&this._next){const{_parentSubscriber:k}=this;ae.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?this.__tryOrSetError(k,this._next,L)&&this.unsubscribe():this.__tryOrUnsub(this._next,L)}}error(L){if(!this.isStopped){const{_parentSubscriber:k}=this,{useDeprecatedSynchronousErrorHandling:z}=ae.v;if(this._error)z&&k.syncErrorThrowable?(this.__tryOrSetError(k,this._error,L),this.unsubscribe()):(this.__tryOrUnsub(this._error,L),this.unsubscribe());else if(k.syncErrorThrowable)z?(k.syncErrorValue=L,k.syncErrorThrown=!0):(0,Q.z)(L),this.unsubscribe();else{if(this.unsubscribe(),z)throw L;(0,Q.z)(L)}}}complete(){if(!this.isStopped){const{_parentSubscriber:L}=this;if(this._complete){const k=()=>this._complete.call(this._context);ae.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?(this.__tryOrSetError(L,k),this.unsubscribe()):(this.__tryOrUnsub(k),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(L,k){try{L.call(this._context,k)}catch(z){if(this.unsubscribe(),ae.v.useDeprecatedSynchronousErrorHandling)throw z;(0,Q.z)(z)}}__tryOrSetError(L,k,z){if(!ae.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{k.call(this._context,z)}catch(le){return ae.v.useDeprecatedSynchronousErrorHandling?(L.syncErrorValue=le,L.syncErrorThrown=!0,!0):((0,Q.z)(le),!0)}return!1}_unsubscribe(){const{_parentSubscriber:L}=this;this._context=null,this._parentSubscriber=null,L.unsubscribe()}}},2654:(Oe,ie,A)=>{A.d(ie,{w:()=>Q});var h=A(6688),p=A(7830),X=A(7043);const ae=(()=>{function re(Y){return Error.call(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((L,k)=>`${k+1}) ${L.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y,this}return re.prototype=Object.create(Error.prototype),re})();class Q{constructor(Y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,Y&&(this._ctorUnsubscribe=!0,this._unsubscribe=Y)}unsubscribe(){let Y;if(this.closed)return;let{_parentOrParents:L,_ctorUnsubscribe:k,_unsubscribe:z,_subscriptions:le}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,L instanceof Q)L.remove(this);else if(null!==L)for(let q=0;qY.concat(L instanceof ae?L.errors:L),[])}Q.EMPTY=((re=new Q).closed=!0,re)},2830:(Oe,ie,A)=>{A.d(ie,{v:()=>p});let h=!1;const p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(X){if(X){const ee=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+ee.stack)}else h&&console.log("RxJS: Back to a better error behavior. Thank you. <3");h=X},get useDeprecatedSynchronousErrorHandling(){return h}}},1177:(Oe,ie,A)=>{A.d(ie,{Ds:()=>Q,IY:()=>ee,ft:()=>re});var h=A(3489),p=A(6498),X=A(9249);class ee extends h.L{constructor(L){super(),this.parent=L}_next(L){this.parent.notifyNext(L)}_error(L){this.parent.notifyError(L),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Q extends h.L{notifyNext(L){this.destination.next(L)}notifyError(L){this.destination.error(L)}notifyComplete(){this.destination.complete()}}function re(Y,L){if(L.closed)return;if(Y instanceof p.y)return Y.subscribe(L);let k;try{k=(0,X.s)(Y)(L)}catch(z){L.error(z)}return k}},1762:(Oe,ie,A)=>{A.d(ie,{N:()=>Q,c:()=>ae});var h=A(5529),p=A(6498),X=A(2654),ee=A(4327);class ae extends p.y{constructor(k,z){super(),this.source=k,this.subjectFactory=z,this._refCount=0,this._isComplete=!1}_subscribe(k){return this.getSubject().subscribe(k)}getSubject(){const k=this._subject;return(!k||k.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let k=this._connection;return k||(this._isComplete=!1,k=this._connection=new X.w,k.add(this.source.subscribe(new fe(this.getSubject(),this))),k.closed&&(this._connection=null,k=X.w.EMPTY)),k}refCount(){return(0,ee.x)()(this)}}const Q=(()=>{const L=ae.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:L._subscribe},_isComplete:{value:L._isComplete,writable:!0},getSubject:{value:L.getSubject},connect:{value:L.connect},refCount:{value:L.refCount}}})();class fe extends h.Yc{constructor(k,z){super(k),this.connectable=z}_error(k){this._unsubscribe(),super._error(k)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const k=this.connectable;if(k){this.connectable=null;const z=k._connection;k._refCount=0,k._subject=null,k._connection=null,z&&z.unsubscribe()}}}},3426:(Oe,ie,A)=>{A.d(ie,{aj:()=>k});var h=A(2866),p=A(6688),X=A(3489);class ee extends X.L{notifyNext(ce,J,he,Me,Re){this.destination.next(J)}notifyError(ce,J){this.destination.error(ce)}notifyComplete(ce){this.destination.complete()}}class ae extends X.L{constructor(ce,J,he){super(),this.parent=ce,this.outerValue=J,this.outerIndex=he,this.index=0}_next(ce){this.parent.notifyNext(this.outerValue,ce,this.outerIndex,this.index++,this)}_error(ce){this.parent.notifyError(ce,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var Q=A(9249),fe=A(6498);function re(q,ce,J,he,Me=new ae(q,J,he)){if(!Me.closed)return ce instanceof fe.y?ce.subscribe(Me):(0,Q.s)(ce)(Me)}var Y=A(3009);const L={};function k(...q){let ce,J;return(0,h.K)(q[q.length-1])&&(J=q.pop()),"function"==typeof q[q.length-1]&&(ce=q.pop()),1===q.length&&(0,p.k)(q[0])&&(q=q[0]),(0,Y.n)(q,J).lift(new z(ce))}class z{constructor(ce){this.resultSelector=ce}call(ce,J){return J.subscribe(new le(ce,this.resultSelector))}}class le extends ee{constructor(ce,J){super(ce),this.resultSelector=J,this.active=0,this.values=[],this.observables=[]}_next(ce){this.values.push(L),this.observables.push(ce)}_complete(){const ce=this.observables,J=ce.length;if(0===J)this.destination.complete();else{this.active=J,this.toRespond=J;for(let he=0;he {A.d(ie,{z:()=>ee});var h=A(1086),p=A(9146);function ee(...ae){return function X(){return(0,p.J)(1)}()((0,h.of)(...ae))}},5254:(Oe,ie,A)=>{A.d(ie,{D:()=>ce});var h=A(6498),p=A(9249),X=A(2654),ee=A(3821),fe=A(6454),re=A(5430),k=A(8955),z=A(8515);function ce(J,he){return he?function q(J,he){if(null!=J){if(function L(J){return J&&"function"==typeof J[ee.L]}(J))return function ae(J,he){return new h.y(Me=>{const Re=new X.w;return Re.add(he.schedule(()=>{const se=J[ee.L]();Re.add(se.subscribe({next(We){Re.add(he.schedule(()=>Me.next(We)))},error(We){Re.add(he.schedule(()=>Me.error(We)))},complete(){Re.add(he.schedule(()=>Me.complete()))}}))})),Re})}(J,he);if((0,k.t)(J))return function Q(J,he){return new h.y(Me=>{const Re=new X.w;return Re.add(he.schedule(()=>J.then(se=>{Re.add(he.schedule(()=>{Me.next(se),Re.add(he.schedule(()=>Me.complete()))}))},se=>{Re.add(he.schedule(()=>Me.error(se)))}))),Re})}(J,he);if((0,z.z)(J))return(0,fe.r)(J,he);if(function le(J){return J&&"function"==typeof J[re.hZ]}(J)||"string"==typeof J)return function Y(J,he){if(!J)throw new Error("Iterable cannot be null");return new h.y(Me=>{const Re=new X.w;let se;return Re.add(()=>{se&&"function"==typeof se.return&&se.return()}),Re.add(he.schedule(()=>{se=J[re.hZ](),Re.add(he.schedule(function(){if(Me.closed)return;let We,Ze;try{const ke=se.next();We=ke.value,Ze=ke.done}catch(ke){return void Me.error(ke)}Ze?Me.complete():(Me.next(We),this.schedule())}))})),Re})}(J,he)}throw new TypeError((null!==J&&typeof J||J)+" is not observable")}(J,he):J instanceof h.y?J:new h.y((0,p.s)(J))}},3009:(Oe,ie,A)=>{A.d(ie,{n:()=>ee});var h=A(6498),p=A(3650),X=A(6454);function ee(ae,Q){return Q?(0,X.r)(ae,Q):new h.y((0,p.V)(ae))}},1086:(Oe,ie,A)=>{A.d(ie,{of:()=>ee});var h=A(2866),p=A(3009),X=A(6454);function ee(...ae){let Q=ae[ae.length-1];return(0,h.K)(Q)?(ae.pop(),(0,X.r)(ae,Q)):(0,p.n)(ae)}},7221:(Oe,ie,A)=>{A.d(ie,{K:()=>p});var h=A(1177);function p(ae){return function(fe){const re=new X(ae),Y=fe.lift(re);return re.caught=Y}}class X{constructor(Q){this.selector=Q}call(Q,fe){return fe.subscribe(new ee(Q,this.selector,this.caught))}}class ee extends h.Ds{constructor(Q,fe,re){super(Q),this.selector=fe,this.caught=re}error(Q){if(!this.isStopped){let fe;try{fe=this.selector(Q,this.caught)}catch(L){return void super.error(L)}this._unsubscribeAndRecycle();const re=new h.IY(this);this.add(re);const Y=(0,h.ft)(fe,re);Y!==re&&this.add(Y)}}}},4850:(Oe,ie,A)=>{A.d(ie,{U:()=>p});var h=A(3489);function p(ae,Q){return function(re){if("function"!=typeof ae)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return re.lift(new X(ae,Q))}}class X{constructor(Q,fe){this.project=Q,this.thisArg=fe}call(Q,fe){return fe.subscribe(new ee(Q,this.project,this.thisArg))}}class ee extends h.L{constructor(Q,fe,re){super(Q),this.project=fe,this.count=0,this.thisArg=re||this}_next(Q){let fe;try{fe=this.project.call(this.thisArg,Q,this.count++)}catch(re){return void this.destination.error(re)}this.destination.next(fe)}}},9146:(Oe,ie,A)=>{A.d(ie,{J:()=>X});var h=A(1709),p=A(5379);function X(ee=Number.POSITIVE_INFINITY){return(0,h.zg)(p.y,ee)}},1709:(Oe,ie,A)=>{A.d(ie,{zg:()=>ee});var h=A(4850),p=A(5254),X=A(1177);function ee(re,Y,L=Number.POSITIVE_INFINITY){return"function"==typeof Y?k=>k.pipe(ee((z,le)=>(0,p.D)(re(z,le)).pipe((0,h.U)((q,ce)=>Y(z,q,le,ce))),L)):("number"==typeof Y&&(L=Y),k=>k.lift(new ae(re,L)))}class ae{constructor(Y,L=Number.POSITIVE_INFINITY){this.project=Y,this.concurrent=L}call(Y,L){return L.subscribe(new Q(Y,this.project,this.concurrent))}}class Q extends X.Ds{constructor(Y,L,k=Number.POSITIVE_INFINITY){super(Y),this.project=L,this.concurrent=k,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(Y){this.active 0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Oe,ie,A)=>{A.d(ie,{x:()=>p});var h=A(3489);function p(){return function(Q){return Q.lift(new X(Q))}}class X{constructor(Q){this.connectable=Q}call(Q,fe){const{connectable:re}=this;re._refCount++;const Y=new ee(Q,re),L=fe.subscribe(Y);return Y.closed||(Y.connection=re.connect()),L}}class ee extends h.L{constructor(Q,fe){super(Q),this.connectable=fe}_unsubscribe(){const{connectable:Q}=this;if(!Q)return void(this.connection=null);this.connectable=null;const fe=Q._refCount;if(fe<=0)return void(this.connection=null);if(Q._refCount=fe-1,fe>1)return void(this.connection=null);const{connection:re}=this,Y=Q._connection;this.connection=null,Y&&(!re||Y===re)&&Y.unsubscribe()}}},1059:(Oe,ie,A)=>{A.d(ie,{O:()=>X});var h=A(1221),p=A(2866);function X(...ee){const ae=ee[ee.length-1];return(0,p.K)(ae)?(ee.pop(),Q=>(0,h.z)(ee,Q,ae)):Q=>(0,h.z)(ee,Q)}},7545:(Oe,ie,A)=>{A.d(ie,{w:()=>ee});var h=A(4850),p=A(5254),X=A(1177);function ee(fe,re){return"function"==typeof re?Y=>Y.pipe(ee((L,k)=>(0,p.D)(fe(L,k)).pipe((0,h.U)((z,le)=>re(L,z,k,le))))):Y=>Y.lift(new ae(fe))}class ae{constructor(re){this.project=re}call(re,Y){return Y.subscribe(new Q(re,this.project))}}class Q extends X.Ds{constructor(re,Y){super(re),this.project=Y,this.index=0}_next(re){let Y;const L=this.index++;try{Y=this.project(re,L)}catch(k){return void this.destination.error(k)}this._innerSub(Y)}_innerSub(re){const Y=this.innerSubscription;Y&&Y.unsubscribe();const L=new X.IY(this),k=this.destination;k.add(L),this.innerSubscription=(0,X.ft)(re,L),this.innerSubscription!==L&&k.add(this.innerSubscription)}_complete(){const{innerSubscription:re}=this;(!re||re.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(re){this.destination.next(re)}}},7625:(Oe,ie,A)=>{A.d(ie,{R:()=>p});var h=A(1177);function p(ae){return Q=>Q.lift(new X(ae))}class X{constructor(Q){this.notifier=Q}call(Q,fe){const re=new ee(Q),Y=(0,h.ft)(this.notifier,new h.IY(re));return Y&&!re.seenValue?(re.add(Y),fe.subscribe(re)):re}}class ee extends h.Ds{constructor(Q){super(Q),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},2868:(Oe,ie,A)=>{A.d(ie,{b:()=>ee});var h=A(3489);function p(){}var X=A(7043);function ee(fe,re,Y){return function(k){return k.lift(new ae(fe,re,Y))}}class ae{constructor(re,Y,L){this.nextOrObserver=re,this.error=Y,this.complete=L}call(re,Y){return Y.subscribe(new Q(re,this.nextOrObserver,this.error,this.complete))}}class Q extends h.L{constructor(re,Y,L,k){super(re),this._tapNext=p,this._tapError=p,this._tapComplete=p,this._tapError=L||p,this._tapComplete=k||p,(0,X.m)(Y)?(this._context=this,this._tapNext=Y):Y&&(this._context=Y,this._tapNext=Y.next||p,this._tapError=Y.error||p,this._tapComplete=Y.complete||p)}_next(re){try{this._tapNext.call(this._context,re)}catch(Y){return void this.destination.error(Y)}this.destination.next(re)}_error(re){try{this._tapError.call(this._context,re)}catch(Y){return void this.destination.error(Y)}this.destination.error(re)}_complete(){try{this._tapComplete.call(this._context)}catch(re){return void this.destination.error(re)}return this.destination.complete()}}},6454:(Oe,ie,A)=>{A.d(ie,{r:()=>X});var h=A(6498),p=A(2654);function X(ee,ae){return new h.y(Q=>{const fe=new p.w;let re=0;return fe.add(ae.schedule(function(){re!==ee.length?(Q.next(ee[re++]),Q.closed||fe.add(this.schedule())):Q.complete()})),fe})}},5430:(Oe,ie,A)=>{A.d(ie,{hZ:()=>p});const p=function h(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Oe,ie,A)=>{A.d(ie,{L:()=>h});const h="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Oe,ie,A)=>{A.d(ie,{b:()=>h});const h="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},5279:(Oe,ie,A)=>{A.d(ie,{N:()=>p});const p=(()=>{function X(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return X.prototype=Object.create(Error.prototype),X})()},2782:(Oe,ie,A)=>{function h(p){setTimeout(()=>{throw p},0)}A.d(ie,{z:()=>h})},5379:(Oe,ie,A)=>{function h(p){return p}A.d(ie,{y:()=>h})},6688:(Oe,ie,A)=>{A.d(ie,{k:()=>h});const h=Array.isArray||(p=>p&&"number"==typeof p.length)},8515:(Oe,ie,A)=>{A.d(ie,{z:()=>h});const h=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7043:(Oe,ie,A)=>{function h(p){return"function"==typeof p}A.d(ie,{m:()=>h})},7830:(Oe,ie,A)=>{function h(p){return null!==p&&"object"==typeof p}A.d(ie,{K:()=>h})},8955:(Oe,ie,A)=>{function h(p){return!!p&&"function"!=typeof p.subscribe&&"function"==typeof p.then}A.d(ie,{t:()=>h})},2866:(Oe,ie,A)=>{function h(p){return p&&"function"==typeof p.schedule}A.d(ie,{K:()=>h})},4843:(Oe,ie,A)=>{A.d(ie,{U:()=>X,z:()=>p});var h=A(5379);function p(...ee){return X(ee)}function X(ee){return 0===ee.length?h.y:1===ee.length?ee[0]:function(Q){return ee.reduce((fe,re)=>re(fe),Q)}}},9249:(Oe,ie,A)=>{A.d(ie,{s:()=>k});var h=A(3650),p=A(2782),ee=A(5430),Q=A(3821),re=A(8515),Y=A(8955),L=A(7830);const k=z=>{if(z&&"function"==typeof z[Q.L])return(z=>le=>{const q=z[Q.L]();if("function"!=typeof q.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return q.subscribe(le)})(z);if((0,re.z)(z))return(0,h.V)(z);if((0,Y.t)(z))return(z=>le=>(z.then(q=>{le.closed||(le.next(q),le.complete())},q=>le.error(q)).then(null,p.z),le))(z);if(z&&"function"==typeof z[ee.hZ])return(z=>le=>{const q=z[ee.hZ]();for(;;){let ce;try{ce=q.next()}catch(J){return le.error(J),le}if(ce.done){le.complete();break}if(le.next(ce.value),le.closed)break}return"function"==typeof q.return&&le.add(()=>{q.return&&q.return()}),le})(z);{const q=`You provided ${(0,L.K)(z)?"an invalid object":`'${z}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(q)}}},3650:(Oe,ie,A)=>{A.d(ie,{V:()=>h});const h=p=>X=>{for(let ee=0,ae=p.length;ee {A.d(ie,{Y6:()=>We,Ik:()=>yn,ti:()=>ke,XX:()=>bn,XI:()=>zt,LR:()=>hr,aJ:()=>Ce});var h=A(6895),p=A(6738),X=A(1198),ee=A(4719),ae=A(6789),Q=A(5689),fe=A(5529),re=A(3426),Y=A(7625),L=A(1059),k=A(3489);class le{constructor(B,G){this.compare=B,this.keySelector=G}call(B,G){return G.subscribe(new q(B,this.compare,this.keySelector))}}class q extends k.L{constructor(B,G,K){super(B),this.keySelector=K,this.hasKey=!1,"function"==typeof G&&(this.compare=G)}compare(B,G){return B===G}_next(B){let G;try{const{keySelector:Le}=this;G=Le?Le(B):B}catch(Le){return this.destination.error(Le)}let K=!1;if(this.hasKey)try{const{compare:Le}=this;K=Le(this.key,G)}catch(Le){return this.destination.error(Le)}else this.hasKey=!0;K||(this.key=G,this.destination.next(B))}}var ce=A(2868);function J($,B){if(1&$&&(p._UZ(0,"div",1),p.ALo(1,"nbErrInfo")),2&$){const G=p.oxw();p.Q6J("nb-r-str",p.xi3(1,1,G.control.errors,G.allErrInfo))}}function he($,B){1&$&&(p.TgZ(0,"span",4),p._uU(1,"*"),p.qZA())}function Me($,B){if(1&$&&p._UZ(0,"nb-control-err",5),2&$){const G=p.oxw();p.Q6J("control",G.control)("errInfo",G.errInfo)}}const Re=[[["","field-label",""]],"*"],se=["[field-label]","*"],We=new p.OlP("common errors information");var ke=(()=>{return($=ke||(ke={})).REQUIRED="required",$.FILE_MAX_SIZE="fileMaxSize",$.FILE_MIN_SIZE="fileMinSize",$.FILE_TYPE="fileType",$.EQUAL="equal",$.MAX_LENGTH="maxlength",$.MIN_LENGTH="minlength",$.ARR_MAX_LENGTH="arrMaxLength",$.ARR_MIN_LENGTH="arrMinLength",$.WHITESPACE="whitespace",ke;var $})();const Ce={arrLength:$=>B=>Array.isArray(B.value)?$.max&&B.value.length>$.max?{[ke.ARR_MAX_LENGTH]:!0}:$.min&&B.value.length<$.min?{[ke.ARR_MIN_LENGTH]:!0}:null:null,equal:($,B=!0)=>G=>!B&&!$.dirty||(0,ae.Z)(G.value,$.value)?null:{[ke.EQUAL]:!0},fileSize:$=>B=>{const G=B.value;return G instanceof File?$.max&&G.size>$.max?{[ke.FILE_MAX_SIZE]:!0}:$.min&&G.size<$.min?{[ke.FILE_MIN_SIZE]:!0}:null:null},fileType:$=>B=>{const G=B.value;return G instanceof File&&$.length&&!$.includes(G.type)?{[ke.FILE_TYPE]:!0}:null},required:($=!0)=>B=>$?ee.kI.required(B):null,whitespace:($=!0)=>B=>$||!B.value||!(0,Q.Z)(B.value)||B.value.trim()?null:{[ke.WHITESPACE]:!0}},Gt={required:$=>Ce.required($.required),max:$=>{if($.max)return ee.kI.max($.max)},min:$=>{if($.min)return ee.kI.min($.min)},maxLength:$=>{if($.maxLength)return ee.kI.maxLength($.maxLength)},minLength:$=>{if($.minLength)return ee.kI.minLength($.minLength)},arrMaxLength:$=>{if($.arrMaxLength)return Ce.arrLength({max:$.arrMaxLength})},arrMinLength:$=>{if($.arrMinLength)return Ce.arrLength({min:$.arrMinLength})},maxFileSize:$=>{if($.maxFileSize)return Ce.fileSize({max:$.maxFileSize})},minFileSize:$=>{if($.minFileSize)return Ce.fileSize({min:$.minFileSize})},fileType:$=>{if($.fileType?.length)return Ce.fileType($.fileType)},pattern:$=>{if($.pattern)return ee.kI.pattern($.pattern)},whitespace:$=>Ce.whitespace($.whitespace)};let rt=(()=>{class ${transform(G,K){const Le=Object.keys(G||{})[0];return Le&&K?.[Le]||""}}return $.\u0275fac=function(G){return new(G||$)},$.\u0275pipe=p.Yjl({name:"nbErrInfo",type:$,pure:!0}),$})(),yn=(()=>{class ${constructor(G={},K){this.commonErrInfo=G,this.changeDR=K,this.errInfo={},this.allErrInfo={},this.errControl=new ee.p4,this.hasErr=!1,this.destroy$=new fe.xQ}ngOnChanges(G){const{control:K,errInfo:Le}=G;K&&this.subscribeControlChange(),Le&&this.updateAllErrInfo()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateAllErrInfo(){this.allErrInfo={...this.commonErrInfo,...this.errInfo},this.changeDR.markForCheck()}subscribeControlChange(){this.updateHasErr(this.control),this.control.statusChanges.pipe((0,Y.R)(this.destroy$)).subscribe(G=>this.updateHasErr(this.control))}updateHasErr(G){this.hasErr=G.dirty&&"INVALID"===G.status,this.changeDR.markForCheck()}}return $.\u0275fac=function(G){return new(G||$)(p.Y36(We,8),p.Y36(p.sBO))},$.\u0275cmp=p.Xpm({type:$,selectors:[["nb-control-err"]],inputs:{control:"control",errInfo:"errInfo"},features:[p.TTD],decls:1,vars:1,consts:[["class","err-info",3,"nb-r-str",4,"ngIf"],[1,"err-info",3,"nb-r-str"]],template:function(G,K){1&G&&p.YNc(0,J,2,4,"div",0),2&G&&p.Q6J("ngIf",K.control&&K.hasErr)},dependencies:[h.O5,X.dn,rt],styles:["[_nghost-%COMP%]{position:relative;top:100%;left:0;display:block;font-size:14px;color:red}.err-info[_ngcontent-%COMP%]{position:absolute;top:0;left:0;word-break:break-word}"],changeDetection:0}),$})(),bn=(()=>{class ${constructor(){this.errInfo={},this.required=!1}}return $.\u0275fac=function(G){return new(G||$)},$.\u0275cmp=p.Xpm({type:$,selectors:[["nb-field-item"]],inputs:{control:"control",errInfo:"errInfo",required:"required"},ngContentSelectors:se,decls:6,vars:2,consts:[[1,"field-label"],["class","label-required",4,"ngIf"],[1,"field-content"],["class","nb-control-err",3,"control","errInfo",4,"ngIf"],[1,"label-required"],[1,"nb-control-err",3,"control","errInfo"]],template:function(G,K){1&G&&(p.F$t(Re),p.TgZ(0,"label",0),p.YNc(1,he,2,0,"span",1),p.Hsn(2),p.qZA(),p.TgZ(3,"div",2),p.Hsn(4,1),p.YNc(5,Me,1,2,"nb-control-err",3),p.qZA()),2&G&&(p.xp6(1),p.Q6J("ngIf",K.required),p.xp6(4),p.Q6J("ngIf",K.control))},dependencies:[h.O5,yn],styles:["[_nghost-%COMP%]{display:flex;align-items:center;margin-bottom:24px}[_nghost-%COMP%]:last-child{margin-bottom:0}.field-label[_ngcontent-%COMP%]{flex:0 0 120px;display:flex;justify-content:flex-end;align-items:center;padding:0 8px 0 4px;word-break:break-word}.field-label[_ngcontent-%COMP%]:empty{flex-basis:0;padding:0}.label-required[_ngcontent-%COMP%]{color:red}.field-content[_ngcontent-%COMP%]{flex:1 1 auto;position:relative;display:flex;align-items:center}.nb-control-err[_ngcontent-%COMP%]{position:absolute;width:100%}"],changeDetection:0}),$})(),zt=(()=>{class ${}return $.\u0275fac=function(G){return new(G||$)},$.\u0275mod=p.oAB({type:$}),$.\u0275inj=p.cJS({imports:[h.ez,X.vw]}),$})(),rn=(()=>{class ${constructor(){}doFormArrayFn(G,K){G.controls.forEach(Le=>K(Le))}doFormGroupFn(G,K){Object.keys(G.controls).forEach(Le=>K(G.get(Le)))}}return $.\u0275fac=function(G){return new(G||$)},$.\u0275prov=p.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),hr=(()=>{class ${constructor(G){this.formTools=G}getValidatorsFromControlConfig(G){const K=Gt;return Object.keys(G).map(Le=>K[Le]?.(G)).filter(Le=>!!Le)}markAllAsDirty(G,K){G?.markAsDirty(K);const Le=pt=>this.markAllAsDirty(pt,K);G instanceof ee.vC?this.formTools.doFormArrayFn(G,Le):G instanceof ee.nJ&&this.formTools.doFormGroupFn(G,Le)}showAllErrInfo(G,K){G?.markAllAsTouched(),this.markAllAsDirty(G,K),this.updateAllValueAndValidity(G,K)}updateAllValueAndValidity(G,K){G?.updateValueAndValidity(K);const Le=pt=>this.updateAllValueAndValidity(pt,K);G instanceof ee.vC?this.formTools.doFormArrayFn(G,Le):G instanceof ee.nJ&&this.formTools.doFormGroupFn(G,Le)}updateEqualControlsValidities(G,K){const{target:Le,compared:pt}=G;return(0,re.aj)([Le.statusChanges.pipe((0,L.O)(Le.status)),pt.statusChanges.pipe((0,L.O)(pt.status))]).pipe(function z($,B){return G=>G.lift(new le($,B))}((Qe,Ar)=>(0,ae.Z)(Qe,Ar)),K?(0,Y.R)(K):(0,ce.b)(()=>{})).subscribe(Qe=>{Le.updateValueAndValidity(),pt.updateValueAndValidity()})}}return $.\u0275fac=function(G){return new(G||$)(p.LFG(rn))},$.\u0275prov=p.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})()},6895:(Oe,ie,A)=>{A.d(ie,{Do:()=>Re,ED:()=>Ae,EM:()=>ro,HT:()=>ee,JF:()=>si,K0:()=>Q,Mx:()=>Ge,O5:()=>Vt,Ov:()=>rr,RF:()=>U,S$:()=>J,V_:()=>Y,Ye:()=>se,b0:()=>Me,bD:()=>Vo,ez:()=>Yn,n9:()=>ye,q:()=>X,sg:()=>kt,tP:()=>He,w_:()=>ae});var h=A(6738);let p=null;function X(){return p}function ee(m){p||(p=m)}class ae{}const Q=new h.OlP("DocumentToken");let fe=(()=>{class m{historyGo(v){throw new Error("Not implemented")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275prov=h.Yz7({token:m,factory:function(){return function re(){return(0,h.LFG)(L)}()},providedIn:"platform"}),m})();const Y=new h.OlP("Location Initialized");let L=(()=>{class m extends fe{constructor(v){super(),this._doc=v,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(v){const M=X().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",v,!1),()=>M.removeEventListener("popstate",v)}onHashChange(v){const M=X().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",v,!1),()=>M.removeEventListener("hashchange",v)}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(v){this.location.pathname=v}pushState(v,M,R){k()?this._history.pushState(v,M,R):this.location.hash=R}replaceState(v,M,R){k()?this._history.replaceState(v,M,R):this.location.hash=R}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}}return m.\u0275fac=function(v){return new(v||m)(h.LFG(Q))},m.\u0275prov=h.Yz7({token:m,factory:function(){return function z(){return new L((0,h.LFG)(Q))}()},providedIn:"platform"}),m})();function k(){return!!window.history.pushState}function le(m,E){if(0==m.length)return E;if(0==E.length)return m;let v=0;return m.endsWith("/")&&v++,E.startsWith("/")&&v++,2==v?m+E.substring(1):1==v?m+E:m+"/"+E}function q(m){const E=m.match(/#|\?|$/),v=E&&E.index||m.length;return m.slice(0,v-("/"===m[v-1]?1:0))+m.slice(v)}function ce(m){return m&&"?"!==m[0]?"?"+m:m}let J=(()=>{class m{historyGo(v){throw new Error("Not implemented")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275prov=h.Yz7({token:m,factory:function(){return(0,h.f3M)(Me)},providedIn:"root"}),m})();const he=new h.OlP("appBaseHref");let Me=(()=>{class m extends J{constructor(v,M){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,h.f3M)(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return le(this._baseHref,v)}path(v=!1){const M=this._platformLocation.pathname+ce(this._platformLocation.search),R=this._platformLocation.hash;return R&&v?`${M}${R}`:M}pushState(v,M,R,Z){const ne=this.prepareExternalUrl(R+ce(Z));this._platformLocation.pushState(v,M,ne)}replaceState(v,M,R,Z){const ne=this.prepareExternalUrl(R+ce(Z));this._platformLocation.replaceState(v,M,ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}}return m.\u0275fac=function(v){return new(v||m)(h.LFG(fe),h.LFG(he,8))},m.\u0275prov=h.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),Re=(()=>{class m extends J{constructor(v,M){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(v){const M=le(this._baseHref,v);return M.length>0?"#"+M:M}pushState(v,M,R,Z){let ne=this.prepareExternalUrl(R+ce(Z));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.pushState(v,M,ne)}replaceState(v,M,R,Z){let ne=this.prepareExternalUrl(R+ce(Z));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.replaceState(v,M,ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}}return m.\u0275fac=function(v){return new(v||m)(h.LFG(fe),h.LFG(he,8))},m.\u0275prov=h.Yz7({token:m,factory:m.\u0275fac}),m})(),se=(()=>{class m{constructor(v){this._subject=new h.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const M=this._locationStrategy.getBaseHref();this._basePath=function nn(m){if(new RegExp("^(https?:)?//").test(m)){const[,v]=m.split(/\/\/[^\/]+/);return v}return m}(q(ke(M))),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,M=""){return this.path()==this.normalize(v+ce(M))}normalize(v){return m.stripTrailingSlash(function Ze(m,E){return m&&E.startsWith(m)?E.substring(m.length):E}(this._basePath,ke(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,M="",R=null){this._locationStrategy.pushState(R,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+ce(M)),R)}replaceState(v,M="",R=null){this._locationStrategy.replaceState(R,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+ce(M)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",M){this._urlChangeListeners.forEach(R=>R(v,M))}subscribe(v,M,R){return this._subject.subscribe({next:v,error:M,complete:R})}}return m.normalizeQueryParams=ce,m.joinWithSlash=le,m.stripTrailingSlash=q,m.\u0275fac=function(v){return new(v||m)(h.LFG(J))},m.\u0275prov=h.Yz7({token:m,factory:function(){return function We(){return new se((0,h.LFG)(J))}()},providedIn:"root"}),m})();function ke(m){return m.replace(/\/index.html$/,"")}function Ge(m,E){E=encodeURIComponent(E);for(const v of m.split(";")){const M=v.indexOf("="),[R,Z]=-1==M?[v,""]:[v.slice(0,M),v.slice(M+1)];if(R.trim()===E)return decodeURIComponent(Z)}return null}class Dt{constructor(E,v,M,R){this.$implicit=E,this.ngForOf=v,this.index=M,this.count=R}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 kt=(()=>{class m{constructor(v,M,R){this._viewContainer=v,this._template=M,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const M=this._viewContainer;v.forEachOperation((R,Z,ne)=>{if(null==R.previousIndex)M.createEmbeddedView(this._template,new Dt(R.item,this._ngForOf,-1,-1),null===ne?void 0:ne);else if(null==ne)M.remove(null===Z?void 0:Z);else if(null!==Z){const we=M.get(Z);M.move(we,ne),nr(we,R)}});for(let R=0,Z=M.length;R {nr(M.get(R.currentIndex),R)})}static ngTemplateContextGuard(v,M){return!0}}return m.\u0275fac=function(v){return new(v||m)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(h.ZZ4))},m.\u0275dir=h.lG2({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),m})();function nr(m,E){m.context.$implicit=E.item}let Vt=(()=>{class m{constructor(v,M){this._viewContainer=v,this._context=new T,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){P("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){P("ngIfElse",v),this._elseTemplateRef=v,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(v,M){return!0}}return m.\u0275fac=function(v){return new(v||m)(h.Y36(h.s_b),h.Y36(h.Rgc))},m.\u0275dir=h.lG2({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),m})();class T{constructor(){this.$implicit=null,this.ngIf=null}}function P(m,E){if(E&&!E.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,h.AaK)(E)}'.`)}class x{constructor(E,v){this._viewContainerRef=E,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(E){E&&!this._created?this.create():!E&&this._created&&this.destroy()}}let U=(()=>{class m{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(v)}_matchCase(v){const M=v==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||M,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),M}_updateDefaultCases(v){if(this._defaultViews&&v!==this._defaultUsed){this._defaultUsed=v;for(let M=0;M {class m{constructor(v,M,R){this.ngSwitch=R,R._addCase(),this._view=new x(v,M)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return m.\u0275fac=function(v){return new(v||m)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(U,9))},m.\u0275dir=h.lG2({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),m})(),Ae=(()=>{class m{constructor(v,M,R){R._addDefault(new x(v,M))}}return m.\u0275fac=function(v){return new(v||m)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(U,9))},m.\u0275dir=h.lG2({type:m,selectors:[["","ngSwitchDefault",""]],standalone:!0}),m})(),He=(()=>{class m{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(v.ngTemplateOutlet||v.ngTemplateOutletInjector){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:R,ngTemplateOutletContext:Z,ngTemplateOutletInjector:ne}=this;this._viewRef=M.createEmbeddedView(R,Z,ne?{injector:ne}:void 0)}else this._viewRef=null}else this._viewRef&&v.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return m.\u0275fac=function(v){return new(v||m)(h.Y36(h.s_b))},m.\u0275dir=h.lG2({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[h.TTD]}),m})();class jt{createSubscription(E,v){return E.subscribe({next:v,error:M=>{throw M}})}dispose(E){E.unsubscribe()}}class _n{createSubscription(E,v){return E.then(v,M=>{throw M})}dispose(E){}}const Bt=new _n,Dr=new jt;let rr=(()=>{class m{constructor(v){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=v}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(v){return this._obj?v!==this._obj?(this._dispose(),this.transform(v)):this._latestValue:(v&&this._subscribe(v),this._latestValue)}_subscribe(v){this._obj=v,this._strategy=this._selectStrategy(v),this._subscription=this._strategy.createSubscription(v,M=>this._updateLatestValue(v,M))}_selectStrategy(v){if((0,h.QGY)(v))return Bt;if((0,h.F4k)(v))return Dr;throw function At(m,E){return new h.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(v,M){v===this._obj&&(this._latestValue=M,this._ref.markForCheck())}}return m.\u0275fac=function(v){return new(v||m)(h.Y36(h.sBO,16))},m.\u0275pipe=h.Yjl({name:"async",type:m,pure:!1,standalone:!0}),m})(),Yn=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=h.oAB({type:m}),m.\u0275inj=h.cJS({}),m})();const Vo="browser";let ro=(()=>{class m{}return m.\u0275prov=(0,h.Yz7)({token:m,providedIn:"root",factory:()=>new ii((0,h.LFG)(Q),window)}),m})();class ii{constructor(E,v){this.document=E,this.window=v,this.offset=()=>[0,0]}setOffset(E){this.offset=Array.isArray(E)?()=>E:E}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(E){this.supportsScrolling()&&this.window.scrollTo(E[0],E[1])}scrollToAnchor(E){if(!this.supportsScrolling())return;const v=function br(m,E){const v=m.getElementById(E)||m.getElementsByName(E)[0];if(v)return v;if("function"==typeof m.createTreeWalker&&m.body&&(m.body.createShadowRoot||m.body.attachShadow)){const M=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let R=M.currentNode;for(;R;){const Z=R.shadowRoot;if(Z){const ne=Z.getElementById(E)||Z.querySelector(`[name="${E}"]`);if(ne)return ne}R=M.nextNode()}}return null}(this.document,E);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(E){if(this.supportScrollRestoration()){const v=this.window.history;v&&v.scrollRestoration&&(v.scrollRestoration=E)}}scrollToElement(E){const v=E.getBoundingClientRect(),M=v.left+this.window.pageXOffset,R=v.top+this.window.pageYOffset,Z=this.offset();this.window.scrollTo(M-Z[0],R-Z[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const E=In(this.window.history)||In(Object.getPrototypeOf(this.window.history));return!(!E||!E.writable&&!E.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function In(m){return Object.getOwnPropertyDescriptor(m,"scrollRestoration")}class si{}},6738:(Oe,ie,A)=>{A.d(ie,{tb:()=>km,AFp:()=>Pm,ip1:()=>Nm,CZH:()=>Zl,hGG:()=>tE,z2F:()=>ql,sBO:()=>jb,Sil:()=>Db,_Vd:()=>_u,EJc:()=>vb,Xts:()=>Hc,SBq:()=>Du,lqb:()=>gs,qLn:()=>Cu,vpe:()=>Xo,XFs:()=>ge,OlP:()=>Ft,zs3:()=>ms,ZZ4:()=>gf,aQg:()=>mf,soG:()=>Kl,YKP:()=>Vg,h0i:()=>Ca,PXZ:()=>Nb,R0b:()=>po,FiY:()=>ns,Lbi:()=>gb,g9A:()=>Lm,Qsj:()=>ky,FYo:()=>fh,JOm:()=>Qr,tp0:()=>rs,Rgc:()=>Fu,dDg:()=>Ab,eoX:()=>Gm,GfV:()=>hh,s_b:()=>zl,ifc:()=>yt,MMx:()=>Hd,Lck:()=>hC,eFA:()=>Ym,G48:()=>Vb,Gpc:()=>Re,f3M:()=>mr,MR2:()=>by,_c5:()=>eE,c2e:()=>mb,zSh:()=>Wc,wAp:()=>Ue,vHH:()=>Ee,lri:()=>Hm,rWj:()=>$m,D6c:()=>nE,cg1:()=>Pd,kL8:()=>lg,dqk:()=>Et,Z0I:()=>Kn,sIi:()=>Su,CqO:()=>hp,QGY:()=>wd,QP$:()=>nr,F4k:()=>fp,RDi:()=>ml,AaK:()=>J,qOj:()=>md,TTD:()=>Zn,_Bn:()=>kg,jDz:()=>Ug,xp6:()=>Dh,uIk:()=>_d,ekj:()=>xd,Suo:()=>lm,Xpm:()=>vr,lG2:()=>Ln,Yz7:()=>Rt,cJS:()=>Nt,oAB:()=>wn,Yjl:()=>Pr,Y36:()=>aa,_UZ:()=>bd,GkF:()=>Ed,BQk:()=>Ll,ynx:()=>Fl,qZA:()=>Pl,TgZ:()=>Nl,EpF:()=>dp,n5z:()=>xi,Ikx:()=>Nd,LFG:()=>_t,$8M:()=>Va,$Z:()=>Nh,NdJ:()=>Sd,CRH:()=>cm,oxw:()=>vp,ALo:()=>em,lcZ:()=>tm,xi3:()=>nm,Hsn:()=>Dp,F$t:()=>_p,Q6J:()=>Dd,VKq:()=>Yg,WLB:()=>Zg,iGM:()=>um,MAs:()=>cp,KtG:()=>Mr,CHM:()=>Sr,LSH:()=>Bc,P3R:()=>eh,YNc:()=>lp,W1O:()=>pm,_uU:()=>Gp,Oqu:()=>Rd,hij:()=>jl});var h=A(5529),p=A(2654),X=A(6498),ee=A(2866),ae=A(9146),Q=A(3009),re=A(1762);class L{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),a=r(o).subscribe(t);return a.add(n.subscribe(o)),a}}var k=A(4327);function z(){return new h.xQ}function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 he(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Me=q({__forward_ref__:q});function Re(e){return e.__forward_ref__=Re,e.toString=function(){return J(this())},e}function se(e){return We(e)?e():e}function We(e){return"function"==typeof e&&e.hasOwnProperty(Me)&&e.__forward_ref__===Re}function Ze(e){return e&&!!e.\u0275providers}const nn="https://g.co/ng/security#xss";class Ee extends Error{constructor(t,n){super(function mt(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function _e(e){return"string"==typeof e?e:null==e?"":String(e)}function Gt(e,t){throw new Ee(-201,!1)}function pt(e,t){null==e&&function Qe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Rt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Nt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ct(e){return mo(e,Kt)||mo(e,Tt)}function Kn(e){return null!==ct(e)}function mo(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ur(e){return e&&(e.hasOwnProperty(qn)||e.hasOwnProperty(Ne))?e[qn]:null}const Kt=q({\u0275prov:q}),qn=q({\u0275inj:q}),Tt=q({ngInjectableDef:q}),Ne=q({ngInjectorDef:q});var ge=(()=>((ge=ge||{})[ge.Default=0]="Default",ge[ge.Host=1]="Host",ge[ge.Self=2]="Self",ge[ge.SkipSelf=4]="SkipSelf",ge[ge.Optional=8]="Optional",ge))();let yo;function at(e){const t=yo;return yo=e,t}function Or(e,t,n){const r=ct(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ge.Optional?null:void 0!==t?t:void Gt(J(e))}const Et=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Qn={},Nn="__NG_DI_FLAG__",Rr="ngTempTokenPath",pr=/\n/gm,gt="__source";let on;function Hn(e){const t=on;return on=e,t}function ti(e,t=ge.Default){if(void 0===on)throw new Ee(-203,!1);return null===on?Or(e,void 0,t):on.get(e,t&ge.Optional?null:void 0,t)}function _t(e,t=ge.Default){return(function xr(){return yo}()||ti)(se(e),t)}function mr(e,t=ge.Default){return _t(e,$n(t))}function $n(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Br(e){const t=[];for(let n=0;n ((ft=ft||{})[ft.OnPush=0]="OnPush",ft[ft.Default=1]="Default",ft))(),yt=(()=>{return(e=yt||(yt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",yt;var e})();const ln={},Be=[],Gn=q({\u0275cmp:q}),Hr=q({\u0275dir:q}),vn=q({\u0275pipe:q}),cn=q({\u0275mod:q}),Lt=q({\u0275fac:q}),yr=q({__NG_ELEMENT_ID__:q});let Nr=0;function vr(e){return wt(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ft.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||yt.Emulated,id:"c"+Nr++,styles:e.styles||Be,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=e.dependencies,l=e.features;return o.inputs=Sn(e.inputs,r),o.outputs=Sn(e.outputs),l&&l.forEach(f=>f(o)),o.directiveDefs=a?()=>("function"==typeof a?a():a).map(Fn).filter(Do):null,o.pipeDefs=a?()=>("function"==typeof a?a():a).map(kt).filter(Do):null,o})}function Fn(e){return Xe(e)||Dt(e)}function Do(e){return null!==e}function wn(e){return wt(()=>({type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sn(e,t){if(null==e)return ln;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}const Ln=vr;function Pr(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 Xe(e){return e[Gn]||null}function Dt(e){return e[Hr]||null}function kt(e){return e[vn]||null}function nr(e){const t=Xe(e)||Dt(e)||kt(e);return null!==t&&t.standalone}function dn(e,t){const n=e[cn]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function Dn(e){return Array.isArray(e)&&"object"==typeof e[1]}function fn(e){return Array.isArray(e)&&!0===e[1]}function Gr(e){return 0!=(4&e.flags)}function Wn(e){return e.componentOffset>-1}function ze(e){return 1==(1&e.flags)}function Wt(e){return null!==e.template}function to(e){return 0!=(256&e[2])}function Jt(e,t){return e.hasOwnProperty(Lt)?e[Lt]:null}class Ke{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zn(){return Mo}function Mo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Io),Er}function Er(){const e=sr(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Io(e,t,n,r){const o=this.declaredInputs[n],a=sr(e)||function wr(e,t){return e[Lr]=t}(e,{previous:ln,current:null}),l=a.current||(a.current={}),f=a.previous,_=f[o];l[o]=new Ke(_&&_.currentValue,t,f===ln),e[r]=t}Zn.ngInherit=!0;const Lr="__ngSimpleChanges__";function sr(e){return e[Lr]||null}function Ht(e){for(;Array.isArray(e);)e=e[0];return e}function Yr(e,t){return Ht(t[e])}function Xt(e,t){return Ht(t[e.index])}function Bo(e,t){return e.data[t]}function uo(e,t){return e[t]}function Yt(e,t){const n=t[e];return Dn(n)?n:n[0]}function ue(e){return 64==(64&e[2])}function Pe(e,t){return null==t?null:e[t]}function D(e){e[18]=0}function y(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const g={lFrame:Ia(null),bindingsEnabled:!0};function St(){return g.bindingsEnabled}function te(){return g.lFrame.lView}function je(){return g.lFrame.tView}function Sr(e){return g.lFrame.contextLView=e,e[8]}function Mr(e){return g.lFrame.contextLView=null,e}function Ut(){let e=Tn();for(;null!==e&&64===e.type;)e=e.parent;return e}function Tn(){return g.lFrame.currentTNode}function Kr(e,t){const n=g.lFrame;n.currentTNode=e,n.isParent=t}function ai(){return g.lFrame.isParent}function bi(){g.lFrame.isParent=!1}function pn(){const e=g.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ho(){return g.lFrame.bindingIndex++}function Zi(e,t){const n=g.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ms(t)}function Ms(e){g.lFrame.currentDirectiveIndex=e}function Ts(){return g.lFrame.currentQueryIndex}function As(e){g.lFrame.currentQueryIndex=e}function Sa(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function xs(e,t,n){if(n&ge.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&ge.Host||(o=Sa(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const r=g.lFrame=Ma();return r.currentTNode=t,r.lView=e,!0}function Os(e){const t=Ma(),n=e[1];g.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ma(){const e=g.lFrame,t=null===e?null:e.child;return null===t?Ia(e):t}function Ia(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 Ta(){const e=g.lFrame;return g.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Aa=Ta;function Ki(){const e=Ta();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 m(){return g.lFrame.selectedIndex}function E(e){g.lFrame.selectedIndex=e}function v(){const e=g.lFrame;return Bo(e.tView,e.selectedIndex)}function ot(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n =r)break}else t[_]<0&&(e[18]+=65536),(f>11 >16&&(3&e[2])===t){e[2]+=2048;try{a.call(f)}finally{}}}else try{a.call(f)}finally{}}class xn{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ns(e,t,n){let r=0;for(;r t){l=a-1;break}}}for(;a >16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Na=!0;function Si(e){const t=Na;return Na=e,t}let vf=0;const Ao={};function Fs(e,t){const n=Uu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Fa(r.data,e),Fa(t,null),Fa(r.blueprint,null));const o=qi(e,t),a=e.injectorIndex;if(wi(o)){const l=ui(o),f=Ps(o,t),_=f[1].data;for(let C=0;C<8;C++)t[a+C]=f[l+C]|_[l+C]}return t[a+8]=o,a}function Fa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Uu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function qi(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=zu(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ur(e,t,n){!function Pa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(yr)&&(r=n[yr]),null==r&&(r=n[yr]=vf++);const o=255&r;t.data[e+(o>>5)]|=1< =0?255&t:Qi:t}(n);if("function"==typeof a){if(!xs(t,e,r))return r&ge.Host?Mi(o,0,r):Hu(t,n,r,o);try{const l=a(r);if(null!=l||r&ge.Optional)return l;Gt()}finally{Aa()}}else if("number"==typeof a){let l=null,f=Uu(e,t),_=-1,C=r&ge.Host?t[16][6]:null;for((-1===f||r&ge.SkipSelf)&&(_=-1===f?qi(e,t):t[f+8],-1!==_&&Gu(r,!1)?(l=t[1],f=ui(_),t=Ps(_,t)):f=-1);-1!==f;){const I=t[1];if(Ti(a,f,I.data)){const O=Ls(f,t,n,l,r,C);if(O!==Ao)return O}_=t[f+8],-1!==_&&Gu(r,t[1].data[f+8]===C)&&Ti(a,f,t)?(l=I,f=ui(_),t=Ps(_,t)):f=-1}}return o}function Ls(e,t,n,r,o,a){const l=t[1],f=l.data[e+8],I=ks(f,l,n,null==r?Wn(f)&&Na:r!=l&&0!=(3&f.type),o&ge.Host&&a===f);return null!==I?li(t,l,I,f):Ao}function ks(e,t,n,r,o){const a=e.providerIndexes,l=t.data,f=1048575&a,_=e.directiveStart,I=a>>20,F=o?f+I:e.directiveEnd;for(let H=r?f:f+I;H =_&&oe.type===n)return H}if(o){const H=l[_];if(H&&Wt(H)&&H.type===n)return _}return null}function li(e,t,n,r){let o=e[n];const a=t.data;if(function co(e){return e instanceof xn}(o)){const l=o;l.resolving&&function Fe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ee(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_e(e)}(a[n]));const f=Si(l.canSeeViewProviders);l.resolving=!0;const _=l.injectImpl?at(l.injectImpl):null;xs(e,r,ge.Default);try{o=e[n]=l.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ht(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const l=Mo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==_&&at(_),Si(f),l.resolving=!1,Aa()}}return o}function Ti(e,t,n){return!!(n[t+(e>>5)]&1< {const t=e.prototype.constructor,n=t[Lt]||ka(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[Lt]||ka(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function ka(e){return We(e)?()=>{const t=ka(se(e));return t&&t()}:Jt(e)}function zu(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Va(e){return function Bu(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 Xi(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const l=new o(...a);return f.annotation=l,f;function f(_,C,I){const O=_.hasOwnProperty(Ri)?_[Ri]:Object.defineProperty(_,Ri,{value:[]})[Ri];for(;O.length<=I;)O.push(null);return(O[I]=O[I]||[]).push(l),_}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Ft{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=Rt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ci(e,t){e.forEach(n=>Array.isArray(n)?ci(n,t):t(n))}function Zu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function di(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pi(e,t){const n=[];for(let r=0;r =0?e[1|r]=n:(r=~r,function Vs(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 js(e,t){const n=Fi(e,t);if(n>=0)return e[1|n]}function Fi(e,t){return function qu(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),l=e[a< t?o=a:r=a+1}return~(o< ((Qr=Qr||{})[Qr.Important=1]="Important",Qr[Qr.DashCase=2]="DashCase",Qr))();const Ws=new Map;let Vi=0;const Ys="__ngContext__";function On(e,t){Dn(t)?(e[Ys]=t[20],function rl(e){Ws.set(e[20],e)}(t)):e[Ys]=t}function ru(e,t){return undefined(e,t)}function as(e){const t=e[3];return fn(t)?t[3]:t}function Ks(e){return Ac(e[13])}function ou(e){return Ac(e[4])}function Ac(e){for(;null!==e&&!fn(e);)e=e[4];return e}function Ui(e,t,n,r,o){if(null!=r){let a,l=!1;fn(r)?a=r:Dn(r)&&(l=!0,r=r[0]);const f=Ht(r);0===e&&null!==n?null==o?uu(t,n,f):Yo(t,n,f,o||null,!0):1===e&&null!==n?Yo(t,n,f,o||null,!0):2===e?function pi(e,t,n){const r=Zt(e,t);r&&function Nc(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,f,l):3===e&&t.destroyNode(f),null!=a&&function Gf(e,t,n,r,o){const a=n[7];a!==Ht(n)&&Ui(t,e,r,a,o);for(let f=10;f 0&&(e[n-1][4]=r[4]);const a=di(e,10+t);!function qs(e,t){Hi(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=a[19];null!==l&&l.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function au(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Hi(e,t,n,3,null,null),function Bf(e){let t=e[13];if(!t)return Bi(e[1],e);for(;t;){let n=null;if(Dn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Dn(t)&&Bi(t[1],t),t=t[3];null===t&&(t=e),Dn(t)&&Bi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Bi(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Hf(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r =0?r[o=l]():r[o=-l].unsubscribe(),a+=2}else{const l=r[o=n[a+1]];n[a].call(l)}if(null!==r){for(let a=o+1;a -1){const{encapsulation:a}=e.data[r.directiveStart+o];if(a===yt.None||a===yt.Emulated)return null}return Xt(r,n)}}(e,t.parent,n)}function Yo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function uu(e,t,n){e.appendChild(t,n)}function lu(e,t,n,r,o){null!==r?Yo(e,t,n,r,o):uu(e,t,n)}function Zt(e,t){return e.parentNode(t)}function Js(e,t,n){return du(e,t,n)}let ds,fs,du=function us(e,t,n){return 40&e.type?Xt(e,n):null};function cs(e,t,n,r){const o=dl(e,r,t),a=t[11],f=Js(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let _=0;_ e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fs}()?.createScriptURL(e)||e}class kc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nn})`}}function Zo(e){return e instanceof kc?e.changingThisBreaksApplicationSecurity:e}function hs(e,t){const n=function qf(e){return e instanceof kc&&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 ${nn})`)}return n===t}const s=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Rn=(()=>((Rn=Rn||{})[Rn.NONE=0]="NONE",Rn[Rn.HTML=1]="HTML",Rn[Rn.STYLE=2]="STYLE",Rn[Rn.SCRIPT=3]="SCRIPT",Rn[Rn.URL=4]="URL",Rn[Rn.RESOURCE_URL=5]="RESOURCE_URL",Rn))();function Bc(e){const t=vu();return t?t.sanitize(Rn.URL,e)||"":hs(e,"URL")?Zo(e):function i(e){return(e=String(e)).match(s)?e:"unsafe:"+e}(_e(e))}function Xf(e){const t=vu();if(t)return vl(t.sanitize(Rn.RESOURCE_URL,e)||"");if(hs(e,"ResourceURL"))return vl(Zo(e));throw new Ee(904,!1)}function eh(e,t,n){return function Cy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Xf:Bc}(t,n)(e)}function vu(){const e=te();return e&&e[12]}const Hc=new Ft("ENVIRONMENT_INITIALIZER"),th=new Ft("INJECTOR",-1),nh=new Ft("INJECTOR_DEF_TYPES");class rh{get(t,n=Qn){if(n===Qn){const r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}}function by(e){return{\u0275providers:e}}function Ey(...e){return{\u0275providers:oh(0,e),\u0275fromNgModule:!0}}function oh(e,...t){const n=[],r=new Set;let o;return ci(t,a=>{const l=a;$c(l,n,[],r)&&(o||(o=[]),o.push(l))}),void 0!==o&&ih(o,n),n}function ih(e,t){for(let n=0;n {t.push(a)})}}function $c(e,t,n,r){if(!(e=se(e)))return!1;let o=null,a=Ur(e);const l=!a&&Xe(e);if(a||l){if(l&&!l.standalone)return!1;o=e}else{const _=e.ngModule;if(a=Ur(_),!a)return!1;o=_}const f=r.has(o);if(l){if(f)return!1;if(r.add(o),l.dependencies){const _="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const C of _)$c(C,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!f){let C;r.add(o);try{ci(a.imports,I=>{$c(I,t,n,r)&&(C||(C=[]),C.push(I))})}finally{}void 0!==C&&ih(C,t)}if(!f){const C=Jt(o)||(()=>new o);t.push({provide:o,useFactory:C,deps:Be},{provide:nh,useValue:o,multi:!0},{provide:Hc,useValue:()=>_t(o),multi:!0})}const _=a.providers;null==_||f||Gc(_,I=>{t.push(I)})}}return o!==e&&void 0!==e.providers}function Gc(e,t){for(let n of e)Ze(n)&&(n=n.\u0275providers),Array.isArray(n)?Gc(n,t):t(n)}const wy=q({provide:String,useValue:q});function zc(e){return null!==e&&"object"==typeof e&&wy in e}function ps(e){return"function"==typeof e}const Wc=new Ft("Set Injector scope."),bl={},My={};let Yc;function El(){return void 0===Yc&&(Yc=new rh),Yc}class gs{}class uh extends gs{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,Kc(t,l=>this.processProvider(l)),this.records.set(th,ra(void 0,this)),o.has("environment")&&this.records.set(gs,ra(void 0,this));const a=this.records.get(Wc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(nh.multi,Be,ge.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Hn(this),r=at(void 0);try{return t()}finally{Hn(n),at(r)}}get(t,n=Qn,r=ge.Default){this.assertNotDestroyed(),r=$n(r);const o=Hn(this),a=at(void 0);try{if(!(r&ge.SkipSelf)){let f=this.records.get(t);if(void 0===f){const _=function Oy(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ft}(t)&&ct(t);f=_&&this.injectableDefInScope(_)?ra(Zc(t),bl):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&ge.Self?El():this.parent).get(t,n=r&ge.Optional&&n===Qn?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Rr]=l[Rr]||[]).unshift(J(t)),o)throw l;return function _o(e,t,n,r){const o=e[Rr];throw t[gt]&&o.unshift(t[gt]),e.message=function qt(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=J(t);if(Array.isArray(t))o=t.map(J).join(" -> ");else if("object"==typeof t){let a=[];for(let l in t)if(t.hasOwnProperty(l)){let f=t[l];a.push(l+":"+("string"==typeof f?JSON.stringify(f):J(f)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(pr,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Rr]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{at(a),Hn(o)}}resolveInjectorInitializers(){const t=Hn(this),n=at(void 0);try{const r=this.get(Hc.multi,Be,ge.Self);for(const o of r)o()}finally{Hn(t),at(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ee(205,!1)}processProvider(t){let n=ps(t=se(t))?t:se(t&&t.provide);const r=function Ty(e){return zc(e)?ra(void 0,e.useValue):ra(lh(e),bl)}(t);if(ps(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ra(void 0,bl,!0),o.factory=()=>Br(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===bl&&(n.value=My,n.value=n.factory()),"object"==typeof n.value&&n.value&&function xy(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=se(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Zc(e){const t=ct(e),n=null!==t?t.factory:Jt(e);if(null!==n)return n;if(e instanceof Ft)throw new Ee(204,!1);if(e instanceof Function)return function Iy(e){const t=e.length;if(t>0)throw Pi(t,"?"),new Ee(204,!1);const n=function ei(e){const t=e&&(e[Kt]||e[Tt]);if(t){const n=function jr(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ee(204,!1)}function lh(e,t,n){let r;if(ps(e)){const o=se(e);return Jt(o)||Zc(o)}if(zc(e))r=()=>se(e.useValue);else if(function ah(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Br(e.deps||[]));else if(function sh(e){return!(!e||!e.useExisting)}(e))r=()=>_t(se(e.useExisting));else{const o=se(e&&(e.useClass||e.provide));if(!function Ay(e){return!!e.deps}(e))return Jt(o)||Zc(o);r=()=>new o(...Br(e.deps))}return r}function ra(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Kc(e,t){for(const n of e)Array.isArray(n)?Kc(n,t):n&&Ze(n)?Kc(n.\u0275providers,t):t(n)}class Ry{}class ch{}class Py{resolveComponentFactory(t){throw function Ny(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let _u=(()=>{class e{}return e.NULL=new Py,e})();function Fy(){return oa(Ut(),te())}function oa(e,t){return new Du(Xt(e,t))}let Du=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Fy,e})();function Ly(e){return e instanceof Du?e.nativeElement:e}class fh{}let ky=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Vy(){const e=te(),n=Yt(Ut().index,e);return(Dn(n)?n:e)[11]}(),e})(),jy=(()=>{class e{}return e.\u0275prov=Rt({token:e,providedIn:"root",factory:()=>null}),e})();class hh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Uy=new hh("15.0.4"),qc={};function Jc(e){return e.ngOriginalError}class Cu{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&&Jc(t);for(;n&&Jc(n);)n=Jc(n);return n||null}}function yi(e){return e instanceof Function?e():e}function gh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}const mh="ng-template";function Qy(e,t,n){let r=0;for(;r a?"":o[O+1].toLowerCase();const H=8&r?F:null;if(H&&-1!==gh(H,C,0)||2&r&&C!==F){if(Ro(r))return!1;l=!0}}}}else{if(!l&&!Ro(r)&&!Ro(_))return!1;if(l&&Ro(_))continue;l=!1,r=_|1&r}}return Ro(r)||l}function Ro(e){return 0==(1&e)}function ev(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o -1)for(n++;n 0?'="'+f+'"':"")+"]"}else 8&r?o+="."+l:4&r&&(o+=" "+l);else""!==o&&!Ro(l)&&(t+=_h(a,o),o=""),r=l,a=a||!Ro(r);n++}return""!==o&&(t+=_h(a,o)),t}const Je={};function Dh(e){Ch(je(),te(),m()+e,!1)}function Ch(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&ut(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Ye(t,a,0,n)}E(n)}function Sh(e,t=null,n=null,r){const o=Mh(e,t,n,r);return o.resolveInjectorInitializers(),o}function Mh(e,t=null,n=null,r,o=new Set){const a=[n||Be,Ey(e)];return r=r||("object"==typeof e?void 0:J(e)),new uh(a,t||El(),r||null,o)}let ms=(()=>{class e{static create(n,r){if(Array.isArray(n))return Sh({name:""},r,n,"");{const o=n.name??"";return Sh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Qn,e.NULL=new rh,e.\u0275prov=Rt({token:e,providedIn:"any",factory:()=>_t(th)}),e.__NG_ELEMENT_ID__=-1,e})();function aa(e,t=ge.Default){const n=te();return null===n?_t(e,t):$u(Ut(),n,se(e),t)}function Nh(){throw new Error("invalid")}function Ph(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r 22&&Ch(e,t,22,!1),n(r,o)}finally{E(a)}}function id(e,t,n){if(Gr(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a 0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(l)!=f&&l.push(f),l.push(n,r,a)}}(e,t,r,bu(e,n,o.hostVars,Je),o)}function Ko(e,t,n,r,o,a){const l=Xt(e,t);!function dd(e,t,n,r,o,a,l){if(null==a)e.removeAttribute(t,o,n);else{const f=null==l?_e(a):l(a,r||"",o);e.setAttribute(t,o,f,n)}}(t[11],l,a,e.value,n,r,o)}function zv(e,t,n,r,o,a){const l=a[t];if(null!==l){const f=r.setInput;for(let _=0;_ 0&&fd(n)}}function fd(e){for(let r=Ks(e);null!==r;r=ou(r))for(let o=10;o 0&&fd(a)}const n=e[1].components;if(null!==n)for(let r=0;r 0&&fd(o)}}function qv(e,t){const n=Yt(t,e),r=n[1];(function Qv(e,t){for(let n=t.length;n -1&&(su(t,r),di(n,r))}this._attachedToViewContainer=!1}au(this._lView[1],this._lView)}onDestroy(t){kh(this._lView[1],this._lView,null,t)}markForCheck(){hd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Tl(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Oo(e,t){Hi(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ee(902,!1);this._appRef=t}}class Jv extends Eu{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Tl(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Zh extends _u{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Xe(t);return new wu(n,this.ngModule)}}function Kh(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=$n(r);const o=this.injector.get(t,qc,r);return o!==qc||n===qc?o:this.parentInjector.get(t,n,r)}}class wu extends ch{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function sv(e){return e.map(iv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Kh(this.componentDef.inputs)}get outputs(){return Kh(this.componentDef.outputs)}create(t,n,r,o){let a=(o=o||this.ngModule)instanceof gs?o:o?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const l=a?new e_(t,a):t,f=l.get(fh,null);if(null===f)throw new Ee(407,!1);const _=l.get(jy,null),C=f.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",O=r?function xv(e,t,n){return e.selectRootElement(t,n===yt.ShadowDom)}(C,r,this.componentDef.encapsulation):hi(C,I,function Xv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),F=this.componentDef.onPush?288:272,H=ud(0,null,null,1,0,null,null,null,null,null),oe=Sl(null,H,null,F,null,null,f,C,_,l,null);let me,be;Os(oe);try{const xe=this.componentDef;let $e,de=null;xe.findHostDirectiveDefs?($e=[],de=new Map,xe.findHostDirectiveDefs(xe,$e,de),$e.push(xe)):$e=[xe];const qe=function n_(e,t){const n=e[1];return e[22]=t,ua(n,22,2,"#host",null)}(oe,O),tn=function r_(e,t,n,r,o,a,l,f){const _=o[1];!function o_(e,t,n,r){for(const o of e)t.mergedAttrs=Ei(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Al(t,t.mergedAttrs,!0),null!==n&&pl(r,n,t))}(r,e,t,l);const C=a.createRenderer(t,n),I=Sl(o,Lh(n),null,n.onPush?32:16,o[e.index],e,a,C,f||null,null,null);return _.firstCreatePass&&cd(_,e,r.length-1),Il(o,I),o[e.index]=I}(qe,O,xe,$e,oe,f,C);be=Bo(H,22),O&&function s_(e,t,n,r){if(r)Ns(e,n,["ng-version",Uy.full]);else{const{attrs:o,classes:a}=function av(e){const t=[],n=[];let r=1,o=2;for(;r 0&&Fc(e,n,a.join(" "))}}(C,xe,O,r),void 0!==n&&function a_(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=Ei(o.hostAttrs,n=Ei(n,o.hostAttrs))}}(r)}function yd(e){return e===ln?{}:e===Be?[]:e}function c_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function d_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function f_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Ol=null;function ys(){if(!Ol){const e=Et.Symbol;if(e&&e.iterator)Ol=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n l(Ht(qe[r.index])):r.index;let de=null;if(!l&&f&&(de=function M_(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a _?f[_]:null}"string"==typeof l&&(a+=2)}return null}(e,t,o,r.index)),null!==de)(de.__ngLastListenerFn__||de).__ngNextListenerFn__=a,de.__ngLastListenerFn__=a,F=!1;else{a=yp(r,t,I,a,!1);const qe=n.listen(be,o,a);O.push(a,qe),C&&C.push(o,$e,xe,xe+1)}}else a=yp(r,t,I,a,!1);const H=r.outputs;let oe;if(F&&null!==H&&(oe=H[o])){const me=oe.length;if(me)for(let be=0;be -1?Yt(e.index,t):t);let _=mp(t,0,r,l),C=a.__ngNextListenerFn__;for(;C;)_=mp(t,0,C,l)&&_,C=C.__ngNextListenerFn__;return o&&!1===_&&(l.preventDefault(),l.returnValue=!1),_}}function vp(e=1){return function ku(e){return(g.lFrame.contextLView=function ec(e,t){for(;e>0;)t=t[15],e--;return t}(e,g.lFrame.contextLView))[8]}(e)}function I_(e,t){let n=null;const r=function tv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o >17&32767}function Id(e){return 2|e}function _s(e){return(131068&e)>>2}function Td(e,t){return-131069&e|t<<2}function Ad(e){return 1|e}function xp(e,t,n,r,o){const a=e[n+1],l=null===t;let f=r?zi(a):_s(a),_=!1;for(;0!==f&&(!1===_||l);){const I=e[f+1];N_(e[f],t)&&(_=!0,e[f+1]=r?Ad(I):Id(I)),f=r?zi(I):_s(I)}_&&(e[n+1]=r?Id(a):Ad(a))}function N_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Fi(e,t)>=0}function xd(e,t){return function No(e,t,n,r){const o=te(),a=je(),l=function An(e){const t=g.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);a.firstUpdatePass&&function jp(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[m()],l=function Vp(e,t){return t>=e.expandoStartIndex}(e,n);(function $p(e,t){return 0!=(e.flags&(t?8:16))})(a,r)&&null===t&&!l&&(t=!1),t=function H_(e,t,n,r){const o=function Is(e){const t=g.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Iu(n=Od(null,e,t,n,r),t.attrs,r),a=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==o)if(n=Od(o,e,t,n,r),null===a){let _=function $_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==_s(r))return e[zi(r)]}(e,t,r);void 0!==_&&Array.isArray(_)&&(_=Od(null,e,t,_[1],r),_=Iu(_,t.attrs,r),function G_(e,t,n,r){e[zi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,_))}else a=function z_(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a 0)&&(C=!0)}else I=n;if(o)if(0!==_){const F=zi(e[f+1]);e[r+1]=kl(F,f),0!==F&&(e[F+1]=Td(e[F+1],r)),e[f+1]=function A_(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=kl(f,0),0!==f&&(e[f+1]=Td(e[f+1],r)),f=r;else e[r+1]=kl(_,0),0===f?f=r:e[_+1]=Td(e[_+1],r),_=r;C&&(e[r+1]=Id(e[r+1])),xp(e,I,r,!0),xp(e,I,r,!1),function R_(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Fi(a,t)>=0&&(n[r+1]=Ad(n[r+1]))}(t,I,e,r,a),l=kl(f,_),a?t.classBindings=l:t.styleBindings=l}(o,a,t,n,l,r)}}(a,e,l,r),t!==Je&&dr(o,l,t)&&function Bp(e,t,n,r,o,a,l,f){if(!(3&t.type))return;const _=e.data,C=_[f+1],I=function x_(e){return 1==(1&e)}(C)?Hp(_,t,n,o,_s(C),l):void 0;Vl(I)||(Vl(a)||function T_(e){return 2==(2&e)}(C)&&(a=Hp(_,null,n,o,f,l)),function zf(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:Qr.DashCase;null==o?e.removeStyle(n,r,a):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),a|=Qr.Important),e.setStyle(n,r,o,a))}}(r,l,Yr(m(),n),o,a))}(a,a.data[m()],o,o[11],e,o[l+1]=function Z_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=J(Zo(e)))),e}(t,n),r,l)}(e,t,null,!0),xd}function Od(e,t,n,r,o){let a=null;const l=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f 0;){const _=e[o],C=Array.isArray(_),I=C?_[1]:_,O=null===I;let F=n[o+1];F===Je&&(F=O?Be:void 0);let H=O?js(F,r):I===r?F:void 0;if(C&&!Vl(H)&&(H=js(_,r)),Vl(H)&&(f=H,l))return f;const oe=e[o+1];o=l?zi(oe):_s(oe)}if(null!==t){let _=a?t.residualClasses:t.residualStyles;null!=_&&(f=js(_,r))}return f}function Vl(e){return void 0!==e}function Gp(e,t=""){const n=te(),r=je(),o=e+22,a=r.firstCreatePass?ua(r,o,1,t,null):r.data[o],l=n[o]=function zo(e,t){return e.createText(t)}(n[11],t);cs(r,n,l,a),Kr(a,!1)}function Rd(e){return jl("",e,""),Rd}function jl(e,t,n){const r=te(),o=function ca(e,t,n,r){return dr(e,Ho(),n)?t+_e(n)+r:Je}(r,e,t,n);return o!==Je&&function vi(e,t,n){const r=Yr(t,e);!function ll(e,t,n){e.setValue(t,n)}(e[11],r,n)}(r,m(),o),jl}function Nd(e,t,n){const r=te();return dr(r,Ho(),t)&&Jr(je(),v(),r,e,t,r[11],n,!0),Nd}const Ds=void 0;var pD=["en",[["a","p"],["AM","PM"],Ds],[["AM","PM"],Ds,Ds],[["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"]],Ds,[["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"]],Ds,[["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}",Ds,"{1} 'at' {0}",Ds],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function hD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let _a={};function Pd(e){const t=function gD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=cg(t);if(n)return n;const r=t.split("-")[0];if(n=cg(r),n)return n;if("en"===r)return pD;throw new Ee(701,!1)}function lg(e){return Pd(e)[Ue.PluralCase]}function cg(e){return e in _a||(_a[e]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[e]),_a[e]}var Ue=(()=>((Ue=Ue||{})[Ue.LocaleId=0]="LocaleId",Ue[Ue.DayPeriodsFormat=1]="DayPeriodsFormat",Ue[Ue.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ue[Ue.DaysFormat=3]="DaysFormat",Ue[Ue.DaysStandalone=4]="DaysStandalone",Ue[Ue.MonthsFormat=5]="MonthsFormat",Ue[Ue.MonthsStandalone=6]="MonthsStandalone",Ue[Ue.Eras=7]="Eras",Ue[Ue.FirstDayOfWeek=8]="FirstDayOfWeek",Ue[Ue.WeekendRange=9]="WeekendRange",Ue[Ue.DateFormat=10]="DateFormat",Ue[Ue.TimeFormat=11]="TimeFormat",Ue[Ue.DateTimeFormat=12]="DateTimeFormat",Ue[Ue.NumberSymbols=13]="NumberSymbols",Ue[Ue.NumberFormats=14]="NumberFormats",Ue[Ue.CurrencyCode=15]="CurrencyCode",Ue[Ue.CurrencySymbol=16]="CurrencySymbol",Ue[Ue.CurrencyName=17]="CurrencyName",Ue[Ue.Currencies=18]="Currencies",Ue[Ue.Directionality=19]="Directionality",Ue[Ue.PluralCase=20]="PluralCase",Ue[Ue.ExtraData=21]="ExtraData",Ue))();const Da="en-US";let dg=Da;function kd(e,t,n,r,o){if(e=se(e),Array.isArray(e))for(let a=0;a >20;if(ps(e)||!e.multi){const H=new xn(_,o,aa),oe=jd(f,t,o?I:I+F,O);-1===oe?(ur(Fs(C,l),a,f),Vd(a,e,t.length),t.push(f),C.directiveStart++,C.directiveEnd++,o&&(C.providerIndexes+=1048576),n.push(H),l.push(H)):(n[oe]=H,l[oe]=H)}else{const H=jd(f,t,I+F,O),oe=jd(f,t,I,I+F),me=H>=0&&n[H],be=oe>=0&&n[oe];if(o&&!be||!o&&!me){ur(Fs(C,l),a,f);const xe=function fC(e,t,n,r,o){const a=new xn(e,n,aa);return a.multi=[],a.index=t,a.componentProviders=0,Lg(a,o,r&&!n),a}(o?dC:cC,n.length,o,r,_);!o&&be&&(n[oe].providerFactory=xe),Vd(a,e,t.length,0),t.push(f),C.directiveStart++,C.directiveEnd++,o&&(C.providerIndexes+=1048576),n.push(xe),l.push(xe)}else Vd(a,e,H>-1?H:oe,Lg(n[o?oe:H],_,!o&&r));!o&&r&&be&&n[oe].componentProviders++}}}function Vd(e,t,n,r){const o=ps(t),a=function Sy(e){return!!e.useClass}(t);if(o||a){const _=(a?se(t.useClass):t).prototype.ngOnDestroy;if(_){const C=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const I=C.indexOf(n);-1===I?C.push(n,[r,_]):C[I+1].push(r,_)}else C.push(n,_)}}}function Lg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function jd(e,t,n,r){for(let o=n;o {n.providersResolver=(r,o)=>function lC(e,t,n){const r=je();if(r.firstCreatePass){const o=Wt(e);kd(n,r.data,r.blueprint,o,!0),kd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Ca{}class Vg{}function hC(e,t){return new jg(e,t??null)}class jg extends Ca{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Zh(this);const r=dn(t);this._bootstrapComponents=yi(r.bootstrap),this._r3Injector=Mh(t,n,[{provide:Ca,useValue:this},{provide:_u,useValue:this.componentFactoryResolver}],J(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 Bd extends Vg{constructor(t){super(),this.moduleType=t}create(t){return new jg(this.moduleType,t)}}class pC extends Ca{constructor(t,n,r){super(),this.componentFactoryResolver=new Zh(this),this.instance=null;const o=new uh([...t,{provide:Ca,useValue:this},{provide:_u,useValue:this.componentFactoryResolver}],n||El(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Hd(e,t,n=null){return new pC(e,t,n).injector}let gC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=oh(0,n.type),o=r.length>0?Hd([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Rt({token:e,providedIn:"environment",factory:()=>new e(_t(gs))}),e})();function Ug(e){e.getStandaloneInjector=t=>t.get(gC).getOrCreateStandaloneInjector(e)}function Yg(e,t,n,r){return Kg(te(),pn(),e,t,n,r)}function Zg(e,t,n,r,o){return qg(te(),pn(),e,t,n,r,o)}function Nu(e,t){const n=e[t];return n===Je?void 0:n}function Kg(e,t,n,r,o,a){const l=t+n;return dr(e,l,o)?qo(e,l+1,a?r.call(a,o):r(o)):Nu(e,l+1)}function qg(e,t,n,r,o,a,l){const f=t+n;return function vs(e,t,n,r){const o=dr(e,t,n);return dr(e,t+1,r)||o}(e,f,o,a)?qo(e,f+2,l?r.call(l,o,a):r(o,a)):Nu(e,f+2)}function em(e,t){const n=je();let r;const o=e+22;n.firstCreatePass?(r=function RC(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||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const a=r.factory||(r.factory=Jt(r.type)),l=at(aa);try{const f=Si(!1),_=a();return Si(f),function E_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,te(),o,_),_}finally{at(l)}}function tm(e,t,n){const r=e+22,o=te(),a=uo(o,r);return Pu(o,r)?Kg(o,pn(),t,a.transform,n,a):a.transform(n)}function nm(e,t,n,r){const o=e+22,a=te(),l=uo(a,o);return Pu(a,o)?qg(a,pn(),t,l.transform,n,r,l):l.transform(n,r)}function Pu(e,t){return e[1].data[t].pure}function Gd(e){return t=>{setTimeout(e,void 0,t)}}const Xo=class LC extends h.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,a=n||(()=>null),l=r;if(t&&"object"==typeof t){const _=t;o=_.next?.bind(_),a=_.error?.bind(_),l=_.complete?.bind(_)}this.__isAsync&&(a=Gd(a),o&&(o=Gd(o)),l&&(l=Gd(l)));const f=super.subscribe({next:o,error:a,complete:l});return t instanceof p.w&&t.add(f),f}};function kC(){return this._results[ys()]()}class zd{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=ys(),r=zd.prototype;r[n]||(r[n]=kC)}get changes(){return this._changes||(this._changes=new Xo)}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 kr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ac(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r {class e{}return e.__NG_ELEMENT_ID__=UC,e})();const VC=Fu,jC=class extends VC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Sl(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(o[19]=l.createEmbeddedView(r)),od(r,o,t),new Eu(o)}};function UC(){return Gl(Ut(),te())}function Gl(e,t){return 4&e.type?new jC(t,e,oa(e,t)):null}let zl=(()=>{class e{}return e.__NG_ELEMENT_ID__=BC,e})();function BC(){return im(Ut(),te())}const HC=zl,rm=class extends HC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return oa(this._hostTNode,this._hostLView)}get injector(){return new Ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=qi(this._hostTNode,this._hostLView);if(wi(t)){const n=Ps(t,this._hostLView),r=ui(t);return new Ai(n[1].data[r+8],n)}return new Ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=om(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,a;"number"==typeof r?o=r:null!=r&&(o=r.index,a=r.injector);const l=t.createEmbeddedView(n||{},a);return this.insert(l,o),l}createComponent(t,n,r,o,a){const l=t&&!function Go(e){return"function"==typeof e}(t);let f;if(l)f=n;else{const O=n||{};f=O.index,r=O.injector,o=O.projectableNodes,a=O.environmentInjector||O.ngModuleRef}const _=l?t:new wu(Xe(t)),C=r||this.parentInjector;if(!a&&null==_.ngModule){const F=(l?C:this.parentInjector).get(gs,null);F&&(a=F)}const I=_.create(C,o,void 0,a);return this.insert(I.hostView,f),I}insert(t,n){const r=t._lView,o=r[1];if(function De(e){return fn(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const O=r[3],F=new rm(O,O[6],O[3]);F.detach(F.indexOf(t))}}const a=this._adjustIndex(n),l=this._lContainer;!function Oc(e,t,n,r){const o=10+r,a=n.length;r>0&&(n[o-1][4]=t),r 0)r.push(l[f/2]);else{const C=a[f+1],I=t[-_];for(let O=10;O {class e{constructor(n){this.appInits=n,this.resolve=Yl,this.reject=Yl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o {a.subscribe({complete:f,error:_})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(_t(Nm,8))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Pm=new Ft("AppId",{providedIn:"root",factory:function Fm(){return`${nf()}${nf()}${nf()}`}});function nf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lm=new Ft("Platform Initializer"),gb=new Ft("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),km=new Ft("appBootstrapListener");let mb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Kl=new Ft("LocaleId",{providedIn:"root",factory:()=>mr(Kl,ge.Optional|ge.SkipSelf)||function yb(){return typeof $localize<"u"&&$localize.locale||Da}()}),vb=new Ft("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class _b{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Db=(()=>{class e{compileModuleSync(n){return new Bd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=yi(dn(n).declarations).reduce((l,f)=>{const _=Xe(f);return _&&l.push(new wu(_)),l},[]);return new _b(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Eb=(()=>Promise.resolve(0))();function rf(e){typeof Zone>"u"?Eb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class po{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xo(!1),this.onMicrotaskEmpty=new Xo(!1),this.onStable=new Xo(!1),this.onError=new Xo(!1),typeof Zone>"u")throw new Ee(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 wb(){let e=Et.requestAnimationFrame,t=Et.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Ib(e){const t=()=>{!function Mb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Et,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,af(e),e.isCheckStableRunning=!0,sf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),af(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,l,f)=>{try{return Um(e),n.invokeTask(o,a,l,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Bm(e)}},onInvoke:(n,r,o,a,l,f,_)=>{try{return Um(e),n.invoke(o,a,l,f,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),Bm(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,af(e),sf(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!po.isInAngularZone())throw new Ee(909,!1)}static assertNotInAngularZone(){if(po.isInAngularZone())throw new Ee(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,l=a.scheduleEventTask("NgZoneEvent: "+o,t,Sb,Yl,Yl);try{return a.runTask(l,n,r)}finally{a.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Sb={};function sf(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 af(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Um(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bm(e){e._nesting--,sf(e)}class Tb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xo,this.onMicrotaskEmpty=new Xo,this.onStable=new Xo,this.onError=new Xo}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 Hm=new Ft(""),$m=new Ft("");let uf,Ab=(()=>{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,uf||(function xb(e){uf=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:()=>{po.assertNotInAngularZone(),rf(()=>{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())rf(()=>{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 a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,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[]}}return e.\u0275fac=function(n){return new(n||e)(_t(po),_t(Gm),_t($m))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac}),e})(),Gm=(()=>{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 uf?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Wi=null;const zm=new Ft("AllowMultipleToken"),lf=new Ft("PlatformDestroyListeners");class Nb{constructor(t,n){this.name=t,this.token=n}}function Ym(e,t,n=[]){const r=`Platform: ${t}`,o=new Ft(r);return(a=[])=>{let l=cf();if(!l||l.injector.get(zm,!1)){const f=[...n,...a,{provide:o,useValue:!0}];e?e(f):function Pb(e){if(Wi&&!Wi.get(zm,!1))throw new Ee(400,!1);Wi=e;const t=e.get(Km);(function Wm(e){const t=e.get(Lm,null);t&&t.forEach(n=>n())})(e)}(function Zm(e=[],t){return ms.create({name:t,providers:[{provide:Wc,useValue:"platform"},{provide:lf,useValue:new Set([()=>Wi=null])},...e]})}(f,r))}return function Lb(e){const t=cf();if(!t)throw new Ee(401,!1);return t}()}}function cf(){return Wi?.get(Km)??null}let Km=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Qm(e,t){let n;return n="noop"===e?new Tb:("zone.js"===e?void 0:e)||new po(t),n}(r?.ngZone,function qm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),a=[{provide:po,useValue:o}];return o.run(()=>{const l=ms.create({providers:a,parent:this.injector,name:n.moduleType.name}),f=n.create(l),_=f.injector.get(Cu,null);if(!_)throw new Ee(402,!1);return o.runOutsideAngular(()=>{const C=o.onError.subscribe({next:I=>{_.handleError(I)}});f.onDestroy(()=>{Ql(this._modules,f),C.unsubscribe()})}),function Jm(e,t,n){try{const r=n();return wd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(_,o,()=>{const C=f.injector.get(Zl);return C.runInitializers(),C.donePromise.then(()=>(function fg(e){pt(e,"Expected localeId to be defined"),"string"==typeof e&&(dg=e.toLowerCase().replace(/_/g,"-"))}(f.injector.get(Kl,Da)||Da),this._moduleDoBootstrap(f),f))})})}bootstrapModule(n,r=[]){const o=Xm({},r);return function Ob(e,t,n){const r=new Bd(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const r=n.injector.get(ql);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ee(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 Ee(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(lf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(_t(ms))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Xm(e,t){return Array.isArray(t)?t.reduce(Xm,e):{...e,...t}}let ql=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new X.y(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),l=new X.y(f=>{let _;this._zone.runOutsideAngular(()=>{_=this._zone.onStable.subscribe(()=>{po.assertNotInAngularZone(),rf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const C=this._zone.onUnstable.subscribe(()=>{po.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{_.unsubscribe(),C.unsubscribe()}});this.isStable=function fe(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,ee.K)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof X.y?e[0]:(0,ae.J)(t)((0,Q.n)(e,n))}(a,l.pipe(function le(){return e=>(0,k.x)()(function Y(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new L(o,t));const a=Object.create(r,re.N);return a.source=r,a.subjectFactory=o,a}}(z)(e))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ch;if(!this._injector.get(Zl).done)throw!o&&nr(n),new Ee(405,false);let l;l=o?n:this._injector.get(_u).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const f=function Rb(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Ca),C=l.create(ms.NULL,[],r||l.selector,f),I=C.location.nativeElement,O=C.injector.get(Hm,null);return O?.registerApplication(I),C.onDestroy(()=>{this.detachView(C.hostView),Ql(this.components,C),O?.unregisterApplication(I)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new Ee(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ql(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(km,[]);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()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ql(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ee(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(_t(po),_t(gs),_t(Cu))},e.\u0275prov=Rt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ql(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Vb(){}let jb=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ub,e})();function Ub(e){return function Bb(e,t,n){if(Wn(e)&&!n){const r=Yt(e.index,t);return new Eu(r,r)}return 47&e.type?new Eu(t[16],t):null}(Ut(),te(),16==(16&e))}class oy{constructor(){}supports(t){return Su(t)}create(t){return new Yb(t)}}const Wb=(e,t)=>t;class Yb{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||Wb}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,a=null;for(;n||r;){const l=!r||n&&n.currentIndex {l=this._trackByFn(o,f),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,f,l,o)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,l,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 a;return null===t?a=this._itTail:(a=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,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new Zb(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,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,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._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 iy),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 iy),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 Zb{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 Kb{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 iy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Kb,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 sy(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 a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}}),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 a=o._prev,l=o._next;return a&&(a._next=l),l&&(l._prev=a),o._next=null,o._prev=null,o}const r=new Qb(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 Qb{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 uy(){return new gf([new oy])}let gf=(()=>{class e{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||uy()),deps:[[e,new rs,new ns]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ee(901,!1)}}return e.\u0275prov=Rt({token:e,providedIn:"root",factory:uy}),e})();function ly(){return new mf([new ay])}let mf=(()=>{class e{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||ly()),deps:[[e,new rs,new ns]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Ee(901,!1)}}return e.\u0275prov=Rt({token:e,providedIn:"root",factory:ly}),e})();const eE=Ym(null,"core",[]);let tE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(_t(ql))},e.\u0275mod=wn({type:e}),e.\u0275inj=Nt({}),e})();function nE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4719:(Oe,ie,A)=>{A.d(ie,{Fj:()=>Me,oH:()=>eo,u:()=>no,sg:()=>fn,u5:()=>Yr,JJ:()=>jr,JL:()=>Ur,UX:()=>Xt,vC:()=>Bo,QS:()=>De,p4:()=>Ae,nJ:()=>_o,kI:()=>Ee,_Y:()=>rr});var h=A(6738),p=A(6895),X=A(5254),ee=A(6498),ae=A(6688),Q=A(4850),fe=A(7830);function Y(D,y){return new ee.y(g=>{const S=D.length;if(0===S)return void g.complete();const j=new Array(S);let pe=0,st=0;for(let Ct=0;Ct {hn||(hn=!0,st++),j[Ct]=Pt},error:Pt=>g.error(Pt),complete:()=>{pe++,(pe===S||!hn)&&(st===S&&g.next(y?y.reduce((Pt,te,je)=>(Pt[te]=j[je],Pt),{}):j),g.complete())}}))}})}let L=(()=>{class D{constructor(g,S){this._renderer=g,this._elementRef=S,this.onChange=j=>{},this.onTouched=()=>{}}setProperty(g,S){this._renderer.setProperty(this._elementRef.nativeElement,g,S)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}}return D.\u0275fac=function(g){return new(g||D)(h.Y36(h.Qsj),h.Y36(h.SBq))},D.\u0275dir=h.lG2({type:D}),D})(),k=(()=>{class D extends L{}return D.\u0275fac=function(){let y;return function(S){return(y||(y=h.n5z(D)))(S||D)}}(),D.\u0275dir=h.lG2({type:D,features:[h.qOj]}),D})();const z=new h.OlP("NgValueAccessor"),ce={provide:z,useExisting:(0,h.Gpc)(()=>Me),multi:!0},he=new h.OlP("CompositionEventMode");let Me=(()=>{class D extends L{constructor(g,S,j){super(g,S),this._compositionMode=j,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function J(){const D=(0,p.q)()?(0,p.q)().getUserAgent():"";return/android (\d+)/.test(D.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}}return D.\u0275fac=function(g){return new(g||D)(h.Y36(h.Qsj),h.Y36(h.SBq),h.Y36(he,8))},D.\u0275dir=h.lG2({type:D,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(g,S){1&g&&h.NdJ("input",function(pe){return S._handleInput(pe.target.value)})("blur",function(){return S.onTouched()})("compositionstart",function(){return S._compositionStart()})("compositionend",function(pe){return S._compositionEnd(pe.target.value)})},features:[h._Bn([ce]),h.qOj]}),D})();function se(D){return null==D||("string"==typeof D||Array.isArray(D))&&0===D.length}function We(D){return null!=D&&"number"==typeof D.length}const Ze=new h.OlP("NgValidators"),ke=new h.OlP("NgAsyncValidators"),nn=/^(?=.{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 Ee{static min(y){return function mt(D){return y=>{if(se(y.value)||se(D))return null;const g=parseFloat(y.value);return!isNaN(g)&&g{if(se(y.value)||se(D))return null;const g=parseFloat(y.value);return!isNaN(g)&&g>D?{max:{max:D,actual:y.value}}:null}}(y)}static required(y){return function Ie(D){return se(D.value)?{required:!0}:null}(y)}static requiredTrue(y){return function Fe(D){return!0===D.value?null:{required:!0}}(y)}static email(y){return function it(D){return se(D.value)||nn.test(D.value)?null:{email:!0}}(y)}static minLength(y){return function Ce(D){return y=>se(y.value)||!We(y.value)?null:y.value.length We(y.value)&&y.value.length>D?{maxlength:{requiredLength:D,actualLength:y.value.length}}:null}(y)}static pattern(y){return function rt(D){if(!D)return yn;let y,g;return"string"==typeof D?(g="","^"!==D.charAt(0)&&(g+="^"),g+=D,"$"!==D.charAt(D.length-1)&&(g+="$"),y=new RegExp(g)):(g=D.toString(),y=D),S=>{if(se(S.value))return null;const j=S.value;return y.test(j)?null:{pattern:{requiredPattern:g,actualValue:j}}}}(y)}static nullValidator(y){return null}static compose(y){return $(y)}static composeAsync(y){return G(y)}}function yn(D){return null}function bn(D){return null!=D}function fr(D){return(0,h.QGY)(D)?(0,X.D)(D):D}function zt(D){let y={};return D.forEach(g=>{y=null!=g?{...y,...g}:y}),0===Object.keys(y).length?null:y}function rn(D,y){return y.map(g=>g(D))}function Ve(D){return D.map(y=>function hr(D){return!D.validate}(y)?y:g=>y.validate(g))}function $(D){if(!D)return null;const y=D.filter(bn);return 0==y.length?null:function(g){return zt(rn(g,y))}}function B(D){return null!=D?$(Ve(D)):null}function G(D){if(!D)return null;const y=D.filter(bn);return 0==y.length?null:function(g){return function re(...D){if(1===D.length){const y=D[0];if((0,ae.k)(y))return Y(y,null);if((0,fe.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const g=Object.keys(y);return Y(g.map(S=>y[S]),g)}}if("function"==typeof D[D.length-1]){const y=D.pop();return Y(D=1===D.length&&(0,ae.k)(D[0])?D[0]:D,null).pipe((0,Q.U)(g=>y(...g)))}return Y(D,null)}(rn(g,y).map(fr)).pipe((0,Q.U)(zt))}}function K(D){return null!=D?G(Ve(D)):null}function Le(D,y){return null===D?[y]:Array.isArray(D)?[...D,y]:[D,y]}function pt(D){return D._rawValidators}function Qe(D){return D._rawAsyncValidators}function Ar(D){return D?Array.isArray(D)?D:[D]:[]}function Vr(D,y){return Array.isArray(D)?D.includes(y):D===y}function Xr(D,y){const g=Ar(y);return Ar(D).forEach(j=>{Vr(g,j)||g.push(j)}),g}function Rt(D,y){return Ar(y).filter(g=>!Vr(D,g))}class go{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(y){this._rawValidators=y||[],this._composedValidatorFn=B(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y){this.control&&this.control.reset(y)}hasError(y,g){return!!this.control&&this.control.hasError(y,g)}getError(y,g){return this.control?this.control.getError(y,g):null}}class Nt extends go{get formDirective(){return null}get path(){return null}}class ct extends go{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Kn{constructor(y){this._cd=y}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 jr=(()=>{class D extends Kn{constructor(g){super(g)}}return D.\u0275fac=function(g){return new(g||D)(h.Y36(ct,2))},D.\u0275dir=h.lG2({type:D,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(g,S){2&g&&h.ekj("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)},features:[h.qOj]}),D})(),Ur=(()=>{class D extends Kn{constructor(g){super(g)}}return D.\u0275fac=function(g){return new(g||D)(h.Y36(Nt,10))},D.\u0275dir=h.lG2({type:D,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(g,S){2&g&&h.ekj("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)("ng-submitted",S.isSubmitted)},features:[h.qOj]}),D})();const pr="VALID",gr="INVALID",gt="PENDING",on="DISABLED";function Hn(D){return(mr(D)?D.validators:D)||null}function _t(D,y){return(mr(y)?y.asyncValidators:D)||null}function mr(D){return null!=D&&!Array.isArray(D)&&"object"==typeof D}function $n(D,y,g){const S=D.controls;if(!(y?Object.keys(S):S).length)throw new h.vHH(1e3,"");if(!S[g])throw new h.vHH(1001,"")}function Br(D,y,g){D._forEachChild((S,j)=>{if(void 0===g[j])throw new h.vHH(1002,"")})}class Pn{constructor(y,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(y),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===pr}get invalid(){return this.status===gr}get pending(){return this.status==gt}get disabled(){return this.status===on}get enabled(){return this.status!==on}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._assignValidators(y)}setAsyncValidators(y){this._assignAsyncValidators(y)}addValidators(y){this.setValidators(Xr(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(Xr(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(Rt(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(Rt(y,this._rawAsyncValidators))}hasValidator(y){return Vr(this._rawValidators,y)}hasAsyncValidator(y){return Vr(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=gt,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=on,this.errors=null,this._forEachChild(S=>{S.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(S=>S(!0))}enable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=pr,this._forEachChild(S=>{S.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(S=>S(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}getRawValue(){return this.value}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pr||this.status===gt)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?on:pr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=gt,this._hasOwnPendingAsyncValidator=!0;const g=fr(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(S=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(S,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,g={}){this.errors=y,this._updateControlsErrors(!1!==g.emitEvent)}get(y){let g=y;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((S,j)=>S&&S._find(j),this)}getError(y,g){const S=g?this.get(g):this;return S&&S.errors?S.errors[y]:null}hasError(y,g){return!!this.getError(y,g)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new h.vpe,this.statusChanges=new h.vpe}_calculateStatus(){return this._allControlsDisabled()?on:this.errors?gr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gt)?gt:this._anyControlsHaveStatus(gr)?gr:pr}_anyControlsHaveStatus(y){return this._anyControls(g=>g.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){mr(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(y){return null}_assignValidators(y){this._rawValidators=Array.isArray(y)?y.slice():y,this._composedValidatorFn=function ti(D){return Array.isArray(D)?B(D):D||null}(this._rawValidators)}_assignAsyncValidators(y){this._rawAsyncValidators=Array.isArray(y)?y.slice():y,this._composedAsyncValidatorFn=function vo(D){return Array.isArray(D)?K(D):D||null}(this._rawAsyncValidators)}}class tr extends Pn{constructor(y,g,S){super(Hn(g),_t(S,g)),this.controls=y,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,g){return this.controls[y]?this.controls[y]:(this.controls[y]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(y,g,S={}){this.registerControl(y,g),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}removeControl(y,g={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(y,g,S={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],g&&this.registerControl(y,g),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,g={}){Br(this,0,y),Object.keys(y).forEach(S=>{$n(this,!0,S),this.controls[S].setValue(y[S],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(y,g={}){null!=y&&(Object.keys(y).forEach(S=>{const j=this.controls[S];j&&j.patchValue(y[S],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(y={},g={}){this._forEachChild((S,j)=>{S.reset(y[j],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(y,g,S)=>(y[S]=g.getRawValue(),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(g,S)=>!!S._syncPendingControls()||g);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(g=>{const S=this.controls[g];S&&y(S,g)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const[g,S]of Object.entries(this.controls))if(this.contains(g)&&y(S))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,S,j)=>((S.enabled||this.disabled)&&(g[j]=S.value),g))}_reduceChildren(y,g){let S=y;return this._forEachChild((j,pe)=>{S=g(S,j,pe)}),S}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(y){return this.controls.hasOwnProperty(y)?this.controls[y]:null}}const _o=tr;class wt extends tr{}const Ot=new h.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Te}),Te="always";function ln(D,y,g=Te){vn(D,y),y.valueAccessor.writeValue(D.value),(D.disabled||"always"===g)&&y.valueAccessor.setDisabledState?.(D.disabled),function Lt(D,y){y.valueAccessor.registerOnChange(g=>{D._pendingValue=g,D._pendingChange=!0,D._pendingDirty=!0,"change"===D.updateOn&&Nr(D,y)})}(D,y),function vr(D,y){const g=(S,j)=>{y.valueAccessor.writeValue(S),j&&y.viewToModelUpdate(S)};D.registerOnChange(g),y._registerOnDestroy(()=>{D._unregisterOnChange(g)})}(D,y),function yr(D,y){y.valueAccessor.registerOnTouched(()=>{D._pendingTouched=!0,"blur"===D.updateOn&&D._pendingChange&&Nr(D,y),"submit"!==D.updateOn&&D.markAsTouched()})}(D,y),function Hr(D,y){if(y.valueAccessor.setDisabledState){const g=S=>{y.valueAccessor.setDisabledState(S)};D.registerOnDisabledChange(g),y._registerOnDestroy(()=>{D._unregisterOnDisabledChange(g)})}}(D,y)}function Be(D,y,g=!0){const S=()=>{};y.valueAccessor&&(y.valueAccessor.registerOnChange(S),y.valueAccessor.registerOnTouched(S)),cn(D,y),D&&(y._invokeOnDestroyCallbacks(),D._registerOnCollectionChange(()=>{}))}function Gn(D,y){D.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(y)})}function vn(D,y){const g=pt(D);null!==y.validator?D.setValidators(Le(g,y.validator)):"function"==typeof g&&D.setValidators([g]);const S=Qe(D);null!==y.asyncValidator?D.setAsyncValidators(Le(S,y.asyncValidator)):"function"==typeof S&&D.setAsyncValidators([S]);const j=()=>D.updateValueAndValidity();Gn(y._rawValidators,j),Gn(y._rawAsyncValidators,j)}function cn(D,y){let g=!1;if(null!==D){if(null!==y.validator){const j=pt(D);if(Array.isArray(j)&&j.length>0){const pe=j.filter(st=>st!==y.validator);pe.length!==j.length&&(g=!0,D.setValidators(pe))}}if(null!==y.asyncValidator){const j=Qe(D);if(Array.isArray(j)&&j.length>0){const pe=j.filter(st=>st!==y.asyncValidator);pe.length!==j.length&&(g=!0,D.setAsyncValidators(pe))}}}const S=()=>{};return Gn(y._rawValidators,S),Gn(y._rawAsyncValidators,S),g}function Nr(D,y){D._pendingDirty&&D.markAsDirty(),D.setValue(D._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(D._pendingValue),D._pendingChange=!1}function Pr(D,y){if(!D.hasOwnProperty("model"))return!1;const g=D.model;return!!g.isFirstChange()||!Object.is(y,g.currentValue)}function kt(D,y){if(!y)return null;let g,S,j;return Array.isArray(y),y.forEach(pe=>{pe.constructor===Me?g=pe:function Xe(D){return Object.getPrototypeOf(D.constructor)===k}(pe)?S=pe:j=pe}),j||S||g||null}function x(D,y){const g=D.indexOf(y);g>-1&&D.splice(g,1)}function U(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}const ye=class extends Pn{constructor(y=null,g,S){super(Hn(g),_t(S,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mr(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=U(y)?y.value:y)}setValue(y,g={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(S=>S(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(y,g={}){this.setValue(y,g)}reset(y=this.defaultValue,g={}){this._applyFormState(y),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){x(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){x(this._onDisabledChange,y)}_forEachChild(y){}_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(y){U(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}},Ae=ye;let rr=(()=>{class D{}return D.\u0275fac=function(g){return new(g||D)},D.\u0275dir=h.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),D})(),ni=(()=>{class D{}return D.\u0275fac=function(g){return new(g||D)},D.\u0275mod=h.oAB({type:D}),D.\u0275inj=h.cJS({}),D})();const or=new h.OlP("NgModelWithFormControlWarning"),sn={provide:ct,useExisting:(0,h.Gpc)(()=>eo)};let eo=(()=>{class D extends ct{constructor(g,S,j,pe,st){super(),this._ngModelWarningConfig=pe,this.callSetDisabledState=st,this.update=new h.vpe,this._ngModelWarningSent=!1,this._setValidators(g),this._setAsyncValidators(S),this.valueAccessor=kt(0,j)}set isDisabled(g){}ngOnChanges(g){if(this._isControlChanged(g)){const S=g.form.previousValue;S&&Be(S,this,!1),ln(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Pr(g,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Be(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_isControlChanged(g){return g.hasOwnProperty("form")}}return D._ngModelWarningSentOnce=!1,D.\u0275fac=function(g){return new(g||D)(h.Y36(Ze,10),h.Y36(ke,10),h.Y36(z,10),h.Y36(or,8),h.Y36(Ot,8))},D.\u0275dir=h.lG2({type:D,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[h._Bn([sn]),h.qOj,h.TTD]}),D})();const Dn={provide:Nt,useExisting:(0,h.Gpc)(()=>fn)};let fn=(()=>{class D extends Nt{constructor(g,S,j){super(),this.callSetDisabledState=j,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new h.vpe,this._setValidators(g),this._setAsyncValidators(S)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const S=this.form.get(g.path);return ln(S,g,this.callSetDisabledState),S.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),S}getControl(g){return this.form.get(g.path)}removeControl(g){Be(g.control||null,g,!1),function nr(D,y){const g=D.indexOf(y);g>-1&&D.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,S){this.form.get(g.path).setValue(S)}onSubmit(g){return this.submitted=!0,function Dt(D,y){D._syncPendingControls(),y.forEach(g=>{const S=g.control;"submit"===S.updateOn&&S._pendingChange&&(g.viewToModelUpdate(S._pendingValue),S._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const S=g.control,j=this.form.get(g.path);S!==j&&(Be(S||null,g),(D=>D instanceof ye)(j)&&(ln(j,g,this.callSetDisabledState),g.control=j))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const S=this.form.get(g.path);(function Jn(D,y){vn(D,y)})(S,g),S.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const S=this.form.get(g.path);S&&function Fn(D,y){return cn(D,y)}(S,g)&&S.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){vn(this.form,this),this._oldForm&&cn(this._oldForm,this)}_checkFormPresent(){}}return D.\u0275fac=function(g){return new(g||D)(h.Y36(Ze,10),h.Y36(ke,10),h.Y36(Ot,8))},D.\u0275dir=h.lG2({type:D,selectors:[["","formGroup",""]],hostBindings:function(g,S){1&g&&h.NdJ("submit",function(pe){return S.onSubmit(pe)})("reset",function(){return S.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h._Bn([Dn]),h.qOj,h.TTD]}),D})();const Cr={provide:ct,useExisting:(0,h.Gpc)(()=>no)};let no=(()=>{class D extends ct{constructor(g,S,j,pe,st){super(),this._ngModelWarningConfig=st,this._added=!1,this.update=new h.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(S),this._setAsyncValidators(j),this.valueAccessor=kt(0,pe)}set isDisabled(g){}ngOnChanges(g){this._added||this._setUpControl(),Pr(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return function yt(D,y){return[...y.path,D]}(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}}return D._ngModelWarningSentOnce=!1,D.\u0275fac=function(g){return new(g||D)(h.Y36(Nt,13),h.Y36(Ze,10),h.Y36(ke,10),h.Y36(z,10),h.Y36(or,8))},D.\u0275dir=h.lG2({type:D,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[h._Bn([Cr]),h.qOj,h.TTD]}),D})(),Wr=(()=>{class D{}return D.\u0275fac=function(g){return new(g||D)},D.\u0275mod=h.oAB({type:D}),D.\u0275inj=h.cJS({imports:[ni]}),D})(),Yr=(()=>{class D{static withConfig(g){return{ngModule:D,providers:[{provide:Ot,useValue:g.callSetDisabledState??Te}]}}}return D.\u0275fac=function(g){return new(g||D)},D.\u0275mod=h.oAB({type:D}),D.\u0275inj=h.cJS({imports:[Wr]}),D})(),Xt=(()=>{class D{static withConfig(g){return{ngModule:D,providers:[{provide:or,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:Ot,useValue:g.callSetDisabledState??Te}]}}}return D.\u0275fac=function(g){return new(g||D)},D.\u0275mod=h.oAB({type:D}),D.\u0275inj=h.cJS({imports:[Wr]}),D})();class ao extends Pn{constructor(y,g,S){super(Hn(g),_t(S,g)),this.controls=y,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(y){return this.controls[this._adjustIndex(y)]}push(y,g={}){this.controls.push(y),this._registerControl(y),this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}insert(y,g,S={}){this.controls.splice(y,0,g),this._registerControl(g),this.updateValueAndValidity({emitEvent:S.emitEvent})}removeAt(y,g={}){let S=this._adjustIndex(y);S<0&&(S=0),this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),this.controls.splice(S,1),this.updateValueAndValidity({emitEvent:g.emitEvent})}setControl(y,g,S={}){let j=this._adjustIndex(y);j<0&&(j=0),this.controls[j]&&this.controls[j]._registerOnCollectionChange(()=>{}),this.controls.splice(j,1),g&&(this.controls.splice(j,0,g),this._registerControl(g)),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(y,g={}){Br(this,0,y),y.forEach((S,j)=>{$n(this,!1,j),this.at(j).setValue(S,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(y,g={}){null!=y&&(y.forEach((S,j)=>{this.at(j)&&this.at(j).patchValue(S,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(y=[],g={}){this._forEachChild((S,j)=>{S.reset(y[j],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this.controls.map(y=>y.getRawValue())}clear(y={}){this.controls.length<1||(this._forEachChild(g=>g._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:y.emitEvent}))}_adjustIndex(y){return y<0?y+this.length:y}_syncPendingControls(){let y=this.controls.reduce((g,S)=>!!S._syncPendingControls()||g,!1);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){this.controls.forEach((g,S)=>{y(g,S)})}_updateValue(){this.value=this.controls.filter(y=>y.enabled||this.disabled).map(y=>y.value)}_anyControls(y){return this.controls.some(g=>g.enabled&&y(g))}_setUpControls(){this._forEachChild(y=>this._registerControl(y))}_allControlsDisabled(){for(const y of this.controls)if(y.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(y){y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)}_find(y){return this.at(y)??null}}const Bo=ao;function Yt(D){return!!D&&(void 0!==D.asyncValidators||void 0!==D.validators||void 0!==D.updateOn)}let V=(()=>{class D{constructor(){this.useNonNullable=!1}get nonNullable(){const g=new D;return g.useNonNullable=!0,g}group(g,S=null){const j=this._reduceControls(g);let pe={};return Yt(S)?pe=S:null!==S&&(pe.validators=S.validator,pe.asyncValidators=S.asyncValidator),new tr(j,pe)}record(g,S=null){const j=this._reduceControls(g);return new wt(j,S)}control(g,S,j){let pe={};return this.useNonNullable?(Yt(S)?pe=S:(pe.validators=S,pe.asyncValidators=j),new ye(g,{...pe,nonNullable:!0})):new ye(g,S,j)}array(g,S,j){const pe=g.map(st=>this._createControl(st));return new ao(pe,S,j)}_reduceControls(g){const S={};return Object.keys(g).forEach(j=>{S[j]=this._createControl(g[j])}),S}_createControl(g){return g instanceof ye||g instanceof Pn?g:Array.isArray(g)?this.control(g[0],g.length>1?g[1]:null,g.length>2?g[2]:null):this.control(g)}}return D.\u0275fac=function(g){return new(g||D)},D.\u0275prov=h.Yz7({token:D,factory:D.\u0275fac,providedIn:Xt}),D})(),De=(()=>{class D extends V{group(g,S=null){return super.group(g,S)}control(g,S,j){return super.control(g,S,j)}array(g,S,j){return super.array(g,S,j)}}return D.\u0275fac=function(){let y;return function(S){return(y||(y=h.n5z(D)))(S||D)}}(),D.\u0275prov=h.Yz7({token:D,factory:D.\u0275fac,providedIn:Xt}),D})()},1198:(Oe,ie,A)=>{A.d(ie,{vw:()=>zt,H1:()=>Gt,dn:()=>Ze,vG:()=>rt,B_:()=>se});var h=A(6895),p=A(6738),X=A(7079),ee=A(214);var k=A(5689),z=A(6498);A(5529),A(7625);const ce=["nb-r-str",""];function J(B,G){if(1&B&&(p.ynx(0),p._uU(1),p.ALo(2,"async"),p.BQk()),2&B){const K=p.oxw();p.xp6(1),p.Oqu(p.lcZ(2,1,K.asyncContent))}}function he(B,G){if(1&B&&(p.ynx(0),p._uU(1),p.BQk()),2&B){const K=p.oxw();p.xp6(1),p.Oqu(K.content)}}let se=(()=>{class B{constructor(){}isBoolean(K){return function Q(B){return!0===B||!1===B||(0,ee.Z)(B)&&"[object Boolean]"==(0,X.Z)(B)}(K)}isNumber(K){return function Y(B){return"number"==typeof B||(0,ee.Z)(B)&&"[object Number]"==(0,X.Z)(B)}(K)}isObservable(K){return K instanceof z.y}isPromise(K){return K instanceof Promise}isString(K){return(0,k.Z)(K)}isTemplateRef(K){return K instanceof p.Rgc}}return B.\u0275fac=function(K){return new(K||B)},B.\u0275prov=p.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),We=(()=>{class B{constructor(K){this.valueTypeService=K}transform(K){return this.valueTypeService.isObservable(K)||this.valueTypeService.isPromise(K)}}return B.\u0275fac=function(K){return new(K||B)(p.Y36(se,16))},B.\u0275pipe=p.Yjl({name:"nbIsAsync",type:B,pure:!0}),B})(),Ze=(()=>{class B{constructor(){this.content=""}get asyncContent(){return this.content}}return B.\u0275fac=function(K){return new(K||B)},B.\u0275cmp=p.Xpm({type:B,selectors:[["","nb-r-str",""]],inputs:{content:["nb-r-str","content"]},attrs:ce,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(K,Le){1&K&&(p.ynx(0,0),p.ALo(1,"nbIsAsync"),p.YNc(2,J,3,3,"ng-container",1),p.YNc(3,he,2,1,"ng-container",2),p.BQk()),2&K&&(p.Q6J("ngSwitch",p.lcZ(1,2,Le.content)),p.xp6(2),p.Q6J("ngSwitchCase",!0))},dependencies:[h.RF,h.n9,h.ED,h.Ov,We],encapsulation:2,changeDetection:0}),B})();new p.OlP("default error image"),new p.OlP("default loading image");let Gt=(()=>{class B{constructor(K){this.valueTypeService=K}transform(K){return this.valueTypeService.isString(K)}}return B.\u0275fac=function(K){return new(K||B)(p.Y36(se,16))},B.\u0275pipe=p.Yjl({name:"nbIsString",type:B,pure:!0}),B})(),rt=(()=>{class B{constructor(K){this.valueTypeService=K}transform(K){return this.valueTypeService.isTemplateRef(K)?K:null}}return B.\u0275fac=function(K){return new(K||B)(p.Y36(se,16))},B.\u0275pipe=p.Yjl({name:"nbTplContent",type:B,pure:!0}),B})(),zt=(()=>{class B{}return B.\u0275fac=function(K){return new(K||B)},B.\u0275mod=p.oAB({type:B}),B.\u0275inj=p.cJS({imports:[h.ez]}),B})()},3324:(Oe,ie,A)=>{A.d(ie,{x:()=>Nr,oi:()=>Lt,TT:()=>yr,pT:()=>dn,y6:()=>Dt,v6:()=>Ge});var h=A(6738),p=A(6895),X=A(1198),ee=A(591),ae=A(5529),Q=A(1086),fe=A(6498),re=A(2654);class Y extends re.w{constructor(P,x){super()}schedule(P,x=0){return this}}let k=(()=>{class T{constructor(x,U=T.now){this.SchedulerAction=x,this.now=U}schedule(x,U=0,ye){return new this.SchedulerAction(this,x).schedule(ye,U)}}return T.now=()=>Date.now(),T})();class z extends k{constructor(P,x=k.now){super(P,()=>z.delegate&&z.delegate!==this?z.delegate.now():x()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(P,x=0,U){return z.delegate&&z.delegate!==this?z.delegate.schedule(P,x,U):super.schedule(P,x,U)}flush(P){const{actions:x}=this;if(this.active)return void x.push(P);let U;this.active=!0;do{if(U=P.execute(P.state,P.delay))break}while(P=x.shift());if(this.active=!1,U){for(;P=x.shift();)P.unsubscribe();throw U}}}const q=new z(class L extends Y{constructor(P,x){super(P,x),this.scheduler=P,this.work=x,this.pending=!1}schedule(P,x=0){if(this.closed)return this;this.state=P;const U=this.id,ye=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId(ye,U,x)),this.pending=!0,this.delay=x,this.id=this.id||this.requestAsyncId(ye,this.id,x),this}requestAsyncId(P,x,U=0){return setInterval(P.flush.bind(P,this),U)}recycleAsyncId(P,x,U=0){if(null!==U&&this.delay===U&&!1===this.pending)return x;clearInterval(x)}execute(P,x){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute(P,x);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(P,x){let ye,U=!1;try{this.work(P)}catch(Ae){U=!0,ye=!!Ae&&Ae||new Error(Ae)}if(U)return this.unsubscribe(),ye}_unsubscribe(){const P=this.id,x=this.scheduler,U=x.actions,ye=U.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==ye&&U.splice(ye,1),null!=P&&(this.id=this.recycleAsyncId(x,P,null)),this.delay=null}});var ce=A(6688);function J(T){return!(0,ce.k)(T)&&T-parseFloat(T)+1>=0}var he=A(2866);function Re(T){const{index:P,period:x,subscriber:U}=T;if(U.next(P),!U.closed){if(-1===x)return U.complete();T.index=P+1,this.schedule(T,x)}}var se=A(5254),We=A(7545),Ze=A(4850),ke=A(3489);class Ee{constructor(P){this.predicate=P}call(P,x){return x.subscribe(new mt(P,this.predicate))}}class mt extends ke.L{constructor(P,x){super(P),this.predicate=x,this.skipping=!0,this.index=0}_next(P){const x=this.destination;this.skipping&&this.tryCallPredicate(P),this.skipping||x.next(P)}tryCallPredicate(P){try{const x=this.predicate(P,this.index++);this.skipping=Boolean(x)}catch(x){this.destination.error(x)}}}var _e=A(2868);class Fe{constructor(P,x){this.count=P,this.source=x}call(P,x){return x.subscribe(new it(P,this.count,this.source))}}class it extends ke.L{constructor(P,x,U){super(P),this.count=x,this.source=U}error(P){if(!this.isStopped){const{source:x,count:U}=this;if(0===U)return super.error(P);U>-1&&(this.count=U-1),x.subscribe(this._unsubscribeAndRecycle())}}}var Ce=A(7221),Gt=A(7625),rt=A(4177),yn=A(7079),bn=A(214);const rn=function zt(T){return"symbol"==typeof T||(0,bn.Z)(T)&&"[object Symbol]"==(0,yn.Z)(T)};var hr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ve=/^\w*$/;var G=A(3639);function Le(T,P){if("function"!=typeof T||null!=P&&"function"!=typeof P)throw new TypeError("Expected a function");var x=function(){var U=arguments,ye=P?P.apply(this,U):U[0],Ae=x.cache;if(Ae.has(ye))return Ae.get(ye);var nt=T.apply(this,U);return x.cache=Ae.set(ye,nt)||Ae,nt};return x.cache=new(Le.Cache||G.Z),x}Le.Cache=G.Z;const pt=Le;var Xr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/\\(\\)?/g;const Nt=function Ar(T){var P=pt(T,function(U){return 500===x.size&&x.clear(),U}),x=P.cache;return P}(function(T){var P=[];return 46===T.charCodeAt(0)&&P.push(""),T.replace(Xr,function(x,U,ye,Ae){P.push(ye?Ae.replace(Rt,"$1"):U||x)}),P});var ct=A(8492);var jr=ct.Z?ct.Z.prototype:void 0,Ur=jr?jr.toString:void 0;const qn=function Kt(T){if("string"==typeof T)return T;if((0,rt.Z)(T))return function Kn(T,P){for(var x=-1,U=null==T?0:T.length,ye=Array(U);++x{return(T=Lt||(Lt={})).ZH_CN="zh-CN",T.ZH_TW="zh-TW",T.ZH_HK="zh-HK",T.EN="en",T.AR_EG="ar-EG",T.HY_AM="hy-AM",T.BG_BG="bg-BG",T.CA_ES="ca-ES",T.CS_CZ="cs-CZ",T.DA_DK="da-DK",T.DE_DE="de-DE",T.EL_GR="el-GR",T.EN_GB="en-GB",T.EN_US="en-US",T.ES_ES="es-ES",T.ET_EE="et-EE",T.FA_IR="fa-IR",T.FI_FI="fi-FI",T.FR_BE="fr-BE",T.FR_FR="fr-FR",T.HE_IL="he-IL",T.HI_IN="hi-IN",T.HR_HR="hr-HR",T.HU_HU="hu-HU",T.IS_IS="is-IS",T.ID_ID="id-ID",T.IT_IT="it-IT",T.JA_JP="ja-JP",T.KA_GE="ka-GE",T.KN_IN="kn-IN",T.KO_KR="ko-KR",T.KU_IQ="ku-IQ",T.LV_LV="lv-LV",T.MS_MY="ms-MY",T.MN_MN="mn-MN",T.NB_NO="nb-NO",T.NE_NP="ne-NP",T.NL_BE="nl-BE",T.NL_NL="nl-NL",T.PL_PL="pl-PL",T.PT_BR="pt-BR",T.PT_PT="pt-PT",T.SK_SK="sk-SK",T.SR_RS="sr-RS",T.SL_SI="sl-SI",T.SV_SE="sv-SE",T.TA_IN="ta-IN",T.TH_TH="th-TH",T.TR_TR="tr-TR",T.RO_RO="ro-RO",T.RU_RU="ru-RU",T.UK_UA="uk-UA",T.VI_VN="vi-VN",Lt;var T})();const yr=Lt,Nr=new h.OlP("nb-trans-loader"),vr=new h.OlP("nb-trans-max-retry");let wn=(()=>{class T{constructor(x){this.valueType=x}static checkNavigator(){return T.checkWindow()&&typeof window.navigator<"u"}static checkWindow(){return typeof window<"u"}getFinalKey(x,U){return U?`${U}.${x}`:x}handleSentence(x,U,ye){return x.replace(new RegExp(U,"g"),ye)}handleSentenceWithParams(x,U){if(!U)return x;const ye=Object.keys(U);if(!ye.length)return x;const Ae=this.getParamsKeyUuid(ye),nt=this.replaceParamsKeysAsUuidKey(x,{keys:ye,keysUUID:Ae});return this.replaceUuidKeyAsParamsValue(nt,{params:U,keys:ye,keysUUID:Ae})}handleTrans(x){const U=[];for(;x.length;){const ye=x.search(/<\d+>/);if(ye>0){const nt=x.slice(0,ye);U.push(nt)}const Ae=this.handleCompStr(x);this.valueType.isString(Ae)?(U.push(Ae),x=""):(U.push({index:Ae.index,content:Ae.content,list:Ae.list}),x=Ae.otherContent)}return U}getParamsKeyUuid(x){return x.reduce((U,ye)=>(U[ye]=vo(),U),{})}handleCompStr(x){const U=x.search(/<\d+>/);if(-1===U)return x;let ye=[];const Ae=x.indexOf(">",U),nt=Number(x.slice(U+1,Ae)),et=`${nt}>`,_r=x.indexOf(et),kn=x.slice(Ae+1,_r);return kn.search(/<\d+>/)>-1&&(ye=this.handleTrans(kn)),{index:nt,content:kn,list:ye,otherContent:x.slice(_r+et.length,x.length)}}replaceParamsKeysAsUuidKey(x,U){const{keys:ye,keysUUID:Ae}=U;return ye.forEach(nt=>{x=this.handleSentence(x,`{{${nt}}}`,Ae[nt])}),x}replaceUuidKeyAsParamsValue(x,U){const{params:ye,keys:Ae,keysUUID:nt}=U;return Ae.forEach(et=>{x=this.handleSentence(x,nt[et],ye[et])}),x}}return T.\u0275fac=function(x){return new(x||T)(h.LFG(X.B_))},T.\u0275prov=h.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),Ge=(()=>{class T{constructor(x,U,ye,Ae){this.transDefaultLang=x,this.transLoader=U,this.maxRetry=ye,this.transToolsService=Ae,this.lang$=new ee.X(Lt.ZH_CN),this.loadDefaultOver$=new ee.X(!1),this.loadLangTrans$=new ae.xQ,this.retry=5,this.translations={},this.retry=null==this.maxRetry?this.retry:this.maxRetry,this.transLoader=this.transLoader||{},this.lang$.next(x||Lt.ZH_CN),this.loadDefaultTrans()}get lang(){return this.lang$.value}get loadDefaultOver(){return this.loadDefaultOver$.value}static getBrowserLang(){if(wn.checkNavigator())return window?.navigator?.language}static getBrowserLangs(){if(wn.checkNavigator())return window?.navigator?.languages}changeLang(x){const U={curLang:x,result:!0},ye={curLang:this.lang,result:!1};return this.translations[x]?(this.lang$.next(x),(0,Q.of)(U)):this.transLoader[x]?this.loadLangTrans(x).pipe((0,We.w)(Ae=>{let nt=this.lang,et=ye;return Ae&&(nt=x,et=U),this.lang$.next(nt),(0,Q.of)(et)})):(function Me(T=0,P,x){let U=-1;return J(P)?U=Number(P)<1?1:Number(P):(0,he.K)(P)&&(x=P),(0,he.K)(x)||(x=q),new fe.y(ye=>{const Ae=J(T)?T:+T-x.now();return x.schedule(Re,Ae,{index:0,period:U,subscriber:ye})})}().subscribe(Ae=>this.loadLangTrans$.next(!1)),(0,Q.of)(ye))}changeLangSync(x){this.changeLang(x).subscribe()}getBrowserLang(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLang()!"),T.getBrowserLang()}getBrowserLangs(){return console.warn("The function will be deprecated in the future, we recommend using NbTransService.getBrowserLangs()!"),T.getBrowserLangs()}translationAsync(x,U){return this.lang$.pipe((0,We.w)(ye=>this.translations[this.lang]?(0,Q.of)({trans:this.translations[this.lang],result:!0}):this.loadLangTrans$),(0,Ze.U)(ye=>this.translationSync(x,U)))}translationSync(x,U){const ye=this.transToolsService.getFinalKey(x,U?.prefix),Ae=!1===U?.returnKeyWhenEmpty?"":ye;let nt=Lo(this.translations[this.lang],ye);if(nt||(nt=Lo(this.translations[this.transDefaultLang],ye)),!nt)return Ae;const et=U?.params;return nt=this.transToolsService.handleSentenceWithParams(nt,et),nt||Ae}subscribeLangChange(){return this.lang$.asObservable()}subscribeLoadDefaultOver(){return this.loadDefaultOver?(0,Q.of)(!0):this.loadDefaultOver$.asObservable().pipe(function nn(T){return P=>P.lift(new Ee(T))}((x,U)=>!x&&0===U))}loadDefaultTrans(){this.loadTrans(this.lang).pipe((0,Ze.U)(x=>!!x)).subscribe(x=>{this.loadDefaultOver$.next(x),this.loadDefaultOver$.complete(),this.loadLangTrans$.next(x)})}loadLangTrans(x){return this.loadTrans(x).pipe((0,Ze.U)(U=>!!U),(0,_e.b)(U=>this.loadLangTrans$.next(U)))}loadTrans(x){const U=this.transLoader[x];return U?((0,dt.Z)(U)?(0,Q.of)(null).pipe((0,We.w)(()=>(0,se.D)(U()))):(0,Q.of)(U)).pipe((0,_e.b)(Ae=>this.translations[x]=Ae),function Ie(T=-1){return P=>P.lift(new Fe(T,P))}(this.retry),(0,Ce.K)(Ae=>(0,Q.of)(null))):(0,Q.of)(null)}}return T.\u0275fac=function(x){return new(x||T)(h.LFG(cn,8),h.LFG(Nr,8),h.LFG(vr,8),h.LFG(wn))},T.\u0275prov=h.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),Dt=(()=>{class T{constructor(x,U){this.changeDR=x,this.transService=U,this.latestValue="",this.destroy$=new ae.xQ,this.key="",this.subscribeLangChange()}transform(x,U){return(!this.latestValue||x!==this.key||!(0,Qn.Z)(U,this.options))&&(this.latestValue=this.transService.translationSync(x,U),this.key=x,this.options=U),this.latestValue}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}subscribeLangChange(){this.transService.subscribeLangChange().pipe((0,We.w)(x=>this.transService.translationAsync(this.key,this.options)),(0,Gt.R)(this.destroy$)).subscribe(x=>this.updateLatestValue(x))}updateLatestValue(x){this.latestValue=x,this.changeDR.markForCheck()}}return T.\u0275fac=function(x){return new(x||T)(h.Y36(h.sBO,16),h.Y36(Ge,16))},T.\u0275pipe=h.Yjl({name:"nbTrans",type:T,pure:!1}),T})(),dn=(()=>{class T{}return T.\u0275fac=function(x){return new(x||T)},T.\u0275mod=h.oAB({type:T}),T.\u0275inj=h.cJS({imports:[p.ez,X.vw]}),T})()},2622:(Oe,ie,A)=>{A.d(ie,{Z:()=>he});var X=A(3093);const ae=function ee(Me,Re){for(var se=Me.length;se--;)if((0,X.Z)(Me[se][0],Re))return se;return-1};var fe=Array.prototype.splice;function J(Me){var Re=-1,se=null==Me?0:Me.length;for(this.clear();++Re -1},J.prototype.set=function q(Me,Re){var se=this.__data__,We=ae(se,Me);return We<0?(++this.size,se.push([Me,Re])):se[We][1]=Re,this};const he=J},9329:(Oe,ie,A)=>{A.d(ie,{Z:()=>ee});var h=A(3858),p=A(5946);const ee=(0,h.Z)(p.Z,"Map")},3639:(Oe,ie,A)=>{A.d(ie,{Z:()=>hr});const X=(0,A(3858).Z)(Object,"create");var L=Object.prototype.hasOwnProperty;var q=Object.prototype.hasOwnProperty;function se(Ve){var $=-1,B=null==Ve?0:Ve.length;for(this.clear();++${A.d(ie,{Z:()=>X});const X=A(5946).Z.Symbol},7079:(Oe,ie,A)=>{A.d(ie,{Z:()=>J});var h=A(8492),p=Object.prototype,X=p.hasOwnProperty,ee=p.toString,ae=h.Z?h.Z.toStringTag:void 0;var Y=Object.prototype.toString;var q=h.Z?h.Z.toStringTag:void 0;const J=function ce(he){return null==he?void 0===he?"[object Undefined]":"[object Null]":q&&q in Object(he)?function Q(he){var Me=X.call(he,ae),Re=he[ae];try{he[ae]=void 0;var se=!0}catch{}var We=ee.call(he);return se&&(Me?he[ae]=Re:delete he[ae]),We}(he):function L(he){return Y.call(he)}(he)}},8346:(Oe,ie,A)=>{A.d(ie,{Z:()=>p});const p="object"==typeof global&&global&&global.Object===Object&&global},3858:(Oe,ie,A)=>{A.d(ie,{Z:()=>Ze});var ke,h=A(2089),X=A(5946).Z["__core-js_shared__"],ae=(ke=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+ke:"";var re=A(1999),Y=A(4407),k=/^\[object .+?Constructor\]$/,J=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Me=function he(ke){return!(!(0,re.Z)(ke)||function Q(ke){return!!ae&&ae in ke}(ke))&&((0,h.Z)(ke)?J:k).test((0,Y.Z)(ke))},Ze=function We(ke,nn){var Ee=function Re(ke,nn){return ke?.[nn]}(ke,nn);return Me(Ee)?Ee:void 0}},5946:(Oe,ie,A)=>{A.d(ie,{Z:()=>ee});var h=A(8346),p="object"==typeof self&&self&&self.Object===Object&&self;const ee=h.Z||p||Function("return this")()},4407:(Oe,ie,A)=>{A.d(ie,{Z:()=>ee});var p=Function.prototype.toString;const ee=function X(ae){if(null!=ae){try{return p.call(ae)}catch{}try{return ae+""}catch{}}return""}},3093:(Oe,ie,A)=>{A.d(ie,{Z:()=>p});const p=function h(X,ee){return X===ee||X!=X&&ee!=ee}},4177:(Oe,ie,A)=>{A.d(ie,{Z:()=>p});const p=Array.isArray},6789:(Oe,ie,A)=>{A.d(ie,{Z:()=>Yt});var h=A(2622);var L=A(9329),k=A(3639);function ce(V){var ue=this.__data__=new h.Z(V);this.size=ue.size}ce.prototype.clear=function p(){this.__data__=new h.Z,this.size=0},ce.prototype.delete=function ee(V){var ue=this.__data__,De=ue.delete(V);return this.size=ue.size,De},ce.prototype.get=function Q(V){return this.__data__.get(V)},ce.prototype.has=function re(V){return this.__data__.has(V)},ce.prototype.set=function le(V,ue){var De=this.__data__;if(De instanceof h.Z){var Pe=De.__data__;if(!L.Z||Pe.length<199)return Pe.push([V,ue]),this.size=++De.size,this;De=this.__data__=new k.Z(Pe)}return De.set(V,ue),this.size=De.size,this};const J=ce;function Ze(V){var ue=-1,De=null==V?0:V.length;for(this.__data__=new k.Z;++ue S))return!1;var pe=y.get(V),st=y.get(ue);if(pe&&st)return pe==ue&&st==V;var Ct=-1,St=!0,hn=2&De?new ke:void 0;for(y.set(V,ue),y.set(ue,V);++Ct -1&&V%1==0&&V-1&&V%1==0&&V<=9007199254740991};var x={};x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Arguments]"]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object Boolean]"]=x["[object DataView]"]=x["[object Date]"]=x["[object Error]"]=x["[object Function]"]=x["[object Map]"]=x["[object Number]"]=x["[object Object]"]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object WeakMap]"]=!1;var et=A(8346),_r="object"==typeof exports&&exports&&!exports.nodeType&&exports,kn=_r&&"object"==typeof module&&module&&!module.nodeType&&module,zn=kn&&kn.exports===_r&&et.Z.process,At=function(){try{return kn&&kn.require&&kn.require("util").types||zn&&zn.binding&&zn.binding("util")}catch{}}(),_n=At&&At.isTypedArray;const Dr=_n?function Ae(V){return function(ue){return V(ue)}}(_n):function U(V){return(0,Nn.Z)(V)&&Be(V.length)&&!!x[(0,Qn.Z)(V)]};var Mn=Object.prototype.hasOwnProperty;const ko=function Fr(V,ue){var De=(0,Kt.Z)(V),Pe=!De&&ti(V),D=!De&&!Pe&&qt(V),y=!De&&!Pe&&!D&&Dr(V),g=De||Pe||D||y,S=g?function Lo(V,ue){for(var De=-1,Pe=Array(V);++De {A.d(ie,{Z:()=>re});var h=A(7079),p=A(1999);const re=function fe(Y){if(!(0,p.Z)(Y))return!1;var L=(0,h.Z)(Y);return"[object Function]"==L||"[object GeneratorFunction]"==L||"[object AsyncFunction]"==L||"[object Proxy]"==L}},1999:(Oe,ie,A)=>{A.d(ie,{Z:()=>p});const p=function h(X){var ee=typeof X;return null!=X&&("object"==ee||"function"==ee)}},214:(Oe,ie,A)=>{A.d(ie,{Z:()=>p});const p=function h(X){return null!=X&&"object"==typeof X}},5689:(Oe,ie,A)=>{A.d(ie,{Z:()=>Q});var h=A(7079),p=A(4177),X=A(214);const Q=function ae(fe){return"string"==typeof fe||!(0,p.Z)(fe)&&(0,X.Z)(fe)&&"[object String]"==(0,h.Z)(fe)}}},Oe=>{Oe(Oe.s=9079)}]); \ No newline at end of file diff --git a/docs/polyfills.0d1c48b529314817.js b/docs/polyfills.0d1c48b529314817.js new file mode 100644 index 0000000..aab91d3 --- /dev/null +++ b/docs/polyfills.0d1c48b529314817.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[429],{7435:(ie,Ee,de)=>{de(8583)},8583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}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 M{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)}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=M.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,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}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||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=m;C&&t._transitionTo(m,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&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(j,m):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,m,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(j,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(w,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||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,m);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;C M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,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:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,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(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=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:E})}}class p{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,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=E===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==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 L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E U,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 ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=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 A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;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 Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("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 P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[P]&&p.removeEventListener(d,We),y&&y.call(p,null),p[P]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[P];if(p)return p;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o function(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then");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 Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,m=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)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(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===m&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T {try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),m,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 E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O {g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);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,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,m)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}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,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(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=A("OriginalDelegate"),o=A("Promise"),c=A("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 ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=m=>x.handleEvent(m),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(m){X=m}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const m=Z(X[0],x,_);m&&j.push(m)}else{const m=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 J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let m=R;for(;m&&!m.hasOwnProperty(c);)m=de(m);if(!m&&R[c]&&(m=R),!m||m[P])return!1;const G=_&&_.eventNameToString,h={},I=m[P]=m[c],w=m[A(a)]=m[a],Q=m[A(y)]=m[y],oe=m[A(d)]=m[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=m[A(_.prepend)]=m[_.prepend]);const t=K?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=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;T function(c,a){c[Ke]=!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,P,v){return P&&P.prototype&&c.forEach(function(p){const L=`${i}.${o}::`+p,Z=P.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],L))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(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 tt(e,n,i,o){e&&Xe(e,et(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=Xe,i.patchMethod=le,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=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function me(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 P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=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,L)}),a=le(e,i,v=>function(p,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";me(e,n,i,"Timeout"),me(e,n,i,"Interval"),me(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o function(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function pt(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 P=0;P {ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c {!function yt(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 P(v){const p=v.XMLHttpRequest;if(!p)return;const L=p.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;W function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),m=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return m.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("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 P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=7435)}]); \ No newline at end of file diff --git a/docs/polyfills.81b5a0ac59214453.js b/docs/polyfills.81b5a0ac59214453.js deleted file mode 100644 index 1879131..0000000 --- a/docs/polyfills.81b5a0ac59214453.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_form_demo=self.webpackChunknb_form_demo||[]).push([[429],{435:(ie,Ee,de)=>{de(583)},583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const T=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(T||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{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)}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=M.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&&T)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}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||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=y;C&&t._transitionTo(y,j),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(j,y):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,y,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(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(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||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,y);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;C M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,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=E,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(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,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(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=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:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,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=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==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 L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E U,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 ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=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 A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;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 Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,T=o.set,d=n.substr(2);let b=Re[d];b||(b=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,We),T&&T.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o function(T,d){const b=i(T,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(T,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,T=i.symbol,d=[],b=!0===e[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=T("Promise"),m=T("then");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 Z=T("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=T("state"),R=T("value"),_=T("finally"),K=T("parentPromiseValue"),x=T("parentPromiseState"),j=null,y=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const oe=T("currentTaskTrace");function z(l,u,s){const f=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}}();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){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]!==j)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===y&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p {try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=w);const S=u.run(p,void 0,O&&p!==J&&p!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),y,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 E([],"All promises were rejected"));const s=[];let f=0;try{for(let p of u)f++,s.push(t.resolve(p))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const w=[];return new t((p,D)=>{for(let O=0;O {g||(g=!0,p(S))},S=>{w.push(S),f--,0===f&&(g=!0,D(new E(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function w(D){s(D)}function p(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,p);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((S,V)=>{f=S,g=V}),p=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,p--,0===p&&f(O)},F=>{s?(O[V]=s.errorCallback(F),p--,0===p&&f(O)):g(F)})}catch(F){g(F)}p++,D++}return p-=2,0===p&&f(O),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{u&&u(I(s,y),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(M),w=n.current;return this[q]==j?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(M);f[_]=_;const g=n.current;return this[q]==j?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=T("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[m]=f,l.prototype.then=function(g,w){return new t((D,O)=>{f.call(this,D,O)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(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=A("OriginalDelegate"),o=A("Promise"),c=A("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 m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,T=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=y=>x.handleEvent(y),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(y){X=y}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const y=Z(X[0],x,_);y&&j.push(y)}else{const y=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 J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let y=R;for(;y&&!y.hasOwnProperty(c);)y=de(y);if(!y&&R[c]&&(y=R),!y||y[b])return!1;const G=_&&_.eventNameToString,h={},I=y[b]=y[c],P=y[A(a)]=y[a],Q=y[A(T)]=y[T],oe=y[A(d)]=y[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=y[A(_.prepend)]=y[_.prepend]);const t=K?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=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let p=0;p function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const T=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=b.prototype;if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}),T.call(n,d,b,v)},e.attachOriginToPatched(n[o],T)}function et(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 tt(e,n,i,o){e&&Xe(e,et(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=Xe,i.patchMethod=le,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=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function me(e,n,i,o){let c=null,a=null;i+=o;const T={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete T[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?T[H]=B:H&&(H[Ce]=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,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=T[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete T[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";me(e,n,i,"Timeout"),me(e,n,i,"Interval"),me(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o function(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function pt(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:T}=n.getGlobalObjects();for(let b=0;b {ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c {!function yt(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 m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],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===J){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;W function(h,I){return h[o]=0==I[2],h[T]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),y=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return y.apply(h,I);{const P={target:h,url:h[T],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(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=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),T=A("xhrURL"),d=A("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 ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(T=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});T.invoke(b)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=435)}]); \ No newline at end of file diff --git a/docs/runtime.1b581a2fa8e17068.js b/docs/runtime.1b581a2fa8e17068.js new file mode 100644 index 0000000..8eaf4cb --- /dev/null +++ b/docs/runtime.1b581a2fa8e17068.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,f)=>{if(!t){var a=1/0;for(o=0;o =f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(s=!1,f0&&e[o-1][2]>f;o--)e[o]=e[o-1];e[o]=[t,i,f]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+".179c4a768e318e00.js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-form-demo:";r.l=(t,i,f,o)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==f)for(var u=document.getElementsByTagName("script"),l=0;l {a.onerror=a.onload=null,clearTimeout(p);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(h=>h(b)),_)return _(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&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:n=>n},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=(i,f)=>{var o=r.o(e,i)?e[i]:void 0;if(0!==o)if(o)f.push(o[2]);else if(666!=i){var a=new Promise((d,c)=>o=e[i]=[d,c]);f.push(o[2]=a);var s=r.p+r.u(i),u=new Error;r.l(s,d=>{if(r.o(e,i)&&(0!==(o=e[i])&&(e[i]=void 0),o)){var c=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;u.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",u.name="ChunkLoadError",u.type=c,u.request=p,o[1](u)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,f)=>{var u,l,[o,a,s]=f,d=0;if(o.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(s)var c=s(r)}for(i&&i(f);d {"use strict";var e,v={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(a,r,t,o)=>{if(!r){var c=1/0;for(f=0;f =o)&&Object.keys(n.O).every(i=>n.O[i](r[l]))?r.splice(l--,1):(s=!1,o 0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[r,t,o]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=t=>0===e[t];var a=(t,o)=>{var l,u,[f,c,s]=o,_=0;if(f.some(h=>0!==e[h])){for(l in c)n.o(c,l)&&(n.m[l]=c[l]);if(s)var d=s(n)}for(t&&t(o);_