Viewing File: /usr/local/cpanel/base/frontend/jupiter/account-preferences/vendor-89d5c698.802a6183eb3f97b1.js

"use strict";(self.webpackChunkaccount_preferences=self.webpackChunkaccount_preferences||[]).push([[538],{9660:(Ce,V,l)=>{l.r(V),l.d(V,{decode:()=>ve,default:()=>U,encode:()=>T,toASCII:()=>v,toUnicode:()=>ne,ucs2decode:()=>ye,ucs2encode:()=>de});const t=2147483647,m=36,f=/^xn--/,b=/[^\0-\x7E]/,w=/[\x2E\u3002\uFF0E\uFF61]/g,z={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=Math.floor,y=String.fromCharCode;function X(P){throw new RangeError(z[P])}function Q(P,$){const W=P.split("@");let me="";W.length>1&&(me=W[0]+"@",P=W[1]);const ee=function _e(P,$){const W=[];let me=P.length;for(;me--;)W[me]=$(P[me]);return W}((P=P.replace(w,".")).split("."),$).join(".");return me+ee}function ye(P){const $=[];let W=0;const me=P.length;for(;W<me;){const oe=P.charCodeAt(W++);if(oe>=55296&&oe<=56319&&W<me){const ee=P.charCodeAt(W++);56320==(64512&ee)?$.push(((1023&oe)<<10)+(1023&ee)+65536):($.push(oe),W--)}else $.push(oe)}return $}const de=P=>String.fromCodePoint(...P),Z=function(P){return P-48<10?P-22:P-65<26?P-65:P-97<26?P-97:m},ke=function(P,$){return P+22+75*(P<26)-((0!=$)<<5)},S=function(P,$,W){let me=0;for(P=W?k(P/700):P>>1,P+=k(P/$);P>455;me+=m)P=k(P/35);return k(me+36*P/(P+38))},ve=function(P){const $=[],W=P.length;let me=0,oe=128,ee=72,I=P.lastIndexOf("-");I<0&&(I=0);for(let ce=0;ce<I;++ce)P.charCodeAt(ce)>=128&&X("not-basic"),$.push(P.charCodeAt(ce));for(let ce=I>0?I+1:0;ce<W;){let Oe=me;for(let st=1,rt=m;;rt+=m){ce>=W&&X("invalid-input");const Me=Z(P.charCodeAt(ce++));(Me>=m||Me>k((t-me)/st))&&X("overflow"),me+=Me*st;const wt=rt<=ee?1:rt>=ee+26?26:rt-ee;if(Me<wt)break;const Pt=m-wt;st>k(t/Pt)&&X("overflow"),st*=Pt}const Be=$.length+1;ee=S(me-Oe,Be,0==Oe),k(me/Be)>t-oe&&X("overflow"),oe+=k(me/Be),me%=Be,$.splice(me++,0,oe)}return String.fromCodePoint(...$)},T=function(P){const $=[];let W=(P=ye(P)).length,me=128,oe=0,ee=72;for(const Oe of P)Oe<128&&$.push(y(Oe));let I=$.length,ce=I;for(I&&$.push("-");ce<W;){let Oe=t;for(const st of P)st>=me&&st<Oe&&(Oe=st);const Be=ce+1;Oe-me>k((t-oe)/Be)&&X("overflow"),oe+=(Oe-me)*Be,me=Oe;for(const st of P)if(st<me&&++oe>t&&X("overflow"),st==me){let rt=oe;for(let Me=m;;Me+=m){const wt=Me<=ee?1:Me>=ee+26?26:Me-ee;if(rt<wt)break;const Pt=rt-wt,Dt=m-wt;$.push(y(ke(wt+Pt%Dt,0))),rt=k(Pt/Dt)}$.push(y(ke(rt,0))),ee=S(oe,Be,ce==I),oe=0,++ce}++oe,++me}return $.join("")},ne=function(P){return Q(P,function($){return f.test($)?ve($.slice(4).toLowerCase()):$})},v=function(P){return Q(P,function($){return b.test($)?"xn--"+T($):$})},U={version:"2.1.0",ucs2:{decode:ye,encode:de},decode:ve,encode:T,toASCII:v,toUnicode:ne}},4412:(Ce,V,l)=>{l.d(V,{t:()=>m});var t=l(1413);class m extends t.B{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const L=super._subscribe(Y);return!L.closed&&Y.next(this._value),L}getValue(){const{hasError:Y,thrownError:L,_value:J}=this;if(Y)throw L;return this._throwIfClosed(),J}next(Y){super.next(this._value=Y)}}},4226:(Ce,V,l)=>{l.d(V,{c:()=>f});var t=l(7707),m=l(8359),x=l(3494),Y=l(3669);var H=l(1026),te=l(8071),A=l(9786);let f=(()=>{class C{constructor(y){y&&(this._subscribe=y)}lift(y){const X=new C;return X.source=this,X.operator=y,X}subscribe(y,X,_e){const Q=function z(C){return C&&C instanceof t.vU||function w(C){return C&&(0,te.T)(C.next)&&(0,te.T)(C.error)&&(0,te.T)(C.complete)}(C)&&(0,m.Uv)(C)}(y)?y:new t.Ms(y,X,_e);return(0,A.Y)(()=>{const{operator:ye,source:de}=this;Q.add(ye?ye.call(Q,de):de?this._subscribe(Q):this._trySubscribe(Q))}),Q}_trySubscribe(y){try{return this._subscribe(y)}catch(X){y.error(X)}}forEach(y,X){return new(X=b(X))((_e,Q)=>{const ye=new t.Ms({next:de=>{try{y(de)}catch(Z){Q(Z),ye.unsubscribe()}},error:Q,complete:_e});this.subscribe(ye)})}_subscribe(y){var X;return null===(X=this.source)||void 0===X?void 0:X.subscribe(y)}[x.s](){return this}pipe(...y){return function J(C){return 0===C.length?Y.D:1===C.length?C[0]:function(y){return C.reduce((X,_e)=>_e(X),y)}}(y)(this)}toPromise(y){return new(y=b(y))((X,_e)=>{let Q;this.subscribe(ye=>Q=ye,ye=>_e(ye),()=>X(Q))})}}return C.create=k=>new C(k),C})();function b(C){var k;return null!==(k=C??H.$.Promise)&&void 0!==k?k:Promise}},1413:(Ce,V,l)=>{l.d(V,{B:()=>H});var t=l(4226),m=l(8359);const Y=(0,l(1853).L)(A=>function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var L=l(7908),J=l(9786);let H=(()=>{class A 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 w=new te(this,this);return w.operator=b,w}_throwIfClosed(){if(this.closed)throw new Y}next(b){(0,J.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const w of this.currentObservers)w.next(b)}})}error(b){(0,J.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=b;const{observers:w}=this;for(;w.length;)w.shift().error(b)}})}complete(){(0,J.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:w,isStopped:z,observers:C}=this;return w||z?m.Kn:(this.currentObservers=null,C.push(b),new m.yU(()=>{this.currentObservers=null,(0,L.o)(C,b)}))}_checkFinalizedStatuses(b){const{hasError:w,thrownError:z,isStopped:C}=this;w?b.error(z):C&&b.complete()}asObservable(){const b=new t.c;return b.source=this,b}}return A.create=(f,b)=>new te(f,b),A})();class te extends H{constructor(f,b){super(),this.destination=f,this.source=b}next(f){var b,w;null===(w=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===w||w.call(b,f)}error(f){var b,w;null===(w=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===w||w.call(b,f)}complete(){var f,b;null===(b=null===(f=this.destination)||void 0===f?void 0:f.complete)||void 0===b||b.call(f)}_subscribe(f){var b,w;return null!==(w=null===(b=this.source)||void 0===b?void 0:b.subscribe(f))&&void 0!==w?w:m.Kn}}},7707:(Ce,V,l)=>{l.d(V,{Ms:()=>y,vU:()=>w});var t=l(8071),m=l(8359),x=l(1026),Y=l(5334),L=l(5343);const J=A("C",void 0,void 0);function A(de,Z,ke){return{kind:de,value:Z,error:ke}}var f=l(9270),b=l(9786);class w extends m.yU{constructor(Z){super(),this.isStopped=!1,Z?(this.destination=Z,(0,m.Uv)(Z)&&Z.add(this)):this.destination=ye}static create(Z,ke,S){return new y(Z,ke,S)}next(Z){this.isStopped?Q(function te(de){return A("N",de,void 0)}(Z),this):this._next(Z)}error(Z){this.isStopped?Q(function H(de){return A("E",void 0,de)}(Z),this):(this.isStopped=!0,this._error(Z))}complete(){this.isStopped?Q(J,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Z){this.destination.next(Z)}_error(Z){try{this.destination.error(Z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const z=Function.prototype.bind;function C(de,Z){return z.call(de,Z)}class k{constructor(Z){this.partialObserver=Z}next(Z){const{partialObserver:ke}=this;if(ke.next)try{ke.next(Z)}catch(S){X(S)}}error(Z){const{partialObserver:ke}=this;if(ke.error)try{ke.error(Z)}catch(S){X(S)}else X(Z)}complete(){const{partialObserver:Z}=this;if(Z.complete)try{Z.complete()}catch(ke){X(ke)}}}class y extends w{constructor(Z,ke,S){let ve;if(super(),(0,t.T)(Z)||!Z)ve={next:Z??void 0,error:ke??void 0,complete:S??void 0};else{let T;this&&x.$.useDeprecatedNextContext?(T=Object.create(Z),T.unsubscribe=()=>this.unsubscribe(),ve={next:Z.next&&C(Z.next,T),error:Z.error&&C(Z.error,T),complete:Z.complete&&C(Z.complete,T)}):ve=Z}this.destination=new k(ve)}}function X(de){x.$.useDeprecatedSynchronousErrorHandling?(0,b.l)(de):(0,Y.m)(de)}function Q(de,Z){const{onStoppedNotification:ke}=x.$;ke&&f.f.setTimeout(()=>ke(de,Z))}const ye={closed:!0,next:L.l,error:function _e(de){throw de},complete:L.l}},8359:(Ce,V,l)=>{l.d(V,{Kn:()=>J,yU:()=>L,Uv:()=>H});var t=l(8071);const x=(0,l(1853).L)(A=>function(b){A(this),this.message=b?`${b.length} errors occurred during unsubscription:\n${b.map((w,z)=>`${z+1}) ${w.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=b});var Y=l(7908);class L{constructor(f){this.initialTeardown=f,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let f;if(!this.closed){this.closed=!0;const{_parentage:b}=this;if(b)if(this._parentage=null,Array.isArray(b))for(const C of b)C.remove(this);else b.remove(this);const{initialTeardown:w}=this;if((0,t.T)(w))try{w()}catch(C){f=C instanceof x?C.errors:[C]}const{_finalizers:z}=this;if(z){this._finalizers=null;for(const C of z)try{te(C)}catch(k){f=f??[],k instanceof x?f=[...f,...k.errors]:f.push(k)}}if(f)throw new x(f)}}add(f){var b;if(f&&f!==this)if(this.closed)te(f);else{if(f instanceof L){if(f.closed||f._hasParent(this))return;f._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(f)}}_hasParent(f){const{_parentage:b}=this;return b===f||Array.isArray(b)&&b.includes(f)}_addParent(f){const{_parentage:b}=this;this._parentage=Array.isArray(b)?(b.push(f),b):b?[b,f]:f}_removeParent(f){const{_parentage:b}=this;b===f?this._parentage=null:Array.isArray(b)&&(0,Y.o)(b,f)}remove(f){const{_finalizers:b}=this;b&&(0,Y.o)(b,f),f instanceof L&&f._removeParent(this)}}L.EMPTY=(()=>{const A=new L;return A.closed=!0,A})();const J=L.EMPTY;function H(A){return A instanceof L||A&&"closed"in A&&(0,t.T)(A.remove)&&(0,t.T)(A.add)&&(0,t.T)(A.unsubscribe)}function te(A){(0,t.T)(A)?A():A.unsubscribe()}},1026:(Ce,V,l)=>{l.d(V,{$:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},983:(Ce,V,l)=>{l.d(V,{w:()=>m});const m=new(l(4226).c)(L=>L.complete())},7468:(Ce,V,l)=>{l.d(V,{p:()=>te});var t=l(4226),m=l(3073),x=l(8750),Y=l(9326),L=l(4360),J=l(6450),H=l(8496);function te(...A){const f=(0,Y.ms)(A),{args:b,keys:w}=(0,m.D)(A),z=new t.c(C=>{const{length:k}=b;if(!k)return void C.complete();const y=new Array(k);let X=k,_e=k;for(let Q=0;Q<k;Q++){let ye=!1;(0,x.Tg)(b[Q]).subscribe((0,L._)(C,de=>{ye||(ye=!0,_e--),y[Q]=de},()=>X--,void 0,()=>{(!X||!ye)&&(_e||C.next(w?(0,H.e)(w,y):y),C.complete())}))}});return f?z.pipe((0,J.I)(f)):z}},2806:(Ce,V,l)=>{l.d(V,{H:()=>ke});var t=l(8750),m=l(941),x=l(9974);function Y(S,ve=0){return(0,x.N)((T,ne)=>{ne.add(S.schedule(()=>T.subscribe(ne),ve))})}var H=l(4226),A=l(4761),f=l(8071),b=l(5225);function z(S,ve){if(!S)throw new Error("Iterable cannot be null");return new H.c(T=>{(0,b.N)(T,ve,()=>{const ne=S[Symbol.asyncIterator]();(0,b.N)(T,ve,()=>{ne.next().then(v=>{v.done?T.complete():T.next(v.value)})},0,!0)})})}var C=l(5055),k=l(9858),y=l(7441),X=l(5397),_e=l(7953),Q=l(591),ye=l(5196);function ke(S,ve){return ve?function Z(S,ve){if(null!=S){if((0,C.l)(S))return function L(S,ve){return(0,t.Tg)(S).pipe(Y(ve),(0,m.Q)(ve))}(S,ve);if((0,y.X)(S))return function te(S,ve){return new H.c(T=>{let ne=0;return ve.schedule(function(){ne===S.length?T.complete():(T.next(S[ne++]),T.closed||this.schedule())})})}(S,ve);if((0,k.y)(S))return function J(S,ve){return(0,t.Tg)(S).pipe(Y(ve),(0,m.Q)(ve))}(S,ve);if((0,_e.T)(S))return z(S,ve);if((0,X.x)(S))return function w(S,ve){return new H.c(T=>{let ne;return(0,b.N)(T,ve,()=>{ne=S[A.l](),(0,b.N)(T,ve,()=>{let v,N;try{({value:v,done:N}=ne.next())}catch(U){return void T.error(U)}N?T.complete():T.next(v)},0,!0)}),()=>(0,f.T)(ne?.return)&&ne.return()})}(S,ve);if((0,ye.U)(S))return function de(S,ve){return z((0,ye.C)(S),ve)}(S,ve)}throw(0,Q.L)(S)}(S,ve):(0,t.Tg)(S)}},3726:(Ce,V,l)=>{l.d(V,{R:()=>f});var t=l(8750),m=l(4226),x=l(1397),Y=l(7441),L=l(8071),J=l(6450);const H=["addListener","removeListener"],te=["addEventListener","removeEventListener"],A=["on","off"];function f(k,y,X,_e){if((0,L.T)(X)&&(_e=X,X=void 0),_e)return f(k,y,X).pipe((0,J.I)(_e));const[Q,ye]=function C(k){return(0,L.T)(k.addEventListener)&&(0,L.T)(k.removeEventListener)}(k)?te.map(de=>Z=>k[de](y,Z,X)):function w(k){return(0,L.T)(k.addListener)&&(0,L.T)(k.removeListener)}(k)?H.map(b(k,y)):function z(k){return(0,L.T)(k.on)&&(0,L.T)(k.off)}(k)?A.map(b(k,y)):[];if(!Q&&(0,Y.X)(k))return(0,x.Z)(de=>f(de,y,X))((0,t.Tg)(k));if(!Q)throw new TypeError("Invalid event target");return new m.c(de=>{const Z=(...ke)=>de.next(1<ke.length?ke:ke[0]);return Q(Z),()=>ye(Z)})}function b(k,y){return X=>_e=>k[X](y,_e)}},8750:(Ce,V,l)=>{l.d(V,{Tg:()=>z});var t=l(5215),m=l(7441),x=l(9858),Y=l(4226),L=l(5055),J=l(7953),H=l(591),te=l(5397),A=l(5196),f=l(8071),b=l(5334),w=l(3494);function z(de){if(de instanceof Y.c)return de;if(null!=de){if((0,L.l)(de))return function C(de){return new Y.c(Z=>{const ke=de[w.s]();if((0,f.T)(ke.subscribe))return ke.subscribe(Z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(de);if((0,m.X)(de))return function k(de){return new Y.c(Z=>{for(let ke=0;ke<de.length&&!Z.closed;ke++)Z.next(de[ke]);Z.complete()})}(de);if((0,x.y)(de))return function y(de){return new Y.c(Z=>{de.then(ke=>{Z.closed||(Z.next(ke),Z.complete())},ke=>Z.error(ke)).then(null,b.m)})}(de);if((0,J.T)(de))return _e(de);if((0,te.x)(de))return function X(de){return new Y.c(Z=>{for(const ke of de)if(Z.next(ke),Z.closed)return;Z.complete()})}(de);if((0,A.U)(de))return function Q(de){return _e((0,A.C)(de))}(de)}throw(0,H.L)(de)}function _e(de){return new Y.c(Z=>{(function ye(de,Z){var ke,S,ve,T;return(0,t.sH)(this,void 0,void 0,function*(){try{for(ke=(0,t.xN)(de);!(S=yield ke.next()).done;)if(Z.next(S.value),Z.closed)return}catch(ne){ve={error:ne}}finally{try{S&&!S.done&&(T=ke.return)&&(yield T.call(ke))}finally{if(ve)throw ve.error}}Z.complete()})})(de,Z).catch(ke=>Z.error(ke))})}},7786:(Ce,V,l)=>{l.d(V,{h:()=>J});var t=l(6365),m=l(8750),x=l(983),Y=l(9326),L=l(2806);function J(...H){const te=(0,Y.lI)(H),A=(0,Y.R0)(H,1/0),f=H;return f.length?1===f.length?(0,m.Tg)(f[0]):(0,t.U)(A)((0,L.H)(f,te)):x.w}},7673:(Ce,V,l)=>{l.d(V,{of:()=>x});var t=l(9326),m=l(2806);function x(...Y){const L=(0,t.lI)(Y);return(0,m.H)(Y,L)}},1584:(Ce,V,l)=>{l.d(V,{O:()=>L});var t=l(4226),m=l(3236),x=l(9470);function L(J=0,H,te=m.b){let A=-1;return null!=H&&((0,x.m)(H)?te=H:A=H),new t.c(f=>{let b=function Y(J){return J instanceof Date&&!isNaN(J)}(J)?+J-te.now():J;b<0&&(b=0);let w=0;return te.schedule(function(){f.closed||(f.next(w++),0<=A?this.schedule(void 0,A):f.complete())},b)})}},4360:(Ce,V,l)=>{l.d(V,{_:()=>m});var t=l(7707);function m(Y,L,J,H,te){return new x(Y,L,J,H,te)}class x extends t.vU{constructor(L,J,H,te,A,f){super(L),this.onFinalize=A,this.shouldUnsubscribe=f,this._next=J?function(b){try{J(b)}catch(w){L.error(w)}}:super._next,this._error=te?function(b){try{te(b)}catch(w){L.error(w)}finally{this.unsubscribe()}}:super._error,this._complete=H?function(){try{H()}catch(b){L.error(b)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var L;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:J}=this;super.unsubscribe(),!J&&(null===(L=this.onFinalize)||void 0===L||L.call(this))}}}},274:(Ce,V,l)=>{l.d(V,{H:()=>x});var t=l(1397),m=l(8071);function x(Y,L){return(0,m.T)(L)?(0,t.Z)(Y,L,1):(0,t.Z)(Y,1)}},5964:(Ce,V,l)=>{l.d(V,{p:()=>x});var t=l(9974),m=l(4360);function x(Y,L){return(0,t.N)((J,H)=>{let te=0;J.subscribe((0,m._)(H,A=>Y.call(L,A,te++)&&H.next(A)))})}},980:(Ce,V,l)=>{l.d(V,{j:()=>m});var t=l(9974);function m(x){return(0,t.N)((Y,L)=>{try{Y.subscribe(L)}finally{L.add(x)}})}},6354:(Ce,V,l)=>{l.d(V,{T:()=>x});var t=l(9974),m=l(4360);function x(Y,L){return(0,t.N)((J,H)=>{let te=0;J.subscribe((0,m._)(H,A=>{H.next(Y.call(L,A,te++))}))})}},6365:(Ce,V,l)=>{l.d(V,{U:()=>x});var t=l(1397),m=l(3669);function x(Y=1/0){return(0,t.Z)(m.D,Y)}},1397:(Ce,V,l)=>{l.d(V,{Z:()=>te});var t=l(6354),m=l(8750),x=l(9974),Y=l(5225),L=l(4360),H=l(8071);function te(A,f,b=1/0){return(0,H.T)(f)?te((w,z)=>(0,t.T)((C,k)=>f(w,C,z,k))((0,m.Tg)(A(w,z))),b):("number"==typeof f&&(b=f),(0,x.N)((w,z)=>function J(A,f,b,w,z,C,k,y){const X=[];let _e=0,Q=0,ye=!1;const de=()=>{ye&&!X.length&&!_e&&f.complete()},Z=S=>_e<w?ke(S):X.push(S),ke=S=>{C&&f.next(S),_e++;let ve=!1;(0,m.Tg)(b(S,Q++)).subscribe((0,L._)(f,T=>{z?.(T),C?Z(T):f.next(T)},()=>{ve=!0},void 0,()=>{if(ve)try{for(_e--;X.length&&_e<w;){const T=X.shift();k?(0,Y.N)(f,k,()=>ke(T)):ke(T)}de()}catch(T){f.error(T)}}))};return A.subscribe((0,L._)(f,Z,()=>{ye=!0,de()})),()=>{y?.()}}(w,z,A,b)))}},941:(Ce,V,l)=>{l.d(V,{Q:()=>Y});var t=l(5225),m=l(9974),x=l(4360);function Y(L,J=0){return(0,m.N)((H,te)=>{H.subscribe((0,x._)(te,A=>(0,t.N)(te,L,()=>te.next(A),J),()=>(0,t.N)(te,L,()=>te.complete(),J),A=>(0,t.N)(te,L,()=>te.error(A),J)))})}},5558:(Ce,V,l)=>{l.d(V,{n:()=>Y});var t=l(8750),m=l(9974),x=l(4360);function Y(L,J){return(0,m.N)((H,te)=>{let A=null,f=0,b=!1;const w=()=>b&&!A&&te.complete();H.subscribe((0,x._)(te,z=>{A?.unsubscribe();let C=0;const k=f++;(0,t.Tg)(L(z,k)).subscribe(A=(0,x._)(te,y=>te.next(J?J(z,y,k,C++):y),()=>{A=null,w()}))},()=>{b=!0,w()}))})}},6697:(Ce,V,l)=>{l.d(V,{s:()=>Y});var t=l(983),m=l(9974),x=l(4360);function Y(L){return L<=0?()=>t.w:(0,m.N)((J,H)=>{let te=0;J.subscribe((0,x._)(H,A=>{++te<=L&&(H.next(A),L<=te&&H.complete())}))})}},6977:(Ce,V,l)=>{l.d(V,{Q:()=>L});var t=l(9974),m=l(4360),x=l(8750),Y=l(5343);function L(J){return(0,t.N)((H,te)=>{(0,x.Tg)(J).subscribe((0,m._)(te,()=>te.complete(),Y.l)),!te.closed&&H.subscribe(te)})}},6780:(Ce,V,l)=>{l.d(V,{R:()=>L});var t=l(8359);class m extends t.yU{constructor(H,te){super()}schedule(H,te=0){return this}}const x={setInterval(J,H,...te){const{delegate:A}=x;return A?.setInterval?A.setInterval(J,H,...te):setInterval(J,H,...te)},clearInterval(J){const{delegate:H}=x;return(H?.clearInterval||clearInterval)(J)},delegate:void 0};var Y=l(7908);class L extends m{constructor(H,te){super(H,te),this.scheduler=H,this.work=te,this.pending=!1}schedule(H,te=0){var A;if(this.closed)return this;this.state=H;const f=this.id,b=this.scheduler;return null!=f&&(this.id=this.recycleAsyncId(b,f,te)),this.pending=!0,this.delay=te,this.id=null!==(A=this.id)&&void 0!==A?A:this.requestAsyncId(b,this.id,te),this}requestAsyncId(H,te,A=0){return x.setInterval(H.flush.bind(H,this),A)}recycleAsyncId(H,te,A=0){if(null!=A&&this.delay===A&&!1===this.pending)return te;null!=te&&x.clearInterval(te)}execute(H,te){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const A=this._execute(H,te);if(A)return A;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(H,te){let f,A=!1;try{this.work(H)}catch(b){A=!0,f=b||new Error("Scheduled action threw falsy error")}if(A)return this.unsubscribe(),f}unsubscribe(){if(!this.closed){const{id:H,scheduler:te}=this,{actions:A}=te;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Y.o)(A,this),null!=H&&(this.id=this.recycleAsyncId(te,H,null)),this.delay=null,super.unsubscribe()}}}},3604:(Ce,V,l)=>{l.d(V,{q:()=>x});const t={now:()=>(t.delegate||Date).now(),delegate:void 0};class m{constructor(L,J=m.now){this.schedulerActionCtor=L,this.now=J}schedule(L,J=0,H){return new this.schedulerActionCtor(this,L).schedule(H,J)}}m.now=t.now;class x extends m{constructor(L,J=m.now){super(L,J),this.actions=[],this._active=!1}flush(L){const{actions:J}=this;if(this._active)return void J.push(L);let H;this._active=!0;do{if(H=L.execute(L.state,L.delay))break}while(L=J.shift());if(this._active=!1,H){for(;L=J.shift();)L.unsubscribe();throw H}}}},536:(Ce,V,l)=>{l.d(V,{X:()=>H});var t=l(6780),m=l(8359);const x={schedule(A){let f=requestAnimationFrame,b=cancelAnimationFrame;const{delegate:w}=x;w&&(f=w.requestAnimationFrame,b=w.cancelAnimationFrame);const z=f(C=>{b=void 0,A(C)});return new m.yU(()=>b?.(z))},requestAnimationFrame(...A){const{delegate:f}=x;return(f?.requestAnimationFrame||requestAnimationFrame)(...A)},cancelAnimationFrame(...A){const{delegate:f}=x;return(f?.cancelAnimationFrame||cancelAnimationFrame)(...A)},delegate:void 0};var L=l(3604);const H=new class J extends L.q{flush(f){this._active=!0;const b=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let z;f=f||w.shift();do{if(z=f.execute(f.state,f.delay))break}while((f=w[0])&&f.id===b&&w.shift());if(this._active=!1,z){for(;(f=w[0])&&f.id===b&&w.shift();)f.unsubscribe();throw z}}}(class Y extends t.R{constructor(f,b){super(f,b),this.scheduler=f,this.work=b}requestAsyncId(f,b,w=0){return null!==w&&w>0?super.requestAsyncId(f,b,w):(f.actions.push(this),f._scheduled||(f._scheduled=x.requestAnimationFrame(()=>f.flush(void 0))))}recycleAsyncId(f,b,w=0){var z;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(f,b,w);const{actions:C}=f;null!=b&&(null===(z=C[C.length-1])||void 0===z?void 0:z.id)!==b&&(x.cancelAnimationFrame(b),f._scheduled=void 0)}})},3236:(Ce,V,l)=>{l.d(V,{E:()=>x,b:()=>Y});var t=l(6780);const x=new(l(3604).q)(t.R),Y=x},9270:(Ce,V,l)=>{l.d(V,{f:()=>t});const t={setTimeout(m,x,...Y){const{delegate:L}=t;return L?.setTimeout?L.setTimeout(m,x,...Y):setTimeout(m,x,...Y)},clearTimeout(m){const{delegate:x}=t;return(x?.clearTimeout||clearTimeout)(m)},delegate:void 0}},4761:(Ce,V,l)=>{l.d(V,{l:()=>m});const m=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ce,V,l)=>{l.d(V,{s:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Ce,V,l)=>{l.d(V,{R0:()=>J,lI:()=>L,ms:()=>Y});var t=l(8071),m=l(9470);function x(H){return H[H.length-1]}function Y(H){return(0,t.T)(x(H))?H.pop():void 0}function L(H){return(0,m.m)(x(H))?H.pop():void 0}function J(H,te){return"number"==typeof x(H)?H.pop():te}},3073:(Ce,V,l)=>{l.d(V,{D:()=>L});const{isArray:t}=Array,{getPrototypeOf:m,prototype:x,keys:Y}=Object;function L(H){if(1===H.length){const te=H[0];if(t(te))return{args:te,keys:null};if(function J(H){return H&&"object"==typeof H&&m(H)===x}(te)){const A=Y(te);return{args:A.map(f=>te[f]),keys:A}}}return{args:H,keys:null}}},7908:(Ce,V,l)=>{function t(m,x){if(m){const Y=m.indexOf(x);0<=Y&&m.splice(Y,1)}}l.d(V,{o:()=>t})},1853:(Ce,V,l)=>{function t(m){const Y=m(L=>{Error.call(L),L.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}l.d(V,{L:()=>t})},8496:(Ce,V,l)=>{function t(m,x){return m.reduce((Y,L,J)=>(Y[L]=x[J],Y),{})}l.d(V,{e:()=>t})},9786:(Ce,V,l)=>{l.d(V,{Y:()=>x,l:()=>Y});var t=l(1026);let m=null;function x(L){if(t.$.useDeprecatedSynchronousErrorHandling){const J=!m;if(J&&(m={errorThrown:!1,error:null}),L(),J){const{errorThrown:H,error:te}=m;if(m=null,H)throw te}}else L()}function Y(L){t.$.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=L)}},5225:(Ce,V,l)=>{function t(m,x,Y,L=0,J=!1){const H=x.schedule(function(){Y(),J?m.add(this.schedule(null,L)):this.unsubscribe()},L);if(m.add(H),!J)return H}l.d(V,{N:()=>t})},3669:(Ce,V,l)=>{function t(m){return m}l.d(V,{D:()=>t})},7441:(Ce,V,l)=>{l.d(V,{X:()=>t});const t=m=>m&&"number"==typeof m.length&&"function"!=typeof m},7953:(Ce,V,l)=>{l.d(V,{T:()=>m});var t=l(8071);function m(x){return Symbol.asyncIterator&&(0,t.T)(x?.[Symbol.asyncIterator])}},8071:(Ce,V,l)=>{function t(m){return"function"==typeof m}l.d(V,{T:()=>t})},5055:(Ce,V,l)=>{l.d(V,{l:()=>x});var t=l(3494),m=l(8071);function x(Y){return(0,m.T)(Y[t.s])}},5397:(Ce,V,l)=>{l.d(V,{x:()=>x});var t=l(4761),m=l(8071);function x(Y){return(0,m.T)(Y?.[t.l])}},4402:(Ce,V,l)=>{l.d(V,{A:()=>x});var t=l(4226),m=l(8071);function x(Y){return!!Y&&(Y instanceof t.c||(0,m.T)(Y.lift)&&(0,m.T)(Y.subscribe))}},9858:(Ce,V,l)=>{l.d(V,{y:()=>m});var t=l(8071);function m(x){return(0,t.T)(x?.then)}},5196:(Ce,V,l)=>{l.d(V,{C:()=>x,U:()=>Y});var t=l(5215),m=l(8071);function x(L){return(0,t.AQ)(this,arguments,function*(){const H=L.getReader();try{for(;;){const{value:te,done:A}=yield(0,t.N3)(H.read());if(A)return yield(0,t.N3)(void 0);yield yield(0,t.N3)(te)}}finally{H.releaseLock()}})}function Y(L){return(0,m.T)(L?.getReader)}},9470:(Ce,V,l)=>{l.d(V,{m:()=>m});var t=l(8071);function m(x){return x&&(0,t.T)(x.schedule)}},9974:(Ce,V,l)=>{l.d(V,{N:()=>x});var t=l(8071);function x(Y){return L=>{if(function m(Y){return(0,t.T)(Y?.lift)}(L))return L.lift(function(J){try{return Y(J,this)}catch(H){this.error(H)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ce,V,l)=>{l.d(V,{I:()=>Y});var t=l(6354);const{isArray:m}=Array;function Y(L){return(0,t.T)(J=>function x(L,J){return m(J)?L(...J):L(J)}(L,J))}},5343:(Ce,V,l)=>{function t(){}l.d(V,{l:()=>t})},5334:(Ce,V,l)=>{l.d(V,{m:()=>x});var t=l(1026),m=l(9270);function x(Y){m.f.setTimeout(()=>{const{onUnhandledError:L}=t.$;if(!L)throw Y;L(Y)})}},591:(Ce,V,l)=>{function t(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(V,{L:()=>t})},6935:()=>{const Ce=globalThis;function V(g){return(Ce.__Zone_symbol_prefix||"__zone_symbol__")+g}const m=Object.getOwnPropertyDescriptor,x=Object.defineProperty,Y=Object.getPrototypeOf,L=Object.create,J=Array.prototype.slice,H="addEventListener",te="removeEventListener",A=V(H),f=V(te),b="true",w="false",z=V("");function C(g,E){return Zone.current.wrap(g,E)}function k(g,E,re,M,se){return Zone.current.scheduleMacroTask(g,E,re,M,se)}const y=V,X=typeof window<"u",_e=X?window:void 0,Q=X&&_e||globalThis,ye="removeAttribute";function de(g,E){for(let re=g.length-1;re>=0;re--)"function"==typeof g[re]&&(g[re]=C(g[re],E+"_"+re));return g}function ke(g){return!g||!1!==g.writable&&!("function"==typeof g.get&&typeof g.set>"u")}const S=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ve=!("nw"in Q)&&typeof Q.process<"u"&&"[object process]"===Q.process.toString(),T=!ve&&!S&&!(!X||!_e.HTMLElement),ne=typeof Q.process<"u"&&"[object process]"===Q.process.toString()&&!S&&!(!X||!_e.HTMLElement),v={},N=y("enable_beforeunload"),U=function(g){if(!(g=g||Q.event))return;let E=v[g.type];E||(E=v[g.type]=y("ON_PROPERTY"+g.type));const re=this||g.target||Q,M=re[E];let se;return T&&re===_e&&"error"===g.type?(se=M&&M.call(this,g.message,g.filename,g.lineno,g.colno,g.error),!0===se&&g.preventDefault()):(se=M&&M.apply(this,arguments),"beforeunload"===g.type&&Q[N]&&"string"==typeof se?g.returnValue=se:null!=se&&!se&&g.preventDefault()),se};function P(g,E,re){let M=m(g,E);if(!M&&re&&m(re,E)&&(M={enumerable:!0,configurable:!0}),!M||!M.configurable)return;const se=y("on"+E+"patched");if(g.hasOwnProperty(se)&&g[se])return;delete M.writable,delete M.value;const fe=M.get,He=M.set,Pe=E.slice(2);let $e=v[Pe];$e||($e=v[Pe]=y("ON_PROPERTY"+Pe)),M.set=function(Ke){let Ye=this;!Ye&&g===Q&&(Ye=Q),Ye&&("function"==typeof Ye[$e]&&Ye.removeEventListener(Pe,U),He&&He.call(Ye,null),Ye[$e]=Ke,"function"==typeof Ke&&Ye.addEventListener(Pe,U,!1))},M.get=function(){let Ke=this;if(!Ke&&g===Q&&(Ke=Q),!Ke)return null;const Ye=Ke[$e];if(Ye)return Ye;if(fe){let ze=fe.call(this);if(ze)return M.set.call(this,ze),"function"==typeof Ke[ye]&&Ke.removeAttribute(E),ze}return null},x(g,E,M),g[se]=!0}function $(g,E,re){if(E)for(let M=0;M<E.length;M++)P(g,"on"+E[M],re);else{const M=[];for(const se in g)"on"==se.slice(0,2)&&M.push(se);for(let se=0;se<M.length;se++)P(g,M[se],re)}}const W=y("originalInstance");function me(g){const E=Q[g];if(!E)return;Q[y(g)]=E,Q[g]=function(){const se=de(arguments,g);switch(se.length){case 0:this[W]=new E;break;case 1:this[W]=new E(se[0]);break;case 2:this[W]=new E(se[0],se[1]);break;case 3:this[W]=new E(se[0],se[1],se[2]);break;case 4:this[W]=new E(se[0],se[1],se[2],se[3]);break;default:throw new Error("Arg list too long.")}},I(Q[g],E);const re=new E(function(){});let M;for(M in re)"XMLHttpRequest"===g&&"responseBlob"===M||function(se){"function"==typeof re[se]?Q[g].prototype[se]=function(){return this[W][se].apply(this[W],arguments)}:x(Q[g].prototype,se,{set:function(fe){"function"==typeof fe?(this[W][se]=C(fe,g+"."+se),I(this[W][se],fe)):this[W][se]=fe},get:function(){return this[W][se]}})}(M);for(M in E)"prototype"!==M&&E.hasOwnProperty(M)&&(Q[g][M]=E[M])}function oe(g,E,re){let M=g;for(;M&&!M.hasOwnProperty(E);)M=Y(M);!M&&g[E]&&(M=g);const se=y(E);let fe=null;if(M&&(!(fe=M[se])||!M.hasOwnProperty(se))&&(fe=M[se]=M[E],ke(M&&m(M,E)))){const Pe=re(fe,se,E);M[E]=function(){return Pe(this,arguments)},I(M[E],fe)}return fe}function ee(g,E,re){let M=null;function se(fe){const He=fe.data;return He.args[He.cbIdx]=function(){fe.invoke.apply(this,arguments)},M.apply(He.target,He.args),fe}M=oe(g,E,fe=>function(He,Pe){const $e=re(He,Pe);return $e.cbIdx>=0&&"function"==typeof Pe[$e.cbIdx]?k($e.name,Pe[$e.cbIdx],$e,se):fe.apply(He,Pe)})}function I(g,E){g[y("OriginalDelegate")]=E}let ce=!1,Oe=!1;function st(){if(ce)return Oe;ce=!0;try{const g=_e.navigator.userAgent;(-1!==g.indexOf("MSIE ")||-1!==g.indexOf("Trident/")||-1!==g.indexOf("Edge/"))&&(Oe=!0)}catch{}return Oe}function rt(g){return"function"==typeof g}function Me(g){return"number"==typeof g}let wt=!1;if(typeof window<"u")try{const g=Object.defineProperty({},"passive",{get:function(){wt=!0}});window.addEventListener("test",g,g),window.removeEventListener("test",g,g)}catch{wt=!1}const Pt={useG:!0},Dt={},Rt={},B=new RegExp("^"+z+"(\\w+)(true|false)$"),he=y("propagationStopped");function O(g,E){const re=(E?E(g):g)+w,M=(E?E(g):g)+b,se=z+re,fe=z+M;Dt[g]={},Dt[g][w]=se,Dt[g][b]=fe}function ie(g,E,re,M){const se=M&&M.add||H,fe=M&&M.rm||te,He=M&&M.listeners||"eventListeners",Pe=M&&M.rmAll||"removeAllListeners",$e=y(se),Ke="."+se+":",Ye="prependListener",ze="."+Ye+":",ot=function(Te,Ee,pt){if(Te.isRemoved)return;const gt=Te.callback;let ut;"object"==typeof gt&&gt.handleEvent&&(Te.callback=Ue=>gt.handleEvent(Ue),Te.originalDelegate=gt);try{Te.invoke(Te,Ee,[pt])}catch(Ue){ut=Ue}const vt=Te.options;return vt&&"object"==typeof vt&&vt.once&&Ee[fe].call(Ee,pt.type,Te.originalDelegate?Te.originalDelegate:Te.callback,vt),ut};function ge(Te,Ee,pt){if(!(Ee=Ee||g.event))return;const gt=Te||Ee.target||g,ut=gt[Dt[Ee.type][pt?b:w]];if(ut){const vt=[];if(1===ut.length){const Ue=ot(ut[0],gt,Ee);Ue&&vt.push(Ue)}else{const Ue=ut.slice();for(let Ne=0;Ne<Ue.length&&(!Ee||!0!==Ee[he]);Ne++){const it=ot(Ue[Ne],gt,Ee);it&&vt.push(it)}}if(1===vt.length)throw vt[0];for(let Ue=0;Ue<vt.length;Ue++){const Ne=vt[Ue];E.nativeScheduleMicroTask(()=>{throw Ne})}}}const Tt=function(Te){return ge(this,Te,!1)},xt=function(Te){return ge(this,Te,!0)};function kt(Te,Ee){if(!Te)return!1;let pt=!0;Ee&&void 0!==Ee.useG&&(pt=Ee.useG);const gt=Ee&&Ee.vh;let ut=!0;Ee&&void 0!==Ee.chkDup&&(ut=Ee.chkDup);let vt=!1;Ee&&void 0!==Ee.rt&&(vt=Ee.rt);let Ue=Te;for(;Ue&&!Ue.hasOwnProperty(se);)Ue=Y(Ue);if(!Ue&&Te[se]&&(Ue=Te),!Ue||Ue[$e])return!1;const Ne=Ee&&Ee.eventNameToString,it={},et=Ue[$e]=Ue[se],Xe=Ue[y(fe)]=Ue[fe],Ze=Ue[y(He)]=Ue[He],Lt=Ue[y(Pe)]=Ue[Pe];let yt;Ee&&Ee.prepend&&(yt=Ue[y(Ee.prepend)]=Ue[Ee.prepend]);const ct=pt?function(j){if(!it.isExisting)return et.call(it.target,it.eventName,it.capture?xt:Tt,it.options)}:function(j){return et.call(it.target,it.eventName,j.invoke,it.options)},_t=pt?function(j){if(!j.isRemoved){const pe=Dt[j.eventName];let Ge;pe&&(Ge=pe[j.capture?b:w]);const tt=Ge&&j.target[Ge];if(tt)for(let je=0;je<tt.length;je++)if(tt[je]===j){tt.splice(je,1),j.isRemoved=!0,j.removeAbortListener&&(j.removeAbortListener(),j.removeAbortListener=null),0===tt.length&&(j.allRemoved=!0,j.target[Ge]=null);break}}if(j.allRemoved)return Xe.call(j.target,j.eventName,j.capture?xt:Tt,j.options)}:function(j){return Xe.call(j.target,j.eventName,j.invoke,j.options)},$t=Ee&&Ee.diff?Ee.diff:function(j,pe){const Ge=typeof pe;return"function"===Ge&&j.callback===pe||"object"===Ge&&j.originalDelegate===pe},Wt=Zone[y("UNPATCHED_EVENTS")],Nt=g[y("PASSIVE_EVENTS")],be=function(j,pe,Ge,tt,je=!1,u=!1){return function(){const _=this||g;let o=arguments[0];Ee&&Ee.transferEventName&&(o=Ee.transferEventName(o));let d=arguments[1];if(!d)return j.apply(this,arguments);if(ve&&"uncaughtException"===o)return j.apply(this,arguments);let p=!1;if("function"!=typeof d){if(!d.handleEvent)return j.apply(this,arguments);p=!0}if(gt&&!gt(j,d,_,arguments))return;const G=wt&&!!Nt&&-1!==Nt.indexOf(o),ae=function De(j){if("object"==typeof j&&null!==j){const pe={...j};return j.signal&&(pe.signal=j.signal),pe}return j}(function at(j,pe){return!wt&&"object"==typeof j&&j?!!j.capture:wt&&pe?"boolean"==typeof j?{capture:j,passive:!0}:j?"object"==typeof j&&!1!==j.passive?{...j,passive:!0}:j:{passive:!0}:j}(arguments[2],G)),We=ae?.signal;if(We?.aborted)return;if(Wt)for(let on=0;on<Wt.length;on++)if(o===Wt[on])return G?j.call(_,o,d,ae):j.apply(this,arguments);const ht=!!ae&&("boolean"==typeof ae||ae.capture),nt=!(!ae||"object"!=typeof ae)&&ae.once,jt=Zone.current;let Yt=Dt[o];Yt||(O(o,Ne),Yt=Dt[o]);const Ht=Yt[ht?b:w];let Sn,Xt=_[Ht],ei=!1;if(Xt){if(ei=!0,ut)for(let on=0;on<Xt.length;on++)if($t(Xt[on],d))return}else Xt=_[Ht]=[];const jn=_.constructor.name,cn=Rt[jn];cn&&(Sn=cn[o]),Sn||(Sn=jn+pe+(Ne?Ne(o):o)),it.options=ae,nt&&(it.options.once=!1),it.target=_,it.capture=ht,it.eventName=o,it.isExisting=ei;const Ln=pt?Pt:void 0;Ln&&(Ln.taskData=it),We&&(it.options.signal=void 0);const Kt=jt.scheduleEventTask(Sn,d,Ln,Ge,tt);if(We){it.options.signal=We;const on=()=>Kt.zone.cancelTask(Kt);j.call(We,"abort",on,{once:!0}),Kt.removeAbortListener=()=>We.removeEventListener("abort",on)}return it.target=null,Ln&&(Ln.taskData=null),nt&&(it.options.once=!0),!wt&&"boolean"==typeof Kt.options||(Kt.options=ae),Kt.target=_,Kt.capture=ht,Kt.eventName=o,p&&(Kt.originalDelegate=d),u?Xt.unshift(Kt):Xt.push(Kt),je?_:void 0}};return Ue[se]=be(et,Ke,ct,_t,vt),yt&&(Ue[Ye]=be(yt,ze,function(j){return yt.call(it.target,it.eventName,j.invoke,it.options)},_t,vt,!0)),Ue[fe]=function(){const j=this||g;let pe=arguments[0];Ee&&Ee.transferEventName&&(pe=Ee.transferEventName(pe));const Ge=arguments[2],tt=!!Ge&&("boolean"==typeof Ge||Ge.capture),je=arguments[1];if(!je)return Xe.apply(this,arguments);if(gt&&!gt(Xe,je,j,arguments))return;const u=Dt[pe];let _;u&&(_=u[tt?b:w]);const o=_&&j[_];if(o)for(let d=0;d<o.length;d++){const p=o[d];if($t(p,je))return o.splice(d,1),p.isRemoved=!0,0!==o.length||(p.allRemoved=!0,j[_]=null,tt||"string"!=typeof pe)||(j[z+"ON_PROPERTY"+pe]=null),p.zone.cancelTask(p),vt?j:void 0}return Xe.apply(this,arguments)},Ue[He]=function(){const j=this||g;let pe=arguments[0];Ee&&Ee.transferEventName&&(pe=Ee.transferEventName(pe));const Ge=[],tt=Se(j,Ne?Ne(pe):pe);for(let je=0;je<tt.length;je++){const u=tt[je];Ge.push(u.originalDelegate?u.originalDelegate:u.callback)}return Ge},Ue[Pe]=function(){const j=this||g;let pe=arguments[0];if(pe){Ee&&Ee.transferEventName&&(pe=Ee.transferEventName(pe));const Ge=Dt[pe];if(Ge){const u=j[Ge[w]],_=j[Ge[b]];if(u){const o=u.slice();for(let d=0;d<o.length;d++){const p=o[d];this[fe].call(this,pe,p.originalDelegate?p.originalDelegate:p.callback,p.options)}}if(_){const o=_.slice();for(let d=0;d<o.length;d++){const p=o[d];this[fe].call(this,pe,p.originalDelegate?p.originalDelegate:p.callback,p.options)}}}}else{const Ge=Object.keys(j);for(let tt=0;tt<Ge.length;tt++){const u=B.exec(Ge[tt]);let _=u&&u[1];_&&"removeListener"!==_&&this[Pe].call(this,_)}this[Pe].call(this,"removeListener")}if(vt)return this},I(Ue[se],et),I(Ue[fe],Xe),Lt&&I(Ue[Pe],Lt),Ze&&I(Ue[He],Ze),!0}let qe=[];for(let Te=0;Te<re.length;Te++)qe[Te]=kt(re[Te],M);return qe}function Se(g,E){if(!E){const fe=[];for(let He in g){const Pe=B.exec(He);let $e=Pe&&Pe[1];if($e&&(!E||$e===E)){const Ke=g[He];if(Ke)for(let Ye=0;Ye<Ke.length;Ye++)fe.push(Ke[Ye])}}return fe}let re=Dt[E];re||(O(E),re=Dt[E]);const M=g[re[w]],se=g[re[b]];return M?se?M.concat(se):M.slice():se?se.slice():[]}function lt(g,E){const re=g.Event;re&&re.prototype&&E.patchMethod(re.prototype,"stopImmediatePropagation",M=>function(se,fe){se[he]=!0,M&&M.apply(se,fe)})}const Qe=y("zoneTask");function c(g,E,re,M){let se=null,fe=null;re+=M;const He={};function Pe(Ke){const Ye=Ke.data;Ye.args[0]=function(){return Ke.invoke.apply(this,arguments)};const ze=se.apply(g,Ye.args);return Me(ze)?Ye.handleId=ze:(Ye.handle=ze,Ye.isRefreshable=rt(ze.refresh)),Ke}function $e(Ke){const{handle:Ye,handleId:ze}=Ke.data;return fe.call(g,Ye??ze)}se=oe(g,E+=M,Ke=>function(Ye,ze){if(rt(ze[0])){const ot={isRefreshable:!1,isPeriodic:"Interval"===M,delay:"Timeout"===M||"Interval"===M?ze[1]||0:void 0,args:ze},ge=ze[0];ze[0]=function(){try{return ge.apply(this,arguments)}finally{const{handle:pt,handleId:gt,isPeriodic:ut,isRefreshable:vt}=ot;!ut&&!vt&&(gt?delete He[gt]:pt&&(pt[Qe]=null))}};const Tt=k(E,ze[0],ot,Pe,$e);if(!Tt)return Tt;const{handleId:xt,handle:kt,isRefreshable:qe,isPeriodic:Te}=Tt.data;if(xt)He[xt]=Tt;else if(kt&&(kt[Qe]=Tt,qe&&!Te)){const Ee=kt.refresh;kt.refresh=function(){const{zone:pt,state:gt}=Tt;return"notScheduled"===gt?(Tt._state="scheduled",pt._updateTaskCount(Tt,1)):"running"===gt&&(Tt._state="scheduling"),Ee.call(this)}}return kt??xt??Tt}return Ke.apply(g,ze)}),fe=oe(g,re,Ke=>function(Ye,ze){const ot=ze[0];let ge;Me(ot)?(ge=He[ot],delete He[ot]):(ge=ot?.[Qe],ge?ot[Qe]=null:ge=ot),ge?.type?ge.cancelFn&&ge.zone.cancelTask(ge):Ke.apply(g,ze)})}function Le(g,E,re){if(!re||0===re.length)return E;const M=re.filter(fe=>fe.target===g);if(!M||0===M.length)return E;const se=M[0].ignoreProperties;return E.filter(fe=>-1===se.indexOf(fe))}function xe(g,E,re,M){g&&$(g,Le(g,E,re),M)}function we(g){return Object.getOwnPropertyNames(g).filter(E=>E.startsWith("on")&&E.length>2).map(E=>E.substring(2))}function mt(g,E,re,M,se){const fe=Zone.__symbol__(M);if(E[fe])return;const He=E[fe]=E[M];E[M]=function(Pe,$e,Ke){return $e&&$e.prototype&&se.forEach(function(Ye){const ze=`${re}.${M}::`+Ye,ot=$e.prototype;try{if(ot.hasOwnProperty(Ye)){const ge=g.ObjectGetOwnPropertyDescriptor(ot,Ye);ge&&ge.value?(ge.value=g.wrapWithCurrentZone(ge.value,ze),g._redefineProperty($e.prototype,Ye,ge)):ot[Ye]&&(ot[Ye]=g.wrapWithCurrentZone(ot[Ye],ze))}else ot[Ye]&&(ot[Ye]=g.wrapWithCurrentZone(ot[Ye],ze))}catch{}}),He.call(E,Pe,$e,Ke)},g.attachOriginToPatched(E[M],He)}const Et=function t(){const g=globalThis,E=!0===g[V("forceDuplicateZoneCheck")];if(g.Zone&&(E||"function"!=typeof g.Zone.__symbol__))throw new Error("Zone already loaded.");return g.Zone??=function l(){const g=Ce.performance;function E(at){g&&g.mark&&g.mark(at)}function re(at,Ve){g&&g.measure&&g.measure(at,Ve)}E("Zone");let M=(()=>{class at{static#e=this.__symbol__=V;static assertZonePatched(){if(Ce.Promise!==it.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=at.current;for(;D.parent;)D=D.parent;return D}static get current(){return Xe.zone}static get currentTask(){return Ze}static __load_patch(D,F,Ae=!1){if(it.hasOwnProperty(D)){const Je=!0===Ce[V("forceDuplicateZoneCheck")];if(!Ae&&Je)throw Error("Already loaded patch: "+D)}else if(!Ce["__Zone_disable_"+D]){const Je="Zone:"+D;E(Je),it[D]=F(Ce,at,et),re(Je,Je)}}get parent(){return this._parent}get name(){return this._name}constructor(D,F){this._parent=D,this._name=F?F.name||"unnamed":"<root>",this._properties=F&&F.properties||{},this._zoneDelegate=new fe(this,this._parent&&this._parent._zoneDelegate,F)}get(D){const F=this.getZoneWith(D);if(F)return F._properties[D]}getZoneWith(D){let F=this;for(;F;){if(F._properties.hasOwnProperty(D))return F;F=F._parent}return null}fork(D){if(!D)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,D)}wrap(D,F){if("function"!=typeof D)throw new Error("Expecting function got: "+D);const Ae=this._zoneDelegate.intercept(this,D,F),Je=this;return function(){return Je.runGuarded(Ae,this,arguments,F)}}run(D,F,Ae,Je){Xe={parent:Xe,zone:this};try{return this._zoneDelegate.invoke(this,D,F,Ae,Je)}finally{Xe=Xe.parent}}runGuarded(D,F=null,Ae,Je){Xe={parent:Xe,zone:this};try{try{return this._zoneDelegate.invoke(this,D,F,Ae,Je)}catch(ct){if(this._zoneDelegate.handleError(this,ct))throw ct}}finally{Xe=Xe.parent}}runTask(D,F,Ae){if(D.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(D.zone||kt).name+"; Execution: "+this.name+")");const Je=D,{type:ct,data:{isPeriodic:_t=!1,isRefreshable:Ut=!1}={}}=D;if(D.state===qe&&(ct===Ne||ct===Ue))return;const $t=D.state!=pt;$t&&Je._transitionTo(pt,Ee);const Wt=Ze;Ze=Je,Xe={parent:Xe,zone:this};try{ct==Ue&&D.data&&!_t&&!Ut&&(D.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,Je,F,Ae)}catch(Nt){if(this._zoneDelegate.handleError(this,Nt))throw Nt}}finally{const Nt=D.state;if(Nt!==qe&&Nt!==ut)if(ct==Ne||_t||Ut&&Nt===Te)$t&&Je._transitionTo(Ee,pt,Te);else{const De=Je._zoneDelegates;this._updateTaskCount(Je,-1),$t&&Je._transitionTo(qe,pt,qe),Ut&&(Je._zoneDelegates=De)}Xe=Xe.parent,Ze=Wt}}scheduleTask(D){if(D.zone&&D.zone!==this){let Ae=this;for(;Ae;){if(Ae===D.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${D.zone.name}`);Ae=Ae.parent}}D._transitionTo(Te,qe);const F=[];D._zoneDelegates=F,D._zone=this;try{D=this._zoneDelegate.scheduleTask(this,D)}catch(Ae){throw D._transitionTo(ut,Te,qe),this._zoneDelegate.handleError(this,Ae),Ae}return D._zoneDelegates===F&&this._updateTaskCount(D,1),D.state==Te&&D._transitionTo(Ee,Te),D}scheduleMicroTask(D,F,Ae,Je){return this.scheduleTask(new He(vt,D,F,Ae,Je,void 0))}scheduleMacroTask(D,F,Ae,Je,ct){return this.scheduleTask(new He(Ue,D,F,Ae,Je,ct))}scheduleEventTask(D,F,Ae,Je,ct){return this.scheduleTask(new He(Ne,D,F,Ae,Je,ct))}cancelTask(D){if(D.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(D.zone||kt).name+"; Execution: "+this.name+")");if(D.state===Ee||D.state===pt){D._transitionTo(gt,Ee,pt);try{this._zoneDelegate.cancelTask(this,D)}catch(F){throw D._transitionTo(ut,gt),this._zoneDelegate.handleError(this,F),F}return this._updateTaskCount(D,-1),D._transitionTo(qe,gt),D.runCount=-1,D}}_updateTaskCount(D,F){const Ae=D._zoneDelegates;-1==F&&(D._zoneDelegates=null);for(let Je=0;Je<Ae.length;Je++)Ae[Je]._updateTaskCount(D.type,F)}}return at})();const se={name:"",onHasTask:(at,Ve,D,F)=>at.hasTask(D,F),onScheduleTask:(at,Ve,D,F)=>at.scheduleTask(D,F),onInvokeTask:(at,Ve,D,F,Ae,Je)=>at.invokeTask(D,F,Ae,Je),onCancelTask:(at,Ve,D,F)=>at.cancelTask(D,F)};class fe{get zone(){return this._zone}constructor(Ve,D,F){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=Ve,this._parentDelegate=D,this._forkZS=F&&(F&&F.onFork?F:D._forkZS),this._forkDlgt=F&&(F.onFork?D:D._forkDlgt),this._forkCurrZone=F&&(F.onFork?this._zone:D._forkCurrZone),this._interceptZS=F&&(F.onIntercept?F:D._interceptZS),this._interceptDlgt=F&&(F.onIntercept?D:D._interceptDlgt),this._interceptCurrZone=F&&(F.onIntercept?this._zone:D._interceptCurrZone),this._invokeZS=F&&(F.onInvoke?F:D._invokeZS),this._invokeDlgt=F&&(F.onInvoke?D:D._invokeDlgt),this._invokeCurrZone=F&&(F.onInvoke?this._zone:D._invokeCurrZone),this._handleErrorZS=F&&(F.onHandleError?F:D._handleErrorZS),this._handleErrorDlgt=F&&(F.onHandleError?D:D._handleErrorDlgt),this._handleErrorCurrZone=F&&(F.onHandleError?this._zone:D._handleErrorCurrZone),this._scheduleTaskZS=F&&(F.onScheduleTask?F:D._scheduleTaskZS),this._scheduleTaskDlgt=F&&(F.onScheduleTask?D:D._scheduleTaskDlgt),this._scheduleTaskCurrZone=F&&(F.onScheduleTask?this._zone:D._scheduleTaskCurrZone),this._invokeTaskZS=F&&(F.onInvokeTask?F:D._invokeTaskZS),this._invokeTaskDlgt=F&&(F.onInvokeTask?D:D._invokeTaskDlgt),this._invokeTaskCurrZone=F&&(F.onInvokeTask?this._zone:D._invokeTaskCurrZone),this._cancelTaskZS=F&&(F.onCancelTask?F:D._cancelTaskZS),this._cancelTaskDlgt=F&&(F.onCancelTask?D:D._cancelTaskDlgt),this._cancelTaskCurrZone=F&&(F.onCancelTask?this._zone:D._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Ae=F&&F.onHasTask;(Ae||D&&D._hasTaskZS)&&(this._hasTaskZS=Ae?F:se,this._hasTaskDlgt=D,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,F.onScheduleTask||(this._scheduleTaskZS=se,this._scheduleTaskDlgt=D,this._scheduleTaskCurrZone=this._zone),F.onInvokeTask||(this._invokeTaskZS=se,this._invokeTaskDlgt=D,this._invokeTaskCurrZone=this._zone),F.onCancelTask||(this._cancelTaskZS=se,this._cancelTaskDlgt=D,this._cancelTaskCurrZone=this._zone))}fork(Ve,D){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Ve,D):new M(Ve,D)}intercept(Ve,D,F){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Ve,D,F):D}invoke(Ve,D,F,Ae,Je){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Ve,D,F,Ae,Je):D.apply(F,Ae)}handleError(Ve,D){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Ve,D)}scheduleTask(Ve,D){let F=D;if(this._scheduleTaskZS)this._hasTaskZS&&F._zoneDelegates.push(this._hasTaskDlgtOwner),F=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Ve,D),F||(F=D);else if(D.scheduleFn)D.scheduleFn(D);else{if(D.type!=vt)throw new Error("Task is missing scheduleFn.");Tt(D)}return F}invokeTask(Ve,D,F,Ae){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Ve,D,F,Ae):D.callback.apply(F,Ae)}cancelTask(Ve,D){let F;if(this._cancelTaskZS)F=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Ve,D);else{if(!D.cancelFn)throw Error("Task is not cancelable");F=D.cancelFn(D)}return F}hasTask(Ve,D){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Ve,D)}catch(F){this.handleError(Ve,F)}}_updateTaskCount(Ve,D){const F=this._taskCounts,Ae=F[Ve],Je=F[Ve]=Ae+D;if(Je<0)throw new Error("More tasks executed then were scheduled.");0!=Ae&&0!=Je||this.hasTask(this._zone,{microTask:F.microTask>0,macroTask:F.macroTask>0,eventTask:F.eventTask>0,change:Ve})}}class He{constructor(Ve,D,F,Ae,Je,ct){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Ve,this.source=D,this.data=Ae,this.scheduleFn=Je,this.cancelFn=ct,!F)throw new Error("callback is not defined");this.callback=F;const _t=this;this.invoke=Ve===Ne&&Ae&&Ae.useG?He.invokeTask:function(){return He.invokeTask.call(Ce,_t,this,arguments)}}static invokeTask(Ve,D,F){Ve||(Ve=this),Lt++;try{return Ve.runCount++,Ve.zone.runTask(Ve,D,F)}finally{1==Lt&&xt(),Lt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(qe,Te)}_transitionTo(Ve,D,F){if(this._state!==D&&this._state!==F)throw new Error(`${this.type} '${this.source}': can not transition to '${Ve}', expecting state '${D}'${F?" or '"+F+"'":""}, was '${this._state}'.`);this._state=Ve,Ve==qe&&(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 Pe=V("setTimeout"),$e=V("Promise"),Ke=V("then");let ot,Ye=[],ze=!1;function ge(at){if(ot||Ce[$e]&&(ot=Ce[$e].resolve(0)),ot){let Ve=ot[Ke];Ve||(Ve=ot.then),Ve.call(ot,at)}else Ce[Pe](at,0)}function Tt(at){0===Lt&&0===Ye.length&&ge(xt),at&&Ye.push(at)}function xt(){if(!ze){for(ze=!0;Ye.length;){const at=Ye;Ye=[];for(let Ve=0;Ve<at.length;Ve++){const D=at[Ve];try{D.zone.runTask(D,null,null)}catch(F){et.onUnhandledError(F)}}}et.microtaskDrainDone(),ze=!1}}const kt={name:"NO ZONE"},qe="notScheduled",Te="scheduling",Ee="scheduled",pt="running",gt="canceling",ut="unknown",vt="microTask",Ue="macroTask",Ne="eventTask",it={},et={symbol:V,currentZoneFrame:()=>Xe,onUnhandledError:yt,microtaskDrainDone:yt,scheduleMicroTask:Tt,showUncaughtError:()=>!M[V("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:yt,patchMethod:()=>yt,bindArguments:()=>[],patchThen:()=>yt,patchMacroTask:()=>yt,patchEventPrototype:()=>yt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>yt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>yt,wrapWithCurrentZone:()=>yt,filterProperties:()=>[],attachOriginToPatched:()=>yt,_redefineProperty:()=>yt,patchCallbacks:()=>yt,nativeScheduleMicroTask:ge};let Xe={parent:null,zone:new M(null,null)},Ze=null,Lt=0;function yt(){}return re("Zone","Zone"),M}(),g.Zone}();(function Mt(g){(function Re(g){g.__load_patch("ZoneAwarePromise",(E,re,M)=>{const se=Object.getOwnPropertyDescriptor,fe=Object.defineProperty,Pe=M.symbol,$e=[],Ke=!1!==E[Pe("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Ye=Pe("Promise"),ze=Pe("then"),ot="__creationTrace__";M.onUnhandledError=De=>{if(M.showUncaughtError()){const be=De&&De.rejection;be?console.error("Unhandled Promise rejection:",be instanceof Error?be.message:be,"; Zone:",De.zone.name,"; Task:",De.task&&De.task.source,"; Value:",be,be instanceof Error?be.stack:void 0):console.error(De)}},M.microtaskDrainDone=()=>{for(;$e.length;){const De=$e.shift();try{De.zone.runGuarded(()=>{throw De.throwOriginal?De.rejection:De})}catch(be){Tt(be)}}};const ge=Pe("unhandledPromiseRejectionHandler");function Tt(De){M.onUnhandledError(De);try{const be=re[ge];"function"==typeof be&&be.call(this,De)}catch{}}function xt(De){return De&&De.then}function kt(De){return De}function qe(De){return _t.reject(De)}const Te=Pe("state"),Ee=Pe("value"),pt=Pe("finally"),gt=Pe("parentPromiseValue"),ut=Pe("parentPromiseState"),vt="Promise.then",Ue=null,Ne=!0,it=!1,et=0;function Xe(De,be){return j=>{try{at(De,be,j)}catch(pe){at(De,!1,pe)}}}const Ze=function(){let De=!1;return function(j){return function(){De||(De=!0,j.apply(null,arguments))}}},Lt="Promise resolved with itself",yt=Pe("currentTaskTrace");function at(De,be,j){const pe=Ze();if(De===j)throw new TypeError(Lt);if(De[Te]===Ue){let Ge=null;try{("object"==typeof j||"function"==typeof j)&&(Ge=j&&j.then)}catch(tt){return pe(()=>{at(De,!1,tt)})(),De}if(be!==it&&j instanceof _t&&j.hasOwnProperty(Te)&&j.hasOwnProperty(Ee)&&j[Te]!==Ue)D(j),at(De,j[Te],j[Ee]);else if(be!==it&&"function"==typeof Ge)try{Ge.call(j,pe(Xe(De,be)),pe(Xe(De,!1)))}catch(tt){pe(()=>{at(De,!1,tt)})()}else{De[Te]=be;const tt=De[Ee];if(De[Ee]=j,De[pt]===pt&&be===Ne&&(De[Te]=De[ut],De[Ee]=De[gt]),be===it&&j instanceof Error){const je=re.currentTask&&re.currentTask.data&&re.currentTask.data[ot];je&&fe(j,yt,{configurable:!0,enumerable:!1,writable:!0,value:je})}for(let je=0;je<tt.length;)F(De,tt[je++],tt[je++],tt[je++],tt[je++]);if(0==tt.length&&be==it){De[Te]=et;let je=j;try{throw new Error("Uncaught (in promise): "+function He(De){return De&&De.toString===Object.prototype.toString?(De.constructor&&De.constructor.name||"")+": "+JSON.stringify(De):De?De.toString():Object.prototype.toString.call(De)}(j)+(j&&j.stack?"\n"+j.stack:""))}catch(u){je=u}Ke&&(je.throwOriginal=!0),je.rejection=j,je.promise=De,je.zone=re.current,je.task=re.currentTask,$e.push(je),M.scheduleMicroTask()}}}return De}const Ve=Pe("rejectionHandledHandler");function D(De){if(De[Te]===et){try{const be=re[Ve];be&&"function"==typeof be&&be.call(this,{rejection:De[Ee],promise:De})}catch{}De[Te]=it;for(let be=0;be<$e.length;be++)De===$e[be].promise&&$e.splice(be,1)}}function F(De,be,j,pe,Ge){D(De);const tt=De[Te],je=tt?"function"==typeof pe?pe:kt:"function"==typeof Ge?Ge:qe;be.scheduleMicroTask(vt,()=>{try{const u=De[Ee],_=!!j&&pt===j[pt];_&&(j[gt]=u,j[ut]=tt);const o=be.run(je,void 0,_&&je!==qe&&je!==kt?[]:[u]);at(j,!0,o)}catch(u){at(j,!1,u)}},j)}const Je=function(){},ct=E.AggregateError;class _t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(be){return be instanceof _t?be:at(new this(null),Ne,be)}static reject(be){return at(new this(null),it,be)}static withResolvers(){const be={};return be.promise=new _t((j,pe)=>{be.resolve=j,be.reject=pe}),be}static any(be){if(!be||"function"!=typeof be[Symbol.iterator])return Promise.reject(new ct([],"All promises were rejected"));const j=[];let pe=0;try{for(let je of be)pe++,j.push(_t.resolve(je))}catch{return Promise.reject(new ct([],"All promises were rejected"))}if(0===pe)return Promise.reject(new ct([],"All promises were rejected"));let Ge=!1;const tt=[];return new _t((je,u)=>{for(let _=0;_<j.length;_++)j[_].then(o=>{Ge||(Ge=!0,je(o))},o=>{tt.push(o),pe--,0===pe&&(Ge=!0,u(new ct(tt,"All promises were rejected")))})})}static race(be){let j,pe,Ge=new this((u,_)=>{j=u,pe=_});function tt(u){j(u)}function je(u){pe(u)}for(let u of be)xt(u)||(u=this.resolve(u)),u.then(tt,je);return Ge}static all(be){return _t.allWithCallback(be)}static allSettled(be){return(this&&this.prototype instanceof _t?this:_t).allWithCallback(be,{thenCallback:pe=>({status:"fulfilled",value:pe}),errorCallback:pe=>({status:"rejected",reason:pe})})}static allWithCallback(be,j){let pe,Ge,tt=new this((o,d)=>{pe=o,Ge=d}),je=2,u=0;const _=[];for(let o of be){xt(o)||(o=this.resolve(o));const d=u;try{o.then(p=>{_[d]=j?j.thenCallback(p):p,je--,0===je&&pe(_)},p=>{j?(_[d]=j.errorCallback(p),je--,0===je&&pe(_)):Ge(p)})}catch(p){Ge(p)}je++,u++}return je-=2,0===je&&pe(_),tt}constructor(be){const j=this;if(!(j instanceof _t))throw new Error("Must be an instanceof Promise.");j[Te]=Ue,j[Ee]=[];try{const pe=Ze();be&&be(pe(Xe(j,Ne)),pe(Xe(j,it)))}catch(pe){at(j,!1,pe)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return _t}then(be,j){let pe=this.constructor?.[Symbol.species];(!pe||"function"!=typeof pe)&&(pe=this.constructor||_t);const Ge=new pe(Je),tt=re.current;return this[Te]==Ue?this[Ee].push(tt,Ge,be,j):F(this,tt,Ge,be,j),Ge}catch(be){return this.then(null,be)}finally(be){let j=this.constructor?.[Symbol.species];(!j||"function"!=typeof j)&&(j=_t);const pe=new j(Je);pe[pt]=pt;const Ge=re.current;return this[Te]==Ue?this[Ee].push(Ge,pe,be,be):F(this,Ge,pe,be,be),pe}}_t.resolve=_t.resolve,_t.reject=_t.reject,_t.race=_t.race,_t.all=_t.all;const Ut=E[Ye]=E.Promise;E.Promise=_t;const $t=Pe("thenPatched");function Wt(De){const be=De.prototype,j=se(be,"then");if(j&&(!1===j.writable||!j.configurable))return;const pe=be.then;be[ze]=pe,De.prototype.then=function(Ge,tt){return new _t((u,_)=>{pe.call(this,u,_)}).then(Ge,tt)},De[$t]=!0}return M.patchThen=Wt,Ut&&(Wt(Ut),oe(E,"fetch",De=>function Nt(De){return function(be,j){let pe=De.apply(be,j);if(pe instanceof _t)return pe;let Ge=pe.constructor;return Ge[$t]||Wt(Ge),pe}}(De))),Promise[re.__symbol__("uncaughtPromiseErrors")]=$e,_t})})(g),function ft(g){g.__load_patch("toString",E=>{const re=Function.prototype.toString,M=y("OriginalDelegate"),se=y("Promise"),fe=y("Error"),He=function(){if("function"==typeof this){const Ye=this[M];if(Ye)return"function"==typeof Ye?re.call(Ye):Object.prototype.toString.call(Ye);if(this===Promise){const ze=E[se];if(ze)return re.call(ze)}if(this===Error){const ze=E[fe];if(ze)return re.call(ze)}}return re.call(this)};He[M]=re,Function.prototype.toString=He;const Pe=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":Pe.call(this)}})}(g),function Vt(g){g.__load_patch("util",(E,re,M)=>{const se=we(E);M.patchOnProperties=$,M.patchMethod=oe,M.bindArguments=de,M.patchMacroTask=ee;const fe=re.__symbol__("BLACK_LISTED_EVENTS"),He=re.__symbol__("UNPATCHED_EVENTS");E[He]&&(E[fe]=E[He]),E[fe]&&(re[fe]=re[He]=E[fe]),M.patchEventPrototype=lt,M.patchEventTarget=ie,M.isIEOrEdge=st,M.ObjectDefineProperty=x,M.ObjectGetOwnPropertyDescriptor=m,M.ObjectCreate=L,M.ArraySlice=J,M.patchClass=me,M.wrapWithCurrentZone=C,M.filterProperties=Le,M.attachOriginToPatched=I,M._redefineProperty=Object.defineProperty,M.patchCallbacks=mt,M.getGlobalObjects=()=>({globalSources:Rt,zoneSymbolEventNames:Dt,eventNames:se,isBrowser:T,isMix:ne,isNode:ve,TRUE_STR:b,FALSE_STR:w,ZONE_SYMBOL_PREFIX:z,ADD_EVENT_LISTENER_STR:H,REMOVE_EVENT_LISTENER_STR:te})})}(g)})(Et),function Fe(g){g.__load_patch("legacy",E=>{const re=E[g.__symbol__("legacyPatch")];re&&re()}),g.__load_patch("timers",E=>{const M="clear";c(E,"set",M,"Timeout"),c(E,"set",M,"Interval"),c(E,"set",M,"Immediate")}),g.__load_patch("requestAnimationFrame",E=>{c(E,"request","cancel","AnimationFrame"),c(E,"mozRequest","mozCancel","AnimationFrame"),c(E,"webkitRequest","webkitCancel","AnimationFrame")}),g.__load_patch("blocking",(E,re)=>{const M=["alert","prompt","confirm"];for(let se=0;se<M.length;se++)oe(E,M[se],(He,Pe,$e)=>function(Ke,Ye){return re.current.run(He,E,Ye,$e)})}),g.__load_patch("EventTarget",(E,re,M)=>{(function le(g,E){E.patchEventPrototype(g,E)})(E,M),function q(g,E){if(Zone[E.symbol("patchEventTarget")])return;const{eventNames:re,zoneSymbolEventNames:M,TRUE_STR:se,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:He}=E.getGlobalObjects();for(let $e=0;$e<re.length;$e++){const Ke=re[$e],ot=He+(Ke+fe),ge=He+(Ke+se);M[Ke]={},M[Ke][fe]=ot,M[Ke][se]=ge}const Pe=g.EventTarget;Pe&&Pe.prototype&&E.patchEventTarget(g,E,[Pe&&Pe.prototype])}(E,M);const se=E.XMLHttpRequestEventTarget;se&&se.prototype&&M.patchEventTarget(E,M,[se.prototype])}),g.__load_patch("MutationObserver",(E,re,M)=>{me("MutationObserver"),me("WebKitMutationObserver")}),g.__load_patch("IntersectionObserver",(E,re,M)=>{me("IntersectionObserver")}),g.__load_patch("FileReader",(E,re,M)=>{me("FileReader")}),g.__load_patch("on_property",(E,re,M)=>{!function Ie(g,E){if(ve&&!ne||Zone[g.symbol("patchEvents")])return;const re=E.__Zone_ignore_on_properties;let M=[];if(T){const se=window;M=M.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const fe=function Be(){try{const g=_e.navigator.userAgent;if(-1!==g.indexOf("MSIE ")||-1!==g.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:se,ignoreProperties:["error"]}]:[];xe(se,we(se),re&&re.concat(fe),Y(se))}M=M.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let se=0;se<M.length;se++){const fe=E[M[se]];fe&&fe.prototype&&xe(fe.prototype,we(fe.prototype),re)}}(M,E)}),g.__load_patch("customElements",(E,re,M)=>{!function K(g,E){const{isBrowser:re,isMix:M}=E.getGlobalObjects();(re||M)&&g.customElements&&"customElements"in g&&E.patchCallbacks(E,g.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(E,M)}),g.__load_patch("XHR",(E,re)=>{!function Ke(Ye){const ze=Ye.XMLHttpRequest;if(!ze)return;const ot=ze.prototype;let Tt=ot[A],xt=ot[f];if(!Tt){const et=Ye.XMLHttpRequestEventTarget;if(et){const Xe=et.prototype;Tt=Xe[A],xt=Xe[f]}}const kt="readystatechange",qe="scheduled";function Te(et){const Xe=et.data,Ze=Xe.target;Ze[He]=!1,Ze[$e]=!1;const Lt=Ze[fe];Tt||(Tt=Ze[A],xt=Ze[f]),Lt&&xt.call(Ze,kt,Lt);const yt=Ze[fe]=()=>{if(Ze.readyState===Ze.DONE)if(!Xe.aborted&&Ze[He]&&et.state===qe){const Ve=Ze[re.__symbol__("loadfalse")];if(0!==Ze.status&&Ve&&Ve.length>0){const D=et.invoke;et.invoke=function(){const F=Ze[re.__symbol__("loadfalse")];for(let Ae=0;Ae<F.length;Ae++)F[Ae]===et&&F.splice(Ae,1);!Xe.aborted&&et.state===qe&&D.call(et)},Ve.push(et)}else et.invoke()}else!Xe.aborted&&!1===Ze[He]&&(Ze[$e]=!0)};return Tt.call(Ze,kt,yt),Ze[M]||(Ze[M]=et),Ne.apply(Ze,Xe.args),Ze[He]=!0,et}function Ee(){}function pt(et){const Xe=et.data;return Xe.aborted=!0,it.apply(Xe.target,Xe.args)}const gt=oe(ot,"open",()=>function(et,Xe){return et[se]=0==Xe[2],et[Pe]=Xe[1],gt.apply(et,Xe)}),vt=y("fetchTaskAborting"),Ue=y("fetchTaskScheduling"),Ne=oe(ot,"send",()=>function(et,Xe){if(!0===re.current[Ue]||et[se])return Ne.apply(et,Xe);{const Ze={target:et,url:et[Pe],isPeriodic:!1,args:Xe,aborted:!1},Lt=k("XMLHttpRequest.send",Ee,Ze,Te,pt);et&&!0===et[$e]&&!Ze.aborted&&Lt.state===qe&&Lt.invoke()}}),it=oe(ot,"abort",()=>function(et,Xe){const Ze=function ge(et){return et[M]}(et);if(Ze&&"string"==typeof Ze.type){if(null==Ze.cancelFn||Ze.data&&Ze.data.aborted)return;Ze.zone.cancelTask(Ze)}else if(!0===re.current[vt])return it.apply(et,Xe)})}(E);const M=y("xhrTask"),se=y("xhrSync"),fe=y("xhrListener"),He=y("xhrScheduled"),Pe=y("xhrURL"),$e=y("xhrErrorBeforeScheduled")}),g.__load_patch("geolocation",E=>{E.navigator&&E.navigator.geolocation&&function Z(g,E){const re=g.constructor.name;for(let M=0;M<E.length;M++){const se=E[M],fe=g[se];if(fe){if(!ke(m(g,se)))continue;g[se]=(Pe=>{const $e=function(){return Pe.apply(this,de(arguments,re+"."+se))};return I($e,Pe),$e})(fe)}}}(E.navigator.geolocation,["getCurrentPosition","watchPosition"])}),g.__load_patch("PromiseRejectionEvent",(E,re)=>{function M(se){return function(fe){Se(E,se).forEach(Pe=>{const $e=E.PromiseRejectionEvent;if($e){const Ke=new $e(se,{promise:fe.promise,reason:fe.rejection});Pe.invoke(Ke)}})}}E.PromiseRejectionEvent&&(re[y("unhandledPromiseRejectionHandler")]=M("unhandledrejection"),re[y("rejectionHandledHandler")]=M("rejectionhandled"))}),g.__load_patch("queueMicrotask",(E,re,M)=>{!function Ct(g,E){E.patchMethod(g,"queueMicrotask",re=>function(M,se){Zone.current.scheduleMicroTask("queueMicrotask",se[0])})}(E,M)})}(Et)},5215:(Ce,V,l)=>{function L(v,N,U,P){var me,$=arguments.length,W=$<3?N:null===P?P=Object.getOwnPropertyDescriptor(N,U):P;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)W=Reflect.decorate(v,N,U,P);else for(var oe=v.length-1;oe>=0;oe--)(me=v[oe])&&(W=($<3?me(W):$>3?me(N,U,W):me(N,U))||W);return $>3&&W&&Object.defineProperty(N,U,W),W}function H(v,N){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(v,N)}function te(v,N,U,P){return new(U||(U=Promise))(function(W,me){function oe(ce){try{I(P.next(ce))}catch(Oe){me(Oe)}}function ee(ce){try{I(P.throw(ce))}catch(Oe){me(Oe)}}function I(ce){ce.done?W(ce.value):function $(W){return W instanceof U?W:new U(function(me){me(W)})}(ce.value).then(oe,ee)}I((P=P.apply(v,N||[])).next())})}function X(v){return this instanceof X?(this.v=v,this):new X(v)}function _e(v,N,U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $,P=U.apply(v,N||[]),W=[];return $={},me("next"),me("throw"),me("return"),$[Symbol.asyncIterator]=function(){return this},$;function me(Be){P[Be]&&($[Be]=function(st){return new Promise(function(rt,Me){W.push([Be,st,rt,Me])>1||oe(Be,st)})})}function oe(Be,st){try{!function ee(Be){Be.value instanceof X?Promise.resolve(Be.value.v).then(I,ce):Oe(W[0][2],Be)}(P[Be](st))}catch(rt){Oe(W[0][3],rt)}}function I(Be){oe("next",Be)}function ce(Be){oe("throw",Be)}function Oe(Be,st){Be(st),W.shift(),W.length&&oe(W[0][0],W[0][1])}}function ye(v){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var U,N=v[Symbol.asyncIterator];return N?N.call(v):(v=function w(v){var N="function"==typeof Symbol&&Symbol.iterator,U=N&&v[N],P=0;if(U)return U.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&P>=v.length&&(v=void 0),{value:v&&v[P++],done:!v}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}(v),U={},P("next"),P("throw"),P("return"),U[Symbol.asyncIterator]=function(){return this},U);function P(W){U[W]=v[W]&&function(me){return new Promise(function(oe,ee){!function $(W,me,oe,ee){Promise.resolve(ee).then(function(I){W({value:I,done:oe})},me)}(oe,ee,(me=v[W](me)).done,me.value)})}}}l.d(V,{AQ:()=>_e,Cg:()=>L,N3:()=>X,Sn:()=>H,sH:()=>te,xN:()=>ye})},6344:(Ce,V,l)=>{l.d(V,{vr:()=>tt,MQ:()=>je});var t=l(3953),m=l(9417),x=l(6977),Y=l(3236),L=l(9974),J=l(8750),H=l(4360),A=l(1584);var b=l(6365),z=l(9326),C=l(2806);function k(...u){return function w(){return(0,b.U)(1)}()((0,C.H)(u,(0,z.lI)(u)))}var X=l(8071),_e=l(3669),de=l(5964),Z=l(6354),ke=l(536),S=l(6780);let T,ve=1;const ne={};function v(u){return u in ne&&(delete ne[u],!0)}const N={setImmediate(u){const _=ve++;return ne[_]=!0,T||(T=Promise.resolve()),T.then(()=>v(_)&&u()),_},clearImmediate(u){v(u)}},{setImmediate:P,clearImmediate:$}=N,W={setImmediate(...u){const{delegate:_}=W;return(_?.setImmediate||P)(...u)},clearImmediate(u){const{delegate:_}=W;return(_?.clearImmediate||$)(u)},delegate:void 0};var oe=l(3604);const I=new class ee extends oe.q{flush(_){this._active=!0;const o=this._scheduled;this._scheduled=void 0;const{actions:d}=this;let p;_=_||d.shift();do{if(p=_.execute(_.state,_.delay))break}while((_=d[0])&&_.id===o&&d.shift());if(this._active=!1,p){for(;(_=d[0])&&_.id===o&&d.shift();)_.unsubscribe();throw p}}}(class me extends S.R{constructor(_,o){super(_,o),this.scheduler=_,this.work=o}requestAsyncId(_,o,d=0){return null!==d&&d>0?super.requestAsyncId(_,o,d):(_.actions.push(this),_._scheduled||(_._scheduled=W.setImmediate(_.flush.bind(_,void 0))))}recycleAsyncId(_,o,d=0){var p;if(null!=d?d>0:this.delay>0)return super.recycleAsyncId(_,o,d);const{actions:G}=_;null!=o&&(null===(p=G[G.length-1])||void 0===p?void 0:p.id)!==o&&(W.clearImmediate(o),_._scheduled=void 0)}});var Oe=l(1413),Be=l(3726),st=l(7786),rt=l(177);const Me=["content"],wt=["scroll"],Pt=["padding"],Dt=["*"],Rt=u=>({searchTerm:u});function B(u,_){if(1&u&&(t.j41(0,"div",3),t.eu8(1,6),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngTemplateOutlet",o.headerTemplate)("ngTemplateOutletContext",t.eq3(2,Rt,o.filterValue))}}function he(u,_){if(1&u&&(t.j41(0,"div",5),t.eu8(1,6),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngTemplateOutlet",o.footerTemplate)("ngTemplateOutletContext",t.eq3(2,Rt,o.filterValue))}}const O=["searchInput"],ie=["clearButton"],Se=(u,_,o)=>({item:u,clear:_,label:o}),lt=(u,_)=>({items:u,clear:_}),Ct=(u,_,o,d)=>({item:u,item$:_,index:o,searchTerm:d});function Qe(u,_){if(1&u&&(t.j41(0,"div",20),t.EFF(1),t.k0s()),2&u){const o=t.XpG(2);t.R7$(),t.JRh(o.placeholder)}}function c(u,_){}function K(u,_){if(1&u&&t.DNE(0,Qe,2,1,"ng-template",null,1,t.C5r)(2,c,0,0,"ng-template",19),2&u){const o=t.sdS(1),d=t.XpG();t.R7$(2),t.Y8G("ngTemplateOutlet",d.placeholderTemplate||o)}}function q(u,_){if(1&u){const o=t.RV6();t.j41(0,"span",23),t.bIt("click",function(){t.eBV(o);const p=t.XpG().$implicit,G=t.XpG(2);return t.Njj(G.unselect(p))}),t.EFF(1,"\xd7"),t.k0s(),t.nrm(2,"span",24)}if(2&u){const o=t.XpG().$implicit,d=t.XpG(2);t.R7$(2),t.Y8G("ngItemLabel",o.label)("escape",d.escapeHTML)}}function le(u,_){}function Le(u,_){if(1&u&&(t.j41(0,"div",22),t.DNE(1,q,3,2,"ng-template",null,2,t.C5r)(3,le,0,0,"ng-template",12),t.k0s()),2&u){const o=_.$implicit,d=t.sdS(2),p=t.XpG(2);t.AVh("ng-value-disabled",o.disabled),t.R7$(3),t.Y8G("ngTemplateOutlet",p.labelTemplate||d)("ngTemplateOutletContext",t.sMw(4,Se,o.value,p.clearItem,o.label))}}function xe(u,_){if(1&u&&t.Z7z(0,Le,4,8,"div",21,t.BUC().trackByOption,!0),2&u){const o=t.XpG();t.Dyx(o.selectedItems)}}function we(u,_){}function Ie(u,_){if(1&u&&t.DNE(0,we,0,0,"ng-template",12),2&u){const o=t.XpG();t.Y8G("ngTemplateOutlet",o.multiLabelTemplate)("ngTemplateOutletContext",t.l_i(2,lt,o.selectedValues,o.clearItem))}}function Fe(u,_){1&u&&t.nrm(0,"div",25)}function Re(u,_){}function ft(u,_){if(1&u&&t.DNE(0,Fe,1,0,"ng-template",null,3,t.C5r)(2,Re,0,0,"ng-template",19),2&u){const o=t.sdS(1),d=t.XpG();t.R7$(2),t.Y8G("ngTemplateOutlet",d.loadingSpinnerTemplate||o)}}function mt(u,_){if(1&u&&(t.j41(0,"span",15,4)(2,"span",26),t.EFF(3,"\xd7"),t.k0s()()),2&u){const o=t.XpG();t.FS9("title",o.clearAllText)}}function Vt(u,_){if(1&u&&t.nrm(0,"span",31),2&u){const o=t.XpG().$implicit,d=t.XpG(2);t.Y8G("ngItemLabel",o.label)("escape",d.escapeHTML)}}function Mt(u,_){}function Et(u,_){if(1&u){const o=t.RV6();t.j41(0,"div",30),t.bIt("click",function(){const p=t.eBV(o).$implicit,G=t.XpG(2);return t.Njj(G.toggleItem(p))})("mouseover",function(){const p=t.eBV(o).$implicit,G=t.XpG(2);return t.Njj(G.onItemHover(p))}),t.DNE(1,Vt,1,2,"ng-template",null,5,t.C5r)(3,Mt,0,0,"ng-template",12),t.k0s()}if(2&u){const o=_.$implicit,d=t.sdS(2),p=t.XpG(2);t.AVh("ng-option-disabled",o.disabled)("ng-option-selected",o.selected)("ng-optgroup",o.children)("ng-option",!o.children)("ng-option-child",!!o.parent)("ng-option-marked",o===p.itemsList.markedItem),t.BMQ("role",o.children?"group":"option")("aria-selected",o.selected)("id",null==o?null:o.htmlId),t.R7$(3),t.Y8G("ngTemplateOutlet",o.children?p.optgroupTemplate||d:p.optionTemplate||d)("ngTemplateOutletContext",t.ziG(17,Ct,o.value,o,o.index,p.searchTerm))}}function g(u,_){if(1&u&&(t.j41(0,"span")(1,"span",33),t.EFF(2),t.k0s(),t.EFF(3),t.k0s()),2&u){const o=t.XpG(3);t.R7$(2),t.JRh(o.addTagText),t.R7$(),t.SpI('"',o.searchTerm,'"')}}function E(u,_){}function re(u,_){if(1&u){const o=t.RV6();t.j41(0,"div",32),t.bIt("mouseover",function(){t.eBV(o);const p=t.XpG(2);return t.Njj(p.itemsList.unmarkItem())})("click",function(){t.eBV(o);const p=t.XpG(2);return t.Njj(p.selectTag())}),t.DNE(1,g,4,2,"ng-template",null,6,t.C5r)(3,E,0,0,"ng-template",12),t.k0s()}if(2&u){const o=t.sdS(2),d=t.XpG(2);t.AVh("ng-option-marked",!d.itemsList.markedItem),t.R7$(3),t.Y8G("ngTemplateOutlet",d.tagTemplate||o)("ngTemplateOutletContext",t.eq3(4,Rt,d.searchTerm))}}function M(u,_){if(1&u&&(t.j41(0,"div",34),t.EFF(1),t.k0s()),2&u){const o=t.XpG(3);t.R7$(),t.JRh(o.notFoundText)}}function se(u,_){}function fe(u,_){if(1&u&&t.DNE(0,M,2,1,"ng-template",null,7,t.C5r)(2,se,0,0,"ng-template",12),2&u){const o=t.sdS(1),d=t.XpG(2);t.R7$(2),t.Y8G("ngTemplateOutlet",d.notFoundTemplate||o)("ngTemplateOutletContext",t.eq3(2,Rt,d.searchTerm))}}function He(u,_){if(1&u&&(t.j41(0,"div",34),t.EFF(1),t.k0s()),2&u){const o=t.XpG(3);t.R7$(),t.JRh(o.typeToSearchText)}}function Pe(u,_){}function $e(u,_){if(1&u&&t.DNE(0,He,2,1,"ng-template",null,8,t.C5r)(2,Pe,0,0,"ng-template",19),2&u){const o=t.sdS(1),d=t.XpG(2);t.R7$(2),t.Y8G("ngTemplateOutlet",d.typeToSearchTemplate||o)}}function Ke(u,_){if(1&u&&(t.j41(0,"div",34),t.EFF(1),t.k0s()),2&u){const o=t.XpG(3);t.R7$(),t.JRh(o.loadingText)}}function Ye(u,_){}function ze(u,_){if(1&u&&t.DNE(0,Ke,2,1,"ng-template",null,9,t.C5r)(2,Ye,0,0,"ng-template",12),2&u){const o=t.sdS(1),d=t.XpG(2);t.R7$(2),t.Y8G("ngTemplateOutlet",d.loadingTextTemplate||o)("ngTemplateOutletContext",t.eq3(2,Rt,d.searchTerm))}}function ot(u,_){if(1&u){const o=t.RV6();t.j41(0,"ng-dropdown-panel",27),t.bIt("update",function(p){t.eBV(o);const G=t.XpG();return t.Njj(G.viewPortItems=p)})("scroll",function(p){t.eBV(o);const G=t.XpG();return t.Njj(G.scroll.emit(p))})("scrollToEnd",function(p){t.eBV(o);const G=t.XpG();return t.Njj(G.scrollToEnd.emit(p))})("outsideClick",function(){t.eBV(o);const p=t.XpG();return t.Njj(p.close())}),t.qex(1),t.Z7z(2,Et,4,22,"div",28,t.BUC().trackByOption,!0),t.DNE(4,re,4,6,"div",29),t.bVm(),t.DNE(5,fe,3,4)(6,$e,3,1)(7,ze,3,4),t.k0s()}if(2&u){const o=t.XpG();t.AVh("ng-select-multiple",o.multiple),t.Y8G("virtualScroll",o.virtualScroll)("bufferAmount",o.bufferAmount)("appendTo",o.appendTo)("position",o.dropdownPosition)("headerTemplate",o.headerTemplate)("footerTemplate",o.footerTemplate)("filterValue",o.searchTerm)("items",o.itemsList.filteredItems)("markedItem",o.itemsList.markedItem)("ngClass",o.appendTo?o.ngClass?o.ngClass:o.classes:null)("id",o.dropdownId),t.R7$(2),t.Dyx(o.viewPortItems),t.R7$(2),t.vxM(o.showAddTag?4:-1),t.R7$(),t.vxM(o.showNoItemsFound()?5:-1),t.R7$(),t.vxM(o.showTypeToSearch()?6:-1),t.R7$(),t.vxM(o.loading&&0===o.itemsList.filteredItems.length?7:-1)}}const ge=/[&<>"']/g,Tt=RegExp(ge.source),xt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function qe(u){return null!=u}function Te(u){return"object"==typeof u&&qe(u)}function pt(u){return u instanceof Function}let gt=(()=>{class u{constructor(o){this.element=o,this.escape=!0}ngOnChanges(o){this.element.nativeElement.innerHTML=this.escape?function kt(u){return u&&Tt.test(u)?u.replace(ge,_=>xt[_]):u}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.aKT))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[t.OA$]})}return u})(),ut=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-option-tmp",""]],standalone:!0})}return u})(),vt=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}return u})(),Ue=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-label-tmp",""]],standalone:!0})}return u})(),Ne=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}return u})(),it=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-header-tmp",""]],standalone:!0})}return u})(),et=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-footer-tmp",""]],standalone:!0})}return u})(),Xe=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}return u})(),Ze=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}return u})(),Lt=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}return u})(),yt=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}return u})(),at=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-tag-tmp",""]],standalone:!0})}return u})(),Ve=(()=>{class u{constructor(o){this.template=o}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:u,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}return u})();function D(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const F={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function Ae(u){return u.replace(/[^\u0000-\u007E]/g,o=>F[o]||o)}class Je{constructor(_,o){this._ngSelect=_,this._selectionModel=o,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let _=this.selectedItems.length-1;for(;_>=0;_--){const o=this.selectedItems[_];if(!o.disabled)return o}return null}setItems(_){this._items=_.map((o,d)=>this.mapItem(o,d)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(_){if(_.selected||this.maxItemsSelected)return;const o=this._ngSelect.multiple;o||this.clearSelected(),this._selectionModel.select(_,o,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(_)}unselect(_){_.selected&&(this._selectionModel.unselect(_,this._ngSelect.multiple),this._ngSelect.hideSelected&&qe(_.index)&&this._ngSelect.multiple&&this._showSelected(_))}findItem(_){let o;return o=this._ngSelect.compareWith?d=>this._ngSelect.compareWith(d.value,_):this._ngSelect.bindValue?d=>!d.children&&this.resolveNested(d.value,this._ngSelect.bindValue)===_:d=>d.value===_||!d.children&&d.label&&d.label===this.resolveNested(_,this._ngSelect.bindLabel),this._items.find(d=>o(d))}addItem(_){const o=this.mapItem(_,this._items.length);return this._items.push(o),this._filteredItems.push(o),o}clearSelected(_=!1){this._selectionModel.clear(_),this._items.forEach(o=>{o.selected=_&&o.selected&&o.disabled,o.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(_){return _=Ae(_).toLocaleLowerCase(),this.filteredItems.find(o=>Ae(o.label).toLocaleLowerCase().substr(0,_.length)===_)}filter(_){if(!_)return void this.resetFilteredItems();this._filteredItems=[],_=this._ngSelect.searchFn?_:Ae(_).toLocaleLowerCase();const o=this._ngSelect.searchFn||this._defaultSearchFn,d=this._ngSelect.hideSelected;for(const p of Array.from(this._groups.keys())){const G=[];for(const ae of this._groups.get(p))d&&(ae.parent&&ae.parent.selected||ae.selected)||o(_,this._ngSelect.searchFn?ae.value:ae)&&G.push(ae);if(G.length>0){const[ae]=G.slice(-1);if(ae.parent){const We=this._items.find(ht=>ht===ae.parent);this._filteredItems.push(We)}this._filteredItems.push(...G)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(_=>!_.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(_){this._markedIndex=this._filteredItems.indexOf(_)}markSelectedOrDefault(_){if(0===this._filteredItems.length)return;const o=this._getLastMarkedIndex();this._markedIndex=o>-1?o:_?this.filteredItems.findIndex(d=>!d.disabled):-1}resolveNested(_,o){if(!Te(_))return _;if(-1===o.indexOf("."))return _[o];{const d=o.split(".");let p=_;for(let G=0,ae=d.length;G<ae;++G){if(null==p)return null;p=p[d[G]]}return p}}mapItem(_,o){const d=qe(_.$ngOptionLabel)?_.$ngOptionLabel:this.resolveNested(_,this._ngSelect.bindLabel),p=qe(_.$ngOptionValue)?_.$ngOptionValue:_;return{index:o,label:qe(d)?d.toString():"",value:p,disabled:_.disabled,htmlId:`${this._ngSelect.dropdownId}-${o}`}}mapSelectedItems(){const _=this._ngSelect.multiple;for(const o of this.selectedItems){const d=this._ngSelect.bindValue?this.resolveNested(o.value,this._ngSelect.bindValue):o.value,p=qe(d)?this.findItem(d):null;this._selectionModel.unselect(o,_),this._selectionModel.select(p||o,_,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(o=>-1===this.selectedItems.indexOf(o)))}_showSelected(_){if(this._filteredItems.push(_),_.parent){const o=_.parent;this._filteredItems.find(p=>p===o)||this._filteredItems.push(o)}else if(_.children)for(const o of _.children)o.selected=!1,this._filteredItems.push(o);this._filteredItems=[...this._filteredItems.sort((o,d)=>o.index-d.index)]}_hideSelected(_){this._filteredItems=this._filteredItems.filter(o=>o!==_),_.parent?_.parent.children.every(d=>d.selected)&&(this._filteredItems=this._filteredItems.filter(d=>d!==_.parent)):_.children&&(this._filteredItems=this.filteredItems.filter(o=>o.parent!==_))}_defaultSearchFn(_,o){return Ae(o.label).toLocaleLowerCase().indexOf(_)>-1}_getNextItemIndex(_){return _>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(_){0===this._filteredItems.length||this._filteredItems.every(o=>o.disabled)||(this._markedIndex=this._getNextItemIndex(_),this.markedItem.disabled&&this._stepToItem(_))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const _=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&_<0?-1:Math.max(this.markedIndex,_)}_groupBy(_,o){const d=new Map;if(0===_.length)return d;if(Array.isArray(_[0].value[o])){for(const ae of _){const We=(ae.value[o]||[]).map((ht,nt)=>this.mapItem(ht,nt));d.set(ae,We)}return d}const p=pt(this._ngSelect.groupBy),G=ae=>{const We=p?o(ae.value):ae.value[o];return qe(We)?We:void 0};for(const ae of _){const We=G(ae),ht=d.get(We);ht?ht.push(ae):d.set(We,[ae])}return d}_flatten(_){const o=pt(this._ngSelect.groupBy),d=[];for(const p of Array.from(_.keys())){let G=d.length;if(void 0===p){const Yt=_.get(void 0)||[];d.push(...Yt.map(Ht=>(Ht.index=G++,Ht)));continue}const ae=Te(p),We={label:ae?"":String(p),children:void 0,parent:null,index:G++,disabled:!this._ngSelect.selectableGroup,htmlId:D()},ht=o?this._ngSelect.bindLabel:this._ngSelect.groupBy,nt=this._ngSelect.groupValue||(()=>ae?p.value:{[ht]:p}),jt=_.get(p).map(Yt=>(Yt.parent=We,Yt.children=void 0,Yt.index=G++,Yt));We.children=jt,We.value=nt(p,jt.map(Yt=>Yt.value)),d.push(We),d.push(...jt)}return d}}var ct=function(u){return u[u.Tab=9]="Tab",u[u.Enter=13]="Enter",u[u.Esc=27]="Esc",u[u.Space=32]="Space",u[u.ArrowUp=38]="ArrowUp",u[u.ArrowDown=40]="ArrowDown",u[u.Backspace=8]="Backspace",u}(ct||{});let _t=(()=>{class u{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(o,d,p){const G=this._dimensions,ae=G.itemHeight*d,ht=Math.max(0,o)/ae*d;let nt=Math.min(d,Math.ceil(ht)+(G.itemsPerViewport+1));const Yt=Math.max(0,nt-G.itemsPerViewport);let Ht=Math.min(Yt,Math.floor(ht)),Xt=G.itemHeight*Math.ceil(Ht)-G.itemHeight*Math.min(Ht,p);return Xt=isNaN(Xt)?0:Xt,Ht=isNaN(Ht)?-1:Ht,nt=isNaN(nt)?-1:nt,Ht-=p,Ht=Math.max(0,Ht),nt+=p,nt=Math.min(d,nt),{topPadding:Xt,scrollHeight:ae,start:Ht,end:nt}}setDimensions(o,d){const p=Math.max(1,Math.floor(d/o));this._dimensions={itemHeight:o,panelHeight:d,itemsPerViewport:p}}getScrollTo(o,d,p){const{panelHeight:G}=this.dimensions,ae=o+d,ht=p+G;return G>=ae&&p===o?null:ae>ht?p+ae-ht:o<=p?o:null}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=t.jDH({token:u,factory:u.\u0275fac})}return u})();const Ut=["top","right","bottom","left"],$t=typeof requestAnimationFrame<"u"?ke.X:I;let Wt=(()=>{class u{constructor(o,d,p,G,ae){this._renderer=o,this._zone=d,this._panelService=p,this._document=ae,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new t.bkB,this.scroll=new t.bkB,this.scrollToEnd=new t.bkB,this.outsideClick=new t.bkB,this._destroy$=new Oe.B,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=G.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(o){o!==this._itemsLength&&(this._itemsLength=o,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:o,panelHeight:d}=this._panelService.dimensions,p=this.markedItem.index*o;return d>p?0:p}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(o){if(o.items){const d=o.items;this._onItemsChange(d.currentValue,d.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(o,d=!1){if(!o)return;const p=this.items.indexOf(o);if(p<0||p>=this.itemsLength)return;let G;if(this.virtualScroll){const ae=this._panelService.dimensions.itemHeight;G=this._panelService.getScrollTo(p*ae,ae,this._lastScrollPosition)}else{const ae=this._dropdown.querySelector(`#${o.htmlId}`);G=this._panelService.getScrollTo(ae.offsetTop,ae.clientHeight,d?ae.offsetTop:this._lastScrollPosition)}qe(G)&&(this._scrollablePanel.scrollTop=G)}scrollToTag(){const o=this._scrollablePanel;o.scrollTop=o.scrollHeight-o.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Ut.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(o){Ut.forEach(p=>{const G=`ng-select-${p}`;this._renderer.removeClass(this._dropdown,G),this._renderer.removeClass(this._select,G)});const d=`ng-select-${o}`;this._renderer.addClass(this._dropdown,d),this._renderer.addClass(this._select,d)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Be.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,x.Q)(this._destroy$),function f(u,_=Y.E){return function te(u){return(0,L.N)((_,o)=>{let d=!1,p=null,G=null,ae=!1;const We=()=>{if(G?.unsubscribe(),G=null,d){d=!1;const nt=p;p=null,o.next(nt)}ae&&o.complete()},ht=()=>{G=null,ae&&o.complete()};_.subscribe((0,H._)(o,nt=>{d=!0,p=nt,G||(0,J.Tg)(u(nt)).subscribe(G=(0,H._)(o,We,ht))},()=>{ae=!0,(!d||!G||G.closed)&&o.complete()}))})}(()=>(0,A.O)(u,_))}(0,$t)).subscribe(o=>{const d=o.path||o.composedPath&&o.composedPath();d&&(0!==d.length||o.target)&&this._onContentScrolled(d&&0!==d.length?d[0].scrollTop:o.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,st.h)((0,Be.R)(this._document,"touchstart",{capture:!0}),(0,Be.R)(this._document,"click",{capture:!0})).pipe((0,x.Q)(this._destroy$)).subscribe(o=>this._checkToClose(o))})}_checkToClose(o){if(this._select.contains(o.target)||this._dropdown.contains(o.target))return;const d=o.path||o.composedPath&&o.composedPath();o.target&&o.target.shadowRoot&&d&&d[0]&&this._select.contains(d[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(o,d){this.items=o||[],this._scrollToEndFired=!1,this.itemsLength=o.length,this.virtualScroll?this._updateItemsRange(d):(this._setVirtualHeight(),this._updateItems(d))}_updateItems(o){this.update.emit(this.items),!1!==o&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,o)})})}_updateItemsRange(o){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{o?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(o){this.virtualScroll&&this._renderItemsRange(o),this._lastScrollPosition=o,this._fireScrollToEnd(o)}_updateVirtualHeight(o){this._updateScrollHeight&&(this._virtualPadding.style.height=`${o}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(o=null){if(o&&this._lastScrollPosition===o)return;const d=this._panelService.calculateItems(o=o||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(d.scrollHeight),this._contentPanel.style.transform=`translateY(${d.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(d.start,d.end)),this.scroll.emit({start:d.start,end:d.end})}),qe(o)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=o,this._lastScrollPosition=o)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[o]=this.items;return this.update.emit([o]),Promise.resolve().then(()=>{const p=this._dropdown.querySelector(`#${o.htmlId}`).clientHeight;return this._virtualPadding.style.height=p*this.itemsLength+"px",this._panelService.setDimensions(p,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(o){this._scrollToEndFired||0===o||o+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(o){if("auto"!==this.position)return this.position;const d=this._select.getBoundingClientRect(),p=document.documentElement.scrollTop||document.body.scrollTop;return d.top+window.pageYOffset+d.height+o.getBoundingClientRect().height>p+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const o=this._select.getBoundingClientRect(),d=this._parent.getBoundingClientRect();this._dropdown.style.left=o.left-d.left+"px",this._dropdown.style.width=o.width+"px",this._dropdown.style.minWidth=o.width+"px"}_updateYPosition(){const o=this._select.getBoundingClientRect(),d=this._parent.getBoundingClientRect(),p=o.height;"top"===this._currentPosition?(this._dropdown.style.bottom=d.bottom-o.bottom+p+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=o.top-d.top+p+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Be.R)(this._dropdown,"mousedown").pipe((0,x.Q)(this._destroy$)).subscribe(o=>{"INPUT"!==o.target.tagName&&o.preventDefault()})})}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.sFG),t.rXU(t.SKi),t.rXU(_t),t.rXU(t.aKT),t.rXU(rt.qQ,8))};static#t=this.\u0275cmp=t.VBU({type:u,selectors:[["ng-dropdown-panel"]],viewQuery:function(d,p){if(1&d&&(t.GBs(Me,7,t.aKT),t.GBs(wt,7,t.aKT),t.GBs(Pt,7,t.aKT)),2&d){let G;t.mGM(G=t.lsd())&&(p.contentElementRef=G.first),t.mGM(G=t.lsd())&&(p.scrollElementRef=G.first),t.mGM(G=t.lsd())&&(p.paddingElementRef=G.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",t.L39],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[t.GFd,t.OA$,t.aNF],ngContentSelectors:Dt,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(d,p){1&d&&(t.NAR(),t.DNE(0,B,2,4,"div",3),t.j41(1,"div",4,0),t.nrm(3,"div",null,1),t.j41(5,"div",null,2),t.SdG(7),t.k0s()(),t.DNE(8,he,2,4,"div",5)),2&d&&(t.vxM(p.headerTemplate?0:-1),t.R7$(3),t.AVh("total-padding",p.virtualScroll),t.R7$(2),t.AVh("scrollable-content",p.virtualScroll&&p.items.length),t.R7$(3),t.vxM(p.footerTemplate?8:-1))},dependencies:[rt.T3],encapsulation:2,changeDetection:0})}return u})(),Nt=(()=>{class u{constructor(o){this.elementRef=o,this.disabled=!1,this.stateChange$=new Oe.B}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(o){o.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(d){return new(d||u)(t.rXU(t.aKT))};static#t=this.\u0275cmp=t.VBU({type:u,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",t.L39]},standalone:!0,features:[t.GFd,t.OA$,t.aNF],ngContentSelectors:Dt,decls:1,vars:0,template:function(d,p){1&d&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}return u})();function De(){return new be}class be{constructor(){this._selected=[]}get value(){return this._selected}select(_,o,d){if(_.selected=!0,(!_.children||!o&&d)&&this._selected.push(_),o)if(_.parent){const p=_.parent.children.length,G=_.parent.children.filter(ae=>ae.selected).length;_.parent.selected=p===G}else _.children&&(this._setChildrenSelectedState(_.children,!0),this._removeChildren(_),this._selected=d&&this._activeChildren(_)?[...this._selected.filter(p=>p.parent!==_),_]:[...this._selected,..._.children.filter(p=>!p.disabled)])}unselect(_,o){if(this._selected=this._selected.filter(d=>d!==_),_.selected=!1,o)if(_.parent&&_.parent.selected){const d=_.parent.children;this._removeParent(_.parent),this._removeChildren(_.parent),this._selected.push(...d.filter(p=>p!==_&&!p.disabled)),_.parent.selected=!1}else _.children&&(this._setChildrenSelectedState(_.children,!1),this._removeChildren(_))}clear(_){this._selected=_?this._selected.filter(o=>o.disabled):[]}_setChildrenSelectedState(_,o){for(const d of _)d.disabled||(d.selected=o)}_removeChildren(_){this._selected=[...this._selected.filter(o=>o.parent!==_),..._.children.filter(o=>o.parent===_&&o.disabled&&o.selected)]}_removeParent(_){this._selected=this._selected.filter(o=>o!==_)}_activeChildren(_){return _.children.every(o=>!o.disabled||o.selected)}}let j=(()=>{class u{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=t.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),pe=(()=>{class u{warn(o){console.warn(o)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=t.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Ge=new t.nKC("ng-select-selection-model");let tt=(()=>{class u{constructor(o,d,p,G,ae,We,ht){this.classes=o,this.autoFocus=d,this.config=p,this._cd=We,this._console=ht,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new t.bkB,this.focusEvent=new t.bkB,this.changeEvent=new t.bkB,this.openEvent=new t.bkB,this.closeEvent=new t.bkB,this.searchEvent=new t.bkB,this.clearEvent=new t.bkB,this.addEvent=new t.bkB,this.removeEvent=new t.bkB,this.scroll=new t.bkB,this.scrollToEnd=new t.bkB,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=D(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Oe.B,this._keyPress$=new Oe.B,this._items=[],this.keyDownFn=nt=>!0,this.clearItem=nt=>{const jt=this.selectedItems.find(Yt=>Yt.value===nt);this.unselect(jt)},this.trackByOption=(nt,jt)=>this.trackByFn?this.trackByFn(jt.value):jt,this._onChange=nt=>{},this._onTouched=()=>{},this._mergeGlobalConfig(p),this.itemsList=new Je(this,G?G():De()),this.element=ae.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(o){this._itemsAreUsed=!0,this._items=o??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(o){if(null!=o&&!pt(o))throw Error("`compareWith` must be a function.");this._compareWith=o}get clearSearchOnAdd(){return qe(this._clearSearchOnAdd)?this._clearSearchOnAdd:qe(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(o){this._clearSearchOnAdd=o}get deselectOnClick(){return qe(this._deselectOnClick)?this._deselectOnClick:qe(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(o){this._deselectOnClick=o}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(o=>o.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;const o=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(d=>d.label.toLowerCase()===o)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(d=>d.label.toLowerCase()===o))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const o=this.searchTerm&&this.searchTerm.trim();return o&&o.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(o){o.multiple&&this.itemsList.clearSelected(),o.items&&this._setItems(o.items.currentValue||[]),o.isOpen&&(this._manualOpen=qe(o.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),qe(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(o){if(ct[o.which]){if(!1===this.keyDownFn(o))return;this.handleKeyCode(o)}else o.key&&1===o.key.length&&this._keyPress$.next(o.key.toLocaleLowerCase())}handleKeyCode(o){this.clearButton&&this.clearButton.nativeElement===o.target?this.handleKeyCodeClear(o):this.handleKeyCodeInput(o)}handleKeyCodeInput(o){switch(o.which){case ct.ArrowDown:this._handleArrowDown(o);break;case ct.ArrowUp:this._handleArrowUp(o);break;case ct.Space:this._handleSpace(o);break;case ct.Enter:this._handleEnter(o);break;case ct.Tab:this._handleTab(o);break;case ct.Esc:this.close(),o.preventDefault();break;case ct.Backspace:this._handleBackspace()}}handleKeyCodeClear(o){o.which===ct.Enter&&(this.handleClearClick(),o.preventDefault())}handleMousedown(o){if(this.preventToggleOnRightClick&&2===o.button)return!1;const d=o.target;"INPUT"!==d.tagName&&o.preventDefault(),d.classList.contains("ng-clear-wrapper")?this.handleClearClick():d.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():d.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(o){this.itemsList.clearSelected(),this._handleWriteValue(o),this._cd.markForCheck()}registerOnChange(o){this._onChange=o}registerOnTouched(o){this._onTouched=o}setDisabledState(o){this._disabled=o,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(o){!o||o.disabled||this.disabled||(this.deselectOnClick&&o.selected?this.unselect(o):this.select(o),this._editableSearchTerm&&this._setSearchTermFromItems())}select(o){o.selected||(this.itemsList.select(o),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(o.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(o){o&&(this.itemsList.unselect(o),this.focus(),this._updateNgModel(),this.removeEvent.emit(o.value),this._onSelectionChanged())}selectTag(){let o;o=pt(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const d=p=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(p,null):this.itemsList.addItem(p);!function Ee(u){return u instanceof Promise}(o)?o&&this.select(d(o)):o.then(p=>this.select(d(p))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){const o=0===this.itemsList.filteredItems.length;return(o&&!this._isTypeahead&&!this.loading||o&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(o){this._isComposing=!1,!this.searchWhileComposing&&this.filter(o)}filter(o){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=o,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(o),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:o,items:this.itemsList.filteredItems.map(d=>d.value)}),this.open())}onInputFocus(o){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(o),this.focused=!0)}onInputBlur(o){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(o),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(o){o.disabled||this.itemsList.markItem(o)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const o=this.selectedItems&&this.selectedItems[0];this.searchTerm=o&&o.label||null}_setItems(o){const d=o[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=qe(d)?!Te(d):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(o),o.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&qe(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const o=p=>{this.items=p.map(G=>({$ngOptionValue:G.value,$ngOptionLabel:G.elementRef.nativeElement.innerHTML,disabled:G.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},d=()=>{const p=(0,st.h)(this.ngOptions.changes,this._destroy$);(0,st.h)(...this.ngOptions.map(G=>G.stateChange$)).pipe((0,x.Q)(p)).subscribe(G=>{const ae=this.itemsList.findItem(G.value);ae.disabled=G.disabled,ae.label=G.label||ae.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(function y(...u){const _=(0,z.lI)(u);return(0,L.N)((o,d)=>{(_?k(u,o,_):k(u,o)).subscribe(d)})}(this.ngOptions),(0,x.Q)(this._destroy$)).subscribe(p=>{this.bindLabel=this._defaultLabel,o(p),d()})}_isValidWriteValue(o){if(!qe(o)||this.multiple&&""===o||Array.isArray(o)&&0===o.length)return!1;const d=p=>!(!qe(this.compareWith)&&Te(p)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(p)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(o)?o.every(p=>d(p)):(this._console.warn("Multiple select ngModel should be array."),!1):d(o)}_handleWriteValue(o){if(!this._isValidWriteValue(o))return;const d=p=>{let G=this.itemsList.findItem(p);if(G)this.itemsList.select(G);else{const ae=Te(p);ae||!ae&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(p,null)):this.bindValue&&(G={[this.bindLabel]:null,[this.bindValue]:p},this.itemsList.select(this.itemsList.mapItem(G,null)))}};this.multiple?o.forEach(p=>d(p)):d(o)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,x.Q)(this._destroy$),function Q(u,_,o){const d=(0,X.T)(u)||_||o?{next:u,error:_,complete:o}:u;return d?(0,L.N)((p,G)=>{var ae;null===(ae=d.subscribe)||void 0===ae||ae.call(d);let We=!0;p.subscribe((0,H._)(G,ht=>{var nt;null===(nt=d.next)||void 0===nt||nt.call(d,ht),G.next(ht)},()=>{var ht;We=!1,null===(ht=d.complete)||void 0===ht||ht.call(d),G.complete()},ht=>{var nt;We=!1,null===(nt=d.error)||void 0===nt||nt.call(d,ht),G.error(ht)},()=>{var ht,nt;We&&(null===(ht=d.unsubscribe)||void 0===ht||ht.call(d)),null===(nt=d.finalize)||void 0===nt||nt.call(d)}))}):_e.D}(o=>this._pressedKeys.push(o)),function ye(u,_=Y.E){return(0,L.N)((o,d)=>{let p=null,G=null,ae=null;const We=()=>{if(p){p.unsubscribe(),p=null;const nt=G;G=null,d.next(nt)}};function ht(){const nt=ae+u,jt=_.now();if(jt<nt)return p=this.schedule(void 0,nt-jt),void d.add(p);We()}o.subscribe((0,H._)(d,nt=>{G=nt,ae=_.now(),p||(p=_.schedule(ht,u),d.add(p))},()=>{We(),d.complete()},void 0,()=>{G=p=null}))})}(200),(0,de.p)(()=>this._pressedKeys.length>0),(0,Z.T)(()=>this._pressedKeys.join(""))).subscribe(o=>{const d=this.itemsList.findByLabel(o);d&&(this.isOpen?(this.itemsList.markItem(d),this._scrollToMarked(),this._cd.markForCheck()):this.select(d)),this._pressedKeys=[]})}_setInputAttributes(){const o=this.searchInput.nativeElement,d={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const p of Object.keys(d))o.setAttribute(p,d[p])}_updateNgModel(){const o=[];for(const p of this.selectedItems)if(this.bindValue){let G=null;G=p.children?p.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(p.value,this.bindValue),o.push(G)}else o.push(p.value);const d=this.selectedItems.map(p=>p.value);this.multiple?(this._onChange(o),this.changeEvent.emit(d)):(this._onChange(qe(o[0])?o[0]:null),this.changeEvent.emit(d[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(o){this.searchTerm=o,this._isTypeahead&&this.typeahead.next(o)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(o){if(!1===this.isOpen)if(this.showClear()&&!o.shiftKey)this.focusOnClear(),o.preventDefault();else if(!this.addTag)return;this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),o.preventDefault()):this.showAddTag?(this.selectTag(),o.preventDefault()):this.close():this.close()}_handleEnter(o){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}o.preventDefault()}_handleSpace(o){this.isOpen||this._manualOpen||(this.open(),o.preventDefault())}_handleArrowDown(o){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),o.preventDefault()}_handleArrowUp(o){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),o.preventDefault())}_nextItemIsTag(o){const d=this.itemsList.markedIndex+o;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(d<0||d===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(o){this.placeholder=this.placeholder||o.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||o.fixedPlaceholder,this.notFoundText=this.notFoundText||o.notFoundText,this.typeToSearchText=this.typeToSearchText||o.typeToSearchText,this.addTagText=this.addTagText||o.addTagText,this.loadingText=this.loadingText||o.loadingText,this.clearAllText=this.clearAllText||o.clearAllText,this.virtualScroll=qe(this.virtualScroll)?this.virtualScroll:!!qe(o.disableVirtualScroll)&&!o.disableVirtualScroll,this.openOnEnter=qe(this.openOnEnter)?this.openOnEnter:o.openOnEnter,this.appendTo=this.appendTo||o.appendTo,this.bindValue=this.bindValue||o.bindValue,this.bindLabel=this.bindLabel||o.bindLabel,this.appearance=this.appearance||o.appearance}static#e=this.\u0275fac=function(d){return new(d||u)(t.kS0("class"),t.kS0("autofocus"),t.rXU(j),t.rXU(Ge,8),t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(pe))};static#t=this.\u0275cmp=t.VBU({type:u,selectors:[["ng-select"]],contentQueries:function(d,p,G){if(1&d&&(t.wni(G,ut,5,t.C4Q),t.wni(G,vt,5,t.C4Q),t.wni(G,Ue,5,t.C4Q),t.wni(G,Ne,5,t.C4Q),t.wni(G,it,5,t.C4Q),t.wni(G,et,5,t.C4Q),t.wni(G,Xe,5,t.C4Q),t.wni(G,Ze,5,t.C4Q),t.wni(G,Lt,5,t.C4Q),t.wni(G,yt,5,t.C4Q),t.wni(G,at,5,t.C4Q),t.wni(G,Ve,5,t.C4Q),t.wni(G,Nt,5)),2&d){let ae;t.mGM(ae=t.lsd())&&(p.optionTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.optgroupTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.labelTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.multiLabelTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.headerTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.footerTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.notFoundTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.placeholderTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.typeToSearchTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.loadingTextTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.tagTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.loadingSpinnerTemplate=ae.first),t.mGM(ae=t.lsd())&&(p.ngOptions=ae)}},viewQuery:function(d,p){if(1&d&&(t.GBs(Wt,5),t.GBs(O,7),t.GBs(ie,5)),2&d){let G;t.mGM(G=t.lsd())&&(p.dropdownPanel=G.first),t.mGM(G=t.lsd())&&(p.searchInput=G.first),t.mGM(G=t.lsd())&&(p.clearButton=G.first)}},hostVars:20,hostBindings:function(d,p){1&d&&t.bIt("keydown",function(ae){return p.handleKeyDown(ae)}),2&d&&t.AVh("ng-select-typeahead",p.typeahead)("ng-select-multiple",p.multiple)("ng-select-taggable",p.addTag)("ng-select-searchable",p.searchable)("ng-select-clearable",p.clearable)("ng-select-opened",p.isOpen)("ng-select",p.useDefaultClass)("ng-select-filtered",p.filtered)("ng-select-single",p.single)("ng-select-disabled",p.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:[2,"markFirst","markFirst",t.L39],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",t.L39],closeOnSelect:[2,"closeOnSelect","closeOnSelect",t.L39],hideSelected:[2,"hideSelected","hideSelected",t.L39],selectOnTab:[2,"selectOnTab","selectOnTab",t.L39],openOnEnter:[2,"openOnEnter","openOnEnter",t.L39],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",t.Udg],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",t.Udg],virtualScroll:[2,"virtualScroll","virtualScroll",t.L39],selectableGroup:[2,"selectableGroup","selectableGroup",t.L39],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",t.L39],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",t.L39],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",t.Udg],readonly:[2,"readonly","readonly",t.L39],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",t.L39],minTermLength:[2,"minTermLength","minTermLength",t.Udg],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",t.L39],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",t.L39],addTag:"addTag",searchable:[2,"searchable","searchable",t.L39],clearable:[2,"clearable","clearable",t.L39],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[t.Jv_([{provide:m.kq,useExisting:(0,t.Rfq)(()=>u),multi:!0},_t]),t.GFd,t.OA$,t.aNF],decls:13,vars:18,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(d,p){if(1&d){const G=t.RV6();t.j41(0,"div",10),t.bIt("mousedown",function(We){return t.eBV(G),t.Njj(p.handleMousedown(We))}),t.j41(1,"div",11),t.DNE(2,K,3,1)(3,xe,2,0)(4,Ie,1,5,null,12),t.j41(5,"div",13)(6,"input",14,0),t.bIt("blur",function(We){return t.eBV(G),t.Njj(p.onInputBlur(We))})("change",function(We){return t.eBV(G),t.Njj(We.stopPropagation())})("compositionend",function(){t.eBV(G);const We=t.sdS(7);return t.Njj(p.onCompositionEnd(We.value))})("compositionstart",function(){return t.eBV(G),t.Njj(p.onCompositionStart())})("focus",function(We){return t.eBV(G),t.Njj(p.onInputFocus(We))})("input",function(){t.eBV(G);const We=t.sdS(7);return t.Njj(p.filter(We.value))}),t.k0s()()(),t.DNE(8,ft,3,1)(9,mt,4,1,"span",15),t.j41(10,"span",16),t.nrm(11,"span",17),t.k0s()(),t.DNE(12,ot,8,17,"ng-dropdown-panel",18)}2&d&&(t.AVh("ng-appearance-outline","outline"===p.appearance)("ng-has-value",p.hasValue),t.R7$(2),t.vxM(0===p.selectedItems.length&&!p.searchTerm||!0===p.fixedPlaceholder?2:-1),t.R7$(),t.vxM(p.multiLabelTemplate&&p.multiple||!(p.selectedItems.length>0)?-1:3),t.R7$(),t.vxM(p.multiple&&p.multiLabelTemplate&&p.selectedValues.length>0?4:-1),t.R7$(2),t.Y8G("disabled",p.disabled)("readOnly",!p.searchable||p.itemsList.maxItemsSelected)("value",p.searchTerm?p.searchTerm:""),t.BMQ("aria-activedescendant",p.isOpen?null==p.itemsList||null==p.itemsList.markedItem?null:p.itemsList.markedItem.htmlId:null)("aria-controls",p.isOpen?p.dropdownId:null)("aria-expanded",p.isOpen)("id",p.labelForId)("tabindex",p.tabIndex),t.R7$(2),t.vxM(p.loading?8:-1),t.R7$(),t.vxM(p.showClear()?9:-1),t.R7$(3),t.vxM(p.isOpen?12:-1))},dependencies:[rt.T3,gt,Wt,rt.YU],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return u})(),je=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275mod=t.$C({type:u});static#n=this.\u0275inj=t.G2t({providers:[{provide:Ge,useValue:De}]})}return u})()},4580:(Ce,V,l)=>{l.d(V,{h6:()=>w});var t=l(3953),m=l(177),x=l(5992);let w=(()=>{class z{static forRoot(){return{ngModule:z,providers:[]}}static#e=this.\u0275fac=function(y){return new(y||z)};static#t=this.\u0275mod=t.$C({type:z});static#n=this.\u0275inj=t.G2t({imports:[m.MD,x.G]})}return z})()},5992:(Ce,V,l)=>{l.d(V,{G:()=>H});var t=l(9969),m=l(3953);const x="400ms cubic-bezier(0.4,0.0,0.2,1)";(0,t.iF)({height:0,visibility:"hidden"}),(0,t.i0)(x,(0,t.iF)({height:"*",visibility:"visible"})),(0,t.iF)({height:"*",visibility:"visible"}),(0,t.i0)(x,(0,t.iF)({height:0,visibility:"hidden"}));let H=(()=>{class te{static forRoot(){return{ngModule:te,providers:[]}}static#e=this.\u0275fac=function(b){return new(b||te)};static#t=this.\u0275mod=m.$C({type:te});static#n=this.\u0275inj=m.G2t({})}return te})()},6932:(Ce,V,l)=>{l.d(V,{Li:()=>te});var t=l(3953),m=l(425),x=l(1946),Y=l(177);class J{constructor(f,b,w){this.nodes=f,this.viewRef=b,this.componentRef=w}}class H{constructor(f,b,w,z,C,k,y,X,_e){this._viewContainerRef=f,this._renderer=b,this._elementRef=w,this._injector=z,this._componentFactoryResolver=C,this._ngZone=k,this._applicationRef=y,this._posService=X,this._document=_e,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(f){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(f),this}to(f){return this.container=f||this.container,this}position(f){return f?(this.attachment=f.attachment||this.attachment,this._elementRef=f.target||this._elementRef,this):this}provide(f){return this._providers.push(f),this}show(f={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(f.content,f.context,f.initialState);const b=t.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(b,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,f),this.container instanceof t.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const w=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!w)return;w.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(f.id?{id:f.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(f){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const b=this._componentRef.location.nativeElement;return b.parentNode?.removeChild(b),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(f?{id:f}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(f){this.triggers=f.triggers||this.triggers,this._listenOpts.outsideClick=f.outsideClick,this._listenOpts.outsideEsc=f.outsideEsc,f.target=f.target||this._elementRef?.nativeElement;const b=this._listenOpts.hide=()=>f.hide?f.hide():void this.hide(),w=this._listenOpts.show=C=>{f.show?f.show(C):this.show(C),C()};return this._renderer&&(this._unregisterListenersFn=(0,m.GL)(this._renderer,{target:f.target,triggers:f.triggers,show:w,hide:b,toggle:C=>{this.isShown?b():w(C)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(f,b){return f&&b&&(this._inlineViewRef=f.createEmbeddedView(b)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let f=Function.prototype,b=Function.prototype;if(this._listenOpts.outsideClick){const w=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(f=(0,m.Xt)(this._renderer,{targets:[w,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(b=(0,m.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{f(),b()}}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(f,b,w){if(!f)return new J([]);if(f instanceof t.C4Q){if(this._viewContainerRef){const k=this._viewContainerRef.createEmbeddedView(f,b);return k.markForCheck(),new J([k.rootNodes],k)}const C=f.createEmbeddedView({});return this._applicationRef.attachView(C),new J([C.rootNodes],C)}if("function"==typeof f){const C=this._componentFactoryResolver.resolveComponentFactory(f),k=t.zZn.create({providers:this._providers,parent:this._injector}),y=C.create(k);return Object.assign(y.instance,w),this._applicationRef.attachView(y.hostView),new J([[y.location.nativeElement]],y.hostView,y)}const z=this._renderer?[this._renderer.createText(`${f}`)]:[];return new J([z])}}let te=(()=>{class A{constructor(b,w,z,C,k,y){this._componentFactoryResolver=b,this._ngZone=w,this._injector=z,this._posService=C,this._applicationRef=k,this._document=y}createLoader(b,w,z){return new H(w,z,b,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#e=this.\u0275fac=function(w){return new(w||A)(t.KVO(t.OM3),t.KVO(t.SKi),t.KVO(t.zZn),t.KVO(x.DF),t.KVO(t.o8S),t.KVO(Y.qQ))};static#t=this.\u0275prov=t.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},3824:(Ce,V,l)=>{l.d(V,{YN:()=>nd});var t=l(3953),m=l(5964),x=l(6354),Y=l(6697),L=l(6977),J=l(3669),H=l(9974),te=l(4360);function A(e,i=J.D){return e=e??f,(0,H.N)((n,s)=>{let r,a=!0;n.subscribe((0,te._)(s,h=>{const R=i(h);(a||!e(r,R))&&(a=!1,r=R,s.next(h))}))})}function f(e,i){return e===i}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function z(e){return"string"==typeof e}function C(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function y(e){return e&&e.getTime&&!isNaN(e.getTime())}function X(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function _e(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Q(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function ye(e,i){return Object.prototype.hasOwnProperty.call(e,i)}function de(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function ke(e){return void 0===e}function S(e){const i=+e;let n=0;return 0!==i&&isFinite(i)&&(n=w(i)),n}const ve={},T={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function ne(e,i){const n=e.toLowerCase();let s=e;n in T&&(s=T[n]),ve[n]=ve[`${n}s`]=ve[i]=s}function v(e){return z(e)?ve[e]||ve[e.toLowerCase()]:void 0}const U=0,P=1,$=2,W=3,me=4,oe=5,ee=6,I=7,ce=8;function Oe(e,i,n){const s=`${Math.abs(e)}`;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i-s.length)).toString().substr(1)+s}const Be={},st={},rt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function Me(e,i,n,s){e&&(st[e]=s),i&&(st[i[0]]=function(){return Oe(s.apply(null,arguments),i[1],i[2])}),n&&(st[n]=function(r,a){return a.locale.ordinal(s.apply(null,arguments),e)})}function Pt(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Dt(e,i,n){const s=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(s.getUTCFullYear())&&s.setUTCFullYear(e),s}function Rt(e,i=0,n=1,s=0,r=0,a=0,h=0){const R=new Date(e,i,n,s,r,a,h);return e<100&&e>=0&&isFinite(R.getFullYear())&&R.setFullYear(e),R}function B(e,i=!1){return i?e.getUTCHours():e.getHours()}function he(e,i=!1){return i?e.getUTCMinutes():e.getMinutes()}function O(e,i=!1){return i?e.getUTCSeconds():e.getSeconds()}function ie(e,i=!1){return i?e.getUTCMilliseconds():e.getMilliseconds()}function lt(e,i=!1){return i?e.getUTCDay():e.getDay()}function Ct(e,i=!1){return i?e.getUTCDate():e.getDate()}function Qe(e,i=!1){return i?e.getUTCMonth():e.getMonth()}function c(e,i=!1){return i?e.getUTCFullYear():e.getFullYear()}function Ie(e,i){return!(!e||!i)&&Fe(e,i)&&Qe(e)===Qe(i)}function Fe(e,i){return!(!e||!i)&&c(e)===c(i)}function Re(e,i){return!(!e||!i)&&Fe(e,i)&&Ie(e,i)&&Ct(e)===Ct(i)}const ft=/\d/,mt=/\d\d/,Vt=/\d{3}/,Mt=/\d{4}/,Et=/[+-]?\d{6}/,g=/\d\d?/,E=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,M=/\d{1,3}/,se=/\d{1,4}/,fe=/[+-]?\d{1,6}/,He=/\d+/,Pe=/[+-]?\d+/,Ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Ye=/[+-]?\d+(\.\d{1,3})?/,ze=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ot={};function ge(e,i,n){ot[e]=X(i)?i:function(s,r){return s&&n?n:i}}function Tt(e,i){return ye(ot,e)?ot[e](!1,i):new RegExp(function xt(e){return kt(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(i,n,s,r,a)=>n||s||r||a))}(e))}function kt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const qe={};function Te(e,i){const n=z(e)?[e]:e;let s=i;if(_e(i)&&(s=function(r,a,h){return a[i]=S(r),h}),Q(n)&&X(s)){let r;for(r=0;r<n.length;r++)qe[n[r]]=s}}function Ee(e,i){Te(e,function(n,s,r,a){return r._w=r._w||{},i(n,r._w,r,a)})}function pt(e,i,n){return null!=i&&ye(qe,e)&&qe[e](i,n._a,n,e),n}const gt={};function ut(e,i){gt[e]=i}function Ne(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function it(e,i){return i.locale.getFullYear?i.locale.getFullYear(e,i.isUTC).toString():c(e,i.isUTC).toString()}function Xe(e){return S(e)+(S(e)>68?1900:2e3)}function Ze(e){return Lt(e)?366:365}function Lt(e){return e%4==0&&e%100!=0||e%400==0}function yt(e,i){if(isNaN(e)||isNaN(i))return NaN;const n=function b(e,i){return(e%i+i)%i}(i,12);return 1===n?Lt(e+(i-n)/12)?29:28:31-n%7%2}const Ve={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function D(e,i){const n=Object.assign({},Ve,i),s=e.getFullYear()+(n.year||0),r=e.getMonth()+(n.month||0);let a=e.getDate()+(n.day||0);return n.month&&!n.day&&(a=Math.min(a,yt(s,r))),Rt(s,r,a,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function Ae(e,i){return _e(i)?i:e}function ct(e,i,n){const s=Math.min(Ct(e),yt(c(e),i));return n?e.setUTCMonth(i,s):e.setMonth(i,s),e}function De(e,i,n){return n?e.setUTCDate(i):e.setDate(i),e}function j(e){return new Date(e.getTime())}function pe(e,i,n){const s=j(e);switch(i){case"year":ct(s,0,n);case"quarter":case"month":De(s,1,n);case"week":case"isoWeek":case"day":case"date":!function Ut(e,i,n){n?e.setUTCHours(i):e.setHours(i)}(s,0,n);case"hours":!function $t(e,i,n){n?e.setUTCMinutes(i):e.setMinutes(i)}(s,0,n);case"minutes":!function Wt(e,i,n){n?e.setUTCSeconds(i):e.setSeconds(i)}(s,0,n);case"seconds":!function Nt(e,i,n){n?e.setUTCMilliseconds(i):e.setMilliseconds(i)}(s,0,n)}return"week"===i&&function Bo(e,i,n={}){hn(e,i-Mi(e,n.locale,n.isUTC),"day")}(s,0,{isUTC:n}),"isoWeek"===i&&function Fo(e,i,n={}){const s=function Yo(e,i=Bt()){return z(e)?i.weekdaysParse(e)%7||7:_e(e)&&isNaN(e)?null:e}(i,n.locale);$n(e,function Ot(e,i){return lt(e,i)}(e)%7?s:s-7)}(s,1),"quarter"===i&&ct(s,3*Math.floor(Qe(s,n)/3),n),s}function Ge(e,i,n){let s=i;return"date"===s&&(s="day"),function Ao(e,i,n,s){return Cs(e,Ci(i,n),-1,s)}(hn(pe(e,s,n),1,"isoWeek"===s?"week":s,n),1,"milliseconds",n)}function je(e,i){const n=+pe(e,"day",i),s=+pe(e,"year",i);return Math.round((n-s)/864e5)+1}function _(e,i,n){const s=i-n+7;return-(Dt(e,0,s).getUTCDay()-i+7)%7+s-1}function d(e,i,n,s){const r=_(c(e,s),i,n),a=Math.floor((je(e,s)-r-1)/7)+1;let h,R;return a<1?(R=c(e,s)-1,h=a+p(R,i,n)):a>p(c(e,s),i,n)?(h=a-p(c(e,s),i,n),R=c(e,s)+1):(R=c(e,s),h=a),{week:h,year:R}}function p(e,i,n){const s=_(e,i,n),r=_(e+1,i,n);return(Ze(e)-s+r)/7}const G=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ae="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),We="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Yt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ei=ze,Sn=ze;class jn{constructor(i){i&&this.set(i)}set(i){let n;for(n in i){if(!i.hasOwnProperty(n))continue;const s=i[n];this[X(s)?n:`_${n}`]=s}this._config=i}calendar(i,n,s){const r=this._calendar[i]||this._calendar.sameElse;return X(r)?r.call(null,n,s):r}longDateFormat(i){const n=this._longDateFormat[i],s=this._longDateFormat[i.toUpperCase()];return n||!s?n:(this._longDateFormat[i]=s.replace(/MMMM|MM|DD|dddd/g,function(r){return r.slice(1)}),this._longDateFormat[i])}get invalidDate(){return this._invalidDate}set invalidDate(i){this._invalidDate=i}ordinal(i,n){return this._ordinal.replace("%d",i.toString(10))}preparse(i,n){return i}getFullYear(i,n=!1){return c(i,n)}postformat(i){return i}relativeTime(i,n,s,r){const a=this._relativeTime[s];return X(a)?a(i,n,s,r):a.replace(/%d/i,i.toString(10))}pastFuture(i,n){const s=this._relativeTime[i>0?"future":"past"];return X(s)?s(n):s.replace(/%s/i,n)}months(i,n,s=!1){if(!i)return Q(this._months)?this._months:this._months.standalone;if(Q(this._months))return this._months[Qe(i,s)];const r=(this._months.isFormat||G).test(n)?"format":"standalone";return this._months[r][Qe(i,s)]}monthsShort(i,n,s=!1){if(!i)return Q(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(Q(this._monthsShort))return this._monthsShort[Qe(i,s)];const r=G.test(n)?"format":"standalone";return this._monthsShort[r][Qe(i,s)]}monthsParse(i,n,s){let r,a,h;if(this._monthsParseExact)return this.handleMonthStrictParse(i,n,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),h=0;h<12;h++){if(r=new Date(Date.UTC(2e3,h)),s&&!this._longMonthsParse[h]){const R=this.months(r,"",!0).replace(".",""),ue=this.monthsShort(r,"",!0).replace(".","");this._longMonthsParse[h]=new RegExp(`^${R}$`,"i"),this._shortMonthsParse[h]=new RegExp(`^${ue}$`,"i")}if(!s&&!this._monthsParse[h]&&(a=`^${this.months(r,"",!0)}|^${this.monthsShort(r,"",!0)}`,this._monthsParse[h]=new RegExp(a.replace(".",""),"i")),s&&"MMMM"===n&&this._longMonthsParse[h].test(i)||s&&"MMM"===n&&this._shortMonthsParse[h].test(i)||!s&&this._monthsParse[h].test(i))return h}}monthsRegex(i){return this._monthsParseExact?(ye(this,"_monthsRegex")||this.computeMonthsParse(),i?this._monthsStrictRegex:this._monthsRegex):(ye(this,"_monthsRegex")||(this._monthsRegex=Sn),this._monthsStrictRegex&&i?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(i){return this._monthsParseExact?(ye(this,"_monthsRegex")||this.computeMonthsParse(),i?this._monthsShortStrictRegex:this._monthsShortRegex):(ye(this,"_monthsShortRegex")||(this._monthsShortRegex=ei),this._monthsShortStrictRegex&&i?this._monthsShortStrictRegex:this._monthsShortRegex)}week(i,n){return d(i,this._week.dow,this._week.doy,n).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(i,n,s){if(!i)return Q(this._weekdays)?this._weekdays:this._weekdays.standalone;if(Q(this._weekdays))return this._weekdays[lt(i,s)];const r=this._weekdays.isFormat.test(n)?"format":"standalone";return this._weekdays[r][lt(i,s)]}weekdaysMin(i,n,s){return i?this._weekdaysMin[lt(i,s)]:this._weekdaysMin}weekdaysShort(i,n,s){return i?this._weekdaysShort[lt(i,s)]:this._weekdaysShort}weekdaysParse(i,n,s){let r,a;if(this._weekdaysParseExact)return this.handleWeekStrictParse(i,n,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){const h=$n(new Date(Date.UTC(2e3,1)),r,null,!0);if(s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(`^${this.weekdays(h,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[r]=new RegExp(`^${this.weekdaysShort(h,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[r]=new RegExp(`^${this.weekdaysMin(h,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[r]||(a=`^${this.weekdays(h,"",!0)}|^${this.weekdaysShort(h,"",!0)}|^${this.weekdaysMin(h,"",!0)}`,this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),!(Q(this._fullWeekdaysParse)&&Q(this._shortWeekdaysParse)&&Q(this._minWeekdaysParse)&&Q(this._weekdaysParse)))return;if(s&&"dddd"===n&&this._fullWeekdaysParse[r].test(i))return r;if(s&&"ddd"===n&&this._shortWeekdaysParse[r].test(i))return r;if(s&&"dd"===n&&this._minWeekdaysParse[r].test(i))return r;if(!s&&this._weekdaysParse[r].test(i))return r}}weekdaysRegex(i){return this._weekdaysParseExact?(ye(this,"_weekdaysRegex")||this.computeWeekdaysParse(),i?this._weekdaysStrictRegex:this._weekdaysRegex):(ye(this,"_weekdaysRegex")||(this._weekdaysRegex=ze),this._weekdaysStrictRegex&&i?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(i){return this._weekdaysParseExact?(ye(this,"_weekdaysRegex")||this.computeWeekdaysParse(),i?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ye(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ze),this._weekdaysShortStrictRegex&&i?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(i){return this._weekdaysParseExact?(ye(this,"_weekdaysRegex")||this.computeWeekdaysParse(),i?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ye(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ze),this._weekdaysMinStrictRegex&&i?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(i){return"p"===i.toLowerCase().charAt(0)}meridiem(i,n,s){return i>11?s?"pm":"PM":s?"am":"AM"}formatLongDate(i){this._longDateFormat=this._longDateFormat?this._longDateFormat:Yt;const n=this._longDateFormat[i],s=this._longDateFormat[i.toUpperCase()];return n||!s?n:(this._longDateFormat[i]=s.replace(/MMMM|MM|DD|dddd/g,r=>r.slice(1)),this._longDateFormat[i])}handleMonthStrictParse(i,n,s){const r=i.toLocaleLowerCase();let a,h,R;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)R=new Date(2e3,a),this._shortMonthsParse[a]=this.monthsShort(R,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(R,"").toLocaleLowerCase();return s?"MMM"===n?(h=this._shortMonthsParse.indexOf(r),-1!==h?h:null):(h=this._longMonthsParse.indexOf(r),-1!==h?h:null):"MMM"===n?(h=this._shortMonthsParse.indexOf(r),-1!==h?h:(h=this._longMonthsParse.indexOf(r),-1!==h?h:null)):(h=this._longMonthsParse.indexOf(r),-1!==h?h:(h=this._shortMonthsParse.indexOf(r),-1!==h?h:null))}handleWeekStrictParse(i,n,s){let r;const a=i.toLocaleLowerCase();if(!this._weekdaysParse){let h;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],h=0;h<7;++h){const R=$n(new Date(Date.UTC(2e3,1)),h,null,!0);this._minWeekdaysParse[h]=this.weekdaysMin(R).toLocaleLowerCase(),this._shortWeekdaysParse[h]=this.weekdaysShort(R).toLocaleLowerCase(),this._weekdaysParse[h]=this.weekdays(R,"").toLocaleLowerCase()}}if(Q(this._weekdaysParse)&&Q(this._shortWeekdaysParse)&&Q(this._minWeekdaysParse))return s?"dddd"===n?(r=this._weekdaysParse.indexOf(a),-1!==r?r:null):"ddd"===n?(r=this._shortWeekdaysParse.indexOf(a),-1!==r?r:null):(r=this._minWeekdaysParse.indexOf(a),-1!==r?r:null):"dddd"===n?(r=this._weekdaysParse.indexOf(a),-1!==r||(r=this._shortWeekdaysParse.indexOf(a),-1!==r)?r:(r=this._minWeekdaysParse.indexOf(a),-1!==r?r:null)):"ddd"===n?(r=this._shortWeekdaysParse.indexOf(a),-1!==r||(r=this._weekdaysParse.indexOf(a),-1!==r)?r:(r=this._minWeekdaysParse.indexOf(a),-1!==r?r:null)):(r=this._minWeekdaysParse.indexOf(a),-1!==r||(r=this._weekdaysParse.indexOf(a),-1!==r)?r:(r=this._shortWeekdaysParse.indexOf(a),-1!==r?r:null))}computeMonthsParse(){const i=[],n=[],s=[];let r,a;for(a=0;a<12;a++)r=new Date(2e3,a),i.push(this.monthsShort(r,"")),n.push(this.months(r,"")),s.push(this.months(r,"")),s.push(this.monthsShort(r,""));for(i.sort(cn),n.sort(cn),s.sort(cn),a=0;a<12;a++)i[a]=kt(i[a]),n[a]=kt(n[a]);for(a=0;a<24;a++)s[a]=kt(s[a]);this._monthsRegex=new RegExp(`^(${s.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${i.join("|")})`,"i")}computeWeekdaysParse(){const i=[],n=[],s=[],r=[];let a;for(a=0;a<7;a++){const h=$n(new Date(Date.UTC(2e3,1)),a,null,!0),R=this.weekdaysMin(h),ue=this.weekdaysShort(h),dt=this.weekdays(h);i.push(R),n.push(ue),s.push(dt),r.push(R),r.push(ue),r.push(dt)}for(i.sort(cn),n.sort(cn),s.sort(cn),r.sort(cn),a=0;a<7;a++)n[a]=kt(n[a]),s[a]=kt(s[a]),r[a]=kt(r[a]);this._weekdaysRegex=new RegExp(`^(${r.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${s.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${i.join("|")})`,"i")}}function cn(e,i){return i.length-e.length}const is={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:Yt,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ae,monthsShort:We,week:{dow:0,doy:6},weekdays:ht,weekdaysMin:jt,weekdaysShort:nt,meridiemParse:/[ap]\.?m?\.?/i};function Ar(e,i,n){const s=Math.min(e.length,i.length),r=Math.abs(e.length-i.length);let h,a=0;for(h=0;h<s;h++)(n&&e[h]!==i[h]||!n&&S(e[h])!==S(i[h]))&&a++;return a+r}function ti(e,i){Me(null,[e,e.length,!1],null,i)}function ss(e,i){return pi(e,i.locale).toString()}function rs(e){return os(e).toString()}function pi(e,i=Bt(),n){return d(e,i.firstDayOfWeek(),i.firstDayOfYear(),n).year}function os(e,i){return d(e,1,4,i).year}function ls(e,i){Me(e,null,null,function(n,s){let r=function Tn(e,i={}){return i._isUTC?i._offset||0:function cs(e){return 15*-Math.round(e.getTimezoneOffset()/15)}(e)}(n,{_isUTC:s.isUTC,_offset:s.offset}),a="+";return r<0&&(r=-r,a="-"),a+Oe(~~(r/60),2)+i+Oe(~~r%60,2)})}const Gr=/([\+\-]|\d\d)/gi;const Ft={},Nn={};let Gn;function ds(e){return e&&e.toLowerCase().replace("_","-")}function hs(e){return Ft[e]||console.error(`Khronos locale error: please load locale "${e}" before using it`),Ft[e]}function fi(e,i){let n;return e&&(ke(i)?n=Bt(e):z(e)&&(n=_s(e,i)),n&&(Gn=n)),Gn&&Gn._abbr}function _s(e,i){if(null===i)return delete Ft[e],Gn=Bt("en"),null;if(!i)return;let n=is;if(i.abbr=e,null!=i.parentLocale){if(null==Ft[i.parentLocale])return Nn[i.parentLocale]||(Nn[i.parentLocale]=[]),Nn[i.parentLocale].push({name:e,config:i}),null;n=Ft[i.parentLocale]._config}return Ft[e]=new jn(function us(e,i){const n=Object.assign({},e);for(const s in i)ye(i,s)&&(de(e[s])&&de(i[s])?(n[s]={},Object.assign(n[s],e[s]),Object.assign(n[s],i[s])):null!=i[s]?n[s]=i[s]:delete n[s]);for(const s in e)ye(e,s)&&!ye(i,s)&&de(e[s])&&(n[s]=Object.assign({},n[s]));return n}(n,i)),Nn[e]&&Nn[e].forEach(function(s){_s(s.name,s.config)}),fi(e),Ft[e]}function Bt(e){return function Kr(){Ft.en||(fi("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(e){const i=e%10;return e+(1===S(e%100/10)?"th":1===i?"st":2===i?"nd":3===i?"rd":"th")}}),function Pr(){Me("w",["ww",2,!1],"wo",function(e,i){return function Dn(e,i=Bt(),n){return i.week(e,n)}(e,i.locale).toString(10)}),Me("W",["WW",2,!1],"Wo",function(e){return function _i(e,i){return d(e,1,4,i).week}(e).toString(10)}),ne("week","w"),ne("isoWeek","W"),ut("week",5),ut("isoWeek",5),ge("w",g),ge("ww",g,mt),ge("W",g),ge("WW",g,mt),Ee(["w","ww","W","WW"],function(e,i,n,s){return i[s.substr(0,1)]=S(e),n})}(),function Rr(){Me(null,["gg",2,!1],null,function(e,i){return(pi(e,i.locale)%100).toString()}),Me(null,["GG",2,!1],null,function(e){return(os(e)%100).toString()}),ti("gggg",ss),ti("ggggg",ss),ti("GGGG",rs),ti("GGGGG",rs),ne("weekYear","gg"),ne("isoWeekYear","GG"),ut("weekYear",1),ut("isoWeekYear",1),ge("G",Pe),ge("g",Pe),ge("GG",g,mt),ge("gg",g,mt),ge("GGGG",se,Mt),ge("gggg",se,Mt),ge("GGGGG",fe,Et),ge("ggggg",fe,Et),Ee(["gggg","ggggg","GGGG","GGGGG"],function(e,i,n,s){return i[s.substr(0,2)]=S(e),n}),Ee(["gg","GG"],function(e,i,n,s){return i[s]=Xe(e),n})}(),function et(){Me("Y",null,null,function(e,i){const n=c(e,i.isUTC);return n<=9999?n.toString(10):`+${n}`}),Me(null,["YY",2,!1],null,function(e,i){return(c(e,i.isUTC)%100).toString(10)}),Me(null,["YYYY",4,!1],null,it),Me(null,["YYYYY",5,!1],null,it),Me(null,["YYYYYY",6,!0],null,it),ne("year","y"),ut("year",1),ge("Y",Pe),ge("YY",g,mt),ge("YYYY",se,Mt),ge("YYYYY",fe,Et),ge("YYYYYY",fe,Et),Te(["YYYYY","YYYYYY"],U),Te("YYYY",function(e,i,n){return i[U]=2===e.length?Xe(e):S(e),n}),Te("YY",function(e,i,n){return i[U]=Xe(e),n}),Te("Y",function(e,i,n){return i[U]=parseInt(e,10),n})}(),function Br(){Me("z",null,null,function(e,i){return i.isUTC?"UTC":""}),Me("zz",null,null,function(e,i){return i.isUTC?"Coordinated Universal Time":""})}(),function Fr(){Me("X",null,null,function(e){return function q(e){return Math.floor(e.valueOf()/1e3)}(e).toString(10)}),Me("x",null,null,function(e){return e.valueOf().toString(10)}),ge("x",Pe),ge("X",Ye),Te("X",function(e,i,n){return n._d=new Date(1e3*parseFloat(e)),n}),Te("x",function(e,i,n){return n._d=new Date(S(e)),n})}(),function Vr(){Me("s",["ss",2,!1],null,function(e,i){return O(e,i.isUTC).toString(10)}),ne("second","s"),ut("second",15),ge("s",g),ge("ss",g,mt),Te(["s","ss"],oe)}(),function Hr(){Me("Q",null,"Qo",function(e,i){return function jr(e,i=!1){return Math.ceil((Qe(e,i)+1)/3)}(e,i.isUTC).toString(10)}),ne("quarter","Q"),ut("quarter",7),ge("Q",ft),Te("Q",function(e,i,n){return i[P]=3*(S(e)-1),n})}(),function Nr(){ls("Z",":"),ls("ZZ",""),ge("Z",Ke),ge("ZZ",Ke),Te(["Z","ZZ"],function(e,i,n){return n._useUTC=!0,n._tzm=function mi(e,i){const n=(i||"").match(e);if(null===n)return null;const r=n[n.length-1].match(Gr)||["-","0","0"],a=60*parseInt(r[1],10)+S(r[2]);return 0===a?0:"+"===r[0]?a:-a}(Ke,e),n})}(),function at(){Me("M",["MM",2,!1],"Mo",function(e,i){return(Qe(e,i.isUTC)+1).toString(10)}),Me("MMM",null,null,function(e,i){return i.locale.monthsShort(e,i.format,i.isUTC)}),Me("MMMM",null,null,function(e,i){return i.locale.months(e,i.format,i.isUTC)}),ne("month","M"),ut("month",8),ge("M",g),ge("MM",g,mt),ge("MMM",function(e,i){return i.monthsShortRegex(e)}),ge("MMMM",function(e,i){return i.monthsRegex(e)}),Te(["M","MM"],function(e,i,n){return i[P]=S(e)-1,n}),Te(["MMM","MMMM"],function(e,i,n,s){const r=n._locale.monthsParse(e,s,n._strict);return null!=r?i[P]=r:Ne(n).invalidMonth=!!e,n})}(),function Ur(){Me("m",["mm",2,!1],null,function(e,i){return he(e,i.isUTC).toString(10)}),ne("minute","m"),ut("minute",14),ge("m",g),ge("mm",g,mt),Te(["m","mm"],me)}(),function $r(){let e;for(Me("S",null,null,function(n,s){return(~~(ie(n,s.isUTC)/100)).toString(10)}),Me(null,["SS",2,!1],null,function(n,s){return(~~(ie(n,s.isUTC)/10)).toString(10)}),Me(null,["SSS",3,!1],null,function(n,s){return ie(n,s.isUTC).toString(10)}),Me(null,["SSSS",4,!1],null,function(n,s){return(10*ie(n,s.isUTC)).toString(10)}),Me(null,["SSSSS",5,!1],null,function(n,s){return(100*ie(n,s.isUTC)).toString(10)}),Me(null,["SSSSSS",6,!1],null,function(n,s){return(1e3*ie(n,s.isUTC)).toString(10)}),Me(null,["SSSSSSS",7,!1],null,function(n,s){return(1e4*ie(n,s.isUTC)).toString(10)}),Me(null,["SSSSSSSS",8,!1],null,function(n,s){return(1e5*ie(n,s.isUTC)).toString(10)}),Me(null,["SSSSSSSSS",9,!1],null,function(n,s){return(1e6*ie(n,s.isUTC)).toString(10)}),ne("millisecond","ms"),ut("millisecond",16),ge("S",M,ft),ge("SS",M,mt),ge("SSS",M,Vt),e="SSSS";e.length<=9;e+="S")ge(e,He);function i(n,s,r){return s[ee]=S(1e3*parseFloat(`0.${n}`)),r}for(e="S";e.length<=9;e+="S")Te(e,i)}(),function Xr(){function e(r,a){return B(r,a)%12||12}function n(r,a){Me(r,null,null,function(h,R){return R.locale.meridiem(B(h,R.isUTC),he(h,R.isUTC),a)})}function s(r,a){return a._meridiemParse}Me("H",["HH",2,!1],null,function(r,a){return B(r,a.isUTC).toString(10)}),Me("h",["hh",2,!1],null,function(r,a){return e(r,a.isUTC).toString(10)}),Me("k",["kk",2,!1],null,function(r,a){return function i(r,a){return B(r,a)||24}(r,a.isUTC).toString(10)}),Me("hmm",null,null,function(r,a){return`${e(r,a.isUTC)}${Oe(he(r,a.isUTC),2)}`}),Me("hmmss",null,null,function(r,a){return`${e(r,a.isUTC)}${Oe(he(r,a.isUTC),2)}${Oe(O(r,a.isUTC),2)}`}),Me("Hmm",null,null,function(r,a){return`${B(r,a.isUTC)}${Oe(he(r,a.isUTC),2)}`}),Me("Hmmss",null,null,function(r,a){return`${B(r,a.isUTC)}${Oe(he(r,a.isUTC),2)}${Oe(O(r,a.isUTC),2)}`}),n("a",!0),n("A",!1),ne("hour","h"),ut("hour",13),ge("a",s),ge("A",s),ge("H",g),ge("h",g),ge("k",g),ge("HH",g,mt),ge("hh",g,mt),ge("kk",g,mt),ge("hmm",E),ge("hmmss",re),ge("Hmm",E),ge("Hmmss",re),Te(["H","HH"],W),Te(["k","kk"],function(r,a,h){const R=S(r);return a[W]=24===R?0:R,h}),Te(["a","A"],function(r,a,h){return h._isPm=h._locale.isPM(r),h._meridiem=r,h}),Te(["h","hh"],function(r,a,h){return a[W]=S(r),Ne(h).bigHour=!0,h}),Te("hmm",function(r,a,h){const R=r.length-2;return a[W]=S(r.substr(0,R)),a[me]=S(r.substr(R)),Ne(h).bigHour=!0,h}),Te("hmmss",function(r,a,h){const R=r.length-4,ue=r.length-2;return a[W]=S(r.substr(0,R)),a[me]=S(r.substr(R,2)),a[oe]=S(r.substr(ue)),Ne(h).bigHour=!0,h}),Te("Hmm",function(r,a,h){const R=r.length-2;return a[W]=S(r.substr(0,R)),a[me]=S(r.substr(R)),h}),Te("Hmmss",function(r,a,h){const R=r.length-4,ue=r.length-2;return a[W]=S(r.substr(0,R)),a[me]=S(r.substr(R,2)),a[oe]=S(r.substr(ue)),h})}(),function tt(){Me("DDD",["DDDD",3,!1],"DDDo",function(e){return je(e).toString(10)}),ne("dayOfYear","DDD"),ut("dayOfYear",4),ge("DDD",M),ge("DDDD",Vt),Te(["DDD","DDDD"],function(e,i,n){return n._dayOfYear=S(e),n})}(),function Po(){Me("d",null,"do",function(e,i){return lt(e,i.isUTC).toString(10)}),Me("dd",null,null,function(e,i){return i.locale.weekdaysMin(e,i.format,i.isUTC)}),Me("ddd",null,null,function(e,i){return i.locale.weekdaysShort(e,i.format,i.isUTC)}),Me("dddd",null,null,function(e,i){return i.locale.weekdays(e,i.format,i.isUTC)}),Me("e",null,null,function(e,i){return Mi(e,i.locale,i.isUTC).toString(10)}),Me("E",null,null,function(e,i){return function Ms(e,i){return lt(e,i)||7}(e,i.isUTC).toString(10)}),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ut("day",11),ut("weekday",11),ut("isoWeekday",11),ge("d",g),ge("e",g),ge("E",g),ge("dd",function(e,i){return i.weekdaysMinRegex(e)}),ge("ddd",function(e,i){return i.weekdaysShortRegex(e)}),ge("dddd",function(e,i){return i.weekdaysRegex(e)}),Ee(["dd","ddd","dddd"],function(e,i,n,s){const r=n._locale.weekdaysParse(e,s,n._strict);return null!=r?i.d=r:Ne(n).invalidWeekday=!!e,n}),Ee(["d","e","E"],function(e,i,n,s){return i[s]=S(e),n})}(),function vt(){Me("D",["DD",2,!1],"Do",function(e,i){return Ct(e,i.isUTC).toString(10)}),ne("date","D"),ut("date",9),ge("D",g),ge("DD",g,mt),ge("Do",function(e,i){return i._dayOfMonthOrdinalParse||i._ordinalParse}),Te(["D","DD"],$),Te("Do",function(e,i,n){return i[$]=S(e.match(g)[0]),n})}())}(),e?function zr(e){let i,n,s=0;for(;s<e.length;){const r=ds(e[s]).split("-");let a=r.length;for(i=ds(e[s+1]),i=i?i.split("-"):null;a>0;){if(n=hs(r.slice(0,a).join("-")),n)return n;if(i&&i.length>=a&&Ar(r,i,!0)>=a-1)break;a--}s++}return null}(Q(e)?e:[e]):Gn}const Wn=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],Zr=Wn.reduce((e,i)=>(e[i]=!0,e),{});function ps(e){return e<0?Math.floor(e):Math.ceil(e)}function ms(e){return 4800*e/146097}function gi(e){return 146097*e/4800}let gn=Math.round;const dn_ss=44,dn_s=45,dn_m=45,dn_h=22,dn_d=26,dn_M=11;function qr(e,i,n,s,r){return r.relativeTime(i||1,!!n,e,s)}class fs{constructor(i,n={}){this._data={},this._locale=Bt(),this._locale=n&&n._locale||Bt();const r=i.year||0,a=i.quarter||0,h=i.month||0,R=i.week||0,ue=i.day||0,dt=i.hours||0,bt=i.minutes||0,At=i.seconds||0,Gt=i.milliseconds||0;return this._isValid=function Jr(e){if(Object.keys(e).some(s=>s in Zr&&null===e[s]||isNaN(e[s])))return!1;let n=!1;for(let s=0;s<Wn.length;++s)if(e[Wn[s]]){if(n)return!1;e[Wn[s]]!==S(e[Wn[s]])&&(n=!0)}return!0}(i),this._milliseconds=+Gt+1e3*At+60*bt*1e3+1e3*dt*60*60,this._days=+ue+7*R,this._months=+h+3*a+12*r,function Qr(e){let i=e._milliseconds,n=e._days,s=e._months;const r=e._data;i>=0&&n>=0&&s>=0||i<=0&&n<=0&&s<=0||(i+=864e5*ps(gi(s)+n),n=0,s=0),r.milliseconds=i%1e3;const a=w(i/1e3);r.seconds=a%60;const h=w(a/60);r.minutes=h%60;const R=w(h/60);r.hours=R%24,n+=w(R/24);const ue=w(ms(n));s+=ue,n-=ps(gi(ue));const dt=w(s/12);return s%=12,r.day=n,r.month=s,r.year=dt,e}(this)}isValid(){return this._isValid}humanize(i){if(!this.isValid())return this.localeData().invalidDate;const n=this.localeData();let s=function eo(e,i,n){const s=Ci(e).abs(),r=gn(s.as("s")),a=gn(s.as("m")),h=gn(s.as("h")),R=gn(s.as("d")),ue=gn(s.as("M")),dt=gn(s.as("y")),bt=r<=dn_ss&&["s",r]||r<dn_s&&["ss",r]||a<=1&&["m"]||a<dn_m&&["mm",a]||h<=1&&["h"]||h<dn_h&&["hh",h]||R<=1&&["d"]||R<dn_d&&["dd",R]||ue<=1&&["M"]||ue<dn_M&&["MM",ue]||dt<=1&&["y"]||["yy",dt];return qr.apply(null,[bt[0],bt[1],i,+e>0,n])}(this,!i,n);return i&&(s=n.pastFuture(+this,s)),n.postformat(s)}localeData(){return this._locale}locale(i){return i?(this._locale=Bt(i)||this._locale,this):this._locale._abbr}abs(){const i=Math.abs,n=this._data;return this._milliseconds=i(this._milliseconds),this._days=i(this._days),this._months=i(this._months),n.milliseconds=i(n.milliseconds),n.seconds=i(n.seconds),n.minutes=i(n.minutes),n.hours=i(n.hours),n.month=i(n.month),n.year=i(n.year),this}as(i){if(!this.isValid())return NaN;let n,s;const r=this._milliseconds,a=v(i);if("month"===a||"year"===a)return n=this._days+r/864e5,s=this._months+ms(n),"month"===a?s:s/12;switch(n=this._days+Math.round(gi(this._months)),a){case"week":return n/7+r/6048e5;case"day":return n+r/864e5;case"hours":return 24*n+r/36e5;case"minutes":return 1440*n+r/6e4;case"seconds":return 86400*n+r/1e3;case"milliseconds":return Math.floor(864e5*n)+r;default:throw new Error(`Unknown unit ${a}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN}}function bi(e){if(null==e._isValid){const i=Ne(e),n=Array.prototype.some.call(i.parsedDateParts,function(r){return null!=r});let s=!isNaN(e._d&&e._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(e._strict&&(s=s&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function ii(e,i){return e._d=new Date(NaN),Object.assign(Ne(e),i||{userInvalidated:!0}),e}const io=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,so=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ro=/Z|[+-]\d\d(?::?\d\d)?/,si=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],vi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],oo=/^\/?Date\((\-?\d+)/i,ao={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},lo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function gs(e){if(!z(e._i))return e;const i=e._i,n=io.exec(i)||so.exec(i);let s,r,a,h,R,ue;if(!n)return e._isValid=!1,e;for(R=0,ue=si.length;R<ue;R++)if(si[R][1].exec(n[1])){r=si[R][0],s=!1!==si[R][2];break}if(null==r)return e._isValid=!1,e;if(n[3]){for(R=0,ue=vi.length;R<ue;R++)if(vi[R][1].exec(n[3])){a=(n[2]||" ")+vi[R][0];break}if(null==a)return e._isValid=!1,e}if(!s&&null!=a)return e._isValid=!1,e;if(n[4]){if(!ro.exec(n[4]))return e._isValid=!1,e;h="Z"}return e._f=r+(a||"")+(h||""),Di(e)}function uo(e){const i=parseInt(e,10);return i<=49?i+2e3:i}function bs(e){if(!z(e._i))return e;const i=lo.exec(function ho(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e._i));if(!i)return function no(e){return e._isValid=!1,e}(e);const n=function co(e,i,n,s,r,a){const h=[uo(e),We.indexOf(i),parseInt(n,10),parseInt(s,10),parseInt(r,10)];return a&&h.push(parseInt(a,10)),h}(i[4],i[3],i[2],i[5],i[6],i[7]);return function _o(e,i,n){return!e||nt.indexOf(e)===new Date(i[0],i[1],i[2]).getDay()||(Ne(n).weekdayMismatch=!0,n._isValid=!1,!1)}(i[1],n,e)&&(e._a=n,e._tzm=function po(e,i,n){if(e)return ao[e];if(i)return 0;{const s=parseInt(n,10),r=s%100;return(s-r)/100*60+r}}(i[8],i[9],i[10]),e._d=Dt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Ne(e).rfc2822=!0),e}function Zt(e,i,n,s,r=0){const a=Bt(n||"en");if(!a)throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);const R=function fo(e,i,n,s,r=0){if(!y(e))return n.invalidDate;const a=vs(i,n);return Be[a]=Be[a]||function wt(e){const i=e.match(rt),n=i.length,s=new Array(n);for(let r=0;r<n;r++)s[r]=st[i[r]]?st[i[r]]:Pt(i[r]);return function(r,a,h,R=0){let ue="";for(let dt=0;dt<n;dt++)ue+=X(s[dt])?s[dt].call(null,r,{format:e,locale:a,isUTC:h,offset:R}):s[dt];return ue}}(a),Be[a](e,n,s,r)}(e,i||(s?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),a,s,r);return R&&a.postformat(R)}function vs(e,i){let n=e,s=5;const r=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,a=h=>i.formatLongDate(h)||h;for(r.lastIndex=0;s>=0&&r.test(n);)n=n.replace(r,a),r.lastIndex=0,s-=1;return n}function xn(e,i,n){return e??i??n}function yi(e){const i=[];let n,s,r;if(e._d)return e;const a=function go(e){const i=new Date;return e._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}(e);for(e._w&&null==e._a[$]&&null==e._a[P]&&function bo(e){let i,n,s,r,a,h,R;const ue=e._w;if(null!=ue.GG||null!=ue.W||null!=ue.E)r=1,a=4,i=xn(ue.GG,e._a[U],d(new Date,1,4).year),n=xn(ue.W,1),s=xn(ue.E,1),(s<1||s>7)&&(R=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;const dt=d(new Date,r,a);i=xn(ue.gg,e._a[U],dt.year),n=xn(ue.w,dt.week),null!=ue.d?(s=ue.d,(s<0||s>6)&&(R=!0)):null!=ue.e?(s=ue.e+r,(ue.e<0||ue.e>6)&&(R=!0)):s=r}n<1||n>p(i,r,a)?Ne(e)._overflowWeeks=!0:null!=R?Ne(e)._overflowWeekday=!0:(h=function o(e,i,n,s,r){const R=1+7*(i-1)+(7+n-s)%7+_(e,s,r);let ue,dt;return R<=0?(ue=e-1,dt=Ze(ue)+R):R>Ze(e)?(ue=e+1,dt=R-Ze(e)):(ue=e,dt=R),{year:ue,dayOfYear:dt}}(i,n,s,r,a),e._a[U]=h.year,e._dayOfYear=h.dayOfYear)}(e),null!=e._dayOfYear&&(r=xn(e._a[U],a[U]),(e._dayOfYear>Ze(r)||0===e._dayOfYear)&&(Ne(e)._overflowDayOfYear=!0),s=new Date(Date.UTC(r,0,e._dayOfYear)),e._a[P]=s.getUTCMonth(),e._a[$]=s.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=i[n]=a[n];for(;n<7;n++)e._a[n]=i[n]=null==e._a[n]?2===n?1:0:e._a[n];24===e._a[W]&&0===e._a[me]&&0===e._a[oe]&&0===e._a[ee]&&(e._nextDay=!0,e._a[W]=0),e._d=(e._useUTC?Dt:Rt).apply(null,i);const h=e._useUTC?e._d.getUTCDay():e._d.getDay();return null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[W]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==h&&(Ne(e).weekdayMismatch=!0),e}function ys(e){let i;const n=e._a;return n&&-2===Ne(e).overflow&&(i=n[P]<0||n[P]>11?P:n[$]<1||n[$]>yt(n[U],n[P])?$:n[W]<0||n[W]>24||24===n[W]&&(0!==n[me]||0!==n[oe]||0!==n[ee])?W:n[me]<0||n[me]>59?me:n[oe]<0||n[oe]>59?oe:n[ee]<0||n[ee]>999?ee:-1,Ne(e)._overflowDayOfYear&&(i<U||i>$)&&(i=$),Ne(e)._overflowWeeks&&-1===i&&(i=I),Ne(e)._overflowWeekday&&-1===i&&(i=ce),Ne(e).overflow=i),e}const vo="ISO_8601",yo="RFC_2822";function Di(e){if(e._f===vo)return gs(e);if(e._f===yo)return bs(e);if(e._a=[],Ne(e).empty=!0,Q(e._f)||!e._i&&0!==e._i)return e;let i=e._i.toString(),n=0;const s=i.length,r=vs(e._f,e._locale).match(rt)||[];let a,h,R,ue;for(a=0;a<r.length;a++)h=r[a],R=(i.match(Tt(h,e._locale))||[])[0],R&&(ue=i.substr(0,i.indexOf(R)),ue.length>0&&Ne(e).unusedInput.push(ue),i=i.slice(i.indexOf(R)+R.length),n+=R.length),st[h]?(R?Ne(e).empty=!1:Ne(e).unusedTokens.push(h),pt(h,R,e)):e._strict&&!R&&Ne(e).unusedTokens.push(h);return Ne(e).charsLeftOver=s-n,i.length>0&&Ne(e).unusedInput.push(i),e._a[W]<=12&&!0===Ne(e).bigHour&&e._a[W]>0&&(Ne(e).bigHour=void 0),Ne(e).parsedDateParts=e._a.slice(0),Ne(e).meridiem=e._meridiem,e._a[W]=function Do(e,i,n){let s=i;if(null==n)return s;if(null!=e.meridiemHour)return e.meridiemHour(s,n);if(null==e.isPM)return s;const r=e.isPM(n);return r&&s<12&&(s+=12),!r&&12===s&&(s=0),s}(e._locale,e._a[W],e._meridiem),yi(e),ys(e)}function Mo(e){const i=ys(function ko(e){let i=e._i;const n=e._f;return e._locale=e._locale||Bt(e._l),null===i||void 0===n&&""===i?ii(e,{nullInput:!0}):(z(i)&&(e._i=i=e._locale.preparse(i,n)),C(i)?(e._d=j(i),e):(Q(n)?function To(e){let i,n,s,r,a;if(!e._f||0===e._f.length)return Ne(e).invalidFormat=!0,ii(e);for(a=0;a<e._f.length;a++)r=0,i=Object.assign({},e),null!=e._useUTC&&(i._useUTC=e._useUTC),i._f=e._f[a],Di(i),bi(i)&&(r+=Ne(i).charsLeftOver,r+=10*Ne(i).unusedTokens.length,Ne(i).score=r,(null==s||r<s)&&(s=r,n=i));Object.assign(e,n||i)}(e):n?Di(e):function wo(e){const i=e._i;if(ke(i))e._d=new Date;else if(C(i))e._d=j(i);else if(z(i))!function mo(e){if(!z(e._i))return e;const i=oo.exec(e._i);null!==i?e._d=new Date(+i[1]):(gs(e),!1!==e._isValid||(delete e._isValid,bs(e),!1!==e._isValid||(delete e._isValid,ii(e))))}(e);else if(Q(i)&&i.length){const n=i.slice(0);e._a=n.map(s=>z(s)?parseInt(s,10):s),yi(e)}else if(de(i))!function Co(e){if(e._d)return e;const i=e._i;if(de(i)){const n=function N(e){const i={};let n,s;for(s in e)ye(e,s)&&(n=v(s),n&&(i[n]=e[s]));return i}(i);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(s=>z(s)?parseInt(s,10):s)}return yi(e)}(e);else{if(!_e(i))return ii(e);e._d=new Date(i)}}(e),bi(e)||(e._d=null),e))}(e));return i._d=new Date(null!=i._d?i._d.getTime():NaN),bi(Object.assign({},i,{_isValid:null}))||(i._d=new Date(NaN)),i}function Un(e,i,n,s,r){return C(e)?e:function Eo(e,i,n,s,r){const a={};let h=e;return(de(h)&&function Z(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;let i;for(i in e)if(e.hasOwnProperty(i))return!1;return!0}(h)||Q(h)&&0===h.length)&&(h=void 0),a._useUTC=a._isUTC=r,a._l=n,a._i=h,a._f=i,a._strict=s,Mo(a)}(e,i,n,s,r)._d}function Ds(e){return e instanceof Date?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()):null}function Ti(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function an(e,i,n="milliseconds"){return!(!e||!i)&&("milliseconds"===n?e.valueOf()>i.valueOf():i.valueOf()<pe(e,n).valueOf())}function un(e,i,n="milliseconds"){return!(!e||!i)&&("milliseconds"===n?e.valueOf()<i.valueOf():Ge(e,n).valueOf()<i.valueOf())}function On(e,i,n="milliseconds"){if(!e||!i)return!1;if("milliseconds"===n)return e.valueOf()===i.valueOf();const s=i.valueOf();return pe(e,n).valueOf()<=s&&s<=Ge(e,n).valueOf()}const Lo=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,xo=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ci(e,i,n={}){const s=function Oo(e,i){if(null==e)return{};if(function to(e){return e instanceof fs}(e))return{milliseconds:e._milliseconds,day:e._days,month:e._months};if(_e(e))return i?{[i]:e}:{milliseconds:e};if(z(e)){let n=Lo.exec(e);if(n){const s="-"===n[1]?-1:1;return{year:0,day:S(n[$])*s,hours:S(n[W])*s,minutes:S(n[me])*s,seconds:S(n[oe])*s,milliseconds:S(Ti(1e3*S(n[ee])))*s}}if(n=xo.exec(e),n){const s="-"===n[1]?-1:1;return{year:Cn(n[2],s),month:Cn(n[3],s),week:Cn(n[4],s),day:Cn(n[5],s),hours:Cn(n[6],s),minutes:Cn(n[7],s),seconds:Cn(n[8],s)}}}if(de(e)&&("from"in e||"to"in e)){const n=function Io(e,i){if(!y(e)||!y(i))return{milliseconds:0,months:0};let n;const s=function Wr(e,i,n={}){if(!n._isUTC)return e;const s=j(i),r=6e4*(n._offset||0),a=e.valueOf()-s.valueOf()+r;return s.setTime(s.valueOf()+a),s}(i,e,{_offset:e.getTimezoneOffset()});return un(e,s)?n=Ts(e,s):(n=Ts(s,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}(Un(e.from),Un(e.to));return{milliseconds:n.milliseconds,month:n.months}}return e}(e,i);return new fs(s,n)}function Cn(e,i){const n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*i}function Ts(e,i){const n={milliseconds:0,months:0};return n.months=Qe(i)-Qe(e)+12*(c(i)-c(e)),an(hn(j(e),n.months,"month"),i)&&--n.months,n.milliseconds=+i-+hn(j(e),n.months,"month"),n}function hn(e,i,n,s){return Cs(e,Ci(i,n),1,s)}function Cs(e,i,n,s){const r=i._milliseconds,a=Ti(i._days),h=Ti(i._months);return h&&ct(e,Qe(e,s)+h*n,s),a&&De(e,Ct(e,s)+a*n,s),r&&function be(e,i){e.setTime(i)}(e,function Se(e){return e.getTime()}(e)+r*n),j(e)}function $n(e,i,n=Bt(),s){const r=lt(e,s),a=function Ro(e,i){if(!z(e))return e;const n=parseInt(e,10);if(!isNaN(n))return n;const s=i.weekdaysParse(e);return _e(s)?s:null}(i,n);return hn(e,a-r,"day")}function Mi(e,i=Bt(),n){return(lt(e,n)+7-i.firstDayOfWeek())%7}const ks=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},jo={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Jt=function(e){return function(i,n){const s=ks(i);let r=jo[e][ks(i)];return 2===s&&(r=r[n?0:1]),r.replace(/%d/i,i.toString())}};"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),Jt("s"),Jt("s"),Jt("m"),Jt("m"),Jt("h"),Jt("h"),Jt("d"),Jt("d"),Jt("M"),Jt("M"),Jt("y"),Jt("y"),"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_");const wi="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),Ei="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");(function(e,i){let n,s=[];for(n=0;n<12;n++)s[n]=new RegExp("^"+e[n]+"$|^"+i[n]+"$","i")})(wi,Ei),function(e){let i,n=[];for(i=0;i<12;i++)n[i]=new RegExp("^"+e[i]+"$","i")}(Ei),function(e){let i,n=[];for(i=0;i<12;i++)n[i]=new RegExp("^"+e[i]+"$","i")}(wi),"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),"dom_lun_mar_mer_gio_ven_sab".split("_"),"do_lu_ma_me_gi_ve_sa".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),"Di_He_Ma_Me_En_Pr_Sh".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_");const Ws={abbr:"th-be",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:e=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e,meridiem:(e,i,n)=>e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(e,i){const n=Ws.longDateFormat[i]?Ws.longDateFormat[i]:i;return-1!==n.indexOf("YYYY",n.length-4)?e.substr(0,e.length-4)+(parseInt(e.substr(e.length-4),10)-543):e},getFullYear:(e,i=!1)=>543+(i?e.getUTCFullYear():e.getFullYear())};function Bn(e){return function(i){return e+"\u043e"+(11===B(i)?"\u0431":"")+"] LT"}}"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_"),"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),Bn("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),Bn("[\u0417\u0430\u0432\u0442\u0440\u0430 "),Bn("[\u0412\u0447\u043e\u0440\u0430 "),Bn("[\u0423] dddd ["),"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_");var Bi=l(1946),zn=l(9417),Fn=l(4412),la=l(6780),da=l(3604);const ha=new class ua extends da.q{}(class ca extends la.R{constructor(i,n){super(i,n),this.scheduler=i,this.work=n}schedule(i,n=0){return n>0?super.schedule(i,n):(this.delay=n,this.state=i,this.scheduler.flush(this),this)}execute(i,n){return n>0||this.closed?super.execute(i,n):this._execute(i,n)}requestAsyncId(i,n,s=0){return null!=s&&s>0||null==s&&this.delay>0?super.requestAsyncId(i,n,s):(i.flush(this),0)}});var Fi=l(4226),_a=l(941);class Us extends Fn.t{constructor(i,n,s){super(i),n.pipe((0,_a.Q)(ha)).pipe(function ma(e,i){return(0,H.N)(function pa(e,i,n,s,r){return(a,h)=>{let R=n,ue=i,dt=0;a.subscribe((0,te._)(h,bt=>{const At=dt++;ue=R?e(ue,bt,At):(R=!0,bt),s&&h.next(ue)},r&&(()=>{R&&h.next(ue),h.complete()})))}}(e,i,arguments.length>=2,!0))}((h,R)=>R?s(h,R):h,i)).subscribe(h=>this.next(h))}}class oi extends Fi.c{constructor(i,n,s){super(),this._dispatcher=i,this._reducer=n,this.source=s}select(i){return(this.source?.pipe((0,x.T)(i))||(new Fi.c).pipe((0,x.T)(i))).pipe(A())}lift(i){const n=new oi(this._dispatcher,this._reducer,this);return n.operator=i,n}dispatch(i){this._dispatcher.next(i)}next(i){this._dispatcher.next(i)}error(i){this._dispatcher.error(i)}complete(){}}var St=l(177);function fa(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0\xa0\xa0"),t.k0s())}function ga(e,i){if(1&e){const n=t.RV6();t.j41(0,"td")(1,"a",1),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeMinutes(r.minuteStep))}),t.nrm(2,"span",2),t.k0s()()}if(2&e){const n=t.XpG();t.R7$(),t.AVh("disabled",!n.canIncrementMinutes||!n.isEditable)}}function ba(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0"),t.k0s())}function va(e,i){if(1&e){const n=t.RV6();t.j41(0,"td")(1,"a",1),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeSeconds(r.secondsStep))}),t.nrm(2,"span",2),t.k0s()()}if(2&e){const n=t.XpG();t.R7$(),t.AVh("disabled",!n.canIncrementSeconds||!n.isEditable)}}function ya(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0\xa0\xa0"),t.k0s())}function Da(e,i){1&e&&t.nrm(0,"td")}function Ta(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0:\xa0"),t.k0s())}function Ca(e,i){if(1&e){const n=t.RV6();t.j41(0,"td",4)(1,"input",5),t.bIt("wheel",function(r){t.eBV(n);const a=t.XpG();return a.prevDef(r),t.Njj(a.changeMinutes(a.minuteStep*a.wheelSign(r),"wheel"))})("keydown.ArrowUp",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeMinutes(r.minuteStep,"key"))})("keydown.ArrowDown",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeMinutes(-r.minuteStep,"key"))})("change",function(r){t.eBV(n);const a=t.XpG();return t.Njj(a.updateMinutes(r.target))}),t.k0s()()}if(2&e){const n=t.XpG();t.AVh("has-error",n.invalidMinutes),t.R7$(),t.AVh("is-invalid",n.invalidMinutes),t.Y8G("placeholder",n.minutesPlaceholder)("readonly",n.readonlyInput)("disabled",n.disabled)("value",n.minutes),t.BMQ("aria-label",n.labelMinutes)}}function Ma(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0:\xa0"),t.k0s())}function ka(e,i){if(1&e){const n=t.RV6();t.j41(0,"td",4)(1,"input",5),t.bIt("wheel",function(r){t.eBV(n);const a=t.XpG();return a.prevDef(r),t.Njj(a.changeSeconds(a.secondsStep*a.wheelSign(r),"wheel"))})("keydown.ArrowUp",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeSeconds(r.secondsStep,"key"))})("keydown.ArrowDown",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeSeconds(-r.secondsStep,"key"))})("change",function(r){t.eBV(n);const a=t.XpG();return t.Njj(a.updateSeconds(r.target))}),t.k0s()()}if(2&e){const n=t.XpG();t.AVh("has-error",n.invalidSeconds),t.R7$(),t.AVh("is-invalid",n.invalidSeconds),t.Y8G("placeholder",n.secondsPlaceholder)("readonly",n.readonlyInput)("disabled",n.disabled)("value",n.seconds),t.BMQ("aria-label",n.labelSeconds)}}function wa(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0\xa0\xa0"),t.k0s())}function Ea(e,i){if(1&e){const n=t.RV6();t.j41(0,"td")(1,"button",8),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.toggleMeridian())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG();t.R7$(),t.AVh("disabled",!n.isEditable||!n.canToggleMeridian),t.Y8G("disabled",!n.isEditable||!n.canToggleMeridian),t.R7$(),t.SpI("",n.meridian," ")}}function Sa(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0\xa0\xa0"),t.k0s())}function La(e,i){if(1&e){const n=t.RV6();t.j41(0,"td")(1,"a",1),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeMinutes(-r.minuteStep))}),t.nrm(2,"span",7),t.k0s()()}if(2&e){const n=t.XpG();t.R7$(),t.AVh("disabled",!n.canDecrementMinutes||!n.isEditable)}}function xa(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0"),t.k0s())}function Oa(e,i){if(1&e){const n=t.RV6();t.j41(0,"td")(1,"a",1),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.changeSeconds(-r.secondsStep))}),t.nrm(2,"span",7),t.k0s()()}if(2&e){const n=t.XpG();t.R7$(),t.AVh("disabled",!n.canDecrementSeconds||!n.isEditable)}}function Ia(e,i){1&e&&(t.j41(0,"td"),t.EFF(1,"\xa0\xa0\xa0"),t.k0s())}function Aa(e,i){1&e&&t.nrm(0,"td")}let mn=(()=>{class e{static#e=this.WRITE_VALUE="[timepicker] write value from ng model";static#t=this.CHANGE_HOURS="[timepicker] change hours";static#n=this.CHANGE_MINUTES="[timepicker] change minutes";static#i=this.CHANGE_SECONDS="[timepicker] change seconds";static#s=this.SET_TIME_UNIT="[timepicker] set time unit";static#r=this.UPDATE_CONTROLS="[timepicker] update controls";writeValue(n){return{type:e.WRITE_VALUE,payload:n}}changeHours(n){return{type:e.CHANGE_HOURS,payload:n}}changeMinutes(n){return{type:e.CHANGE_MINUTES,payload:n}}changeSeconds(n){return{type:e.CHANGE_SECONDS,payload:n}}setTime(n){return{type:e.SET_TIME_UNIT,payload:n}}updateControls(n){return{type:e.UPDATE_CONTROLS,payload:n}}static#o=this.\u0275fac=function(s){return new(s||e)};static#a=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Pa=10,Ra=24,$s=12,Ya=60,Ba=60;function Vi(e){return!(!e||e instanceof Date&&isNaN(e.getHours()))&&("string"!=typeof e||Vi(new Date(e)))}function Hi(e,i){return!(e.min&&i<e.min||e.max&&i>e.max)}function En(e){return typeof e>"u"?NaN:"number"==typeof e?e:parseInt(e,Pa)}function Xs(e,i=!1){const n=En(e);return isNaN(n)||n<0||n>(i?$s:Ra)?NaN:n}function zs(e){const i=En(e);return isNaN(i)||i<0||i>Ya?NaN:i}function Ks(e){const i=En(e);return isNaN(i)||i<0||i>Ba?NaN:i}function Zs(e){return"string"==typeof e?new Date(e):e}function rn(e,i){if(!e)return rn(ai(new Date,0,0,0),i);if(!i)return e;let n=e.getHours(),s=e.getMinutes(),r=e.getSeconds();return i.hour&&(n+=En(i.hour)),i.minute&&(s+=En(i.minute)),i.seconds&&(r+=En(i.seconds)),ai(e,n,s,r)}function Js(e,i){let n=Xs(i.hour);const s=zs(i.minute),r=Ks(i.seconds)||0;return i.isPM&&12!==n&&(n+=$s),e?isNaN(n)||isNaN(s)?e:ai(e,n,s,r):isNaN(n)||isNaN(s)?e:ai(new Date,n,s,r)}function ai(e,i,n,s){const r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),i,n,s,e.getMilliseconds());return r.setFullYear(e.getFullYear()),r.setMonth(e.getMonth()),r.setDate(e.getDate()),r}function ji(e){const i=e.toString();return i.length>1?i:`0${i}`}function Qs(e,i){return!isNaN(Xs(e,i))}function qs(e){return!isNaN(zs(e))}function er(e){return!isNaN(Ks(e))}function tr(e,i="0",n="0",s){return Qs(e,s)&&qs(i)&&er(n)}function li(e,i){return!(e.readonlyInput||e.disabled||i&&("wheel"===i.source&&!e.mousewheel||"key"===i.source&&!e.arrowkeys))}function nr(e){const{hourStep:i,minuteStep:n,secondsStep:s,readonlyInput:r,disabled:a,mousewheel:h,arrowkeys:R,showSpinners:ue,showMeridian:dt,showSeconds:bt,meridians:At,min:Gt,max:ts}=e;return{hourStep:i,minuteStep:n,secondsStep:s,readonlyInput:r,disabled:a,mousewheel:h,arrowkeys:R,showSpinners:ue,showMeridian:dt,showSeconds:bt,meridians:At,min:Gt,max:ts}}let ir=(()=>{class e{constructor(){this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.showMeridian=!0,this.meridians=["AM","PM"],this.readonlyInput=!1,this.disabled=!1,this.allowEmptyTime=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showSeconds=!1,this.showMinutes=!0,this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.ariaLabelHours="hours",this.ariaLabelMinutes="minutes",this.ariaLabelSeconds="seconds"}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const sr={value:void 0,config:new ir,controls:{canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0}};function rr(e=sr,i){switch(i.type){case mn.WRITE_VALUE:return Object.assign({},e,{value:i.payload});case mn.CHANGE_HOURS:{if(!li(e.config,i.payload)||!function Ha(e,i){return!(!e.step||e.step>0&&!i.canIncrementHours||e.step<0&&!i.canDecrementHours)}(i.payload,e.controls))return e;const n=rn(e.value,{hour:i.payload.step});return!e.config.max&&!e.config.min||Hi(e.config,n)?Object.assign({},e,{value:n}):e}case mn.CHANGE_MINUTES:{if(!li(e.config,i.payload)||!function ja(e,i){return!(!e.step||e.step>0&&!i.canIncrementMinutes||e.step<0&&!i.canDecrementMinutes)}(i.payload,e.controls))return e;const n=rn(e.value,{minute:i.payload.step});return!e.config.max&&!e.config.min||Hi(e.config,n)?Object.assign({},e,{value:n}):e}case mn.CHANGE_SECONDS:{if(!li(e.config,i.payload)||!function Na(e,i){return!(!e.step||e.step>0&&!i.canIncrementSeconds||e.step<0&&!i.canDecrementSeconds)}(i.payload,e.controls))return e;const n=rn(e.value,{seconds:i.payload.step});return!e.config.max&&!e.config.min||Hi(e.config,n)?Object.assign({},e,{value:n}):e}case mn.SET_TIME_UNIT:{if(!li(e.config))return e;const n=Js(e.value,i.payload);return Object.assign({},e,{value:n})}case mn.UPDATE_CONTROLS:{const n=function Ga(e,i){const{min:r,max:a,hourStep:h,minuteStep:R,secondsStep:ue,showSeconds:dt}=i,bt={canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0};if(!e)return bt;if(a){const At=rn(e,{hour:h});if(bt.canIncrementHours=a>At&&e.getHours()+h<24,!bt.canIncrementHours){const Gt=rn(e,{minute:R});bt.canIncrementMinutes=dt?a>Gt:a>=Gt}if(!bt.canIncrementMinutes){const Gt=rn(e,{seconds:ue});bt.canIncrementSeconds=a>=Gt}e.getHours()<12&&(bt.canToggleMeridian=rn(e,{hour:12})<a)}if(r){const At=rn(e,{hour:-h});if(bt.canDecrementHours=r<At,!bt.canDecrementHours){const Gt=rn(e,{minute:-R});bt.canDecrementMinutes=dt?r<Gt:r<=Gt}if(!bt.canDecrementMinutes){const Gt=rn(e,{seconds:-ue});bt.canDecrementSeconds=r<=Gt}e.getHours()>=12&&(bt.canToggleMeridian=rn(e,{hour:-12})>r)}return bt}(e.value,i.payload),s={value:e.value,config:i.payload,controls:n};return e.config.showMeridian!==s.config.showMeridian&&e.value&&(s.value=new Date(e.value)),Object.assign({},e,s)}default:return e}}let ci=(()=>{class e extends oi{constructor(){const n=new Fn.t({type:"[mini-ngrx] dispatcher init"});super(n,rr,new Us(sr,n,rr))}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Wa={provide:zn.kq,useExisting:(0,t.Rfq)(()=>Ni),multi:!0};let Ni=(()=>{class e{constructor(n,s,r,a){this._cd=s,this._store=r,this._timepickerActions=a,this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.readonlyInput=!1,this.disabled=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showMeridian=!0,this.showMinutes=!0,this.showSeconds=!1,this.meridians=["AM","PM"],this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.isValid=new t.bkB,this.meridianChange=new t.bkB,this.hours="",this.minutes="",this.seconds="",this.meridian="",this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1,this.labelHours="hours",this.labelMinutes="minutes",this.labelSeconds="seconds",this.canIncrementHours=!0,this.canIncrementMinutes=!0,this.canIncrementSeconds=!0,this.canDecrementHours=!0,this.canDecrementMinutes=!0,this.canDecrementSeconds=!0,this.canToggleMeridian=!0,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.config=n,Object.assign(this,this.config),this.timepickerSub=r.select(h=>h.value).subscribe(h=>{this._renderTime(h),this.onChange(h),this._store.dispatch(this._timepickerActions.updateControls(nr(this)))}),r.select(h=>h.controls).subscribe(h=>{const R=tr(this.hours,this.minutes,this.seconds,this.isPM()),ue=this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||R;this.isValid.emit(ue),Object.assign(this,h),s.markForCheck()})}get isSpinnersVisible(){return this.showSpinners&&!this.readonlyInput}get isEditable(){return!(this.readonlyInput||this.disabled)}resetValidation(){this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1}isPM(){return this.showMeridian&&this.meridian===this.meridians[1]}prevDef(n){n.preventDefault()}wheelSign(n){return-1*Math.sign(n.deltaY||0)}ngOnChanges(){this._store.dispatch(this._timepickerActions.updateControls(nr(this)))}changeHours(n,s=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeHours({step:n,source:s}))}changeMinutes(n,s=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeMinutes({step:n,source:s}))}changeSeconds(n,s=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeSeconds({step:n,source:s}))}updateHours(n){this.resetValidation(),this.hours=n.value;const s=Qs(this.hours,this.isPM())&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||s))return this.invalidHours=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateMinutes(n){this.resetValidation(),this.minutes=n.value;const s=qs(this.minutes)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||s))return this.invalidMinutes=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateSeconds(n){this.resetValidation(),this.seconds=n.value;const s=er(this.seconds)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||s))return this.invalidSeconds=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}isValidLimit(){return function Fa(e,i,n){const s=Js(new Date,e);return!(!s||i&&s>i||n&&s<n)}({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()},this.max,this.min)}isOneOfDatesIsEmpty(){return function Va(e,i,n){return 0===e.length||0===i.length||0===n.length}(this.hours,this.minutes,this.seconds)}_updateTime(){const r=tr(this.hours,this.showMinutes?this.minutes:void 0,this.showSeconds?this.seconds:void 0,this.isPM());if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||r))return this.isValid.emit(!1),void this.onChange(null);this._store.dispatch(this._timepickerActions.setTime({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()}))}toggleMeridian(){this.showMeridian&&this.isEditable&&this._store.dispatch(this._timepickerActions.changeHours({step:12,source:""}))}writeValue(n){Vi(n)?(this.resetValidation(),this._store.dispatch(this._timepickerActions.writeValue(Zs(n)))):null==n&&this._store.dispatch(this._timepickerActions.writeValue())}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this._cd.markForCheck()}ngOnDestroy(){this.timepickerSub?.unsubscribe()}_renderTime(n){if(!n||!Vi(n))return this.hours="",this.minutes="",this.seconds="",this.meridian=this.meridians[0],void this.meridianChange.emit(this.meridian);const s=Zs(n);if(!s)return;let a=s.getHours();this.showMeridian&&(this.meridian=this.meridians[a>=12?1:0],this.meridianChange.emit(this.meridian),a%=12,0===a&&(a=12)),this.hours=ji(a),this.minutes=ji(s.getMinutes()),this.seconds=ji(s.getUTCSeconds())}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(ir),t.rXU(t.gRc),t.rXU(ci),t.rXU(mn))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["timepicker"]],inputs:{hourStep:"hourStep",minuteStep:"minuteStep",secondsStep:"secondsStep",readonlyInput:"readonlyInput",disabled:"disabled",mousewheel:"mousewheel",arrowkeys:"arrowkeys",showSpinners:"showSpinners",showMeridian:"showMeridian",showMinutes:"showMinutes",showSeconds:"showSeconds",meridians:"meridians",min:"min",max:"max",hoursPlaceholder:"hoursPlaceholder",minutesPlaceholder:"minutesPlaceholder",secondsPlaceholder:"secondsPlaceholder"},outputs:{isValid:"isValid",meridianChange:"meridianChange"},features:[t.Jv_([Wa,ci]),t.OA$],decls:31,vars:33,consts:[[1,"text-center",3,"hidden"],["href","javascript:void(0);",1,"btn","btn-link",3,"click"],[1,"bs-chevron","bs-chevron-up"],[4,"ngIf"],[1,"form-group","mb-3"],["type","text","maxlength","2",1,"form-control","text-center","bs-timepicker-field",3,"wheel","keydown.ArrowUp","keydown.ArrowDown","change","placeholder","readonly","disabled","value"],["class","form-group mb-3",3,"has-error",4,"ngIf"],[1,"bs-chevron","bs-chevron-down"],["type","button",1,"btn","btn-default","text-center",3,"click","disabled"]],template:function(s,r){1&s&&(t.j41(0,"table")(1,"tbody")(2,"tr",0)(3,"td")(4,"a",1),t.bIt("click",function(){return r.changeHours(r.hourStep)}),t.nrm(5,"span",2),t.k0s()(),t.DNE(6,fa,2,0,"td",3)(7,ga,3,2,"td",3)(8,ba,2,0,"td",3)(9,va,3,2,"td",3)(10,ya,2,0,"td",3)(11,Da,1,0,"td",3),t.k0s(),t.j41(12,"tr")(13,"td",4)(14,"input",5),t.bIt("wheel",function(h){return r.prevDef(h),r.changeHours(r.hourStep*r.wheelSign(h),"wheel")})("keydown.ArrowUp",function(){return r.changeHours(r.hourStep,"key")})("keydown.ArrowDown",function(){return r.changeHours(-r.hourStep,"key")})("change",function(h){return r.updateHours(h.target)}),t.k0s()(),t.DNE(15,Ta,2,0,"td",3)(16,Ca,2,9,"td",6)(17,Ma,2,0,"td",3)(18,ka,2,9,"td",6)(19,wa,2,0,"td",3)(20,Ea,3,4,"td",3),t.k0s(),t.j41(21,"tr",0)(22,"td")(23,"a",1),t.bIt("click",function(){return r.changeHours(-r.hourStep)}),t.nrm(24,"span",7),t.k0s()(),t.DNE(25,Sa,2,0,"td",3)(26,La,3,2,"td",3)(27,xa,2,0,"td",3)(28,Oa,3,2,"td",3)(29,Ia,2,0,"td",3)(30,Aa,1,0,"td",3),t.k0s()()()),2&s&&(t.R7$(2),t.Y8G("hidden",!r.showSpinners),t.R7$(2),t.AVh("disabled",!r.canIncrementHours||!r.isEditable),t.R7$(2),t.Y8G("ngIf",r.showMinutes),t.R7$(),t.Y8G("ngIf",r.showMinutes),t.R7$(),t.Y8G("ngIf",r.showSeconds),t.R7$(),t.Y8G("ngIf",r.showSeconds),t.R7$(),t.Y8G("ngIf",r.showMeridian),t.R7$(),t.Y8G("ngIf",r.showMeridian),t.R7$(2),t.AVh("has-error",r.invalidHours),t.R7$(),t.AVh("is-invalid",r.invalidHours),t.Y8G("placeholder",r.hoursPlaceholder)("readonly",r.readonlyInput)("disabled",r.disabled)("value",r.hours),t.BMQ("aria-label",r.labelHours),t.R7$(),t.Y8G("ngIf",r.showMinutes),t.R7$(),t.Y8G("ngIf",r.showMinutes),t.R7$(),t.Y8G("ngIf",r.showSeconds),t.R7$(),t.Y8G("ngIf",r.showSeconds),t.R7$(),t.Y8G("ngIf",r.showMeridian),t.R7$(),t.Y8G("ngIf",r.showMeridian),t.R7$(),t.Y8G("hidden",!r.showSpinners),t.R7$(2),t.AVh("disabled",!r.canDecrementHours||!r.isEditable),t.R7$(2),t.Y8G("ngIf",r.showMinutes),t.R7$(),t.Y8G("ngIf",r.showMinutes),t.R7$(),t.Y8G("ngIf",r.showSeconds),t.R7$(),t.Y8G("ngIf",r.showSeconds),t.R7$(),t.Y8G("ngIf",r.showMeridian),t.R7$(),t.Y8G("ngIf",r.showMeridian))},dependencies:[St.bT],styles:[".bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:2px}.bs-chevron-down{-webkit-transform:rotate(-135deg);transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem}\n"],encapsulation:2,changeDetection:0})}return e})(),Ua=(()=>{class e{static forRoot(){return{ngModule:e,providers:[mn,ci]}}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({providers:[ci],imports:[St.MD]})}return e})();var zt=l(9969),di=l(8359),$a=l(3073),or=l(2806),Xa=l(6450),ar=l(9326),za=l(8496),Ka=l(5225);function lr(e,i,n){e?(0,Ka.N)(n,e,i):i()}var Kn=l(1413),cr=l(534),Gi=l(6932);function Qa(e,i){if(1&e){const n=t.RV6();t.j41(0,"button",2),t.bIt("click",function(){const r=t.eBV(n).$implicit,a=t.XpG();return t.Njj(a.selectFromRanges(r))}),t.EFF(1),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG();t.AVh("selected",n.value===s.selectedRange),t.R7$(),t.SpI(" ",n.label," ")}}const qa=[[["bs-datepicker-navigation-view"]],"*"],el=["bs-datepicker-navigation-view","*"];function tl(e,i){1&e&&t.nrm(0,"bs-current-date",4)}function nl(e,i){1&e&&t.nrm(0,"bs-timepicker")}const il=["bsDatepickerDayDecorator",""];function sl(e,i){if(1&e){const n=t.RV6();t.qex(0),t.EFF(1," \u200b "),t.j41(2,"button",2),t.bIt("click",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.view("month"))}),t.j41(3,"span"),t.EFF(4),t.k0s()(),t.bVm()}if(2&e){const n=t.XpG();t.R7$(2),t.Y8G("disabled",n.isDisabled),t.R7$(2),t.JRh(n.calendar.monthTitle)}}function rl(e,i){1&e&&t.nrm(0,"th")}function ol(e,i){if(1&e&&(t.j41(0,"th",5),t.EFF(1),t.k0s()),2&e){const n=i.index,s=t.XpG();t.R7$(),t.SpI("",s.calendar.weekdays[n]," ")}}function al(e,i){if(1&e){const n=t.RV6();t.j41(0,"span",11),t.bIt("click",function(){t.eBV(n);const r=t.XpG(2).$implicit,a=t.XpG();return t.Njj(a.selectWeek(r))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG(2).index,s=t.XpG();t.R7$(),t.JRh(s.calendar.weekNumbers[n])}}function ll(e,i){if(1&e){const n=t.RV6();t.j41(0,"span",12),t.bIt("click",function(){t.eBV(n);const r=t.XpG(2).$implicit,a=t.XpG();return t.Njj(a.selectWeek(r))})("mouseenter",function(){t.eBV(n);const r=t.XpG(2).$implicit,a=t.XpG();return t.Njj(a.weekHoverHandler(r,!0))})("mouseleave",function(){t.eBV(n);const r=t.XpG(2).$implicit,a=t.XpG();return t.Njj(a.weekHoverHandler(r,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG(2).index,s=t.XpG();t.R7$(),t.JRh(s.calendar.weekNumbers[n])}}function cl(e,i){if(1&e&&(t.j41(0,"td",8),t.DNE(1,al,2,1,"span",9)(2,ll,2,1,"span",10),t.k0s()),2&e){const n=t.XpG(2);t.AVh("active-week",n.isWeekHovered),t.R7$(),t.Y8G("ngIf",n.isiOS),t.R7$(),t.Y8G("ngIf",!n.isiOS)}}function dl(e,i){if(1&e){const n=t.RV6();t.j41(0,"span",17),t.bIt("click",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.selectDay(r))})("mouseenter",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.hoverDay(r,!0))})("mouseleave",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.hoverDay(r,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.FS9("tooltip",n.tooltipText),t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 3")}}function ul(e,i){if(1&e){const n=t.RV6();t.j41(0,"span",18),t.bIt("click",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.selectDay(r))})("mouseenter",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.hoverDay(r,!0))})("mouseleave",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.hoverDay(r,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 2")}}function hl(e,i){if(1&e){const n=t.RV6();t.j41(0,"span",19),t.bIt("click",function(){t.eBV(n);const r=t.XpG().$implicit,a=t.XpG(2);return t.Njj(a.selectDay(r))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 1")}}function _l(e,i){if(1&e&&(t.j41(0,"td",13),t.DNE(1,dl,2,3,"span",14)(2,ul,2,2,"span",15)(3,hl,2,2,"span",16),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",!n.isiOS&&n.isShowTooltip),t.R7$(),t.Y8G("ngIf",!n.isiOS&&!n.isShowTooltip),t.R7$(),t.Y8G("ngIf",n.isiOS)}}function pl(e,i){if(1&e&&(t.j41(0,"tr"),t.DNE(1,cl,3,4,"td",6)(2,_l,4,3,"td",7),t.k0s()),2&e){const n=i.$implicit,s=t.XpG();t.R7$(),t.Y8G("ngIf",s.options&&s.options.showWeekNumbers),t.R7$(),t.Y8G("ngForOf",n.days)}}function ml(e,i){if(1&e){const n=t.RV6();t.j41(0,"td",4),t.bIt("click",function(){const r=t.eBV(n).$implicit,a=t.XpG(2);return t.Njj(a.viewMonth(r))})("mouseenter",function(){const r=t.eBV(n).$implicit,a=t.XpG(2);return t.Njj(a.hoverMonth(r,!0))})("mouseleave",function(){const r=t.eBV(n).$implicit,a=t.XpG(2);return t.Njj(a.hoverMonth(r,!1))}),t.j41(1,"span"),t.EFF(2),t.k0s()()}if(2&e){const n=i.$implicit;t.AVh("disabled",n.isDisabled)("is-highlighted",n.isHovered),t.R7$(),t.AVh("selected",n.isSelected),t.R7$(),t.JRh(n.label)}}function fl(e,i){if(1&e&&(t.j41(0,"tr"),t.DNE(1,ml,3,7,"td",3),t.k0s()),2&e){const n=i.$implicit;t.R7$(),t.Y8G("ngForOf",n)}}function gl(e,i){if(1&e){const n=t.RV6();t.j41(0,"td",4),t.bIt("click",function(){const r=t.eBV(n).$implicit,a=t.XpG(2);return t.Njj(a.viewYear(r))})("mouseenter",function(){const r=t.eBV(n).$implicit,a=t.XpG(2);return t.Njj(a.hoverYear(r,!0))})("mouseleave",function(){const r=t.eBV(n).$implicit,a=t.XpG(2);return t.Njj(a.hoverYear(r,!1))}),t.j41(1,"span"),t.EFF(2),t.k0s()()}if(2&e){const n=i.$implicit;t.AVh("disabled",n.isDisabled)("is-highlighted",n.isHovered),t.R7$(),t.AVh("selected",n.isSelected),t.R7$(),t.JRh(n.label)}}function bl(e,i){if(1&e&&(t.j41(0,"tr"),t.DNE(1,gl,3,7,"td",3),t.k0s()),2&e){const n=i.$implicit;t.R7$(),t.Y8G("ngForOf",n)}}const dr=["startTP"];function vl(e,i){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.navigateTo(r))})("onViewMode",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.setViewMode(r))})("onHover",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.dayHoverHandler(r))})("onHoverWeek",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.weekHoverHandler(r))})("onSelect",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.daySelectHandler(r))}),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG(3);t.AVh("bs-datepicker-multiple",s.multipleCalendars),t.Y8G("calendar",n)("isDisabled",s.isDatePickerDisabled)("options",t.bMT(1,5,s.options$))}}function yl(e,i){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Dl(e,i){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,yl,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function Tl(e,i){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,vl,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Dl,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function Cl(e,i){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.navigateTo(r))})("onViewMode",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.setViewMode(r))})("onHover",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.monthHoverHandler(r))})("onSelect",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.monthSelectHandler(r))}),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG(3);t.AVh("bs-datepicker-multiple",s.multipleCalendars),t.Y8G("calendar",n)}}function Ml(e,i){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Cl,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function kl(e,i){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.navigateTo(r))})("onViewMode",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.setViewMode(r))})("onHover",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.yearHoverHandler(r))})("onSelect",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.yearSelectHandler(r))}),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG(3);t.AVh("bs-datepicker-multiple",s.multipleCalendars),t.Y8G("calendar",n)}}function wl(e,i){if(1&e&&(t.j41(0,"div",10),t.DNE(1,kl,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function El(e,i){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function Sl(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const r=t.XpG(3);return t.Njj(r.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function Ll(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const r=t.XpG(3);return t.Njj(r.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function xl(e,i){if(1&e&&(t.j41(0,"div",19),t.DNE(1,Sl,3,7,"div",22)(2,Ll,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function Ol(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(r){t.eBV(n);const a=t.XpG(2);return t.Njj(a.setRangeOnCalendar(r))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Il(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,Tl,5,4,"ng-container",6)(5,Ml,3,3,"div",7)(6,wl,3,3,"div",7),t.k0s(),t.DNE(7,El,5,0,"div",8)(8,xl,3,2,"div",8),t.k0s(),t.DNE(9,Ol,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}const $l=["endTP"];function Xl(e,i){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.navigateTo(r))})("onViewMode",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.setViewMode(r))})("onHover",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.dayHoverHandler(r))})("onHoverWeek",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.weekHoverHandler(r))})("onSelect",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.daySelectHandler(r))}),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG(3);t.AVh("bs-datepicker-multiple",s.multipleCalendars),t.Y8G("calendar",n)("isDisabled",s.isDatePickerDisabled)("options",t.bMT(1,5,s.options$))}}function zl(e,i){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Kl(e,i){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,zl,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function Zl(e,i){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,Xl,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Kl,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function Jl(e,i){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.navigateTo(r))})("onViewMode",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.setViewMode(r))})("onHover",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.monthHoverHandler(r))})("onSelect",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.monthSelectHandler(r))}),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG(3);t.AVh("bs-datepicker-multiple",s.multipleCalendars),t.Y8G("calendar",n)}}function Ql(e,i){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Jl,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function ql(e,i){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.navigateTo(r))})("onViewMode",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.setViewMode(r))})("onHover",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.yearHoverHandler(r))})("onSelect",function(r){t.eBV(n);const a=t.XpG(3);return t.Njj(a.yearSelectHandler(r))}),t.k0s()}if(2&e){const n=i.$implicit,s=t.XpG(3);t.AVh("bs-datepicker-multiple",s.multipleCalendars),t.Y8G("calendar",n)}}function ec(e,i){if(1&e&&(t.j41(0,"div",10),t.DNE(1,ql,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function tc(e,i){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function nc(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const r=t.XpG(3);return t.Njj(r.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function ic(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const r=t.XpG(3);return t.Njj(r.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function sc(e,i){if(1&e&&(t.j41(0,"div",19),t.DNE(1,nc,3,7,"div",22)(2,ic,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function rc(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(r){t.eBV(n);const a=t.XpG(2);return t.Njj(a.setRangeOnCalendar(r))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function oc(e,i){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const r=t.XpG();return t.Njj(r.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,Zl,5,4,"ng-container",6)(5,Ql,3,3,"div",7)(6,ec,3,3,"div",7),t.k0s(),t.DNE(7,tc,5,0,"div",8)(8,sc,3,2,"div",8),t.k0s(),t.DNE(9,rc,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let fn=(()=>{class e{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ur="220ms cubic-bezier(0, 0, 0.2, 1)",hr=(0,zt.hZ)("datepickerAnimation",[(0,zt.wk)("animated-down",(0,zt.iF)({height:"*",overflow:"hidden"})),(0,zt.kY)("* => animated-down",[(0,zt.iF)({height:0,overflow:"hidden"}),(0,zt.i0)(ur)]),(0,zt.wk)("animated-up",(0,zt.iF)({height:"*",overflow:"hidden"})),(0,zt.kY)("* => animated-up",[(0,zt.iF)({height:"*",overflow:"hidden"}),(0,zt.i0)(ur)]),(0,zt.kY)("* => unanimated",(0,zt.i0)("0s"))]);class _r{constructor(){this.containerClass="",this.customRanges=[],this.chosenRange=[],this._daysCalendarSub=new di.yU,this.selectedTimeSub=new di.yU}set minDate(i){this._effects?.setMinDate(i)}set maxDate(i){this._effects?.setMaxDate(i)}set daysDisabled(i){this._effects?.setDaysDisabled(i)}set datesDisabled(i){this._effects?.setDatesDisabled(i)}set datesEnabled(i){this._effects?.setDatesEnabled(i)}set isDisabled(i){this._effects?.setDisabled(i)}set dateCustomClasses(i){this._effects?.setDateCustomClasses(i)}set dateTooltipTexts(i){this._effects?.setDateTooltipTexts(i)}set daysCalendar$(i){this._daysCalendar$=i,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(n=>{this.multipleCalendars=!!n&&n.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(i){}navigateTo(i){}dayHoverHandler(i){}weekHoverHandler(i){}monthHoverHandler(i){}yearHoverHandler(i){}timeSelectHandler(i,n){}daySelectHandler(i){}monthSelectHandler(i){}yearSelectHandler(i){}setRangeOnCalendar(i){}setToday(){}clearDate(){}_stopPropagation(i){i.stopPropagation()}}let It=(()=>{class e{static#e=this.CALCULATE="[datepicker] calculate dates matrix";static#t=this.FORMAT="[datepicker] format datepicker values";static#n=this.FLAG="[datepicker] set flags";static#i=this.SELECT="[datepicker] select date";static#s=this.NAVIGATE_OFFSET="[datepicker] shift view date";static#r=this.NAVIGATE_TO="[datepicker] change view date";static#o=this.SET_OPTIONS="[datepicker] update render options";static#a=this.HOVER="[datepicker] hover date";static#l=this.CHANGE_VIEWMODE="[datepicker] switch view mode";static#c=this.SET_MIN_DATE="[datepicker] set min date";static#d=this.SET_MAX_DATE="[datepicker] set max date";static#u=this.SET_DAYSDISABLED="[datepicker] set days disabled";static#h=this.SET_DATESDISABLED="[datepicker] set dates disabled";static#_=this.SET_DATESENABLED="[datepicker] set dates enabled";static#p=this.SET_IS_DISABLED="[datepicker] set is disabled";static#m=this.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes";static#f=this.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts";static#g=this.SET_LOCALE="[datepicker] set datepicker locale";static#b=this.SELECT_TIME="[datepicker] select time";static#v=this.SELECT_RANGE="[daterangepicker] select dates range";calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}flag(){return{type:e.FLAG}}select(n){return{type:e.SELECT,payload:n}}selectTime(n,s){return{type:e.SELECT_TIME,payload:{date:n,index:s}}}changeViewMode(n){return{type:e.CHANGE_VIEWMODE,payload:n}}navigateTo(n){return{type:e.NAVIGATE_TO,payload:n}}navigateStep(n){return{type:e.NAVIGATE_OFFSET,payload:n}}setOptions(n){return{type:e.SET_OPTIONS,payload:n}}selectRange(n){return{type:e.SELECT_RANGE,payload:n}}hoverDay(n){return{type:e.HOVER,payload:n.isHovered?n.cell.date:null}}minDate(n){return{type:e.SET_MIN_DATE,payload:n}}maxDate(n){return{type:e.SET_MAX_DATE,payload:n}}daysDisabled(n){return{type:e.SET_DAYSDISABLED,payload:n}}datesDisabled(n){return{type:e.SET_DATESDISABLED,payload:n}}datesEnabled(n){return{type:e.SET_DATESENABLED,payload:n}}isDisabled(n){return{type:e.SET_IS_DISABLED,payload:n}}setDateCustomClasses(n){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:n}}setDateTooltipTexts(n){return{type:e.SET_DATE_TOOLTIP_TEXTS,payload:n}}setLocale(n){return{type:e.SET_LOCALE,payload:n}}static#y=this.\u0275fac=function(s){return new(s||e)};static#D=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ui=(()=>{class e{constructor(){this._defaultLocale="en",this._locale=new Fn.t(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(n){n!==this.currentLocale&&this._locale.next(n)}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=(()=>{class e{constructor(n,s){this._actions=n,this._localeService=s,this._subs=[]}init(n){return this._store=n,this}setValue(n){this._store?.dispatch(this._actions.select(n))}setRangeValue(n){this._store?.dispatch(this._actions.selectRange(n))}setMinDate(n){return this._store?.dispatch(this._actions.minDate(n)),this}setMaxDate(n){return this._store?.dispatch(this._actions.maxDate(n)),this}setDaysDisabled(n){return this._store?.dispatch(this._actions.daysDisabled(n)),this}setDatesDisabled(n){return this._store?.dispatch(this._actions.datesDisabled(n)),this}setDatesEnabled(n){return this._store?.dispatch(this._actions.datesEnabled(n)),this}setDisabled(n){return this._store?.dispatch(this._actions.isDisabled(n)),this}setDateCustomClasses(n){return this._store?.dispatch(this._actions.setDateCustomClasses(n)),this}setDateTooltipTexts(n){return this._store?.dispatch(this._actions.setDateTooltipTexts(n)),this}setOptions(n){const s=Object.assign({locale:this._localeService.currentLocale},n);return this._store?.dispatch(this._actions.setOptions(s)),this}setBindings(n){return this._store?(n.selectedTime=this._store.select(s=>s.selectedTime).pipe((0,m.p)(s=>!!s)),n.daysCalendar$=this._store.select(s=>s.flaggedMonths).pipe((0,m.p)(s=>!!s)),n.monthsCalendar=this._store.select(s=>s.flaggedMonthsCalendar).pipe((0,m.p)(s=>!!s)),n.yearsCalendar=this._store.select(s=>s.yearsCalendarFlagged).pipe((0,m.p)(s=>!!s)),n.viewMode=this._store.select(s=>s.view?.mode),n.options$=function Za(...e){const i=(0,ar.lI)(e),n=(0,ar.ms)(e),{args:s,keys:r}=(0,$a.D)(e);if(0===s.length)return(0,or.H)([],i);const a=new Fi.c(function Ja(e,i,n=J.D){return s=>{lr(i,()=>{const{length:r}=e,a=new Array(r);let h=r,R=r;for(let ue=0;ue<r;ue++)lr(i,()=>{const dt=(0,or.H)(e[ue],i);let bt=!1;dt.subscribe((0,te._)(s,At=>{a[ue]=At,bt||(bt=!0,R--),R||s.next(n(a.slice()))},()=>{--h||s.complete()}))},s)},s)}}(s,i,r?h=>(0,za.e)(r,h):J.D));return n?a.pipe((0,Xa.I)(n)):a}([this._store.select(s=>s.showWeekNumbers),this._store.select(s=>s.displayMonths)]).pipe((0,x.T)(s=>({showWeekNumbers:s[0],displayMonths:s[1]}))),this):this}setEventHandlers(n){return n.setViewMode=s=>{this._store?.dispatch(this._actions.changeViewMode(s))},n.navigateTo=s=>{this._store?.dispatch(this._actions.navigateStep(s.step))},n.dayHoverHandler=s=>{const r=s.cell;r.isOtherMonth||r.isDisabled||(this._store?.dispatch(this._actions.hoverDay(s)),r.isHovered=s.isHovered)},n.monthHoverHandler=s=>{s.cell.isHovered=s.isHovered},n.yearHoverHandler=s=>{s.cell.isHovered=s.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(n=>n.view).subscribe(()=>{this._store?.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(n=>n.monthsModel).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.format()))),this._subs.push(this._store.select(n=>n.formattedMonths).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.selectedDate).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.selectedRange).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.monthsCalendar).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.yearsCalendarModel).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.hoveredDate).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.dateCustomClasses).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.dateTooltipTexts).pipe((0,m.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(n=>this._store?.dispatch(this._actions.setLocale(n)))),this):this}destroy(){for(const n of this._subs)n.unsubscribe()}static#e=this.\u0275fac=function(s){return new(s||e)(t.KVO(It),t.KVO(ui))};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Tc={date:new Date,mode:"day"},pr=Object.assign(new fn,{locale:"en",view:Tc,selectedRange:[],selectedTime:[],monthViewOptions:{width:7,height:6}});function Wi(e,i,n){const s=i&&un(Ge(e,"month"),i,"day"),r=n&&an(pe(e,"month"),n,"day");return s||r||!1}function Jn(e,i,n){const s=i&&un(Ge(e,"year"),i,"day"),r=n&&an(pe(e,"year"),n,"day");return s||r||!1}function Ui(e,i,n){return!!(i&&Q(i)&&i.length)&&(n&&"year"===n&&!i[0].getDate()?i.some(s=>On(e,s,"year")):i.some(s=>On(e,s,"date")))}function $i(e,i,n){return!!(i&&Q(i)&&i.length)&&!i.some(s=>On(e,s,n||"date"))}function mr(e,i=0){const n=e&&e.yearsCalendarModel&&e.yearsCalendarModel[i];return n?.years[0]&&n.years[0][0]&&n.years[0][0].date}function kc(e,i){return!e||!i||!e.length&&!e[0].value||e.forEach(n=>(!n||!n.value||n.value instanceof Date||!(n.value instanceof Array&&n.value.length)||(n.value=gr(n.value,i)),e)),e}function fr(e,i){return!e||!i||e instanceof Array&&!e.length||e instanceof Date?e:gr(e,i)}function gr(e,i){return e instanceof Array?e.map(s=>s&&(an(s,i,"date")&&(s=i),s)):e}function br(e){return e&&yr(e)}function vr(e){return e?.length&&e.map(i=>i&&yr(i)),e}function yr(e){const i=new Date;return e.setMilliseconds(i.getMilliseconds()),e.setSeconds(i.getSeconds()),e.setMinutes(i.getMinutes()),e.setHours(i.getHours()),e}function Xi(e,i){let n=e.initialDate;const s=new Array(e.height);for(let r=0;r<e.height;r++){s[r]=new Array(e.width);for(let a=0;a<e.width;a++)s[r][a]=i(n),n=D(n,e.shift)}return s}function zi(e,i){const n=function le(e){return Rt(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds())}(e),s=function Cc(e,i){if(function we(e,i){return e.getDay()===Number(i)}(e,i.firstDayOfWeek))return e;const s=function Mc(e,i){const n=Number(i);if(isNaN(n))return 0;if(0===n)return e;const s=e-n%7;return s<0?s+7:s}(lt(e),i.firstDayOfWeek);return D(e,{day:-s})}(n,i);return{daysMatrix:Xi({width:i.width||0,height:i.height||0,initialDate:s,shift:{day:1}},h=>h),month:n}}function Ec(e,i,n){return e.map(s=>s[0]?Zt(s[0],i,n):"")}function Sc(e){const i=Bt(e),n=i.weekdaysShort(),s=i.firstDayOfWeek();return[...n.slice(s),...n.slice(0,s)]}function Dr(e,i){return!i||e>=i}const Oc=4,Ic=3,Ac={month:1};function Tr(e,i){const n=pe(e,"year");return{months:Xi({width:Ic,height:Oc,initialDate:n,shift:Ac},a=>({date:a,label:Zt(a,i.monthLabel,i.locale)})),monthTitle:"",yearTitle:Zt(e,i.yearTitle,i.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}const Ki=4,Zi=4,hi=Ki*Zi,Cr=-1*(Math.floor(hi/2)-1),Rc={year:1};function Mr(e,i,n){const s=function Yc(e,i){return i&&e.getFullYear()>=i.getFullYear()&&e.getFullYear()<i.getFullYear()+hi?i:D(e,{year:Cr})}(e,n),a=Xi({width:Zi,height:Ki,initialDate:s,shift:Rc},R=>({date:R,label:Zt(R,i.yearLabel,i.locale)})),h=function Bc(e,i){return`${Zt(e[0][0].date,i.yearTitle,i.locale)} - ${Zt(e[Ki-1][Zi-1].date,i.yearTitle,i.locale)}`}(a,i);return{years:a,monthTitle:"",yearTitle:h,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function Ji(e,i){!e||!isNaN(e.getTime())||(e.setHours(i.getHours()),e.setMinutes(i.getMinutes()),e.setSeconds(i.getSeconds()),e.setMilliseconds(i.getMilliseconds()))}function kr(e=pr,i){switch(i.type){case It.CALCULATE:return function Vc(e){if(!e.view)return e;let i;i=e.displayOneMonthRange&&wr(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths||1;let n=e.view.date;if("day"===e.view.mode&&e.monthViewOptions){e.showPreviousMonth&&e.selectedRange&&0===e.selectedRange.length&&(n=D(n,{month:-1})),e.monthViewOptions.firstDayOfWeek=Bt(e.locale).firstDayOfWeek();let s=new Array(i);for(let r=0;r<i;r++)s[r]=zi(n,e.monthViewOptions),n=D(n,{month:1});if(e.preventChangeToNextMonth&&e.flaggedMonths&&e.hoveredDate){const r=zi(e.view.date,e.monthViewOptions);e.flaggedMonths.length&&e.flaggedMonths[1].month.getMonth()===r.month.getMonth()&&(s=e.flaggedMonths.map(a=>e.monthViewOptions?zi(a.month,e.monthViewOptions):null).filter(a=>null!==a))}return Object.assign({},e,{monthsModel:s})}if("month"===e.view.mode){const s=new Array(i);for(let r=0;r<i;r++)s[r]=Tr(n,Qn(e)),n=D(n,{year:1});return Object.assign({},e,{monthsCalendar:s})}if("year"===e.view.mode){const s=new Array(i);for(let r=0;r<i;r++)s[r]=Mr(n,Qn(e),"year"===e.minMode?mr(e,r):void 0),n=D(n,{year:hi});return Object.assign({},e,{yearsCalendarModel:s})}return e}(e);case It.FORMAT:return function Hc(e){if(!e.view)return e;if("day"===e.view.mode&&e.monthsModel){const s=e.monthsModel.map((r,a)=>function wc(e,i,n){return{month:e.month,monthTitle:Zt(e.month,i.monthTitle,i.locale),yearTitle:Zt(e.month,i.yearTitle,i.locale),weekNumbers:Ec(e.daysMatrix,i.weekNumbers,i.locale),weekdays:Sc(i.locale),weeks:e.daysMatrix.map((s,r)=>({days:s.map((a,h)=>({date:a,label:Zt(a,i.dayLabel,i.locale),monthIndex:n,weekIndex:r,dayIndex:h}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}(r,Qn(e),a));return Object.assign({},e,{formattedMonths:s})}const i=e.displayMonths||1;let n=e.view.date;if("month"===e.view.mode){const s=new Array(i);for(let r=0;r<i;r++)s[r]=Tr(n,Qn(e)),n=D(n,{year:1});return Object.assign({},e,{monthsCalendar:s})}if("year"===e.view.mode){const s=new Array(i);for(let r=0;r<i;r++)s[r]=Mr(n,Qn(e)),n=D(n,{year:16});return Object.assign({},e,{yearsCalendarModel:s})}return e}(e);case It.FLAG:return function jc(e){if(!e.view)return e;const i=wr(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths;if(e.formattedMonths&&"day"===e.view.mode){const n=e.formattedMonths.map((s,r)=>function Lc(e,i){return e.weeks.forEach(n=>{n.days.forEach((s,r)=>{const a=!Ie(s.date,e.month),h=!a&&Re(s.date,i.hoveredDate),R=!a&&i.selectedRange&&Re(s.date,i.selectedRange[0]),ue=!a&&i.selectedRange&&Re(s.date,i.selectedRange[1]),dt=!a&&Re(s.date,i.selectedDate)||R||ue,bt=!a&&i.selectedRange&&function xc(e,i,n){return!!(e&&i&&i[0])&&(i[1]?e>i[0]&&e<=i[1]:!!n&&e>i[0]&&e<=n)}(s.date,i.selectedRange,i.hoveredDate),At=i.isDisabled||un(s.date,i.minDate,"day")||an(s.date,i.maxDate,"day")||function So(e,i){return!(typeof i>"u"||!i||!i.length)&&i.some(n=>n===e.getDay())}(s.date,i.daysDisabled)||Ui(s.date,i.datesDisabled)||$i(s.date,i.datesEnabled),ts=!a&&Re(s.date,new Date),id=i.dateCustomClasses&&i.dateCustomClasses.map(pn=>Re(s.date,pn.date)?pn.classes:[]).reduce((pn,ns)=>pn.concat(ns),[]).join(" ")||"",sd=i.dateTooltipTexts&&i.dateTooltipTexts.map(pn=>Re(s.date,pn.date)?pn.tooltipText:"").reduce((pn,ns)=>(pn.push(ns),pn),[]).join(" ")||"",_n=Object.assign({},s,{isOtherMonth:a,isHovered:h,isSelected:dt,isSelectionStart:R,isSelectionEnd:ue,isInRange:bt,isDisabled:At,isToday:ts,customClasses:id,tooltipText:sd});(s.isOtherMonth!==_n.isOtherMonth||s.isHovered!==_n.isHovered||s.isSelected!==_n.isSelected||s.isSelectionStart!==_n.isSelectionStart||s.isSelectionEnd!==_n.isSelectionEnd||s.isDisabled!==_n.isDisabled||s.isInRange!==_n.isInRange||s.customClasses!==_n.customClasses||s.tooltipText!==_n.tooltipText)&&(n.days[r]=_n)})}),e.hideLeftArrow=i.isDisabled||!!i.monthIndex&&i.monthIndex>0&&i.monthIndex!==i.displayMonths,e.hideRightArrow=i.isDisabled||(!!i.monthIndex||0===i.monthIndex)&&!!i.displayMonths&&i.monthIndex<i.displayMonths&&i.monthIndex+1!==i.displayMonths,e.disableLeftArrow=Wi(D(e.month,{month:-1}),i.minDate,i.maxDate),e.disableRightArrow=Wi(D(e.month,{month:1}),i.minDate,i.maxDate),e}(s,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,daysDisabled:e.daysDisabled,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,hoveredDate:e.hoveredDate,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:i,dateCustomClasses:e.dateCustomClasses,dateTooltipTexts:e.dateTooltipTexts,monthIndex:r}));return Object.assign({},e,{flaggedMonths:n})}if("month"===e.view.mode&&e.monthsCalendar){const n=e.monthsCalendar.map((s,r)=>function Pc(e,i){return e.months.forEach((n,s)=>{n.forEach((r,a)=>{let h;const R=Ie(r.date,i.hoveredMonth),ue=i.isDisabled||Ui(r.date,i.datesDisabled)||$i(r.date,i.datesEnabled,"month")||Wi(r.date,i.minDate,i.maxDate);!i.selectedDate&&i.selectedRange?(h=Ie(r.date,i.selectedRange[0]),h||(h=Ie(r.date,i.selectedRange[1]))):h=Ie(r.date,i.selectedDate);const dt=Object.assign(r,{isHovered:R,isDisabled:ue,isSelected:h});(r.isHovered!==dt.isHovered||r.isDisabled!==dt.isDisabled||r.isSelected!==dt.isSelected)&&(e.months[s][a]=dt)})}),e.hideLeftArrow=!!i.monthIndex&&i.monthIndex>0&&i.monthIndex!==i.displayMonths,e.hideRightArrow=(!!i.monthIndex||0===i.monthIndex)&&(!!i.displayMonths||0===i.displayMonths)&&i.monthIndex<i.displayMonths&&i.monthIndex+1!==i.displayMonths,e.disableLeftArrow=Jn(D(e.months[0][0].date,{year:-1}),i.minDate,i.maxDate),e.disableRightArrow=Jn(D(e.months[0][0].date,{year:1}),i.minDate,i.maxDate),e}(s,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredMonth:e.hoveredMonth,selectedDate:e.selectedDate,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,selectedRange:e.selectedRange,displayMonths:i,monthIndex:r}));return Object.assign({},e,{flaggedMonthsCalendar:n})}if("year"===e.view.mode&&e.yearsCalendarModel){const n=e.yearsCalendarModel.map((s,r)=>function Fc(e,i){e.years.forEach((r,a)=>{r.forEach((h,R)=>{let ue;const dt=Fe(h.date,i.hoveredYear),bt=i.isDisabled||Ui(h.date,i.datesDisabled,"year")||$i(h.date,i.datesEnabled,"year")||Jn(h.date,i.minDate,i.maxDate);!i.selectedDate&&i.selectedRange?(ue=Fe(h.date,i.selectedRange[0]),ue||(ue=Fe(h.date,i.selectedRange[1]))):ue=Fe(h.date,i.selectedDate);const At=Object.assign(h,{isHovered:dt,isDisabled:bt,isSelected:ue});(h.isHovered!==At.isHovered||h.isDisabled!==At.isDisabled||h.isSelected!==At.isSelected)&&(e.years[a][R]=At)})}),e.hideLeftArrow=!!i.yearIndex&&i.yearIndex>0&&i.yearIndex!==i.displayMonths,e.hideRightArrow=!!i.yearIndex&&!!i.displayMonths&&i.yearIndex<i.displayMonths&&i.yearIndex+1!==i.displayMonths,e.disableLeftArrow=Jn(D(e.years[0][0].date,{year:-1}),i.minDate,i.maxDate);const n=e.years.length-1;return e.disableRightArrow=Jn(D(e.years[n][e.years[n].length-1].date,{year:1}),i.minDate,i.maxDate),e}(s,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredYear:e.hoveredYear,selectedDate:e.selectedDate,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,selectedRange:e.selectedRange,displayMonths:i,yearIndex:r}));return Object.assign({},e,{yearsCalendarFlagged:n})}return e}(e);case It.NAVIGATE_OFFSET:return function Nc(e,i){if(!e.view)return e;const n=function Gc(e,i){if(e.view){if("year"===e.view.mode&&"year"===e.minMode){const n=mr(e,0);if(n){const s=D(n,{year:-Cr});return D(s,i.payload)}}return D(pe(e.view.date,"month"),i.payload)}}(e,i);if(!n)return e;return Object.assign({},e,{view:{mode:e.view.mode,date:n}})}(e,i);case It.NAVIGATE_TO:{const n=i.payload;if(!e.view||!n.unit)return e;const s=function F(e,i){return Rt(Ae(e.getFullYear(),i.year),Ae(e.getMonth(),i.month),1,Ae(e.getHours(),i.hour),Ae(e.getMinutes(),i.minute),Ae(e.getSeconds(),i.seconds),Ae(e.getMilliseconds(),i.milliseconds))}(e.view.date,n.unit);let r,a;return Dr(n.viewMode,e.minMode)?(a=n.viewMode,r={view:{date:s,mode:a}}):(a=e.view.mode,r={selectedDate:s,view:{date:s,mode:a}}),Object.assign({},e,r)}case It.CHANGE_VIEWMODE:return Dr(i.payload,e.minMode)&&e.view?Object.assign({},e,{view:{date:e.view.date,mode:i.payload}}):e;case It.HOVER:return Object.assign({},e,{hoveredDate:i.payload});case It.SELECT:{if(!e.view)return e;const n={selectedDate:i.payload,view:e.view};if(Array.isArray(e.selectedTime)){const h=e.selectedTime[0];n.selectedDate&&h&&Ji(n.selectedDate,h)}const s=e.view.mode,a=Qi(i.payload||e.view.date,e.minDate,e.maxDate);return n.view={mode:s,date:a},Object.assign({},e,n)}case It.SELECT_TIME:{const{date:n,index:s}=i.payload,r=e.selectedTime?[...e.selectedTime]:[];return r[s]=n,Object.assign({},e,{selectedTime:r})}case It.SET_OPTIONS:{if(!e.view)return e;const n=i.payload,s=n.minMode?n.minMode:e.view.mode,a=Qi(y(n.value)&&n.value||Q(n.value)&&y(n.value[0])&&n.value[0]||e.view.date,n.minDate,n.maxDate);return n.view={mode:s,date:a},n.value&&(Q(n.value)&&(n.selectedRange=n.value,n.selectedTime=n.value.map(h=>h)),n.value instanceof Date&&(n.selectedDate=n.value,n.selectedTime=[n.value])),Object.assign({},e,n)}case It.SELECT_RANGE:{if(!e.view)return e;const n={selectedRange:i.payload,view:e.view};n.selectedRange?.forEach((h,R)=>{if(Array.isArray(e.selectedTime)){const ue=e.selectedTime[R];ue&&Ji(h,ue)}});const s=e.view.mode,a=Qi(i.payload&&i.payload[0]||e.view.date,e.minDate,e.maxDate);return n.view={mode:s,date:a},Object.assign({},e,n)}case It.SET_MIN_DATE:return Object.assign({},e,{minDate:i.payload});case It.SET_MAX_DATE:return Object.assign({},e,{maxDate:i.payload});case It.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:i.payload});case It.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:i.payload});case It.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},e,{dateTooltipTexts:i.payload});default:return e}}function Qn(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function Qi(e,i,n){const s=Array.isArray(e)?e[0]:e;return i&&an(i,s,"day")?i:n&&un(n,s,"day")?n:s}function wr(e,i,n){return!(!n||!On(n,e,"day"))||i&&n&&i.getMonth()===n.getMonth()}let qn=(()=>{class e extends oi{constructor(){const n=new Fn.t({type:"[datepicker] dispatcher init"});super(n,kr,new Us(pr,n,kr))}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Er=(()=>{class e{constructor(){this.onSelect=new t.bkB}selectFromRanges(n){this.onSelect.emit(n)}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(s,r){1&s&&(t.j41(0,"div",0),t.DNE(1,Qa,2,3,"button",1),t.k0s()),2&s&&(t.R7$(),t.Y8G("ngForOf",r.ranges))},dependencies:[St.Sq],encapsulation:2,changeDetection:0})}return e})();var Vn=function(e){return e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e}(Vn||{});let Hn,Wc=(()=>{class e{static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(s,r){1&s&&(t.j41(0,"div",0)(1,"span"),t.EFF(2),t.k0s()()),2&s&&(t.R7$(2),t.JRh(r.title))},encapsulation:2})}return e})(),Uc=(()=>{class e{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(s,r){1&s&&(t.j41(0,"div",0)(1,"div",1)(2,"button",2),t.EFF(3,"-"),t.k0s(),t.nrm(4,"input",3),t.j41(5,"button",4),t.EFF(6,"+"),t.k0s()(),t.j41(7,"div",1)(8,"button",2),t.EFF(9,"-"),t.k0s(),t.nrm(10,"input",3),t.j41(11,"button",4),t.EFF(12,"+"),t.k0s()(),t.j41(13,"button",5),t.EFF(14),t.nrm(15,"img",6),t.k0s()()),2&s&&(t.R7$(4),t.Y8G("value",r.hours),t.R7$(6),t.Y8G("value",r.minutes),t.R7$(4),t.SpI("",r.ampm," "))},encapsulation:2})}return e})(),qi=(()=>{class e{static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-calendar-layout"]],ngContentSelectors:el,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(s,r){1&s&&(t.NAR(qa),t.DNE(0,tl,1,0,"bs-current-date",0),t.j41(1,"div",1),t.SdG(2),t.k0s(),t.j41(3,"div",2),t.SdG(4,1),t.k0s(),t.DNE(5,nl,1,0,"bs-timepicker",3)),2&s&&(t.Y8G("ngIf",!1),t.R7$(5),t.Y8G("ngIf",!1))},dependencies:[St.bT,Wc,Uc],encapsulation:2})}return e})(),$c=(()=>{class e{constructor(n,s,r){this._config=n,this._elRef=s,this._renderer=r,this.day={date:new Date,label:""}}ngOnInit(){this.day?.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day?.customClasses&&this.day?.customClasses.split(" ").filter(n=>n).forEach(n=>{this._renderer.addClass(this._elRef.nativeElement,n)})}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(fn),t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(s,r){2&s&&t.AVh("disabled",r.day.isDisabled)("is-highlighted",r.day.isHovered)("is-other-month",r.day.isOtherMonth)("is-active-other-month",r.day.isOtherMonthHovered)("in-range",r.day.isInRange)("select-start",r.day.isSelectionStart)("select-end",r.day.isSelectionEnd)("selected",r.day.isSelected)},inputs:{day:"day"},attrs:il,decls:1,vars:1,template:function(s,r){1&s&&t.EFF(0),2&s&&t.JRh(r.day&&r.day.label||"")},encapsulation:2,changeDetection:0})}return e})(),es=(()=>{class e{constructor(){this.isDisabled=!1,this.onNavigate=new t.bkB,this.onViewMode=new t.bkB}navTo(n){this.onNavigate.emit(n?Vn.DOWN:Vn.UP)}view(n){this.isDisabled||this.onViewMode.emit(n)}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:9,consts:[["type","button",1,"previous",3,"click","disabled"],[4,"ngIf"],["type","button",1,"current",3,"click","disabled"],["type","button",1,"next",3,"click","disabled"]],template:function(s,r){1&s&&(t.j41(0,"button",0),t.bIt("click",function(){return r.navTo(!0)}),t.j41(1,"span"),t.EFF(2,"\u2039"),t.k0s()(),t.DNE(3,sl,5,2,"ng-container",1),t.EFF(4," \u200b "),t.j41(5,"button",2),t.bIt("click",function(){return r.view("year")}),t.j41(6,"span"),t.EFF(7),t.k0s()(),t.EFF(8," \u200b "),t.j41(9,"button",3),t.bIt("click",function(){return r.navTo(!1)}),t.j41(10,"span"),t.EFF(11,"\u203a"),t.k0s()()),2&s&&(t.xc7("visibility",r.calendar.hideLeftArrow?"hidden":"visible"),t.Y8G("disabled",r.calendar.disableLeftArrow),t.R7$(3),t.Y8G("ngIf",r.calendar&&r.calendar.monthTitle),t.R7$(2),t.Y8G("disabled",r.isDisabled),t.R7$(2),t.JRh(r.calendar.yearTitle),t.R7$(2),t.xc7("visibility",r.calendar.hideRightArrow?"hidden":"visible"),t.Y8G("disabled",r.calendar.disableRightArrow))},dependencies:[St.bT],encapsulation:2,changeDetection:0})}return e})(),Sr=(()=>{class e{constructor(n){this._config=n,this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB,this.onHoverWeek=new t.bkB,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(n){this.onNavigate.emit({step:{month:Vn.DOWN===n?-1:1}})}changeViewMode(n){this.onViewMode.emit(n)}selectDay(n){this.onSelect.emit(n)}selectWeek(n){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||0===n.days.length)return;if(this._config.selectWeek&&n.days[0]&&!n.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(n.days[0]);const s=n.days.find(r=>(this._config.selectFromOtherMonth||!r.isOtherMonth)&&!r.isDisabled);if(this.onSelect.emit(s),this._config.selectWeekDateRange){const a=n.days.slice(0).reverse().find(h=>(this._config.selectFromOtherMonth||!h.isOtherMonth)&&!h.isDisabled);this.onSelect.emit(a)}}weekHoverHandler(n,s){(this._config.selectWeek||this._config.selectWeekDateRange)&&n.days.find(a=>(this._config.selectFromOtherMonth||!a.isOtherMonth)&&!a.isDisabled)&&(n.isHovered=s,this.isWeekHovered=s,this.onHoverWeek.emit(n))}hoverDay(n,s){this._config.selectFromOtherMonth&&n.isOtherMonth&&(n.isOtherMonthHovered=s),this._config.dateTooltipTexts&&(n.tooltipText="",this._config.dateTooltipTexts.forEach(r=>{Re(r.date,n.date)&&(n.tooltipText=r.tooltipText)})),this.onHover.emit({cell:n,isHovered:s})}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(fn))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:5,consts:[[3,"onNavigate","onViewMode","calendar","isDisabled"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day","tooltip"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day"],["bsDatepickerDayDecorator","",3,"click","day"]],template:function(s,r){1&s&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(h){return r.navigateTo(h)})("onViewMode",function(h){return r.changeViewMode(h)}),t.k0s(),t.j41(2,"table",1)(3,"thead")(4,"tr"),t.DNE(5,rl,1,0,"th",2)(6,ol,2,1,"th",3),t.k0s()(),t.j41(7,"tbody"),t.DNE(8,pl,3,2,"tr",4),t.k0s()()()),2&s&&(t.R7$(),t.Y8G("calendar",r.calendar)("isDisabled",!!r.isDisabled),t.R7$(4),t.Y8G("ngIf",r.options&&r.options.showWeekNumbers),t.R7$(),t.Y8G("ngForOf",r.calendar.weekdays),t.R7$(2),t.Y8G("ngForOf",r.calendar.weeks))},dependencies:[St.Sq,St.bT,cr.dg,qi,$c,es],encapsulation:2})}return e})(),Lr=(()=>{class e{constructor(){this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB}navigateTo(n){this.onNavigate.emit({step:{year:Vn.DOWN===n?-1:1}})}viewMonth(n){this.onSelect.emit(n)}hoverMonth(n,s){this.onHover.emit({cell:n,isHovered:s})}changeViewMode(n){this.onViewMode.emit(n)}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(s,r){1&s&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(h){return r.navigateTo(h)})("onViewMode",function(h){return r.changeViewMode(h)}),t.k0s(),t.j41(2,"table",1)(3,"tbody"),t.DNE(4,fl,2,1,"tr",2),t.k0s()()()),2&s&&(t.R7$(),t.Y8G("calendar",r.calendar),t.R7$(3),t.Y8G("ngForOf",null==r.calendar?null:r.calendar.months))},dependencies:[St.Sq,qi,es],encapsulation:2})}return e})(),xr=(()=>{class e{constructor(){this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB}navigateTo(n){this.onNavigate.emit({step:{year:(Vn.DOWN===n?-1:1)*hi}})}viewYear(n){this.onSelect.emit(n)}hoverYear(n,s){this.onHover.emit({cell:n,isHovered:s})}changeViewMode(n){this.onViewMode.emit(n)}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(s,r){1&s&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(h){return r.navigateTo(h)})("onViewMode",function(h){return r.changeViewMode(h)}),t.k0s(),t.j41(2,"table",1)(3,"tbody"),t.DNE(4,bl,2,1,"tr",2),t.k0s()()()),2&s&&(t.R7$(),t.Y8G("calendar",r.calendar),t.R7$(3),t.Y8G("ngForOf",null==r.calendar?null:r.calendar.years))},dependencies:[St.Sq,qi,es],encapsulation:2})}return e})(),Xc=(()=>{class e extends _r{set value(n){this._effects?.setValue(n)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(n,s,r,a,h,R,ue){super(),this._config=s,this._store=r,this._element=a,this._actions=h,this._positionService=ue,this.valueChange=new t.bkB,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=R,n.setStyle(a.nativeElement,"display","block"),n.setStyle(a.nativeElement,"position","absolute")}ngOnInit(){let n;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,Y.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(s=>s.selectedDate).subscribe(s=>{n=s,this.valueChange.emit(s)})),this._subs.push(this._store.select(s=>s.selectedTime).subscribe(s=>{!s||!s[0]||!(s[0]instanceof Date)||s[0]===n||this.valueChange.emit(s[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(n=>{Array.isArray(n)&&n.length>=1&&this.startTimepicker?.writeValue(n[0])})),this.startTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(n,s){this._store.dispatch(this._actions.selectTime(n,s))}daySelectHandler(n){!n||(this.isOtherMonthsActive?n.isDisabled:n.isOtherMonth||n.isDisabled)||this._store.dispatch(this._actions.select(n.date))}monthSelectHandler(n){!n||n.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:Qe(n.date),year:c(n.date)},viewMode:"day"}))}yearSelectHandler(n){!n||n.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:c(n.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(const n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(t.sFG),t.rXU(fn),t.rXU(qn),t.rXU(t.aKT),t.rXU(It),t.rXU(Zn),t.rXU(Bi.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-container"]],viewQuery:function(s,r){if(1&s&&t.GBs(dr,5),2&s){let a;t.mGM(a=t.lsd())&&(r.startTimepicker=a.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(s,r){1&s&&t.bIt("click",function(h){return r._stopPropagation(h)}),2&s&&t.BMQ("disabled",r.isDatepickerDisabled)("readonly",r.isDatepickerReadonly)},features:[t.Jv_([qn,Zn]),t.Vt3],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(s,r){1&s&&(t.DNE(0,Il,10,11,"div",2),t.nI1(1,"async")),2&s&&t.Y8G("ngIf",t.bMT(1,1,r.viewMode))},dependencies:[St.YU,St.Sq,St.bT,St.ux,St.e1,Ni,Er,Sr,Lr,xr,St.Jj],encapsulation:2,data:{animation:[hr]}})}return e})(),zc=(()=>{class e{get readonlyValue(){return this.isDisabled?"":null}constructor(n,s,r,a,h){this._config=n,this._elementRef=s,this._renderer=r,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new Kn.B,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],this._dateInputFormat$=new Kn.B,Object.assign(this,this._config),this._datepicker=h.createLoader(s,a,r),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Fn.t(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(n){this.isOpen$.next(n)}set bsValue(n){this._bsValue&&n&&this._bsValue.getTime()===n.getTime()||(!this._bsValue&&n&&!this._config.withTimepicker&&Ji(n,new Date),n&&this.bsConfig?.initCurrentTime&&(n=br(n)),this.initPreviousValue(),this._bsValue=n,this.bsValueChange.emit(n))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){Hn=this._bsValue}ngOnChanges(n){n.bsConfig&&(n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=br(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),n.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(n=>{this.initPreviousValue(),this.bsValue=n,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){return!!(Hn&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return Hn instanceof Date&&this._bsValue?.getDate()===Hn?.getDate()&&this._bsValue?.getMonth()===Hn?.getMonth()&&this._bsValue?.getFullYear()===Hn?.getFullYear()}ngAfterViewInit(){this.isOpen$.pipe((0,m.p)(n=>n!==this.isOpen),(0,L.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:fn,useValue:this._config}).attach(Xc).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();for(const n of this._subs)n.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:fr(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(fn),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(Gi.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(s,r){2&s&&t.BMQ("readonly",r.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],features:[t.OA$]})}return e})(),Kc=(()=>{class e extends _r{set value(n){this._effects?.setRangeValue(n)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(n,s,r,a,h,R,ue){super(),this._config=s,this._store=r,this._element=a,this._actions=h,this._positionService=ue,this.valueChange=new t.bkB,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this.isRangePicker=!0,this._effects=R,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,n.setStyle(a.nativeElement,"display","block"),n.setStyle(a.nativeElement,"position","absolute")}ngOnInit(){let n;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,Y.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(s=>s.selectedRange).subscribe(s=>{n=s,this.valueChange.emit(s),this.chosenRange=s||[]})),this._subs.push(this._store.select(s=>s.selectedTime).subscribe(s=>{!s||!s[0]||!s[1]||!(s[0]instanceof Date)||!(s[1]instanceof Date)||n&&s[0]===n[0]&&s[1]===n[1]||(this.valueChange.emit(s),this.chosenRange=s||[])}))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(n=>{Array.isArray(n)&&n.length>=2&&(this.startTimepicker?.writeValue(n[0]),this.endTimepicker?.writeValue(n[1]))})),this.startTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,0)}),this.endTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(n,s){this._store.dispatch(this._actions.selectTime(n,s))}daySelectHandler(n){!n||(this.isOtherMonthsActive?n.isDisabled:n.isOtherMonth||n.isDisabled)||this.rangesProcessing(n)}monthSelectHandler(n){if(n&&!n.isDisabled){if(n.isSelected=!0,"month"!==this._config.minMode){if(n.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{month:Qe(n.date),year:c(n.date)},viewMode:"day"}))}this.rangesProcessing(n)}}yearSelectHandler(n){if(n&&!n.isDisabled){if(n.isSelected=!0,"year"!==this._config.minMode){if(n.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{year:c(n.date)},viewMode:"month"}))}this.rangesProcessing(n)}}rangesProcessing(n){1===this._rangeStack.length&&(this._rangeStack=n.date>=this._rangeStack[0]?[this._rangeStack[0],n.date]:[n.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(n.date),0===this._rangeStack.length&&(this._rangeStack=[n.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(n.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){for(const n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}setRangeOnCalendar(n){n&&(this._rangeStack=n.value instanceof Date?[n.value]:n.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(n){let s=new Date(n);if(this._config.maxDate){const r=this._config.maxDate.getTime(),a=n.getTime()+864e5*(this._config.maxDateRange||0);s=a>r?new Date(this._config.maxDate):new Date(a)}else s.setDate(n.getDate()+(this._config.maxDateRange||0));this._effects?.setMaxDate(s)}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(t.sFG),t.rXU(fn),t.rXU(qn),t.rXU(t.aKT),t.rXU(It),t.rXU(Zn),t.rXU(Bi.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-daterangepicker-container"]],viewQuery:function(s,r){if(1&s&&(t.GBs(dr,5),t.GBs($l,5)),2&s){let a;t.mGM(a=t.lsd())&&(r.startTimepicker=a.first),t.mGM(a=t.lsd())&&(r.endTimepicker=a.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(s,r){1&s&&t.bIt("click",function(h){return r._stopPropagation(h)}),2&s&&t.BMQ("disabled",r.isDatepickerDisabled)("readonly",r.isDatepickerReadonly)},features:[t.Jv_([qn,Zn]),t.Vt3],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(s,r){1&s&&(t.DNE(0,oc,10,11,"div",2),t.nI1(1,"async")),2&s&&t.Y8G("ngIf",t.bMT(1,1,r.viewMode))},dependencies:[St.YU,St.Sq,St.bT,St.ux,St.e1,Ni,Er,Sr,Lr,xr,St.Jj],encapsulation:2,data:{animation:[hr]}})}return e})();const Zc={provide:zn.kq,useExisting:(0,t.Rfq)(()=>Or),multi:!0},Jc={provide:zn.cz,useExisting:(0,t.Rfq)(()=>Or),multi:!0};let yn,Or=(()=>{class e{constructor(n,s,r,a,h){this._picker=n,this._localeService=s,this._renderer=r,this._elRef=a,this.changeDetection=h,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new di.yU}onChange(n){this.writeValue(n.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}ngOnInit(){const n=s=>{this._setInputValue(s),this._value!==s&&(this._value=s,this._onChange(s),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&n(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(n)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe(A()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(n){const s=n?Zt(n,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",s)}validate(n){const s=n.value;if(null==s||""===s)return null;if(C(s)){if(!y(s))return{bsDate:{invalid:s}};if(this._picker&&this._picker.minDate&&un(s,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&an(s,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(n){this._validatorChange=n}writeValue(n){if(n){const s=this._localeService.currentLocale;if(!Bt(s))throw new Error(`Locale "${s}" is not defined, please add it with "defineLocale(...)"`);if(this._value=Un(n,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc){const a=Ds(this._value);this._value=null===a?void 0:a}}else this._value=void 0;this._picker.bsValue=this._value,this._onChange(this._value)}setDisabledState(n){this._picker.isDisabled=n,n?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(zc,1),t.rXU(ui),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(t.gRc))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["input","bsDatepicker",""]],hostBindings:function(s,r){1&s&&t.bIt("change",function(h){return r.onChange(h)})("blur",function(){return r.onBlur()})("keyup.esc",function(){return r.hide()})("keydown.enter",function(){return r.hide()})},features:[t.Jv_([Zc,Jc])]})}return e})(),Qc=(()=>{class e extends fn{constructor(){super(...arguments),this.displayMonths=2}static#e=this.\u0275fac=(()=>{let n;return function(r){return(n||(n=t.xGo(e)))(r||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qc=(()=>{class e{get isOpen(){return this._datepicker.isShown}set isOpen(n){this.isOpen$.next(n)}set bsValue(n){this._bsValue!==n&&(n&&this.bsConfig?.initCurrentTime&&(n=vr(n)),this.initPreviousValue(),this._bsValue=n,this.bsValueChange.emit(n))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(n,s,r,a,h){this._config=n,this._elementRef=s,this._renderer=r,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new Kn.B,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],this._rangeInputFormat$=new Kn.B,this._datepicker=h.createLoader(s,a,r),Object.assign(this,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Fn.t(this.isOpen)}ngOnInit(){this.isDestroy$=new Kn.B,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(n){n.bsConfig&&(n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=vr(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(n.bsConfig.currentValue&&n.bsConfig.currentValue.rangeInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe((0,m.p)(n=>n!==this.isOpen),(0,L.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:fn,useValue:this._config}).attach(Kc).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,m.p)(n=>n&&n[0]&&!!n[1])).subscribe(n=>{this.initPreviousValue(),this.bsValue=n,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){yn=this._bsValue}keepDatepickerModalOpened(){return!!(yn&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return this._bsValue?.[0]?.getDate()===yn?.[0]?.getDate()&&this._bsValue?.[0]?.getMonth()===yn?.[0]?.getMonth()&&this._bsValue?.[0]?.getFullYear()===yn?.[0]?.getFullYear()&&this._bsValue?.[1]?.getDate()===yn?.[1]?.getDate()&&this._bsValue?.[1]?.getMonth()===yn?.[1]?.getMonth()&&this._bsValue?.[1]?.getFullYear()===yn?.[1]?.getFullYear()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this.bsConfig?.keepDatesOutOfRules?this._bsValue:fr(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:kc(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();for(const n of this._subs)n.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(Qc),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(Gi.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(s,r){2&s&&t.BMQ("readonly",r.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],features:[t.OA$]})}return e})();const ed={provide:zn.kq,useExisting:(0,t.Rfq)(()=>Ir),multi:!0},td={provide:zn.cz,useExisting:(0,t.Rfq)(()=>Ir),multi:!0};let Ir=(()=>{class e{constructor(n,s,r,a,h){this._picker=n,this._localeService=s,this._renderer=r,this._elRef=a,this.changeDetection=h,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new di.yU}ngOnInit(){this._picker._bsValue&&(s=>{this._setInputValue(s),this._value!==s&&(this._value=s,this._onChange(s),this._onTouched()),this.changeDetection.markForCheck()})(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(s=>{this._setInputValue(s),this._value!==s&&(this._value=s,this._onChange(s),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe(A()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(n){(13===n.keyCode||"Enter"===n.code)&&this.hide()}_setInputValue(n){let s="";if(n){const r=n[0]?Zt(n[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",a=n[1]?Zt(n[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";s=r&&a?r+this._picker._config.rangeSeparator+a:""}this._renderer.setProperty(this._elRef.nativeElement,"value",s)}onChange(n){this.writeValue(n.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(n){let s=n.value;const r=[];if(null==s||!Q(s))return null;s=s.slice().sort((R,ue)=>R.getTime()-ue.getTime());const a=y(s[0]),h=y(s[1]);return a?h?(this._picker&&this._picker.minDate&&un(s[0],this._picker.minDate,"date")&&(s[0]=this._picker.minDate,r.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&an(s[1],this._picker.maxDate,"date")&&(s[1]=this._picker.maxDate,r.push({bsDate:{maxDate:this._picker.maxDate}})),r.length>0?(this.writeValue(s),r):null):{bsDate:{invalid:s[1]}}:{bsDate:{invalid:s[0]}}}registerOnValidatorChange(n){this._validatorChange=n}writeValue(n){if(n){const s=this._localeService.currentLocale;if(!Bt(s))throw new Error(`Locale "${s}" is not defined, please add it with "defineLocale(...)"`);let a=[];if("string"==typeof n){const h=this._picker._config.rangeSeparator.trim();a=n.replace(/[^-]/g,"").length>1?n.split(this._picker._config.rangeSeparator):n.split(h.length>0?h:this._picker._config.rangeSeparator).map(R=>R.trim())}Array.isArray(n)&&(a=n),this._value=a.map(h=>this._picker._config.useUtc?Ds(Un(h,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):Un(h,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(h=>isNaN(h.valueOf())?void 0:h)}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(n){this._picker.isDisabled=n,n?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}static#e=this.\u0275fac=function(s){return new(s||e)(t.rXU(qc,1),t.rXU(ui),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(t.gRc))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(s,r){1&s&&t.bIt("change",function(h){return r.onChange(h)})("keyup.esc",function(){return r.hide()})("keydown",function(h){return r.onKeydownEvent(h)})("blur",function(){return r.onBlur()})},features:[t.Jv_([ed,td])]})}return e})(),nd=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Gi.Li,Bi.DF,qn,It,Zn,ui,mn]}}static#e=this.\u0275fac=function(s){return new(s||e)};static#t=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[St.MD,cr.Ss,Ua]})}return e})()},8580:(Ce,V,l)=>{l.d(V,{zE:()=>y});var t=l(3953),m=l(6932),x=l(9969),Y=l(177),L=l(1946);let A=(()=>{class X{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(Q=>{this.resolveDropdownMenu=Q})}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275prov=t.jDH({token:X,factory:X.\u0275fac,providedIn:"platform"})}return X})();(0,x.iF)({height:0,overflow:"hidden"}),(0,x.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,x.iF)({height:"*",overflow:"hidden"}));let y=(()=>{class X{static forRoot(){return{ngModule:X,providers:[m.Li,L.DF,A]}}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275mod=t.$C({type:X});static#n=this.\u0275inj=t.G2t({imports:[Y.MD]})}return X})()},779:(Ce,V,l)=>{l.d(V,{Q_:()=>Rt});var t=l(3953),m=l(425),x=l(177),Y=l(6697);let J,L=(()=>{class B{constructor(){this._focusTrapStack=[]}register(O){this._focusTrapStack=this._focusTrapStack.filter(Se=>Se!==O);let ie=this._focusTrapStack;ie.length&&ie[ie.length-1]._disable(),ie.push(O),O._enable()}deregister(O){O._disable();const ie=this._focusTrapStack,Se=ie.indexOf(O);-1!==Se&&(ie.splice(Se,1),ie.length&&ie[ie.length-1]._enable())}static#e=this.\u0275fac=function(ie){return new(ie||B)};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();try{J=typeof Intl<"u"&&Intl.v8BreakIterator}catch{J=!1}let H=(()=>{class B{constructor(O){this._platformId=O,this.isBrowser=this._platformId?(0,x.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!J)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.KVO(t.Agw))};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),A=(()=>{class B{constructor(O){this._platform=O}isDisabled(O){return O.hasAttribute("disabled")}isVisible(O){return function b(B){return!!(B.offsetWidth||B.offsetHeight||"function"==typeof B.getClientRects&&B.getClientRects().length)}(O)&&"visible"===getComputedStyle(O).visibility}isTabbable(O){if(!this._platform.isBrowser)return!1;const ie=function f(B){try{return B.frameElement}catch{return null}}(function de(B){return B.ownerDocument&&B.ownerDocument.defaultView||window}(O));if(ie&&(-1===_e(ie)||!this.isVisible(ie)))return!1;let Se=O.nodeName.toLowerCase(),lt=_e(O);return O.hasAttribute("contenteditable")?-1!==lt:!("iframe"===Se||"object"===Se||this._platform.WEBKIT&&this._platform.IOS&&!function Q(B){let he=B.nodeName.toLowerCase(),O="input"===he&&B.type;return"text"===O||"password"===O||"select"===he||"textarea"===he}(O))&&("audio"===Se?!!O.hasAttribute("controls")&&-1!==lt:"video"===Se?-1!==lt&&(null!==lt||this._platform.FIREFOX||O.hasAttribute("controls")):O.tabIndex>=0)}isFocusable(O,ie){return function ye(B){return!function z(B){return function k(B){return"input"==B.nodeName.toLowerCase()}(B)&&"hidden"==B.type}(B)&&(function w(B){let he=B.nodeName.toLowerCase();return"input"===he||"select"===he||"button"===he||"textarea"===he}(B)||function C(B){return function y(B){return"a"==B.nodeName.toLowerCase()}(B)&&B.hasAttribute("href")}(B)||B.hasAttribute("contenteditable")||X(B))}(O)&&!this.isDisabled(O)&&(ie?.ignoreVisibility||this.isVisible(O))}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.KVO(H))};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();function X(B){if(!B.hasAttribute("tabindex")||void 0===B.tabIndex)return!1;let he=B.getAttribute("tabindex");return"-32768"!=he&&!(!he||isNaN(parseInt(he,10)))}function _e(B){if(!X(B))return null;const he=parseInt(B.getAttribute("tabindex")||"",10);return isNaN(he)?-1:he}function Z(B){return null!=B&&"false"!=`${B}`}class ke{get enabled(){return this._enabled}set enabled(he){this._enabled=he,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(he,this._startAnchor),this._toggleAnchorTabIndex(he,this._endAnchor))}constructor(he,O,ie,Se,lt=!1){this._element=he,this._checker=O,this._ngZone=ie,this._document=Se,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,lt||this.attachAnchors()}destroy(){const he=this._startAnchor,O=this._endAnchor;he&&(he.removeEventListener("focus",this.startAnchorListener),he.parentNode&&he.parentNode.removeChild(he)),O&&(O.removeEventListener("focus",this.endAnchorListener),O.parentNode&&O.parentNode.removeChild(O)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(he=>{this._executeOnStable(()=>he(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(he=>{this._executeOnStable(()=>he(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(he=>{this._executeOnStable(()=>he(this.focusLastTabbableElement()))})}_getRegionBoundary(he){let O=this._element.querySelectorAll(`[cdk-focus-region-${he}], [cdkFocusRegion${he}], [cdk-focus-${he}]`);for(let ie=0;ie<O.length;ie++)O[ie].hasAttribute(`cdk-focus-${he}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${he}', use 'cdkFocusRegion${he}' instead. The deprecated attribute will be removed in 8.0.0.`,O[ie]):O[ie].hasAttribute(`cdk-focus-region-${he}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${he}', use 'cdkFocusRegion${he}' instead. The deprecated attribute will be removed in 8.0.0.`,O[ie]);return"start"==he?O.length?O[0]:this._getFirstTabbableElement(this._element):O.length?O[O.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const he=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(he){if(he.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",he),!this._checker.isFocusable(he)){const O=this._getFirstTabbableElement(he);return O?.focus(),!!O}return he.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const he=this._getRegionBoundary("start");return he&&he.focus(),!!he}focusLastTabbableElement(){const he=this._getRegionBoundary("end");return he&&he.focus(),!!he}hasAttached(){return this._hasAttached}_getFirstTabbableElement(he){if(this._checker.isFocusable(he)&&this._checker.isTabbable(he))return he;let O=he.children||he.childNodes;for(let ie=0;ie<O.length;ie++){let Se=O[ie].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(O[ie]):null;if(Se)return Se}return null}_getLastTabbableElement(he){if(this._checker.isFocusable(he)&&this._checker.isTabbable(he))return he;let O=he.children||he.childNodes;for(let ie=O.length-1;ie>=0;ie--){let Se=O[ie].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(O[ie]):null;if(Se)return Se}return null}_createAnchor(){const he=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,he),he.classList.add("cdk-visually-hidden"),he.classList.add("cdk-focus-trap-anchor"),he.setAttribute("aria-hidden","true"),he}_toggleAnchorTabIndex(he,O){he?O.setAttribute("tabindex","0"):O.removeAttribute("tabindex")}toggleAnchors(he){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(he,this._startAnchor),this._toggleAnchorTabIndex(he,this._endAnchor))}_executeOnStable(he){this._ngZone.isStable?he():this._ngZone.onStable.pipe((0,Y.s)(1)).subscribe(he)}}let S=(()=>{class B{constructor(O,ie,Se){this._checker=O,this._ngZone=ie,this._document=Se}create(O,ie=!1){return new ke(O,this._checker,this._ngZone,this._document,ie)}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.KVO(A),t.KVO(t.SKi),t.KVO(x.qQ))};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),ve=(()=>{class B{get enabled(){return this.focusTrap.enabled}set enabled(O){this.focusTrap.enabled=Z(O)}get autoCapture(){return this._autoCapture}set autoCapture(O){this._autoCapture=Z(O)}constructor(O,ie,Se){this._elementRef=O,this._focusTrapFactory=ie,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=Se,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(O){const ie=O.autoCapture;ie&&!ie.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.rXU(t.aKT),t.rXU(S),t.rXU(x.qQ))};static#t=this.\u0275dir=t.FsC({type:B,selectors:[["","focusTrap",""]],inputs:{enabled:[0,"cdkTrapFocus","enabled"],autoCapture:[0,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[t.OA$]})}return B})(),T=(()=>{class B{static forRoot(){return{ngModule:B,providers:[L,H,A]}}static#e=this.\u0275fac=function(ie){return new(ie||B)};static#t=this.\u0275mod=t.$C({type:B});static#n=this.\u0275inj=t.G2t({imports:[x.MD]})}return B})();var ne=l(6932),v=l(1946);const N=["*"];let U=(()=>{class B{constructor(){this.hide=()=>{},this.setClass=()=>{}}static#e=this.\u0275fac=function(ie){return new(ie||B)};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"platform"})}return B})(),$=(()=>{class B{static#e=this.\u0275fac=function(ie){return new(ie||B)};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"platform"})}return B})();const W={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},me=new t.nKC("override-default-config");let Oe=(()=>{class B{constructor(O,ie,Se){this._element=ie,this._renderer=Se,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},O)}ngOnInit(){this._focusEl=m.Al.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,"show")},this.isAnimated?150:0),m.Al&&m.Al.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(m.Al.body,"modal-open"),this._renderer.setStyle(m.Al.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(O){this.clickStartedInContent=O.target!==this._element.nativeElement}onClickStop(O){this.config.ignoreBackdropClick||"static"===this.config.backdrop||O.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(O){this.isShown&&((27===O.keyCode||"Escape"===O.key)&&O.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout(()=>{this.isShown=!1,m.Al&&m.Al.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(m.Al.body,"modal-open"),this._renderer.setStyle(m.Al.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?300:0)}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.rXU($),t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275cmp=t.VBU({type:B,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(ie,Se){1&ie&&t.bIt("mousedown",function(Ct){return Se.onClickStarted(Ct)})("click",function(Ct){return Se.onClickStop(Ct)})("popstate",function(){return Se.onPopState()},!1,t.tSv)("keydown.esc",function(Ct){return Se.onEsc(Ct)},!1,t.tSv),2&ie&&t.BMQ("aria-modal",!0)("aria-labelledby",Se.config.ariaLabelledBy)("aria-describedby",Se.config.ariaDescribedby)},ngContentSelectors:N,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(ie,Se){1&ie&&(t.NAR(),t.j41(0,"div",0)(1,"div",1),t.SdG(2),t.k0s()()),2&ie&&t.HbH("modal-dialog"+(Se.config.class?" "+Se.config.class:""))},dependencies:[ve],encapsulation:2})}return B})(),Be=(()=>{class B{get isAnimated(){return this._isAnimated}set isAnimated(O){this._isAnimated=O}get isShown(){return this._isShown}set isShown(O){this._isShown=O,O?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(O,ie){this._isAnimated=!1,this._isShown=!1,this.element=O,this.renderer=ie}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),m.Aq.reflow(this.element.nativeElement)),this.isShown=!0}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275cmp=t.VBU({type:B,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(ie,Se){},encapsulation:2})}return B})(),wt=1,Pt=(()=>{class B{constructor(O,ie,Se){this.clf=ie,this.modalDefaultOption=Se,this.onShow=new t.bkB,this.onShown=new t.bkB,this.onHide=new t.bkB,this.onHidden=new t.bkB,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=O.createRenderer(null,null),this.config=Se?Object.assign({},W,Se):W}show(O,ie){this._focusEl=m.Al.activeElement,this.modalsCount++,this._createLoaders();const Se=ie?.id||wt++;return this.config=this.modalDefaultOption?Object.assign({},W,this.modalDefaultOption,ie):Object.assign({},W,ie),this.config.id=Se,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(O)}hide(O){(1===this.modalsCount||null==O)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=O?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(O),this.removeLoaders(O)},this.config.animated?150:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const O=!0===this.config.backdrop||"static"===this.config.backdrop,ie=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),O&&ie&&(this._backdropLoader.attach(Be).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(O){const ie=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const Ct of this.config.providers)ie.provide(Ct);const Se=new U,lt=ie.provide({provide:$,useValue:this.config}).provide({provide:U,useValue:Se}).attach(Oe).to("body");return Se.hide=()=>this.hide(Se.id),Se.setClass=Ct=>{lt.instance&&(lt.instance.config.class=Ct)},Se.onHidden=new t.bkB,Se.onHide=new t.bkB,this.copyEvent(ie.onBeforeHide,Se.onHide),this.copyEvent(ie.onHidden,Se.onHidden),lt.show({content:O,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),lt.instance&&(lt.instance.level=this.getModalsCount(),Se.content=ie.getInnerComponent(),Se.id=lt.instance.config?.id),Se}_hideModal(O){if(null!=O){const ie=this.loaders.findIndex(lt=>lt.instance?.config.id===O),Se=this.loaders[ie];Se&&Se.hide(O)}else this.loaders.forEach(ie=>{ie.instance&&ie.hide(ie.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(O){this.lastDismissReason=O}removeBackdrop(){this._renderer.removeClass(m.Al.body,"modal-open"),this._renderer.setStyle(m.Al.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=m.Al.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){m.Al&&(this.originalBodyPadding=parseInt(window.getComputedStyle(m.Al.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(m.Al.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){m.Al.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const O=this._renderer.createElement("div");this._renderer.addClass(O,"modal-scrollbar-measure"),this._renderer.appendChild(m.Al.body,O);const ie=O.offsetWidth-O.clientWidth;return this._renderer.removeChild(m.Al.body,O),ie}_createLoaders(){const O=this.clf.createLoader();this.copyEvent(O.onBeforeShow,this.onShow),this.copyEvent(O.onShown,this.onShown),this.copyEvent(O.onBeforeHide,this.onHide),this.copyEvent(O.onHidden,this.onHidden),this.loaders.push(O)}removeLoaders(O){if(null!=O){const ie=this.loaders.findIndex(Se=>Se.instance?.config.id===O);ie>=0&&(this.loaders.splice(ie,1),this.loaders.forEach((Se,lt)=>{Se.instance&&(Se.instance.level=lt+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(O,ie){O.subscribe(Se=>{ie.emit(this.lastDismissReason||Se)})}static#e=this.\u0275fac=function(ie){return new(ie||B)(t.KVO(t._9s),t.KVO(ne.Li),t.KVO(me,8))};static#t=this.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"platform"})}return B})();T.forRoot();let Rt=(()=>{class B{static forRoot(){return{ngModule:B,providers:[Pt,ne.Li,v.DF]}}static forChild(){return{ngModule:B,providers:[Pt,ne.Li,v.DF]}}static#e=this.\u0275fac=function(ie){return new(ie||B)};static#t=this.\u0275mod=t.$C({type:B});static#n=this.\u0275inj=t.G2t({imports:[T]})}return B})()},3400:(Ce,V,l)=>{l.d(V,{x6:()=>ke});var t=l(3953),m=l(9417),x=l(177);const Y=(S,ve)=>({"pull-left":S,"float-left":ve}),L=(S,ve)=>({"pull-right":S,"float-right":ve}),J=(S,ve)=>({disabled:S,currentPage:ve}),H=(S,ve,T)=>({disabled:S,$implicit:ve,currentPage:T});function te(S,ve){if(1&S){const T=t.RV6();t.j41(0,"li",11)(1,"a",12),t.bIt("click",function(v){t.eBV(T);const N=t.XpG();return t.Njj(N.selectPage(1,v))}),t.eu8(2,13),t.k0s()()}if(2&S){const T=t.XpG(),ne=t.sdS(13);t.AVh("disabled",T.noPrevious()||T.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",T.customFirstTemplate||ne)("ngTemplateOutletContext",t.l_i(4,J,T.noPrevious()||T.disabled,T.page))}}function A(S,ve){if(1&S){const T=t.RV6();t.j41(0,"li",14)(1,"a",12),t.bIt("click",function(v){t.eBV(T);const N=t.XpG();return t.Njj(N.selectPage(N.page-1,v))}),t.eu8(2,13),t.k0s()()}if(2&S){const T=t.XpG(),ne=t.sdS(11);t.AVh("disabled",T.noPrevious()||T.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",T.customPreviousTemplate||ne)("ngTemplateOutletContext",t.l_i(4,J,T.noPrevious()||T.disabled,T.page))}}function f(S,ve){if(1&S){const T=t.RV6();t.j41(0,"li",15)(1,"a",12),t.bIt("click",function(v){const N=t.eBV(T).$implicit,U=t.XpG();return t.Njj(U.selectPage(N.number,v))}),t.eu8(2,13),t.k0s()()}if(2&S){const T=ve.$implicit,ne=t.XpG(),v=t.sdS(7);t.AVh("active",T.active)("disabled",ne.disabled&&!T.active),t.R7$(2),t.Y8G("ngTemplateOutlet",ne.customPageTemplate||v)("ngTemplateOutletContext",t.sMw(6,H,ne.disabled,T,ne.page))}}function b(S,ve){if(1&S){const T=t.RV6();t.j41(0,"li",16)(1,"a",12),t.bIt("click",function(v){t.eBV(T);const N=t.XpG();return t.Njj(N.selectPage(N.page+1,v))}),t.eu8(2,13),t.k0s()()}if(2&S){const T=t.XpG(),ne=t.sdS(9);t.AVh("disabled",T.noNext()||T.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",T.customNextTemplate||ne)("ngTemplateOutletContext",t.l_i(4,J,T.noNext()||T.disabled,T.page))}}function w(S,ve){if(1&S){const T=t.RV6();t.j41(0,"li",17)(1,"a",12),t.bIt("click",function(v){t.eBV(T);const N=t.XpG();return t.Njj(N.selectPage(N.totalPages,v))}),t.eu8(2,13),t.k0s()()}if(2&S){const T=t.XpG(),ne=t.sdS(15);t.AVh("disabled",T.noNext()||T.disabled),t.R7$(2),t.Y8G("ngTemplateOutlet",T.customLastTemplate||ne)("ngTemplateOutletContext",t.l_i(4,J,T.noNext()||T.disabled,T.page))}}function z(S,ve){1&S&&t.EFF(0),2&S&&t.JRh(ve.$implicit.text)}function C(S,ve){if(1&S&&t.EFF(0),2&S){const T=t.XpG();t.JRh(T.getText("next"))}}function k(S,ve){if(1&S&&t.EFF(0),2&S){const T=t.XpG();t.JRh(T.getText("previous"))}}function y(S,ve){if(1&S&&t.EFF(0),2&S){const T=t.XpG();t.JRh(T.getText("first"))}}function X(S,ve){if(1&S&&t.EFF(0),2&S){const T=t.XpG();t.JRh(T.getText("last"))}}let _e=(()=>{class S{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:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}static#e=this.\u0275fac=function(ne){return new(ne||S)};static#t=this.\u0275prov=t.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();const Q={provide:m.kq,useExisting:(0,t.Rfq)(()=>ye),multi:!0};let ye=(()=>{class S{constructor(T,ne,v){this.elementRef=T,this.changeDetection=v,this.align=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.firstText="First",this.previousText="\xab Previous",this.nextText="Next \xbb",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=T,this.config||this.configureOptions(Object.assign({},ne.main,ne.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(T){this._itemsPerPage=T,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(T){this._totalItems=T,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(T){this._totalPages=T,this.numPages.emit(T),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(T){const ne=this._page;this._page=T>this.totalPages?this.totalPages:T||1,this.changeDetection.markForCheck(),!(ne===this._page||typeof ne>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(T){this.config=Object.assign({},T)}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(T){this.page=T,this.pages=this.getPages(this.page,this.totalPages)}getText(T){return this[`${T}Text`]||this.config[`${T}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(T){this.onChange=T}registerOnTouched(T){this.onTouched=T}selectPage(T,ne){ne&&ne.preventDefault(),this.disabled||(ne&&ne.target&&ne.target.blur(),this.writeValue(T),this.onChange(this.page))}makePage(T,ne,v){return{text:ne,number:T,active:v}}getPages(T,ne){const v=[];let N=1,U=ne;const P=typeof this.maxSize<"u"&&this.maxSize<ne;P&&this.maxSize&&(this.rotate?(N=Math.max(T-Math.floor(this.maxSize/2),1),U=N+this.maxSize-1,U>ne&&(U=ne,N=U-this.maxSize+1)):(N=(Math.ceil(T/this.maxSize)-1)*this.maxSize+1,U=Math.min(N+this.maxSize-1,ne)));for(let $=N;$<=U;$++){const W=this.makePage($,$.toString(),$===T);v.push(W)}if(P&&!this.rotate){if(N>1){const $=this.makePage(N-1,"...",!1);v.unshift($)}if(U<ne){const $=this.makePage(U+1,"...",!1);v.push($)}}return v}calculateTotalPages(){const T=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(T||0,1)}static#e=this.\u0275fac=function(ne){return new(ne||S)(t.rXU(t.aKT),t.rXU(_e),t.rXU(t.gRc))};static#t=this.\u0275cmp=t.VBU({type:S,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_([Q])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(ne,v){1&ne&&(t.j41(0,"ul",0)(1,"li",1)(2,"a",2),t.bIt("click",function(U){return v.selectPage(v.page-1,U)}),t.EFF(3),t.k0s()(),t.j41(4,"li",1)(5,"a",2),t.bIt("click",function(U){return v.selectPage(v.page+1,U)}),t.EFF(6),t.k0s()()()),2&ne&&(t.R7$(),t.HbH(v.pageBtnClass),t.AVh("disabled",v.noPrevious())("previous",v.align),t.Y8G("ngClass",t.l_i(18,Y,v.align,v.align)),t.R7$(2),t.JRh(v.getText("previous")),t.R7$(),t.HbH(v.pageBtnClass),t.AVh("disabled",v.noNext())("next",v.align),t.Y8G("ngClass",t.l_i(21,L,v.align,v.align)),t.R7$(2),t.JRh(v.getText("next")))},dependencies:[x.YU],encapsulation:2})}return S})();const de={provide:m.kq,useExisting:(0,t.Rfq)(()=>Z),multi:!0};let Z=(()=>{class S{constructor(T,ne,v){this.elementRef=T,this.changeDetection=v,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=T,this.config||this.configureOptions(ne.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(T){this._itemsPerPage=T,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(T){this._totalItems=T,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(T){this._totalPages=T,this.numPages.emit(T),this.inited&&this.selectPage(this.page)}get page(){return this._page}set page(T){const ne=this._page;this._page=T>this.totalPages?this.totalPages:T||1,this.changeDetection.markForCheck(),!(ne===this._page||typeof ne>"u")&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}configureOptions(T){this.config=Object.assign({},T)}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(T){this.page=T,this.pages=this.getPages(this.page,this.totalPages)}getText(T){return this[`${T}Text`]||this.config[`${T}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(T){this.onChange=T}registerOnTouched(T){this.onTouched=T}selectPage(T,ne){ne&&ne.preventDefault(),this.disabled||(ne&&ne.target&&ne.target.blur(),this.writeValue(T),this.onChange(this.page))}makePage(T,ne,v){return{text:ne,number:T,active:v}}getPages(T,ne){const v=[];let N=1,U=ne;const P=typeof this.maxSize<"u"&&this.maxSize<ne;P&&this.maxSize&&(this.rotate?(N=Math.max(T-Math.floor(this.maxSize/2),1),U=N+this.maxSize-1,U>ne&&(U=ne,N=U-this.maxSize+1)):(N=(Math.ceil(T/this.maxSize)-1)*this.maxSize+1,U=Math.min(N+this.maxSize-1,ne)));for(let $=N;$<=U;$++){const W=this.makePage($,$.toString(),$===T);v.push(W)}if(P&&!this.rotate){if(N>1){const $=this.makePage(N-1,"...",!1);v.unshift($)}if(U<ne){const $=this.makePage(U+1,"...",!1);v.push($)}}return v}calculateTotalPages(){const T=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(T||0,1)}static#e=this.\u0275fac=function(ne){return new(ne||S)(t.rXU(t.aKT),t.rXU(_e),t.rXU(t.gRc))};static#t=this.\u0275cmp=t.VBU({type:S,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_([de])],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(ne,v){1&ne&&(t.j41(0,"ul",5),t.DNE(1,te,3,7,"li",6)(2,A,3,7,"li",7)(3,f,3,10,"li",8)(4,b,3,7,"li",9)(5,w,3,7,"li",10),t.k0s(),t.DNE(6,z,1,1,"ng-template",null,0,t.C5r)(8,C,1,1,"ng-template",null,1,t.C5r)(10,k,1,1,"ng-template",null,2,t.C5r)(12,y,1,1,"ng-template",null,3,t.C5r)(14,X,1,1,"ng-template",null,4,t.C5r)),2&ne&&(t.Y8G("ngClass",v.classMap),t.R7$(),t.Y8G("ngIf",v.boundaryLinks),t.R7$(),t.Y8G("ngIf",v.directionLinks),t.R7$(),t.Y8G("ngForOf",v.pages),t.R7$(),t.Y8G("ngIf",v.directionLinks),t.R7$(),t.Y8G("ngIf",v.boundaryLinks))},dependencies:[x.YU,x.Sq,x.bT,x.T3],encapsulation:2})}return S})(),ke=(()=>{class S{static forRoot(){return{ngModule:S,providers:[]}}static#e=this.\u0275fac=function(ne){return new(ne||S)};static#t=this.\u0275mod=t.$C({type:S});static#n=this.\u0275inj=t.G2t({imports:[x.MD]})}return S})()},9966:(Ce,V,l)=>{l.d(V,{k0:()=>b});var t=l(3953),m=l(6932),x=l(1946),Y=l(177);let b=(()=>{class w{static forRoot(){return{ngModule:w,providers:[m.Li,x.DF]}}static#e=this.\u0275fac=function(k){return new(k||w)};static#t=this.\u0275mod=t.$C({type:w});static#n=this.\u0275inj=t.G2t({imports:[Y.MD]})}return w})()},1946:(Ce,V,l)=>{l.d(V,{DF:()=>Ct,Rz:()=>f});var t=l(425),m=l(3953),x=l(177),Y=l(1413),L=l(7786),J=l(3726),H=l(7673),te=l(536),A=function(c){return c.top="top",c.bottom="bottom",c.left="left",c.right="right",c.auto="auto",c.end="right",c.start="left",c["top left"]="top left",c["top right"]="top right",c["right top"]="right top",c["right bottom"]="right bottom",c["bottom right"]="bottom right",c["bottom left"]="bottom left",c["left bottom"]="left bottom",c["left top"]="left top",c["top start"]="top left",c["top end"]="top right",c["end top"]="right top",c["end bottom"]="right bottom",c["bottom end"]="bottom right",c["bottom start"]="bottom left",c["start bottom"]="start bottom",c["start top"]="left top",c}(A||{}),f=function(c){return c.top="top",c.bottom="bottom",c.left="start",c.right="end",c.auto="auto",c.end="end",c.start="start",c["top left"]="top start",c["top right"]="top end",c["right top"]="end top",c["right bottom"]="end bottom",c["bottom right"]="bottom end",c["bottom left"]="bottom start",c["left bottom"]="start bottom",c["left top"]="start top",c["top start"]="top start",c["top end"]="top end",c["end top"]="end top",c["end bottom"]="end bottom",c["bottom end"]="bottom end",c["bottom start"]="bottom start",c["start bottom"]="start bottom",c["start top"]="start top",c}(f||{});function b(c,K){if(1!==c.nodeType)return[];const le=c.ownerDocument.defaultView?.getComputedStyle(c,null);return K?le&&le[K]:le}function w(c){if(!c)return document.documentElement;let le,q=c?.offsetParent;for(;null===q&&c.nextElementSibling&&le!==c.nextElementSibling;)le=c.nextElementSibling,q=le.offsetParent;const Le=q&&q.nodeName;return Le&&"BODY"!==Le&&"HTML"!==Le?q&&-1!==["TH","TD","TABLE"].indexOf(q.nodeName)&&"static"===b(q,"position")?w(q):q:le?le.ownerDocument.documentElement:document.documentElement}function C(c){return null!==c.parentNode?C(c.parentNode):c}function k(c,K){if(!(c&&c.nodeType&&K&&K.nodeType))return document.documentElement;const q=c.compareDocumentPosition(K)&Node.DOCUMENT_POSITION_FOLLOWING,le=q?c:K,Le=q?K:c,xe=document.createRange();xe.setStart(le,0),xe.setEnd(Le,0);const we=xe.commonAncestorContainer;if(c!==we&&K!==we||le.contains(Le))return function z(c){const{nodeName:K}=c;return"BODY"!==K&&("HTML"===K||w(c.firstElementChild)===c)}(we)?we:w(we);const Ie=C(c);return Ie.host?k(Ie.host,K):k(c,C(K).host)}function y(c){if(!c||!c.parentElement)return document.documentElement;let K=c.parentElement;for(;K?.parentElement&&"none"===b(K,"transform");)K=K.parentElement;return K||document.documentElement}function X(c,K){const q="x"===K?"Left":"Top",le="Left"===q?"Right":"Bottom";return parseFloat(c[`border${q}Width`])+parseFloat(c[`border${le}Width`])}function _e(c,K,q){return Math.max(K[`offset${c}`],K[`scroll${c}`],q[`client${c}`],q[`offset${c}`],q[`scroll${c}`],0)}function Q(c){const K=c.body,q=c.documentElement;return{height:_e("Height",K,q),width:_e("Width",K,q)}}function ye(c){return{...c,right:(c.left||0)+c.width,bottom:(c.top||0)+c.height}}function Z(c){return"number"==typeof c||"[object Number]"===Object.prototype.toString.call(c)}function ke(c){const K=c.getBoundingClientRect();if(!(K&&Z(K.top)&&Z(K.left)&&Z(K.bottom)&&Z(K.right)))return K;const q={left:K.left,top:K.top,width:K.right-K.left,height:K.bottom-K.top},le="HTML"===c.nodeName?Q(c.ownerDocument):void 0,Le=le?.width||c.clientWidth||Z(K.right)&&Z(q.left)&&K.right-q.left||0,xe=le?.height||c.clientHeight||Z(K.bottom)&&Z(q.top)&&K.bottom-q.top||0;let we=c.offsetWidth-Le,Ie=c.offsetHeight-xe;if(we||Ie){const Fe=b(c);we-=X(Fe,"x"),Ie-=X(Fe,"y"),q.width-=we,q.height-=Ie}return ye(q)}function S(c,K,q=!1){const le="HTML"===K.nodeName,Le=ke(c),xe=ke(K),we=b(K),Ie=parseFloat(we.borderTopWidth),Fe=parseFloat(we.borderLeftWidth);q&&le&&(xe.top=Math.max(xe.top??0,0),xe.left=Math.max(xe.left??0,0));const Re=ye({top:(Le.top??0)-(xe.top??0)-Ie,left:(Le.left??0)-(xe.left??0)-Fe,width:Le.width,height:Le.height});if(Re.marginTop=0,Re.marginLeft=0,le){const ft=parseFloat(we.marginTop),mt=parseFloat(we.marginLeft);Z(Re.top)&&(Re.top-=Ie-ft),Z(Re.bottom)&&(Re.bottom-=Ie-ft),Z(Re.left)&&(Re.left-=Fe-mt),Z(Re.right)&&(Re.right-=Fe-mt),Re.marginTop=ft,Re.marginLeft=mt}return Re}function ve(c){return"HTML"===c.nodeName?c:c.parentNode||c.host}function T(c){if(!c)return document.body;switch(c.nodeName){case"HTML":case"BODY":return c.ownerDocument.body;case"#document":return c.body}const{overflow:K,overflowX:q,overflowY:le}=b(c);return/(auto|scroll|overlay)/.test(String(K)+String(le)+String(q))?c:T(ve(c))}function ne(c,K="top"){const q="top"===K?"scrollTop":"scrollLeft",le=c.nodeName;return"BODY"===le||"HTML"===le?(c.ownerDocument.scrollingElement||c.ownerDocument.documentElement)[q]:c[q]}function N(c){const K=c.nodeName;return"BODY"!==K&&"HTML"!==K&&("fixed"===b(c,"position")||N(ve(c)))}function U(c,K,q=0,le,Le=!1){let xe={top:0,left:0};const we=Le?y(c):k(c,K);if("viewport"===le)xe=function v(c,K=!1){const q=c.ownerDocument.documentElement,le=S(c,q),Le=Math.max(q.clientWidth,window.innerWidth||0),xe=Math.max(q.clientHeight,window.innerHeight||0),we=K?0:ne(q),Ie=K?0:ne(q,"left");return ye({top:we-Number(le?.top)+Number(le?.marginTop),left:Ie-Number(le?.left)+Number(le?.marginLeft),width:Le,height:xe})}(we,Le);else{let Ie;"scrollParent"===le?(Ie=T(ve(K)),"BODY"===Ie.nodeName&&(Ie=c.ownerDocument.documentElement)):Ie="window"===le?c.ownerDocument.documentElement:le;const Fe=S(Ie,we,Le);if(Fe&&"HTML"===Ie.nodeName&&!N(we)){const{height:Re,width:ft}=Q(c.ownerDocument);Z(xe.top)&&Z(Fe.top)&&Z(Fe.marginTop)&&(xe.top+=Fe.top-Fe.marginTop),Z(xe.top)&&(xe.bottom=Number(Re)+Number(Fe.top)),Z(xe.left)&&Z(Fe.left)&&Z(Fe.marginLeft)&&(xe.left+=Fe.left-Fe.marginLeft),Z(xe.top)&&(xe.right=Number(ft)+Number(Fe.left))}else Fe&&(xe=Fe)}return Z(xe.left)&&(xe.left+=q),Z(xe.top)&&(xe.top+=q),Z(xe.right)&&(xe.right-=q),Z(xe.bottom)&&(xe.bottom-=q),xe}function P({width:c,height:K}){return c*K}function $(c,K,q,le,Le=["top","bottom","right","left"],xe="viewport",we=0){if(-1===c.indexOf("auto"))return c;const Ie=U(q,le,we,xe),Fe={top:{width:Ie?.width??0,height:(K?.top??0)-(Ie?.top??0)},right:{width:(Ie?.right??0)-(K?.right??0),height:Ie?.height??0},bottom:{width:Ie?.width??0,height:(Ie?.bottom??0)-(K?.bottom??0)},left:{width:(K.left??0)-(Ie?.left??0),height:Ie?.height??0}},Re=Object.keys(Fe).map(Mt=>({position:Mt,...Fe[Mt],area:P(Fe[Mt])})).sort((Mt,Et)=>Et.area-Mt.area);let ft=Re.filter(({width:Mt,height:Et})=>Mt>=q.clientWidth&&Et>=q.clientHeight);ft=ft.filter(({position:Mt})=>Le.some(Et=>Et===Mt));const mt=ft.length>0?ft[0].position:Re[0].position,Vt=c.split(" ")[1];return q.className=q.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,t.Bu)().isBs5?f[mt]:mt}`),mt+(Vt?`-${Vt}`:"")}const ee=(c,K=0)=>c?parseFloat(c):K;function I(c){const q=c.ownerDocument.defaultView?.getComputedStyle(c),le=ee(q?.marginTop)+ee(q?.marginBottom),Le=ee(q?.marginLeft)+ee(q?.marginRight);return{width:Number(c.offsetWidth)+Le,height:Number(c.offsetHeight)+le}}function ce(c,K,q){return S(K,q?y(c):k(c,K),q)}function Oe(c,K,q){const le=q.split(" ")[0],Le=I(c),xe={width:Le.width,height:Le.height},we=-1!==["right","left"].indexOf(le),Ie=we?"top":"left",Fe=we?"left":"top",Re=we?"height":"width",ft=we?"width":"height";return xe[Ie]=(K[Ie]??0)+K[Re]/2-Le[Re]/2,xe[Fe]=le===Fe?(K[Fe]??0)-Le[ft]:K[function me(c){const K={left:"right",right:"left",bottom:"top",top:"bottom"};return c.replace(/left|right|bottom|top/g,q=>K[q])}(Fe)]??0,xe}function Be(c,K){return!!c.modifiers[K]?.enabled}const st={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 rt(c,K){return!!(0,t.Bu)().isBs5&&st[K].includes(c)}function Pt(c,K,q){!c||!K||Object.keys(K).forEach(le=>{let Le="";-1!==["width","height","top","right","bottom","left"].indexOf(le)&&function de(c){return""!==c&&!isNaN(parseFloat(c))&&isFinite(Number(c))}(K[le])&&(Le="px"),q?q.setStyle(c,le,`${String(K[le])}${Le}`):c.style[le]=String(K[le])+Le})}function Dt(c){let K=c.offsets.target;const q=c.instance.target.querySelector(".arrow");if(!q)return c;const le=-1!==["left","right"].indexOf(c.placement.split(" ")[0]),Le=le?"height":"width",xe=le?"Top":"Left",we=xe.toLowerCase(),Ie=le?"left":"top",Fe=le?"bottom":"right",Re=I(q)[Le],ft=c.placement.split(" ")[1];(c.offsets.host[Fe]??0)-Re<(K[we]??0)&&(K[we]-=(K[we]??0)-((c.offsets.host[Fe]??0)-Re)),Number(c.offsets.host[we])+Number(Re)>(K[Fe]??0)&&(K[we]+=Number(c.offsets.host[we])+Number(Re)-Number(K[Fe])),K=ye(K);const mt=b(c.instance.target),Vt=parseFloat(mt[`margin${xe}`])||0,Mt=parseFloat(mt[`border${xe}Width`])||0;let Et;if(ft){const E=parseFloat(mt.borderRadius)||0,re=Number(Vt+Mt+E);Et=we===ft?Number(c.offsets.host[we])+re:Number(c.offsets.host[we])+Number(c.offsets.host[Le]-re)}else Et=Number(c.offsets.host[we])+Number(c.offsets.host[Le]/2-Re/2);let g=Et-(K[we]??0)-Vt-Mt;return g=Math.max(Math.min(K[Le]-(Re+5),g),0),c.offsets.arrow={[we]:Math.round(g),[Ie]:""},c.instance.arrow=q,c}function Rt(c){if(c.offsets.target=ye(c.offsets.target),!Be(c.options,"flip"))return c.offsets.target={...c.offsets.target,...Oe(c.instance.target,c.offsets.host,c.placement)},c;const K=U(c.instance.target,c.instance.host,0,"viewport",!1);let q=c.placement.split(" ")[0],le=c.placement.split(" ")[1]||"";const Ie=$("auto",c.offsets.host,c.instance.target,c.instance.host,c.options.allowedPositions),Fe=[q,Ie];return Fe.forEach((Re,ft)=>{if(q!==Re||Fe.length===ft+1)return;q=c.placement.split(" ")[0];const mt="left"===q&&Math.floor(c.offsets.target.right??0)>Math.floor(c.offsets.host.left??0)||"right"===q&&Math.floor(c.offsets.target.left??0)<Math.floor(c.offsets.host.right??0)||"top"===q&&Math.floor(c.offsets.target.bottom??0)>Math.floor(c.offsets.host.top??0)||"bottom"===q&&Math.floor(c.offsets.target.top??0)<Math.floor(c.offsets.host.bottom??0),Vt=Math.floor(c.offsets.target.left??0)<Math.floor(K.left??0),Mt=Math.floor(c.offsets.target.right??0)>Math.floor(K.right??0),Et=Math.floor(c.offsets.target.top??0)<Math.floor(K.top??0),g=Math.floor(c.offsets.target.bottom??0)>Math.floor(K.bottom??0),E="left"===q&&Vt||"right"===q&&Mt||"top"===q&&Et||"bottom"===q&&g,re=-1!==["top","bottom"].indexOf(q),M=re&&"left"===le&&Vt||re&&"right"===le&&Mt||!re&&"left"===le&&Et||!re&&"right"===le&&g;(mt||E||M)&&((mt||E)&&(q=Fe[ft+1]),M&&(le=function oe(c){return"right"===c?"left":"left"===c?"right":c}(le)),c.placement=q+(le?` ${le}`:""),c.offsets.target={...c.offsets.target,...Oe(c.instance.target,c.offsets.host,c.placement)})}),c}function he(c){if(!Be(c.options,"preventOverflow"))return c;const K="transform",q=c.instance.target.style,{top:le,left:Le,[K]:xe}=q;q.top="",q.left="",q[K]="";const we=U(c.instance.target,c.instance.host,0,c.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);q.top=le,q.left=Le,q[K]=xe;const Fe={primary(Re){let ft=c.offsets.target[Re];return(c.offsets.target[Re]??0)<(we[Re]??0)&&(ft=Math.max(c.offsets.target[Re]??0,we[Re]??0)),{[Re]:ft}},secondary(Re){const ft="right"===Re,mt=ft?"left":"top";let Mt=c.offsets.target[mt];return(c.offsets.target[Re]??0)>(we[Re]??0)&&(Mt=Math.min(c.offsets.target[mt]??0,(we[Re]??0)-c.offsets.target[ft?"width":"height"])),{[mt]:Mt}}};return["left","right","top","bottom"].forEach(Re=>{const ft=-1!==["left","top","start"].indexOf(Re)?Fe.primary:Fe.secondary;c.offsets.target={...c.offsets.target,...ft(Re)}}),c}function O(c){const K=c.placement,q=K.split(" ")[0],le=K.split(" ")[1];if(le){const{host:Le,target:xe}=c.offsets,we=-1!==["bottom","top"].indexOf(q),Ie=we?"left":"top",Fe=we?"width":"height",Re={start:{[Ie]:Le[Ie]},end:{[Ie]:(Le[Ie]??0)+Le[Fe]-xe[Fe]}};c.offsets.target={...xe,[Ie]:Ie===le?Re.start[Ie]:Re.end[Ie]}}return c}const Se=new class ie{position(K,q){return this.offset(K,q)}offset(K,q){return ce(q,K)}positionElements(K,q,le,Le,xe){const we=[Rt,O,he,Dt],Fe=function B(c,K,q,le){if(!c||!K)return;const Le=ce(c,K);!q.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!q.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(q="auto");const xe=!!q.match(/auto/g);let we=q.match(/auto\s(left|right|top|bottom|start|end)/)?q.split(" ")[1]||"auto":q;const Ie=we.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return Ie&&(we=Ie[1]+(Ie[2]?` ${Ie[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(we)&&(we="auto"),we=$(we,Le,c,K,le?le.allowedPositions:void 0),{options:le||{modifiers:{}},instance:{target:c,host:K,arrow:void 0},offsets:{target:Oe(c,Le,we),host:Le,arrow:void 0},positionFixed:!1,placement:we,placementAuto:xe}}(q,K,A[le],xe);if(Fe)return we.reduce((Re,ft)=>ft(Re),Fe)}};function lt(c,K,q,le,Le,xe){const we=Se.positionElements(c,K,q,le,Le);if(!we)return;const Ie=function W(c){return{width:c.offsets.target.width,height:c.offsets.target.height,left:Math.floor(c.offsets.target.left??0),top:Math.round(c.offsets.target.top??0),bottom:Math.round(c.offsets.target.bottom??0),right:Math.floor(c.offsets.target.right??0)}}(we);Pt(K,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${Ie.left}px, ${Ie.top}px, 0px)`},xe),we.instance.arrow&&Pt(we.instance.arrow,we.offsets.arrow,xe),function wt(c,K){const q=c.instance.target;let le=q.className;const Le=(0,t.Bu)().isBs5?f[c.placement]:c.placement;c.placementAuto&&(le=le.replace(/bs-popover-auto/g,`bs-popover-${Le}`),le=le.replace(/ms-2|me-2|mb-2|mt-2/g,""),le=le.replace(/bs-tooltip-auto/g,`bs-tooltip-${Le}`),le=le.replace(/\sauto/g,` ${Le}`),-1!==le.indexOf("popover")&&(le=le+" "+function Me(c){return(0,t.Bu)().isBs5?rt(c,"end")?"ms-2":rt(c,"start")?"me-2":rt(c,"top")?"mb-2":rt(c,"bottom")?"mt-2":"":""}(Le)),-1!==le.indexOf("popover")&&-1===le.indexOf("popover-auto")&&(le+=" popover-auto"),-1!==le.indexOf("tooltip")&&-1===le.indexOf("tooltip-auto")&&(le+=" tooltip-auto")),le=le.replace(/left|right|top|bottom|end|start/g,`${Le.split(" ")[0]}`),K?K.setAttribute(q,"class",le):q.className=le}(we,xe)}let Ct=(()=>{class c{constructor(q,le,Le){this.update$$=new Y.B,this.positionElements=new Map,this.isDisabled=!1,(0,x.UE)(Le)&&q.runOutsideAngular(()=>{this.triggerEvent$=(0,L.h)((0,J.R)(window,"scroll",{passive:!0}),(0,J.R)(window,"resize",{passive:!0}),(0,H.of)(0,te.X),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(xe=>{lt(Qe(xe.target),Qe(xe.element),xe.attachment,xe.appendToBody,this.options,le.createRenderer(null,null))})})})}position(q){this.addPositionElement(q)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(q){this.positionElements.set(Qe(q.element),q)}calcPosition(){this.update$$.next(null)}deletePositionElement(q){this.positionElements.delete(Qe(q))}setOptions(q){this.options=q}static#e=this.\u0275fac=function(le){return new(le||c)(m.KVO(m.SKi),m.KVO(m._9s),m.KVO(m.Agw))};static#t=this.\u0275prov=m.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Qe(c){return"string"==typeof c?document.querySelector(c):c instanceof m.aKT?c.nativeElement:c??null}},7820:(Ce,V,l)=>{l.d(V,{Hq:()=>b});var t=l(3953),m=l(177);let b=(()=>{class w{static forRoot(){return{ngModule:w,providers:[]}}static#e=this.\u0275fac=function(k){return new(k||w)};static#t=this.\u0275mod=t.$C({type:w});static#n=this.\u0275inj=t.G2t({imports:[m.MD]})}return w})()},3816:(Ce,V,l)=>{l.d(V,{jr:()=>w});var t=l(3953),m=l(177);let w=(()=>{class z{static forRoot(){return{ngModule:z,providers:[]}}static#e=this.\u0275fac=function(y){return new(y||z)};static#t=this.\u0275mod=t.$C({type:z});static#n=this.\u0275inj=t.G2t({imports:[m.MD]})}return z})()},534:(Ce,V,l)=>{l.d(V,{Ss:()=>z,dg:()=>w});var t=l(3953),m=l(425),x=l(1946),Y=l(5215),L=l(6932),J=l(1584),H=l(177);const te=["*"];let A=(()=>{class C{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}static#e=this.\u0275fac=function(X){return new(X||C)};static#t=this.\u0275prov=t.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})(),f=(()=>{class C{get _bsVersions(){return(0,m.Bu)()}constructor(y){Object.assign(this,y)}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=x.Rz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}static#e=this.\u0275fac=function(X){return new(X||C)(t.rXU(A))};static#t=this.\u0275cmp=t.VBU({type:C,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(X,_e){2&X&&(t.BMQ("id",_e.id),t.HbH("show tooltip in tooltip-"+_e.placement+" bs-tooltip-"+_e.placement+" "+_e.placement+" "+_e.containerClass))},ngContentSelectors:te,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(X,_e){1&X&&(t.NAR(),t.nrm(0,"div",0),t.j41(1,"div",1),t.SdG(2),t.k0s())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none;position:absolute}.tooltip[_nghost-%COMP%]   .tooltip-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0})}return C})(),b=0,w=(()=>{class C{get isOpen(){return this._tooltip.isShown}set isOpen(y){y?this.show():this.hide()}set htmlContent(y){(0,m.mc)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=y}set _placement(y){(0,m.mc)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=y}set _isOpen(y){(0,m.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=y}get _isOpen(){return(0,m.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(y){(0,m.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!y}get _enable(){return(0,m.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(y){(0,m.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=y?"body":this.container}get _appendToBody(){return(0,m.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(y){(0,m.mc)("tooltipClass deprecated")}set _tooltipContext(y){(0,m.mc)("tooltipContext deprecated")}set _tooltipPopupDelay(y){(0,m.mc)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=y}get _tooltipTrigger(){return(0,m.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(y){(0,m.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(y||"").toString()}constructor(y,X,_e,Q,ye,de){this._elementRef=Q,this._renderer=ye,this._positionService=de,this.tooltipId=b++,this.adaptivePosition=!0,this.tooltipChange=new t.bkB,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new t.bkB,this._tooltip=X.createLoader(this._elementRef,y,this._renderer).provide({provide:A,useValue:_e}),Object.assign(this,_e),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(y=>{y||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const y=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(f).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},X=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,J.O)(this.delay).subscribe(()=>{y(),X()}),this.triggers&&(0,m.Zu)(this.triggers).forEach(_e=>{_e.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,_e.close,()=>{this._delaySubscription?.unsubscribe(),X()}))})):y()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}static#e=this.\u0275fac=function(X){return new(X||C)(t.rXU(t.c1b),t.rXU(L.Li),t.rXU(A),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(x.DF))};static#t=this.\u0275dir=t.FsC({type:C,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:[0,"tooltipHtml","htmlContent"],_placement:[0,"tooltipPlacement","_placement"],_isOpen:[0,"tooltipIsOpen","_isOpen"],_enable:[0,"tooltipEnable","_enable"],_appendToBody:[0,"tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:[0,"tooltipClass","_popupClass"],_tooltipContext:[0,"tooltipContext","_tooltipContext"],_tooltipPopupDelay:[0,"tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:[0,"tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"]})}return(0,Y.Cg)([(0,m.Yr)(),(0,Y.Sn)("design:type",Object)],C.prototype,"tooltip",void 0),C})(),z=(()=>{class C{static forRoot(){return{ngModule:C,providers:[L.Li,x.DF]}}static#e=this.\u0275fac=function(X){return new(X||C)};static#t=this.\u0275mod=t.$C({type:C});static#n=this.\u0275inj=t.G2t({imports:[H.MD]})}return C})()},425:(Ce,V,l)=>{l.d(V,{Al:()=>f,Aq:()=>P,Bu:()=>ne,Fv:()=>te,GL:()=>J,Xt:()=>H,Yr:()=>U,Zu:()=>Y,mc:()=>me});var t=l(3953);class m{constructor(ee,I){this.open=ee,this.close=I||ee}isManual(){return"manual"===this.open||"manual"===this.close}}const x={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function Y(oe,ee=x){const I=(oe||"").trim();if(0===I.length)return[];const ce=I.split(/\s+/).map(Be=>Be.split(":")).map(Be=>{const st=ee[Be[0]]||Be;return new m(st[0],st[1])}),Oe=ce.filter(Be=>Be.isManual());if(Oe.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Oe.length&&ce.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return ce}function J(oe,ee){const I=Y(ee.triggers),ce=ee.target;if(1===I.length&&I[0].isManual())return Function.prototype;const Oe=[],Be=[],st=()=>{Be.forEach(rt=>Oe.push(rt())),Be.length=0};return I.forEach(rt=>{const Me=rt.open===rt.close,wt=Me?ee.toggle:ee.show;if(!Me&&rt.close&&ee.hide){const Pt=rt.close,Dt=ee.hide;Be.push(()=>oe.listen(ce,Pt,Dt))}wt&&Oe.push(oe.listen(ce,rt.open,()=>wt(st)))}),()=>{Oe.forEach(rt=>rt())}}function H(oe,ee){return ee.outsideClick?oe.listen("document","click",I=>{ee.target&&ee.target.contains(I.target)||ee.targets&&ee.targets.some(ce=>ce.contains(I.target))||ee.hide&&ee.hide()}):Function.prototype}function te(oe,ee){return ee.outsideEsc?oe.listen("document","keyup.esc",I=>{ee.target&&ee.target.contains(I.target)||ee.targets&&ee.targets.some(ce=>ce.contains(I.target))||ee.hide&&ee.hide()}):Function.prototype}const A=typeof window<"u"&&window||{},f=A.document;var de=function(oe){return oe.isBs4="bs4",oe.isBs5="bs5",oe}(de||{});let Z;function ke(){const oe=A.document.createElement("span");oe.innerText="testing bs version",oe.classList.add("d-none"),oe.classList.add("pl-1"),A.document.head.appendChild(oe);const ee=A.getComputedStyle(oe).paddingLeft;return ee&&parseFloat(ee)?(A.document.head.removeChild(oe),"bs4"):(A.document.head.removeChild(oe),"bs5")}function ne(){return{isBs4:(Z||(Z=ke()),"bs4"===Z),isBs5:(Z||(Z=ke()),"bs5"===Z)}}function U(){return function(I,ce){const Oe=` __${ce}Value`;Object.defineProperty(I,ce,{get(){return this[Oe]},set(Be){const st=this[Oe];this[Oe]=Be,st!==Be&&this[ce+"Change"]&&this[ce+"Change"].emit(Be)}})}}class P{static reflow(ee){}static getStyles(ee){let I=ee.ownerDocument.defaultView;return(!I||!I.opener)&&(I=A),I.getComputedStyle(ee)}static stackOverflowConfig(){const ee=function v(){const oe=ne(),ee=Object.keys(oe).find(I=>oe[I]);return de[ee]}();return{crossorigin:"anonymous",integrity:"bs5"===ee?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===ee?"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"}}}const $={},W=typeof console>"u"||!("warn"in console);function me(oe){!(0,t.naY)()||W||oe in $||($[oe]=!0,console.warn(oe))}}}]);
Back to Directory File Manager