Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/nginx-manager/vendor-89d5c698.min.js

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