Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/link-server-nodes/vendor-89d5c698.min.js

"use strict";(self.webpackChunklink_server_nodes=self.webpackChunklink_server_nodes||[]).push([[538],{9660:(G,b,n)=>{n.r(b),n.d(b,{decode:()=>Y,default:()=>I,encode:()=>l,toASCII:()=>r,toUnicode:()=>F,ucs2decode:()=>Kt,ucs2encode:()=>q});const t=2147483647,a=36,d=/^xn--/,v=/[^\0-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,U={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=Math.floor,j=String.fromCharCode;function et(D){throw new RangeError(U[D])}function mt(D,k){const L=D.split("@");let Q="";L.length>1&&(Q=L[0]+"@",D=L[1]);const Lt=function gt(D,k){const L=[];let Q=D.length;for(;Q--;)L[Q]=k(D[Q]);return L}((D=D.replace(c,".")).split("."),k).join(".");return Q+Lt}function Kt(D){const k=[];let L=0;const Q=D.length;for(;L<Q;){const pt=D.charCodeAt(L++);if(pt>=55296&&pt<=56319&&L<Q){const Lt=D.charCodeAt(L++);56320==(64512&Lt)?k.push(((1023&pt)<<10)+(1023&Lt)+65536):(k.push(pt),L--)}else k.push(pt)}return k}const q=D=>String.fromCodePoint(...D),z=function(D){return D-48<10?D-22:D-65<26?D-65:D-97<26?D-97:a},nt=function(D,k){return D+22+75*(D<26)-((0!=k)<<5)},K=function(D,k,L){let Q=0;for(D=L?N(D/700):D>>1,D+=N(D/k);D>455;Q+=a)D=N(D/35);return N(Q+36*D/(D+38))},Y=function(D){const k=[],L=D.length;let Q=0,pt=128,Lt=72,lt=D.lastIndexOf("-");lt<0&&(lt=0);for(let It=0;It<lt;++It)D.charCodeAt(It)>=128&&et("not-basic"),k.push(D.charCodeAt(It));for(let It=lt>0?lt+1:0;It<L;){let Zt=Q;for(let Jt=1,ee=a;;ee+=a){It>=L&&et("invalid-input");const oe=z(D.charCodeAt(It++));(oe>=a||oe>N((t-Q)/Jt))&&et("overflow"),Q+=oe*Jt;const re=ee<=Lt?1:ee>=Lt+26?26:ee-Lt;if(oe<re)break;const _e=a-re;Jt>N(t/_e)&&et("overflow"),Jt*=_e}const Ut=k.length+1;Lt=K(Q-Zt,Ut,0==Zt),N(Q/Ut)>t-pt&&et("overflow"),pt+=N(Q/Ut),Q%=Ut,k.splice(Q++,0,pt)}return String.fromCodePoint(...k)},l=function(D){const k=[];let L=(D=Kt(D)).length,Q=128,pt=0,Lt=72;for(const Zt of D)Zt<128&&k.push(j(Zt));let lt=k.length,It=lt;for(lt&&k.push("-");It<L;){let Zt=t;for(const Jt of D)Jt>=Q&&Jt<Zt&&(Zt=Jt);const Ut=It+1;Zt-Q>N((t-pt)/Ut)&&et("overflow"),pt+=(Zt-Q)*Ut,Q=Zt;for(const Jt of D)if(Jt<Q&&++pt>t&&et("overflow"),Jt==Q){let ee=pt;for(let oe=a;;oe+=a){const re=oe<=Lt?1:oe>=Lt+26?26:oe-Lt;if(ee<re)break;const _e=ee-re,ne=a-re;k.push(j(nt(re+_e%ne,0))),ee=N(_e/ne)}k.push(j(nt(ee,0))),Lt=K(pt,Ut,It==lt),pt=0,++It}++pt,++Q}return k.join("")},F=function(D){return mt(D,(function(k){return d.test(k)?Y(k.slice(4).toLowerCase()):k}))},r=function(D){return mt(D,(function(k){return v.test(k)?"xn--"+l(k):k}))},I={version:"2.1.0",ucs2:{decode:Kt,encode:q},decode:Y,encode:l,toASCII:r,toUnicode:F}},4412:(G,b,n)=>{n.d(b,{t:()=>a});var t=n(1413);class a extends t.B{constructor(f){super(),this._value=f}get value(){return this.getValue()}_subscribe(f){const h=super._subscribe(f);return!h.closed&&f.next(this._value),h}getValue(){const{hasError:f,thrownError:h,_value:T}=this;if(f)throw h;return this._throwIfClosed(),T}next(f){super.next(this._value=f)}}},1985:(G,b,n)=>{n.d(b,{c:()=>p});var t=n(7707),a=n(8359),m=n(3494),f=n(1203),h=n(1026),T=n(8071),O=n(9786);let p=(()=>{class c{constructor(R){R&&(this._subscribe=R)}lift(R){const N=new c;return N.source=this,N.operator=R,N}subscribe(R,N,j){const et=function v(c){return c&&c instanceof t.vU||function d(c){return c&&(0,T.T)(c.next)&&(0,T.T)(c.error)&&(0,T.T)(c.complete)}(c)&&(0,a.Uv)(c)}(R)?R:new t.Ms(R,N,j);return(0,O.Y)((()=>{const{operator:gt,source:mt}=this;et.add(gt?gt.call(et,mt):mt?this._subscribe(et):this._trySubscribe(et))})),et}_trySubscribe(R){try{return this._subscribe(R)}catch(N){R.error(N)}}forEach(R,N){return new(N=y(N))(((j,et)=>{const gt=new t.Ms({next:mt=>{try{R(mt)}catch(Kt){et(Kt),gt.unsubscribe()}},error:et,complete:j});this.subscribe(gt)}))}_subscribe(R){var N;return null===(N=this.source)||void 0===N?void 0:N.subscribe(R)}[m.s](){return this}pipe(...R){return(0,f.m)(R)(this)}toPromise(R){return new(R=y(R))(((N,j)=>{let et;this.subscribe((gt=>et=gt),(gt=>j(gt)),(()=>N(et)))}))}}return c.create=U=>new c(U),c})();function y(c){var U;return null!==(U=c??h.$.Promise)&&void 0!==U?U:Promise}},1413:(G,b,n)=>{n.d(b,{B:()=>O});var t=n(1985),a=n(8359);const f=(0,n(1853).L)((y=>function(){y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var h=n(7908),T=n(9786);let O=(()=>{class y extends t.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(v){const c=new p(this,this);return c.operator=v,c}_throwIfClosed(){if(this.closed)throw new f}next(v){(0,T.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const c of this.currentObservers)c.next(v)}}))}error(v){(0,T.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=v;const{observers:c}=this;for(;c.length;)c.shift().error(v)}}))}complete(){(0,T.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:v}=this;for(;v.length;)v.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var v;return(null===(v=this.observers)||void 0===v?void 0:v.length)>0}_trySubscribe(v){return this._throwIfClosed(),super._trySubscribe(v)}_subscribe(v){return this._throwIfClosed(),this._checkFinalizedStatuses(v),this._innerSubscribe(v)}_innerSubscribe(v){const{hasError:c,isStopped:U,observers:R}=this;return c||U?a.Kn:(this.currentObservers=null,R.push(v),new a.yU((()=>{this.currentObservers=null,(0,h.o)(R,v)})))}_checkFinalizedStatuses(v){const{hasError:c,thrownError:U,isStopped:R}=this;c?v.error(U):R&&v.complete()}asObservable(){const v=new t.c;return v.source=this,v}}return y.create=(d,v)=>new p(d,v),y})();class p extends O{constructor(d,v){super(),this.destination=d,this.source=v}next(d){var v,c;null===(c=null===(v=this.destination)||void 0===v?void 0:v.next)||void 0===c||c.call(v,d)}error(d){var v,c;null===(c=null===(v=this.destination)||void 0===v?void 0:v.error)||void 0===c||c.call(v,d)}complete(){var d,v;null===(v=null===(d=this.destination)||void 0===d?void 0:d.complete)||void 0===v||v.call(d)}_subscribe(d){var v,c;return null!==(c=null===(v=this.source)||void 0===v?void 0:v.subscribe(d))&&void 0!==c?c:a.Kn}}},7707:(G,b,n)=>{n.d(b,{Ms:()=>j,vU:()=>c});var t=n(8071),a=n(8359),m=n(1026),f=n(5334),h=n(5343);const T=y("C",void 0,void 0);function y(q,z,nt){return{kind:q,value:z,error:nt}}var d=n(9270),v=n(9786);class c extends a.yU{constructor(z){super(),this.isStopped=!1,z?(this.destination=z,(0,a.Uv)(z)&&z.add(this)):this.destination=Kt}static create(z,nt,K){return new j(z,nt,K)}next(z){this.isStopped?mt(function p(q){return y("N",q,void 0)}(z),this):this._next(z)}error(z){this.isStopped?mt(function O(q){return y("E",void 0,q)}(z),this):(this.isStopped=!0,this._error(z))}complete(){this.isStopped?mt(T,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(z){this.destination.next(z)}_error(z){try{this.destination.error(z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const U=Function.prototype.bind;function R(q,z){return U.call(q,z)}class N{constructor(z){this.partialObserver=z}next(z){const{partialObserver:nt}=this;if(nt.next)try{nt.next(z)}catch(K){et(K)}}error(z){const{partialObserver:nt}=this;if(nt.error)try{nt.error(z)}catch(K){et(K)}else et(z)}complete(){const{partialObserver:z}=this;if(z.complete)try{z.complete()}catch(nt){et(nt)}}}class j extends c{constructor(z,nt,K){let Y;if(super(),(0,t.T)(z)||!z)Y={next:z??void 0,error:nt??void 0,complete:K??void 0};else{let l;this&&m.$.useDeprecatedNextContext?(l=Object.create(z),l.unsubscribe=()=>this.unsubscribe(),Y={next:z.next&&R(z.next,l),error:z.error&&R(z.error,l),complete:z.complete&&R(z.complete,l)}):Y=z}this.destination=new N(Y)}}function et(q){m.$.useDeprecatedSynchronousErrorHandling?(0,v.l)(q):(0,f.m)(q)}function mt(q,z){const{onStoppedNotification:nt}=m.$;nt&&d.f.setTimeout((()=>nt(q,z)))}const Kt={closed:!0,next:h.l,error:function gt(q){throw q},complete:h.l}},8359:(G,b,n)=>{n.d(b,{Kn:()=>T,yU:()=>h,Uv:()=>O});var t=n(8071);const m=(0,n(1853).L)((y=>function(v){y(this),this.message=v?`${v.length} errors occurred during unsubscription:\n${v.map(((c,U)=>`${U+1}) ${c.toString()}`)).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=v}));var f=n(7908);class h{constructor(d){this.initialTeardown=d,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let d;if(!this.closed){this.closed=!0;const{_parentage:v}=this;if(v)if(this._parentage=null,Array.isArray(v))for(const R of v)R.remove(this);else v.remove(this);const{initialTeardown:c}=this;if((0,t.T)(c))try{c()}catch(R){d=R instanceof m?R.errors:[R]}const{_finalizers:U}=this;if(U){this._finalizers=null;for(const R of U)try{p(R)}catch(N){d=d??[],N instanceof m?d=[...d,...N.errors]:d.push(N)}}if(d)throw new m(d)}}add(d){var v;if(d&&d!==this)if(this.closed)p(d);else{if(d instanceof h){if(d.closed||d._hasParent(this))return;d._addParent(this)}(this._finalizers=null!==(v=this._finalizers)&&void 0!==v?v:[]).push(d)}}_hasParent(d){const{_parentage:v}=this;return v===d||Array.isArray(v)&&v.includes(d)}_addParent(d){const{_parentage:v}=this;this._parentage=Array.isArray(v)?(v.push(d),v):v?[v,d]:d}_removeParent(d){const{_parentage:v}=this;v===d?this._parentage=null:Array.isArray(v)&&(0,f.o)(v,d)}remove(d){const{_finalizers:v}=this;v&&(0,f.o)(v,d),d instanceof h&&d._removeParent(this)}}h.EMPTY=(()=>{const y=new h;return y.closed=!0,y})();const T=h.EMPTY;function O(y){return y instanceof h||y&&"closed"in y&&(0,t.T)(y.remove)&&(0,t.T)(y.add)&&(0,t.T)(y.unsubscribe)}function p(y){(0,t.T)(y)?y():y.unsubscribe()}},1026:(G,b,n)=>{n.d(b,{$:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(G,b,n)=>{n.d(b,{G:()=>T});var t=n(1985),a=n(8359),m=n(9898),f=n(4360),h=n(9974);class T extends t.c{constructor(p,y){super(),this.source=p,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,h.S)(p)&&(this.lift=p.lift)}_subscribe(p){return this.getSubject().subscribe(p)}getSubject(){const p=this._subject;return(!p||p.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:p}=this;this._subject=this._connection=null,p?.unsubscribe()}connect(){let p=this._connection;if(!p){p=this._connection=new a.yU;const y=this.getSubject();p.add(this.source.subscribe((0,f._)(y,void 0,(()=>{this._teardown(),y.complete()}),(d=>{this._teardown(),y.error(d)}),(()=>this._teardown())))),p.closed&&(this._connection=null,p=a.yU.EMPTY)}return p}refCount(){return(0,m.B)()(this)}}},4572:(G,b,n)=>{n.d(b,{z:()=>d});var t=n(1985),a=n(3073),m=n(6648),f=n(3669),h=n(6450),T=n(9326),O=n(8496),p=n(4360),y=n(5225);function d(...U){const R=(0,T.lI)(U),N=(0,T.ms)(U),{args:j,keys:et}=(0,a.D)(U);if(0===j.length)return(0,m.H)([],R);const gt=new t.c(function v(U,R,N=f.D){return j=>{c(R,(()=>{const{length:et}=U,gt=new Array(et);let mt=et,Kt=et;for(let q=0;q<et;q++)c(R,(()=>{const z=(0,m.H)(U[q],R);let nt=!1;z.subscribe((0,p._)(j,(K=>{gt[q]=K,nt||(nt=!0,Kt--),Kt||j.next(N(gt.slice()))}),(()=>{--mt||j.complete()})))}),j)}),j)}}(j,R,et?mt=>(0,O.e)(et,mt):f.D));return N?gt.pipe((0,h.I)(N)):gt}function c(U,R,N){U?(0,y.N)(N,U,R):R()}},8793:(G,b,n)=>{n.d(b,{x:()=>h});var t=n(6365),m=n(9326),f=n(6648);function h(...T){return function a(){return(0,t.U)(1)}()((0,f.H)(T,(0,m.lI)(T)))}},9030:(G,b,n)=>{n.d(b,{v:()=>m});var t=n(1985),a=n(8750);function m(f){return new t.c((h=>{(0,a.Tg)(f()).subscribe(h)}))}},983:(G,b,n)=>{n.d(b,{w:()=>a});const a=new(n(1985).c)((h=>h.complete()))},7468:(G,b,n)=>{n.d(b,{p:()=>p});var t=n(1985),a=n(3073),m=n(8750),f=n(9326),h=n(4360),T=n(6450),O=n(8496);function p(...y){const d=(0,f.ms)(y),{args:v,keys:c}=(0,a.D)(y),U=new t.c((R=>{const{length:N}=v;if(!N)return void R.complete();const j=new Array(N);let et=N,gt=N;for(let mt=0;mt<N;mt++){let Kt=!1;(0,m.Tg)(v[mt]).subscribe((0,h._)(R,(q=>{Kt||(Kt=!0,gt--),j[mt]=q}),(()=>et--),void 0,(()=>{(!et||!Kt)&&(gt||R.next(c?(0,O.e)(c,j):j),R.complete())})))}}));return d?U.pipe((0,T.I)(d)):U}},6648:(G,b,n)=>{n.d(b,{H:()=>K});var t=n(8750),a=n(5225),m=n(9974),f=n(4360);function h(Y,l=0){return(0,m.N)(((F,r)=>{F.subscribe((0,f._)(r,(C=>(0,a.N)(r,Y,(()=>r.next(C)),l)),(()=>(0,a.N)(r,Y,(()=>r.complete()),l)),(C=>(0,a.N)(r,Y,(()=>r.error(C)),l))))}))}function T(Y,l=0){return(0,m.N)(((F,r)=>{r.add(Y.schedule((()=>F.subscribe(r)),l))}))}var y=n(1985),v=n(4761),c=n(8071);function R(Y,l){if(!Y)throw new Error("Iterable cannot be null");return new y.c((F=>{(0,a.N)(F,l,(()=>{const r=Y[Symbol.asyncIterator]();(0,a.N)(F,l,(()=>{r.next().then((C=>{C.done?F.complete():F.next(C.value)}))}),0,!0)}))}))}var N=n(5055),j=n(9858),et=n(7441),gt=n(5397),mt=n(7953),Kt=n(591),q=n(5196);function K(Y,l){return l?function nt(Y,l){if(null!=Y){if((0,N.l)(Y))return function O(Y,l){return(0,t.Tg)(Y).pipe(T(l),h(l))}(Y,l);if((0,et.X)(Y))return function d(Y,l){return new y.c((F=>{let r=0;return l.schedule((function(){r===Y.length?F.complete():(F.next(Y[r++]),F.closed||this.schedule())}))}))}(Y,l);if((0,j.y)(Y))return function p(Y,l){return(0,t.Tg)(Y).pipe(T(l),h(l))}(Y,l);if((0,mt.T)(Y))return R(Y,l);if((0,gt.x)(Y))return function U(Y,l){return new y.c((F=>{let r;return(0,a.N)(F,l,(()=>{r=Y[v.l](),(0,a.N)(F,l,(()=>{let C,I;try{({value:C,done:I}=r.next())}catch(D){return void F.error(D)}I?F.complete():F.next(C)}),0,!0)})),()=>(0,c.T)(r?.return)&&r.return()}))}(Y,l);if((0,q.U)(Y))return function z(Y,l){return R((0,q.C)(Y),l)}(Y,l)}throw(0,Kt.L)(Y)}(Y,l):(0,t.Tg)(Y)}},8750:(G,b,n)=>{n.d(b,{Tg:()=>U});var t=n(5215),a=n(7441),m=n(9858),f=n(1985),h=n(5055),T=n(7953),O=n(591),p=n(5397),y=n(5196),d=n(8071),v=n(5334),c=n(3494);function U(q){if(q instanceof f.c)return q;if(null!=q){if((0,h.l)(q))return function R(q){return new f.c((z=>{const nt=q[c.s]();if((0,d.T)(nt.subscribe))return nt.subscribe(z);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(q);if((0,a.X)(q))return function N(q){return new f.c((z=>{for(let nt=0;nt<q.length&&!z.closed;nt++)z.next(q[nt]);z.complete()}))}(q);if((0,m.y)(q))return function j(q){return new f.c((z=>{q.then((nt=>{z.closed||(z.next(nt),z.complete())}),(nt=>z.error(nt))).then(null,v.m)}))}(q);if((0,T.T)(q))return gt(q);if((0,p.x)(q))return function et(q){return new f.c((z=>{for(const nt of q)if(z.next(nt),z.closed)return;z.complete()}))}(q);if((0,y.U)(q))return function mt(q){return gt((0,y.C)(q))}(q)}throw(0,O.L)(q)}function gt(q){return new f.c((z=>{(function Kt(q,z){var nt,K,Y,l;return(0,t.sH)(this,void 0,void 0,(function*(){try{for(nt=(0,t.xN)(q);!(K=yield nt.next()).done;)if(z.next(K.value),z.closed)return}catch(F){Y={error:F}}finally{try{K&&!K.done&&(l=nt.return)&&(yield l.call(nt))}finally{if(Y)throw Y.error}}z.complete()}))})(q,z).catch((nt=>z.error(nt)))}))}},7673:(G,b,n)=>{n.d(b,{of:()=>m});var t=n(9326),a=n(6648);function m(...f){const h=(0,t.lI)(f);return(0,a.H)(f,h)}},8810:(G,b,n)=>{n.d(b,{$:()=>m});var t=n(1985),a=n(8071);function m(f,h){const T=(0,a.T)(f)?f:()=>f,O=p=>p.error(T());return new t.c(h?p=>h.schedule(O,0,p):O)}},1584:(G,b,n)=>{n.d(b,{O:()=>h});var t=n(1985),a=n(3236),m=n(9470);function h(T=0,O,p=a.b){let y=-1;return null!=O&&((0,m.m)(O)?p=O:y=O),new t.c((d=>{let v=function f(T){return T instanceof Date&&!isNaN(T)}(T)?+T-p.now():T;v<0&&(v=0);let c=0;return p.schedule((function(){d.closed||(d.next(c++),0<=y?this.schedule(void 0,y):d.complete())}),v)}))}},4360:(G,b,n)=>{n.d(b,{_:()=>a});var t=n(7707);function a(f,h,T,O,p){return new m(f,h,T,O,p)}class m extends t.vU{constructor(h,T,O,p,y,d){super(h),this.onFinalize=y,this.shouldUnsubscribe=d,this._next=T?function(v){try{T(v)}catch(c){h.error(c)}}:super._next,this._error=p?function(v){try{p(v)}catch(c){h.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=O?function(){try{O()}catch(v){h.error(v)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var h;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:T}=this;super.unsubscribe(),!T&&(null===(h=this.onFinalize)||void 0===h||h.call(this))}}}},9437:(G,b,n)=>{n.d(b,{W:()=>f});var t=n(8750),a=n(4360),m=n(9974);function f(h){return(0,m.N)(((T,O)=>{let d,p=null,y=!1;p=T.subscribe((0,a._)(O,void 0,void 0,(v=>{d=(0,t.Tg)(h(v,f(h)(T))),p?(p.unsubscribe(),p=null,d.subscribe(O)):y=!0}))),y&&(p.unsubscribe(),p=null,d.subscribe(O))}))}},274:(G,b,n)=>{n.d(b,{H:()=>m});var t=n(1397),a=n(8071);function m(f,h){return(0,a.T)(h)?(0,t.Z)(f,h,1):(0,t.Z)(f,1)}},3229:(G,b,n)=>{n.d(b,{s:()=>h});var t=n(9974),a=n(5343),m=n(4360),f=n(8750);function h(T){return(0,t.N)(((O,p)=>{let y=!1,d=null,v=null;const c=()=>{if(v?.unsubscribe(),v=null,y){y=!1;const U=d;d=null,p.next(U)}};O.subscribe((0,m._)(p,(U=>{v?.unsubscribe(),y=!0,d=U,v=(0,m._)(p,c,a.l),(0,f.Tg)(T(U)).subscribe(v)}),(()=>{c(),p.complete()}),void 0,(()=>{d=v=null})))}))}},152:(G,b,n)=>{n.d(b,{B:()=>f});var t=n(3236),a=n(9974),m=n(4360);function f(h,T=t.E){return(0,a.N)(((O,p)=>{let y=null,d=null,v=null;const c=()=>{if(y){y.unsubscribe(),y=null;const R=d;d=null,p.next(R)}};function U(){const R=v+h,N=T.now();if(N<R)return y=this.schedule(void 0,R-N),void p.add(y);c()}O.subscribe((0,m._)(p,(R=>{d=R,v=T.now(),y||(y=T.schedule(U,h),p.add(y))}),(()=>{c(),p.complete()}),void 0,(()=>{d=y=null})))}))}},9901:(G,b,n)=>{n.d(b,{U:()=>m});var t=n(9974),a=n(4360);function m(f){return(0,t.N)(((h,T)=>{let O=!1;h.subscribe((0,a._)(T,(p=>{O=!0,T.next(p)}),(()=>{O||T.next(f),T.complete()})))}))}},3294:(G,b,n)=>{n.d(b,{F:()=>f});var t=n(3669),a=n(9974),m=n(4360);function f(T,O=t.D){return T=T??h,(0,a.N)(((p,y)=>{let d,v=!0;p.subscribe((0,m._)(y,(c=>{const U=O(c);(v||!T(d,U))&&(v=!1,d=U,y.next(c))})))}))}function h(T,O){return T===O}},5964:(G,b,n)=>{n.d(b,{p:()=>m});var t=n(9974),a=n(4360);function m(f,h){return(0,t.N)(((T,O)=>{let p=0;T.subscribe((0,a._)(O,(y=>f.call(h,y,p++)&&O.next(y))))}))}},980:(G,b,n)=>{n.d(b,{j:()=>a});var t=n(9974);function a(m){return(0,t.N)(((f,h)=>{try{f.subscribe(h)}finally{h.add(m)}}))}},1594:(G,b,n)=>{n.d(b,{$:()=>O});var t=n(9350),a=n(5964),m=n(6697),f=n(9901),h=n(3774),T=n(3669);function O(p,y){const d=arguments.length>=2;return v=>v.pipe(p?(0,a.p)(((c,U)=>p(c,U,v))):T.D,(0,m.s)(1),d?(0,f.U)(y):(0,h.v)((()=>new t.G)))}},8523:(G,b,n)=>{n.d(b,{q:()=>a});const a=n(1397).Z},7018:(G,b,n)=>{n.d(b,{H:()=>O});var t=n(9350),a=n(5964),m=n(5109),f=n(3774),h=n(9901),T=n(3669);function O(p,y){const d=arguments.length>=2;return v=>v.pipe(p?(0,a.p)(((c,U)=>p(c,U,v))):T.D,(0,m.o)(1),d?(0,h.U)(y):(0,f.v)((()=>new t.G)))}},6354:(G,b,n)=>{n.d(b,{T:()=>m});var t=n(9974),a=n(4360);function m(f,h){return(0,t.N)(((T,O)=>{let p=0;T.subscribe((0,a._)(O,(y=>{O.next(f.call(h,y,p++))})))}))}},3703:(G,b,n)=>{n.d(b,{u:()=>a});var t=n(6354);function a(m){return(0,t.T)((()=>m))}},6365:(G,b,n)=>{n.d(b,{U:()=>m});var t=n(1397),a=n(3669);function m(f=1/0){return(0,t.Z)(a.D,f)}},1397:(G,b,n)=>{n.d(b,{Z:()=>p});var t=n(6354),a=n(8750),m=n(9974),f=n(5225),h=n(4360),O=n(8071);function p(y,d,v=1/0){return(0,O.T)(d)?p(((c,U)=>(0,t.T)(((R,N)=>d(c,R,U,N)))((0,a.Tg)(y(c,U)))),v):("number"==typeof d&&(v=d),(0,m.N)(((c,U)=>function T(y,d,v,c,U,R,N,j){const et=[];let gt=0,mt=0,Kt=!1;const q=()=>{Kt&&!et.length&&!gt&&d.complete()},z=K=>gt<c?nt(K):et.push(K),nt=K=>{R&&d.next(K),gt++;let Y=!1;(0,a.Tg)(v(K,mt++)).subscribe((0,h._)(d,(l=>{U?.(l),R?z(l):d.next(l)}),(()=>{Y=!0}),void 0,(()=>{if(Y)try{for(gt--;et.length&&gt<c;){const l=et.shift();N?(0,f.N)(d,N,(()=>nt(l))):nt(l)}q()}catch(l){d.error(l)}})))};return y.subscribe((0,h._)(d,z,(()=>{Kt=!0,q()}))),()=>{j?.()}}(c,U,y,v))))}},9898:(G,b,n)=>{n.d(b,{B:()=>m});var t=n(9974),a=n(4360);function m(){return(0,t.N)(((f,h)=>{let T=null;f._refCount++;const O=(0,a._)(h,void 0,void 0,void 0,(()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(T=null);const p=f._connection,y=T;T=null,p&&(!y||p===y)&&p.unsubscribe(),h.unsubscribe()}));f.subscribe(O),O.closed||(T=f.connect())}))}},2816:(G,b,n)=>{n.d(b,{S:()=>f});var t=n(9974),a=n(4360);function f(h,T){return(0,t.N)(function m(h,T,O,p,y){return(d,v)=>{let c=O,U=T,R=0;d.subscribe((0,a._)(v,(N=>{const j=R++;U=c?h(U,N,j):(c=!0,N),p&&v.next(U)}),y&&(()=>{c&&v.next(U),v.complete()})))}}(h,T,arguments.length>=2,!0))}},9172:(G,b,n)=>{n.d(b,{Z:()=>f});var t=n(8793),a=n(9326),m=n(9974);function f(...h){const T=(0,a.lI)(h);return(0,m.N)(((O,p)=>{(T?(0,t.x)(h,O,T):(0,t.x)(h,O)).subscribe(p)}))}},5558:(G,b,n)=>{n.d(b,{n:()=>f});var t=n(8750),a=n(9974),m=n(4360);function f(h,T){return(0,a.N)(((O,p)=>{let y=null,d=0,v=!1;const c=()=>v&&!y&&p.complete();O.subscribe((0,m._)(p,(U=>{y?.unsubscribe();let R=0;const N=d++;(0,t.Tg)(h(U,N)).subscribe(y=(0,m._)(p,(j=>p.next(T?T(U,j,N,R++):j)),(()=>{y=null,c()})))}),(()=>{v=!0,c()})))}))}},6697:(G,b,n)=>{n.d(b,{s:()=>f});var t=n(983),a=n(9974),m=n(4360);function f(h){return h<=0?()=>t.w:(0,a.N)(((T,O)=>{let p=0;T.subscribe((0,m._)(O,(y=>{++p<=h&&(O.next(y),h<=p&&O.complete())})))}))}},5109:(G,b,n)=>{n.d(b,{o:()=>f});var t=n(983),a=n(9974),m=n(4360);function f(h){return h<=0?()=>t.w:(0,a.N)(((T,O)=>{let p=[];T.subscribe((0,m._)(O,(y=>{p.push(y),h<p.length&&p.shift()}),(()=>{for(const y of p)O.next(y);O.complete()}),void 0,(()=>{p=null})))}))}},6977:(G,b,n)=>{n.d(b,{Q:()=>h});var t=n(9974),a=n(4360),m=n(8750),f=n(5343);function h(T){return(0,t.N)(((O,p)=>{(0,m.Tg)(T).subscribe((0,a._)(p,(()=>p.complete()),f.l)),!p.closed&&O.subscribe(p)}))}},8141:(G,b,n)=>{n.d(b,{M:()=>h});var t=n(8071),a=n(9974),m=n(4360),f=n(3669);function h(T,O,p){const y=(0,t.T)(T)||O||p?{next:T,error:O,complete:p}:T;return y?(0,a.N)(((d,v)=>{var c;null===(c=y.subscribe)||void 0===c||c.call(y);let U=!0;d.subscribe((0,m._)(v,(R=>{var N;null===(N=y.next)||void 0===N||N.call(y,R),v.next(R)}),(()=>{var R;U=!1,null===(R=y.complete)||void 0===R||R.call(y),v.complete()}),(R=>{var N;U=!1,null===(N=y.error)||void 0===N||N.call(y,R),v.error(R)}),(()=>{var R,N;U&&(null===(R=y.unsubscribe)||void 0===R||R.call(y)),null===(N=y.finalize)||void 0===N||N.call(y)})))})):f.D}},3774:(G,b,n)=>{n.d(b,{v:()=>f});var t=n(9350),a=n(9974),m=n(4360);function f(T=h){return(0,a.N)(((O,p)=>{let y=!1;O.subscribe((0,m._)(p,(d=>{y=!0,p.next(d)}),(()=>y?p.complete():p.error(T()))))}))}function h(){return new t.G}},6780:(G,b,n)=>{n.d(b,{R:()=>h});var t=n(8359);class a extends t.yU{constructor(O,p){super()}schedule(O,p=0){return this}}const m={setInterval(T,O,...p){const{delegate:y}=m;return y?.setInterval?y.setInterval(T,O,...p):setInterval(T,O,...p)},clearInterval(T){const{delegate:O}=m;return(O?.clearInterval||clearInterval)(T)},delegate:void 0};var f=n(7908);class h extends a{constructor(O,p){super(O,p),this.scheduler=O,this.work=p,this.pending=!1}schedule(O,p=0){var y;if(this.closed)return this;this.state=O;const d=this.id,v=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(v,d,p)),this.pending=!0,this.delay=p,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(v,this.id,p),this}requestAsyncId(O,p,y=0){return m.setInterval(O.flush.bind(O,this),y)}recycleAsyncId(O,p,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return p;null!=p&&m.clearInterval(p)}execute(O,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(O,p);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(O,p){let d,y=!1;try{this.work(O)}catch(v){y=!0,d=v||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),d}unsubscribe(){if(!this.closed){const{id:O,scheduler:p}=this,{actions:y}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,f.o)(y,this),null!=O&&(this.id=this.recycleAsyncId(p,O,null)),this.delay=null,super.unsubscribe()}}}},3604:(G,b,n)=>{n.d(b,{q:()=>m});const t={now:()=>(t.delegate||Date).now(),delegate:void 0};class a{constructor(h,T=a.now){this.schedulerActionCtor=h,this.now=T}schedule(h,T=0,O){return new this.schedulerActionCtor(this,h).schedule(O,T)}}a.now=t.now;class m extends a{constructor(h,T=a.now){super(h,T),this.actions=[],this._active=!1}flush(h){const{actions:T}=this;if(this._active)return void T.push(h);let O;this._active=!0;do{if(O=h.execute(h.state,h.delay))break}while(h=T.shift());if(this._active=!1,O){for(;h=T.shift();)h.unsubscribe();throw O}}}},3236:(G,b,n)=>{n.d(b,{E:()=>m,b:()=>f});var t=n(6780);const m=new(n(3604).q)(t.R),f=m},9270:(G,b,n)=>{n.d(b,{f:()=>t});const t={setTimeout(a,m,...f){const{delegate:h}=t;return h?.setTimeout?h.setTimeout(a,m,...f):setTimeout(a,m,...f)},clearTimeout(a){const{delegate:m}=t;return(m?.clearTimeout||clearTimeout)(a)},delegate:void 0}},4761:(G,b,n)=>{n.d(b,{l:()=>a});const a=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(G,b,n)=>{n.d(b,{s:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(G,b,n)=>{n.d(b,{G:()=>a});const a=(0,n(1853).L)((m=>function(){m(this),this.name="EmptyError",this.message="no elements in sequence"}))},9326:(G,b,n)=>{n.d(b,{R0:()=>T,lI:()=>h,ms:()=>f});var t=n(8071),a=n(9470);function m(O){return O[O.length-1]}function f(O){return(0,t.T)(m(O))?O.pop():void 0}function h(O){return(0,a.m)(m(O))?O.pop():void 0}function T(O,p){return"number"==typeof m(O)?O.pop():p}},3073:(G,b,n)=>{n.d(b,{D:()=>h});const{isArray:t}=Array,{getPrototypeOf:a,prototype:m,keys:f}=Object;function h(O){if(1===O.length){const p=O[0];if(t(p))return{args:p,keys:null};if(function T(O){return O&&"object"==typeof O&&a(O)===m}(p)){const y=f(p);return{args:y.map((d=>p[d])),keys:y}}}return{args:O,keys:null}}},7908:(G,b,n)=>{function t(a,m){if(a){const f=a.indexOf(m);0<=f&&a.splice(f,1)}}n.d(b,{o:()=>t})},1853:(G,b,n)=>{function t(a){const f=a((h=>{Error.call(h),h.stack=(new Error).stack}));return f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f}n.d(b,{L:()=>t})},8496:(G,b,n)=>{function t(a,m){return a.reduce(((f,h,T)=>(f[h]=m[T],f)),{})}n.d(b,{e:()=>t})},9786:(G,b,n)=>{n.d(b,{Y:()=>m,l:()=>f});var t=n(1026);let a=null;function m(h){if(t.$.useDeprecatedSynchronousErrorHandling){const T=!a;if(T&&(a={errorThrown:!1,error:null}),h(),T){const{errorThrown:O,error:p}=a;if(a=null,O)throw p}}else h()}function f(h){t.$.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=h)}},5225:(G,b,n)=>{function t(a,m,f,h=0,T=!1){const O=m.schedule((function(){f(),T?a.add(this.schedule(null,h)):this.unsubscribe()}),h);if(a.add(O),!T)return O}n.d(b,{N:()=>t})},3669:(G,b,n)=>{function t(a){return a}n.d(b,{D:()=>t})},7441:(G,b,n)=>{n.d(b,{X:()=>t});const t=a=>a&&"number"==typeof a.length&&"function"!=typeof a},7953:(G,b,n)=>{n.d(b,{T:()=>a});var t=n(8071);function a(m){return Symbol.asyncIterator&&(0,t.T)(m?.[Symbol.asyncIterator])}},8071:(G,b,n)=>{function t(a){return"function"==typeof a}n.d(b,{T:()=>t})},5055:(G,b,n)=>{n.d(b,{l:()=>m});var t=n(3494),a=n(8071);function m(f){return(0,a.T)(f[t.s])}},5397:(G,b,n)=>{n.d(b,{x:()=>m});var t=n(4761),a=n(8071);function m(f){return(0,a.T)(f?.[t.l])}},4402:(G,b,n)=>{n.d(b,{A:()=>m});var t=n(1985),a=n(8071);function m(f){return!!f&&(f instanceof t.c||(0,a.T)(f.lift)&&(0,a.T)(f.subscribe))}},9858:(G,b,n)=>{n.d(b,{y:()=>a});var t=n(8071);function a(m){return(0,t.T)(m?.then)}},5196:(G,b,n)=>{n.d(b,{C:()=>m,U:()=>f});var t=n(5215),a=n(8071);function m(h){return(0,t.AQ)(this,arguments,(function*(){const O=h.getReader();try{for(;;){const{value:p,done:y}=yield(0,t.N3)(O.read());if(y)return yield(0,t.N3)(void 0);yield yield(0,t.N3)(p)}}finally{O.releaseLock()}}))}function f(h){return(0,a.T)(h?.getReader)}},9470:(G,b,n)=>{n.d(b,{m:()=>a});var t=n(8071);function a(m){return m&&(0,t.T)(m.schedule)}},9974:(G,b,n)=>{n.d(b,{N:()=>m,S:()=>a});var t=n(8071);function a(f){return(0,t.T)(f?.lift)}function m(f){return h=>{if(a(h))return h.lift((function(T){try{return f(T,this)}catch(O){this.error(O)}}));throw new TypeError("Unable to lift unknown Observable type")}}},6450:(G,b,n)=>{n.d(b,{I:()=>f});var t=n(6354);const{isArray:a}=Array;function f(h){return(0,t.T)((T=>function m(h,T){return a(T)?h(...T):h(T)}(h,T)))}},5343:(G,b,n)=>{function t(){}n.d(b,{l:()=>t})},1203:(G,b,n)=>{n.d(b,{F:()=>a,m:()=>m});var t=n(3669);function a(...f){return m(f)}function m(f){return 0===f.length?t.D:1===f.length?f[0]:function(T){return f.reduce(((O,p)=>p(O)),T)}}},5334:(G,b,n)=>{n.d(b,{m:()=>m});var t=n(1026),a=n(9270);function m(f){a.f.setTimeout((()=>{const{onUnhandledError:h}=t.$;if(!h)throw f;h(f)}))}},591:(G,b,n)=>{function t(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(b,{L:()=>t})},6935:()=>{const G=globalThis;function b(u){return(G.__Zone_symbol_prefix||"__zone_symbol__")+u}const a=Object.getOwnPropertyDescriptor,m=Object.defineProperty,f=Object.getPrototypeOf,h=Object.create,T=Array.prototype.slice,O="addEventListener",p="removeEventListener",y=b(O),d=b(p),v="true",c="false",U=b("");function R(u,E){return Zone.current.wrap(u,E)}function N(u,E,x,_,S){return Zone.current.scheduleMacroTask(u,E,x,_,S)}const j=b,et=typeof window<"u",gt=et?window:void 0,mt=et&&gt||globalThis,Kt="removeAttribute";function q(u,E){for(let x=u.length-1;x>=0;x--)"function"==typeof u[x]&&(u[x]=R(u[x],E+"_"+x));return u}function nt(u){return!u||!1!==u.writable&&!("function"==typeof u.get&&typeof u.set>"u")}const K=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Y=!("nw"in mt)&&typeof mt.process<"u"&&"[object process]"===mt.process.toString(),l=!Y&&!K&&!(!et||!gt.HTMLElement),F=typeof mt.process<"u"&&"[object process]"===mt.process.toString()&&!K&&!(!et||!gt.HTMLElement),r={},C=j("enable_beforeunload"),I=function(u){if(!(u=u||mt.event))return;let E=r[u.type];E||(E=r[u.type]=j("ON_PROPERTY"+u.type));const x=this||u.target||mt,_=x[E];let S;return l&&x===gt&&"error"===u.type?(S=_&&_.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===S&&u.preventDefault()):(S=_&&_.apply(this,arguments),"beforeunload"===u.type&&mt[C]&&"string"==typeof S?u.returnValue=S:null!=S&&!S&&u.preventDefault()),S};function D(u,E,x){let _=a(u,E);if(!_&&x&&a(x,E)&&(_={enumerable:!0,configurable:!0}),!_||!_.configurable)return;const S=j("on"+E+"patched");if(u.hasOwnProperty(S)&&u[S])return;delete _.writable,delete _.value;const Z=_.get,it=_.set,at=E.slice(2);let J=r[at];J||(J=r[at]=j("ON_PROPERTY"+at)),_.set=function(bt){let st=this;!st&&u===mt&&(st=mt),st&&("function"==typeof st[J]&&st.removeEventListener(at,I),it&&it.call(st,null),st[J]=bt,"function"==typeof bt&&st.addEventListener(at,I,!1))},_.get=function(){let bt=this;if(!bt&&u===mt&&(bt=mt),!bt)return null;const st=bt[J];if(st)return st;if(Z){let vt=Z.call(this);if(vt)return _.set.call(this,vt),"function"==typeof bt[Kt]&&bt.removeAttribute(E),vt}return null},m(u,E,_),u[S]=!0}function k(u,E,x){if(E)for(let _=0;_<E.length;_++)D(u,"on"+E[_],x);else{const _=[];for(const S in u)"on"==S.slice(0,2)&&_.push(S);for(let S=0;S<_.length;S++)D(u,_[S],x)}}const L=j("originalInstance");function Q(u){const E=mt[u];if(!E)return;mt[j(u)]=E,mt[u]=function(){const S=q(arguments,u);switch(S.length){case 0:this[L]=new E;break;case 1:this[L]=new E(S[0]);break;case 2:this[L]=new E(S[0],S[1]);break;case 3:this[L]=new E(S[0],S[1],S[2]);break;case 4:this[L]=new E(S[0],S[1],S[2],S[3]);break;default:throw new Error("Arg list too long.")}},lt(mt[u],E);const x=new E((function(){}));let _;for(_ in x)"XMLHttpRequest"===u&&"responseBlob"===_||function(S){"function"==typeof x[S]?mt[u].prototype[S]=function(){return this[L][S].apply(this[L],arguments)}:m(mt[u].prototype,S,{set:function(Z){"function"==typeof Z?(this[L][S]=R(Z,u+"."+S),lt(this[L][S],Z)):this[L][S]=Z},get:function(){return this[L][S]}})}(_);for(_ in E)"prototype"!==_&&E.hasOwnProperty(_)&&(mt[u][_]=E[_])}function pt(u,E,x){let _=u;for(;_&&!_.hasOwnProperty(E);)_=f(_);!_&&u[E]&&(_=u);const S=j(E);let Z=null;if(_&&(!(Z=_[S])||!_.hasOwnProperty(S))&&(Z=_[S]=_[E],nt(_&&a(_,E)))){const at=x(Z,S,E);_[E]=function(){return at(this,arguments)},lt(_[E],Z)}return Z}function Lt(u,E,x){let _=null;function S(Z){const it=Z.data;return it.args[it.cbIdx]=function(){Z.invoke.apply(this,arguments)},_.apply(it.target,it.args),Z}_=pt(u,E,(Z=>function(it,at){const J=x(it,at);return J.cbIdx>=0&&"function"==typeof at[J.cbIdx]?N(J.name,at[J.cbIdx],J,S):Z.apply(it,at)}))}function lt(u,E){u[j("OriginalDelegate")]=E}let It=!1,Zt=!1;function Jt(){if(It)return Zt;It=!0;try{const u=gt.navigator.userAgent;(-1!==u.indexOf("MSIE ")||-1!==u.indexOf("Trident/")||-1!==u.indexOf("Edge/"))&&(Zt=!0)}catch{}return Zt}function ee(u){return"function"==typeof u}function oe(u){return"number"==typeof u}let re=!1;if(typeof window<"u")try{const u=Object.defineProperty({},"passive",{get:function(){re=!0}});window.addEventListener("test",u,u),window.removeEventListener("test",u,u)}catch{re=!1}const _e={useG:!0},ne={},he={},De=new RegExp("^"+U+"(\\w+)(true|false)$"),Ce=j("propagationStopped");function we(u,E){const x=(E?E(u):u)+c,_=(E?E(u):u)+v,S=U+x,Z=U+_;ne[u]={},ne[u][c]=S,ne[u][v]=Z}function ke(u,E,x,_){const S=_&&_.add||O,Z=_&&_.rm||p,it=_&&_.listeners||"eventListeners",at=_&&_.rmAll||"removeAllListeners",J=j(S),bt="."+S+":",st="prependListener",vt="."+st+":",wt=function(ht,tt,kt){if(ht.isRemoved)return;const Bt=ht.callback;let Gt;"object"==typeof Bt&&Bt.handleEvent&&(ht.callback=ct=>Bt.handleEvent(ct),ht.originalDelegate=Bt);try{ht.invoke(ht,tt,[kt])}catch(ct){Gt=ct}const Nt=ht.options;return Nt&&"object"==typeof Nt&&Nt.once&&tt[Z].call(tt,kt.type,ht.originalDelegate?ht.originalDelegate:ht.callback,Nt),Gt};function xt(ht,tt,kt){if(!(tt=tt||u.event))return;const Bt=ht||tt.target||u,Gt=Bt[ne[tt.type][kt?v:c]];if(Gt){const Nt=[];if(1===Gt.length){const ct=wt(Gt[0],Bt,tt);ct&&Nt.push(ct)}else{const ct=Gt.slice();for(let jt=0;jt<ct.length&&(!tt||!0!==tt[Ce]);jt++){const Pt=wt(ct[jt],Bt,tt);Pt&&Nt.push(Pt)}}if(1===Nt.length)throw Nt[0];for(let ct=0;ct<Nt.length;ct++){const jt=Nt[ct];E.nativeScheduleMicroTask((()=>{throw jt}))}}}const Vt=function(ht){return xt(this,ht,!1)},te=function(ht){return xt(this,ht,!0)};function qt(ht,tt){if(!ht)return!1;let kt=!0;tt&&void 0!==tt.useG&&(kt=tt.useG);const Bt=tt&&tt.vh;let Gt=!0;tt&&void 0!==tt.chkDup&&(Gt=tt.chkDup);let Nt=!1;tt&&void 0!==tt.rt&&(Nt=tt.rt);let ct=ht;for(;ct&&!ct.hasOwnProperty(S);)ct=f(ct);if(!ct&&ht[S]&&(ct=ht),!ct||ct[J])return!1;const jt=tt&&tt.eventNameToString,Pt={},yt=ct[J]=ct[S],dt=ct[j(Z)]=ct[Z],Ot=ct[j(it)]=ct[it],ie=ct[j(at)]=ct[at];let $t;tt&&tt.prepend&&($t=ct[j(tt.prepend)]=ct[tt.prepend]);const Xt=kt?function(M){if(!Pt.isExisting)return yt.call(Pt.target,Pt.eventName,Pt.capture?te:Vt,Pt.options)}:function(M){return yt.call(Pt.target,Pt.eventName,M.invoke,Pt.options)},At=kt?function(M){if(!M.isRemoved){const $=ne[M.eventName];let _t;$&&(_t=$[M.capture?v:c]);const Tt=_t&&M.target[_t];if(Tt)for(let ot=0;ot<Tt.length;ot++)if(Tt[ot]===M){Tt.splice(ot,1),M.isRemoved=!0,M.removeAbortListener&&(M.removeAbortListener(),M.removeAbortListener=null),0===Tt.length&&(M.allRemoved=!0,M.target[_t]=null);break}}if(M.allRemoved)return dt.call(M.target,M.eventName,M.capture?te:Vt,M.options)}:function(M){return dt.call(M.target,M.eventName,M.invoke,M.options)},ae=tt&&tt.diff?tt.diff:function(M,$){const _t=typeof $;return"function"===_t&&M.callback===$||"object"===_t&&M.originalDelegate===$},fe=Zone[j("UNPATCHED_EVENTS")],se=u[j("PASSIVE_EVENTS")],V=function(M,$,_t,Tt,ot=!1,Mt=!1){return function(){const Ct=this||u;let Rt=arguments[0];tt&&tt.transferEventName&&(Rt=tt.transferEventName(Rt));let Ft=arguments[1];if(!Ft)return M.apply(this,arguments);if(Y&&"uncaughtException"===Rt)return M.apply(this,arguments);let Ht=!1;if("function"!=typeof Ft){if(!Ft.handleEvent)return M.apply(this,arguments);Ht=!0}if(Bt&&!Bt(M,Ft,Ct,arguments))return;const de=re&&!!se&&-1!==se.indexOf(Rt),le=function X(M){if("object"==typeof M&&null!==M){const $={...M};return M.signal&&($.signal=M.signal),$}return M}(function Dt(M,$){return!re&&"object"==typeof M&&M?!!M.capture:re&&$?"boolean"==typeof M?{capture:M,passive:!0}:M?"object"==typeof M&&!1!==M.passive?{...M,passive:!0}:M:{passive:!0}:M}(arguments[2],de)),e=le?.signal;if(e?.aborted)return;if(fe)for(let Wt=0;Wt<fe.length;Wt++)if(Rt===fe[Wt])return de?M.call(Ct,Rt,Ft,le):M.apply(this,arguments);const s=!!le&&("boolean"==typeof le||le.capture),i=!(!le||"object"!=typeof le)&&le.once,o=Zone.current;let w=ne[Rt];w||(we(Rt,jt),w=ne[Rt]);const A=w[s?v:c];let H,B=Ct[A],W=!1;if(B){if(W=!0,Gt)for(let Wt=0;Wt<B.length;Wt++)if(ae(B[Wt],Ft))return}else B=Ct[A]=[];const ut=Ct.constructor.name,St=he[ut];St&&(H=St[Rt]),H||(H=ut+$+(jt?jt(Rt):Rt)),Pt.options=le,i&&(Pt.options.once=!1),Pt.target=Ct,Pt.capture=s,Pt.eventName=Rt,Pt.isExisting=W;const zt=kt?_e:void 0;zt&&(zt.taskData=Pt),e&&(Pt.options.signal=void 0);const Yt=o.scheduleEventTask(H,Ft,zt,_t,Tt);if(e){Pt.options.signal=e;const Wt=()=>Yt.zone.cancelTask(Yt);M.call(e,"abort",Wt,{once:!0}),Yt.removeAbortListener=()=>e.removeEventListener("abort",Wt)}return Pt.target=null,zt&&(zt.taskData=null),i&&(Pt.options.once=!0),!re&&"boolean"==typeof Yt.options||(Yt.options=le),Yt.target=Ct,Yt.capture=s,Yt.eventName=Rt,Ht&&(Yt.originalDelegate=Ft),Mt?B.unshift(Yt):B.push(Yt),ot?Ct:void 0}};return ct[S]=V(yt,bt,Xt,At,Nt),$t&&(ct[st]=V($t,vt,(function(M){return $t.call(Pt.target,Pt.eventName,M.invoke,Pt.options)}),At,Nt,!0)),ct[Z]=function(){const M=this||u;let $=arguments[0];tt&&tt.transferEventName&&($=tt.transferEventName($));const _t=arguments[2],Tt=!!_t&&("boolean"==typeof _t||_t.capture),ot=arguments[1];if(!ot)return dt.apply(this,arguments);if(Bt&&!Bt(dt,ot,M,arguments))return;const Mt=ne[$];let Ct;Mt&&(Ct=Mt[Tt?v:c]);const Rt=Ct&&M[Ct];if(Rt)for(let Ft=0;Ft<Rt.length;Ft++){const Ht=Rt[Ft];if(ae(Ht,ot))return Rt.splice(Ft,1),Ht.isRemoved=!0,0!==Rt.length||(Ht.allRemoved=!0,M[Ct]=null,Tt||"string"!=typeof $)||(M[U+"ON_PROPERTY"+$]=null),Ht.zone.cancelTask(Ht),Nt?M:void 0}return dt.apply(this,arguments)},ct[it]=function(){const M=this||u;let $=arguments[0];tt&&tt.transferEventName&&($=tt.transferEventName($));const _t=[],Tt=ve(M,jt?jt($):$);for(let ot=0;ot<Tt.length;ot++){const Mt=Tt[ot];_t.push(Mt.originalDelegate?Mt.originalDelegate:Mt.callback)}return _t},ct[at]=function(){const M=this||u;let $=arguments[0];if($){tt&&tt.transferEventName&&($=tt.transferEventName($));const _t=ne[$];if(_t){const Mt=M[_t[c]],Ct=M[_t[v]];if(Mt){const Rt=Mt.slice();for(let Ft=0;Ft<Rt.length;Ft++){const Ht=Rt[Ft];this[Z].call(this,$,Ht.originalDelegate?Ht.originalDelegate:Ht.callback,Ht.options)}}if(Ct){const Rt=Ct.slice();for(let Ft=0;Ft<Rt.length;Ft++){const Ht=Rt[Ft];this[Z].call(this,$,Ht.originalDelegate?Ht.originalDelegate:Ht.callback,Ht.options)}}}}else{const _t=Object.keys(M);for(let Tt=0;Tt<_t.length;Tt++){const Mt=De.exec(_t[Tt]);let Ct=Mt&&Mt[1];Ct&&"removeListener"!==Ct&&this[at].call(this,Ct)}this[at].call(this,"removeListener")}if(Nt)return this},lt(ct[S],yt),lt(ct[Z],dt),ie&&lt(ct[at],ie),Ot&&lt(ct[it],Ot),!0}let Qt=[];for(let ht=0;ht<x.length;ht++)Qt[ht]=qt(x[ht],_);return Qt}function ve(u,E){if(!E){const Z=[];for(let it in u){const at=De.exec(it);let J=at&&at[1];if(J&&(!E||J===E)){const bt=u[it];if(bt)for(let st=0;st<bt.length;st++)Z.push(bt[st])}}return Z}let x=ne[E];x||(we(E),x=ne[E]);const _=u[x[c]],S=u[x[v]];return _?S?_.concat(S):_.slice():S?S.slice():[]}function Me(u,E){const x=u.Event;x&&x.prototype&&E.patchMethod(x.prototype,"stopImmediatePropagation",(_=>function(S,Z){S[Ce]=!0,_&&_.apply(S,Z)}))}const be=j("zoneTask");function ge(u,E,x,_){let S=null,Z=null;x+=_;const it={};function at(bt){const st=bt.data;st.args[0]=function(){return bt.invoke.apply(this,arguments)};const vt=S.apply(u,st.args);return oe(vt)?st.handleId=vt:(st.handle=vt,st.isRefreshable=ee(vt.refresh)),bt}function J(bt){const{handle:st,handleId:vt}=bt.data;return Z.call(u,st??vt)}S=pt(u,E+=_,(bt=>function(st,vt){if(ee(vt[0])){const wt={isRefreshable:!1,isPeriodic:"Interval"===_,delay:"Timeout"===_||"Interval"===_?vt[1]||0:void 0,args:vt},xt=vt[0];vt[0]=function(){try{return xt.apply(this,arguments)}finally{const{handle:kt,handleId:Bt,isPeriodic:Gt,isRefreshable:Nt}=wt;!Gt&&!Nt&&(Bt?delete it[Bt]:kt&&(kt[be]=null))}};const Vt=N(E,vt[0],wt,at,J);if(!Vt)return Vt;const{handleId:te,handle:qt,isRefreshable:Qt,isPeriodic:ht}=Vt.data;if(te)it[te]=Vt;else if(qt&&(qt[be]=Vt,Qt&&!ht)){const tt=qt.refresh;qt.refresh=function(){const{zone:kt,state:Bt}=Vt;return"notScheduled"===Bt?(Vt._state="scheduled",kt._updateTaskCount(Vt,1)):"running"===Bt&&(Vt._state="scheduling"),tt.call(this)}}return qt??te??Vt}return bt.apply(u,vt)})),Z=pt(u,x,(bt=>function(st,vt){const wt=vt[0];let xt;oe(wt)?(xt=it[wt],delete it[wt]):(xt=wt?.[be],xt?wt[be]=null:xt=wt),xt?.type?xt.cancelFn&&xt.zone.cancelTask(xt):bt.apply(u,vt)}))}function me(u,E,x){if(!x||0===x.length)return E;const _=x.filter((Z=>Z.target===u));if(!_||0===_.length)return E;const S=_[0].ignoreProperties;return E.filter((Z=>-1===S.indexOf(Z)))}function Re(u,E,x,_){u&&k(u,me(u,E,x),_)}function Te(u){return Object.getOwnPropertyNames(u).filter((E=>E.startsWith("on")&&E.length>2)).map((E=>E.substring(2)))}function Oe(u,E,x,_,S){const Z=Zone.__symbol__(_);if(E[Z])return;const it=E[Z]=E[_];E[_]=function(at,J,bt){return J&&J.prototype&&S.forEach((function(st){const vt=`${x}.${_}::`+st,wt=J.prototype;try{if(wt.hasOwnProperty(st)){const xt=u.ObjectGetOwnPropertyDescriptor(wt,st);xt&&xt.value?(xt.value=u.wrapWithCurrentZone(xt.value,vt),u._redefineProperty(J.prototype,st,xt)):wt[st]&&(wt[st]=u.wrapWithCurrentZone(wt[st],vt))}else wt[st]&&(wt[st]=u.wrapWithCurrentZone(wt[st],vt))}catch{}})),it.call(E,at,J,bt)},u.attachOriginToPatched(E[_],it)}const Se=function t(){const u=globalThis,E=!0===u[b("forceDuplicateZoneCheck")];if(u.Zone&&(E||"function"!=typeof u.Zone.__symbol__))throw new Error("Zone already loaded.");return u.Zone??=function n(){const u=G.performance;function E(Dt){u&&u.mark&&u.mark(Dt)}function x(Dt,rt){u&&u.measure&&u.measure(Dt,rt)}E("Zone");let _=(()=>{class Dt{static#t=this.__symbol__=b;static assertZonePatched(){if(G.Promise!==Pt.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 g=Dt.current;for(;g.parent;)g=g.parent;return g}static get current(){return dt.zone}static get currentTask(){return Ot}static __load_patch(g,P,ft=!1){if(Pt.hasOwnProperty(g)){const Et=!0===G[b("forceDuplicateZoneCheck")];if(!ft&&Et)throw Error("Already loaded patch: "+g)}else if(!G["__Zone_disable_"+g]){const Et="Zone:"+g;E(Et),Pt[g]=P(G,Dt,yt),x(Et,Et)}}get parent(){return this._parent}get name(){return this._name}constructor(g,P){this._parent=g,this._name=P?P.name||"unnamed":"<root>",this._properties=P&&P.properties||{},this._zoneDelegate=new Z(this,this._parent&&this._parent._zoneDelegate,P)}get(g){const P=this.getZoneWith(g);if(P)return P._properties[g]}getZoneWith(g){let P=this;for(;P;){if(P._properties.hasOwnProperty(g))return P;P=P._parent}return null}fork(g){if(!g)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,g)}wrap(g,P){if("function"!=typeof g)throw new Error("Expecting function got: "+g);const ft=this._zoneDelegate.intercept(this,g,P),Et=this;return function(){return Et.runGuarded(ft,this,arguments,P)}}run(g,P,ft,Et){dt={parent:dt,zone:this};try{return this._zoneDelegate.invoke(this,g,P,ft,Et)}finally{dt=dt.parent}}runGuarded(g,P=null,ft,Et){dt={parent:dt,zone:this};try{try{return this._zoneDelegate.invoke(this,g,P,ft,Et)}catch(Xt){if(this._zoneDelegate.handleError(this,Xt))throw Xt}}finally{dt=dt.parent}}runTask(g,P,ft){if(g.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(g.zone||qt).name+"; Execution: "+this.name+")");const Et=g,{type:Xt,data:{isPeriodic:At=!1,isRefreshable:ue=!1}={}}=g;if(g.state===Qt&&(Xt===jt||Xt===ct))return;const ae=g.state!=kt;ae&&Et._transitionTo(kt,tt);const fe=Ot;Ot=Et,dt={parent:dt,zone:this};try{Xt==ct&&g.data&&!At&&!ue&&(g.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,Et,P,ft)}catch(se){if(this._zoneDelegate.handleError(this,se))throw se}}finally{const se=g.state;if(se!==Qt&&se!==Gt)if(Xt==jt||At||ue&&se===ht)ae&&Et._transitionTo(tt,kt,ht);else{const X=Et._zoneDelegates;this._updateTaskCount(Et,-1),ae&&Et._transitionTo(Qt,kt,Qt),ue&&(Et._zoneDelegates=X)}dt=dt.parent,Ot=fe}}scheduleTask(g){if(g.zone&&g.zone!==this){let ft=this;for(;ft;){if(ft===g.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${g.zone.name}`);ft=ft.parent}}g._transitionTo(ht,Qt);const P=[];g._zoneDelegates=P,g._zone=this;try{g=this._zoneDelegate.scheduleTask(this,g)}catch(ft){throw g._transitionTo(Gt,ht,Qt),this._zoneDelegate.handleError(this,ft),ft}return g._zoneDelegates===P&&this._updateTaskCount(g,1),g.state==ht&&g._transitionTo(tt,ht),g}scheduleMicroTask(g,P,ft,Et){return this.scheduleTask(new it(Nt,g,P,ft,Et,void 0))}scheduleMacroTask(g,P,ft,Et,Xt){return this.scheduleTask(new it(ct,g,P,ft,Et,Xt))}scheduleEventTask(g,P,ft,Et,Xt){return this.scheduleTask(new it(jt,g,P,ft,Et,Xt))}cancelTask(g){if(g.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(g.zone||qt).name+"; Execution: "+this.name+")");if(g.state===tt||g.state===kt){g._transitionTo(Bt,tt,kt);try{this._zoneDelegate.cancelTask(this,g)}catch(P){throw g._transitionTo(Gt,Bt),this._zoneDelegate.handleError(this,P),P}return this._updateTaskCount(g,-1),g._transitionTo(Qt,Bt),g.runCount=-1,g}}_updateTaskCount(g,P){const ft=g._zoneDelegates;-1==P&&(g._zoneDelegates=null);for(let Et=0;Et<ft.length;Et++)ft[Et]._updateTaskCount(g.type,P)}}return Dt})();const S={name:"",onHasTask:(Dt,rt,g,P)=>Dt.hasTask(g,P),onScheduleTask:(Dt,rt,g,P)=>Dt.scheduleTask(g,P),onInvokeTask:(Dt,rt,g,P,ft,Et)=>Dt.invokeTask(g,P,ft,Et),onCancelTask:(Dt,rt,g,P)=>Dt.cancelTask(g,P)};class Z{get zone(){return this._zone}constructor(rt,g,P){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=rt,this._parentDelegate=g,this._forkZS=P&&(P&&P.onFork?P:g._forkZS),this._forkDlgt=P&&(P.onFork?g:g._forkDlgt),this._forkCurrZone=P&&(P.onFork?this._zone:g._forkCurrZone),this._interceptZS=P&&(P.onIntercept?P:g._interceptZS),this._interceptDlgt=P&&(P.onIntercept?g:g._interceptDlgt),this._interceptCurrZone=P&&(P.onIntercept?this._zone:g._interceptCurrZone),this._invokeZS=P&&(P.onInvoke?P:g._invokeZS),this._invokeDlgt=P&&(P.onInvoke?g:g._invokeDlgt),this._invokeCurrZone=P&&(P.onInvoke?this._zone:g._invokeCurrZone),this._handleErrorZS=P&&(P.onHandleError?P:g._handleErrorZS),this._handleErrorDlgt=P&&(P.onHandleError?g:g._handleErrorDlgt),this._handleErrorCurrZone=P&&(P.onHandleError?this._zone:g._handleErrorCurrZone),this._scheduleTaskZS=P&&(P.onScheduleTask?P:g._scheduleTaskZS),this._scheduleTaskDlgt=P&&(P.onScheduleTask?g:g._scheduleTaskDlgt),this._scheduleTaskCurrZone=P&&(P.onScheduleTask?this._zone:g._scheduleTaskCurrZone),this._invokeTaskZS=P&&(P.onInvokeTask?P:g._invokeTaskZS),this._invokeTaskDlgt=P&&(P.onInvokeTask?g:g._invokeTaskDlgt),this._invokeTaskCurrZone=P&&(P.onInvokeTask?this._zone:g._invokeTaskCurrZone),this._cancelTaskZS=P&&(P.onCancelTask?P:g._cancelTaskZS),this._cancelTaskDlgt=P&&(P.onCancelTask?g:g._cancelTaskDlgt),this._cancelTaskCurrZone=P&&(P.onCancelTask?this._zone:g._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const ft=P&&P.onHasTask;(ft||g&&g._hasTaskZS)&&(this._hasTaskZS=ft?P:S,this._hasTaskDlgt=g,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,P.onScheduleTask||(this._scheduleTaskZS=S,this._scheduleTaskDlgt=g,this._scheduleTaskCurrZone=this._zone),P.onInvokeTask||(this._invokeTaskZS=S,this._invokeTaskDlgt=g,this._invokeTaskCurrZone=this._zone),P.onCancelTask||(this._cancelTaskZS=S,this._cancelTaskDlgt=g,this._cancelTaskCurrZone=this._zone))}fork(rt,g){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,rt,g):new _(rt,g)}intercept(rt,g,P){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,rt,g,P):g}invoke(rt,g,P,ft,Et){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,rt,g,P,ft,Et):g.apply(P,ft)}handleError(rt,g){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,rt,g)}scheduleTask(rt,g){let P=g;if(this._scheduleTaskZS)this._hasTaskZS&&P._zoneDelegates.push(this._hasTaskDlgtOwner),P=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,rt,g),P||(P=g);else if(g.scheduleFn)g.scheduleFn(g);else{if(g.type!=Nt)throw new Error("Task is missing scheduleFn.");Vt(g)}return P}invokeTask(rt,g,P,ft){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,rt,g,P,ft):g.callback.apply(P,ft)}cancelTask(rt,g){let P;if(this._cancelTaskZS)P=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,rt,g);else{if(!g.cancelFn)throw Error("Task is not cancelable");P=g.cancelFn(g)}return P}hasTask(rt,g){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,rt,g)}catch(P){this.handleError(rt,P)}}_updateTaskCount(rt,g){const P=this._taskCounts,ft=P[rt],Et=P[rt]=ft+g;if(Et<0)throw new Error("More tasks executed then were scheduled.");0!=ft&&0!=Et||this.hasTask(this._zone,{microTask:P.microTask>0,macroTask:P.macroTask>0,eventTask:P.eventTask>0,change:rt})}}class it{constructor(rt,g,P,ft,Et,Xt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=rt,this.source=g,this.data=ft,this.scheduleFn=Et,this.cancelFn=Xt,!P)throw new Error("callback is not defined");this.callback=P;const At=this;this.invoke=rt===jt&&ft&&ft.useG?it.invokeTask:function(){return it.invokeTask.call(G,At,this,arguments)}}static invokeTask(rt,g,P){rt||(rt=this),ie++;try{return rt.runCount++,rt.zone.runTask(rt,g,P)}finally{1==ie&&te(),ie--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Qt,ht)}_transitionTo(rt,g,P){if(this._state!==g&&this._state!==P)throw new Error(`${this.type} '${this.source}': can not transition to '${rt}', expecting state '${g}'${P?" or '"+P+"'":""}, was '${this._state}'.`);this._state=rt,rt==Qt&&(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 at=b("setTimeout"),J=b("Promise"),bt=b("then");let wt,st=[],vt=!1;function xt(Dt){if(wt||G[J]&&(wt=G[J].resolve(0)),wt){let rt=wt[bt];rt||(rt=wt.then),rt.call(wt,Dt)}else G[at](Dt,0)}function Vt(Dt){0===ie&&0===st.length&&xt(te),Dt&&st.push(Dt)}function te(){if(!vt){for(vt=!0;st.length;){const Dt=st;st=[];for(let rt=0;rt<Dt.length;rt++){const g=Dt[rt];try{g.zone.runTask(g,null,null)}catch(P){yt.onUnhandledError(P)}}}yt.microtaskDrainDone(),vt=!1}}const qt={name:"NO ZONE"},Qt="notScheduled",ht="scheduling",tt="scheduled",kt="running",Bt="canceling",Gt="unknown",Nt="microTask",ct="macroTask",jt="eventTask",Pt={},yt={symbol:b,currentZoneFrame:()=>dt,onUnhandledError:$t,microtaskDrainDone:$t,scheduleMicroTask:Vt,showUncaughtError:()=>!_[b("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:$t,patchMethod:()=>$t,bindArguments:()=>[],patchThen:()=>$t,patchMacroTask:()=>$t,patchEventPrototype:()=>$t,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>$t,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>$t,wrapWithCurrentZone:()=>$t,filterProperties:()=>[],attachOriginToPatched:()=>$t,_redefineProperty:()=>$t,patchCallbacks:()=>$t,nativeScheduleMicroTask:xt};let dt={parent:null,zone:new _(null,null)},Ot=null,ie=0;function $t(){}return x("Zone","Zone"),_}(),u.Zone}();(function Pe(u){(function We(u){u.__load_patch("ZoneAwarePromise",((E,x,_)=>{const S=Object.getOwnPropertyDescriptor,Z=Object.defineProperty,at=_.symbol,J=[],bt=!1!==E[at("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],st=at("Promise"),vt=at("then"),wt="__creationTrace__";_.onUnhandledError=X=>{if(_.showUncaughtError()){const V=X&&X.rejection;V?console.error("Unhandled Promise rejection:",V instanceof Error?V.message:V,"; Zone:",X.zone.name,"; Task:",X.task&&X.task.source,"; Value:",V,V instanceof Error?V.stack:void 0):console.error(X)}},_.microtaskDrainDone=()=>{for(;J.length;){const X=J.shift();try{X.zone.runGuarded((()=>{throw X.throwOriginal?X.rejection:X}))}catch(V){Vt(V)}}};const xt=at("unhandledPromiseRejectionHandler");function Vt(X){_.onUnhandledError(X);try{const V=x[xt];"function"==typeof V&&V.call(this,X)}catch{}}function te(X){return X&&X.then}function qt(X){return X}function Qt(X){return At.reject(X)}const ht=at("state"),tt=at("value"),kt=at("finally"),Bt=at("parentPromiseValue"),Gt=at("parentPromiseState"),Nt="Promise.then",ct=null,jt=!0,Pt=!1,yt=0;function dt(X,V){return M=>{try{Dt(X,V,M)}catch($){Dt(X,!1,$)}}}const Ot=function(){let X=!1;return function(M){return function(){X||(X=!0,M.apply(null,arguments))}}},ie="Promise resolved with itself",$t=at("currentTaskTrace");function Dt(X,V,M){const $=Ot();if(X===M)throw new TypeError(ie);if(X[ht]===ct){let _t=null;try{("object"==typeof M||"function"==typeof M)&&(_t=M&&M.then)}catch(Tt){return $((()=>{Dt(X,!1,Tt)}))(),X}if(V!==Pt&&M instanceof At&&M.hasOwnProperty(ht)&&M.hasOwnProperty(tt)&&M[ht]!==ct)g(M),Dt(X,M[ht],M[tt]);else if(V!==Pt&&"function"==typeof _t)try{_t.call(M,$(dt(X,V)),$(dt(X,!1)))}catch(Tt){$((()=>{Dt(X,!1,Tt)}))()}else{X[ht]=V;const Tt=X[tt];if(X[tt]=M,X[kt]===kt&&V===jt&&(X[ht]=X[Gt],X[tt]=X[Bt]),V===Pt&&M instanceof Error){const ot=x.currentTask&&x.currentTask.data&&x.currentTask.data[wt];ot&&Z(M,$t,{configurable:!0,enumerable:!1,writable:!0,value:ot})}for(let ot=0;ot<Tt.length;)P(X,Tt[ot++],Tt[ot++],Tt[ot++],Tt[ot++]);if(0==Tt.length&&V==Pt){X[ht]=yt;let ot=M;try{throw new Error("Uncaught (in promise): "+function it(X){return X&&X.toString===Object.prototype.toString?(X.constructor&&X.constructor.name||"")+": "+JSON.stringify(X):X?X.toString():Object.prototype.toString.call(X)}(M)+(M&&M.stack?"\n"+M.stack:""))}catch(Mt){ot=Mt}bt&&(ot.throwOriginal=!0),ot.rejection=M,ot.promise=X,ot.zone=x.current,ot.task=x.currentTask,J.push(ot),_.scheduleMicroTask()}}}return X}const rt=at("rejectionHandledHandler");function g(X){if(X[ht]===yt){try{const V=x[rt];V&&"function"==typeof V&&V.call(this,{rejection:X[tt],promise:X})}catch{}X[ht]=Pt;for(let V=0;V<J.length;V++)X===J[V].promise&&J.splice(V,1)}}function P(X,V,M,$,_t){g(X);const Tt=X[ht],ot=Tt?"function"==typeof $?$:qt:"function"==typeof _t?_t:Qt;V.scheduleMicroTask(Nt,(()=>{try{const Mt=X[tt],Ct=!!M&&kt===M[kt];Ct&&(M[Bt]=Mt,M[Gt]=Tt);const Rt=V.run(ot,void 0,Ct&&ot!==Qt&&ot!==qt?[]:[Mt]);Dt(M,!0,Rt)}catch(Mt){Dt(M,!1,Mt)}}),M)}const Et=function(){},Xt=E.AggregateError;class At{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(V){return V instanceof At?V:Dt(new this(null),jt,V)}static reject(V){return Dt(new this(null),Pt,V)}static withResolvers(){const V={};return V.promise=new At(((M,$)=>{V.resolve=M,V.reject=$})),V}static any(V){if(!V||"function"!=typeof V[Symbol.iterator])return Promise.reject(new Xt([],"All promises were rejected"));const M=[];let $=0;try{for(let ot of V)$++,M.push(At.resolve(ot))}catch{return Promise.reject(new Xt([],"All promises were rejected"))}if(0===$)return Promise.reject(new Xt([],"All promises were rejected"));let _t=!1;const Tt=[];return new At(((ot,Mt)=>{for(let Ct=0;Ct<M.length;Ct++)M[Ct].then((Rt=>{_t||(_t=!0,ot(Rt))}),(Rt=>{Tt.push(Rt),$--,0===$&&(_t=!0,Mt(new Xt(Tt,"All promises were rejected")))}))}))}static race(V){let M,$,_t=new this(((Mt,Ct)=>{M=Mt,$=Ct}));function Tt(Mt){M(Mt)}function ot(Mt){$(Mt)}for(let Mt of V)te(Mt)||(Mt=this.resolve(Mt)),Mt.then(Tt,ot);return _t}static all(V){return At.allWithCallback(V)}static allSettled(V){return(this&&this.prototype instanceof At?this:At).allWithCallback(V,{thenCallback:$=>({status:"fulfilled",value:$}),errorCallback:$=>({status:"rejected",reason:$})})}static allWithCallback(V,M){let $,_t,Tt=new this(((Rt,Ft)=>{$=Rt,_t=Ft})),ot=2,Mt=0;const Ct=[];for(let Rt of V){te(Rt)||(Rt=this.resolve(Rt));const Ft=Mt;try{Rt.then((Ht=>{Ct[Ft]=M?M.thenCallback(Ht):Ht,ot--,0===ot&&$(Ct)}),(Ht=>{M?(Ct[Ft]=M.errorCallback(Ht),ot--,0===ot&&$(Ct)):_t(Ht)}))}catch(Ht){_t(Ht)}ot++,Mt++}return ot-=2,0===ot&&$(Ct),Tt}constructor(V){const M=this;if(!(M instanceof At))throw new Error("Must be an instanceof Promise.");M[ht]=ct,M[tt]=[];try{const $=Ot();V&&V($(dt(M,jt)),$(dt(M,Pt)))}catch($){Dt(M,!1,$)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return At}then(V,M){let $=this.constructor?.[Symbol.species];(!$||"function"!=typeof $)&&($=this.constructor||At);const _t=new $(Et),Tt=x.current;return this[ht]==ct?this[tt].push(Tt,_t,V,M):P(this,Tt,_t,V,M),_t}catch(V){return this.then(null,V)}finally(V){let M=this.constructor?.[Symbol.species];(!M||"function"!=typeof M)&&(M=At);const $=new M(Et);$[kt]=kt;const _t=x.current;return this[ht]==ct?this[tt].push(_t,$,V,V):P(this,_t,$,V,V),$}}At.resolve=At.resolve,At.reject=At.reject,At.race=At.race,At.all=At.all;const ue=E[st]=E.Promise;E.Promise=At;const ae=at("thenPatched");function fe(X){const V=X.prototype,M=S(V,"then");if(M&&(!1===M.writable||!M.configurable))return;const $=V.then;V[vt]=$,X.prototype.then=function(_t,Tt){return new At(((Mt,Ct)=>{$.call(this,Mt,Ct)})).then(_t,Tt)},X[ae]=!0}return _.patchThen=fe,ue&&(fe(ue),pt(E,"fetch",(X=>function se(X){return function(V,M){let $=X.apply(V,M);if($ instanceof At)return $;let _t=$.constructor;return _t[ae]||fe(_t),$}}(X)))),Promise[x.__symbol__("uncaughtPromiseErrors")]=J,At}))})(u),function Ae(u){u.__load_patch("toString",(E=>{const x=Function.prototype.toString,_=j("OriginalDelegate"),S=j("Promise"),Z=j("Error"),it=function(){if("function"==typeof this){const st=this[_];if(st)return"function"==typeof st?x.call(st):Object.prototype.toString.call(st);if(this===Promise){const vt=E[S];if(vt)return x.call(vt)}if(this===Error){const vt=E[Z];if(vt)return x.call(vt)}}return x.call(this)};it[_]=x,Function.prototype.toString=it;const at=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":at.call(this)}}))}(u),function pe(u){u.__load_patch("util",((E,x,_)=>{const S=Te(E);_.patchOnProperties=k,_.patchMethod=pt,_.bindArguments=q,_.patchMacroTask=Lt;const Z=x.__symbol__("BLACK_LISTED_EVENTS"),it=x.__symbol__("UNPATCHED_EVENTS");E[it]&&(E[Z]=E[it]),E[Z]&&(x[Z]=x[it]=E[Z]),_.patchEventPrototype=Me,_.patchEventTarget=ke,_.isIEOrEdge=Jt,_.ObjectDefineProperty=m,_.ObjectGetOwnPropertyDescriptor=a,_.ObjectCreate=h,_.ArraySlice=T,_.patchClass=Q,_.wrapWithCurrentZone=R,_.filterProperties=me,_.attachOriginToPatched=lt,_._redefineProperty=Object.defineProperty,_.patchCallbacks=Oe,_.getGlobalObjects=()=>({globalSources:he,zoneSymbolEventNames:ne,eventNames:S,isBrowser:l,isMix:F,isNode:Y,TRUE_STR:v,FALSE_STR:c,ZONE_SYMBOL_PREFIX:U,ADD_EVENT_LISTENER_STR:O,REMOVE_EVENT_LISTENER_STR:p})}))}(u)})(Se),function Fe(u){u.__load_patch("legacy",(E=>{const x=E[u.__symbol__("legacyPatch")];x&&x()})),u.__load_patch("timers",(E=>{const x="set",_="clear";ge(E,x,_,"Timeout"),ge(E,x,_,"Interval"),ge(E,x,_,"Immediate")})),u.__load_patch("requestAnimationFrame",(E=>{ge(E,"request","cancel","AnimationFrame"),ge(E,"mozRequest","mozCancel","AnimationFrame"),ge(E,"webkitRequest","webkitCancel","AnimationFrame")})),u.__load_patch("blocking",((E,x)=>{const _=["alert","prompt","confirm"];for(let S=0;S<_.length;S++)pt(E,_[S],((it,at,J)=>function(bt,st){return x.current.run(it,E,st,J)}))})),u.__load_patch("EventTarget",((E,x,_)=>{(function Ue(u,E){E.patchEventPrototype(u,E)})(E,_),function Be(u,E){if(Zone[E.symbol("patchEventTarget")])return;const{eventNames:x,zoneSymbolEventNames:_,TRUE_STR:S,FALSE_STR:Z,ZONE_SYMBOL_PREFIX:it}=E.getGlobalObjects();for(let J=0;J<x.length;J++){const bt=x[J],wt=it+(bt+Z),xt=it+(bt+S);_[bt]={},_[bt][Z]=wt,_[bt][S]=xt}const at=u.EventTarget;at&&at.prototype&&E.patchEventTarget(u,E,[at&&at.prototype])}(E,_);const S=E.XMLHttpRequestEventTarget;S&&S.prototype&&_.patchEventTarget(E,_,[S.prototype])})),u.__load_patch("MutationObserver",((E,x,_)=>{Q("MutationObserver"),Q("WebKitMutationObserver")})),u.__load_patch("IntersectionObserver",((E,x,_)=>{Q("IntersectionObserver")})),u.__load_patch("FileReader",((E,x,_)=>{Q("FileReader")})),u.__load_patch("on_property",((E,x,_)=>{!function Ne(u,E){if(Y&&!F||Zone[u.symbol("patchEvents")])return;const x=E.__Zone_ignore_on_properties;let _=[];if(l){const S=window;_=_.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Z=function Ut(){try{const u=gt.navigator.userAgent;if(-1!==u.indexOf("MSIE ")||-1!==u.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:S,ignoreProperties:["error"]}]:[];Re(S,Te(S),x&&x.concat(Z),f(S))}_=_.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let S=0;S<_.length;S++){const Z=E[_[S]];Z&&Z.prototype&&Re(Z.prototype,Te(Z.prototype),x)}}(_,E)})),u.__load_patch("customElements",((E,x,_)=>{!function xe(u,E){const{isBrowser:x,isMix:_}=E.getGlobalObjects();(x||_)&&u.customElements&&"customElements"in u&&E.patchCallbacks(E,u.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(E,_)})),u.__load_patch("XHR",((E,x)=>{!function bt(st){const vt=st.XMLHttpRequest;if(!vt)return;const wt=vt.prototype;let Vt=wt[y],te=wt[d];if(!Vt){const yt=st.XMLHttpRequestEventTarget;if(yt){const dt=yt.prototype;Vt=dt[y],te=dt[d]}}const qt="readystatechange",Qt="scheduled";function ht(yt){const dt=yt.data,Ot=dt.target;Ot[it]=!1,Ot[J]=!1;const ie=Ot[Z];Vt||(Vt=Ot[y],te=Ot[d]),ie&&te.call(Ot,qt,ie);const $t=Ot[Z]=()=>{if(Ot.readyState===Ot.DONE)if(!dt.aborted&&Ot[it]&&yt.state===Qt){const rt=Ot[x.__symbol__("loadfalse")];if(0!==Ot.status&&rt&&rt.length>0){const g=yt.invoke;yt.invoke=function(){const P=Ot[x.__symbol__("loadfalse")];for(let ft=0;ft<P.length;ft++)P[ft]===yt&&P.splice(ft,1);!dt.aborted&&yt.state===Qt&&g.call(yt)},rt.push(yt)}else yt.invoke()}else!dt.aborted&&!1===Ot[it]&&(Ot[J]=!0)};return Vt.call(Ot,qt,$t),Ot[_]||(Ot[_]=yt),jt.apply(Ot,dt.args),Ot[it]=!0,yt}function tt(){}function kt(yt){const dt=yt.data;return dt.aborted=!0,Pt.apply(dt.target,dt.args)}const Bt=pt(wt,"open",(()=>function(yt,dt){return yt[S]=0==dt[2],yt[at]=dt[1],Bt.apply(yt,dt)})),Nt=j("fetchTaskAborting"),ct=j("fetchTaskScheduling"),jt=pt(wt,"send",(()=>function(yt,dt){if(!0===x.current[ct]||yt[S])return jt.apply(yt,dt);{const Ot={target:yt,url:yt[at],isPeriodic:!1,args:dt,aborted:!1},ie=N("XMLHttpRequest.send",tt,Ot,ht,kt);yt&&!0===yt[J]&&!Ot.aborted&&ie.state===Qt&&ie.invoke()}})),Pt=pt(wt,"abort",(()=>function(yt,dt){const Ot=function xt(yt){return yt[_]}(yt);if(Ot&&"string"==typeof Ot.type){if(null==Ot.cancelFn||Ot.data&&Ot.data.aborted)return;Ot.zone.cancelTask(Ot)}else if(!0===x.current[Nt])return Pt.apply(yt,dt)}))}(E);const _=j("xhrTask"),S=j("xhrSync"),Z=j("xhrListener"),it=j("xhrScheduled"),at=j("xhrURL"),J=j("xhrErrorBeforeScheduled")})),u.__load_patch("geolocation",(E=>{E.navigator&&E.navigator.geolocation&&function z(u,E){const x=u.constructor.name;for(let _=0;_<E.length;_++){const S=E[_],Z=u[S];if(Z){if(!nt(a(u,S)))continue;u[S]=(at=>{const J=function(){return at.apply(this,q(arguments,x+"."+S))};return lt(J,at),J})(Z)}}}(E.navigator.geolocation,["getCurrentPosition","watchPosition"])})),u.__load_patch("PromiseRejectionEvent",((E,x)=>{function _(S){return function(Z){ve(E,S).forEach((at=>{const J=E.PromiseRejectionEvent;if(J){const bt=new J(S,{promise:Z.promise,reason:Z.rejection});at.invoke(bt)}}))}}E.PromiseRejectionEvent&&(x[j("unhandledPromiseRejectionHandler")]=_("unhandledrejection"),x[j("rejectionHandledHandler")]=_("rejectionhandled"))})),u.__load_patch("queueMicrotask",((E,x,_)=>{!function Le(u,E){E.patchMethod(u,"queueMicrotask",(x=>function(_,S){Zone.current.scheduleMicroTask("queueMicrotask",S[0])}))}(E,_)}))}(Se)},5215:(G,b,n)=>{function p(r,C,I,D){return new(I||(I=Promise))((function(L,Q){function pt(It){try{lt(D.next(It))}catch(Zt){Q(Zt)}}function Lt(It){try{lt(D.throw(It))}catch(Zt){Q(Zt)}}function lt(It){It.done?L(It.value):function k(L){return L instanceof I?L:new I((function(Q){Q(L)}))}(It.value).then(pt,Lt)}lt((D=D.apply(r,C||[])).next())}))}function et(r){return this instanceof et?(this.v=r,this):new et(r)}function gt(r,C,I){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var k,D=I.apply(r,C||[]),L=[];return k={},Q("next"),Q("throw"),Q("return"),k[Symbol.asyncIterator]=function(){return this},k;function Q(Ut){D[Ut]&&(k[Ut]=function(Jt){return new Promise((function(ee,oe){L.push([Ut,Jt,ee,oe])>1||pt(Ut,Jt)}))})}function pt(Ut,Jt){try{!function Lt(Ut){Ut.value instanceof et?Promise.resolve(Ut.value.v).then(lt,It):Zt(L[0][2],Ut)}(D[Ut](Jt))}catch(ee){Zt(L[0][3],ee)}}function lt(Ut){pt("next",Ut)}function It(Ut){pt("throw",Ut)}function Zt(Ut,Jt){Ut(Jt),L.shift(),L.length&&pt(L[0][0],L[0][1])}}function Kt(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var I,C=r[Symbol.asyncIterator];return C?C.call(r):(r=function c(r){var C="function"==typeof Symbol&&Symbol.iterator,I=C&&r[C],D=0;if(I)return I.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&D>=r.length&&(r=void 0),{value:r&&r[D++],done:!r}}};throw new TypeError(C?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),I={},D("next"),D("throw"),D("return"),I[Symbol.asyncIterator]=function(){return this},I);function D(L){I[L]=r[L]&&function(Q){return new Promise((function(pt,Lt){!function k(L,Q,pt,Lt){Promise.resolve(Lt).then((function(lt){L({value:lt,done:pt})}),Q)}(pt,Lt,(Q=r[L](Q)).done,Q.value)}))}}}n.d(b,{AQ:()=>gt,N3:()=>et,sH:()=>p,xN:()=>Kt})},4722:(G,b,n)=>{n.d(b,{Cp:()=>y,ew:()=>p,p4:()=>T});var t=n(3953),a=n(9417);const m={provide:a.kq,useExisting:(0,t.Rfq)((()=>f)),multi:!0};let f=(()=>{class d{constructor(){this.btnCheckboxTrue=!0,this.btnCheckboxFalse=!1,this.state=!1,this.isDisabled=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}onClick(){this.isDisabled||(this.toggle(!this.state),this.onChange(this.value))}ngOnInit(){this.toggle(this.trueValue===this.value)}get trueValue(){return!(typeof this.btnCheckboxTrue<"u")||this.btnCheckboxTrue}get falseValue(){return typeof this.btnCheckboxFalse<"u"&&this.btnCheckboxFalse}toggle(c){this.state=c,this.value=this.state?this.trueValue:this.falseValue}writeValue(c){this.state=this.trueValue===c,this.value=c?this.trueValue:this.falseValue}setDisabledState(c){this.isDisabled=c}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}static#t=this.ɵfac=function(U){return new(U||d)};static#e=this.ɵdir=t.FsC({type:d,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(U,R){1&U&&t.bIt("click",(function(){return R.onClick()})),2&U&&(t.BMQ("aria-pressed",R.state),t.AVh("active",R.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[t.Jv_([m])]})}return d})();const h={provide:a.kq,useExisting:(0,t.Rfq)((()=>T)),multi:!0};let T=(()=>{class d{get value(){return this.group?this.group.value:this._value}set value(c){this.group?this.group.value=c:(this._value=c,this._onChange(c))}get disabled(){return this._disabled}set disabled(c){this.setDisabledState(c)}get controlOrGroupDisabled(){return!!(this.disabled||this.group&&this.group.disabled)||void 0}get hasDisabledClass(){return this.controlOrGroupDisabled&&!this.isActive}get isActive(){return this.btnRadio===this.value}get tabindex(){if(!this.controlOrGroupDisabled)return this.isActive||null==this.group?0:-1}get hasFocus(){return this._hasFocus}constructor(c,U,R,N){this.el=c,this.cdr=U,this.renderer=R,this.group=N,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.uncheckable=!1,this.role="radio",this._disabled=!1,this._hasFocus=!1}toggleIfAllowed(){this.canToggle()&&(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio)}onSpacePressed(c){this.toggleIfAllowed(),c.preventDefault()}focus(){this.el.nativeElement.focus()}onFocus(){this._hasFocus=!0}onBlur(){this._hasFocus=!1,this.onTouched()}canToggle(){return!this.controlOrGroupDisabled&&(this.uncheckable||this.btnRadio!==this.value)}ngOnChanges(c){"uncheckable"in c&&(this.uncheckable=!1!==this.uncheckable&&typeof this.uncheckable<"u")}_onChange(c){this.group?this.group.value=c:(this.onTouched(),this.onChange(c))}writeValue(c){this.value=c,this.cdr.markForCheck()}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}setDisabledState(c){this._disabled=c,c?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")}static#t=this.ɵfac=function(U){return new(U||d)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(t.sFG),t.rXU((0,t.Rfq)((()=>p)),8))};static#e=this.ɵdir=t.FsC({type:d,selectors:[["","btnRadio",""]],hostVars:8,hostBindings:function(U,R){1&U&&t.bIt("click",(function(){return R.toggleIfAllowed()}))("keydown.space",(function(j){return R.onSpacePressed(j)}))("focus",(function(){return R.onFocus()}))("blur",(function(){return R.onBlur()})),2&U&&(t.BMQ("aria-disabled",R.controlOrGroupDisabled)("aria-checked",R.isActive)("role",R.role)("tabindex",R.tabindex),t.AVh("disabled",R.hasDisabledClass)("active",R.isActive))},inputs:{btnRadio:"btnRadio",uncheckable:"uncheckable",value:"value",disabled:"disabled"},features:[t.Jv_([h]),t.OA$]})}return d})();const O={provide:a.kq,useExisting:(0,t.Rfq)((()=>p)),multi:!0};let p=(()=>{class d{constructor(c){this.cdr=c,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.role="radiogroup",this._disabled=!1}get value(){return this._value}set value(c){this._value=c,this.onChange(c)}get disabled(){return this._disabled}get tabindex(){return this._disabled?null:0}writeValue(c){this._value=c,this.cdr.markForCheck()}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}setDisabledState(c){this.radioButtons&&(this._disabled=c,this.radioButtons.forEach((U=>{U.setDisabledState(c)})),this.cdr.markForCheck())}onFocus(){if(this._disabled)return;const c=this.getActiveOrFocusedRadio();if(c)c.focus();else if(this.radioButtons){const U=this.radioButtons.find((R=>!R.disabled));U&&U.focus()}}onBlur(){this.onTouched&&this.onTouched()}selectNext(c){this.selectInDirection("next"),c.preventDefault()}selectPrevious(c){this.selectInDirection("previous"),c.preventDefault()}selectInDirection(c){if(this._disabled)return;function U(N,j){let gt=(N+("next"===c?1:-1))%j.length;return gt<0&&(gt=j.length-1),gt}const R=this.getActiveOrFocusedRadio();if(R&&this.radioButtons){const N=this.radioButtons.toArray(),j=N.indexOf(R);for(let et=U(j,N);et!==j;et=U(et,N))if(N[et].canToggle()){N[et].toggleIfAllowed(),N[et].focus();break}}}getActiveOrFocusedRadio(){if(this.radioButtons)return this.radioButtons.find((c=>c.isActive))||this.radioButtons.find((c=>c.hasFocus))}static#t=this.ɵfac=function(U){return new(U||d)(t.rXU(t.gRc))};static#e=this.ɵdir=t.FsC({type:d,selectors:[["","btnRadioGroup",""]],contentQueries:function(U,R,N){if(1&U&&t.wni(N,T,4),2&U){let j;t.mGM(j=t.lsd())&&(R.radioButtons=j)}},hostVars:2,hostBindings:function(U,R){1&U&&t.bIt("focus",(function(){return R.onFocus()}))("blur",(function(){return R.onBlur()}))("keydown.ArrowRight",(function(j){return R.selectNext(j)}))("keydown.ArrowDown",(function(j){return R.selectNext(j)}))("keydown.ArrowLeft",(function(j){return R.selectPrevious(j)}))("keydown.ArrowUp",(function(j){return R.selectPrevious(j)})),2&U&&t.BMQ("role",R.role)("tabindex",R.tabindex)},features:[t.Jv_([O])]})}return d})(),y=(()=>{class d{static forRoot(){return{ngModule:d,providers:[]}}static#t=this.ɵfac=function(U){return new(U||d)};static#e=this.ɵmod=t.$C({type:d});static#n=this.ɵinj=t.G2t({})}return d})()},5532:(G,b,n)=>{n.d(b,{Kk:()=>Ft,hs:()=>Ht,zE:()=>le,UL:()=>de});var t=n(3953),a=n(5964);class m{constructor(s,i){this.open=s,this.close=i||s}isManual(){return"manual"===this.open||"manual"===this.close}}const f={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const d=typeof window<"u"&&window||{};let nt;function K(){const e=d.document.createElement("span");e.innerText="testing bs version",e.classList.add("d-none"),e.classList.add("pl-1"),d.document.head.appendChild(e);const s=d.getComputedStyle(e).paddingLeft;return s&&parseFloat(s)?(d.document.head.removeChild(e),"bs4"):(d.document.head.removeChild(e),"bs5")}function r(){return{isBs4:(nt||(nt=K()),"bs4"===nt),isBs5:(nt||(nt=K()),"bs5"===nt)}}typeof console>"u"||console;var Lt=n(177),lt=n(1413),It=n(6365),Zt=n(8750),Ut=n(983),Jt=n(9326),ee=n(6648),re=n(1985),_e=n(1397),ne=n(7441),he=n(8071),De=n(6450);const Ce=["addListener","removeListener"],we=["addEventListener","removeEventListener"],ke=["on","off"];function ve(e,s,i,o){if((0,he.T)(i)&&(o=i,i=void 0),o)return ve(e,s,i).pipe((0,De.I)(o));const[w,A]=function ge(e){return(0,he.T)(e.addEventListener)&&(0,he.T)(e.removeEventListener)}(e)?we.map((B=>W=>e[B](s,W,i))):function Le(e){return(0,he.T)(e.addListener)&&(0,he.T)(e.removeListener)}(e)?Ce.map(Me(e,s)):function be(e){return(0,he.T)(e.on)&&(0,he.T)(e.off)}(e)?ke.map(Me(e,s)):[];if(!w&&(0,ne.X)(e))return(0,_e.Z)((B=>ve(B,s,i)))((0,Zt.Tg)(e));if(!w)throw new TypeError("Invalid event target");return new re.c((B=>{const W=(...H)=>B.next(1<H.length?H:H[0]);return w(W),()=>A(W)}))}function Me(e,s){return i=>o=>e[i](s,o)}var xe=n(7673),Be=n(6780),Ue=n(8359);const me={schedule(e){let s=requestAnimationFrame,i=cancelAnimationFrame;const{delegate:o}=me;o&&(s=o.requestAnimationFrame,i=o.cancelAnimationFrame);const w=s((A=>{i=void 0,e(A)}));return new Ue.yU((()=>i?.(w)))},requestAnimationFrame(...e){const{delegate:s}=me;return(s?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:s}=me;return(s?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Te=n(3604);const Fe=new class Ne extends Te.q{flush(s){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:o}=this;let w;s=s||o.shift();do{if(w=s.execute(s.state,s.delay))break}while((s=o[0])&&s.id===i&&o.shift());if(this._active=!1,w){for(;(s=o[0])&&s.id===i&&o.shift();)s.unsubscribe();throw w}}}(class Re extends Be.R{constructor(s,i){super(s,i),this.scheduler=s,this.work=i}requestAsyncId(s,i,o=0){return null!==o&&o>0?super.requestAsyncId(s,i,o):(s.actions.push(this),s._scheduled||(s._scheduled=me.requestAnimationFrame((()=>s.flush(void 0)))))}recycleAsyncId(s,i,o=0){var w;if(null!=o?o>0:this.delay>0)return super.recycleAsyncId(s,i,o);const{actions:A}=s;null!=i&&(null===(w=A[A.length-1])||void 0===w?void 0:w.id)!==i&&(me.cancelAnimationFrame(i),s._scheduled=void 0)}});var Ae=function(e){return e.top="top",e.bottom="bottom",e.left="left",e.right="right",e.auto="auto",e.end="right",e.start="left",e["top left"]="top left",e["top right"]="top right",e["right top"]="right top",e["right bottom"]="right bottom",e["bottom right"]="bottom right",e["bottom left"]="bottom left",e["left bottom"]="left bottom",e["left top"]="left top",e["top start"]="top left",e["top end"]="top right",e["end top"]="right top",e["end bottom"]="right bottom",e["bottom end"]="bottom right",e["bottom start"]="bottom left",e["start bottom"]="start bottom",e["start top"]="left top",e}(Ae||{}),Oe=function(e){return e.top="top",e.bottom="bottom",e.left="start",e.right="end",e.auto="auto",e.end="end",e.start="start",e["top left"]="top start",e["top right"]="top end",e["right top"]="end top",e["right bottom"]="end bottom",e["bottom right"]="bottom end",e["bottom left"]="bottom start",e["left bottom"]="start bottom",e["left top"]="start top",e["top start"]="top start",e["top end"]="top end",e["end top"]="end top",e["end bottom"]="end bottom",e["bottom end"]="bottom end",e["bottom start"]="bottom start",e["start bottom"]="start bottom",e["start top"]="start top",e}(Oe||{});function pe(e,s){if(1!==e.nodeType)return[];const o=e.ownerDocument.defaultView?.getComputedStyle(e,null);return s?o&&o[s]:o}function Pe(e){if(!e)return document.documentElement;let o,i=e?.offsetParent;for(;null===i&&e.nextElementSibling&&o!==e.nextElementSibling;)o=e.nextElementSibling,i=o.offsetParent;const w=i&&i.nodeName;return w&&"BODY"!==w&&"HTML"!==w?i&&-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===pe(i,"position")?Pe(i):i:o?o.ownerDocument.documentElement:document.documentElement}function u(e){return null!==e.parentNode?u(e.parentNode):e}function E(e,s){if(!(e&&e.nodeType&&s&&s.nodeType))return document.documentElement;const i=e.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING,o=i?e:s,w=i?s:e,A=document.createRange();A.setStart(o,0),A.setEnd(w,0);const B=A.commonAncestorContainer;if(e!==B&&s!==B||o.contains(w))return function Se(e){const{nodeName:s}=e;return"BODY"!==s&&("HTML"===s||Pe(e.firstElementChild)===e)}(B)?B:Pe(B);const W=u(e);return W.host?E(W.host,s):E(e,u(s).host)}function x(e){if(!e||!e.parentElement)return document.documentElement;let s=e.parentElement;for(;s?.parentElement&&"none"===pe(s,"transform");)s=s.parentElement;return s||document.documentElement}function _(e,s){const i="x"===s?"Left":"Top",o="Left"===i?"Right":"Bottom";return parseFloat(e[`border${i}Width`])+parseFloat(e[`border${o}Width`])}function S(e,s,i){return Math.max(s[`offset${e}`],s[`scroll${e}`],i[`client${e}`],i[`offset${e}`],i[`scroll${e}`],0)}function Z(e){const s=e.body,i=e.documentElement;return{height:S("Height",s,i),width:S("Width",s,i)}}function it(e){return{...e,right:(e.left||0)+e.width,bottom:(e.top||0)+e.height}}function J(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function bt(e){const s=e.getBoundingClientRect();if(!(s&&J(s.top)&&J(s.left)&&J(s.bottom)&&J(s.right)))return s;const i={left:s.left,top:s.top,width:s.right-s.left,height:s.bottom-s.top},o="HTML"===e.nodeName?Z(e.ownerDocument):void 0,w=o?.width||e.clientWidth||J(s.right)&&J(i.left)&&s.right-i.left||0,A=o?.height||e.clientHeight||J(s.bottom)&&J(i.top)&&s.bottom-i.top||0;let B=e.offsetWidth-w,W=e.offsetHeight-A;if(B||W){const H=pe(e);B-=_(H,"x"),W-=_(H,"y"),i.width-=B,i.height-=W}return it(i)}function st(e,s,i=!1){const o="HTML"===s.nodeName,w=bt(e),A=bt(s),B=pe(s),W=parseFloat(B.borderTopWidth),H=parseFloat(B.borderLeftWidth);i&&o&&(A.top=Math.max(A.top??0,0),A.left=Math.max(A.left??0,0));const ut=it({top:(w.top??0)-(A.top??0)-W,left:(w.left??0)-(A.left??0)-H,width:w.width,height:w.height});if(ut.marginTop=0,ut.marginLeft=0,o){const St=parseFloat(B.marginTop),zt=parseFloat(B.marginLeft);J(ut.top)&&(ut.top-=W-St),J(ut.bottom)&&(ut.bottom-=W-St),J(ut.left)&&(ut.left-=H-zt),J(ut.right)&&(ut.right-=H-zt),ut.marginTop=St,ut.marginLeft=zt}return ut}function vt(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function wt(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}const{overflow:s,overflowX:i,overflowY:o}=pe(e);return/(auto|scroll|overlay)/.test(String(s)+String(o)+String(i))?e:wt(vt(e))}function xt(e,s="top"){const i="top"===s?"scrollTop":"scrollLeft",o=e.nodeName;return"BODY"===o||"HTML"===o?(e.ownerDocument.scrollingElement||e.ownerDocument.documentElement)[i]:e[i]}function te(e){const s=e.nodeName;return"BODY"!==s&&"HTML"!==s&&("fixed"===pe(e,"position")||te(vt(e)))}function qt(e,s,i=0,o,w=!1){let A={top:0,left:0};const B=w?x(e):E(e,s);if("viewport"===o)A=function Vt(e,s=!1){const i=e.ownerDocument.documentElement,o=st(e,i),w=Math.max(i.clientWidth,window.innerWidth||0),A=Math.max(i.clientHeight,window.innerHeight||0),B=s?0:xt(i),W=s?0:xt(i,"left");return it({top:B-Number(o?.top)+Number(o?.marginTop),left:W-Number(o?.left)+Number(o?.marginLeft),width:w,height:A})}(B,w);else{let W;"scrollParent"===o?(W=wt(vt(s)),"BODY"===W.nodeName&&(W=e.ownerDocument.documentElement)):W="window"===o?e.ownerDocument.documentElement:o;const H=st(W,B,w);if(H&&"HTML"===W.nodeName&&!te(B)){const{height:ut,width:St}=Z(e.ownerDocument);J(A.top)&&J(H.top)&&J(H.marginTop)&&(A.top+=H.top-H.marginTop),J(A.top)&&(A.bottom=Number(ut)+Number(H.top)),J(A.left)&&J(H.left)&&J(H.marginLeft)&&(A.left+=H.left-H.marginLeft),J(A.top)&&(A.right=Number(St)+Number(H.left))}else H&&(A=H)}return J(A.left)&&(A.left+=i),J(A.top)&&(A.top+=i),J(A.right)&&(A.right-=i),J(A.bottom)&&(A.bottom-=i),A}function Qt({width:e,height:s}){return e*s}function ht(e,s,i,o,w=["top","bottom","right","left"],A="viewport",B=0){if(-1===e.indexOf("auto"))return e;const W=qt(i,o,B,A),H={top:{width:W?.width??0,height:(s?.top??0)-(W?.top??0)},right:{width:(W?.right??0)-(s?.right??0),height:W?.height??0},bottom:{width:W?.width??0,height:(W?.bottom??0)-(s?.bottom??0)},left:{width:(s.left??0)-(W?.left??0),height:W?.height??0}},ut=Object.keys(H).map((Wt=>({position:Wt,...H[Wt],area:Qt(H[Wt])}))).sort(((Wt,ce)=>ce.area-Wt.area));let St=ut.filter((({width:Wt,height:ce})=>Wt>=i.clientWidth&&ce>=i.clientHeight));St=St.filter((({position:Wt})=>w.some((ce=>ce===Wt))));const zt=St.length>0?St[0].position:ut[0].position,Yt=e.split(" ")[1];return i.className=i.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${r().isBs5?Oe[zt]:zt}`),zt+(Yt?`-${Yt}`:"")}const Gt=(e,s=0)=>e?parseFloat(e):s;function Nt(e){const i=e.ownerDocument.defaultView?.getComputedStyle(e),o=Gt(i?.marginTop)+Gt(i?.marginBottom),w=Gt(i?.marginLeft)+Gt(i?.marginRight);return{width:Number(e.offsetWidth)+w,height:Number(e.offsetHeight)+o}}function ct(e,s,i){return st(s,i?x(e):E(e,s),i)}function jt(e,s,i){const o=i.split(" ")[0],w=Nt(e),A={width:w.width,height:w.height},B=-1!==["right","left"].indexOf(o),W=B?"top":"left",H=B?"left":"top",ut=B?"height":"width",St=B?"width":"height";return A[W]=(s[W]??0)+s[ut]/2-w[ut]/2,A[H]=o===H?(s[H]??0)-w[St]:s[function kt(e){const s={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(i=>s[i]))}(H)]??0,A}function Pt(e,s){return!!e.modifiers[s]?.enabled}const yt={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function dt(e,s){return!!r().isBs5&&yt[s].includes(e)}function $t(e,s,i){!e||!s||Object.keys(s).forEach((o=>{let w="";-1!==["width","height","top","right","bottom","left"].indexOf(o)&&function at(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(Number(e))}(s[o])&&(w="px"),i?i.setStyle(e,o,`${String(s[o])}${w}`):e.style[o]=String(s[o])+w}))}function Dt(e){let s=e.offsets.target;const i=e.instance.target.querySelector(".arrow");if(!i)return e;const o=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),w=o?"height":"width",A=o?"Top":"Left",B=A.toLowerCase(),W=o?"left":"top",H=o?"bottom":"right",ut=Nt(i)[w],St=e.placement.split(" ")[1];(e.offsets.host[H]??0)-ut<(s[B]??0)&&(s[B]-=(s[B]??0)-((e.offsets.host[H]??0)-ut)),Number(e.offsets.host[B])+Number(ut)>(s[H]??0)&&(s[B]+=Number(e.offsets.host[B])+Number(ut)-Number(s[H])),s=it(s);const zt=pe(e.instance.target),Yt=parseFloat(zt[`margin${A}`])||0,Wt=parseFloat(zt[`border${A}Width`])||0;let ce;if(St){const Ie=parseFloat(zt.borderRadius)||0,Ee=Number(Yt+Wt+Ie);ce=B===St?Number(e.offsets.host[B])+Ee:Number(e.offsets.host[B])+Number(e.offsets.host[w]-Ee)}else ce=Number(e.offsets.host[B])+Number(e.offsets.host[w]/2-ut/2);let ye=ce-(s[B]??0)-Yt-Wt;return ye=Math.max(Math.min(s[w]-(ut+5),ye),0),e.offsets.arrow={[B]:Math.round(ye),[W]:""},e.instance.arrow=i,e}function rt(e){if(e.offsets.target=it(e.offsets.target),!Pt(e.options,"flip"))return e.offsets.target={...e.offsets.target,...jt(e.instance.target,e.offsets.host,e.placement)},e;const s=qt(e.instance.target,e.instance.host,0,"viewport",!1);let i=e.placement.split(" ")[0],o=e.placement.split(" ")[1]||"";const W=ht("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),H=[i,W];return H.forEach(((ut,St)=>{if(i!==ut||H.length===St+1)return;i=e.placement.split(" ")[0];const zt="left"===i&&Math.floor(e.offsets.target.right??0)>Math.floor(e.offsets.host.left??0)||"right"===i&&Math.floor(e.offsets.target.left??0)<Math.floor(e.offsets.host.right??0)||"top"===i&&Math.floor(e.offsets.target.bottom??0)>Math.floor(e.offsets.host.top??0)||"bottom"===i&&Math.floor(e.offsets.target.top??0)<Math.floor(e.offsets.host.bottom??0),Yt=Math.floor(e.offsets.target.left??0)<Math.floor(s.left??0),Wt=Math.floor(e.offsets.target.right??0)>Math.floor(s.right??0),ce=Math.floor(e.offsets.target.top??0)<Math.floor(s.top??0),ye=Math.floor(e.offsets.target.bottom??0)>Math.floor(s.bottom??0),Ie="left"===i&&Yt||"right"===i&&Wt||"top"===i&&ce||"bottom"===i&&ye,Ee=-1!==["top","bottom"].indexOf(i),Ke=Ee&&"left"===o&&Yt||Ee&&"right"===o&&Wt||!Ee&&"left"===o&&ce||!Ee&&"right"===o&&ye;(zt||Ie||Ke)&&((zt||Ie)&&(i=H[St+1]),Ke&&(o=function Bt(e){return"right"===e?"left":"left"===e?"right":e}(o)),e.placement=i+(o?` ${o}`:""),e.offsets.target={...e.offsets.target,...jt(e.instance.target,e.offsets.host,e.placement)})})),e}function P(e){if(!Pt(e.options,"preventOverflow"))return e;const s="transform",i=e.instance.target.style,{top:o,left:w,[s]:A}=i;i.top="",i.left="",i[s]="";const B=qt(e.instance.target,e.instance.host,0,e.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);i.top=o,i.left=w,i[s]=A;const H={primary(ut){let St=e.offsets.target[ut];return(e.offsets.target[ut]??0)<(B[ut]??0)&&(St=Math.max(e.offsets.target[ut]??0,B[ut]??0)),{[ut]:St}},secondary(ut){const St="right"===ut,zt=St?"left":"top";let Wt=e.offsets.target[zt];return(e.offsets.target[ut]??0)>(B[ut]??0)&&(Wt=Math.min(e.offsets.target[zt]??0,(B[ut]??0)-e.offsets.target[St?"width":"height"])),{[zt]:Wt}}};return["left","right","top","bottom"].forEach((ut=>{const St=-1!==["left","top","start"].indexOf(ut)?H.primary:H.secondary;e.offsets.target={...e.offsets.target,...St(ut)}})),e}function ft(e){const s=e.placement,i=s.split(" ")[0],o=s.split(" ")[1];if(o){const{host:w,target:A}=e.offsets,B=-1!==["bottom","top"].indexOf(i),W=B?"left":"top",H=B?"width":"height",ut={start:{[W]:w[W]},end:{[W]:(w[W]??0)+w[H]-A[H]}};e.offsets.target={...A,[W]:W===o?ut.start[W]:ut.end[W]}}return e}const Xt=new class Et{position(s,i){return this.offset(s,i)}offset(s,i){return ct(i,s)}positionElements(s,i,o,w,A){const B=[rt,ft,P,Dt],H=function g(e,s,i,o){if(!e||!s)return;const w=ct(e,s);!i.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!i.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(i="auto");const A=!!i.match(/auto/g);let B=i.match(/auto\s(left|right|top|bottom|start|end)/)?i.split(" ")[1]||"auto":i;const W=B.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return W&&(B=W[1]+(W[2]?` ${W[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(B)&&(B="auto"),B=ht(B,w,e,s,o?o.allowedPositions:void 0),{options:o||{modifiers:{}},instance:{target:e,host:s,arrow:void 0},offsets:{target:jt(e,w,B),host:w,arrow:void 0},positionFixed:!1,placement:B,placementAuto:A}}(i,s,Ae[o],A);if(H)return B.reduce(((ut,St)=>St(ut)),H)}};function At(e,s,i,o,w,A){const B=Xt.positionElements(e,s,i,o,w);if(!B)return;const W=function tt(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left??0),top:Math.round(e.offsets.target.top??0),bottom:Math.round(e.offsets.target.bottom??0),right:Math.floor(e.offsets.target.right??0)}}(B);$t(s,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${W.left}px, ${W.top}px, 0px)`},A),B.instance.arrow&&$t(B.instance.arrow,B.offsets.arrow,A),function ie(e,s){const i=e.instance.target;let o=i.className;const w=r().isBs5?Oe[e.placement]:e.placement;e.placementAuto&&(o=o.replace(/bs-popover-auto/g,`bs-popover-${w}`),o=o.replace(/ms-2|me-2|mb-2|mt-2/g,""),o=o.replace(/bs-tooltip-auto/g,`bs-tooltip-${w}`),o=o.replace(/\sauto/g,` ${w}`),-1!==o.indexOf("popover")&&(o=o+" "+function Ot(e){return r().isBs5?dt(e,"end")?"ms-2":dt(e,"start")?"me-2":dt(e,"top")?"mb-2":dt(e,"bottom")?"mt-2":"":""}(w)),-1!==o.indexOf("popover")&&-1===o.indexOf("popover-auto")&&(o+=" popover-auto"),-1!==o.indexOf("tooltip")&&-1===o.indexOf("tooltip-auto")&&(o+=" tooltip-auto")),o=o.replace(/left|right|top|bottom|end|start/g,`${w.split(" ")[0]}`),s?s.setAttribute(i,"class",o):i.className=o}(B,A)}let ue=(()=>{class e{constructor(i,o,w){this.update$$=new lt.B,this.positionElements=new Map,this.isDisabled=!1,(0,Lt.UE)(w)&&i.runOutsideAngular((()=>{this.triggerEvent$=function oe(...e){const s=(0,Jt.lI)(e),i=(0,Jt.R0)(e,1/0),o=e;return o.length?1===o.length?(0,Zt.Tg)(o[0]):(0,It.U)(i)((0,ee.H)(o,s)):Ut.w}(ve(window,"scroll",{passive:!0}),ve(window,"resize",{passive:!0}),(0,xe.of)(0,Fe),this.update$$),this.triggerEvent$.subscribe((()=>{this.isDisabled||this.positionElements.forEach((A=>{At(ae(A.target),ae(A.element),A.attachment,A.appendToBody,this.options,o.createRenderer(null,null))}))}))}))}position(i){this.addPositionElement(i)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(i){this.positionElements.set(ae(i.element),i)}calcPosition(){this.update$$.next(null)}deletePositionElement(i){this.positionElements.delete(ae(i))}setOptions(i){this.options=i}static#t=this.ɵfac=function(o){return new(o||e)(t.KVO(t.SKi),t.KVO(t._9s),t.KVO(t.Agw))};static#e=this.ɵprov=t.jDH({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function ae(e){return"string"==typeof e?document.querySelector(e):e instanceof t.aKT?e.nativeElement:e??null}class se{constructor(s,i,o){this.nodes=s,this.viewRef=i,this.componentRef=o}}class X{constructor(s,i,o,w,A,B,W,H,ut){this._viewContainerRef=s,this._renderer=i,this._elementRef=o,this._injector=w,this._componentFactoryResolver=A,this._ngZone=B,this._applicationRef=W,this._posService=H,this._document=ut,this.onBeforeShow=new t.bkB,this.onShown=new t.bkB,this.onBeforeHide=new t.bkB,this.onHidden=new t.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(s){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(s),this}to(s){return this.container=s||this.container,this}position(s){return s?(this.attachment=s.attachment||this.attachment,this._elementRef=s.target||this._elementRef,this):this}provide(s){return this._providers.push(s),this}show(s={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(s.content,s.context,s.initialState);const i=t.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(i,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,s),this.container instanceof t.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const o=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!o)return;o.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(s.id?{id:s.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(s){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const i=this._componentRef.location.nativeElement;return i.parentNode?.removeChild(i),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(s?{id:s}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(s){this.triggers=s.triggers||this.triggers,this._listenOpts.outsideClick=s.outsideClick,this._listenOpts.outsideEsc=s.outsideEsc,s.target=s.target||this._elementRef?.nativeElement;const i=this._listenOpts.hide=()=>s.hide?s.hide():void this.hide(),o=this._listenOpts.show=A=>{s.show?s.show(A):this.show(A),A()};return this._renderer&&(this._unregisterListenersFn=function O(e,s){const i=function h(e,s=f){const i=(e||"").trim();if(0===i.length)return[];const o=i.split(/\s+/).map((A=>A.split(":"))).map((A=>{const B=s[A[0]]||A;return new m(B[0],B[1])})),w=o.filter((A=>A.isManual()));if(w.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===w.length&&o.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return o}(s.triggers),o=s.target;if(1===i.length&&i[0].isManual())return Function.prototype;const w=[],A=[],B=()=>{A.forEach((W=>w.push(W()))),A.length=0};return i.forEach((W=>{const H=W.open===W.close,ut=H?s.toggle:s.show;if(!H&&W.close&&s.hide){const St=W.close,zt=s.hide;A.push((()=>e.listen(o,St,zt)))}ut&&w.push(e.listen(o,W.open,(()=>ut(B))))})),()=>{w.forEach((W=>W()))}}(this._renderer,{target:s.target,triggers:s.triggers,show:o,hide:i,toggle:A=>{this.isShown?i():o(A)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(s,i){return s&&i&&(this._inlineViewRef=s.createEmbeddedView(i)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let s=Function.prototype,i=Function.prototype;if(this._listenOpts.outsideClick){const o=this._componentRef.location.nativeElement;setTimeout((()=>{this._renderer&&this._elementRef&&(s=function p(e,s){return s.outsideClick?e.listen("document","click",(i=>{s.target&&s.target.contains(i.target)||s.targets&&s.targets.some((o=>o.contains(i.target)))||s.hide&&s.hide()})):Function.prototype}(this._renderer,{targets:[o,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}))}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(i=function y(e,s){return s.outsideEsc?e.listen("document","keyup.esc",(i=>{s.target&&s.target.contains(i.target)||s.targets&&s.targets.some((o=>o.contains(i.target)))||s.hide&&s.hide()})):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{s(),i()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe((()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((()=>{this._componentRef&&this._posService.calcPosition()})))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(s,i,o){if(!s)return new se([]);if(s instanceof t.C4Q){if(this._viewContainerRef){const B=this._viewContainerRef.createEmbeddedView(s,i);return B.markForCheck(),new se([B.rootNodes],B)}const A=s.createEmbeddedView({});return this._applicationRef.attachView(A),new se([A.rootNodes],A)}if("function"==typeof s){const A=this._componentFactoryResolver.resolveComponentFactory(s),B=t.zZn.create({providers:this._providers,parent:this._injector}),W=A.create(B);return Object.assign(W.instance,o),this._applicationRef.attachView(W.hostView),new se([[W.location.nativeElement]],W.hostView,W)}const w=this._renderer?[this._renderer.createText(`${s}`)]:[];return new se([w])}}let V=(()=>{class e{constructor(i,o,w,A,B,W){this._componentFactoryResolver=i,this._ngZone=o,this._injector=w,this._posService=A,this._applicationRef=B,this._document=W}createLoader(i,o,w){return new X(o,w,i,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#t=this.ɵfac=function(o){return new(o||e)(t.KVO(t.OM3),t.KVO(t.SKi),t.KVO(t.zZn),t.KVO(ue),t.KVO(t.o8S),t.KVO(Lt.qQ))};static#e=this.ɵprov=t.jDH({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();var M=n(9969);const $=["*"],_t=e=>({dropdown:e});let Tt=(()=>{class e{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static#t=this.ɵfac=function(o){return new(o||e)};static#e=this.ɵprov=t.jDH({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),ot=(()=>{class e{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new t.bkB,this.isDisabledChange=new t.bkB,this.toggleClick=new t.bkB,this.counts=0,this.dropdownMenu=new Promise((i=>{this.resolveDropdownMenu=i}))}static#t=this.ɵfac=function(o){return new(o||e)};static#e=this.ɵprov=t.jDH({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})();const Ct=[(0,M.iF)({height:0,overflow:"hidden"}),(0,M.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,M.iF)({height:"*",overflow:"hidden"}))];let Rt=(()=>{class e{get direction(){return this._state.direction}constructor(i,o,w,A,B){this._state=i,this.cd=o,this._renderer=w,this._element=A,this.isOpen=!1,this._factoryDropDownAnimation=B.build(Ct),this._subscription=i.isOpenChange.subscribe((W=>{this.isOpen=W;const H=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),H&&(this._renderer.addClass(H,"show"),(H.classList.contains("dropdown-menu-right")||H.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(H,"left","auto"),this._renderer.setStyle(H,"right","0")),"up"===this.direction&&(this._renderer.setStyle(H,"top","auto"),this._renderer.setStyle(H,"transform","translateY(-101%)"))),H&&this._state.isAnimated&&this._factoryDropDownAnimation.create(H).play(),this.cd.markForCheck(),this.cd.detectChanges()}))}_contains(i){return this._element.nativeElement.contains(i)}ngOnDestroy(){this._subscription.unsubscribe()}static#t=this.ɵfac=function(o){return new(o||e)(t.rXU(ot),t.rXU(t.gRc),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(M.S6))};static#e=this.ɵcmp=t.VBU({type:e,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:$,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(o,w){1&o&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.k0s()),2&o&&(t.AVh("dropup","up"===w.direction)("show",w.isOpen)("open",w.isOpen),t.Y8G("ngClass",t.eq3(7,_t,"down"===w.direction)))},dependencies:[Lt.YU],encapsulation:2,changeDetection:0})}return e})(),Ft=(()=>{class e{set autoClose(i){this._state.autoClose=i}get autoClose(){return this._state.autoClose}set isAnimated(i){this._state.isAnimated=i}get isAnimated(){return this._state.isAnimated}set insideClick(i){this._state.insideClick=i}get insideClick(){return this._state.insideClick}set isDisabled(i){this._isDisabled=i,this._state.isDisabledChange.emit(i),i&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(i){i?this.show():this.hide()}get _showInline(){return!this.container}constructor(i,o,w,A,B,W,H){this._elementRef=i,this._renderer=o,this._viewContainerRef=w,this._cis=A,this._state=B,this._config=W,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=H.build(Ct),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:ot,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe((i=>this.toggle(i)))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,a.p)((i=>i))).subscribe((()=>this.hide()))))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then((i=>{this._dropdown.attachInline(i.viewContainer,i.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then((i=>{const o=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=o?"up":"down";const w=this.placement||(o?"top start":"bottom start");this._dropdown.attach(Rt).to(this.container).position({attachment:w}).show({content:i.templateRef,placement:w}),this._state.isOpenChange.emit(!0)})).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(i){return this.isOpen||!i?this.hide():this.show()}_contains(i){return this._elementRef.nativeElement.contains(i.target)||this._dropdown.instance&&this._dropdown.instance._contains(i.target)}navigationClick(i){const o=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!o)return;const w=this._elementRef.nativeElement.ownerDocument.activeElement,A=o.querySelectorAll(".dropdown-item");switch(i.keyCode){case 38:this._state.counts>0&&A[--this._state.counts].focus();break;case 40:this._state.counts+1<A.length&&(w.classList!==A[this._state.counts].classList?A[this._state.counts].focus():A[++this._state.counts].focus())}i.preventDefault()}ngOnDestroy(){for(const i of this._subscriptions)i.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles()}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout((()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()}))}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const i=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",i?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",i?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static#t=this.ɵfac=function(o){return new(o||e)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(V),t.rXU(ot),t.rXU(Tt),t.rXU(M.S6))};static#e=this.ɵdir=t.FsC({type:e,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(o,w){1&o&&t.bIt("keydown.arrowDown",(function(B){return w.navigationClick(B)}))("keydown.arrowUp",(function(B){return w.navigationClick(B)})),2&o&&t.AVh("dropup",w.dropup)("open",w.isOpen)("show",w.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[t.Jv_([ot])]})}return e})(),Ht=(()=>{class e{constructor(i,o,w){i.resolveDropdownMenu({templateRef:w,viewContainer:o})}static#t=this.ɵfac=function(o){return new(o||e)(t.rXU(ot),t.rXU(t.c1b),t.rXU(t.C4Q))};static#e=this.ɵdir=t.FsC({type:e,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]})}return e})(),de=(()=>{class e{constructor(i,o,w,A,B){this._changeDetectorRef=i,this._dropdown=o,this._element=w,this._renderer=A,this._state=B,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((W=>{this.isOpen=W,W?(this._documentClickListener=this._renderer.listen("document","click",(H=>{this._state.autoClose&&2!==H.button&&!this._element.nativeElement.contains(H.target)&&(!this._state.insideClick||!this._dropdown._contains(H))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",(()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}))):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((W=>this.isDisabled=W||void 0)))}onClick(i){this._state.stopOnClickPropagation&&i.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const i of this._subscriptions)i.unsubscribe()}static#t=this.ɵfac=function(o){return new(o||e)(t.rXU(t.gRc),t.rXU(Ft),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(ot))};static#e=this.ɵdir=t.FsC({type:e,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(o,w){1&o&&t.bIt("click",(function(B){return w.onClick(B)})),2&o&&t.BMQ("aria-haspopup",!0)("disabled",w.isDisabled)("aria-expanded",w.isOpen)},exportAs:["bs-dropdown-toggle"]})}return e})(),le=(()=>{class e{static forRoot(){return{ngModule:e,providers:[V,ue,ot]}}static#t=this.ɵfac=function(o){return new(o||e)};static#e=this.ɵmod=t.$C({type:e});static#n=this.ɵinj=t.G2t({imports:[Lt.MD]})}return e})()},3400:(G,b,n)=>{n.d(b,{eK:()=>z,x6:()=>nt});var t=n(3953),a=n(9417),m=n(177);const f=(K,Y)=>({"pull-left":K,"float-left":Y}),h=(K,Y)=>({"pull-right":K,"float-right":Y}),T=(K,Y)=>({disabled:K,currentPage:Y}),O=(K,Y,l)=>({disabled:K,$implicit:Y,currentPage:l});function p(K,Y){if(1&K){const l=t.RV6();t.j41(0,"li",11)(1,"a",12),t.bIt("click",(function(r){t.eBV(l);const C=t.XpG();return t.Njj(C.selectPage(1,r))})),t.eu8(2,13),t.k0s()()}if(2&K){const l=t.XpG(),F=t.sdS(13);t.AVh("disabled",l.noPrevious()||l.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",l.customFirstTemplate||F)("ngTemplateOutletContext",t.l_i(4,T,l.noPrevious()||l.disabled,l.page))}}function y(K,Y){if(1&K){const l=t.RV6();t.j41(0,"li",14)(1,"a",12),t.bIt("click",(function(r){t.eBV(l);const C=t.XpG();return t.Njj(C.selectPage(C.page-1,r))})),t.eu8(2,13),t.k0s()()}if(2&K){const l=t.XpG(),F=t.sdS(11);t.AVh("disabled",l.noPrevious()||l.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",l.customPreviousTemplate||F)("ngTemplateOutletContext",t.l_i(4,T,l.noPrevious()||l.disabled,l.page))}}function d(K,Y){if(1&K){const l=t.RV6();t.j41(0,"li",15)(1,"a",12),t.bIt("click",(function(r){const C=t.eBV(l).$implicit,I=t.XpG();return t.Njj(I.selectPage(C.number,r))})),t.eu8(2,13),t.k0s()()}if(2&K){const l=Y.$implicit,F=t.XpG(),r=t.sdS(7);t.AVh("active",l.active)("disabled",F.disabled&&!l.active),t.R7$(2),t.Y8G("ngTemplateOutlet",F.customPageTemplate||r)("ngTemplateOutletContext",t.sMw(6,O,F.disabled,l,F.page))}}function v(K,Y){if(1&K){const l=t.RV6();t.j41(0,"li",16)(1,"a",12),t.bIt("click",(function(r){t.eBV(l);const C=t.XpG();return t.Njj(C.selectPage(C.page+1,r))})),t.eu8(2,13),t.k0s()()}if(2&K){const l=t.XpG(),F=t.sdS(9);t.AVh("disabled",l.noNext()||l.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",l.customNextTemplate||F)("ngTemplateOutletContext",t.l_i(4,T,l.noNext()||l.disabled,l.page))}}function c(K,Y){if(1&K){const l=t.RV6();t.j41(0,"li",17)(1,"a",12),t.bIt("click",(function(r){t.eBV(l);const C=t.XpG();return t.Njj(C.selectPage(C.totalPages,r))})),t.eu8(2,13),t.k0s()()}if(2&K){const l=t.XpG(),F=t.sdS(15);t.AVh("disabled",l.noNext()||l.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",l.customLastTemplate||F)("ngTemplateOutletContext",t.l_i(4,T,l.noNext()||l.disabled,l.page))}}function U(K,Y){1&K&&t.EFF(0),2&K&&t.JRh(Y.$implicit.text)}function R(K,Y){if(1&K&&t.EFF(0),2&K){const l=t.XpG();t.JRh(l.getText("next"))}}function N(K,Y){if(1&K&&t.EFF(0),2&K){const l=t.XpG();t.JRh(l.getText("previous"))}}function j(K,Y){if(1&K&&t.EFF(0),2&K){const l=t.XpG();t.JRh(l.getText("first"))}}function et(K,Y){if(1&K&&t.EFF(0),2&K){const l=t.XpG();t.JRh(l.getText("last"))}}let gt=(()=>{class K{constructor(){this.main={itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"« Previous",nextText:"Next »",pageBtnClass:"",align:!0}}static#t=this.ɵfac=function(F){return new(F||K)};static#e=this.ɵprov=t.jDH({token:K,factory:K.ɵfac,providedIn:"root"})}return K})();const mt={provide:a.kq,useExisting:(0,t.Rfq)((()=>Kt)),multi:!0};let Kt=(()=>{class K{constructor(l,F,r){this.elementRef=l,this.changeDetection=r,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="« Previous",this.nextText="Next »",this.lastText="Last",this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new t.bkB,this.pageChanged=new t.bkB,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=15,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=l,this.config||this.configureOptions(Object.assign({},F.main,F.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const F=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(F===this._page||typeof F>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,F){F&&F.preventDefault(),this.disabled||(F&&F.target&&F.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,F,r){return{text:F,number:l,active:r}}getPages(l,F){const r=[];let C=1,I=F;const D=typeof this.maxSize<"u"&&this.maxSize<F;D&&this.maxSize&&(this.rotate?(C=Math.max(l-Math.floor(this.maxSize/2),1),I=C+this.maxSize-1,I>F&&(I=F,C=I-this.maxSize+1)):(C=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,I=Math.min(C+this.maxSize-1,F)));for(let k=C;k<=I;k++){const L=this.makePage(k,k.toString(),k===l);r.push(L)}if(D&&!this.rotate){if(C>1){const k=this.makePage(C-1,"...",!1);r.unshift(k)}if(I<F){const k=this.makePage(I+1,"...",!1);r.push(k)}}return r}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}static#t=this.ɵfac=function(F){return new(F||K)(t.rXU(t.aKT),t.rXU(gt),t.rXU(t.gRc))};static#e=this.ɵcmp=t.VBU({type:K,selectors:[["pager"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[t.Jv_([mt])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(F,r){1&F&&(t.j41(0,"ul",0)(1,"li",1)(2,"a",2),t.bIt("click",(function(I){return r.selectPage(r.page-1,I)})),t.EFF(3),t.k0s()(),t.j41(4,"li",1)(5,"a",2),t.bIt("click",(function(I){return r.selectPage(r.page+1,I)})),t.EFF(6),t.k0s()()()),2&F&&(t.R7$(),t.HbH(r.pageBtnClass),t.AVh("disabled",r.noPrevious())("previous",r.align),t.Y8G("ngClass",t.l_i(18,f,r.align,r.align)),t.R7$(2),t.JRh(r.getText("previous")),t.R7$(),t.HbH(r.pageBtnClass),t.AVh("disabled",r.noNext())("next",r.align),t.Y8G("ngClass",t.l_i(21,h,r.align,r.align)),t.R7$(2),t.JRh(r.getText("next")))},dependencies:[m.YU],encapsulation:2})}return K})();const q={provide:a.kq,useExisting:(0,t.Rfq)((()=>z)),multi:!0};let z=(()=>{class K{constructor(l,F,r){this.elementRef=l,this.changeDetection=r,this.align=!0,this.boundaryLinks=!1,this.directionLinks=!0,this.rotate=!0,this.pageBtnClass="",this.disabled=!1,this.numPages=new t.bkB,this.pageChanged=new t.bkB,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.classMap="",this.inited=!1,this._itemsPerPage=10,this._totalItems=0,this._totalPages=0,this._page=1,this.elementRef=l,this.config||this.configureOptions(F.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(l){this._itemsPerPage=l,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(l){this._totalItems=l,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(l){this._totalPages=l,this.numPages.emit(l),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(l){const F=this._page;this._page=l>this.totalPages?this.totalPages:l||1,this.changeDetection.markForCheck(),!(F===this._page||typeof F>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(l){this.config=Object.assign({},l)}ngOnInit(){typeof window<"u"&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),typeof this.maxSize>"u"&&(this.maxSize=this.config?.maxSize||0),typeof this.rotate>"u"&&(this.rotate=!!this.config?.rotate),typeof this.boundaryLinks>"u"&&(this.boundaryLinks=!!this.config?.boundaryLinks),typeof this.directionLinks>"u"&&(this.directionLinks=!!this.config?.directionLinks),typeof this.pageBtnClass>"u"&&(this.pageBtnClass=this.config?.pageBtnClass||""),typeof this.itemsPerPage>"u"&&(this.itemsPerPage=this.config?.itemsPerPage||0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(l){this.page=l,this.pages=this.getPages(this.page,this.totalPages)}getText(l){return this[`${l}Text`]||this.config[`${l}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}selectPage(l,F){F&&F.preventDefault(),this.disabled||(F&&F.target&&F.target.blur(),this.writeValue(l),this.onChange(this.page))}makePage(l,F,r){return{text:F,number:l,active:r}}getPages(l,F){const r=[];let C=1,I=F;const D=typeof this.maxSize<"u"&&this.maxSize<F;D&&this.maxSize&&(this.rotate?(C=Math.max(l-Math.floor(this.maxSize/2),1),I=C+this.maxSize-1,I>F&&(I=F,C=I-this.maxSize+1)):(C=(Math.ceil(l/this.maxSize)-1)*this.maxSize+1,I=Math.min(C+this.maxSize-1,F)));for(let k=C;k<=I;k++){const L=this.makePage(k,k.toString(),k===l);r.push(L)}if(D&&!this.rotate){if(C>1){const k=this.makePage(C-1,"...",!1);r.unshift(k)}if(I<F){const k=this.makePage(I+1,"...",!1);r.push(k)}}return r}calculateTotalPages(){const l=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(l||0,1)}static#t=this.ɵfac=function(F){return new(F||K)(t.rXU(t.aKT),t.rXU(gt),t.rXU(t.gRc))};static#e=this.ɵcmp=t.VBU({type:K,selectors:[["pagination"]],inputs:{align:"align",maxSize:"maxSize",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",rotate:"rotate",pageBtnClass:"pageBtnClass",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate",itemsPerPage:"itemsPerPage",totalItems:"totalItems"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[t.Jv_([q])],decls:16,vars:6,consts:[["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(F,r){1&F&&(t.j41(0,"ul",5),t.DNE(1,p,3,7,"li",6)(2,y,3,7,"li",7)(3,d,3,10,"li",8)(4,v,3,7,"li",9)(5,c,3,7,"li",10),t.k0s(),t.DNE(6,U,1,1,"ng-template",null,0,t.C5r)(8,R,1,1,"ng-template",null,1,t.C5r)(10,N,1,1,"ng-template",null,2,t.C5r)(12,j,1,1,"ng-template",null,3,t.C5r)(14,et,1,1,"ng-template",null,4,t.C5r)),2&F&&(t.Y8G("ngClass",r.classMap),t.R7$(),t.Y8G("ngIf",r.boundaryLinks),t.R7$(),t.Y8G("ngIf",r.directionLinks),t.R7$(),t.Y8G("ngForOf",r.pages),t.R7$(),t.Y8G("ngIf",r.directionLinks),t.R7$(),t.Y8G("ngIf",r.boundaryLinks))},dependencies:[m.YU,m.Sq,m.bT,m.T3],encapsulation:2})}return K})(),nt=(()=>{class K{static forRoot(){return{ngModule:K,providers:[]}}static#t=this.ɵfac=function(F){return new(F||K)};static#e=this.ɵmod=t.$C({type:K});static#n=this.ɵinj=t.G2t({imports:[m.MD]})}return K})()}}]);
Back to Directory File Manager