text: var qC=Object.defineProperty,JC=Object.defineProperties,eD=Object.getOwnPropertyDescriptors,Om=Object.getOwnPropertySymbols,tD=Object.prototype.hasOwnProperty,nD=Object.prototype.propertyIsEnumerable,Rm=(Qe,me,g)=>me in Qe?qC(Qe,me,{enumerable:!0,configurable:!0,writable:!0,value:g}):Qe[me]=g,gt=(Qe,me)=>{for(var g in me||(me={}))tD.call(me,g)&&Rm(Qe,g,me[g]);if(Om)for(var g of Om(me))nD.call(me,g)&&Rm(Qe,g,me[g]);return Qe},ei=(Qe,me)=>JC(Qe,eD(me));(self.webpackChunkbank=self.webpackChunkbank||[]).push([[179],{2658:Qe=>{var me={utf8:{stringToBytes:function(g){return me.bin.stringToBytes(unescape(encodeURIComponent(g)))},bytesToString:function(g){return decodeURIComponent(escape(me.bin.bytesToString(g)))}},bin:{stringToBytes:function(g){for(var a=[],_=0;_<g.length;_++)a.push(255&g.charCodeAt(_));return a},bytesToString:function(g){for(var a=[],_=0;_<g.length;_++)a.push(String.fromCharCode(g[_]));return a.join("")}}};Qe.exports=me},5336:Qe=>{var me,g;me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qe.exports=g={rotl:function(a,_){return a<<_|a>>>32-_},rotr:function(a,_){return a<<32-_|a>>>_},endian:function(a){if(a.constructor==Number)return 16711935&g.rotl(a,8)|4278255360&g.rotl(a,24);for(var _=0;_<a.length;_++)a[_]=g.endian(a[_]);return a},randomBytes:function(a){for(var _=[];a>0;a--)_.push(Math.floor(256*Math.random()));return _},bytesToWords:function(a){for(var _=[],A=0,E=0;A<a.length;A++,E+=8)_[E>>>5]|=a[A]<<24-E%32;return _},wordsToBytes:function(a){for(var _=[],A=0;A<32*a.length;A+=8)_.push(a[A>>>5]>>>24-A%32&255);return _},bytesToHex:function(a){for(var _=[],A=0;A<a.length;A++)_.push((a[A]>>>4).toString(16)),_.push((15&a[A]).toString(16));return _.join("")},hexToBytes:function(a){for(var _=[],A=0;A<a.length;A+=2)_.push(parseInt(a.substr(A,2),16));return _},bytesToBase64:function(a){for(var _=[],A=0;A<a.length;A+=3)for(var E=a[A]<<16|a[A+1]<<8|a[A+2],Q=0;Q<4;Q++)_.push(8*A+6*Q<=8*a.length?me.charAt(E>>>6*(3-Q)&63):"=");return _.join("")},base64ToBytes:function(a){a=a.replace(/[^A-Z0-9+\/]/gi,"");for(var _=[],A=0,E=0;A<a.length;E=++A%4)0!=E&&_.push((me.indexOf(a.charAt(A-1))&Math.pow(2,-2*E+8)-1)<<2*E|me.indexOf(a.charAt(A))>>>6-2*E);return _}}},7033:Qe=>{function me(a){return!!a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)}Qe.exports=function(a){return null!=a&&(me(a)||function(a){return"function"==typeof a.readFloatLE&&"function"==typeof a.slice&&me(a.slice(0,0))}(a)||!!a._isBuffer)}},1718:(Qe,me,g)=>{var a,_,A,E,Q;a=g(5336),_=g(2658).utf8,A=g(7033),E=g(2658).bin,(Q=function(P,$){P.constructor==String?P=$&&"binary"===$.encoding?E.stringToBytes(P):_.stringToBytes(P):A(P)?P=Array.prototype.slice.call(P,0):!Array.isArray(P)&&P.constructor!==Uint8Array&&(P=P.toString());for(var O=a.bytesToWords(P),G=8*P.length,T=1732584193,k=-271733879,R=-1732584194,j=271733878,V=0;V<O.length;V++)O[V]=16711935&(O[V]<<8|O[V]>>>24)|4278255360&(O[V]<<24|O[V]>>>8);O[G>>>5]|=128<<G%32,O[14+(G+64>>>9<<4)]=G;var Z=Q._ff,q=Q._gg,ve=Q._hh,Se=Q._ii;for(V=0;V<O.length;V+=16){var je=T,at=k,Ge=R,ye=j;T=Z(T,k,R,j,O[V+0],7,-680876936),j=Z(j,T,k,R,O[V+1],12,-389564586),R=Z(R,j,T,k,O[V+2],17,606105819),k=Z(k,R,j,T,O[V+3],22,-1044525330),T=Z(T,k,R,j,O[V+4],7,-176418897),j=Z(j,T,k,R,O[V+5],12,1200080426),R=Z(R,j,T,k,O[V+6],17,-1473231341),k=Z(k,R,j,T,O[V+7],22,-45705983),T=Z(T,k,R,j,O[V+8],7,1770035416),j=Z(j,T,k,R,O[V+9],12,-1958414417),R=Z(R,j,T,k,O[V+10],17,-42063),k=Z(k,R,j,T,O[V+11],22,-1990404162),T=Z(T,k,R,j,O[V+12],7,1804603682),j=Z(j,T,k,R,O[V+13],12,-40341101),R=Z(R,j,T,k,O[V+14],17,-1502002290),T=q(T,k=Z(k,R,j,T,O[V+15],22,1236535329),R,j,O[V+1],5,-165796510),j=q(j,T,k,R,O[V+6],9,-1069501632),R=q(R,j,T,k,O[V+11],14,643717713),k=q(k,R,j,T,O[V+0],20,-373897302),T=q(T,k,R,j,O[V+5],5,-701558691),j=q(j,T,k,R,O[V+10],9,38016083),R=q(R,j,T,k,O[V+15],14,-660478335),k=q(k,R,j,T,O[V+4],20,-405537848),T=q(T,k,R,j,O[V+9],5,568446438),j=q(j,T,k,R,O[V+14],9,-1019803690),R=q(R,j,T,k,O[V+3],14,-187363961),k=q(k,R,j,T,O[V+8],20,1163531501),T=q(T,k,R,j,O[V+13],5,-1444681467),j=q(j,T,k,R,O[V+2],9,-51403784),R=q(R,j,T,k,O[V+7],14,1735328473),T=ve(T,k=q(k,R,j,T,O[V+12],20,-1926607734),R,j,O[V+5],4,-378558),j=ve(j,T,k,R,O[V+8],11,-2022574463),R=ve(R,j,T,k,O[V+11],16,1839030562),k=ve(k,R,j,T,O[V+14],23,-35309556),T=ve(T,k,R,j,O[V+1],4,-1530992060),j=ve(j,T,k,R,O[V+4],11,1272893353),R=ve(R,j,T,k,O[V+7],16,-155497632),k=ve(k,R,j,T,O[V+10],23,-1094730640),T=ve(T,k,R,j,O[V+13],4,681279174),j=ve(j,T,k,R,O[V+0],11,-358537222),R=ve(R,j,T,k,O[V+3],16,-722521979),k=ve(k,R,j,T,O[V+6],23,76029189),T=ve(T,k,R,j,O[V+9],4,-640364487),j=ve(j,T,k,R,O[V+12],11,-421815835),R=ve(R,j,T,k,O[V+15],16,530742520),T=Se(T,k=ve(k,R,j,T,O[V+2],23,-995338651),R,j,O[V+0],6,-198630844),j=Se(j,T,k,R,O[V+7],10,1126891415),R=Se(R,j,T,k,O[V+14],15,-1416354905),k=Se(k,R,j,T,O[V+5],21,-57434055),T=Se(T,k,R,j,O[V+12],6,1700485571),j=Se(j,T,k,R,O[V+3],10,-1894986606),R=Se(R,j,T,k,O[V+10],15,-1051523),k=Se(k,R,j,T,O[V+1],21,-2054922799),T=Se(T,k,R,j,O[V+8],6,1873313359),j=Se(j,T,k,R,O[V+15],10,-30611744),R=Se(R,j,T,k,O[V+6],15,-1560198380),k=Se(k,R,j,T,O[V+13],21,1309151649),T=Se(T,k,R,j,O[V+4],6,-145523070),j=Se(j,T,k,R,O[V+11],10,-1120210379),R=Se(R,j,T,k,O[V+2],15,718787259),k=Se(k,R,j,T,O[V+9],21,-343485551),T=T+je>>>0,k=k+at>>>0,R=R+Ge>>>0,j=j+ye>>>0}return a.endian([T,k,R,j])})._ff=function(P,$,O,G,T,k,R){var j=P+($&O|~$&G)+(T>>>0)+R;return(j<<k|j>>>32-k)+$},Q._gg=function(P,$,O,G,T,k,R){var j=P+($&G|O&~G)+(T>>>0)+R;return(j<<k|j>>>32-k)+$},Q._hh=function(P,$,O,G,T,k,R){var j=P+($^O^G)+(T>>>0)+R;return(j<<k|j>>>32-k)+$},Q._ii=function(P,$,O,G,T,k,R){var j=P+(O^($|~G))+(T>>>0)+R;return(j<<k|j>>>32-k)+$},Q._blocksize=16,Q._digestsize=16,Qe.exports=function(P,$){if(null==P)throw new Error("Illegal argument "+P);var O=a.wordsToBytes(Q(P,$));return $&&$.asBytes?O:$&&$.asString?E.bytesToString(O):a.bytesToHex(O)}},4099:(Qe,me,g)=>{"use strict";g.d(me,{X:()=>A});var a=g(8095),_=g(2108);class A extends a.xQ{constructor(Q){super(),this._value=Q}get value(){return this.getValue()}_subscribe(Q){const P=super._subscribe(Q);return P&&!P.closed&&Q.next(this._value),P}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new _.N;return this._value}next(Q){super.next(this._value=Q)}}},5548:(Qe,me,g)=>{"use strict";g.d(me,{y:()=>k});var a=g(4168),A=g(2926),E=g(6617),P=g(1359),$=g(7255);var T=g(5426);let k=(()=>{class j{constructor(Z){this._isScalar=!1,Z&&(this._subscribe=Z)}lift(Z){const q=new j;return q.source=this,q.operator=Z,q}subscribe(Z,q,ve){const{operator:Se}=this,je=function(j,V,Z){if(j){if(j instanceof a.L)return j;if(j[A.b])return j[A.b]()}return j||V||Z?new a.L(j,V,Z):new a.L(E.c)}(Z,q,ve);if(je.add(Se?Se.call(je,this.source):this.source||T.v.useDeprecatedSynchronousErrorHandling&&!je.syncErrorThrowable?this._subscribe(je):this._trySubscribe(je)),T.v.useDeprecatedSynchronousErrorHandling&&je.syncErrorThrowable&&(je.syncErrorThrowable=!1,je.syncErrorThrown))throw je.syncErrorValue;return je}_trySubscribe(Z){try{return this._subscribe(Z)}catch(q){T.v.useDeprecatedSynchronousErrorHandling&&(Z.syncErrorThrown=!0,Z.syncErrorValue=q),function(j){for(;j;){const{closed:V,destination:Z,isStopped:q}=j;if(V||q)return!1;j=Z&&Z instanceof a.L?Z:null}return!0}(Z)?Z.error(q):console.warn(q)}}forEach(Z,q){return new(q=R(q))((ve,Se)=>{let je;je=this.subscribe(at=>{try{Z(at)}catch(Ge){Se(Ge),je&&je.unsubscribe()}},Se,ve)})}_subscribe(Z){const{source:q}=this;return q&&q.subscribe(Z)}[P.L](){return this}pipe(...Z){return 0===Z.length?this:function(j){return 0===j.length?$.y:1===j.length?j[0]:function(Z){return j.reduce((q,ve)=>ve(q),Z)}}(Z)(this)}toPromise(Z){return new(Z=R(Z))((q,ve)=>{let Se;this.subscribe(je=>Se=je,je=>ve(je),()=>q(Se))})}}return j.create=V=>new j(V),j})();function R(j){if(j||(j=T.v.Promise||Promise),!j)throw new Error("no Promise impl found");return j}},6617:(Qe,me,g)=>{"use strict";g.d(me,{c:()=>A});var a=g(5426),_=g(9887);const A={closed:!0,next(E){},error(E){if(a.v.useDeprecatedSynchronousErrorHandling)throw E;(0,_.z)(E)},complete(){}}},8095:(Qe,me,g)=>{"use strict";g.d(me,{xQ:()=>O,Yc:()=>$});var a=g(5548),_=g(4168),A=g(1346),E=g(2108);class Q extends A.w{constructor(k,R){super(),this.subject=k,this.subscriber=R,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const k=this.subject,R=k.observers;if(this.subject=null,!R||0===R.length||k.isStopped||k.closed)return;const j=R.indexOf(this.subscriber);-1!==j&&R.splice(j,1)}}var P=g(2926);class $ extends _.L{constructor(k){super(k),this.destination=k}}let O=(()=>{class T extends a.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[P.b](){return new $(this)}lift(R){const j=new G(this,this);return j.operator=R,j}next(R){if(this.closed)throw new E.N;if(!this.isStopped){const{observers:j}=this,V=j.length,Z=j.slice();for(let q=0;q<V;q++)Z[q].next(R)}}error(R){if(this.closed)throw new E.N;this.hasError=!0,this.thrownError=R,this.isStopped=!0;const{observers:j}=this,V=j.length,Z=j.slice();for(let q=0;q<V;q++)Z[q].error(R);this.observers.length=0}complete(){if(this.closed)throw new E.N;this.isStopped=!0;const{observers:R}=this,j=R.length,V=R.slice();for(let Z=0;Z<j;Z++)V[Z].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(R){if(this.closed)throw new E.N;return super._trySubscribe(R)}_subscribe(R){if(this.closed)throw new E.N;return this.hasError?(R.error(this.thrownError),A.w.EMPTY):this.isStopped?(R.complete(),A.w.EMPTY):(this.observers.push(R),new Q(this,R))}asObservable(){const R=new a.y;return R.source=this,R}}return T.create=(k,R)=>new G(k,R),T})();class G extends O{constructor(k,R){super(),this.destination=k,this.source=R}next(k){const{destination:R}=this;R&&R.next&&R.next(k)}error(k){const{destination:R}=this;R&&R.error&&this.destination.error(k)}complete(){const{destination:k}=this;k&&k.complete&&this.destination.complete()}_subscribe(k){const{source:R}=this;return R?this.source.subscribe(k):A.w.EMPTY}}},4168:(Qe,me,g)=>{"use strict";g.d(me,{L:()=>$});var a=g(6783),_=g(6617),A=g(1346),E=g(2926),Q=g(5426),P=g(9887);class $ extends A.w{constructor(T,k,R){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=_.c;break;case 1:if(!T){this.destination=_.c;break}if("object"==typeof T){T instanceof $?(this.syncErrorThrowable=T.syncErrorThrowable,this.destination=T,T.add(this)):(this.syncErrorThrowable=!0,this.destination=new O(this,T));break}default:this.syncErrorThrowable=!0,this.destination=new O(this,T,k,R)}}[E.b](){return this}static create(T,k,R){const j=new $(T,k,R);return j.syncErrorThrowable=!1,j}next(T){this.isStopped||this._next(T)}error(T){this.isStopped||(this.isStopped=!0,this._error(T))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(T){this.destination.next(T)}_error(T){this.destination.error(T),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:T}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=T,this}}class O extends ${constructor(T,k,R,j){super(),this._parentSubscriber=T;let V,Z=this;(0,a.m)(k)?V=k:k&&(V=k.next,R=k.error,j=k.complete,k!==_.c&&(Z=Object.create(k),(0,a.m)(Z.unsubscribe)&&this.add(Z.unsubscribe.bind(Z)),Z.unsubscribe=this.unsubscribe.bind(this))),this._context=Z,this._next=V,this._error=R,this._complete=j}next(T){if(!this.isStopped&&this._next){const{_parentSubscriber:k}=this;Q.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable?this.__tryOrSetError(k,this._next,T)&&this.unsubscribe():this.__tryOrUnsub(this._next,T)}}error(T){if(!this.isStopped){const{_parentSubscriber:k}=this,{useDeprecatedSynchronousErrorHandling:R}=Q.v;if(this._error)R&&k.syncErrorThrowable?(this.__tryOrSetError(k,this._error,T),this.unsubscribe()):(this.__tryOrUnsub(this._error,T),this.unsubscribe());else if(k.syncErrorThrowable)R?(k.syncErrorValue=T,k.syncErrorThrown=!0):(0,P.z)(T),this.unsubscribe();else{if(this.unsubscribe(),R)throw T;(0,P.z)(T)}}}complete(){if(!this.isStopped){const{_parentSubscriber:T}=this;if(this._complete){const k=()=>this._complete.call(this._context);Q.v.useDeprecatedSynchronousErrorHandling&&T.syncErrorThrowable?(this.__tryOrSetError(T,k),this.unsubscribe()):(this.__tryOrUnsub(k),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(T,k){try{T.call(this._context,k)}catch(R){if(this.unsubscribe(),Q.v.useDeprecatedSynchronousErrorHandling)throw R;(0,P.z)(R)}}__tryOrSetError(T,k,R){if(!Q.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{k.call(this._context,R)}catch(j){return Q.v.useDeprecatedSynchronousErrorHandling?(T.syncErrorValue=j,T.syncErrorThrown=!0,!0):((0,P.z)(j),!0)}return!1}_unsubscribe(){const{_parentSubscriber:T}=this;this._context=null,this._parentSubscriber=null,T.unsubscribe()}}},1346:(Qe,me,g)=>{"use strict";g.d(me,{w:()=>P});var a=g(5894),_=g(7879),A=g(6783);const Q=(()=>{function O(G){return Error.call(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((T,k)=>`${k+1}) ${T.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=G,this}return O.prototype=Object.create(Error.prototype),O})();class P{constructor(G){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,G&&(this._ctorUnsubscribe=!0,this._unsubscribe=G)}unsubscribe(){let G;if(this.closed)return;let{_parentOrParents:T,_ctorUnsubscribe:k,_unsubscribe:R,_subscriptions:j}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,T instanceof P)T.remove(this);else if(null!==T)for(let V=0;V<T.length;++V)T[V].remove(this);if((0,A.m)(R)){k&&(this._unsubscribe=void 0);try{R.call(this)}catch(V){G=V instanceof Q?$(V.errors):[V]}}if((0,a.k)(j)){let V=-1,Z=j.length;for(;++V<Z;){const q=j[V];if((0,_.K)(q))try{q.unsubscribe()}catch(ve){G=G||[],ve instanceof Q?G=G.concat($(ve.errors)):G.push(ve)}}}if(G)throw new Q(G)}add(G){let T=G;if(!G)return P.EMPTY;switch(typeof G){case"function":T=new P(G);case"object":if(T===this||T.closed||"function"!=typeof T.unsubscribe)return T;if(this.closed)return T.unsubscribe(),T;if(!(T instanceof P)){const j=T;T=new P,T._subscriptions=[j]}break;default:throw new Error("unrecognized teardown "+G+" added to Subscription.")}let{_parentOrParents:k}=T;if(null===k)T._parentOrParents=this;else if(k instanceof P){if(k===this)return T;T._parentOrParents=[k,this]}else{if(-1!==k.indexOf(this))return T;k.push(this)}const R=this._subscriptions;return null===R?this._subscriptions=[T]:R.push(T),T}remove(G){const T=this._subscriptions;if(T){const k=T.indexOf(G);-1!==k&&T.splice(k,1)}}}var O;function $(O){return O.reduce((G,T)=>G.concat(T instanceof Q?T.errors:T),[])}P.EMPTY=((O=new P).closed=!0,O)},5426:(Qe,me,g)=>{"use strict";g.d(me,{v:()=>_});let a=!1;const _={Promise:void 0,set useDeprecatedSynchronousErrorHandling(A){if(A){const E=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+E.stack)}else a&&console.log("RxJS: Back to a better error behavior. Thank you. <3");a=A},get useDeprecatedSynchronousErrorHandling(){return a}}},8345:(Qe,me,g)=>{"use strict";g.d(me,{IY:()=>E,Ds:()=>P,ft:()=>O});var a=g(4168),_=g(5548),A=g(4651);class E extends a.L{constructor(T){super(),this.parent=T}_next(T){this.parent.notifyNext(T)}_error(T){this.parent.notifyError(T),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class P extends a.L{notifyNext(T){this.destination.next(T)}notifyError(T){this.destination.error(T)}notifyComplete(){this.destination.complete()}}function O(G,T){if(T.closed)return;if(G instanceof _.y)return G.subscribe(T);let k;try{k=(0,A.s)(G)(T)}catch(R){T.error(R)}return k}},5783:(Qe,me,g)=>{"use strict";g.d(me,{c:()=>Q,N:()=>P});var a=g(8095),_=g(5548),A=g(1346),E=g(5234);class Q extends _.y{constructor(k,R){super(),this.source=k,this.subjectFactory=R,this._refCount=0,this._isComplete=!1}_subscribe(k){return this.getSubject().subscribe(k)}getSubject(){const k=this._subject;return(!k||k.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let k=this._connection;return k||(this._isComplete=!1,k=this._connection=new A.w,k.add(this.source.subscribe(new $(this.getSubject(),this))),k.closed&&(this._connection=null,k=A.w.EMPTY)),k}refCount(){return(0,E.x)()(this)}}const P=(()=>{const T=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:T._subscribe},_isComplete:{value:T._isComplete,writable:!0},getSubject:{value:T.getSubject},connect:{value:T.connect},refCount:{value:T.refCount}}})();class $ extends a.Yc{constructor(k,R){super(k),this.connectable=R}_error(k){this._unsubscribe(),super._error(k)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const k=this.connectable;if(k){this.connectable=null;const R=k._connection;k._refCount=0,k._subject=null,k._connection=null,R&&R.unsubscribe()}}}},2372:(Qe,me,g)=>{"use strict";g.d(me,{aj:()=>k});var a=g(8151),_=g(5894),A=g(4168);class E extends A.L{notifyNext(Z,q,ve,Se,je){this.destination.next(q)}notifyError(Z,q){this.destination.error(Z)}notifyComplete(Z){this.destination.complete()}}class Q extends A.L{constructor(Z,q,ve){super(),this.parent=Z,this.outerValue=q,this.outerIndex=ve,this.index=0}_next(Z){this.parent.notifyNext(this.outerValue,Z,this.outerIndex,this.index++,this)}_error(Z){this.parent.notifyError(Z,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var P=g(4651),$=g(5548);function O(V,Z,q,ve,Se=new Q(V,q,ve)){if(!Se.closed)return Z instanceof $.y?Z.subscribe(Se):(0,P.s)(Z)(Se)}var G=g(5433);const T={};function k(...V){let Z,q;return(0,a.K)(V[V.length-1])&&(q=V.pop()),"function"==typeof V[V.length-1]&&(Z=V.pop()),1===V.length&&(0,_.k)(V[0])&&(V=V[0]),(0,G.n)(V,q).lift(new R(Z))}class R{constructor(Z){this.resultSelector=Z}call(Z,q){return q.subscribe(new j(Z,this.resultSelector))}}class j extends E{constructor(Z,q){super(Z),this.resultSelector=q,this.active=0,this.values=[],this.observables=[]}_next(Z){this.values.push(T),this.observables.push(Z)}_complete(){const Z=this.observables,q=Z.length;if(0===q)this.destination.complete();else{this.active=q,this.toRespond=q;for(let ve=0;ve<q;ve++)this.add(O(this,Z[ve],void 0,ve))}}notifyComplete(Z){0==(this.active-=1)&&this.destination.complete()}notifyNext(Z,q,ve){const Se=this.values,at=this.toRespond?Se[ve]===T?--this.toRespond:this.toRespond:0;Se[ve]=q,0===at&&(this.resultSelector?this._tryResultSelector(Se):this.destination.next(Se.slice()))}_tryResultSelector(Z){let q;try{q=this.resultSelector.apply(this,Z)}catch(ve){return void this.destination.error(ve)}this.destination.next(q)}}},3596:(Qe,me,g)=>{"use strict";g.d(me,{z:()=>E});var a=g(2411),_=g(2225);function E(...Q){return(0,_.J)(1)((0,a.of)(...Q))}},5476:(Qe,me,g)=>{"use strict";g.d(me,{P:()=>E});var a=g(5548),_=g(1915),A=g(172);function E(Q){return new a.y(P=>{let $;try{$=Q()}catch(G){return void P.error(G)}return($?(0,_.D)($):(0,A.c)()).subscribe(P)})}},172:(Qe,me,g)=>{"use strict";g.d(me,{E:()=>_,c:()=>A});var a=g(5548);const _=new a.y(Q=>Q.complete());function A(Q){return Q?function(Q){return new a.y(P=>Q.schedule(()=>P.complete()))}(Q):_}},6813:(Qe,me,g)=>{"use strict";g.d(me,{D:()=>P});var a=g(5548),_=g(5894),A=g(8053),E=g(7879),Q=g(1915);function P(...O){if(1===O.length){const G=O[0];if((0,_.k)(G))return $(G,null);if((0,E.K)(G)&&Object.getPrototypeOf(G)===Object.prototype){const T=Object.keys(G);return $(T.map(k=>G[k]),T)}}if("function"==typeof O[O.length-1]){const G=O.pop();return $(O=1===O.length&&(0,_.k)(O[0])?O[0]:O,null).pipe((0,A.U)(T=>G(...T)))}return $(O,null)}function $(O,G){return new a.y(T=>{const k=O.length;if(0===k)return void T.complete();const R=new Array(k);let j=0,V=0;for(let Z=0;Z<k;Z++){const q=(0,Q.D)(O[Z]);let ve=!1;T.add(q.subscribe({next:Se=>{ve||(ve=!0,V++),R[Z]=Se},error:Se=>T.error(Se),complete:()=>{j++,(j===k||!ve)&&(V===k&&T.next(G?G.reduce((Se,je,at)=>(Se[je]=R[at],Se),{}):R),T.complete())}}))}})}},1915:(Qe,me,g)=>{"use strict";g.d(me,{D:()=>Z});var a=g(5548),_=g(4651),A=g(1346),E=g(1359),$=g(3428),O=g(4352),k=g(847),R=g(1265);function Z(q,ve){return ve?function(q,ve){if(null!=q){if(function(q){return q&&"function"==typeof q[E.L]}(q))return function(q,ve){return new a.y(Se=>{const je=new A.w;return je.add(ve.schedule(()=>{const at=q[E.L]();je.add(at.subscribe({next(Ge){je.add(ve.schedule(()=>Se.next(Ge)))},error(Ge){je.add(ve.schedule(()=>Se.error(Ge)))},complete(){je.add(ve.schedule(()=>Se.complete()))}}))})),je})}(q,ve);if((0,k.t)(q))return function(q,ve){return new a.y(Se=>{const je=new A.w;return je.add(ve.schedule(()=>q.then(at=>{je.add(ve.schedule(()=>{Se.next(at),je.add(ve.schedule(()=>Se.complete()))}))},at=>{je.add(ve.schedule(()=>Se.error(at)))}))),je})}(q,ve);if((0,R.z)(q))return(0,$.r)(q,ve);if(function(q){return q&&"function"==typeof q[O.hZ]}(q)||"string"==typeof q)return function(q,ve){if(!q)throw new Error("Iterable cannot be null");return new a.y(Se=>{const je=new A.w;let at;return je.add(()=>{at&&"function"==typeof at.return&&at.return()}),je.add(ve.schedule(()=>{at=q[O.hZ](),je.add(ve.schedule(function(){if(Se.closed)return;let Ge,ye;try{const ge=at.next();Ge=ge.value,ye=ge.done}catch(ge){return void Se.error(ge)}ye?Se.complete():(Se.next(Ge),this.schedule())}))})),je})}(q,ve)}throw new TypeError((null!==q&&typeof q||q)+" is not observable")}(q,ve):q instanceof a.y?q:new a.y((0,_.s)(q))}},5433:(Qe,me,g)=>{"use strict";g.d(me,{n:()=>E});var a=g(5548),_=g(8769),A=g(3428);function E(Q,P){return P?(0,A.r)(Q,P):new a.y((0,_.V)(Q))}},6087:(Qe,me,g)=>{"use strict";g.d(me,{R:()=>P});var a=g(5548),_=g(5894),A=g(6783),E=g(8053);function P(k,R,j,V){return(0,A.m)(j)&&(V=j,j=void 0),V?P(k,R,j).pipe((0,E.U)(Z=>(0,_.k)(Z)?V(...Z):V(Z))):new a.y(Z=>{$(k,R,function(ve){Z.next(arguments.length>1?Array.prototype.slice.call(arguments):ve)},Z,j)})}function $(k,R,j,V,Z){let q;if(function(k){return k&&"function"==typeof k.addEventListener&&"function"==typeof k.removeEventListener}(k)){const ve=k;k.addEventListener(R,j,Z),q=()=>ve.removeEventListener(R,j,Z)}else if(function(k){return k&&"function"==typeof k.on&&"function"==typeof k.off}(k)){const ve=k;k.on(R,j),q=()=>ve.off(R,j)}else if(function(k){return k&&"function"==typeof k.addListener&&"function"==typeof k.removeListener}(k)){const ve=k;k.addListener(R,j),q=()=>ve.removeListener(R,j)}else{if(!k||!k.length)throw new TypeError("Invalid event target");for(let ve=0,Se=k.length;ve<Se;ve++)$(k[ve],R,j,V,Z)}V.add(q)}},8526:(Qe,me,g)=>{"use strict";g.d(me,{T:()=>Q});var a=g(5548),_=g(8151),A=g(2225),E=g(5433);function Q(...P){let $=Number.POSITIVE_INFINITY,O=null,G=P[P.length-1];return(0,_.K)(G)?(O=P.pop(),P.length>1&&"number"==typeof P[P.length-1]&&($=P.pop())):"number"==typeof G&&($=P.pop()),null===O&&1===P.length&&P[0]instanceof a.y?P[0]:(0,A.J)($)((0,E.n)(P,O))}},2411:(Qe,me,g)=>{"use strict";g.d(me,{of:()=>E});var a=g(8151),_=g(5433),A=g(3428);function E(...Q){let P=Q[Q.length-1];return(0,a.K)(P)?(Q.pop(),(0,A.r)(Q,P)):(0,_.n)(Q)}},540:(Qe,me,g)=>{"use strict";g.d(me,{_:()=>_});var a=g(5548);function _(E,Q){return new a.y(Q?P=>Q.schedule(A,0,{error:E,subscriber:P}):P=>P.error(E))}function A({error:E,subscriber:Q}){Q.error(E)}},9279:(Qe,me,g)=>{"use strict";g.d(me,{H:()=>Q});var a=g(5548),_=g(8178),A=g(8212),E=g(8151);function Q($=0,O,G){let T=-1;return(0,A.k)(O)?T=Number(O)<1?1:Number(O):(0,E.K)(O)&&(G=O),(0,E.K)(G)||(G=_.P),new a.y(k=>{const R=(0,A.k)($)?$:+$-G.now();return G.schedule(P,R,{index:0,period:T,subscriber:k})})}function P($){const{index:O,period:G,subscriber:T}=$;if(T.next(O),!T.closed){if(-1===G)return T.complete();$.index=O+1,this.schedule($,G)}}},2047:(Qe,me,g)=>{"use strict";g.d(me,{K:()=>_});var a=g(8345);function _(Q){return function($){const O=new A(Q),G=$.lift(O);return O.caught=G}}class A{constructor(P){this.selector=P}call(P,$){return $.subscribe(new E(P,this.selector,this.caught))}}class E extends a.Ds{constructor(P,$,O){super(P),this.selector=$,this.caught=O}error(P){if(!this.isStopped){let $;try{$=this.selector(P,this.caught)}catch(T){return void super.error(T)}this._unsubscribeAndRecycle();const O=new a.IY(this);this.add(O);const G=(0,a.ft)($,O);G!==O&&this.add(G)}}}},6700:(Qe,me,g)=>{"use strict";g.d(me,{b:()=>_});var a=g(4421);function _(A,E){return(0,a.zg)(A,E,1)}},5686:(Qe,me,g)=>{"use strict";g.d(me,{b:()=>A});var a=g(4168),_=g(8178);function A($,O=_.P){return G=>G.lift(new E($,O))}class E{constructor(O,G){this.dueTime=O,this.scheduler=G}call(O,G){return G.subscribe(new Q(O,this.dueTime,this.scheduler))}}class Q extends a.L{constructor(O,G,T){super(O),this.dueTime=G,this.scheduler=T,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(O){this.clearDebounce(),this.lastValue=O,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(P,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:O}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(O)}}clearDebounce(){const O=this.debouncedSubscription;null!==O&&(this.remove(O),O.unsubscribe(),this.debouncedSubscription=null)}}function P($){$.debouncedNext()}},7556:(Qe,me,g)=>{"use strict";g.d(me,{g:()=>G});var a=g(8178),A=g(4168),E=g(172),Q=g(2411),P=g(540);class O{constructor(V,Z,q){this.kind=V,this.value=Z,this.error=q,this.hasValue="N"===V}observe(V){switch(this.kind){case"N":return V.next&&V.next(this.value);case"E":return V.error&&V.error(this.error);case"C":return V.complete&&V.complete()}}do(V,Z,q){switch(this.kind){case"N":return V&&V(this.value);case"E":return Z&&Z(this.error);case"C":return q&&q()}}accept(V,Z,q){return V&&"function"==typeof V.next?this.observe(V):this.do(V,Z,q)}toObservable(){switch(this.kind){case"N":return(0,Q.of)(this.value);case"E":return(0,P._)(this.error);case"C":return(0,E.c)()}throw new Error("unexpected notification kind value")}static createNext(V){return void 0!==V?new O("N",V):O.undefinedValueNotification}static createError(V){return new O("E",void 0,V)}static createComplete(){return O.completeNotification}}function G(j,V=a.P){const q=function(j){return j instanceof Date&&!isNaN(+j)}(j)?+j-V.now():Math.abs(j);return ve=>ve.lift(new T(q,V))}O.completeNotification=new O("C"),O.undefinedValueNotification=new O("N",void 0);class T{constructor(V,Z){this.delay=V,this.scheduler=Z}call(V,Z){return Z.subscribe(new k(V,this.delay,this.scheduler))}}class k extends A.L{constructor(V,Z,q){super(V),this.delay=Z,this.scheduler=q,this.queue=[],this.active=!1,this.errored=!1}static dispatch(V){const Z=V.source,q=Z.queue,ve=V.scheduler,Se=V.destination;for(;q.length>0&&q[0].time-ve.now()<=0;)q.shift().notification.observe(Se);if(q.length>0){const je=Math.max(0,q[0].time-ve.now());this.schedule(V,je)}else this.unsubscribe(),Z.active=!1}_schedule(V){this.active=!0,this.destination.add(V.schedule(k.dispatch,this.delay,{source:this,destination:this.destination,scheduler:V}))}scheduleNotification(V){if(!0===this.errored)return;const Z=this.scheduler,q=new R(Z.now()+this.delay,V);this.queue.push(q),!1===this.active&&this._schedule(Z)}_next(V){this.scheduleNotification(O.createNext(V))}_error(V){this.errored=!0,this.queue=[],this.destination.error(V),this.unsubscribe()}_complete(){this.scheduleNotification(O.createComplete()),this.unsubscribe()}}class R{constructor(V,Z){this.time=V,this.notification=Z}}},5389:(Qe,me,g)=>{"use strict";g.d(me,{x:()=>_});var a=g(4168);function _(Q,P){return $=>$.lift(new A(Q,P))}class A{constructor(P,$){this.compare=P,this.keySelector=$}call(P,$){return $.subscribe(new E(P,this.compare,this.keySelector))}}class E extends a.L{constructor(P,$,O){super(P),this.keySelector=O,this.hasKey=!1,"function"==typeof $&&(this.compare=$)}compare(P,$){return P===$}_next(P){let $;try{const{keySelector:G}=this;$=G?G(P):P}catch(G){return this.destination.error(G)}let O=!1;if(this.hasKey)try{const{compare:G}=this;O=G(this.key,$)}catch(G){return this.destination.error(G)}else this.hasKey=!0;O||(this.key=$,this.destination.next(P))}}},8735:(Qe,me,g)=>{"use strict";g.d(me,{h:()=>_});var a=g(4168);function _(Q,P){return function(O){return O.lift(new A(Q,P))}}class A{constructor(P,$){this.predicate=P,this.thisArg=$}call(P,$){return $.subscribe(new E(P,this.predicate,this.thisArg))}}class E extends a.L{constructor(P,$,O){super(P),this.predicate=$,this.thisArg=O,this.count=0}_next(P){let $;try{$=this.predicate.call(this.thisArg,P,this.count++)}catch(O){return void this.destination.error(O)}$&&this.destination.next(P)}}},6658:(Qe,me,g)=>{"use strict";g.d(me,{x:()=>A});var a=g(4168),_=g(1346);function A(P){return $=>$.lift(new E(P))}class E{constructor($){this.callback=$}call($,O){return O.subscribe(new Q($,this.callback))}}class Q extends a.L{constructor($,O){super($),this.add(new _.w(O))}}},8053:(Qe,me,g)=>{"use strict";g.d(me,{U:()=>_});var a=g(4168);function _(Q,P){return function(O){if("function"!=typeof Q)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return O.lift(new A(Q,P))}}class A{constructor(P,$){this.project=P,this.thisArg=$}call(P,$){return $.subscribe(new E(P,this.project,this.thisArg))}}class E extends a.L{constructor(P,$,O){super(P),this.project=$,this.count=0,this.thisArg=O||this}_next(P){let $;try{$=this.project.call(this.thisArg,P,this.count++)}catch(O){return void this.destination.error(O)}this.destination.next($)}}},2225:(Qe,me,g)=>{"use strict";g.d(me,{J:()=>A});var a=g(4421),_=g(7255);function A(E=Number.POSITIVE_INFINITY){return(0,a.zg)(_.y,E)}},4421:(Qe,me,g)=>{"use strict";g.d(me,{zg:()=>E});var a=g(8053),_=g(1915),A=g(8345);function E(O,G,T=Number.POSITIVE_INFINITY){return"function"==typeof G?k=>k.pipe(E((R,j)=>(0,_.D)(O(R,j)).pipe((0,a.U)((V,Z)=>G(R,V,j,Z))),T)):("number"==typeof G&&(T=G),k=>k.lift(new Q(O,T)))}class Q{constructor(G,T=Number.POSITIVE_INFINITY){this.project=G,this.concurrent=T}call(G,T){return T.subscribe(new P(G,this.project,this.concurrent))}}class P extends A.Ds{constructor(G,T,k=Number.POSITIVE_INFINITY){super(G),this.project=T,this.concurrent=k,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(G){this.active<this.concurrent?this._tryNext(G):this.buffer.push(G)}_tryNext(G){let T;const k=this.index++;try{T=this.project(G,k)}catch(R){return void this.destination.error(R)}this.active++,this._innerSub(T)}_innerSub(G){const T=new A.IY(this),k=this.destination;k.add(T);const R=(0,A.ft)(G,T);R!==T&&k.add(R)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(G){this.destination.next(G)}notifyComplete(){const G=this.buffer;this.active--,G.length>0?this._next(G.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},5234:(Qe,me,g)=>{"use strict";g.d(me,{x:()=>_});var a=g(4168);function _(){return function(P){return P.lift(new A(P))}}class A{constructor(P){this.connectable=P}call(P,$){const{connectable:O}=this;O._refCount++;const G=new E(P,O),T=$.subscribe(G);return G.closed||(G.connection=O.connect()),T}}class E extends a.L{constructor(P,$){super(P),this.connectable=$}_unsubscribe(){const{connectable:P}=this;if(!P)return void(this.connection=null);this.connectable=null;const $=P._refCount;if($<=0)return void(this.connection=null);if(P._refCount=$-1,$>1)return void(this.connection=null);const{connection:O}=this,G=P._connection;this.connection=null,G&&(!O||G===O)&&G.unsubscribe()}}},6669:(Qe,me,g)=>{"use strict";g.d(me,{B:()=>$});var a=g(5783);var E=g(5234),Q=g(8095);function P(){return new Q.xQ}function $(){return O=>(0,E.x)()(function(O,G){return function(k){let R;R="function"==typeof O?O:function(){return O};const j=Object.create(k,a.N);return j.source=k,j.subjectFactory=R,j}}(P)(O))}},5488:(Qe,me,g)=>{"use strict";g.d(me,{T:()=>_});var a=g(4168);function _(Q){return P=>P.lift(new A(Q))}class A{constructor(P){this.total=P}call(P,$){return $.subscribe(new E(P,this.total))}}class E extends a.L{constructor(P,$){super(P),this.total=$,this.count=0}_next(P){++this.count>this.total&&this.destination.next(P)}}},1125:(Qe,me,g)=>{"use strict";g.d(me,{O:()=>A});var a=g(3596),_=g(8151);function A(...E){const Q=E[E.length-1];return(0,_.K)(Q)?(E.pop(),P=>(0,a.z)(E,P,Q)):P=>(0,a.z)(E,P)}},9204:(Qe,me,g)=>{"use strict";g.d(me,{w:()=>E});var a=g(8053),_=g(1915),A=g(8345);function E($,O){return"function"==typeof O?G=>G.pipe(E((T,k)=>(0,_.D)($(T,k)).pipe((0,a.U)((R,j)=>O(T,R,k,j))))):G=>G.lift(new Q($))}class Q{constructor(O){this.project=O}call(O,G){return G.subscribe(new P(O,this.project))}}class P extends A.Ds{constructor(O,G){super(O),this.project=G,this.index=0}_next(O){let G;const T=this.index++;try{G=this.project(O,T)}catch(k){return void this.destination.error(k)}this._innerSub(G)}_innerSub(O){const G=this.innerSubscription;G&&G.unsubscribe();const T=new A.IY(this),k=this.destination;k.add(T),this.innerSubscription=(0,A.ft)(O,T),this.innerSubscription!==T&&k.add(this.innerSubscription)}_complete(){const{innerSubscription:O}=this;(!O||O.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(O){this.destination.next(O)}}},6636:(Qe,me,g)=>{"use strict";g.d(me,{q:()=>E});var a=g(4168),_=g(523),A=g(172);function E($){return O=>0===$?(0,A.c)():O.lift(new Q($))}class Q{constructor(O){if(this.total=O,this.total<0)throw new _.W}call(O,G){return G.subscribe(new P(O,this.total))}}class P extends a.L{constructor(O,G){super(O),this.total=G,this.count=0}_next(O){const G=this.total,T=++this.count;T<=G&&(this.destination.next(O),T===G&&(this.destination.complete(),this.unsubscribe()))}}},8805:(Qe,me,g)=>{"use strict";g.d(me,{R:()=>_});var a=g(8345);function _(Q){return P=>P.lift(new A(Q))}class A{constructor(P){this.notifier=P}call(P,$){const O=new E(P),G=(0,a.ft)(this.notifier,new a.IY(O));return G&&!O.seenValue?(O.add(G),$.subscribe(O)):O}}class E extends a.Ds{constructor(P){super(P),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},5722:(Qe,me,g)=>{"use strict";g.d(me,{b:()=>E});var a=g(4168);function _(){}var A=g(6783);function E($,O,G){return function(k){return k.lift(new Q($,O,G))}}class Q{constructor(O,G,T){this.nextOrObserver=O,this.error=G,this.complete=T}call(O,G){return G.subscribe(new P(O,this.nextOrObserver,this.error,this.complete))}}class P extends a.L{constructor(O,G,T,k){super(O),this._tapNext=_,this._tapError=_,this._tapComplete=_,this._tapError=T||_,this._tapComplete=k||_,(0,A.m)(G)?(this._context=this,this._tapNext=G):G&&(this._context=G,this._tapNext=G.next||_,this._tapError=G.error||_,this._tapComplete=G.complete||_)}_next(O){try{this._tapNext.call(this._context,O)}catch(G){return void this.destination.error(G)}this.destination.next(O)}_error(O){try{this._tapError.call(this._context,O)}catch(G){return void this.destination.error(G)}this.destination.error(O)}_complete(){try{this._tapComplete.call(this._context)}catch(O){return void this.destination.error(O)}return this.destination.complete()}}},3428:(Qe,me,g)=>{"use strict";g.d(me,{r:()=>A});var a=g(5548),_=g(1346);function A(E,Q){return new a.y(P=>{const $=new _.w;let O=0;return $.add(Q.schedule(function(){O!==E.length?(P.next(E[O++]),P.closed||$.add(this.schedule())):P.complete()})),$})}},6339:(Qe,me,g)=>{"use strict";g.d(me,{o:()=>A});var a=g(1346);class _ extends a.w{constructor(Q,P){super()}schedule(Q,P=0){return this}}class A extends _{constructor(Q,P){super(Q,P),this.scheduler=Q,this.work=P,this.pending=!1}schedule(Q,P=0){if(this.closed)return this;this.state=Q;const $=this.id,O=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(O,$,P)),this.pending=!0,this.delay=P,this.id=this.id||this.requestAsyncId(O,this.id,P),this}requestAsyncId(Q,P,$=0){return setInterval(Q.flush.bind(Q,this),$)}recycleAsyncId(Q,P,$=0){if(null!==$&&this.delay===$&&!1===this.pending)return P;clearInterval(P)}execute(Q,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(Q,P);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Q,P){let O,$=!1;try{this.work(Q)}catch(G){$=!0,O=!!G&&G||new Error(G)}if($)return this.unsubscribe(),O}_unsubscribe(){const Q=this.id,P=this.scheduler,$=P.actions,O=$.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==O&&$.splice(O,1),null!=Q&&(this.id=this.recycleAsyncId(P,Q,null)),this.delay=null}}},5192:(Qe,me,g)=>{"use strict";g.d(me,{v:()=>_});let a=(()=>{class A{constructor(Q,P=A.now){this.SchedulerAction=Q,this.now=P}schedule(Q,P=0,$){return new this.SchedulerAction(this,Q).schedule($,P)}}return A.now=()=>Date.now(),A})();class _ extends a{constructor(E,Q=a.now){super(E,()=>_.delegate&&_.delegate!==this?_.delegate.now():Q()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(E,Q=0,P){return _.delegate&&_.delegate!==this?_.delegate.schedule(E,Q,P):super.schedule(E,Q,P)}flush(E){const{actions:Q}=this;if(this.active)return void Q.push(E);let P;this.active=!0;do{if(P=E.execute(E.state,E.delay))break}while(E=Q.shift());if(this.active=!1,P){for(;E=Q.shift();)E.unsubscribe();throw P}}}},2907:(Qe,me,g)=>{"use strict";g.d(me,{E:()=>k});let a=1;const _=Promise.resolve(),A={};function E(j){return j in A&&(delete A[j],!0)}const Q={setImmediate(j){const V=a++;return A[V]=!0,_.then(()=>E(V)&&j()),V},clearImmediate(j){E(j)}};var $=g(6339),G=g(5192);const k=new class extends G.v{flush(V){this.active=!0,this.scheduled=void 0;const{actions:Z}=this;let q,ve=-1,Se=Z.length;V=V||Z.shift();do{if(q=V.execute(V.state,V.delay))break}while(++ve<Se&&(V=Z.shift()));if(this.active=!1,q){for(;++ve<Se&&(V=Z.shift());)V.unsubscribe();throw q}}}(class extends $.o{constructor(V,Z){super(V,Z),this.scheduler=V,this.work=Z}requestAsyncId(V,Z,q=0){return null!==q&&q>0?super.requestAsyncId(V,Z,q):(V.actions.push(this),V.scheduled||(V.scheduled=Q.setImmediate(V.flush.bind(V,null))))}recycleAsyncId(V,Z,q=0){if(null!==q&&q>0||null===q&&this.delay>0)return super.recycleAsyncId(V,Z,q);0===V.actions.length&&(Q.clearImmediate(Z),V.scheduled=void 0)}})},8178:(Qe,me,g)=>{"use strict";g.d(me,{P:()=>E});var a=g(6339);const E=new(g(5192).v)(a.o)},4352:(Qe,me,g)=>{"use strict";g.d(me,{hZ:()=>_});const _="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},1359:(Qe,me,g)=>{"use strict";g.d(me,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},2926:(Qe,me,g)=>{"use strict";g.d(me,{b:()=>a});const a="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},523:(Qe,me,g)=>{"use strict";g.d(me,{W:()=>_});const _=(()=>{function A(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return A.prototype=Object.create(Error.prototype),A})()},2108:(Qe,me,g)=>{"use strict";g.d(me,{N:()=>_});const _=(()=>{function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return A.prototype=Object.create(Error.prototype),A})()},9887:(Qe,me,g)=>{"use strict";function a(_){setTimeout(()=>{throw _},0)}g.d(me,{z:()=>a})},7255:(Qe,me,g)=>{"use strict";function a(_){return _}g.d(me,{y:()=>a})},5894:(Qe,me,g)=>{"use strict";g.d(me,{k:()=>a});const a=Array.isArray||(_=>_&&"number"==typeof _.length)},1265:(Qe,me,g)=>{"use strict";g.d(me,{z:()=>a});const a=_=>_&&"number"==typeof _.length&&"function"!=typeof _},6783:(Qe,me,g)=>{"use strict";function a(_){return"function"==typeof _}g.d(me,{m:()=>a})},8212:(Qe,me,g)=>{"use strict";g.d(me,{k:()=>_});var a=g(5894);function _(A){return!(0,a.k)(A)&&A-parseFloat(A)+1>=0}},7879:(Qe,me,g)=>{"use strict";function a(_){return null!==_&&"object"==typeof _}g.d(me,{K:()=>a})},847:(Qe,me,g)=>{"use strict";function a(_){return!!_&&"function"!=typeof _.subscribe&&"function"==typeof _.then}g.d(me,{t:()=>a})},8151:(Qe,me,g)=>{"use strict";function a(_){return _&&"function"==typeof _.schedule}g.d(me,{K:()=>a})},4651:(Qe,me,g)=>{"use strict";g.d(me,{s:()=>k});var a=g(8769),_=g(9887),E=g(4352),P=g(1359),O=g(1265),G=g(847),T=g(7879);const k=R=>{if(R&&"function"==typeof R[P.L])return(R=>j=>{const V=R[P.L]();if("function"!=typeof V.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return V.subscribe(j)})(R);if((0,O.z)(R))return(0,a.V)(R);if((0,G.t)(R))return(R=>j=>(R.then(V=>{j.closed||(j.next(V),j.complete())},V=>j.error(V)).then(null,_.z),j))(R);if(R&&"function"==typeof R[E.hZ])return(R=>j=>{const V=R[E.hZ]();for(;;){let Z;try{Z=V.next()}catch(q){return j.error(q),j}if(Z.done){j.complete();break}if(j.next(Z.value),j.closed)break}return"function"==typeof V.return&&j.add(()=>{V.return&&V.return()}),j})(R);{const V=`You provided ${(0,T.K)(R)?"an invalid object":`'${R}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(V)}}},8769:(Qe,me,g)=>{"use strict";g.d(me,{V:()=>a});const a=_=>A=>{for(let E=0,Q=_.length;E<Q&&!A.closed;E++)A.next(_[E]);A.complete()}},3254:(Qe,me,g)=>{"use strict";g.d(me,{U:()=>a});const a=[{title:"GE \u901a\u7528\u6838\u5fc3",icon:"icon icon-ge",description:"\u901a\u7528\u6838\u5fc3\u4e3b\u8981\u529f\u80fd\u53ca\u4ecb\u7ecd......",children:[{title:"OPO \u64cd\u4f5c\u5bf9\u8c61",children:[{title:"PAC \u53c2\u6570\u548c\u4ee3\u7801\u7cfb\u7edf",children:[{title:"CIT \u4f63\u91d1\u3001\u6536\u8d39\u53ca\u5229\u606f\u79cd\u7c7b",url:"/ge/opo/pac/cit"},{title:"PST \u9884\u671f\u7c7b\u522b",url:"/ge/opo/pac/pst"},{title:"ITM \u56fd\u9645\u8d38\u6613\u672f\u8bed",url:"/ge/opo/pac/itm"}]}]},{title:"MAS \u83dc\u5355\u3001\u6388\u6743\u3001\u5b89\u5168\u3001\u5ba1\u6279\u7cfb\u7edf",children:[{title:"UIS \u7528\u6237\u4fe1\u606f\u7cfb\u7edf",children:[{title:"CPA  \u4fee\u6539\u5bc6\u7801",url:"/ge/mas/uis/cpa"},{title:"CUP  \u4fee\u6539\u7528\u6237\u5bc6\u7801",url:"/ge/mas/uis/cup"},{title:"USR  \u7528\u6237",url:"/ge/mas/uis/usr"}]},{title:"AUT \u6388\u6743\u7cfb\u7edf",children:[{title:"UPR \u7528\u6237\u6863\u6848\u7cfb\u7edf",url:"/ge/mas/aut/upr"},{title:"UPA \u5404\u5e94\u7528\u7a0b\u5e8f\u7528\u6237\u6863\u6848\u6388\u6743",url:"/ge/mas/aut/upa"},{title:"AUA \u7528\u6237\u95f4\u6863\u6848\u6388\u6743\u6237",url:"/ge/mas/aut/aua"},{title:"UFB \u6bcf\u7b14\u4e1a\u52a1\u4ea4\u6613\u7684\u7528\u6237\u6863\u6848\u6388\u6743",url:"/ge/mas/aut/ufb"},{title:"ALF \u6bcf\u7b14\u4e1a\u52a1\u4ea4\u6613\u7684\u6388\u6743\u9650\u989d",url:"/ge/mas/aut/alf"}]}]},{title:"FDP \u516c\u7528\u7f13\u5b58\u6570\u636e\u5e93",children:[{title:"GEO \u5730\u7406\u7cfb\u7edf",children:[{title:"CRY  \u56fd\u5bb6",url:"/ge/fdp/geo/cry"},{title:"LOC  \u4f4d\u7f6e",url:"/ge/fdp/geo/loc"},{title:"POF  \u90ae\u5c40",url:"/ge/fdp/geo/pof"},{title:"MUP  \u81ea\u6cbb\u533a",url:"/ge/fdp/geo/mup"},{title:"REG  \u533a\u57df",url:"/ge/fdp/geo/reg"},{title:"BQG \u5730\u7406\u53cc\u8fb9\u534f\u8bae\u67e5\u8be2",url:"/ge/fdp/geo/bqg"}]},{title:"BAI \u94f6\u884c\u4fe1\u606f\u7cfb\u7edf",children:[{title:"CBK  \u8d26\u6237\u884c\u6570\u636e\u5e93",url:"/ge/fdp/bai/cbk"},{title:"BUN  \u8d26\u6237\u884c\u975e\u7ed3\u6784\u6027\u4fe1\u606f",url:"/ge/fdp/bai/bun"},{title:"BQB  \u8d26\u6237\u884c\u53cc\u8fb9\u534f\u8bae\u67e5\u8be2",url:"/ge/fdp/bai/bqb"},{title:"RRM  SWIFT \u5173\u7cfb\u7ba1\u7406",url:"/ge/fdp/bai/rrm"}]},{title:"CUI \u5ba2\u6237\u4fe1\u606f\u7cfb\u7edf",children:[{title:"CUS  \u5ba2\u6237\u6570\u636e\u5e93",url:"/ge/fdp/cui/cus"},{title:"CUN  \u5ba2\u6237\u81ea\u7531\u683c\u5f0f\u4fe1\u606f\u7cfb\u7edf",url:"/ge/fdp/cui/cun"},{title:"BQC  \u5ba2\u6237\u53cc\u8fb9\u534f\u8bae\u67e5\u8be2",url:"/ge/fdp/cui/bqc"}]},{title:"IOS \u5185\u90e8\u7ec4\u7ec7\u7cfb\u7edf",children:[{title:"SCN  \u7ae0\u8282\u4ee3\u7801",url:"/ge/fdp/ios/scn"},{title:"PLC  \u5229\u6da6\u635f\u5931\u4e2d\u5fc3",url:"/ge/fdp/ios/plc"},{title:"BRO  \u5206\u652f\u884c\u6570\u636e\u5e93",url:"/ge/fdp/ios/bro"}]},{title:"BPR \u4ea4\u6613\u5404\u65b9\u53ca\u5173\u7cfb\u7cfb\u7edf",children:[{title:"OCB  \u91d1\u878d\u673a\u6784\u9996\u9009\u8d26\u6237\u884c",url:"/ge/fdp/bpr/ocb"},{title:"OSP  \u91d1\u878d\u673a\u6784\u9996\u9009\u4e32\u884c\u652f\u4ed8\u534f\u8bae",url:"/ge/fdp/bpr/osp"},{title:"BSP  \u5e10\u6237\u884c\u9996\u9009\u8fde\u7eed\u652f\u4ed8\u534f\u8bae",url:"/ge/fdp/bpr/bsp"},{title:"CSP  \u56fd\u5bb6\u7279\u5b9a\u7684\u4e32\u884c\u652f\u4ed8\u534f\u8bae",url:"/ge/fdp/bpr/csp"},{title:"ORB  \u91d1\u878d\u673a\u6784\u9996\u9009\u6c47\u6b3e\u884c",url:"/ge/fdp/bpr/orb"},{title:"BRB  \u8d26\u6237\u884c\u9996\u9009\u6c47\u6b3e\u884c",url:"/ge/fdp/bpr/brb"},{title:"LVP  \u5c0f\u989d\u652f\u4ed8\u534f\u8bae",url:"/ge/fdp/bpr/lvp"},{title:"EPL  \u5916\u90e8\u7cfb\u6570\u4ea4\u6613\u65b9\u8bc6\u522b",url:"/ge/fdp/bpr/epl"},{title:"CRL  \u516c\u53f8\u5173\u7cfb\u7cfb\u6570",url:"/ge/fdp/bpr/crl"},{title:"VPO  \u64cd\u4f5c\u90e8\u95e8\u539f\u59cb\u6709\u6548\u64cd\u4f5c\u65b9",url:"/ge/fdp/bpr/vpo"},{title:"APC  \u4ea4\u6613\u53cc\u65b9\u8bb8\u53ef\u4ea7\u54c1",url:"/ge/fdp/bpr/apc"},{title:"ART  \u673a\u6784\u8bc4\u7ea7\u7cfb\u7edf",url:"/ge/fdp/bpr/art"},{title:"EAG  \u5916\u90e8\u4ea4\u6613\u5bf9\u65b9\u534f\u8bae",url:"/ge/fdp/bpr/eag"},{title:"PLG  \u62b5\u62bc",url:"/ge/fdp/bpr/plg"},{title:"PAV  \u524d\u671f\u5efa\u8bae",url:"/ge/fdp/bpr/pav"},{title:"SPT  \u7ecf\u7b2c\u4e09\u65b9SEPA \u4ed8\u6b3e",url:"/ge/fdp/bpr/spt"}]},{title:"MAG \u901a\u8baf\u534f\u8bae\u7cfb\u7edf",children:[{title:"ACK  \u786e\u8ba4\u751f\u6210",url:"/ge/fdp/mag/ack"},{title:"ADV  \u4e1a\u52a1\u751f\u6210\u901a\u77e5",url:"/ge/fdp/mag/adv"},{title:"ADR  \u8fd8\u6b3e\u901a\u77e5",url:"/ge/fdp/mag/adr"},{title:"FEC  \u5916\u6c47\u786e\u8ba4\u4e1a\u52a1",url:"/ge/fdp/mag/fec"},{title:"LDF  @LDFProd",url:"/ge/fdp/mag/ldf"}]},{title:"ARO \u62a5\u8868\u534f\u8bae\u7cfb\u7edf",children:[{title:"ASP  \u5bf9\u8d26\u5355\u751f\u6210",url:"/ge/fdp/aro/asp"}]},{title:"MCT \u591a\u6b21\u8d37\u8bb0\u8f6c\u5e10",children:[{title:"MCO  \u591a\u7b14\u5ba2\u6237\u8d37\u8bb0\u8f6c\u51fa",url:"/ge/fdp/mct/mco"},{title:"MCI  \u591a\u7b14\u5ba2\u6237\u8d37\u8bb0\u8f6c\u5165",url:"/ge/fdp/mct/mci"},{title:"MFO  \u591a\u6b21\u4e00\u822c\u91d1\u878d\u673a\u6784\u5bf9\u5916\u8f6c\u5e10",url:"/ge/fdp/mct/mfo"},{title:"MFI  \u591a\u6b21\u4e00\u822c\u91d1\u878d\u673a\u6784\u5bf9\u5185\u8f6c\u5e10",url:"/ge/fdp/mct/mfi"},{title:"MOO  \u591a\u6b21\u91d1\u878d\u673a\u6784\u81ea\u6709\u8d26\u6237\u5bf9\u5916\u8f6c\u5e10",url:"/ge/fdp/mct/moo"},{title:"MOI  \u591a\u6b21\u91d1\u878d\u673a\u6784\u81ea\u6709\u8d26\u6237\u5bf9\u5185\u8f6c\u5e10",url:"/ge/fdp/mct/moi"}]},{title:"RFT \u8f6c\u5e10\u8bf7\u6c42",children:[{title:"RTO  \u5ba2\u6237\u8d37\u8bb0\u8f6c\u51fa\u8bf7\u6c42",url:"/ge/fdp/rft/rto"},{title:"RTR  \u5ba2\u6237\u5bf9\u5916\u8f6c\u5e10\u8bf7\u6c42\uff08\u6536\u6b3e\u4eba\uff09",url:"/ge/fdp/rft/rtr"},{title:"RFO  \u91d1\u878d\u673a\u6784\u5bf9\u5916\u8f6c\u5e10\u8bf7\u6c42",url:"/ge/fdp/rft/rfo"},{title:"RFR  \u91d1\u878d\u673a\u6784\u5bf9\u5916\u8f6c\u5e10\u8bf7\u6c42\uff08\u6536\u6b3e\u4eba\uff09",url:"/ge/fdp/rft/rfr"},{title:"RTI  \u5ba2\u6237\u8d37\u8bb0\u8f6c\u5165\u8bf7\u6c42",url:"/ge/fdp/rft/rti"},{title:"RTS  \u5ba2\u6237\u8d37\u8bb0\u8f6c\u5165\u8bf7\u6c42\uff08\u4ed8\u6b3e\u4eba\uff09",url:"/ge/fdp/rft/rts"},{title:"RFI  \u91d1\u878d\u673a\u6784\u5bf9\u5185\u8f6c\u5e10\u8bf7\u6c42",url:"/ge/fdp/rft/rfi"},{title:"RFS  \u91d1\u878d\u673a\u6784\u5bf9\u5185\u8f6c\u5e10\u8bf7\u6c42\uff08\u4ed8\u6b3e\u4eba\uff09",url:"/ge/fdp/rft/rfs"}]},{title:"MDT \u591a\u7b14\u501f\u8bb0\u8f6c\u5e10",children:[{title:"DDO  \u76f4\u63a5\u501f\u673a\u652f\u51fa",url:"/ge/fdp/mdt/ddo"},{title:"DDI  \u76f4\u63a5\u501f\u8bb0\u6536\u5165",url:"/ge/fdp/mdt/ddi"}]},{title:"PTR \u56e2\u961f\u804c\u8d23\u7cfb\u7edf",children:[{title:"ROL  \u4e3b\u8981\u804c\u8d23",url:"/ge/fdp/ptr/rol"},{title:"SRO  \u6b21\u8981\u804c\u8d23",url:"/ge/fdp/ptr/sro"}]},{title:"PCT \u516c\u5171\u4ee3\u7801\u53ca\u8868\u683c\u7cfb\u7edf",children:[{title:"ITC  \u884c\u4e1a\u7c7b\u522b\u4ee3\u7801",url:"/ge/fdp/pct/itc"},{title:"SEC  \u90e8\u95e8\u4ee3\u7801",url:"/ge/fdp/pct/sec"},{title:"SEG  \u90e8\u95e8\u7ec4\u522b",url:"/ge/fdp/pct/seg"},{title:"TRC  \u4ea4\u6613\u4ee3\u7801",url:"/ge/fdp/pct/trc"},{title:"CAT  \u79d1\u76ee\u4ee3\u7801",url:"/ge/fdp/pct/cat"}]}]},{title:"ASC \u8d26\u6237\u3001\u6392\u5e8f\u4ee3\u7801\u53ca\u6e05\u7406\u4ee3\u7801\u8ba4\u8bc1\u7cfb\u7edf",children:[{title:"ANS \u8d26\u6237\u8bc6\u522b\u7cfb\u7edf",children:[{title:"CAC  \u5ba2\u6237\u8d26\u6237\u7cfb\u7edf",url:"/ge/asc/ans/cac"},{title:"BAC  \u94f6\u884c\u95f4\u8d26\u6237\u7cfb\u7edf",url:"/ge/asc/ans/bac"}]},{title:"IAC \u5185\u90e8\u8d26\u6237\u7cfb\u7edf",children:[{title:"GIA  \u603b\u5e10\u5185\u90e8\u8d26\u6237\u7cfb\u7edf",url:"/ge/asc/iac/gia"}]},{title:"ACN \u5176\u4ed6\u91d1\u878d\u673a\u6784",children:[{title:"ACC  \u5ba2\u6237\u5728\u5176\u4ed6\u91d1\u878d\u673a\u6784\u7684\u8d26\u6237",url:"/ge/asc/acn/acc"},{title:"ACB  \u91d1\u878d\u673a\u6784\u5728\u5176\u4ed6\u91d1\u878d\u673a\u6784\u7684\u8d26\u6237",url:"/ge/asc/acn/acb"}]},{title:"FIN \u91d1\u878d\u673a\u6784\u8bc6\u522b",children:[{title:"FIC  \u56fd\u5bb6\u6e05\u7b97\u4e2d\u5fc3\u5ba2\u6237\u4ee3\u7801",url:"/ge/asc/fin/fic"},{title:"FIB  \u91d1\u878d\u673a\u6784\u5728\u56fd\u5bb6\u6e05\u7b97\u4e2d\u5fc3\u7684\u6e05\u7b97\u4ee3\u7801",url:"/ge/asc/fin/fib"}]},{title:"CHI \u6e05\u7b97\u4e2d\u5fc3\u8bc6\u522b",children:[{title:"SEI  \u652f\u4ed8\u6307\u4ee4",url:"/ge/asc/chi/sei"},{title:"CHB  \u91d1\u878d\u673a\u6784\u672c\u56fd\u6e05\u7b97\u4e2d\u5fc3\u4ee3\u7801",url:"/ge/asc/chi/chb"}]},{title:"PSA \u4f18\u5148\u7ed3\u7b97\u4f1a\u8ba1",children:[{title:"PSC  \u5ba2\u6237\u95f4\u4f18\u5148\u7ed3\u7b97\u8d26\u6237",url:"/ge/asc/psa/psc"},{title:"PSB  \u91d1\u878d\u673a\u6784\u4f18\u5148\u7ed3\u7b97\u8d26\u6237",url:"/ge/asc/psa/psb"}]}]},{title:"PSP \u4ef7\u683c\u7ed3\u6784\u53ca\u5b9a\u4ef7\u7cfb\u7edf",children:[{title:"COF \u4f63\u91d1\u548c\u6536\u8d39\u7cfb\u7edf",children:[{title:"CCS  \u4f63\u91d1\u548c\u6536\u8d39\u8ba1\u7b97\u7cfb\u7edf",url:"/ge/psp/cof/ccs"},{title:"CFD  \u4f63\u91d1\u548c\u6536\u8d39\u63cf\u8ff0",url:"/ge/psp/cof/cfd"}]},{title:"INR \u5229\u606f\u7cfb\u7edf",children:[{title:"IRP  \u6bcf\u4e2a\u65f6\u671f\u7684\u5229\u7387\u53c2\u8003",url:"/ge/psp/inr/irp"},{title:"IRC  \u6bcf\u79cd\u8d27\u5e01\u53c2\u8003\u5229\u7387",url:"/ge/psp/inr/irc"}]},{title:"CEX \u8d27\u5e01\u548c\u6c47\u7387\u7cfb\u7edf",children:[{title:"CUR  \u8d27\u5e01\u6570\u636e\u5e93",url:"/ge/psp/ces/cur"},{title:"EXR  \u73b0\u5373\u671f\u6c47\u7387\u7cfb\u7edf",url:"/ge/psp/ces/exr"},{title:"XSM  \u6c47\u7387\u5dee\u4ef7\u548c\u8fb9\u9645\u7cfb\u7edf",url:"/ge/psp/ces/xsm"},{title:"XPI  \u6c47\u5dee\u7cfb\u7edf",url:"/ge/psp/ces/xpi"},{title:"EXQ  \u5957\u6c47\u67e5\u8be2",url:"/ge/psp/ces/exq"}]}]},{title:"FUO \u529f\u80fd\u5bf9\u8c61",children:[{title:"FUT \u529f\u80fd\u6280\u672f\u5bf9\u8c61",children:[{title:"BHS  \u94f6\u884c\u5047\u65e5\u7cfb\u7edf",url:"/ge/fuo/fut/bhs"}]},{title:"FIT \u56fa\u5b9a\u6307\u4ee4\u3001\u4fe1\u606f\u548c\u6587\u672c\u7cfb\u7edf",children:[{title:"FIG \u56fa \u5b9a\u6307\u4ee4\u3001\u4fe1\u606f\u548c\u6587\u672c\u7cfb\u7edf\u7ec4",url:"/ge/fuo/fit/fig"}]}]},{title:"MMA \u4fe1\u606f\u7ba1\u7406\u53ca\u884c\u653f\u7cfb\u7edf",children:[{title:"QER \u67e5\u8be2",children:[{title:"MMM  - MMA \u76d1\u63a7",url:"/ge/mma/qer/mmm"},{title:"OTG \u8f93\u51fa\u7684\u6d88\u606f",children:[{title:"OSQ  SWIFT \u6d88\u606f\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/osq"},{title:"OTQ  \u7535\u4f20\u6d88\u606f\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/otg"},{title:"OFQ  \u4f20\u771f\u6d88\u606f\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/ofg"},{title:"OMQ  \u7535\u5b50\u90ae\u4ef6\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/omq"},{title:"OKQ  \u5ba2\u6237\u7535\u5b50\u6d88\u606f\u8f93\u51fa\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/okq"},{title:"OEQ  EDIFact \u6d88\u606f\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/oeq"},{title:"OHQ  \u6e05\u7b97\u6d88\u606f\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/ohq"},{title:"OAQ  \u4f1a\u8ba1\u5206\u5f55\u8f93\u51fa\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/otg/oaq"}]},{title:"INC \u8f93\u5165\u7684\u6d88\u606f",children:[{title:"ISQ  SWIFT \u6d88\u606f\u8f93\u5165\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/isq"},{title:"ITQ  \u7535\u4f20\u6d88\u606f\u8f93\u5165\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/itq"},{title:"IFQ  \u4f20\u771f\u6d88\u606f\u8f93\u5165\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/ifq"},{title:"IMQ  \u7535\u5b50\u90ae\u4ef6\u8f93\u5165\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/imq"},{title:"IKQ  \u5ba2\u6237\u7535\u5b50\u6d88\u606f\u8f93\u5165\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/ikq"},{title:"IHQ  \u6e05\u7b97\u6d88\u606f\u8f93\u5165\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/ihq"},{title:"AIQ  \u4f1a\u8ba1\u5206\u5f55\u8f93\u5165\u961f\u5217\u7ba1\u7406\u7cfb\u7edf",url:"/ge/mma/qer/inc/aiq"}]}]},{title:"MNT \u7ef4\u62a4",children:[{title:"OTG \u8f93\u51fa\u7684\u6d88\u606f",children:[{title:"SWO \u66f4\u6539\u72b6\u6001 SWIFT \u91d1\u878d\u673a\u6784\u8bc6\u522b\u7cfb\u7edf",url:"/ge/mma/mnt/otg/swo"},{title:"TXO \u66f4\u6539\u72b6\u6001 \u7535\u4f20",url:"/ge/mma/mnt/otg/txo"},{title:"BKO \u66f4\u6539\u72b6\u6001 \u4f1a\u8ba1\u5206\u5f55",url:"/ge/mma/mnt/otg/bko"},{title:"EMO \u66f4\u6539\u72b6\u6001 \u7535\u5b50\u90ae\u4ef6",url:"/ge/mma/mnt/otg/emo"}]},{title:"INC \u8f93\u5165\u7684\u6d88\u606f",children:[{title:"SWI  \u66f4\u6539\u72b6\u6001 SWIFT \u91d1\u878d\u673a\u6784\u8bc6\u522b\u7cfb\u7edf",url:"/ge/mma/mnt/inc/swi"},{title:"ERI  \u66f4\u6539\u72b6\u6001\u6c47\u7387",url:"/ge/mma/mnt/inc/eri"},{title:"EMI  \u66f4\u6539\u72b6\u6001 \u7535\u5b50\u90ae\u4ef6",url:"/ge/mma/mnt/inc/emi"}]}]},{title:"MMO \u6d88\u606f\u76d1\u63a7\u548c\u8c03\u5ea6\u63a7\u5236\u53f0",children:[{title:"MMO  \u6d88\u606f\u76d1\u63a7\u548c\u8c03\u5ea6\u63a7\u5236\u53f0",url:"/ge/mma/mmo/mmo"}]}]},{title:"TEC \u6280\u672f\u5bf9\u8c61",children:[{title:"OPR \u64cd\u4f5c\u8def\u5f84",children:[{title:"SMO  \u670d\u52a1\u5668\u76d1\u63a7",url:"/ge/tec/opr/smo"},{title:"CMO  \u4e8b\u4ef6\u67e5\u770b\u5668",url:"/ge/tec/opr/cmo"},{title:"TMO  TMB \u76d1\u63a7",url:"/ge/tec/opr/tmo"},{title:"PRE  \u6267\u884c\u62a5\u544a",url:"/ge/tec/opr/pre"},{title:"JMA  \u5de5\u4f5c\u8c03\u5ea6\u4e0e\u63a7\u5236\u7ecf\u7406",url:"/ge/tec/opr/jma"},{title:"SLV  \u670d\u52a1\u5668\u65e5\u5fd7\u6d4f\u89c8",url:"/ge/tec/opr/slv"},{title:"EWL  \u5f02\u5e38\u3001\u51fa\u9519\u53ca\u8b66\u544a\u65e5\u5fd7",url:"/ge/tec/opr/ewl"}]},{title:"PPR \u6253\u5370\u63a7\u5236\u4e2d\u5fc3",children:[{title:"PPJ  \u6253\u5370\u76d1\u63a7",url:"/ge/tec/ppr/ppj"},{title:"PQM  \u6253\u5370\u961f\u5217",url:"/ge/tec/ppr/pqm"},{title:"PSM  \u6253\u5370\u670d\u52a1\u7ba1\u7406\u5458",url:"/ge/tec/ppr/psm"}]},{title:"MER \u6d88\u606f\u4e2d\u8f6c\u4e2d\u5fc3",children:[{title:"PRO \u6253\u5370\u4e2d\u8f6c\u4e2d\u5fc3\u5206\u5b9a\u4e49",url:"/ge/tec/mer/pro"},{title:"PGR \u6253\u5370\u7ec4\u5b9a\u4e49",url:"/ge/tec/mer/pgr"},{title:"UPG  \u7528\u6237\u6253\u5370\u7ec4\u5b9a\u4e49",url:"/ge/tec/mer/upg"}]},{title:"CPA \u4fee\u6539\u7528\u6237\u5bc6\u7801",url:"/ge/tec/cpa"},{title:"CTP \u63a7\u5236\u9762\u677f",url:"/ge/tec/ctp"},{title:"MOP \u83dc\u5355\u9009\u9879",url:"/ge/tec/mop"},{title:"OUT \u9000\u51fa",url:"/ge/tec/out"}]}]},{title:"CP \u652f\u4ed8\u7cfb\u7edf",icon:"icon icon-cp",description:"\u901a\u7528\u6838\u5fc3\u4e3b\u8981\u529f\u80fd\u53ca\u4ecb\u7ecd\uff0c\u4e2d\u56fd\u6d77\u76d1\u7f16\u961f\u5468\u5bc6\u9884\u6848\u7684\u524d\u63d0\u4e0b......",children:[{title:"CT \u5ba2\u6237\u767b\u8bb0\u8f6c\u51fa",children:[{title:"WKM  \u5de5\u4f5c\u76d1\u63a7",url:"/cp/ct/wkm"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/ct/isp"},{title:"AMS  \u5e38\u89c4\u547d\u4ee4\u4fee\u6539",url:"/cp/ct/ams"},{title:"CLS  \u5b9a\u671f\u652f\u4ed8\u6307\u4ee4\u5173\u95ed",url:"/cp/ct/cls"},{title:"QAC  \u67e5\u8be2\u3001\u5e94&\u7b54\u53ca\u53d6\u6d88",url:"/cp/ct/qac"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ct/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ct/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ct/inq/his"}]},{title:"MNT \u7ef4\u62a4",children:[{title:"BPG \u4e1a\u52a1\u4ea7\u54c1\u7ec4",url:"/cp/ct/mnt/bpg"},{title:"BPL \u4e1a\u52a1\u4ea7\u54c1\u63cf\u8ff0",url:"/cp/ct/mnt/bpl"},{title:"BTT \u8f6c\u5e10\u7c7b\u522b",url:"/cp/ct/mnt/btt"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ct/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ct/rep/his"}]}]},{title:"CI \u5ba2\u6237\u8d37\u8bb0\u8f6c\u5165",children:[{title:"WKM  \u5de5\u4f5c\u76d1\u63a7",url:"/cp/ci/wkm"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/ci/isp"},{title:"AMS  \u5e38\u89c4\u547d\u4ee4\u4fee\u6539",url:"/cp/ci/ams"},{title:"CLS  \u5b9a\u671f\u652f\u4ed8\u6307\u4ee4\u5173\u95ed",url:"/cp/ci/cls"},{title:"QAC  \u67e5\u8be2\u3001\u5e94&\u7b54\u53ca\u53d6\u6d88",url:"/cp/ci/qac"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ci/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ci/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ci/inq/his"}]},{title:"MNT \u7ef4\u62a4",children:[{title:"BPG \u4e1a\u52a1\u4ea7\u54c1\u7ec4",url:"/cp/ci/mnt/bpg"},{title:"BPL \u4e1a\u52a1\u4ea7\u54c1\u63cf\u8ff0",url:"/cp/ci/mnt/bpl"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ci/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ci/rep/his"}]}]},{title:"BT \u91d1\u878d\u673a\u6784\u5212\u62e8",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/bt/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/bt/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/bt/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/bt/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/bt/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/bt/rep/his"}]}]},{title:"CB \u5206\u652f\u673a\u6784\u767b\u8bb0\u5904",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/cb/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/cb/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/cb/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/cb/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/cb/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/cb/rep/his"}]}]},{title:"MO \u8f6c\u51fa\u591a\u5ba2\u6237\u8d37\u8bb0\u5212\u62e8",children:[{title:"MMO  \u5927\u989d\u652f\u4ed8\u76d1\u63a7",url:"/cp/mo/mmo"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/mo/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/mo/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/mo/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/mo/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/mo/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/mo/rep/his"}]}]},{title:"XO \u8f6c\u51fa",children:[{title:"BMO  \u6279\u91cf\u4ed8\u6b3e\u76d1\u89c6\u5668",url:"/cp/xo/bmo"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/xo/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/xo/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/xo/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/xo/rep/his"}]}]},{title:"OC \u8d44\u91d1\u8f6c\u51fa",children:[{title:"BMO  \u6279\u91cf\u4ed8\u6b3e\u76d1\u89c6\u5668",url:"/cp/oc/bmo"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/oc/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/oc/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/oc/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/oc/rep/his"}]}]},{title:"MI \u591a\u6b21\u5ba2\u6237\u8d37\u8bb0\u8f6c\u5165",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/mi/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/mi/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/mi/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/mi/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/mi/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/mi/rep/his"}]}]},{title:"XI \u8f6c\u5165",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/xi/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/xi/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/xi/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/xi/rep/his"}]}]},{title:"IC \u8f6c\u5165\u7684\u57fa\u91d1\u5212\u62e8",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/ic/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ic/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ic/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ic/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ic/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ic/rep/his"}]}]},{title:"BO \u8f6c\u51fa\u7684\u591a\u4e2a\u91d1\u878d\u673a\u6784\u5212\u62e8",children:[{title:"MMO  \u5927\u989d\u652f\u4ed8\u76d1\u63a7",url:"/cp/bo/mmo"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/bo/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/bo/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/bo/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/bo/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/bo/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/bo/rep/his"}]}]},{title:"BI \u8f6c\u5165\u7684\u591a\u4e2a\u91d1\u878d\u673a\u6784\u5212\u62e8",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/bi/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/bi/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/bi/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/bi/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/bi/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/bi/rep/his"}]}]},{title:"CD \u8f6c\u51fa\u7684\u56fd\u5185\u8f6c\u79fb",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/cd/isp"},{title:"QAC  \u67e5\u8be2\u3001\u5e94&\u7b54\u53ca\u53d6\u6d88",url:"/cp/cd/qac"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/cd/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/cd/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/cd/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/cd/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/cd/rep/his"}]}]},{title:"RT \u5ba2\u6237\u8d37\u65b9\u8f6c\u79fb\u7684\u8f6c\u5165\u8bf7\u6c42",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/rt/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/rt/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/rt/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/rt/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/rt/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/rt/rep/his"}]}]},{title:"RO \u5ba2\u6237\u8d37\u65b9\u8f6c\u79fb\u7684\u8f6c\u51fa\u8bf7\u6c42",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/ro/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ro/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ro/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ro/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ro/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ro/rep/his"}]}]},{title:"XA \u534f\u5b9a\u6c47\u7387",children:[{title:"CLA  \u5173\u95ed",url:"/cp/xa/cla"}]},{title:"IR \u5ba2\u6237\u8d37\u65b9\u8f6c\u79fb\u7684\u8f6c\u51fa\u8bf7\u6c42\u7684\u56fe\u7247\u6ce8\u518c",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/ir/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ir/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ir/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ir/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ir/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ir/rep/his"}]}]},{title:"AE \u767b\u8bb0\u4f1a\u8ba1\u5206\u5f55",children:[{title:"TRA \u4ea4\u6613",url:"/cp/ae/tra"},{title:"INQ \u95ee\u8be2",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ae/inq/nae"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ae/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ae/inq/his"},{title:"HTR  \u5386\u53f2\u4ea4\u6613",url:"/cp/ae/inq/htr"}]},{title:"REP \u62a5\u544a",children:[{title:"NAE  \u672a\u5ba1\u6279\u4e1a\u52a1\u4ea4\u6613\u4e8b\u4ef6",url:"/cp/ae/rep/nae"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ae/rep/his"},{title:"HTR  \u5386\u53f2\u4ea4\u6613",url:"/cp/ae/rep/htr"}]}]},{title:"EI \u8f6c\u5165\u7684",children:[{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/ei/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/ei/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ei/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/ei/rep/his"}]}]},{title:"EO \u8f6c\u51fa\u7684",children:[{title:"MMO  \u5927\u989d\u652f\u4ed8\u76d1\u63a7",url:"/cp/eo/mmo"},{title:"ISP  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/eo/isp"},{title:"INQ \u95ee\u8be2",children:[{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/cp/eo/inq/mei"},{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/eo/inq/his"}]},{title:"REP \u62a5\u544a",children:[{title:"HIS  \u5386\u53f2\u4ea4\u6613",url:"/cp/eo/rep/his"}]}]},{title:"CV",children:[{title:"ISA  \u4e1a\u52a1\u53d1\u8d77",url:"/cp/cv/isa"},{title:"AMA  \u4fee\u6539",url:"/cp/cv/ama"},{title:"ISS \u53d1\u51fa\u58f0\u660e",url:"/cp/cv/iss"},{title:"RCA  \u5bf9\u8d26",url:"/cp/cv/rca"}]}]},{title:"CFE \u5ba2\u6237\u524d\u7aef\u7cfb\u7edf",icon:"icon icon-cfe",description:"\u901a\u7528\u6838\u5fc3\u4e3b\u8981\u529f\u80fd\u53ca\u4ecb\u7ecd\uff0c\u4e2d\u56fd\u6d77\u76d1\u7f16\u961f\u5468\u5bc6\u9884\u6848\u7684\u524d\u63d0\u4e0b......",children:[{title:"DI \u8fdb\u53e3\u4fe1\u7528\u8bc1",children:[{title:"RIS  \u53d1\u884c",url:"/gef/ed/ris"},{title:"RAM  \u4fee\u6539",url:"/gef/ed/ram"},{title:"RIT  \u53d1\u884c\u8981\u6c42\u7684\u6a21\u677f",url:"/gef/ed/rit"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/gef/ed/mei"}]},{title:"ED \u51fa\u53e3\u4fe1\u7528\u8bc1",children:[{title:"INQ  Inquiries",url:"/gef/ed/inq"},{title:"RAM  Request for Amendment",url:"/gef/ed/ram"},{title:"STL  Settlement",url:"/gef/ed/stl"},{title:"FTF  Free Text Function",url:"/gef/ed/ftf"}]},{title:"EC \u51fa\u53e3\u96c6\u5408",children:[{title:"RIS  \u53d1\u884c",url:"/gef/ec/ris"},{title:"ISS  \u4e1a\u52a1\u53d1\u8d77",url:"/gef/ec/iss"},{title:"RAM  \u4fee\u6539",url:"/gef/ec/ram"},{title:"RIT  \u53d1\u884c\u8981\u6c42\u7684\u6a21\u677f",url:"/gef/ec/rit"},{title:"IST  \u53d1\u884c\u7684\u6a21\u677f",url:"/gef/ec/ist"}]},{title:"CX \u8fdb\u53e3\u96c6\u5408",children:[{title:"INQ  Inquiries",url:"/gef/cx/inq"},{title:"RAM  Request for Amendment",url:"/gef/cx/ram"},{title:"AAC  Advice of Acceptance",url:"/gef/cx/aac"},{title:"STL  Settlement",url:"/gef/cx/stl"},{title:"FTF  Free Text Function",url:"/gef/cx/ftf"}]},{title:"GC \u5ba2\u6237\u62c5\u4fdd",children:[{title:"RIS  \u53d1\u884c",url:"/gef/gc/ris"},{title:"RAM  \u4fee\u6539",url:"/gef/gc/ram"},{title:"RIT  \u53d1\u884c\u8981\u6c42\u7684\u6a21\u677f",url:"/gef/gc/rit"}]},{title:"OP \u5e94\u4ed8\u5e10\u6b3e",children:[{title:"ISR  \u53d1\u884c",url:"/gef/gc/isr"},{title:"DUS  PTT.GE.SOR.DueeList",url:"/gef/gc/dus"},{title:"MEI  \u6d88\u606f\u95ee\u8be2",url:"/gef/gc/mei"}]}]},{title:"HM \u5386\u53f2\u8bb0\u5f55",icon:"icon icon-hm",description:"\u60a8\u6700\u8fd1\u4f7f\u7528\u8fc7\u7684\u529f\u80fd",url:"/hm"}]},5700:(Qe,me,g)=>{"use strict";g.d(me,{z:()=>$,t:()=>O});var a=g(3668),_=g(2411),A=g(7556),E=g(8053),Q=g(3254),P=g(5226);const $=new a.OlP("BankAuthService");let O=(()=>{class G{constructor(){this.isLoggedIn=!1,this.redirectUrl="/admin",this.user=new P.n}login(k,R){return(0,_.of)(!0).pipe((0,A.g)(1e3),(0,E.U)(j=>this.isLoggedIn=!0))}logout(){return(0,_.of)(!0).pipe((0,A.g)(1e3),(0,E.U)(()=>(this.isLoggedIn=!1,!0)))}checkSignInStatus(){return(0,_.of)(!0).pipe((0,A.g)(1e3),(0,E.U)(k=>this.isLoggedIn))}getToken(){return this.token}getMenu(){return Q.U}getLogo(){return"assets/images/logo.png"}getProfile(k){return(0,_.of)({})}setToken(k){this.token=k}}return G.\u0275fac=function(k){return new(k||G)},G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac}),G})()},6698:(Qe,me,g)=>{"use strict";g.d(me,{SC:()=>a,id:()=>_,wt:()=>A});const a=[{title:"Genvoya Calendar",icon:"icon icon-hm",url:"/hospital/genvoya"},{title:"Medical Records",icon:"icon icon-hm",url:"/hospital/medical-records"},{title:"Reports",icon:"icon icon-hm",url:"/hospital/reports"},{title:"User List",icon:"icon icon-ge",url:"/hospital/user-list"}],_=[{label:"CD01YY",value:"CD01YY"},{label:"CD02YY",value:"CD02YY"},{label:"CD03YY",value:"CD03YY"},{label:"CD04YY",value:"CD04YY"},{label:"CD05YY",value:"CD05YY"},{label:"CD06YY",value:"CD06YY"},{label:"CD07YY",value:"CD07YY"},{label:"CD08YY",value:"CD08YY"},{label:"CD09YY",value:"CD09YY"},{label:"\u6210\u90fd\u5e02\u516c\u5171\u536b\u751f\u4e34\u5e8a\u533b\u7597\u4e2d\u5fc3",value:"CD10YY"}],A="CD10YY"},7164:(Qe,me,g)=>{"use strict";g.d(me,{$:()=>G,H:()=>T});var a=g(3668),_=g(4522),A=g(2411),E=g(7556),Q=g(8053),P=g(6698),$=g(5226),O=g(3202);const G=new a.OlP("HospitalAuthService");let T=(()=>{class k{constructor(j,V){this.http=j,this.notification=V,this.isLoggedIn=!1,this.redirectUrl=localStorage.getItem("redirectUrl")||"/admin",this.user=new $.n}login(j,V){return sessionStorage.setItem("healthProfile",JSON.stringify({account:j,password:V})),this.checkSignInStatus(!0)}logout(){return sessionStorage.setItem("healthProfile",""),this.user=new $.n,(0,A.of)(!0).pipe((0,E.g)(1e3),(0,Q.U)(()=>(this.isLoggedIn=!1,!0)))}checkSignInStatus(j){let V;try{V=JSON.parse(sessionStorage.getItem("healthProfile")),this.user.account=V.account}catch(Z){return(0,A.of)(!1)}return this.getProfile(V.account).pipe((0,Q.U)(Z=>{if(Z&&Z.success){const q=Z.data.list[0];return this.user.name=q.name,this.user.cardNo=q?q.patientId:"",this.isLoggedIn=!!q&&q.mobile===V.password,this.isLoggedIn||this.notification.openError("Sign in failed"),this.isLoggedIn}return j&&Z&&Z.errors[0]&&this.notification.openError(Z.errors[0].msg),!1}))}getToken(){return this.token}setToken(j){this.token=j}getMenu(){return P.SC}getLogo(){return"assets/images/logo.png"}getProfile(j,V=P.wt){return this.http.post("https://wxmp.zhongkangcloud.com/api/user/profile",JSON.stringify({id:Number(j),hospitalCode:V}),{headers:new _.WM({Accept:"application/json, text/plain, */*","Content-Type":"application/json"}),responseType:"json",withCredentials:!0})}}return k.\u0275fac=function(j){return new(j||k)(a.LFG(_.eN),a.LFG(O.g))},k.\u0275prov=a.Yz7({token:k,factory:k.\u0275fac}),k})()},7468:(Qe,me,g)=>{"use strict";g.d(me,{N:()=>E});var a=g(1718),A=g(3668);let E=(()=>{class Q{constructor(){this.chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"}generateBIZID(){const $=this.chars.split(""),O=[];let G=16,T=0;for(G=G||$.length,T=0;T<32;T++)O[T]=$[0|Math.random()*G];return O.join("")}compilePassword($){return a($)}}return Q.\u0275fac=function($){return new($||Q)},Q.\u0275prov=A.Yz7({token:Q,factory:Q.\u0275fac}),Q})()},5578:(Qe,me,g)=>{"use strict";g.d(me,{s:()=>A});var a=g(4522),_=g(3668);let A=(()=>{class E{constructor(P){this.http=P,this.TIME_ZONE_ID="Asia/Shanghai",this.REQUST_HEADERS=new a.WM({Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Appver":"","X-Deviceid":"0","X-Mc":"0","X-Platform":"0"}),this.domain="https://www.wacai.com"}get(P,$){return this.http.get(this.domain+"/"+P+"?___t="+Date.now(),{headers:this.REQUST_HEADERS,responseType:"json",params:$,withCredentials:!0})}post(P,$){return this.http.post(this.domain+"/"+P+"?___t="+Date.now(),JSON.stringify($),{headers:this.REQUST_HEADERS,responseType:"json",withCredentials:!0})}getDefaultHeaders(){return this.REQUST_HEADERS}}return E.\u0275fac=function(P){return new(P||E)(_.LFG(a.eN))},E.\u0275prov=_.Yz7({token:E,factory:E.\u0275fac}),E})()},3599:(Qe,me,g)=>{"use strict";g.d(me,{j:()=>T,n:()=>k});var a=g(4522),_=g(3668),A=g(2411),E=g(8053),Q=g(2047),P=g(7806),$=g(5226),O=g(3202),G=g(7468);const T=new _.OlP("WacaiAuthService");let k=(()=>{class R{constructor(V,Z,q){this.http=V,this.notification=Z,this.generatorService=q,this.isLoggedIn=!1,this.redirectUrl=localStorage.getItem("redirectUrl")||"/admin",this.user=new $.n}login(V,Z){const q=new a.LE({fromObject:{username:V,password:this.generatorService.compilePassword(Z),autoLogin:"false",imgType:"KAPTCHA",url:"https://www.wacai.com/"}});return this.http.post("https://user.wacai.com/reform/web/pwd_login",q.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},observe:"response",withCredentials:!0}).pipe((0,E.U)(ve=>{const Se=ve.body;if(Se.data[0]&&Se.data[0].token){const je=new Date;this.isLoggedIn=!0,je.setTime(je.getTime()+864e5),this.setToken(Se.data[0].token),document.cookie="access_token="+this.getToken()+"; expires="+je.toUTCString()+"; path=/; SameSite=None; Secure",this.checkSignInStatus().subscribe()}else this.isLoggedIn=!1,this.notification.openError(Se.error);return this.isLoggedIn}))}logout(){return this.http.get("https://user.wacai.com/member/loginOut").pipe((0,E.U)(V=>(V.data&&!V.error?(this.isLoggedIn=!1,document.cookie="access_token=;",this.user=new $.n):this.notification.openError(V.error),!this.isLoggedIn)))}checkSignInStatus(){return this.getProfile().pipe((0,Q.K)(()=>(0,A.of)(!1)),(0,E.U)(V=>!(!V||!V.data||V.error||(this.user.name=V.data.name,this.user.account=V.data.account,this.user.avatar=V.data.avatarPath,0))))}getToken(){return this.token}getMenu(){return P.o}getLogo(){return"assets/images/logo-wacai.png"}getProfile(){return this.http.post("https://user.wacai.com/reform/web/person_info_query",null,{responseType:"json",withCredentials:!0})}setToken(V){this.token=V}}return R.\u0275fac=function(V){return new(V||R)(_.LFG(a.eN),_.LFG(O.g),_.LFG(G.N))},R.\u0275prov=_.Yz7({token:R,factory:R.\u0275fac}),R})()},7806:(Qe,me,g)=>{"use strict";g.d(me,{o:()=>a});const a=[{title:"Dashboard",icon:"icon icon-ge",url:"/wacai/dashboard"},{title:"Search",icon:"icon icon-cfe",url:"/wacai/search"},{title:"Accounts",icon:"icon icon-cp",url:"/wacai/accounts"}]},3075:(Qe,me,g)=>{"use strict";g.d(me,{a:()=>O});var a=g(2411),_=g(6658),A=g(8053),E=g(3668),Q=g(4382),P=g(3202),$=g(9906);let O=(()=>{class G{constructor(k,R,j){this.router=k,this.notification=R,this.authService=j,this.timeoutCount=0}canActivate(k,R){return this.checkLogin(R.url)}canActivateChild(k,R){return this.canActivate(k,R)}canLoad(k){return this.checkLogin(`/${k.path}`)}checkLogin(k){return this.authService.isLoggedIn?(0,a.of)(!0):this.isTimeount()?(0,a.of)(!1):(this.notification.showInitLoading(),this.timeoutCount++,this.authService.checkSignInStatus().pipe((0,_.x)(()=>{this.notification.hideLoading()}),(0,A.U)(R=>(this.authService.isLoggedIn=R,R?this.router.navigateByUrl(this.authService.redirectUrl):this.router.navigate(["/sign-in"]),R))))}isTimeount(){return this.timeoutCount>1}}return G.\u0275fac=function(k){return new(k||G)(E.LFG(Q.F0),E.LFG(P.g),E.LFG($.e8))},G.\u0275prov=E.Yz7({token:G,factory:G.\u0275fac}),G})()},9906:(Qe,me,g)=>{"use strict";g.d(me,{RQ:()=>P,GY:()=>$,e8:()=>O});var a=g(3668),_=g(2411),A=g(5700),E=g(7164),Q=g(3599);const P="defaultAuth",$=new a.OlP("Manually constructed AuthService");let O=(()=>{class G{constructor(k){let R;this.coreInjector=k,this.typesOfAuth=[{id:"bank",portalToken:A.z,name:"Bank",logo:"assets/images/logo.png",defaultSelected:!1},{id:"hospital",portalToken:E.$,name:"Hospital",logo:"assets/images/logo-hospital.jpg",defaultSelected:!1},{id:"wacai",portalToken:Q.j,name:"Wacai",logo:"assets/images/logo-wacai.png",defaultSelected:!1}],R=localStorage.getItem(P)?JSON.parse(localStorage.getItem(P)).id:"bank",this.typesOfAuth.some(j=>j.id===R&&(j.defaultSelected=!0,this.setAuthCenter(j.portalToken),!0))}set isLoggedIn(k){this.authCenter.isLoggedIn=k}get isLoggedIn(){return this.authCenter.isLoggedIn}set redirectUrl(k){this.authCenter.redirectUrl=k}get redirectUrl(){return this.authCenter.redirectUrl}set user(k){this.authCenter.user=k}get user(){return this.authCenter.user}setAuthCenter(k){this.authCenter=this.coreInjector.get(k)}getAuthCenter(){return this.authCenter}getTypesOfAuth(){return this.typesOfAuth}login(k,R){return this.authCenter.login(k,R)}logout(){return this.authCenter.logout()}checkSignInStatus(){return this.authCenter?this.authCenter.checkSignInStatus():(0,_.of)(!1)}getToken(){return this.authCenter.getToken()}getMenu(){return this.authCenter.getMenu()}getLogo(){return this.authCenter.getLogo()}getProfile(k){return this.authCenter.getProfile(k)}}return G.\u0275fac=function(k){return new(k||G)(a.LFG(a.zs3))},G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac}),G})()},5226:(Qe,me,g)=>{"use strict";g.d(me,{n:()=>a});class a{constructor(){}}},8609:(Qe,me,g)=>{"use strict";g.d(me,{S:()=>A});var a=g(6019),_=g(3668);let A=(()=>{class E{}return E.\u0275fac=function(P){return new(P||E)},E.\u0275mod=_.oAB({type:E}),E.\u0275inj=_.cJS({providers:[a.Zx],imports:[[a.ez]]}),E})()},8881:(Qe,me,g)=>{"use strict";g.d(me,{e:()=>_});var a=g(3668);let _=(()=>{class A{constructor(){}deviceOfDuff(Q,P){const $=Q.length;let O=Math.floor($/8),G=$%8,T=0;if(G>0)do{P(Q[T++],T)}while(--G>0);do{P(Q[T++],T),P(Q[T++],T),P(Q[T++],T),P(Q[T++],T),P(Q[T++],T),P(Q[T++],T),P(Q[T++],T),P(Q[T++],T)}while(--O>0)}reverseDeviceOfDuff(Q,P){const $=Q.length;let O=Math.floor($/8),G=$%8,T=$-1;if(G>0)do{P(Q[T--],T)}while(--G>0);do{P(Q[T--],T),P(Q[T--],T),P(Q[T--],T),P(Q[T--],T),P(Q[T--],T),P(Q[T--],T),P(Q[T--],T),P(Q[T--],T)}while(--O>0)}}return A.\u0275fac=function(Q){return new(Q||A)},A.\u0275prov=a.Yz7({token:A,factory:A.\u0275fac}),A})()},8880:(Qe,me,g)=>{"use strict";g.d(me,{O:()=>A});var a=g(8095),_=g(3668);let A=(()=>{class E{constructor(){this.deleteCommand=new a.xQ,this.refreshCommand=new a.xQ,this.fullScreenCommand=new a.xQ,this.fullScreenExpanded=!1}acceptRefreshCommand(){return this.refreshCommand.asObservable()}giveRefreshCommand(){this.refreshCommand.next()}acceptFullScreenCommand(){return this.fullScreenCommand.asObservable()}giveFullScreenCommand(){this.fullScreenExpanded=!this.fullScreenExpanded,this.fullScreenCommand.next(this.fullScreenExpanded)}findRoute(P,$){let O;return P.some(G=>G.component===$?(O=G,!0):(O=this.findRoute(G.children,$),!!O)),O}}return E.\u0275fac=function(P){return new(P||E)},E.\u0275prov=_.Yz7({token:E,factory:E.\u0275fac}),E})()},2301:(Qe,me,g)=>{"use strict";g.d(me,{d:()=>P});var a=g(348),_=g(1346),A=g(3668),E=g(4382),Q=g(6731);let P=(()=>{class ${constructor(G,T,k){this.router=G,this.route=T,this.dateAdapter=k,this.subscription=new _.w}getMinDate(){return new Date("2010-01-01T00:00:00.000Z")}getMaxDate(){return new Date}getStartDatetime(G){if(G instanceof Date&&!isNaN(G.getTime())){const T=new Date(G.getTime());return T.setHours(0,0,0,0),T.getTime()}return 0}getEndDatetime(G){if(G instanceof Date&&!isNaN(G.getTime())){const T=new Date(G.getTime());return T.setHours(23,59,59,999),T.getTime()}return 0}initTimeRange(G,T,k){let R=this.route.snapshot.queryParamMap.get("startTime"),j=this.route.snapshot.queryParamMap.get("endTime");R&&(T=new Date((0,a.su)(R))),this.dateAdapter.isDateInstance(T)||(T=new Date).setDate(1),j&&(k=new Date((0,a.su)(j))),this.dateAdapter.isDateInstance(k)||(k=new Date),this.subscription.closed=!1,this.subscription.add(G.valueChanges.subscribe(V=>{this.router.navigate([],{queryParams:{startTime:V.start?V.start.getTime():0,endTime:V.end?V.end.getTime():0},queryParamsHandling:"merge",replaceUrl:!0})})),G.setValue({start:T,end:k})}destoryTimeRange(){this.subscription.unsubscribe()}}return $.\u0275fac=function(G){return new(G||$)(A.LFG(E.F0),A.LFG(E.gz),A.LFG(Q._A))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac}),$})()},3611:(Qe,me,g)=>{"use strict";g.d(me,{P:()=>Q});var a=g(8095),_=g(6087),A=g(5686),E=g(3668);let Q=(()=>{class P{constructor(){this.oldWindowDimension={width:0,height:0},this.viewportDimensionChange=new a.xQ,this.init()}onViewportDimensionChange(){return this.viewportDimensionChange}resetWindowDimension(){const O=this.oldWindowDimension;O.width=window.innerWidth,O.height=window.innerHeight}init(){(0,_.R)(window,"resize").pipe((0,A.b)(300)).subscribe(()=>{const O=window.innerWidth,G=window.innerHeight,R=O!==this.oldWindowDimension.width,j=G!==this.oldWindowDimension.height,V={width:R,height:j,both:R&&j,either:R||j};this.resetWindowDimension(),this.viewportDimensionChange.next(V)})}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=E.Yz7({token:P,factory:P.\u0275fac}),P})()},3202:(Qe,me,g)=>{"use strict";g.d(me,{g:()=>ye});var a=g(3925),_=g(5711),A=g(3668),E=g(9966),Q=g(1346);class P extends E.u_{constructor(){super(...arguments),this.horizontalPosition="center",this.verticalPosition="top"}}let $=(()=>{class ge{constructor(){}ngOnInit(){}}return ge.\u0275fac=function(Ee){return new(Ee||ge)},ge.\u0275cmp=A.Xpm({type:ge,selectors:[["app-init-loading"]],hostAttrs:[1,"d-flex","align-items-center","justify-content-center","w-100","h-100"],decls:4,vars:0,consts:[[1,"bubble"],[1,"loader","d-flex","align-items-center","justify-content-center"],[1,"logo-large"]],template:function(Ee,Ce){1&Ee&&(A.TgZ(0,"div",0),A.TgZ(1,"div"),A.TgZ(2,"div",1),A._UZ(3,"div",2),A.qZA(),A.qZA(),A.qZA())},styles:['@keyframes rotate{to{transform:rotate(360deg)}}[_nghost-%COMP%]{background:radial-gradient(#CECECE,#fff)}.bubble[_ngcontent-%COMP%]{width:38.2%}.bubble[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;padding-top:100%;border-radius:100%;background:linear-gradient(165deg,white 0%,gainsboro 40%,#aaaaaa 98%,#0a0a0a 100%)}.loader[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.loader[_ngcontent-%COMP%]:before{position:absolute;content:"";width:100%;height:100%;border-radius:100%;border-bottom:0 solid #ffffff05;box-shadow:0 -10px 20px 20px #ffffff40 inset,0 -5px 15px 10px #ffffff50 inset,0 -2px 5px #ffffff80 inset,0 -3px 2px #fffb inset,0 2px #fff,0 2px 3px #fff,0 5px 5px #ffffff90,0 10px 15px #ffffff60,0 10px 20px 20px #ffffff40;filter:blur(3px);animation:2s rotate linear infinite}.logo-large[_ngcontent-%COMP%]{width:200px;height:200px;max-width:100%;max-height:100%;background-size:100%}']}),ge})();var O=g(7964);let G=(()=>{class ge{constructor(){}ngOnInit(){}}return ge.\u0275fac=function(Ee){return new(Ee||ge)},ge.\u0275cmp=A.Xpm({type:ge,selectors:[["app-loading"]],hostAttrs:[1,"d-flex","align-items-center","justify-content-center","w-100","h-100"],decls:2,vars:0,consts:[[1,"d-flex","align-items-center","justify-content-center","container","logo-large"],["color","primary",2,"transform","scale(0.3) translateY(-80px)"]],template:function(Ee,Ce){1&Ee&&(A.TgZ(0,"div",0),A._UZ(1,"mat-spinner",1),A.qZA())},directives:[O.$g],styles:["[_nghost-%COMP%]{transition:all .4s cubic-bezier(.25,.8,.25,1)}.container[_ngcontent-%COMP%]{top:25%;width:50%;height:50%;margin:auto}"]}),ge})();var T=g(6019),k=g(86),R=g(9112);function j(ge,Ae){1&ge&&(A.TgZ(0,"mat-icon",9),A._uU(1,"task_alt"),A.qZA())}function V(ge,Ae){1&ge&&(A.TgZ(0,"mat-icon",10),A._uU(1,"warning_amber"),A.qZA())}function Z(ge,Ae){1&ge&&(A.TgZ(0,"mat-icon",11),A._uU(1,"report_gmailerrorred"),A.qZA())}function q(ge,Ae){1&ge&&(A.TgZ(0,"mat-icon",12),A._uU(1,"campaign"),A.qZA())}function ve(ge,Ae){}function Se(ge,Ae){if(1&ge&&A.YNc(0,ve,0,0,"ng-template",13),2&ge){const Ee=A.oxw();A.Q6J("cdkPortalOutlet",Ee.contentPortal)}}function je(ge,Ae){if(1&ge){const Ee=A.EpF();A.TgZ(0,"p"),A.TgZ(1,"a",14),A.NdJ("click",function(){return A.CHM(Ee),A.oxw().close()}),A.SDv(2,15),A.qZA(),A.qZA()}}let at=(()=>{class ge{constructor(Ee,Ce,Ve,xe,qe){this.renderer=Ee,this.elementRef=Ce,this.data=Ve,this.viewContainerRef=xe,this.snackBarRef=qe,this.isString=!1}ngOnInit(){const Ee=this.data;if(Ee)switch(this.isString="string"==typeof Ee.msg,this.isString||(this.contentPortal=new _.UE(Ee.msg,this.viewContainerRef),this.contentPortal.context=Object.assign(Object.assign({},Ee),{msg:void 0})),Ee.notificationType){case"success":this.alertClass="text-success";break;case"warning":this.alertClass="text-warning";break;case"error":this.alertClass="text-danger";break;case"info":this.alertClass="text-info"}this.renderer.addClass(this.elementRef.nativeElement,this.alertClass)}close(){this.snackBarRef.dismiss()}}return ge.\u0275fac=function(Ee){return new(Ee||ge)(A.Y36(A.Qsj),A.Y36(A.SBq),A.Y36(E.qD),A.Y36(A.s_b),A.Y36(E.OX))},ge.\u0275cmp=A.Xpm({type:ge,selectors:[["app-notification"]],decls:14,vars:9,consts:function(){let Ae;return Ae=$localize`:@@common.dismiss␟ea4d9fe61420a3fce81cf54c4c615e3c19c646a6␟1536087519743707362:Dismiss`,[[3,"ngSwitch"],["class","text-success",4,"ngSwitchCase"],["class","text-warning",4,"ngSwitchCase"],["class","text-danger",4,"ngSwitchCase"],["class","text-info",4,"ngSwitchCase"],[1,"content"],[4,"ngSwitchCase"],[4,"ngIf"],["type","button","mat-icon-button","",1,"btn-close",3,"click"],[1,"text-success"],[1,"text-warning"],[1,"text-danger"],[1,"text-info"],[3,"cdkPortalOutlet"],["href","javascript:void(0);",3,"click"],Ae]},template:function(Ee,Ce){1&Ee&&(A.ynx(0,0),A.YNc(1,j,2,0,"mat-icon",1),A.YNc(2,V,2,0,"mat-icon",2),A.YNc(3,Z,2,0,"mat-icon",3),A.YNc(4,q,2,0,"mat-icon",4),A.BQk(),A.TgZ(5,"div",5),A.TgZ(6,"div",0),A.YNc(7,Se,1,1,void 0,6),A.ynx(8),A._uU(9),A.BQk(),A.qZA(),A.YNc(10,je,3,0,"p",7),A.qZA(),A.TgZ(11,"button",8),A.NdJ("click",function(){return Ce.close()}),A.TgZ(12,"mat-icon"),A._uU(13,"close"),A.qZA(),A.qZA()),2&Ee&&(A.Q6J("ngSwitch",null==Ce.data?null:Ce.data.notificationType),A.xp6(1),A.Q6J("ngSwitchCase","success"),A.xp6(1),A.Q6J("ngSwitchCase","warning"),A.xp6(1),A.Q6J("ngSwitchCase","error"),A.xp6(1),A.Q6J("ngSwitchCase","info"),A.xp6(2),A.Q6J("ngSwitch",Ce.isString),A.xp6(1),A.Q6J("ngSwitchCase",!1),A.xp6(2),A.Oqu(null==Ce.data?null:Ce.data.msg),A.xp6(1),A.Q6J("ngIf",!!Ce.data&&"normal"===Ce.data.notificationType))},directives:[T.RF,T.n9,T.O5,k.lW,R.Hw],styles:["[_nghost-%COMP%]{display:flex;flex-flow:row nowrap;align-items:flex-start;justify-content:flex-start;width:320px}[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]{flex:0 0 auto;width:2rem;height:2rem;line-height:2.25rem}[_nghost-%COMP%] > .mat-icon-button[_ngcontent-%COMP%]{width:2rem;height:2rem;line-height:2.25rem;margin-right:-.4rem}.content[_ngcontent-%COMP%]{flex:1 1 auto;padding-top:calc(1rem - 10px)}.content[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child{padding-top:.125rem;margin-bottom:0;text-align:right}.content[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{color:#6ca2c9;text-decoration:underline}.btn-close[_ngcontent-%COMP%]{transform:scale(.75)}"]}),ge})();var Ge=g(348);let ye=(()=>{class ge{constructor(Ee,Ce,Ve){this.injector=Ee,this.overlay=Ce,this.defaultConfig=Ve,this.defaultDuration=5e5,this.notificationMap=new Map,this.subscription=new Q.w,this.defaultConfig.verticalPosition="top",this.init()}showInitLoading(Ee=document.body){const Ce=new _.C5($),Ve=this.overlay.position().flexibleConnectedTo(Ee),xe=Ee.offsetWidth,qe=Ee.offsetHeight;Ve.withPositions([{offsetX:0,offsetY:0,originX:"center",originY:"center",overlayX:"center",overlayY:"center"}]),this.loadingOverlayRef||this.initLoadingOverlayRef(),Ee===document.body?this.loadingOverlayRef.updateSize({width:"100%",height:"100%"}):this.loadingOverlayRef.updateSize({width:xe,height:qe}),this.loadingOverlayRef.updatePositionStrategy(Ve),this.loadingOverlayRef.hasAttached()&&this.loadingOverlayRef.detach(),this.loadingOverlayRef.attach(Ce)}showLoading(Ee=document.body){const Ce=(0,Ge.fI)(Ee),Ve=new _.C5(G),xe=this.overlay.position().flexibleConnectedTo(Ce),qe=Ce.offsetWidth,We=Ce.offsetHeight;xe.withPositions([{offsetX:0,offsetY:0,originX:"center",originY:"center",overlayX:"center",overlayY:"center"}]),this.loadingOverlayRef||this.initLoadingOverlayRef(),Ce===document.body?(this.loadingOverlayRef.addPanelClass("relative-body"),this.loadingOverlayRef.updateSize({width:"100%",height:"100%"})):(this.loadingOverlayRef.removePanelClass("relative-body"),this.loadingOverlayRef.updateSize({width:qe||400,height:We||400})),this.loadingOverlayRef.updatePositionStrategy(xe),this.loadingOverlayRef.hasAttached()&&this.loadingOverlayRef.detach(),this.loadingOverlayRef.attach(Ve)}hideLoading(){this.loadingOverlayRef&&this.loadingOverlayRef.hasAttached()&&this.loadingOverlayRef.detach()}openNormal(Ee,Ce){return this.open(Ee,"normal",Object.assign({duration:this.defaultDuration},Ce))}openInfo(Ee,Ce){return this.open(Ee,"info",Object.assign({duration:this.defaultDuration},Ce))}openSuccess(Ee,Ce){return this.open(Ee,"success",Object.assign({duration:this.defaultDuration},Ce))}openWarning(Ee,Ce){return this.open(Ee,"warning",Object.assign({duration:this.defaultDuration},Ce))}openError(Ee,Ce){return this.open(Ee,"error",Object.assign({duration:this.defaultDuration},Ce))}open(Ee,Ce,Ve){const xe=Object.assign(Object.assign(Object.assign({},new P),this.defaultConfig),Ve);xe.data=Object.assign(Object.assign({},xe.data),{msg:Ee,notificationType:Ce}),xe.panelClass="mat-snack-bar-"+Ce;const qe=this.createOverlay(xe),We=this.attachSnackBarContainer(qe,xe),st=new E.OX(We,qe),rt=this.createInjector(xe,st),Xt=new _.C5(at,void 0,rt),Kt=We.attachComponentPortal(Xt),Dt=We._elementRef.nativeElement;return this.getNotificationStack(xe).push({container:We,snackBarRef:st,overlayRef:qe}),st.instance=Kt.instance,this.animateSnackBar(st,xe),Dt.style.margin="0",st}dismiss(){this.notificationMap.forEach(Ee=>{const Ce=[...Ee];Ee.length=0,Ce.forEach(Ve=>{Ve.snackBarRef.dismiss()})})}animateSnackBar(Ee,Ce){Ee.afterDismissed().subscribe(()=>{const Ve=this.getNotificationStack(Ce);Ve.some((xe,qe)=>xe.snackBarRef===Ee&&(Ve.splice(qe,1),!0)),this.updateSnackBarStackPosition(Ce)}),Ee.containerInstance.enter(),Ce.duration&&Ce.duration>0&&Ee.afterOpened().subscribe(()=>{Ee._dismissAfter(Ce.duration)})}attachSnackBarContainer(Ee,Ce){const xe=A.zs3.create({parent:Ce&&Ce.viewContainerRef&&Ce.viewContainerRef.injector||this.injector,providers:[{provide:P,useValue:Ce}]}),qe=new _.C5(E.Lb,Ce.viewContainerRef,xe),We=Ee.attach(qe);return We.instance.snackBarConfig=Ce,We.instance}createOverlay(Ee){const Ce=this.getNotificationStack(Ee),Ve=new a.X_({direction:Ee.direction,positionStrategy:this.getPositionStrategy(Ee,Ce)});return this.overlay.create(Ve)}createInjector(Ee,Ce){return A.zs3.create({parent:Ee&&Ee.viewContainerRef&&Ee.viewContainerRef.injector||this.injector,providers:[{provide:E.OX,useValue:Ce},{provide:E.qD,useValue:Ee.data}]})}updateSnackBarStackPosition(Ee){const Ve=this.notificationMap.get(Ee.horizontalPosition+"-"+Ee.verticalPosition);Ve&&Ve.forEach((xe,qe)=>{const We=this.getPositionStrategy(Ee,Ve.slice(0,qe));xe.overlayRef.overlayElement.style.transition="400ms cubic-bezier(.25, .8, .25, 1)",xe.overlayRef.updatePositionStrategy(We)})}getPositionStrategy(Ee,Ce){const Ve=this.overlay.position().global(),xe="rtl"===Ee.direction,qe="start"===Ee.horizontalPosition&&!xe||"end"===Ee.horizontalPosition&&xe,We=!qe&&"center"!==Ee.horizontalPosition,st="0.5rem",rt="1.25rem";let Xt=`60px + ${rt} + ${st}`,Kt=`32px + ${rt}`;return qe?Ve.left(rt):We?Ve.right(`calc(2rem + ${rt} + ${st})`):Ve.centerHorizontally(),Ce.forEach(Dt=>{const Bt=Dt.container._elementRef.nativeElement;"top"===Ee.verticalPosition?Xt+=` + ${Bt.clientHeight}px + ${st}`:Kt+=` + ${Bt.clientHeight}px + ${st}`}),"top"===Ee.verticalPosition?Ve.top(`calc(${Xt})`):Ve.bottom(`calc(${Kt})`),Ve}getNotificationStack(Ee){const Ce=Ee.horizontalPosition+"-"+Ee.verticalPosition;let Ve=this.notificationMap.get(Ce);return Ve||(Ve=[],this.notificationMap.set(Ce,Ve)),Ve}init(){}destroy(){this.subscription.unsubscribe()}initLoadingOverlayRef(){return this.loadingOverlayRef=this.overlay.create({backdropClass:"cdk-overlay-invisible-backdrop",disposeOnNavigation:!1,hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.noop()})}}return ge.\u0275fac=function(Ee){return new(Ee||ge)(A.LFG(A.zs3),A.LFG(a.aV),A.LFG(E.Ve))},ge.\u0275prov=A.Yz7({token:ge,factory:ge.\u0275fac}),ge})()},1382:(Qe,me,g)=>{"use strict";g.d(me,{m:()=>ye});var a=g(6019),_=g(4382),A=g(3925),E=g(6731),Q=g(86),P=g(5304),$=g(9112),O=g(3530),G=g(8895),T=g(9966),k=g(6701),R=g(7964),j=g(4106),V=g(8609),Z=g(8881),q=g(3611),ve=g(8880),Se=g(3202),je=g(2301),at=g(3668);const Ge={showDelay:0,hideDelay:0,touchendHideDelay:1500,position:"above"};let ye=(()=>{class ge{constructor(Ee){this.iconRegistry=Ee,this.iconRegistry.setDefaultFontSetClass("material-icons-round")}static forRoot(){return{ngModule:ge,providers:[a.uU,Z.e,q.P,ve.O,Se.g,je.d,{provide:j.Jm,useValue:Ge},{provide:T.u_,useValue:T.Ve}]}}}return ge.\u0275fac=function(Ee){return new(Ee||ge)(at.LFG($.jv))},ge.\u0275mod=at.oAB({type:ge}),ge.\u0275inj=at.cJS({imports:[[a.ez,_.Bz,A.U8,E.XK,Q.ot,P.Is,$.Ps,O.Tx,G.ie,T.ZX,k.SJ,R.Cq,j.AV,V.S],A.U8,Q.ot,P.Is,$.Ps,O.Tx,G.ie,T.ZX,k.SJ,R.Cq,j.AV,V.S]}),ge})()},586:(Qe,me,g)=>{"use strict";var a=g(5427),_=g(3668),A=g(4522),E=g(9555),Q=g(1382),P=g(6019),$=g(9906),O=g(5700),G=g(7164),T=g(3599),k=g(3075),R=g(2411),j=g(8053),V=g(4382);let Z=(()=>{class xe{constructor(We,st,rt){this.router=We,this.authGuard=st,this.authService=rt}canLoad(We){return this.authGuard.isTimeount()?(0,R.of)(!0):this.authGuard.checkLogin(We.path).pipe((0,j.U)(st=>!st))}}return xe.\u0275fac=function(We){return new(We||xe)(_.LFG(V.F0),_.LFG(k.a),_.LFG($.GY))},xe.\u0275prov=_.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),q=(()=>{class xe{canDeactivate(We){return!We.canDeactivate||We.canDeactivate()}}return xe.\u0275fac=function(We){return new(We||xe)},xe.\u0275prov=_.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),ve=(()=>{class xe{constructor(){this.preloadedModules=[]}preload(We,st){return We.data&&We.data.preload?(this.preloadedModules.push(We.path),console.log("Preloaded: "+We.path),st()):(0,R.of)(null)}}return xe.\u0275fac=function(We){return new(We||xe)},xe.\u0275prov=_.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),Se=(()=>{class xe{}return xe.\u0275fac=function(We){return new(We||xe)},xe.\u0275mod=_.oAB({type:xe}),xe.\u0275inj=_.cJS({providers:[{provide:$.GY,useClass:$.e8},{provide:O.z,useClass:O.t},{provide:G.$,useClass:G.H},{provide:T.j,useClass:T.n},$.e8,k.a,Z,q,ve],imports:[[P.ez]]}),xe})();var je=g(7468),at=g(5578);const Ge=[{path:"admin",canLoad:[k.a],loadChildren:()=>Promise.all([g.e(876),g.e(996)]).then(g.bind(g,7996)).then(xe=>xe.AdminModule)},{path:"sign-in",canLoad:[Z],loadChildren:()=>Promise.all([g.e(138),g.e(876),g.e(676)]).then(g.bind(g,5676)).then(xe=>xe.LoginModule)},{path:"",redirectTo:"/admin",pathMatch:"full"},{path:"**",redirectTo:"/admin"}];let ye=(()=>{class xe{}return xe.\u0275fac=function(We){return new(We||xe)},xe.\u0275mod=_.oAB({type:xe}),xe.\u0275inj=_.cJS({providers:[q,ve],imports:[[V.Bz.forRoot(Ge,{enableTracing:!1,preloadingStrategy:ve,relativeLinkResolution:"legacy"})],V.Bz]}),xe})();var ge=g(3611);const Ae=["app-root",""];let Ee=(()=>{class xe{constructor(We){this.eventService=We}ngOnInit(){}ngAfterViewInit(){this.eventService.resetWindowDimension()}}return xe.\u0275fac=function(We){return new(We||xe)(_.Y36(ge.P))},xe.\u0275cmp=_.Xpm({type:xe,selectors:[["","app-root",""]],attrs:Ae,decls:1,vars:0,template:function(We,st){1&We&&_._UZ(0,"router-outlet")},directives:[V.lC],encapsulation:2}),xe})(),Ce=(()=>{class xe{}return xe.\u0275fac=function(We){return new(We||xe)},xe.\u0275mod=_.oAB({type:xe,bootstrap:[Ee]}),xe.\u0275inj=_.cJS({providers:[je.N,at.s],imports:[[a.b2,E.PW,A.JF,Se,Q.m.forRoot(),ye]]}),xe})();(0,_.G48)(),a.q6().bootstrapModule(Ce).catch(xe=>console.error(xe))},9814:(Qe,me,g)=>{"use strict";g.d(me,{l3:()=>A,_j:()=>a,LC:()=>_,ZN:()=>Se,jt:()=>Q,pV:()=>j,F4:()=>T,IO:()=>Z,vP:()=>$,SB:()=>G,oB:()=>O,eR:()=>k,X$:()=>E,ZE:()=>je,k1:()=>at});class a{}class _{}const A="*";function E(Ge,ye){return{type:7,name:Ge,definitions:ye,options:{}}}function Q(Ge,ye=null){return{type:4,styles:ye,timings:Ge}}function $(Ge,ye=null){return{type:2,steps:Ge,options:ye}}function O(Ge){return{type:6,styles:Ge,offset:null}}function G(Ge,ye,ge){return{type:0,name:Ge,styles:ye,options:ge}}function T(Ge){return{type:5,steps:Ge}}function k(Ge,ye,ge=null){return{type:1,expr:Ge,animation:ye,options:ge}}function j(Ge=null){return{type:9,options:Ge}}function Z(Ge,ye,ge=null){return{type:11,selector:Ge,animation:ye,options:ge}}function ve(Ge){Promise.resolve(null).then(Ge)}class Se{constructor(ye=0,ge=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ye+ge}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ye=>ye()),this._onDoneFns=[])}onStart(ye){this._onStartFns.push(ye)}onDone(ye){this._onDoneFns.push(ye)}onDestroy(ye){this._onDestroyFns.push(ye)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ve(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ye=>ye()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ye=>ye()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ye){this._position=this.totalTime?ye*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ye){const ge="start"==ye?this._onStartFns:this._onDoneFns;ge.forEach(Ae=>Ae()),ge.length=0}}class je{constructor(ye){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ye;let ge=0,Ae=0,Ee=0;const Ce=this.players.length;0==Ce?ve(()=>this._onFinish()):this.players.forEach(Ve=>{Ve.onDone(()=>{++ge==Ce&&this._onFinish()}),Ve.onDestroy(()=>{++Ae==Ce&&this._onDestroy()}),Ve.onStart(()=>{++Ee==Ce&&this._onStart()})}),this.totalTime=this.players.reduce((Ve,xe)=>Math.max(Ve,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ye=>ye()),this._onDoneFns=[])}init(){this.players.forEach(ye=>ye.init())}onStart(ye){this._onStartFns.push(ye)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ye=>ye()),this._onStartFns=[])}onDone(ye){this._onDoneFns.push(ye)}onDestroy(ye){this._onDestroyFns.push(ye)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ye=>ye.play())}pause(){this.players.forEach(ye=>ye.pause())}restart(){this.players.forEach(ye=>ye.restart())}finish(){this._onFinish(),this.players.forEach(ye=>ye.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ye=>ye.destroy()),this._onDestroyFns.forEach(ye=>ye()),this._onDestroyFns=[])}reset(){this.players.forEach(ye=>ye.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ye){const ge=ye*this.totalTime;this.players.forEach(Ae=>{const Ee=Ae.totalTime?Math.min(1,ge/Ae.totalTime):1;Ae.setPosition(Ee)})}getPosition(){const ye=this.players.reduce((ge,Ae)=>null===ge||Ae.totalTime>ge.totalTime?Ae:ge,null);return null!=ye?ye.getPosition():0}beforeDestroy(){this.players.forEach(ye=>{ye.beforeDestroy&&ye.beforeDestroy()})}triggerCallback(ye){const ge="start"==ye?this._onStartFns:this._onDoneFns;ge.forEach(Ae=>Ae()),ge.length=0}}const at="!"},7497:(Qe,me,g)=>{"use strict";g.d(me,{rt:()=>Re,s1:()=>Xt,$s:()=>qe,Qr:()=>Ut,kH:()=>yt,mK:()=>ue,Em:()=>Kt,tE:()=>Mt,qV:()=>J,qm:()=>un,ic:()=>Bt,Kd:()=>wt,X6:()=>ne,yG:()=>M});var a=g(6019),_=g(3668),A=g(8095),E=g(1346),Q=g(4099),P=g(2411),$=g(1628),O=g(5722),G=g(5686),T=g(8735),k=g(8053),R=g(6636),j=g(5488),V=g(5389),Z=g(8805),q=g(348),ve=g(928),Se=g(3242);function ye(Y,F){return(Y.getAttribute(F)||"").match(/\S+/g)||[]}const ge="cdk-describedby-message-container",Ae="cdk-describedby-message",Ee="cdk-describedby-host";let Ce=0;const Ve=new Map;let xe=null,qe=(()=>{class Y{constructor(N){this._document=N}describe(N,re,Pe){if(!this._canBeDescribed(N,re))return;const it=We(re,Pe);"string"!=typeof re?(st(re),Ve.set(it,{messageElement:re,referenceCount:0})):Ve.has(it)||this._createMessageElement(re,Pe),this._isElementDescribedByMessage(N,it)||this._addMessageReference(N,it)}removeDescription(N,re,Pe){if(!re||!this._isElementNode(N))return;const it=We(re,Pe);if(this._isElementDescribedByMessage(N,it)&&this._removeMessageReference(N,it),"string"==typeof re){const St=Ve.get(it);St&&0===St.referenceCount&&this._deleteMessageElement(it)}xe&&0===xe.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const N=this._document.querySelectorAll(`[${Ee}]`);for(let re=0;re<N.length;re++)this._removeCdkDescribedByReferenceIds(N[re]),N[re].removeAttribute(Ee);xe&&this._deleteMessagesContainer(),Ve.clear()}_createMessageElement(N,re){const Pe=this._document.createElement("div");st(Pe),Pe.textContent=N,re&&Pe.setAttribute("role",re),this._createMessagesContainer(),xe.appendChild(Pe),Ve.set(We(N,re),{messageElement:Pe,referenceCount:0})}_deleteMessageElement(N){var Pe;const re=Ve.get(N);null==(Pe=null==re?void 0:re.messageElement)||Pe.remove(),Ve.delete(N)}_createMessagesContainer(){if(!xe){const N=this._document.getElementById(ge);null==N||N.remove(),xe=this._document.createElement("div"),xe.id=ge,xe.style.visibility="hidden",xe.classList.add("cdk-visually-hidden"),this._document.body.appendChild(xe)}}_deleteMessagesContainer(){xe&&(xe.remove(),xe=null)}_removeCdkDescribedByReferenceIds(N){const re=ye(N,"aria-describedby").filter(Pe=>0!=Pe.indexOf(Ae));N.setAttribute("aria-describedby",re.join(" "))}_addMessageReference(N,re){const Pe=Ve.get(re);(function(Y,F,N){const re=ye(Y,F);re.some(Pe=>Pe.trim()==N.trim())||(re.push(N.trim()),Y.setAttribute(F,re.join(" ")))})(N,"aria-describedby",Pe.messageElement.id),N.setAttribute(Ee,""),Pe.referenceCount++}_removeMessageReference(N,re){const Pe=Ve.get(re);Pe.referenceCount--,function(Y,F,N){const Pe=ye(Y,F).filter(it=>it!=N.trim());Pe.length?Y.setAttribute(F,Pe.join(" ")):Y.removeAttribute(F)}(N,"aria-describedby",Pe.messageElement.id),N.removeAttribute(Ee)}_isElementDescribedByMessage(N,re){const Pe=ye(N,"aria-describedby"),it=Ve.get(re),St=it&&it.messageElement.id;return!!St&&-1!=Pe.indexOf(St)}_canBeDescribed(N,re){if(!this._isElementNode(N))return!1;if(re&&"object"==typeof re)return!0;const Pe=null==re?"":`${re}`.trim(),it=N.getAttribute("aria-label");return!(!Pe||it&&it.trim()===Pe)}_isElementNode(N){return N.nodeType===this._document.ELEMENT_NODE}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(a.K0))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();function We(Y,F){return"string"==typeof Y?`${F||""}/${Y}`:Y}function st(Y){Y.id||(Y.id=`${Ae}-${Ce++}`)}class rt{constructor(F){this._items=F,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.xQ,this._typeaheadSubscription=E.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=N=>N.disabled,this._pressedLetters=[],this.tabOut=new A.xQ,this.change=new A.xQ,F instanceof _.n_E&&F.changes.subscribe(N=>{if(this._activeItem){const Pe=N.toArray().indexOf(this._activeItem);Pe>-1&&Pe!==this._activeItemIndex&&(this._activeItemIndex=Pe)}})}skipPredicate(F){return this._skipPredicateFn=F,this}withWrap(F=!0){return this._wrap=F,this}withVerticalOrientation(F=!0){return this._vertical=F,this}withHorizontalOrientation(F){return this._horizontal=F,this}withAllowedModifierKeys(F){return this._allowedModifierKeys=F,this}withTypeAhead(F=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,O.b)(N=>this._pressedLetters.push(N)),(0,G.b)(F),(0,T.h)(()=>this._pressedLetters.length>0),(0,k.U)(()=>this._pressedLetters.join(""))).subscribe(N=>{const re=this._getItemsArray();for(let Pe=1;Pe<re.length+1;Pe++){const it=(this._activeItemIndex+Pe)%re.length,St=re[it];if(!this._skipPredicateFn(St)&&0===St.getLabel().toUpperCase().trim().indexOf(N)){this.setActiveItem(it);break}}this._pressedLetters=[]}),this}withHomeAndEnd(F=!0){return this._homeAndEnd=F,this}setActiveItem(F){const N=this._activeItem;this.updateActiveItem(F),this._activeItem!==N&&this.change.next(this._activeItemIndex)}onKeydown(F){const N=F.keyCode,Pe=["altKey","ctrlKey","metaKey","shiftKey"].every(it=>!F[it]||this._allowedModifierKeys.indexOf(it)>-1);switch(N){case $.Mf:return void this.tabOut.next();case $.JH:if(this._vertical&&Pe){this.setNextItemActive();break}return;case $.LH:if(this._vertical&&Pe){this.setPreviousItemActive();break}return;case $.SV:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case $.oh:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case $.Sd:if(this._homeAndEnd&&Pe){this.setFirstItemActive();break}return;case $.uR:if(this._homeAndEnd&&Pe){this.setLastItemActive();break}return;default:return void((Pe||(0,$.Vb)(F,"shiftKey"))&&(F.key&&1===F.key.length?this._letterKeyStream.next(F.key.toLocaleUpperCase()):(N>=$.A&&N<=$.Z||N>=$.xE&&N<=$.aO)&&this._letterKeyStream.next(String.fromCharCode(N))))}this._pressedLetters=[],F.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(F){const N=this._getItemsArray(),re="number"==typeof F?F:N.indexOf(F),Pe=N[re];this._activeItem=null==Pe?null:Pe,this._activeItemIndex=re}_setActiveItemByDelta(F){this._wrap?this._setActiveInWrapMode(F):this._setActiveInDefaultMode(F)}_setActiveInWrapMode(F){const N=this._getItemsArray();for(let re=1;re<=N.length;re++){const Pe=(this._activeItemIndex+F*re+N.length)%N.length;if(!this._skipPredicateFn(N[Pe]))return void this.setActiveItem(Pe)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,N){const re=this._getItemsArray();if(re[F]){for(;this._skipPredicateFn(re[F]);)if(!re[F+=N])return;this.setActiveItem(F)}}_getItemsArray(){return this._items instanceof _.n_E?this._items.toArray():this._items}}class Xt extends rt{setActiveItem(F){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(F),this.activeItem&&this.activeItem.setActiveStyles()}}class Kt extends rt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(F){return this._origin=F,this}setActiveItem(F){super.setActiveItem(F),this.activeItem&&this.activeItem.focus(this._origin)}}let Bt=(()=>{class Y{constructor(N){this._platform=N}isDisabled(N){return N.hasAttribute("disabled")}isVisible(N){return function(Y){return!!(Y.offsetWidth||Y.offsetHeight||"function"==typeof Y.getClientRects&&Y.getClientRects().length)}(N)&&"visible"===getComputedStyle(N).visibility}isTabbable(N){if(!this._platform.isBrowser)return!1;const re=function(Y){try{return Y.frameElement}catch(F){return null}}(function(Y){return Y.ownerDocument&&Y.ownerDocument.defaultView||window}(N));if(re&&(-1===le(re)||!this.isVisible(re)))return!1;let Pe=N.nodeName.toLowerCase(),it=le(N);return N.hasAttribute("contenteditable")?-1!==it:!("iframe"===Pe||"object"===Pe||this._platform.WEBKIT&&this._platform.IOS&&!function(Y){let F=Y.nodeName.toLowerCase(),N="input"===F&&Y.type;return"text"===N||"password"===N||"select"===F||"textarea"===F}(N))&&("audio"===Pe?!!N.hasAttribute("controls")&&-1!==it:"video"===Pe?-1!==it&&(null!==it||this._platform.FIREFOX||N.hasAttribute("controls")):N.tabIndex>=0)}isFocusable(N,re){return function(Y){return!function(Y){return function(Y){return"input"==Y.nodeName.toLowerCase()}(Y)&&"hidden"==Y.type}(Y)&&(function(Y){let F=Y.nodeName.toLowerCase();return"input"===F||"select"===F||"button"===F||"textarea"===F}(Y)||function(Y){return function(Y){return"a"==Y.nodeName.toLowerCase()}(Y)&&Y.hasAttribute("href")}(Y)||Y.hasAttribute("contenteditable")||oe(Y))}(N)&&!this.isDisabled(N)&&((null==re?void 0:re.ignoreVisibility)||this.isVisible(N))}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(ve.t4))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();function oe(Y){if(!Y.hasAttribute("tabindex")||void 0===Y.tabIndex)return!1;let F=Y.getAttribute("tabindex");return!(!F||isNaN(parseInt(F,10)))}function le(Y){if(!oe(Y))return null;const F=parseInt(Y.getAttribute("tabindex")||"",10);return isNaN(F)?-1:F}class fe{constructor(F,N,re,Pe,it=!1){this._element=F,this._checker=N,this._ngZone=re,this._document=Pe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,it||this.attachAnchors()}get enabled(){return this._enabled}set enabled(F){this._enabled=F,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(F,this._startAnchor),this._toggleAnchorTabIndex(F,this._endAnchor))}destroy(){const F=this._startAnchor,N=this._endAnchor;F&&(F.removeEventListener("focus",this.startAnchorListener),F.remove()),N&&(N.removeEventListener("focus",this.endAnchorListener),N.remove()),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(F){return new Promise(N=>{this._executeOnStable(()=>N(this.focusInitialElement(F)))})}focusFirstTabbableElementWhenReady(F){return new Promise(N=>{this._executeOnStable(()=>N(this.focusFirstTabbableElement(F)))})}focusLastTabbableElementWhenReady(F){return new Promise(N=>{this._executeOnStable(()=>N(this.focusLastTabbableElement(F)))})}_getRegionBoundary(F){const N=this._element.querySelectorAll(`[cdk-focus-region-${F}], [cdkFocusRegion${F}], [cdk-focus-${F}]`);return"start"==F?N.length?N[0]:this._getFirstTabbableElement(this._element):N.length?N[N.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(F){const N=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(N){if(!this._checker.isFocusable(N)){const re=this._getFirstTabbableElement(N);return null==re||re.focus(F),!!re}return N.focus(F),!0}return this.focusFirstTabbableElement(F)}focusFirstTabbableElement(F){const N=this._getRegionBoundary("start");return N&&N.focus(F),!!N}focusLastTabbableElement(F){const N=this._getRegionBoundary("end");return N&&N.focus(F),!!N}hasAttached(){return this._hasAttached}_getFirstTabbableElement(F){if(this._checker.isFocusable(F)&&this._checker.isTabbable(F))return F;const N=F.children;for(let re=0;re<N.length;re++){const Pe=N[re].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(N[re]):null;if(Pe)return Pe}return null}_getLastTabbableElement(F){if(this._checker.isFocusable(F)&&this._checker.isTabbable(F))return F;const N=F.children;for(let re=N.length-1;re>=0;re--){const Pe=N[re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(N[re]):null;if(Pe)return Pe}return null}_createAnchor(){const F=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,F),F.classList.add("cdk-visually-hidden"),F.classList.add("cdk-focus-trap-anchor"),F.setAttribute("aria-hidden","true"),F}_toggleAnchorTabIndex(F,N){F?N.setAttribute("tabindex","0"):N.removeAttribute("tabindex")}toggleAnchors(F){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(F,this._startAnchor),this._toggleAnchorTabIndex(F,this._endAnchor))}_executeOnStable(F){this._ngZone.isStable?F():this._ngZone.onStable.pipe((0,R.q)(1)).subscribe(F)}}let J=(()=>{class Y{constructor(N,re,Pe){this._checker=N,this._ngZone=re,this._document=Pe}create(N,re=!1){return new fe(N,this._checker,this._ngZone,this._document,re)}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(Bt),_.LFG(_.R0b),_.LFG(a.K0))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),ue=(()=>{class Y{constructor(N,re,Pe){this._elementRef=N,this._focusTrapFactory=re,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(N){this.focusTrap.enabled=(0,q.Ig)(N)}get autoCapture(){return this._autoCapture}set autoCapture(N){this._autoCapture=(0,q.Ig)(N)}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(N){const re=N.autoCapture;re&&!re.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,ve.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Y.\u0275fac=function(N){return new(N||Y)(_.Y36(_.SBq),_.Y36(J),_.Y36(a.K0))},Y.\u0275dir=_.lG2({type:Y,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[_.TTD]}),Y})();function ne(Y){return 0===Y.offsetX&&0===Y.offsetY}function M(Y){const F=Y.touches&&Y.touches[0]||Y.changedTouches&&Y.changedTouches[0];return!(!F||-1!==F.identifier||null!=F.radiusX&&1!==F.radiusX||null!=F.radiusY&&1!==F.radiusY)}const S=new _.OlP("cdk-input-modality-detector-options"),B={ignoreKeys:[$.zL,$.jx,$.b2,$.MW,$.JU]},ie=(0,ve.i$)({passive:!0,capture:!0});let Ue=(()=>{class Y{constructor(N,re,Pe,it){this._platform=N,this._mostRecentTarget=null,this._modality=new Q.X(null),this._lastTouchMs=0,this._onKeydown=St=>{var on,Dn;(null==(Dn=null==(on=this._options)?void 0:on.ignoreKeys)?void 0:Dn.some(Oe=>Oe===St.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,ve.sA)(St))},this._onMousedown=St=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ne(St)?"keyboard":"mouse"),this._mostRecentTarget=(0,ve.sA)(St))},this._onTouchstart=St=>{M(St)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,ve.sA)(St))},this._options=gt(gt({},B),it),this.modalityDetected=this._modality.pipe((0,j.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,V.x)()),N.isBrowser&&re.runOutsideAngular(()=>{Pe.addEventListener("keydown",this._onKeydown,ie),Pe.addEventListener("mousedown",this._onMousedown,ie),Pe.addEventListener("touchstart",this._onTouchstart,ie)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ie),document.removeEventListener("mousedown",this._onMousedown,ie),document.removeEventListener("touchstart",this._onTouchstart,ie))}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(ve.t4),_.LFG(_.R0b),_.LFG(a.K0),_.LFG(S,8))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const He=new _.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),pt=new _.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let wt=(()=>{class Y{constructor(N,re,Pe,it){this._ngZone=re,this._defaultOptions=it,this._document=Pe,this._liveElement=N||this._createLiveElement()}announce(N,...re){const Pe=this._defaultOptions;let it,St;return 1===re.length&&"number"==typeof re[0]?St=re[0]:[it,St]=re,this.clear(),clearTimeout(this._previousTimeout),it||(it=Pe&&Pe.politeness?Pe.politeness:"polite"),null==St&&Pe&&(St=Pe.duration),this._liveElement.setAttribute("aria-live",it),this._ngZone.runOutsideAngular(()=>new Promise(on=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=N,on(),"number"==typeof St&&(this._previousTimeout=setTimeout(()=>this.clear(),St))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var N;clearTimeout(this._previousTimeout),null==(N=this._liveElement)||N.remove(),this._liveElement=null}_createLiveElement(){const N="cdk-live-announcer-element",re=this._document.getElementsByClassName(N),Pe=this._document.createElement("div");for(let it=0;it<re.length;it++)re[it].remove();return Pe.classList.add(N),Pe.classList.add("cdk-visually-hidden"),Pe.setAttribute("aria-atomic","true"),Pe.setAttribute("aria-live","polite"),this._document.body.appendChild(Pe),Pe}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(He,8),_.LFG(_.R0b),_.LFG(a.K0),_.LFG(pt,8))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),Ut=(()=>{class Y{constructor(N,re,Pe,it){this._elementRef=N,this._liveAnnouncer=re,this._contentObserver=Pe,this._ngZone=it,this._politeness="polite"}get politeness(){return this._politeness}set politeness(N){this._politeness="off"===N||"assertive"===N?N:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const re=this._elementRef.nativeElement.textContent;re!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(re,this._politeness),this._previousAnnouncedText=re)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return Y.\u0275fac=function(N){return new(N||Y)(_.Y36(_.SBq),_.Y36(wt),_.Y36(Se.yq),_.Y36(_.R0b))},Y.\u0275dir=_.lG2({type:Y,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),Y})();const It=new _.OlP("cdk-focus-monitor-default-options"),xt=(0,ve.i$)({passive:!0,capture:!0});let Mt=(()=>{class Y{constructor(N,re,Pe,it,St){this._ngZone=N,this._platform=re,this._inputModalityDetector=Pe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new A.xQ,this._rootNodeFocusAndBlurListener=on=>{const Dn=(0,ve.sA)(on),Oe="focus"===on.type?this._onFocus:this._onBlur;for(let ae=Dn;ae;ae=ae.parentElement)Oe.call(this,on,ae)},this._document=it,this._detectionMode=(null==St?void 0:St.detectionMode)||0}monitor(N,re=!1){const Pe=(0,q.fI)(N);if(!this._platform.isBrowser||1!==Pe.nodeType)return(0,P.of)(null);const it=(0,ve.kV)(Pe)||this._getDocument(),St=this._elementInfo.get(Pe);if(St)return re&&(St.checkChildren=!0),St.subject;const on={checkChildren:re,subject:new A.xQ,rootNode:it};return this._elementInfo.set(Pe,on),this._registerGlobalListeners(on),on.subject}stopMonitoring(N){const re=(0,q.fI)(N),Pe=this._elementInfo.get(re);Pe&&(Pe.subject.complete(),this._setClasses(re),this._elementInfo.delete(re),this._removeGlobalListeners(Pe))}focusVia(N,re,Pe){const it=(0,q.fI)(N);it===this._getDocument().activeElement?this._getClosestElementsInfo(it).forEach(([on,Dn])=>this._originChanged(on,re,Dn)):(this._setOrigin(re),"function"==typeof it.focus&&it.focus(Pe))}ngOnDestroy(){this._elementInfo.forEach((N,re)=>this.stopMonitoring(re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(N){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(N)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(N){return 1===this._detectionMode||!!(null==N?void 0:N.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(N,re){N.classList.toggle("cdk-focused",!!re),N.classList.toggle("cdk-touch-focused","touch"===re),N.classList.toggle("cdk-keyboard-focused","keyboard"===re),N.classList.toggle("cdk-mouse-focused","mouse"===re),N.classList.toggle("cdk-program-focused","program"===re)}_setOrigin(N,re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=N,this._originFromTouchInteraction="touch"===N&&re,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(N,re){const Pe=this._elementInfo.get(re),it=(0,ve.sA)(N);!Pe||!Pe.checkChildren&&re!==it||this._originChanged(re,this._getFocusOrigin(it),Pe)}_onBlur(N,re){const Pe=this._elementInfo.get(re);!Pe||Pe.checkChildren&&N.relatedTarget instanceof Node&&re.contains(N.relatedTarget)||(this._setClasses(re),this._emitOrigin(Pe.subject,null))}_emitOrigin(N,re){this._ngZone.run(()=>N.next(re))}_registerGlobalListeners(N){if(!this._platform.isBrowser)return;const re=N.rootNode,Pe=this._rootNodeFocusListenerCount.get(re)||0;Pe||this._ngZone.runOutsideAngular(()=>{re.addEventListener("focus",this._rootNodeFocusAndBlurListener,xt),re.addEventListener("blur",this._rootNodeFocusAndBlurListener,xt)}),this._rootNodeFocusListenerCount.set(re,Pe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Z.R)(this._stopInputModalityDetector)).subscribe(it=>{this._setOrigin(it,!0)}))}_removeGlobalListeners(N){const re=N.rootNode;if(this._rootNodeFocusListenerCount.has(re)){const Pe=this._rootNodeFocusListenerCount.get(re);Pe>1?this._rootNodeFocusListenerCount.set(re,Pe-1):(re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,xt),re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xt),this._rootNodeFocusListenerCount.delete(re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(N,re,Pe){this._setClasses(N,re),this._emitOrigin(Pe.subject,re),this._lastFocusOrigin=re}_getClosestElementsInfo(N){const re=[];return this._elementInfo.forEach((Pe,it)=>{(it===N||Pe.checkChildren&&it.contains(N))&&re.push([it,Pe])}),re}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(_.R0b),_.LFG(ve.t4),_.LFG(Ue),_.LFG(a.K0,8),_.LFG(It,8))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),yt=(()=>{class Y{constructor(N,re){this._elementRef=N,this._focusMonitor=re,this.cdkFocusChange=new _.vpe}ngAfterViewInit(){const N=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(N,1===N.nodeType&&N.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(re=>this.cdkFocusChange.emit(re))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Y.\u0275fac=function(N){return new(N||Y)(_.Y36(_.SBq),_.Y36(Mt))},Y.\u0275dir=_.lG2({type:Y,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Y})();const Ot="cdk-high-contrast-black-on-white",Gt="cdk-high-contrast-white-on-black",Ht="cdk-high-contrast-active";let un=(()=>{class Y{constructor(N,re){this._platform=N,this._document=re}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const N=this._document.createElement("div");N.style.backgroundColor="rgb(1,2,3)",N.style.position="absolute",this._document.body.appendChild(N);const re=this._document.defaultView||window,Pe=re&&re.getComputedStyle?re.getComputedStyle(N):null,it=(Pe&&Pe.backgroundColor||"").replace(/ /g,"");switch(N.remove(),it){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const N=this._document.body.classList;N.remove(Ht),N.remove(Ot),N.remove(Gt),this._hasCheckedHighContrastMode=!0;const re=this.getHighContrastMode();1===re?(N.add(Ht),N.add(Ot)):2===re&&(N.add(Ht),N.add(Gt))}}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(ve.t4),_.LFG(a.K0))},Y.\u0275prov=_.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),Re=(()=>{class Y{constructor(N){N._applyBodyHighContrastModeCssClasses()}}return Y.\u0275fac=function(N){return new(N||Y)(_.LFG(un))},Y.\u0275mod=_.oAB({type:Y}),Y.\u0275inj=_.cJS({imports:[[ve.ud,Se.Q8]]}),Y})()},8290:(Qe,me,g)=>{"use strict";g.d(me,{vT:()=>$,Is:()=>Q});var a=g(3668),_=g(6019);const A=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,a.f3M)(_.K0)}});let Q=(()=>{class O{constructor(T){if(this.value="ltr",this.change=new a.vpe,T){const R=T.documentElement?T.documentElement.dir:null,j=(T.body?T.body.dir:null)||R;this.value="ltr"===j||"rtl"===j?j:"ltr"}}ngOnDestroy(){this.change.complete()}}return O.\u0275fac=function(T){return new(T||O)(a.LFG(A,8))},O.\u0275prov=a.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),$=(()=>{class O{}return O.\u0275fac=function(T){return new(T||O)},O.\u0275mod=a.oAB({type:O}),O.\u0275inj=a.cJS({}),O})()},348:(Qe,me,g)=>{"use strict";g.d(me,{t6:()=>E,Eq:()=>Q,Ig:()=>_,HM:()=>P,fI:()=>$,su:()=>A,du:()=>O});var a=g(3668);function _(G){return null!=G&&"false"!=`${G}`}function A(G,T=0){return E(G)?Number(G):T}function E(G){return!isNaN(parseFloat(G))&&!isNaN(Number(G))}function Q(G){return Array.isArray(G)?G:[G]}function P(G){return null==G?"":"string"==typeof G?G:`${G}px`}function $(G){return G instanceof a.SBq?G.nativeElement:G}function O(G,T=/\s+/){const k=[];if(null!=G){const R=Array.isArray(G)?G:`${G}`.split(T);for(const j of R){const V=`${j}`.trim();V&&k.push(V)}}return k}},5351:(Qe,me,g)=>{"use strict";g.d(me,{o2:()=>A,Ov:()=>O,A8:()=>T,yy:()=>P,eX:()=>$,k:()=>k,Z9:()=>E});var a=g(8095),_=g(3668);class A{}function E(R){return R&&"function"==typeof R.connect}class P{applyChanges(j,V,Z,q,ve){j.forEachOperation((Se,je,at)=>{let Ge,ye;if(null==Se.previousIndex){const ge=Z(Se,je,at);Ge=V.createEmbeddedView(ge.templateRef,ge.context,ge.index),ye=1}else null==at?(V.remove(je),ye=3):(Ge=V.get(je),V.move(Ge,at),ye=2);ve&&ve({context:null==Ge?void 0:Ge.context,operation:ye,record:Se})})}detach(){}}class ${constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(j,V,Z,q,ve){j.forEachOperation((Se,je,at)=>{let Ge,ye;null==Se.previousIndex?(Ge=this._insertView(()=>Z(Se,je,at),at,V,q(Se)),ye=Ge?1:0):null==at?(this._detachAndCacheView(je,V),ye=3):(Ge=this._moveView(je,at,V,q(Se)),ye=2),ve&&ve({context:null==Ge?void 0:Ge.context,operation:ye,record:Se})})}detach(){for(const j of this._viewCache)j.destroy();this._viewCache=[]}_insertView(j,V,Z,q){const ve=this._insertViewFromCache(V,Z);if(ve)return void(ve.context.$implicit=q);const Se=j();return Z.createEmbeddedView(Se.templateRef,Se.context,Se.index)}_detachAndCacheView(j,V){const Z=V.detach(j);this._maybeCacheView(Z,V)}_moveView(j,V,Z,q){const ve=Z.get(j);return Z.move(ve,V),ve.context.$implicit=q,ve}_maybeCacheView(j,V){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(j);else{const Z=V.indexOf(j);-1===Z?j.destroy():V.remove(Z)}}_insertViewFromCache(j,V){const Z=this._viewCache.pop();return Z&&V.insert(Z,j),Z||null}}class O{constructor(j=!1,V,Z=!0){this._multiple=j,this._emitChanges=Z,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new a.xQ,V&&V.length&&(j?V.forEach(q=>this._markSelected(q)):this._markSelected(V[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...j){this._verifyValueAssignment(j),j.forEach(V=>this._markSelected(V)),this._emitChangeEvent()}deselect(...j){this._verifyValueAssignment(j),j.forEach(V=>this._unmarkSelected(V)),this._emitChangeEvent()}toggle(j){this.isSelected(j)?this.deselect(j):this.select(j)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(j){return this._selection.has(j)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(j){this._multiple&&this.selected&&this._selected.sort(j)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(j){this.isSelected(j)||(this._multiple||this._unmarkAll(),this._selection.add(j),this._emitChanges&&this._selectedToEmit.push(j))}_unmarkSelected(j){this.isSelected(j)&&(this._selection.delete(j),this._emitChanges&&this._deselectedToEmit.push(j))}_unmarkAll(){this.isEmpty()||this._selection.forEach(j=>this._unmarkSelected(j))}_verifyValueAssignment(j){}}let T=(()=>{class R{constructor(){this._listeners=[]}notify(V,Z){for(let q of this._listeners)q(V,Z)}listen(V){return this._listeners.push(V),()=>{this._listeners=this._listeners.filter(Z=>V!==Z)}}ngOnDestroy(){this._listeners=[]}}return R.\u0275fac=function(V){return new(V||R)},R.\u0275prov=_.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const k=new _.OlP("_ViewRepeater")},1628:(Qe,me,g)=>{"use strict";g.d(me,{A:()=>lt,zL:()=>O,ZH:()=>_,jx:()=>$,JH:()=>at,uR:()=>Z,K5:()=>Q,hY:()=>k,Sd:()=>q,oh:()=>ve,b2:()=>Bi,MW:()=>et,aO:()=>Kt,VM:()=>V,Ku:()=>j,SV:()=>je,JU:()=>P,L_:()=>R,Mf:()=>A,LH:()=>Se,Z:()=>He,xE:()=>Ee,Vb:()=>ai});const _=8,A=9,Q=13,P=16,$=17,O=18,k=27,R=32,j=33,V=34,Z=35,q=36,ve=37,Se=38,je=39,at=40,Ee=48,Kt=57,lt=65,He=90,et=91,Bi=224;function ai(li,...Sn){return Sn.length?Sn.some(wn=>li[wn]):li.altKey||li.shiftKey||li.ctrlKey||li.metaKey}},3242:(Qe,me,g)=>{"use strict";g.d(me,{wD:()=>O,yq:()=>$,Q8:()=>G});var a=g(348),_=g(3668),A=g(5548),E=g(8095),Q=g(5686);let P=(()=>{class T{create(R){return"undefined"==typeof MutationObserver?null:new MutationObserver(R)}}return T.\u0275fac=function(R){return new(R||T)},T.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),$=(()=>{class T{constructor(R){this._mutationObserverFactory=R,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((R,j)=>this._cleanupObserver(j))}observe(R){const j=(0,a.fI)(R);return new A.y(V=>{const q=this._observeElement(j).subscribe(V);return()=>{q.unsubscribe(),this._unobserveElement(j)}})}_observeElement(R){if(this._observedElements.has(R))this._observedElements.get(R).count++;else{const j=new E.xQ,V=this._mutationObserverFactory.create(Z=>j.next(Z));V&&V.observe(R,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(R,{observer:V,stream:j,count:1})}return this._observedElements.get(R).stream}_unobserveElement(R){this._observedElements.has(R)&&(this._observedElements.get(R).count--,this._observedElements.get(R).count||this._cleanupObserver(R))}_cleanupObserver(R){if(this._observedElements.has(R)){const{observer:j,stream:V}=this._observedElements.get(R);j&&j.disconnect(),V.complete(),this._observedElements.delete(R)}}}return T.\u0275fac=function(R){return new(R||T)(_.LFG(P))},T.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),O=(()=>{class T{constructor(R,j,V){this._contentObserver=R,this._elementRef=j,this._ngZone=V,this.event=new _.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(R){this._disabled=(0,a.Ig)(R),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(R){this._debounce=(0,a.su)(R),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const R=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?R.pipe((0,Q.b)(this.debounce)):R).subscribe(this.event)})}_unsubscribe(){var R;null==(R=this._currentSubscription)||R.unsubscribe()}}return T.\u0275fac=function(R){return new(R||T)(_.Y36($),_.Y36(_.SBq),_.Y36(_.R0b))},T.\u0275dir=_.lG2({type:T,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),T})(),G=(()=>{class T{}return T.\u0275fac=function(R){return new(R||T)},T.\u0275mod=_.oAB({type:T}),T.\u0275inj=_.cJS({providers:[P]}),T})()},3925:(Qe,me,g)=>{"use strict";g.d(me,{pI:()=>Ne,xu:()=>ue,_G:()=>Ye,aV:()=>be,X_:()=>Ve,Xj:()=>Bt,U8:()=>ot});var a=g(6827),_=g(6019),A=g(3668),E=g(348),Q=g(928),P=g(8290),$=g(5711),O=g(8095),G=g(1346),T=g(8526),k=g(4168);class j{constructor(M,S){this.predicate=M,this.inclusive=S}call(M,S){return S.subscribe(new V(M,this.predicate,this.inclusive))}}class V extends k.L{constructor(M,S,B){super(M),this.predicate=S,this.inclusive=B,this.index=0}_next(M){const S=this.destination;let B;try{B=this.predicate(M,this.index++)}catch(te){return void S.error(te)}this.nextOrComplete(M,B)}nextOrComplete(M,S){const B=this.destination;Boolean(S)?B.next(M):(this.inclusive&&B.next(M),B.complete())}}var Z=g(6636),q=g(8805),ve=g(1628);const Se=(0,Q.Mq)();class je{constructor(M,S){this._viewportRuler=M,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=S}attach(){}enable(){if(this._canBeEnabled()){const M=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=M.style.left||"",this._previousHTMLStyles.top=M.style.top||"",M.style.left=(0,E.HM)(-this._previousScrollPosition.left),M.style.top=(0,E.HM)(-this._previousScrollPosition.top),M.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const M=this._document.documentElement,B=M.style,te=this._document.body.style,ie=B.scrollBehavior||"",Ue=te.scrollBehavior||"";this._isEnabled=!1,B.left=this._previousHTMLStyles.left,B.top=this._previousHTMLStyles.top,M.classList.remove("cdk-global-scrollblock"),Se&&(B.scrollBehavior=te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Se&&(B.scrollBehavior=ie,te.scrollBehavior=Ue)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const S=this._document.body,B=this._viewportRuler.getViewportSize();return S.scrollHeight>B.height||S.scrollWidth>B.width}}class Ge{constructor(M,S,B,te){this._scrollDispatcher=M,this._ngZone=S,this._viewportRuler=B,this._config=te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(M){this._overlayRef=M}enable(){if(this._scrollSubscription)return;const M=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=M.subscribe(()=>{const S=this._viewportRuler.getViewportScrollPosition().top;Math.abs(S-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=M.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ye{enable(){}disable(){}attach(){}}function ge(ne,M){return M.some(S=>ne.bottom<S.top||ne.top>S.bottom||ne.right<S.left||ne.left>S.right)}function Ae(ne,M){return M.some(S=>ne.top<S.top||ne.bottom>S.bottom||ne.left<S.left||ne.right>S.right)}class Ee{constructor(M,S,B,te){this._scrollDispatcher=M,this._viewportRuler=S,this._ngZone=B,this._config=te,this._scrollSubscription=null}attach(M){this._overlayRef=M}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const S=this._overlayRef.overlayElement.getBoundingClientRect(),{width:B,height:te}=this._viewportRuler.getViewportSize();ge(S,[{width:B,height:te,bottom:te,right:B,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Ce=(()=>{class ne{constructor(S,B,te,ie){this._scrollDispatcher=S,this._viewportRuler=B,this._ngZone=te,this.noop=()=>new ye,this.close=Ue=>new Ge(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ue),this.block=()=>new je(this._viewportRuler,this._document),this.reposition=Ue=>new Ee(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ue),this._document=ie}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(a.mF),A.LFG(a.rL),A.LFG(A.R0b),A.LFG(_.K0))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();class Ve{constructor(M){if(this.scrollStrategy=new ye,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,M){const S=Object.keys(M);for(const B of S)void 0!==M[B]&&(this[B]=M[B])}}}class We{constructor(M,S){this.connectionPair=M,this.scrollableViewProperties=S}}let Xt=(()=>{class ne{constructor(S){this._attachedOverlays=[],this._document=S}ngOnDestroy(){this.detach()}add(S){this.remove(S),this._attachedOverlays.push(S)}remove(S){const B=this._attachedOverlays.indexOf(S);B>-1&&this._attachedOverlays.splice(B,1),0===this._attachedOverlays.length&&this.detach()}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(_.K0))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Kt=(()=>{class ne extends Xt{constructor(S){super(S),this._keydownListener=B=>{const te=this._attachedOverlays;for(let ie=te.length-1;ie>-1;ie--)if(te[ie]._keydownEvents.observers.length>0){te[ie]._keydownEvents.next(B);break}}}add(S){super.add(S),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(_.K0))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Dt=(()=>{class ne extends Xt{constructor(S,B){super(S),this._platform=B,this._cursorStyleIsSet=!1,this._pointerDownListener=te=>{this._pointerDownEventTarget=(0,Q.sA)(te)},this._clickListener=te=>{const ie=(0,Q.sA)(te),Ue="click"===te.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ie;this._pointerDownEventTarget=null;const He=this._attachedOverlays.slice();for(let et=He.length-1;et>-1;et--){const pt=He[et];if(!(pt._outsidePointerEvents.observers.length<1)&&pt.hasAttached()){if(pt.overlayElement.contains(ie)||pt.overlayElement.contains(Ue))break;pt._outsidePointerEvents.next(te)}}}}add(S){if(super.add(S),!this._isAttached){const B=this._document.body;B.addEventListener("pointerdown",this._pointerDownListener,!0),B.addEventListener("click",this._clickListener,!0),B.addEventListener("auxclick",this._clickListener,!0),B.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=B.style.cursor,B.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const S=this._document.body;S.removeEventListener("pointerdown",this._pointerDownListener,!0),S.removeEventListener("click",this._clickListener,!0),S.removeEventListener("auxclick",this._clickListener,!0),S.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(S.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(_.K0),A.LFG(Q.t4))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Bt=(()=>{class ne{constructor(S,B){this._platform=B,this._document=S}ngOnDestroy(){var S;null==(S=this._containerElement)||S.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const S="cdk-overlay-container";if(this._platform.isBrowser||(0,Q.Oy)()){const te=this._document.querySelectorAll(`.${S}[platform="server"], .${S}[platform="test"]`);for(let ie=0;ie<te.length;ie++)te[ie].remove()}const B=this._document.createElement("div");B.classList.add(S),(0,Q.Oy)()?B.setAttribute("platform","test"):this._platform.isBrowser||B.setAttribute("platform","server"),this._document.body.appendChild(B),this._containerElement=B}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(_.K0),A.LFG(Q.t4))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();class Yt{constructor(M,S,B,te,ie,Ue,He,et,pt){this._portalOutlet=M,this._host=S,this._pane=B,this._config=te,this._ngZone=ie,this._keyboardDispatcher=Ue,this._document=He,this._location=et,this._outsideClickDispatcher=pt,this._backdropElement=null,this._backdropClick=new O.xQ,this._attachments=new O.xQ,this._detachments=new O.xQ,this._locationChanges=G.w.EMPTY,this._backdropClickHandler=wt=>this._backdropClick.next(wt),this._keydownEvents=new O.xQ,this._outsidePointerEvents=new O.xQ,te.scrollStrategy&&(this._scrollStrategy=te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(M){let S=this._portalOutlet.attach(M);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),S}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const M=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),M}dispose(){var S;const M=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null==(S=this._host)||S.remove(),this._previousHostParent=this._pane=this._host=null,M&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(M){M!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=M,this.hasAttached()&&(M.attach(this),this.updatePosition()))}updateSize(M){this._config=gt(gt({},this._config),M),this._updateElementSize()}setDirection(M){this._config=ei(gt({},this._config),{direction:M}),this._updateElementDirection()}addPanelClass(M){this._pane&&this._toggleClasses(this._pane,M,!0)}removePanelClass(M){this._pane&&this._toggleClasses(this._pane,M,!1)}getDirection(){const M=this._config.direction;return M?"string"==typeof M?M:M.value:"ltr"}updateScrollStrategy(M){M!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=M,this.hasAttached()&&(M.attach(this),M.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const M=this._pane.style;M.width=(0,E.HM)(this._config.width),M.height=(0,E.HM)(this._config.height),M.minWidth=(0,E.HM)(this._config.minWidth),M.minHeight=(0,E.HM)(this._config.minHeight),M.maxWidth=(0,E.HM)(this._config.maxWidth),M.maxHeight=(0,E.HM)(this._config.maxHeight)}_togglePointerEvents(M){this._pane.style.pointerEvents=M?"":"none"}_attachBackdrop(){const M="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(M)})}):this._backdropElement.classList.add(M)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const M=this._backdropElement;if(!M)return;let S;const B=()=>{M&&(M.removeEventListener("click",this._backdropClickHandler),M.removeEventListener("transitionend",B),this._disposeBackdrop(M)),this._config.backdropClass&&this._toggleClasses(M,this._config.backdropClass,!1),clearTimeout(S)};M.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{M.addEventListener("transitionend",B)}),M.style.pointerEvents="none",S=this._ngZone.runOutsideAngular(()=>setTimeout(B,500))}_toggleClasses(M,S,B){const te=(0,E.Eq)(S||[]).filter(ie=>!!ie);te.length&&(B?M.classList.add(...te):M.classList.remove(...te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const M=this._ngZone.onStable.pipe((0,q.R)((0,T.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),M.unsubscribe())})})}_disposeScrollStrategy(){const M=this._scrollStrategy;M&&(M.disable(),M.detach&&M.detach())}_disposeBackdrop(M){M&&(M.remove(),this._backdropElement===M&&(this._backdropElement=null))}}const bt="cdk-overlay-connected-position-bounding-box",lt=/([A-Za-z%]+)$/;class Ye{constructor(M,S,B,te,ie){this._viewportRuler=S,this._document=B,this._platform=te,this._overlayContainer=ie,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new O.xQ,this._resizeSubscription=G.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(M)}get positions(){return this._preferredPositions}attach(M){this._validatePositions(),M.hostElement.classList.add(bt),this._overlayRef=M,this._boundingBox=M.hostElement,this._pane=M.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const M=this._originRect,S=this._overlayRect,B=this._viewportRect,te=[];let ie;for(let Ue of this._preferredPositions){let He=this._getOriginPoint(M,Ue),et=this._getOverlayPoint(He,S,Ue),pt=this._getOverlayFit(et,S,B,Ue);if(pt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ue,He);this._canFitWithFlexibleDimensions(pt,et,B)?te.push({position:Ue,origin:He,overlayRect:S,boundingBoxRect:this._calculateBoundingBoxRect(He,Ue)}):(!ie||ie.overlayFit.visibleArea<pt.visibleArea)&&(ie={overlayFit:pt,overlayPoint:et,originPoint:He,position:Ue,overlayRect:S})}if(te.length){let Ue=null,He=-1;for(const et of te){const pt=et.boundingBoxRect.width*et.boundingBoxRect.height*(et.position.weight||1);pt>He&&(He=pt,Ue=et)}return this._isPushed=!1,void this._applyPosition(Ue.position,Ue.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ie.position,ie.originPoint);this._applyPosition(ie.position,ie.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&De(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(bt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const M=this._lastPosition||this._preferredPositions[0],S=this._getOriginPoint(this._originRect,M);this._applyPosition(M,S)}}withScrollableContainers(M){return this._scrollables=M,this}withPositions(M){return this._preferredPositions=M,-1===M.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(M){return this._viewportMargin=M,this}withFlexibleDimensions(M=!0){return this._hasFlexibleDimensions=M,this}withGrowAfterOpen(M=!0){return this._growAfterOpen=M,this}withPush(M=!0){return this._canPush=M,this}withLockedPosition(M=!0){return this._positionLocked=M,this}setOrigin(M){return this._origin=M,this}withDefaultOffsetX(M){return this._offsetX=M,this}withDefaultOffsetY(M){return this._offsetY=M,this}withTransformOriginOn(M){return this._transformOriginSelector=M,this}_getOriginPoint(M,S){let B,te;if("center"==S.originX)B=M.left+M.width/2;else{const ie=this._isRtl()?M.right:M.left,Ue=this._isRtl()?M.left:M.right;B="start"==S.originX?ie:Ue}return te="center"==S.originY?M.top+M.height/2:"top"==S.originY?M.top:M.bottom,{x:B,y:te}}_getOverlayPoint(M,S,B){let te,ie;return te="center"==B.overlayX?-S.width/2:"start"===B.overlayX?this._isRtl()?-S.width:0:this._isRtl()?0:-S.width,ie="center"==B.overlayY?-S.height/2:"top"==B.overlayY?0:-S.height,{x:M.x+te,y:M.y+ie}}_getOverlayFit(M,S,B,te){const ie=Te(S);let{x:Ue,y:He}=M,et=this._getOffset(te,"x"),pt=this._getOffset(te,"y");et&&(Ue+=et),pt&&(He+=pt);let It=0-He,xt=He+ie.height-B.height,Mt=this._subtractOverflows(ie.width,0-Ue,Ue+ie.width-B.width),yt=this._subtractOverflows(ie.height,It,xt),Ot=Mt*yt;return{visibleArea:Ot,isCompletelyWithinViewport:ie.width*ie.height===Ot,fitsInViewportVertically:yt===ie.height,fitsInViewportHorizontally:Mt==ie.width}}_canFitWithFlexibleDimensions(M,S,B){if(this._hasFlexibleDimensions){const te=B.bottom-S.y,ie=B.right-S.x,Ue=X(this._overlayRef.getConfig().minHeight),He=X(this._overlayRef.getConfig().minWidth),pt=M.fitsInViewportHorizontally||null!=He&&He<=ie;return(M.fitsInViewportVertically||null!=Ue&&Ue<=te)&&pt}return!1}_pushOverlayOnScreen(M,S,B){if(this._previousPushAmount&&this._positionLocked)return{x:M.x+this._previousPushAmount.x,y:M.y+this._previousPushAmount.y};const te=Te(S),ie=this._viewportRect,Ue=Math.max(M.x+te.width-ie.width,0),He=Math.max(M.y+te.height-ie.height,0),et=Math.max(ie.top-B.top-M.y,0),pt=Math.max(ie.left-B.left-M.x,0);let wt=0,Ut=0;return wt=te.width<=ie.width?pt||-Ue:M.x<this._viewportMargin?ie.left-B.left-M.x:0,Ut=te.height<=ie.height?et||-He:M.y<this._viewportMargin?ie.top-B.top-M.y:0,this._previousPushAmount={x:wt,y:Ut},{x:M.x+wt,y:M.y+Ut}}_applyPosition(M,S){if(this._setTransformOrigin(M),this._setOverlayElementStyles(S,M),this._setBoundingBoxStyles(S,M),M.panelClass&&this._addPanelClasses(M.panelClass),this._lastPosition=M,this._positionChanges.observers.length){const B=this._getScrollVisibility(),te=new We(M,B);this._positionChanges.next(te)}this._isInitialRender=!1}_setTransformOrigin(M){if(!this._transformOriginSelector)return;const S=this._boundingBox.querySelectorAll(this._transformOriginSelector);let B,te=M.overlayY;B="center"===M.overlayX?"center":this._isRtl()?"start"===M.overlayX?"right":"left":"start"===M.overlayX?"left":"right";for(let ie=0;ie<S.length;ie++)S[ie].style.transformOrigin=`${B} ${te}`}_calculateBoundingBoxRect(M,S){const B=this._viewportRect,te=this._isRtl();let ie,Ue,He,wt,Ut,It;if("top"===S.overlayY)Ue=M.y,ie=B.height-Ue+this._viewportMargin;else if("bottom"===S.overlayY)He=B.height-M.y+2*this._viewportMargin,ie=B.height-He+this._viewportMargin;else{const xt=Math.min(B.bottom-M.y+B.top,M.y),Mt=this._lastBoundingBoxSize.height;ie=2*xt,Ue=M.y-xt,ie>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(Ue=M.y-Mt/2)}if("end"===S.overlayX&&!te||"start"===S.overlayX&&te)It=B.width-M.x+this._viewportMargin,wt=M.x-this._viewportMargin;else if("start"===S.overlayX&&!te||"end"===S.overlayX&&te)Ut=M.x,wt=B.right-M.x;else{const xt=Math.min(B.right-M.x+B.left,M.x),Mt=this._lastBoundingBoxSize.width;wt=2*xt,Ut=M.x-xt,wt>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(Ut=M.x-Mt/2)}return{top:Ue,left:Ut,bottom:He,right:It,width:wt,height:ie}}_setBoundingBoxStyles(M,S){const B=this._calculateBoundingBoxRect(M,S);!this._isInitialRender&&!this._growAfterOpen&&(B.height=Math.min(B.height,this._lastBoundingBoxSize.height),B.width=Math.min(B.width,this._lastBoundingBoxSize.width));const te={};if(this._hasExactPosition())te.top=te.left="0",te.bottom=te.right=te.maxHeight=te.maxWidth="",te.width=te.height="100%";else{const ie=this._overlayRef.getConfig().maxHeight,Ue=this._overlayRef.getConfig().maxWidth;te.height=(0,E.HM)(B.height),te.top=(0,E.HM)(B.top),te.bottom=(0,E.HM)(B.bottom),te.width=(0,E.HM)(B.width),te.left=(0,E.HM)(B.left),te.right=(0,E.HM)(B.right),te.alignItems="center"===S.overlayX?"center":"end"===S.overlayX?"flex-end":"flex-start",te.justifyContent="center"===S.overlayY?"center":"bottom"===S.overlayY?"flex-end":"flex-start",ie&&(te.maxHeight=(0,E.HM)(ie)),Ue&&(te.maxWidth=(0,E.HM)(Ue))}this._lastBoundingBoxSize=B,De(this._boundingBox.style,te)}_resetBoundingBoxStyles(){De(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){De(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(M,S){const B={},te=this._hasExactPosition(),ie=this._hasFlexibleDimensions,Ue=this._overlayRef.getConfig();if(te){const wt=this._viewportRuler.getViewportScrollPosition();De(B,this._getExactOverlayY(S,M,wt)),De(B,this._getExactOverlayX(S,M,wt))}else B.position="static";let He="",et=this._getOffset(S,"x"),pt=this._getOffset(S,"y");et&&(He+=`translateX(${et}px) `),pt&&(He+=`translateY(${pt}px)`),B.transform=He.trim(),Ue.maxHeight&&(te?B.maxHeight=(0,E.HM)(Ue.maxHeight):ie&&(B.maxHeight="")),Ue.maxWidth&&(te?B.maxWidth=(0,E.HM)(Ue.maxWidth):ie&&(B.maxWidth="")),De(this._pane.style,B)}_getExactOverlayY(M,S,B){let te={top:"",bottom:""},ie=this._getOverlayPoint(S,this._overlayRect,M);this._isPushed&&(ie=this._pushOverlayOnScreen(ie,this._overlayRect,B));let Ue=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return ie.y-=Ue,"bottom"===M.overlayY?te.bottom=this._document.documentElement.clientHeight-(ie.y+this._overlayRect.height)+"px":te.top=(0,E.HM)(ie.y),te}_getExactOverlayX(M,S,B){let Ue,te={left:"",right:""},ie=this._getOverlayPoint(S,this._overlayRect,M);return this._isPushed&&(ie=this._pushOverlayOnScreen(ie,this._overlayRect,B)),Ue=this._isRtl()?"end"===M.overlayX?"left":"right":"end"===M.overlayX?"right":"left","right"===Ue?te.right=this._document.documentElement.clientWidth-(ie.x+this._overlayRect.width)+"px":te.left=(0,E.HM)(ie.x),te}_getScrollVisibility(){const M=this._getOriginRect(),S=this._pane.getBoundingClientRect(),B=this._scrollables.map(te=>te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ae(M,B),isOriginOutsideView:ge(M,B),isOverlayClipped:Ae(S,B),isOverlayOutsideView:ge(S,B)}}_subtractOverflows(M,...S){return S.reduce((B,te)=>B-Math.max(te,0),M)}_getNarrowedViewportRect(){const M=this._document.documentElement.clientWidth,S=this._document.documentElement.clientHeight,B=this._viewportRuler.getViewportScrollPosition();return{top:B.top+this._viewportMargin,left:B.left+this._viewportMargin,right:B.left+M-this._viewportMargin,bottom:B.top+S-this._viewportMargin,width:M-2*this._viewportMargin,height:S-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(M,S){return"x"===S?null==M.offsetX?this._offsetX:M.offsetX:null==M.offsetY?this._offsetY:M.offsetY}_validatePositions(){}_addPanelClasses(M){this._pane&&(0,E.Eq)(M).forEach(S=>{""!==S&&-1===this._appliedPanelClasses.indexOf(S)&&(this._appliedPanelClasses.push(S),this._pane.classList.add(S))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(M=>{this._pane.classList.remove(M)}),this._appliedPanelClasses=[])}_getOriginRect(){const M=this._origin;if(M instanceof A.SBq)return M.nativeElement.getBoundingClientRect();if(M instanceof Element)return M.getBoundingClientRect();const S=M.width||0,B=M.height||0;return{top:M.y,bottom:M.y+B,left:M.x,right:M.x+S,height:B,width:S}}}function De(ne,M){for(let S in M)M.hasOwnProperty(S)&&(ne[S]=M[S]);return ne}function X(ne){if("number"!=typeof ne&&null!=ne){const[M,S]=ne.split(lt);return S&&"px"!==S?null:parseFloat(M)}return ne||null}function Te(ne){return{top:Math.floor(ne.top),right:Math.floor(ne.right),bottom:Math.floor(ne.bottom),left:Math.floor(ne.left),width:Math.floor(ne.width),height:Math.floor(ne.height)}}const oe="cdk-global-overlay-wrapper";class le{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(M){const S=M.getConfig();this._overlayRef=M,this._width&&!S.width&&M.updateSize({width:this._width}),this._height&&!S.height&&M.updateSize({height:this._height}),M.hostElement.classList.add(oe),this._isDisposed=!1}top(M=""){return this._bottomOffset="",this._topOffset=M,this._alignItems="flex-start",this}left(M=""){return this._rightOffset="",this._leftOffset=M,this._justifyContent="flex-start",this}bottom(M=""){return this._topOffset="",this._bottomOffset=M,this._alignItems="flex-end",this}right(M=""){return this._leftOffset="",this._rightOffset=M,this._justifyContent="flex-end",this}width(M=""){return this._overlayRef?this._overlayRef.updateSize({width:M}):this._width=M,this}height(M=""){return this._overlayRef?this._overlayRef.updateSize({height:M}):this._height=M,this}centerHorizontally(M=""){return this.left(M),this._justifyContent="center",this}centerVertically(M=""){return this.top(M),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const M=this._overlayRef.overlayElement.style,S=this._overlayRef.hostElement.style,B=this._overlayRef.getConfig(),{width:te,height:ie,maxWidth:Ue,maxHeight:He}=B,et=!("100%"!==te&&"100vw"!==te||Ue&&"100%"!==Ue&&"100vw"!==Ue),pt=!("100%"!==ie&&"100vh"!==ie||He&&"100%"!==He&&"100vh"!==He);M.position=this._cssPosition,M.marginLeft=et?"0":this._leftOffset,M.marginTop=pt?"0":this._topOffset,M.marginBottom=this._bottomOffset,M.marginRight=this._rightOffset,et?S.justifyContent="flex-start":"center"===this._justifyContent?S.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?S.justifyContent="flex-end":"flex-end"===this._justifyContent&&(S.justifyContent="flex-start"):S.justifyContent=this._justifyContent,S.alignItems=pt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const M=this._overlayRef.overlayElement.style,S=this._overlayRef.hostElement,B=S.style;S.classList.remove(oe),B.justifyContent=B.alignItems=M.marginTop=M.marginBottom=M.marginLeft=M.marginRight=M.position="",this._overlayRef=null,this._isDisposed=!0}}let H=(()=>{class ne{constructor(S,B,te,ie){this._viewportRuler=S,this._document=B,this._platform=te,this._overlayContainer=ie}global(){return new le}flexibleConnectedTo(S){return new Ye(S,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(a.rL),A.LFG(_.K0),A.LFG(Q.t4),A.LFG(Bt))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),_e=0,be=(()=>{class ne{constructor(S,B,te,ie,Ue,He,et,pt,wt,Ut,It){this.scrollStrategies=S,this._overlayContainer=B,this._componentFactoryResolver=te,this._positionBuilder=ie,this._keyboardDispatcher=Ue,this._injector=He,this._ngZone=et,this._document=pt,this._directionality=wt,this._location=Ut,this._outsideClickDispatcher=It}create(S){const B=this._createHostElement(),te=this._createPaneElement(B),ie=this._createPortalOutlet(te),Ue=new Ve(S);return Ue.direction=Ue.direction||this._directionality.value,new Yt(ie,B,te,Ue,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(S){const B=this._document.createElement("div");return B.id="cdk-overlay-"+_e++,B.classList.add("cdk-overlay-pane"),S.appendChild(B),B}_createHostElement(){const S=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(S),S}_createPortalOutlet(S){return this._appRef||(this._appRef=this._injector.get(A.z2F)),new $.u0(S,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return ne.\u0275fac=function(S){return new(S||ne)(A.LFG(Ce),A.LFG(Bt),A.LFG(A._Vd),A.LFG(H),A.LFG(Kt),A.LFG(A.zs3),A.LFG(A.R0b),A.LFG(_.K0),A.LFG(P.Is),A.LFG(_.Ye),A.LFG(Dt))},ne.\u0275prov=A.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const fe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],J=new A.OlP("cdk-connected-overlay-scroll-strategy");let ue=(()=>{class ne{constructor(S){this.elementRef=S}}return ne.\u0275fac=function(S){return new(S||ne)(A.Y36(A.SBq))},ne.\u0275dir=A.lG2({type:ne,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),ne})(),Ne=(()=>{class ne{constructor(S,B,te,ie,Ue){this._overlay=S,this._dir=Ue,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=G.w.EMPTY,this._attachSubscription=G.w.EMPTY,this._detachSubscription=G.w.EMPTY,this._positionSubscription=G.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new A.vpe,this.positionChange=new A.vpe,this.attach=new A.vpe,this.detach=new A.vpe,this.overlayKeydown=new A.vpe,this.overlayOutsideClick=new A.vpe,this._templatePortal=new $.UE(B,te),this._scrollStrategyFactory=ie,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(S){this._offsetX=S,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(S){this._offsetY=S,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(S){this._hasBackdrop=(0,E.Ig)(S)}get lockPosition(){return this._lockPosition}set lockPosition(S){this._lockPosition=(0,E.Ig)(S)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(S){this._flexibleDimensions=(0,E.Ig)(S)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(S){this._growAfterOpen=(0,E.Ig)(S)}get push(){return this._push}set push(S){this._push=(0,E.Ig)(S)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(S){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),S.origin&&this.open&&this._position.apply()),S.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=fe);const S=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=S.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=S.detachments().subscribe(()=>this.detach.emit()),S.keydownEvents().subscribe(B=>{this.overlayKeydown.next(B),B.keyCode===ve.hY&&!this.disableClose&&!(0,ve.Vb)(B)&&(B.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(B=>{this.overlayOutsideClick.next(B)})}_buildConfig(){const S=this._position=this.positionStrategy||this._createPositionStrategy(),B=new Ve({direction:this._dir,positionStrategy:S,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(B.width=this.width),(this.height||0===this.height)&&(B.height=this.height),(this.minWidth||0===this.minWidth)&&(B.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(B.minHeight=this.minHeight),this.backdropClass&&(B.backdropClass=this.backdropClass),this.panelClass&&(B.panelClass=this.panelClass),B}_updatePositionStrategy(S){const B=this.positions.map(te=>({originX:te.originX,originY:te.originY,overlayX:te.overlayX,overlayY:te.overlayY,offsetX:te.offsetX||this.offsetX,offsetY:te.offsetY||this.offsetY,panelClass:te.panelClass||void 0}));return S.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(B).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const S=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(S),S}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ue?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(S=>{this.backdropClick.emit(S)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(ne,M=!1){return S=>S.lift(new j(ne,M))}(()=>this.positionChange.observers.length>0)).subscribe(S=>{this.positionChange.emit(S),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return ne.\u0275fac=function(S){return new(S||ne)(A.Y36(be),A.Y36(A.Rgc),A.Y36(A.s_b),A.Y36(J),A.Y36(P.Is,8))},ne.\u0275dir=A.lG2({type:ne,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[A.TTD]}),ne})();const ze={provide:J,deps:[be],useFactory:function(ne){return()=>ne.scrollStrategies.reposition()}};let ot=(()=>{class ne{}return ne.\u0275fac=function(S){return new(S||ne)},ne.\u0275mod=A.oAB({type:ne}),ne.\u0275inj=A.cJS({providers:[be,ze],imports:[[P.vT,$.eL,a.Cl],a.Cl]}),ne})()},928:(Qe,me,g)=>{"use strict";g.d(me,{t4:()=>E,ud:()=>Q,sA:()=>at,ht:()=>je,kV:()=>Se,Oy:()=>Ge,_i:()=>Z,qK:()=>O,i$:()=>k,Mq:()=>V});var a=g(3668),_=g(6019);let A;try{A="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(ye){A=!1}let P,E=(()=>{class ye{constructor(Ae){this._platformId=Ae,this.isBrowser=this._platformId?(0,_.NF)(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&&!A)&&"undefined"!=typeof CSS&&!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}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(a.LFG(a.Lbi))},ye.\u0275prov=a.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Q=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275mod=a.oAB({type:ye}),ye.\u0275inj=a.cJS({}),ye})();const $=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O(){if(P)return P;if("object"!=typeof document||!document)return P=new Set($),P;let ye=document.createElement("input");return P=new Set($.filter(ge=>(ye.setAttribute("type",ge),ye.type===ge))),P}let G,R,j,q;function k(ye){return function(){if(null==G&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>G=!0}))}finally{G=G||!1}return G}()?ye:!!ye.capture}function V(){if(null==j){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return j=!1,j;if("scrollBehavior"in document.documentElement.style)j=!0;else{const ye=Element.prototype.scrollTo;j=!!ye&&!/\{\s*\[native code\]\s*\}/.test(ye.toString())}}return j}function Z(){if("object"!=typeof document||!document)return 0;if(null==R){const ye=document.createElement("div"),ge=ye.style;ye.dir="rtl",ge.width="1px",ge.overflow="auto",ge.visibility="hidden",ge.pointerEvents="none",ge.position="absolute";const Ae=document.createElement("div"),Ee=Ae.style;Ee.width="2px",Ee.height="1px",ye.appendChild(Ae),document.body.appendChild(ye),R=0,0===ye.scrollLeft&&(ye.scrollLeft=1,R=0===ye.scrollLeft?1:2),ye.remove()}return R}function Se(ye){if(function(){if(null==q){const ye="undefined"!=typeof document?document.head:null;q=!(!ye||!ye.createShadowRoot&&!ye.attachShadow)}return q}()){const ge=ye.getRootNode?ye.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&ge instanceof ShadowRoot)return ge}return null}function je(){let ye="undefined"!=typeof document&&document?document.activeElement:null;for(;ye&&ye.shadowRoot;){const ge=ye.shadowRoot.activeElement;if(ge===ye)break;ye=ge}return ye}function at(ye){return ye.composedPath?ye.composedPath()[0]:ye.target}function Ge(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},5711:(Qe,me,g)=>{"use strict";g.d(me,{en:()=>j,Pl:()=>je,C5:()=>T,u0:()=>Z,eL:()=>Ge,UE:()=>k});var a=g(3668),_=g(6019);class G{attach(Ae){return this._attachedHost=Ae,Ae.attach(this)}detach(){let Ae=this._attachedHost;null!=Ae&&(this._attachedHost=null,Ae.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ae){this._attachedHost=Ae}}class T extends G{constructor(Ae,Ee,Ce,Ve){super(),this.component=Ae,this.viewContainerRef=Ee,this.injector=Ce,this.componentFactoryResolver=Ve}}class k extends G{constructor(Ae,Ee,Ce){super(),this.templateRef=Ae,this.viewContainerRef=Ee,this.context=Ce}get origin(){return this.templateRef.elementRef}attach(Ae,Ee=this.context){return this.context=Ee,super.attach(Ae)}detach(){return this.context=void 0,super.detach()}}class R extends G{constructor(Ae){super(),this.element=Ae instanceof a.SBq?Ae.nativeElement:Ae}}class j{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Ae){return Ae instanceof T?(this._attachedPortal=Ae,this.attachComponentPortal(Ae)):Ae instanceof k?(this._attachedPortal=Ae,this.attachTemplatePortal(Ae)):this.attachDomPortal&&Ae instanceof R?(this._attachedPortal=Ae,this.attachDomPortal(Ae)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Ae){this._disposeFn=Ae}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Z extends j{constructor(Ae,Ee,Ce,Ve,xe){super(),this.outletElement=Ae,this._componentFactoryResolver=Ee,this._appRef=Ce,this._defaultInjector=Ve,this.attachDomPortal=qe=>{const We=qe.element,st=this._document.createComment("dom-portal");We.parentNode.insertBefore(st,We),this.outletElement.appendChild(We),this._attachedPortal=qe,super.setDisposeFn(()=>{st.parentNode&&st.parentNode.replaceChild(We,st)})},this._document=xe}attachComponentPortal(Ae){const Ce=(Ae.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ae.component);let Ve;return Ae.viewContainerRef?(Ve=Ae.viewContainerRef.createComponent(Ce,Ae.viewContainerRef.length,Ae.injector||Ae.viewContainerRef.injector),this.setDisposeFn(()=>Ve.destroy())):(Ve=Ce.create(Ae.injector||this._defaultInjector),this._appRef.attachView(Ve.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ve.hostView),Ve.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ve)),this._attachedPortal=Ae,Ve}attachTemplatePortal(Ae){let Ee=Ae.viewContainerRef,Ce=Ee.createEmbeddedView(Ae.templateRef,Ae.context);return Ce.rootNodes.forEach(Ve=>this.outletElement.appendChild(Ve)),Ce.detectChanges(),this.setDisposeFn(()=>{let Ve=Ee.indexOf(Ce);-1!==Ve&&Ee.remove(Ve)}),this._attachedPortal=Ae,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Ae){return Ae.hostView.rootNodes[0]}}let je=(()=>{class ge extends j{constructor(Ee,Ce,Ve){super(),this._componentFactoryResolver=Ee,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new a.vpe,this.attachDomPortal=xe=>{const qe=xe.element,We=this._document.createComment("dom-portal");xe.setAttachedHost(this),qe.parentNode.insertBefore(We,qe),this._getRootNode().appendChild(qe),this._attachedPortal=xe,super.setDisposeFn(()=>{We.parentNode&&We.parentNode.replaceChild(qe,We)})},this._document=Ve}get portal(){return this._attachedPortal}set portal(Ee){this.hasAttached()&&!Ee&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ee&&super.attach(Ee),this._attachedPortal=Ee)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Ee){Ee.setAttachedHost(this);const Ce=null!=Ee.viewContainerRef?Ee.viewContainerRef:this._viewContainerRef,xe=(Ee.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ee.component),qe=Ce.createComponent(xe,Ce.length,Ee.injector||Ce.injector);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(qe.hostView.rootNodes[0]),super.setDisposeFn(()=>qe.destroy()),this._attachedPortal=Ee,this._attachedRef=qe,this.attached.emit(qe),qe}attachTemplatePortal(Ee){Ee.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(Ee.templateRef,Ee.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ee,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_getRootNode(){const Ee=this._viewContainerRef.element.nativeElement;return Ee.nodeType===Ee.ELEMENT_NODE?Ee:Ee.parentNode}}return ge.\u0275fac=function(Ee){return new(Ee||ge)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36(_.K0))},ge.\u0275dir=a.lG2({type:ge,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.qOj]}),ge})(),Ge=(()=>{class ge{}return ge.\u0275fac=function(Ee){return new(Ee||ge)},ge.\u0275mod=a.oAB({type:ge}),ge.\u0275inj=a.cJS({}),ge})()},6827:(Qe,me,g)=>{"use strict";g.d(me,{PQ:()=>Kt,ZD:()=>X,mF:()=>Xt,Cl:()=>Te,rL:()=>Bt});var a=g(348),_=g(3668),A=g(6339),Q=g(5192);new class extends Q.v{flush(le){this.active=!0,this.scheduled=void 0;const{actions:H}=this;let _e,be=-1,fe=H.length;le=le||H.shift();do{if(_e=le.execute(le.state,le.delay))break}while(++be<fe&&(le=H.shift()));if(this.active=!1,_e){for(;++be<fe&&(le=H.shift());)le.unsubscribe();throw _e}}}(class extends A.o{constructor(le,H){super(le,H),this.scheduler=le,this.work=H}requestAsyncId(le,H,_e=0){return null!==_e&&_e>0?super.requestAsyncId(le,H,_e):(le.actions.push(this),le.scheduled||(le.scheduled=requestAnimationFrame(()=>le.flush(null))))}recycleAsyncId(le,H,_e=0){if(null!==_e&&_e>0||null===_e&&this.delay>0)return super.recycleAsyncId(le,H,_e);0===le.actions.length&&(cancelAnimationFrame(H),le.scheduled=void 0)}});var G=g(8095),T=g(2411),k=g(5548),R=g(6087),V=(g(2907),g(8178)),Z=g(8345);class ve{constructor(le){this.durationSelector=le}call(le,H){return H.subscribe(new Se(le,this.durationSelector))}}class Se extends Z.Ds{constructor(le,H){super(le),this.durationSelector=H,this.hasValue=!1}_next(le){if(this.value=le,this.hasValue=!0,!this.throttled){let H;try{const{durationSelector:be}=this;H=be(le)}catch(be){return this.destination.error(be)}const _e=(0,Z.ft)(H,new Z.IY(this));!_e||_e.closed?this.clearThrottle():this.add(this.throttled=_e)}}clearThrottle(){const{value:le,hasValue:H,throttled:_e}=this;_e&&(this.remove(_e),this.throttled=void 0,_e.unsubscribe()),H&&(this.value=void 0,this.hasValue=!1,this.destination.next(le))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var je=g(9279);function at(oe,le=V.P){return function(oe){return function(H){return H.lift(new ve(oe))}}(()=>(0,je.H)(oe,le))}var Ge=g(8735),ye=g(8805),ge=g(928),Ae=g(6019),Ee=g(8290);let Xt=(()=>{class oe{constructor(H,_e,be){this._ngZone=H,this._platform=_e,this._scrolled=new G.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=be}register(H){this.scrollContainers.has(H)||this.scrollContainers.set(H,H.elementScrolled().subscribe(()=>this._scrolled.next(H)))}deregister(H){const _e=this.scrollContainers.get(H);_e&&(_e.unsubscribe(),this.scrollContainers.delete(H))}scrolled(H=20){return this._platform.isBrowser?new k.y(_e=>{this._globalSubscription||this._addGlobalListener();const be=H>0?this._scrolled.pipe(at(H)).subscribe(_e):this._scrolled.subscribe(_e);return this._scrolledCount++,()=>{be.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((H,_e)=>this.deregister(_e)),this._scrolled.complete()}ancestorScrolled(H,_e){const be=this.getAncestorScrollContainers(H);return this.scrolled(_e).pipe((0,Ge.h)(fe=>!fe||be.indexOf(fe)>-1))}getAncestorScrollContainers(H){const _e=[];return this.scrollContainers.forEach((be,fe)=>{this._scrollableContainsElement(fe,H)&&_e.push(fe)}),_e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(H,_e){let be=(0,a.fI)(_e),fe=H.getElementRef().nativeElement;do{if(be==fe)return!0}while(be=be.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const H=this._getWindow();return(0,R.R)(H.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return oe.\u0275fac=function(H){return new(H||oe)(_.LFG(_.R0b),_.LFG(ge.t4),_.LFG(Ae.K0,8))},oe.\u0275prov=_.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Kt=(()=>{class oe{constructor(H,_e,be,fe){this.elementRef=H,this.scrollDispatcher=_e,this.ngZone=be,this.dir=fe,this._destroyed=new G.xQ,this._elementScrolled=new k.y(J=>this.ngZone.runOutsideAngular(()=>(0,R.R)(this.elementRef.nativeElement,"scroll").pipe((0,ye.R)(this._destroyed)).subscribe(J)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(H){const _e=this.elementRef.nativeElement,be=this.dir&&"rtl"==this.dir.value;null==H.left&&(H.left=be?H.end:H.start),null==H.right&&(H.right=be?H.start:H.end),null!=H.bottom&&(H.top=_e.scrollHeight-_e.clientHeight-H.bottom),be&&0!=(0,ge._i)()?(null!=H.left&&(H.right=_e.scrollWidth-_e.clientWidth-H.left),2==(0,ge._i)()?H.left=H.right:1==(0,ge._i)()&&(H.left=H.right?-H.right:H.right)):null!=H.right&&(H.left=_e.scrollWidth-_e.clientWidth-H.right),this._applyScrollToOptions(H)}_applyScrollToOptions(H){const _e=this.elementRef.nativeElement;(0,ge.Mq)()?_e.scrollTo(H):(null!=H.top&&(_e.scrollTop=H.top),null!=H.left&&(_e.scrollLeft=H.left))}measureScrollOffset(H){const _e="left",fe=this.elementRef.nativeElement;if("top"==H)return fe.scrollTop;if("bottom"==H)return fe.scrollHeight-fe.clientHeight-fe.scrollTop;const J=this.dir&&"rtl"==this.dir.value;return"start"==H?H=J?"right":_e:"end"==H&&(H=J?_e:"right"),J&&2==(0,ge._i)()?H==_e?fe.scrollWidth-fe.clientWidth-fe.scrollLeft:fe.scrollLeft:J&&1==(0,ge._i)()?H==_e?fe.scrollLeft+fe.scrollWidth-fe.clientWidth:-fe.scrollLeft:H==_e?fe.scrollLeft:fe.scrollWidth-fe.clientWidth-fe.scrollLeft}}return oe.\u0275fac=function(H){return new(H||oe)(_.Y36(_.SBq),_.Y36(Xt),_.Y36(_.R0b),_.Y36(Ee.Is,8))},oe.\u0275dir=_.lG2({type:oe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),oe})(),Bt=(()=>{class oe{constructor(H,_e,be){this._platform=H,this._change=new G.xQ,this._changeListener=fe=>{this._change.next(fe)},this._document=be,_e.runOutsideAngular(()=>{if(H.isBrowser){const fe=this._getWindow();fe.addEventListener("resize",this._changeListener),fe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const H=this._getWindow();H.removeEventListener("resize",this._changeListener),H.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const H={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),H}getViewportRect(){const H=this.getViewportScrollPosition(),{width:_e,height:be}=this.getViewportSize();return{top:H.top,left:H.left,bottom:H.top+be,right:H.left+_e,height:be,width:_e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const H=this._document,_e=this._getWindow(),be=H.documentElement,fe=be.getBoundingClientRect();return{top:-fe.top||H.body.scrollTop||_e.scrollY||be.scrollTop||0,left:-fe.left||H.body.scrollLeft||_e.scrollX||be.scrollLeft||0}}change(H=20){return H>0?this._change.pipe(at(H)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const H=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:H.innerWidth,height:H.innerHeight}:{width:0,height:0}}}return oe.\u0275fac=function(H){return new(H||oe)(_.LFG(ge.t4),_.LFG(_.R0b),_.LFG(Ae.K0,8))},oe.\u0275prov=_.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),X=(()=>{class oe{}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275mod=_.oAB({type:oe}),oe.\u0275inj=_.cJS({}),oe})(),Te=(()=>{class oe{}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275mod=_.oAB({type:oe}),oe.\u0275inj=_.cJS({imports:[[Ee.vT,ge.ud,X],Ee.vT,X]}),oe})()},6019:(Qe,me,g)=>{"use strict";g.d(me,{mr:()=>je,Ov:()=>Ei,ez:()=>Di,H9:()=>ii,K0:()=>$,uU:()=>Os,JJ:()=>ms,Do:()=>Ge,Nd:()=>hi,V_:()=>T,Ye:()=>ye,S$:()=>ve,mk:()=>Rn,sg:()=>Un,O5:()=>ai,PC:()=>Fn,RF:()=>Pn,n9:()=>An,ED:()=>xn,tP:()=>es,b0:()=>at,Zx:()=>Fs,lw:()=>O,EM:()=>rr,JF:()=>vs,NF:()=>fi,w_:()=>P,bD:()=>Hi,q:()=>A,Mx:()=>gi,HT:()=>Q});var a=g(3668);let _=null;function A(){return _}function Q(D){_||(_=D)}class P{}const $=new a.OlP("DocumentToken");let O=(()=>{class D{historyGo(o){throw new Error("Not implemented")}}return D.\u0275fac=function(o){return new(o||D)},D.\u0275prov=a.Yz7({token:D,factory:function(){return(0,a.LFG)(k)},providedIn:"platform"}),D})();const T=new a.OlP("Location Initialized");let k=(()=>{class D extends O{constructor(o){super(),this._doc=o,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(o){const c=A().getGlobalEventTarget(this._doc,"window");return c.addEventListener("popstate",o,!1),()=>c.removeEventListener("popstate",o)}onHashChange(o){const c=A().getGlobalEventTarget(this._doc,"window");return c.addEventListener("hashchange",o,!1),()=>c.removeEventListener("hashchange",o)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(o){this.location.pathname=o}pushState(o,c,C){R()?this._history.pushState(o,c,C):this.location.hash=C}replaceState(o,c,C){R()?this._history.replaceState(o,c,C):this.location.hash=C}forward(){this._history.forward()}back(){this._history.back()}historyGo(o=0){this._history.go(o)}getState(){return this._history.state}}return D.\u0275fac=function(o){return new(o||D)(a.LFG($))},D.\u0275prov=a.Yz7({token:D,factory:function(){return new k((0,a.LFG)($))},providedIn:"platform"}),D})();function R(){return!!window.history.pushState}function V(D,h){if(0==D.length)return h;if(0==h.length)return D;let o=0;return D.endsWith("/")&&o++,h.startsWith("/")&&o++,2==o?D+h.substring(1):1==o?D+h:D+"/"+h}function Z(D){const h=D.match(/#|\?|$/),o=h&&h.index||D.length;return D.slice(0,o-("/"===D[o-1]?1:0))+D.slice(o)}function q(D){return D&&"?"!==D[0]?"?"+D:D}let ve=(()=>{class D{historyGo(o){throw new Error("Not implemented")}}return D.\u0275fac=function(o){return new(o||D)},D.\u0275prov=a.Yz7({token:D,factory:function(){return function(D){const h=(0,a.LFG)($).location;return new at((0,a.LFG)(O),h&&h.origin||"")}()},providedIn:"root"}),D})();const je=new a.OlP("appBaseHref");let at=(()=>{class D extends ve{constructor(o,c){if(super(),this._platformLocation=o,this._removeListenerFns=[],null==c&&(c=this._platformLocation.getBaseHrefFromDOM()),null==c)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=c}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}getBaseHref(){return this._baseHref}prepareExternalUrl(o){return V(this._baseHref,o)}path(o=!1){const c=this._platformLocation.pathname+q(this._platformLocation.search),C=this._platformLocation.hash;return C&&o?`${c}${C}`:c}pushState(o,c,C,ce){const Be=this.prepareExternalUrl(C+q(ce));this._platformLocation.pushState(o,c,Be)}replaceState(o,c,C,ce){const Be=this.prepareExternalUrl(C+q(ce));this._platformLocation.replaceState(o,c,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(o=0){var c,C;null==(C=(c=this._platformLocation).historyGo)||C.call(c,o)}}return D.\u0275fac=function(o){return new(o||D)(a.LFG(O),a.LFG(je,8))},D.\u0275prov=a.Yz7({token:D,factory:D.\u0275fac}),D})(),Ge=(()=>{class D extends ve{constructor(o,c){super(),this._platformLocation=o,this._baseHref="",this._removeListenerFns=[],null!=c&&(this._baseHref=c)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}getBaseHref(){return this._baseHref}path(o=!1){let c=this._platformLocation.hash;return null==c&&(c="#"),c.length>0?c.substring(1):c}prepareExternalUrl(o){const c=V(this._baseHref,o);return c.length>0?"#"+c:c}pushState(o,c,C,ce){let Be=this.prepareExternalUrl(C+q(ce));0==Be.length&&(Be=this._platformLocation.pathname),this._platformLocation.pushState(o,c,Be)}replaceState(o,c,C,ce){let Be=this.prepareExternalUrl(C+q(ce));0==Be.length&&(Be=this._platformLocation.pathname),this._platformLocation.replaceState(o,c,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(o=0){var c,C;null==(C=(c=this._platformLocation).historyGo)||C.call(c,o)}}return D.\u0275fac=function(o){return new(o||D)(a.LFG(O),a.LFG(je,8))},D.\u0275prov=a.Yz7({token:D,factory:D.\u0275fac}),D})(),ye=(()=>{class D{constructor(o,c){this._subject=new a.vpe,this._urlChangeListeners=[],this._platformStrategy=o;const C=this._platformStrategy.getBaseHref();this._platformLocation=c,this._baseHref=Z(Ee(C)),this._platformStrategy.onPopState(ce=>{this._subject.emit({url:this.path(!0),pop:!0,state:ce.state,type:ce.type})})}path(o=!1){return this.normalize(this._platformStrategy.path(o))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(o,c=""){return this.path()==this.normalize(o+q(c))}normalize(o){return D.stripTrailingSlash(function(D,h){return D&&h.startsWith(D)?h.substring(D.length):h}(this._baseHref,Ee(o)))}prepareExternalUrl(o){return o&&"/"!==o[0]&&(o="/"+o),this._platformStrategy.prepareExternalUrl(o)}go(o,c="",C=null){this._platformStrategy.pushState(C,"",o,c),this._notifyUrlChangeListeners(this.prepareExternalUrl(o+q(c)),C)}replaceState(o,c="",C=null){this._platformStrategy.replaceState(C,"",o,c),this._notifyUrlChangeListeners(this.prepareExternalUrl(o+q(c)),C)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(o=0){var c,C;null==(C=(c=this._platformStrategy).historyGo)||C.call(c,o)}onUrlChange(o){this._urlChangeListeners.push(o),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(c=>{this._notifyUrlChangeListeners(c.url,c.state)}))}_notifyUrlChangeListeners(o="",c){this._urlChangeListeners.forEach(C=>C(o,c))}subscribe(o,c,C){return this._subject.subscribe({next:o,error:c,complete:C})}}return D.normalizeQueryParams=q,D.joinWithSlash=V,D.stripTrailingSlash=Z,D.\u0275fac=function(o){return new(o||D)(a.LFG(ve),a.LFG(O))},D.\u0275prov=a.Yz7({token:D,factory:function(){return new ye((0,a.LFG)(ve),(0,a.LFG)(O))},providedIn:"root"}),D})();function Ee(D){return D.replace(/\/index.html$/,"")}const Ce={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ve=(()=>((Ve=Ve||{})[Ve.Decimal=0]="Decimal",Ve[Ve.Percent=1]="Percent",Ve[Ve.Currency=2]="Currency",Ve[Ve.Scientific=3]="Scientific",Ve))(),xe=(()=>((xe=xe||{})[xe.Zero=0]="Zero",xe[xe.One=1]="One",xe[xe.Two=2]="Two",xe[xe.Few=3]="Few",xe[xe.Many=4]="Many",xe[xe.Other=5]="Other",xe))(),qe=(()=>((qe=qe||{})[qe.Format=0]="Format",qe[qe.Standalone=1]="Standalone",qe))(),We=(()=>((We=We||{})[We.Narrow=0]="Narrow",We[We.Abbreviated=1]="Abbreviated",We[We.Wide=2]="Wide",We[We.Short=3]="Short",We))(),st=(()=>((st=st||{})[st.Short=0]="Short",st[st.Medium=1]="Medium",st[st.Long=2]="Long",st[st.Full=3]="Full",st))(),rt=(()=>((rt=rt||{})[rt.Decimal=0]="Decimal",rt[rt.Group=1]="Group",rt[rt.List=2]="List",rt[rt.PercentSign=3]="PercentSign",rt[rt.PlusSign=4]="PlusSign",rt[rt.MinusSign=5]="MinusSign",rt[rt.Exponential=6]="Exponential",rt[rt.SuperscriptingExponent=7]="SuperscriptingExponent",rt[rt.PerMille=8]="PerMille",rt[rt.Infinity=9]="Infinity",rt[rt.NaN=10]="NaN",rt[rt.TimeSeparator=11]="TimeSeparator",rt[rt.CurrencyDecimal=12]="CurrencyDecimal",rt[rt.CurrencyGroup=13]="CurrencyGroup",rt))();function De(D,h){return ot((0,a.cg1)(D)[a.wAp.DateFormat],h)}function X(D,h){return ot((0,a.cg1)(D)[a.wAp.TimeFormat],h)}function Te(D,h){return ot((0,a.cg1)(D)[a.wAp.DateTimeFormat],h)}function oe(D,h){const o=(0,a.cg1)(D),c=o[a.wAp.NumberSymbols][h];if(void 0===c){if(h===rt.CurrencyDecimal)return o[a.wAp.NumberSymbols][rt.Decimal];if(h===rt.CurrencyGroup)return o[a.wAp.NumberSymbols][rt.Group]}return c}function le(D,h){return(0,a.cg1)(D)[a.wAp.NumberFormats][h]}const J=a.kL8;function ue(D){if(!D[a.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${D[a.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ot(D,h){for(let o=h;o>-1;o--)if(void 0!==D[o])return D[o];throw new Error("Locale data API: locale data undefined")}function Ie(D){const[h,o]=D.split(":");return{hours:+h,minutes:+o}}const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,te={},ie=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ue=(()=>((Ue=Ue||{})[Ue.Short=0]="Short",Ue[Ue.ShortGMT=1]="ShortGMT",Ue[Ue.Long=2]="Long",Ue[Ue.Extended=3]="Extended",Ue))(),He=(()=>((He=He||{})[He.FullYear=0]="FullYear",He[He.Month=1]="Month",He[He.Date=2]="Date",He[He.Hours=3]="Hours",He[He.Minutes=4]="Minutes",He[He.Seconds=5]="Seconds",He[He.FractionalSeconds=6]="FractionalSeconds",He[He.Day=7]="Day",He))(),et=(()=>((et=et||{})[et.DayPeriods=0]="DayPeriods",et[et.Days=1]="Days",et[et.Months=2]="Months",et[et.Eras=3]="Eras",et))();function pt(D,h,o,c){let C=function(D){if(Fe(D))return D;if("number"==typeof D&&!isNaN(D))return new Date(D);if("string"==typeof D){if(D=D.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(D)){const[C,ce=1,Be=1]=D.split("-").map(ht=>+ht);return wt(C,ce-1,Be)}const o=parseFloat(D);if(!isNaN(D-o))return new Date(o);let c;if(c=D.match(B))return function(D){const h=new Date(0);let o=0,c=0;const C=D[8]?h.setUTCFullYear:h.setFullYear,ce=D[8]?h.setUTCHours:h.setHours;D[9]&&(o=Number(D[9]+D[10]),c=Number(D[9]+D[11])),C.call(h,Number(D[1]),Number(D[2])-1,Number(D[3]));const Be=Number(D[4]||0)-o,ht=Number(D[5]||0)-c,Rt=Number(D[6]||0),sn=Math.floor(1e3*parseFloat("0."+(D[7]||0)));return ce.call(h,Be,ht,Rt,sn),h}(c)}const h=new Date(D);if(!Fe(h))throw new Error(`Unable to convert "${D}" into a date`);return h}(D);h=Ut(o,h)||h;let ht,Be=[];for(;h;){if(ht=ie.exec(h),!ht){Be.push(h);break}{Be=Be.concat(ht.slice(1));const an=Be.pop();if(!an)break;h=an}}let Rt=C.getTimezoneOffset();c&&(Rt=on(c,Rt),C=function(D,h,o){const C=D.getTimezoneOffset();return function(D,h){return(D=new Date(D.getTime())).setMinutes(D.getMinutes()+h),D}(D,-1*(on(h,C)-C))}(C,c));let sn="";return Be.forEach(an=>{const tn=function(D){if(it[D])return it[D];let h;switch(D){case"G":case"GG":case"GGG":h=Gt(et.Eras,We.Abbreviated);break;case"GGGG":h=Gt(et.Eras,We.Wide);break;case"GGGGG":h=Gt(et.Eras,We.Narrow);break;case"y":h=yt(He.FullYear,1,0,!1,!0);break;case"yy":h=yt(He.FullYear,2,0,!0,!0);break;case"yyy":h=yt(He.FullYear,3,0,!1,!0);break;case"yyyy":h=yt(He.FullYear,4,0,!1,!0);break;case"Y":h=Pe(1);break;case"YY":h=Pe(2,!0);break;case"YYY":h=Pe(3);break;case"YYYY":h=Pe(4);break;case"M":case"L":h=yt(He.Month,1,1);break;case"MM":case"LL":h=yt(He.Month,2,1);break;case"MMM":h=Gt(et.Months,We.Abbreviated);break;case"MMMM":h=Gt(et.Months,We.Wide);break;case"MMMMM":h=Gt(et.Months,We.Narrow);break;case"LLL":h=Gt(et.Months,We.Abbreviated,qe.Standalone);break;case"LLLL":h=Gt(et.Months,We.Wide,qe.Standalone);break;case"LLLLL":h=Gt(et.Months,We.Narrow,qe.Standalone);break;case"w":h=re(1);break;case"ww":h=re(2);break;case"W":h=re(1,!0);break;case"d":h=yt(He.Date,1);break;case"dd":h=yt(He.Date,2);break;case"c":case"cc":h=yt(He.Day,1);break;case"ccc":h=Gt(et.Days,We.Abbreviated,qe.Standalone);break;case"cccc":h=Gt(et.Days,We.Wide,qe.Standalone);break;case"ccccc":h=Gt(et.Days,We.Narrow,qe.Standalone);break;case"cccccc":h=Gt(et.Days,We.Short,qe.Standalone);break;case"E":case"EE":case"EEE":h=Gt(et.Days,We.Abbreviated);break;case"EEEE":h=Gt(et.Days,We.Wide);break;case"EEEEE":h=Gt(et.Days,We.Narrow);break;case"EEEEEE":h=Gt(et.Days,We.Short);break;case"a":case"aa":case"aaa":h=Gt(et.DayPeriods,We.Abbreviated);break;case"aaaa":h=Gt(et.DayPeriods,We.Wide);break;case"aaaaa":h=Gt(et.DayPeriods,We.Narrow);break;case"b":case"bb":case"bbb":h=Gt(et.DayPeriods,We.Abbreviated,qe.Standalone,!0);break;case"bbbb":h=Gt(et.DayPeriods,We.Wide,qe.Standalone,!0);break;case"bbbbb":h=Gt(et.DayPeriods,We.Narrow,qe.Standalone,!0);break;case"B":case"BB":case"BBB":h=Gt(et.DayPeriods,We.Abbreviated,qe.Format,!0);break;case"BBBB":h=Gt(et.DayPeriods,We.Wide,qe.Format,!0);break;case"BBBBB":h=Gt(et.DayPeriods,We.Narrow,qe.Format,!0);break;case"h":h=yt(He.Hours,1,-12);break;case"hh":h=yt(He.Hours,2,-12);break;case"H":h=yt(He.Hours,1);break;case"HH":h=yt(He.Hours,2);break;case"m":h=yt(He.Minutes,1);break;case"mm":h=yt(He.Minutes,2);break;case"s":h=yt(He.Seconds,1);break;case"ss":h=yt(He.Seconds,2);break;case"S":h=yt(He.FractionalSeconds,1);break;case"SS":h=yt(He.FractionalSeconds,2);break;case"SSS":h=yt(He.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":h=un(Ue.Short);break;case"ZZZZZ":h=un(Ue.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":h=un(Ue.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":h=un(Ue.Long);break;default:return null}return it[D]=h,h}(an);sn+=tn?tn(C,o,Rt):"''"===an?"'":an.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),sn}function wt(D,h,o){const c=new Date(0);return c.setFullYear(D,h,o),c.setHours(0,0,0),c}function Ut(D,h){const o=function(D){return(0,a.cg1)(D)[a.wAp.LocaleId]}(D);if(te[o]=te[o]||{},te[o][h])return te[o][h];let c="";switch(h){case"shortDate":c=De(D,st.Short);break;case"mediumDate":c=De(D,st.Medium);break;case"longDate":c=De(D,st.Long);break;case"fullDate":c=De(D,st.Full);break;case"shortTime":c=X(D,st.Short);break;case"mediumTime":c=X(D,st.Medium);break;case"longTime":c=X(D,st.Long);break;case"fullTime":c=X(D,st.Full);break;case"short":const C=Ut(D,"shortTime"),ce=Ut(D,"shortDate");c=It(Te(D,st.Short),[C,ce]);break;case"medium":const Be=Ut(D,"mediumTime"),ht=Ut(D,"mediumDate");c=It(Te(D,st.Medium),[Be,ht]);break;case"long":const Rt=Ut(D,"longTime"),sn=Ut(D,"longDate");c=It(Te(D,st.Long),[Rt,sn]);break;case"full":const an=Ut(D,"fullTime"),tn=Ut(D,"fullDate");c=It(Te(D,st.Full),[an,tn])}return c&&(te[o][h]=c),c}function It(D,h){return h&&(D=D.replace(/\{([^}]+)}/g,function(o,c){return null!=h&&c in h?h[c]:o})),D}function xt(D,h,o="-",c,C){let ce="";(D<0||C&&D<=0)&&(C?D=1-D:(D=-D,ce=o));let Be=String(D);for(;Be.length<h;)Be="0"+Be;return c&&(Be=Be.substr(Be.length-h)),ce+Be}function yt(D,h,o=0,c=!1,C=!1){return function(ce,Be){let ht=function(D,h){switch(D){case He.FullYear:return h.getFullYear();case He.Month:return h.getMonth();case He.Date:return h.getDate();case He.Hours:return h.getHours();case He.Minutes:return h.getMinutes();case He.Seconds:return h.getSeconds();case He.FractionalSeconds:return h.getMilliseconds();case He.Day:return h.getDay();default:throw new Error(`Unknown DateType value "${D}".`)}}(D,ce);if((o>0||ht>-o)&&(ht+=o),D===He.Hours)0===ht&&-12===o&&(ht=12);else if(D===He.FractionalSeconds)return function(D,h){return xt(D,3).substr(0,h)}(ht,h);const Rt=oe(Be,rt.MinusSign);return xt(ht,h,Rt,c,C)}}function Gt(D,h,o=qe.Format,c=!1){return function(C,ce){return function(D,h,o,c,C,ce){switch(o){case et.Months:return function(D,h,o){const c=(0,a.cg1)(D),ce=ot([c[a.wAp.MonthsFormat],c[a.wAp.MonthsStandalone]],h);return ot(ce,o)}(h,C,c)[D.getMonth()];case et.Days:return function(D,h,o){const c=(0,a.cg1)(D),ce=ot([c[a.wAp.DaysFormat],c[a.wAp.DaysStandalone]],h);return ot(ce,o)}(h,C,c)[D.getDay()];case et.DayPeriods:const Be=D.getHours(),ht=D.getMinutes();if(ce){const sn=function(D){const h=(0,a.cg1)(D);return ue(h),(h[a.wAp.ExtraData][2]||[]).map(c=>"string"==typeof c?Ie(c):[Ie(c[0]),Ie(c[1])])}(h),an=function(D,h,o){const c=(0,a.cg1)(D);ue(c);const ce=ot([c[a.wAp.ExtraData][0],c[a.wAp.ExtraData][1]],h)||[];return ot(ce,o)||[]}(h,C,c),tn=sn.findIndex(hn=>{if(Array.isArray(hn)){const[vn,Tn]=hn,At=Be>=vn.hours&&ht>=vn.minutes,rs=Be<Tn.hours||Be===Tn.hours&&ht<Tn.minutes;if(vn.hours<Tn.hours){if(At&&rs)return!0}else if(At||rs)return!0}else if(hn.hours===Be&&hn.minutes===ht)return!0;return!1});if(-1!==tn)return an[tn]}return function(D,h,o){const c=(0,a.cg1)(D),ce=ot([c[a.wAp.DayPeriodsFormat],c[a.wAp.DayPeriodsStandalone]],h);return ot(ce,o)}(h,C,c)[Be<12?0:1];case et.Eras:return function(D,h){return ot((0,a.cg1)(D)[a.wAp.Eras],h)}(h,c)[D.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${o}`)}}(C,ce,D,h,o,c)}}function un(D){return function(h,o,c){const C=-1*c,ce=oe(o,rt.MinusSign),Be=C>0?Math.floor(C/60):Math.ceil(C/60);switch(D){case Ue.Short:return(C>=0?"+":"")+xt(Be,2,ce)+xt(Math.abs(C%60),2,ce);case Ue.ShortGMT:return"GMT"+(C>=0?"+":"")+xt(Be,1,ce);case Ue.Long:return"GMT"+(C>=0?"+":"")+xt(Be,2,ce)+":"+xt(Math.abs(C%60),2,ce);case Ue.Extended:return 0===c?"Z":(C>=0?"+":"")+xt(Be,2,ce)+":"+xt(Math.abs(C%60),2,ce);default:throw new Error(`Unknown zone width "${D}"`)}}}function N(D){return wt(D.getFullYear(),D.getMonth(),D.getDate()+(4-D.getDay()))}function re(D,h=!1){return function(o,c){let C;if(h){const ce=new Date(o.getFullYear(),o.getMonth(),1).getDay()-1,Be=o.getDate();C=1+Math.floor((Be+ce)/7)}else{const ce=N(o),Be=function(D){const h=wt(D,0,1).getDay();return wt(D,0,1+(h<=4?4:11)-h)}(ce.getFullYear()),ht=ce.getTime()-Be.getTime();C=1+Math.round(ht/6048e5)}return xt(C,D,oe(c,rt.MinusSign))}}function Pe(D,h=!1){return function(o,c){return xt(N(o).getFullYear(),D,oe(c,rt.MinusSign),h)}}const it={};function on(D,h){D=D.replace(/:/g,"");const o=Date.parse("Jan 01, 1970 00:00:00 "+D)/6e4;return isNaN(o)?h:o}function Fe(D){return D instanceof Date&&!isNaN(D.valueOf())}const $e=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Vn(D,h,o,c,C,ce,Be=!1){let ht="",Rt=!1;if(isFinite(D)){let sn=function(D){let c,C,ce,Be,ht,h=Math.abs(D)+"",o=0;for((C=h.indexOf("."))>-1&&(h=h.replace(".","")),(ce=h.search(/e/i))>0?(C<0&&(C=ce),C+=+h.slice(ce+1),h=h.substring(0,ce)):C<0&&(C=h.length),ce=0;"0"===h.charAt(ce);ce++);if(ce===(ht=h.length))c=[0],C=1;else{for(ht--;"0"===h.charAt(ht);)ht--;for(C-=ce,c=[],Be=0;ce<=ht;ce++,Be++)c[Be]=Number(h.charAt(ce))}return C>22&&(c=c.splice(0,21),o=C-1,C=1),{digits:c,exponent:o,integerLen:C}}(D);Be&&(sn=function(D){if(0===D.digits[0])return D;const h=D.digits.length-D.integerLen;return D.exponent?D.exponent+=2:(0===h?D.digits.push(0,0):1===h&&D.digits.push(0),D.integerLen+=2),D}(sn));let an=h.minInt,tn=h.minFrac,hn=h.maxFrac;if(ce){const os=ce.match($e);if(null===os)throw new Error(`${ce} is not a valid digit info`);const or=os[1],Bs=os[3],Vs=os[5];null!=or&&(an=ni(or)),null!=Bs&&(tn=ni(Bs)),null!=Vs?hn=ni(Vs):null!=Bs&&tn>hn&&(hn=tn)}!function(D,h,o){if(h>o)throw new Error(`The minimum number of digits after fraction (${h}) is higher than the maximum (${o}).`);let c=D.digits,C=c.length-D.integerLen;const ce=Math.min(Math.max(h,C),o);let Be=ce+D.integerLen,ht=c[Be];if(Be>0){c.splice(Math.max(D.integerLen,Be));for(let tn=Be;tn<c.length;tn++)c[tn]=0}else{C=Math.max(0,C),D.integerLen=1,c.length=Math.max(1,Be=ce+1),c[0]=0;for(let tn=1;tn<Be;tn++)c[tn]=0}if(ht>=5)if(Be-1<0){for(let tn=0;tn>Be;tn--)c.unshift(0),D.integerLen++;c.unshift(1),D.integerLen++}else c[Be-1]++;for(;C<Math.max(0,ce);C++)c.push(0);let Rt=0!==ce;const sn=h+D.integerLen,an=c.reduceRight(function(tn,hn,vn,Tn){return Tn[vn]=(hn+=tn)<10?hn:hn-10,Rt&&(0===Tn[vn]&&vn>=sn?Tn.pop():Rt=!1),hn>=10?1:0},0);an&&(c.unshift(an),D.integerLen++)}(sn,tn,hn);let vn=sn.digits,Tn=sn.integerLen;const At=sn.exponent;let rs=[];for(Rt=vn.every(os=>!os);Tn<an;Tn++)vn.unshift(0);for(;Tn<0;Tn++)vn.unshift(0);Tn>0?rs=vn.splice(Tn,vn.length):(rs=vn,vn=[0]);const Ns=[];for(vn.length>=h.lgSize&&Ns.unshift(vn.splice(-h.lgSize,vn.length).join(""));vn.length>h.gSize;)Ns.unshift(vn.splice(-h.gSize,vn.length).join(""));vn.length&&Ns.unshift(vn.join("")),ht=Ns.join(oe(o,c)),rs.length&&(ht+=oe(o,C)+rs.join("")),At&&(ht+=oe(o,rt.Exponential)+"+"+At)}else ht=oe(o,rt.Infinity);return ht=D<0&&!Rt?h.negPre+ht+h.negSuf:h.posPre+ht+h.posSuf,ht}function Yn(D,h="-"){const o={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},c=D.split(";"),C=c[0],ce=c[1],Be=-1!==C.indexOf(".")?C.split("."):[C.substring(0,C.lastIndexOf("0")+1),C.substring(C.lastIndexOf("0")+1)],ht=Be[0],Rt=Be[1]||"";o.posPre=ht.substr(0,ht.indexOf("#"));for(let an=0;an<Rt.length;an++){const tn=Rt.charAt(an);"0"===tn?o.minFrac=o.maxFrac=an+1:"#"===tn?o.maxFrac=an+1:o.posSuf+=tn}const sn=ht.split(",");if(o.gSize=sn[1]?sn[1].length:0,o.lgSize=sn[2]||sn[1]?(sn[2]||sn[1]).length:0,ce){const an=C.length-o.posPre.length-o.posSuf.length,tn=ce.indexOf("#");o.negPre=ce.substr(0,tn).replace(/'/g,""),o.negSuf=ce.substr(tn+an).replace(/'/g,"")}else o.negPre=h+o.posPre,o.negSuf=o.posSuf;return o}function ni(D){const h=parseInt(D);if(isNaN(h))throw new Error("Invalid integer literal when parsing "+D);return h}class Ii{}let On=(()=>{class D extends Ii{constructor(o){super(),this.locale=o}getPluralCategory(o,c){switch(J(c||this.locale)(o)){case xe.Zero:return"zero";case xe.One:return"one";case xe.Two:return"two";case xe.Few:return"few";case xe.Many:return"many";default:return"other"}}}return D.\u0275fac=function(o){return new(o||D)(a.LFG(a.soG))},D.\u0275prov=a.Yz7({token:D,factory:D.\u0275fac}),D})();function gi(D,h){h=encodeURIComponent(h);for(const o of D.split(";")){const c=o.indexOf("="),[C,ce]=-1==c?[o,""]:[o.slice(0,c),o.slice(c+1)];if(C.trim()===h)return decodeURIComponent(ce)}return null}let Rn=(()=>{class D{constructor(o,c,C,ce){this._iterableDiffers=o,this._keyValueDiffers=c,this._ngEl=C,this._renderer=ce,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(o){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof o?o.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(o){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof o?o.split(/\s+/):o,this._rawClass&&((0,a.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const o=this._iterableDiffer.diff(this._rawClass);o&&this._applyIterableChanges(o)}else if(this._keyValueDiffer){const o=this._keyValueDiffer.diff(this._rawClass);o&&this._applyKeyValueChanges(o)}}_applyKeyValueChanges(o){o.forEachAddedItem(c=>this._toggleClass(c.key,c.currentValue)),o.forEachChangedItem(c=>this._toggleClass(c.key,c.currentValue)),o.forEachRemovedItem(c=>{c.previousValue&&this._toggleClass(c.key,!1)})}_applyIterableChanges(o){o.forEachAddedItem(c=>{if("string"!=typeof c.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.AaK)(c.item)}`);this._toggleClass(c.item,!0)}),o.forEachRemovedItem(c=>this._toggleClass(c.item,!1))}_applyClasses(o){o&&(Array.isArray(o)||o instanceof Set?o.forEach(c=>this._toggleClass(c,!0)):Object.keys(o).forEach(c=>this._toggleClass(c,!!o[c])))}_removeClasses(o){o&&(Array.isArray(o)||o instanceof Set?o.forEach(c=>this._toggleClass(c,!1)):Object.keys(o).forEach(c=>this._toggleClass(c,!1)))}_toggleClass(o,c){(o=o.trim())&&o.split(/\s+/g).forEach(C=>{c?this._renderer.addClass(this._ngEl.nativeElement,C):this._renderer.removeClass(this._ngEl.nativeElement,C)})}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),D})();class Ji{constructor(h,o,c,C){this.$implicit=h,this.ngForOf=o,this.index=c,this.count=C}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Un=(()=>{class D{constructor(o,c,C){this._viewContainer=o,this._template=c,this._differs=C,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(o){this._ngForOf=o,this._ngForOfDirty=!0}set ngForTrackBy(o){this._trackByFn=o}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(o){o&&(this._template=o)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const o=this._ngForOf;if(!this._differ&&o)try{this._differ=this._differs.find(o).create(this.ngForTrackBy)}catch(c){throw new Error(`Cannot find a differ supporting object '${o}' of type '${function(D){return D.name||typeof D}(o)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const o=this._differ.diff(this._ngForOf);o&&this._applyChanges(o)}}_applyChanges(o){const c=[];o.forEachOperation((C,ce,Be)=>{if(null==C.previousIndex){const ht=this._viewContainer.createEmbeddedView(this._template,new Ji(null,this._ngForOf,-1,-1),null===Be?void 0:Be),Rt=new qn(C,ht);c.push(Rt)}else if(null==Be)this._viewContainer.remove(null===ce?void 0:ce);else if(null!==ce){const ht=this._viewContainer.get(ce);this._viewContainer.move(ht,Be);const Rt=new qn(C,ht);c.push(Rt)}});for(let C=0;C<c.length;C++)this._perViewChange(c[C].view,c[C].record);for(let C=0,ce=this._viewContainer.length;C<ce;C++){const Be=this._viewContainer.get(C);Be.context.index=C,Be.context.count=ce,Be.context.ngForOf=this._ngForOf}o.forEachIdentityChange(C=>{this._viewContainer.get(C.currentIndex).context.$implicit=C.item})}_perViewChange(o,c){o.context.$implicit=c.item}static ngTemplateContextGuard(o,c){return!0}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),D})();class qn{constructor(h,o){this.record=h,this.view=o}}let ai=(()=>{class D{constructor(o,c){this._viewContainer=o,this._context=new li,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=c}set ngIf(o){this._context.$implicit=this._context.ngIf=o,this._updateView()}set ngIfThen(o){Sn("ngIfThen",o),this._thenTemplateRef=o,this._thenViewRef=null,this._updateView()}set ngIfElse(o){Sn("ngIfElse",o),this._elseTemplateRef=o,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(o,c){return!0}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.s_b),a.Y36(a.Rgc))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),D})();class li{constructor(){this.$implicit=null,this.ngIf=null}}function Sn(D,h){if(h&&!h.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,a.AaK)(h)}'.`)}class wn{constructor(h,o){this._viewContainerRef=h,this._templateRef=o,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(h){h&&!this._created?this.create():!h&&this._created&&this.destroy()}}let Pn=(()=>{class D{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(o){this._ngSwitch=o,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(o){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(o)}_matchCase(o){const c=o==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||c,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),c}_updateDefaultCases(o){if(this._defaultViews&&o!==this._defaultUsed){this._defaultUsed=o;for(let c=0;c<this._defaultViews.length;c++)this._defaultViews[c].enforceState(o)}}}return D.\u0275fac=function(o){return new(o||D)},D.\u0275dir=a.lG2({type:D,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),D})(),An=(()=>{class D{constructor(o,c,C){this.ngSwitch=C,C._addCase(),this._view=new wn(o,c)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(Pn,9))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),D})(),xn=(()=>{class D{constructor(o,c,C){C._addDefault(new wn(o,c))}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(Pn,9))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngSwitchDefault",""]]}),D})(),Fn=(()=>{class D{constructor(o,c,C){this._ngEl=o,this._differs=c,this._renderer=C,this._ngStyle=null,this._differ=null}set ngStyle(o){this._ngStyle=o,!this._differ&&o&&(this._differ=this._differs.find(o).create())}ngDoCheck(){if(this._differ){const o=this._differ.diff(this._ngStyle);o&&this._applyChanges(o)}}_setStyle(o,c){const[C,ce]=o.split(".");null!=(c=null!=c&&ce?`${c}${ce}`:c)?this._renderer.setStyle(this._ngEl.nativeElement,C,c):this._renderer.removeStyle(this._ngEl.nativeElement,C)}_applyChanges(o){o.forEachRemovedItem(c=>this._setStyle(c.key,null)),o.forEachAddedItem(c=>this._setStyle(c.key,c.currentValue)),o.forEachChangedItem(c=>this._setStyle(c.key,c.currentValue))}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),D})(),es=(()=>{class D{constructor(o){this._viewContainerRef=o,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(o){if(o.ngTemplateOutlet){const c=this._viewContainerRef;this._viewRef&&c.remove(c.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?c.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&o.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.s_b))},D.\u0275dir=a.lG2({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[a.TTD]}),D})();function kn(D,h){return Error(`InvalidPipeArgument: '${h}' for pipe '${(0,a.AaK)(D)}'`)}class Is{createSubscription(h,o){return h.subscribe({next:o,error:c=>{throw c}})}dispose(h){h.unsubscribe()}onDestroy(h){h.unsubscribe()}}class Qs{createSubscription(h,o){return h.then(o,c=>{throw c})}dispose(h){}onDestroy(h){}}const Ri=new Qs,Vi=new Is;let Ei=(()=>{class D{constructor(o){this._ref=o,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(o){return this._obj?o!==this._obj?(this._dispose(),this.transform(o)):this._latestValue:(o&&this._subscribe(o),this._latestValue)}_subscribe(o){this._obj=o,this._strategy=this._selectStrategy(o),this._subscription=this._strategy.createSubscription(o,c=>this._updateLatestValue(o,c))}_selectStrategy(o){if((0,a.QGY)(o))return Ri;if((0,a.F4k)(o))return Vi;throw kn(D,o)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(o,c){o===this._obj&&(this._latestValue=c,this._ref.markForCheck())}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.sBO,16))},D.\u0275pipe=a.Yjl({name:"async",type:D,pure:!1}),D})();const Zs=new a.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Os=(()=>{class D{constructor(o,c){this.locale=o,this.defaultTimezone=c}transform(o,c="mediumDate",C,ce){var Be;if(null==o||""===o||o!=o)return null;try{return pt(o,c,ce||this.locale,null!=(Be=null!=C?C:this.defaultTimezone)?Be:void 0)}catch(ht){throw kn(D,ht.message)}}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.soG,16),a.Y36(Zs,24))},D.\u0275pipe=a.Yjl({name:"date",type:D,pure:!0}),D})(),hi=(()=>{class D{constructor(o){this.differs=o,this.keyValues=[],this.compareFn=Ps}transform(o,c=Ps){if(!o||!(o instanceof Map)&&"object"!=typeof o)return null;this.differ||(this.differ=this.differs.find(o).create());const C=this.differ.diff(o),ce=c!==this.compareFn;return C&&(this.keyValues=[],C.forEachItem(Be=>{this.keyValues.push(function(D,h){return{key:D,value:h}}(Be.key,Be.currentValue))})),(C||ce)&&(this.keyValues.sort(c),this.compareFn=c),this.keyValues}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.aQg,16))},D.\u0275pipe=a.Yjl({name:"keyvalue",type:D,pure:!1}),D})();function Ps(D,h){const o=D.key,c=h.key;if(o===c)return 0;if(void 0===o)return 1;if(void 0===c)return-1;if(null===o)return 1;if(null===c)return-1;if("string"==typeof o&&"string"==typeof c)return o<c?-1:1;if("number"==typeof o&&"number"==typeof c)return o-c;if("boolean"==typeof o&&"boolean"==typeof c)return o<c?-1:1;const C=String(o),ce=String(c);return C==ce?0:C<ce?-1:1}let ms=(()=>{class D{constructor(o){this._locale=o}transform(o,c,C){if(!gs(o))return null;C=C||this._locale;try{return function(D,h,o){return Vn(D,Yn(le(h,Ve.Decimal),oe(h,rt.MinusSign)),h,rt.Group,rt.Decimal,o)}(Ci(o),C,c)}catch(ce){throw kn(D,ce.message)}}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.soG,16))},D.\u0275pipe=a.Yjl({name:"number",type:D,pure:!0}),D})(),Fs=(()=>{class D{constructor(o){this._locale=o}transform(o,c,C){if(!gs(o))return null;C=C||this._locale;try{return function(D,h,o){return Vn(D,Yn(le(h,Ve.Percent),oe(h,rt.MinusSign)),h,rt.Group,rt.Decimal,o,!0).replace(new RegExp("%","g"),oe(h,rt.PercentSign))}(Ci(o),C,c)}catch(ce){throw kn(D,ce.message)}}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.soG,16))},D.\u0275pipe=a.Yjl({name:"percent",type:D,pure:!0}),D})(),ii=(()=>{class D{constructor(o,c="USD"){this._locale=o,this._defaultCurrencyCode=c}transform(o,c=this._defaultCurrencyCode,C="symbol",ce,Be){if(!gs(o))return null;Be=Be||this._locale,"boolean"==typeof C&&(C=C?"symbol":"code");let ht=c||this._defaultCurrencyCode;"code"!==C&&(ht="symbol"===C||"symbol-narrow"===C?function(D,h,o="en"){const c=function(D){return(0,a.cg1)(D)[a.wAp.Currencies]}(o)[D]||Ce[D]||[],C=c[1];return"narrow"===h&&"string"==typeof C?C:c[0]||D}(ht,"symbol"===C?"wide":"narrow",Be):C);try{return function(D,h,o,c,C){const Be=Yn(le(h,Ve.Currency),oe(h,rt.MinusSign));return Be.minFrac=function(D){let h;const o=Ce[D];return o&&(h=o[2]),"number"==typeof h?h:2}(c),Be.maxFrac=Be.minFrac,Vn(D,Be,h,rt.CurrencyGroup,rt.CurrencyDecimal,C).replace("\xa4",o).replace("\xa4","").trim()}(Ci(o),Be,ht,c,ce)}catch(Rt){throw kn(D,Rt.message)}}}return D.\u0275fac=function(o){return new(o||D)(a.Y36(a.soG,16),a.Y36(a.EJc,16))},D.\u0275pipe=a.Yjl({name:"currency",type:D,pure:!0}),D})();function gs(D){return!(null==D||""===D||D!=D)}function Ci(D){if("string"==typeof D&&!isNaN(Number(D)-parseFloat(D)))return Number(D);if("number"!=typeof D)throw new Error(`${D} is not a number`);return D}let Di=(()=>{class D{}return D.\u0275fac=function(o){return new(o||D)},D.\u0275mod=a.oAB({type:D}),D.\u0275inj=a.cJS({providers:[{provide:Ii,useClass:On}]}),D})();const Hi="browser";function fi(D){return D===Hi}let rr=(()=>{class D{}return D.\u0275prov=(0,a.Yz7)({token:D,providedIn:"root",factory:()=>new zi((0,a.LFG)($),window)}),D})();class zi{constructor(h,o){this.document=h,this.window=o,this.offset=()=>[0,0]}setOffset(h){this.offset=Array.isArray(h)?()=>h:h}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(h){this.supportsScrolling()&&this.window.scrollTo(h[0],h[1])}scrollToAnchor(h){if(!this.supportsScrolling())return;const o=function(D,h){const o=D.getElementById(h)||D.getElementsByName(h)[0];if(o)return o;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const c=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let C=c.currentNode;for(;C;){const ce=C.shadowRoot;if(ce){const Be=ce.getElementById(h)||ce.querySelector(`[name="${h}"]`);if(Be)return Be}C=c.nextNode()}}return null}(this.document,h);o&&(this.scrollToElement(o),this.attemptFocus(o))}setHistoryScrollRestoration(h){if(this.supportScrollRestoration()){const o=this.window.history;o&&o.scrollRestoration&&(o.scrollRestoration=h)}}scrollToElement(h){const o=h.getBoundingClientRect(),c=o.left+this.window.pageXOffset,C=o.top+this.window.pageYOffset,ce=this.offset();this.window.scrollTo(c-ce[0],C-ce[1])}attemptFocus(h){return h.focus(),this.document.activeElement===h}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const h=ys(this.window.history)||ys(Object.getPrototypeOf(this.window.history));return!(!h||!h.writable&&!h.set)}catch(h){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(h){return!1}}}function ys(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class vs{}},4522:(Qe,me,g)=>{"use strict";g.d(me,{eN:()=>rt,JF:()=>ot,WM:()=>T,LE:()=>ve});var a=g(6019),_=g(3668),A=g(2411),E=g(5548),Q=g(6700),P=g(8735),$=g(8053);class O{}class G{}class T{constructor(S){this.normalizedNames=new Map,this.lazyUpdate=null,S?this.lazyInit="string"==typeof S?()=>{this.headers=new Map,S.split("\n").forEach(B=>{const te=B.indexOf(":");if(te>0){const ie=B.slice(0,te),Ue=ie.toLowerCase(),He=B.slice(te+1).trim();this.maybeSetNormalizedName(ie,Ue),this.headers.has(Ue)?this.headers.get(Ue).push(He):this.headers.set(Ue,[He])}})}:()=>{this.headers=new Map,Object.keys(S).forEach(B=>{let te=S[B];const ie=B.toLowerCase();"string"==typeof te&&(te=[te]),te.length>0&&(this.headers.set(ie,te),this.maybeSetNormalizedName(B,ie))})}:this.headers=new Map}has(S){return this.init(),this.headers.has(S.toLowerCase())}get(S){this.init();const B=this.headers.get(S.toLowerCase());return B&&B.length>0?B[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(S){return this.init(),this.headers.get(S.toLowerCase())||null}append(S,B){return this.clone({name:S,value:B,op:"a"})}set(S,B){return this.clone({name:S,value:B,op:"s"})}delete(S,B){return this.clone({name:S,value:B,op:"d"})}maybeSetNormalizedName(S,B){this.normalizedNames.has(B)||this.normalizedNames.set(B,S)}init(){this.lazyInit&&(this.lazyInit instanceof T?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(S=>this.applyUpdate(S)),this.lazyUpdate=null))}copyFrom(S){S.init(),Array.from(S.headers.keys()).forEach(B=>{this.headers.set(B,S.headers.get(B)),this.normalizedNames.set(B,S.normalizedNames.get(B))})}clone(S){const B=new T;return B.lazyInit=this.lazyInit&&this.lazyInit instanceof T?this.lazyInit:this,B.lazyUpdate=(this.lazyUpdate||[]).concat([S]),B}applyUpdate(S){const B=S.name.toLowerCase();switch(S.op){case"a":case"s":let te=S.value;if("string"==typeof te&&(te=[te]),0===te.length)return;this.maybeSetNormalizedName(S.name,B);const ie=("a"===S.op?this.headers.get(B):void 0)||[];ie.push(...te),this.headers.set(B,ie);break;case"d":const Ue=S.value;if(Ue){let He=this.headers.get(B);if(!He)return;He=He.filter(et=>-1===Ue.indexOf(et)),0===He.length?(this.headers.delete(B),this.normalizedNames.delete(B)):this.headers.set(B,He)}else this.headers.delete(B),this.normalizedNames.delete(B)}}forEach(S){this.init(),Array.from(this.normalizedNames.keys()).forEach(B=>S(this.normalizedNames.get(B),this.headers.get(B)))}}class k{encodeKey(S){return Z(S)}encodeValue(S){return Z(S)}decodeKey(S){return decodeURIComponent(S)}decodeValue(S){return decodeURIComponent(S)}}const j=/%(\d[a-f0-9])/gi,V={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Z(M){return encodeURIComponent(M).replace(j,(S,B)=>{var te;return null!=(te=V[B])?te:S})}function q(M){return`${M}`}class ve{constructor(S={}){if(this.updates=null,this.cloneFrom=null,this.encoder=S.encoder||new k,S.fromString){if(S.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(M,S){const B=new Map;return M.length>0&&M.replace(/^\?/,"").split("&").forEach(ie=>{const Ue=ie.indexOf("="),[He,et]=-1==Ue?[S.decodeKey(ie),""]:[S.decodeKey(ie.slice(0,Ue)),S.decodeValue(ie.slice(Ue+1))],pt=B.get(He)||[];pt.push(et),B.set(He,pt)}),B}(S.fromString,this.encoder)}else S.fromObject?(this.map=new Map,Object.keys(S.fromObject).forEach(B=>{const te=S.fromObject[B];this.map.set(B,Array.isArray(te)?te:[te])})):this.map=null}has(S){return this.init(),this.map.has(S)}get(S){this.init();const B=this.map.get(S);return B?B[0]:null}getAll(S){return this.init(),this.map.get(S)||null}keys(){return this.init(),Array.from(this.map.keys())}append(S,B){return this.clone({param:S,value:B,op:"a"})}appendAll(S){const B=[];return Object.keys(S).forEach(te=>{const ie=S[te];Array.isArray(ie)?ie.forEach(Ue=>{B.push({param:te,value:Ue,op:"a"})}):B.push({param:te,value:ie,op:"a"})}),this.clone(B)}set(S,B){return this.clone({param:S,value:B,op:"s"})}delete(S,B){return this.clone({param:S,value:B,op:"d"})}toString(){return this.init(),this.keys().map(S=>{const B=this.encoder.encodeKey(S);return this.map.get(S).map(te=>B+"="+this.encoder.encodeValue(te)).join("&")}).filter(S=>""!==S).join("&")}clone(S){const B=new ve({encoder:this.encoder});return B.cloneFrom=this.cloneFrom||this,B.updates=(this.updates||[]).concat(S),B}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(S=>this.map.set(S,this.cloneFrom.map.get(S))),this.updates.forEach(S=>{switch(S.op){case"a":case"s":const B=("a"===S.op?this.map.get(S.param):void 0)||[];B.push(q(S.value)),this.map.set(S.param,B);break;case"d":if(void 0===S.value){this.map.delete(S.param);break}{let te=this.map.get(S.param)||[];const ie=te.indexOf(q(S.value));-1!==ie&&te.splice(ie,1),te.length>0?this.map.set(S.param,te):this.map.delete(S.param)}}}),this.cloneFrom=this.updates=null)}}class je{constructor(){this.map=new Map}set(S,B){return this.map.set(S,B),this}get(S){return this.map.has(S)||this.map.set(S,S.defaultValue()),this.map.get(S)}delete(S){return this.map.delete(S),this}keys(){return this.map.keys()}}function Ge(M){return"undefined"!=typeof ArrayBuffer&&M instanceof ArrayBuffer}function ye(M){return"undefined"!=typeof Blob&&M instanceof Blob}function ge(M){return"undefined"!=typeof FormData&&M instanceof FormData}class Ee{constructor(S,B,te,ie){let Ue;if(this.url=B,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=S.toUpperCase(),function(M){switch(M){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ie?(this.body=void 0!==te?te:null,Ue=ie):Ue=te,Ue&&(this.reportProgress=!!Ue.reportProgress,this.withCredentials=!!Ue.withCredentials,Ue.responseType&&(this.responseType=Ue.responseType),Ue.headers&&(this.headers=Ue.headers),Ue.context&&(this.context=Ue.context),Ue.params&&(this.params=Ue.params)),this.headers||(this.headers=new T),this.context||(this.context=new je),this.params){const He=this.params.toString();if(0===He.length)this.urlWithParams=B;else{const et=B.indexOf("?");this.urlWithParams=B+(-1===et?"?":et<B.length-1?"&":"")+He}}else this.params=new ve,this.urlWithParams=B}serializeBody(){return null===this.body?null:Ge(this.body)||ye(this.body)||ge(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof ve?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ge(this.body)?null:ye(this.body)?this.body.type||null:Ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ve?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(S={}){var It;const B=S.method||this.method,te=S.url||this.url,ie=S.responseType||this.responseType,Ue=void 0!==S.body?S.body:this.body,He=void 0!==S.withCredentials?S.withCredentials:this.withCredentials,et=void 0!==S.reportProgress?S.reportProgress:this.reportProgress;let pt=S.headers||this.headers,wt=S.params||this.params;const Ut=null!=(It=S.context)?It:this.context;return void 0!==S.setHeaders&&(pt=Object.keys(S.setHeaders).reduce((xt,Mt)=>xt.set(Mt,S.setHeaders[Mt]),pt)),S.setParams&&(wt=Object.keys(S.setParams).reduce((xt,Mt)=>xt.set(Mt,S.setParams[Mt]),wt)),new Ee(B,te,Ue,{params:wt,headers:pt,context:Ut,reportProgress:et,responseType:ie,withCredentials:He})}}var Ce=(()=>((Ce=Ce||{})[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce))();class Ve{constructor(S,B=200,te="OK"){this.headers=S.headers||new T,this.status=void 0!==S.status?S.status:B,this.statusText=S.statusText||te,this.url=S.url||null,this.ok=this.status>=200&&this.status<300}}class xe extends Ve{constructor(S={}){super(S),this.type=Ce.ResponseHeader}clone(S={}){return new xe({headers:S.headers||this.headers,status:void 0!==S.status?S.status:this.status,statusText:S.statusText||this.statusText,url:S.url||this.url||void 0})}}class qe extends Ve{constructor(S={}){super(S),this.type=Ce.Response,this.body=void 0!==S.body?S.body:null}clone(S={}){return new qe({body:void 0!==S.body?S.body:this.body,headers:S.headers||this.headers,status:void 0!==S.status?S.status:this.status,statusText:S.statusText||this.statusText,url:S.url||this.url||void 0})}}class We extends Ve{constructor(S){super(S,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${S.url||"(unknown url)"}`:`Http failure response for ${S.url||"(unknown url)"}: ${S.status} ${S.statusText}`,this.error=S.error||null}}function st(M,S){return{body:S,headers:M.headers,context:M.context,observe:M.observe,params:M.params,reportProgress:M.reportProgress,responseType:M.responseType,withCredentials:M.withCredentials}}let rt=(()=>{class M{constructor(B){this.handler=B}request(B,te,ie={}){let Ue;if(B instanceof Ee)Ue=B;else{let pt,wt;pt=ie.headers instanceof T?ie.headers:new T(ie.headers),ie.params&&(wt=ie.params instanceof ve?ie.params:new ve({fromObject:ie.params})),Ue=new Ee(B,te,void 0!==ie.body?ie.body:null,{headers:pt,context:ie.context,params:wt,reportProgress:ie.reportProgress,responseType:ie.responseType||"json",withCredentials:ie.withCredentials})}const He=(0,A.of)(Ue).pipe((0,Q.b)(pt=>this.handler.handle(pt)));if(B instanceof Ee||"events"===ie.observe)return He;const et=He.pipe((0,P.h)(pt=>pt instanceof qe));switch(ie.observe||"body"){case"body":switch(Ue.responseType){case"arraybuffer":return et.pipe((0,$.U)(pt=>{if(null!==pt.body&&!(pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return pt.body}));case"blob":return et.pipe((0,$.U)(pt=>{if(null!==pt.body&&!(pt.body instanceof Blob))throw new Error("Response is not a Blob.");return pt.body}));case"text":return et.pipe((0,$.U)(pt=>{if(null!==pt.body&&"string"!=typeof pt.body)throw new Error("Response is not a string.");return pt.body}));default:return et.pipe((0,$.U)(pt=>pt.body))}case"response":return et;default:throw new Error(`Unreachable: unhandled observe type ${ie.observe}}`)}}delete(B,te={}){return this.request("DELETE",B,te)}get(B,te={}){return this.request("GET",B,te)}head(B,te={}){return this.request("HEAD",B,te)}jsonp(B,te){return this.request("JSONP",B,{params:(new ve).append(te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(B,te={}){return this.request("OPTIONS",B,te)}patch(B,te,ie={}){return this.request("PATCH",B,st(ie,te))}post(B,te,ie={}){return this.request("POST",B,st(ie,te))}put(B,te,ie={}){return this.request("PUT",B,st(ie,te))}}return M.\u0275fac=function(B){return new(B||M)(_.LFG(O))},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac}),M})();class Xt{constructor(S,B){this.next=S,this.interceptor=B}handle(S){return this.interceptor.intercept(S,this.next)}}const Kt=new _.OlP("HTTP_INTERCEPTORS");let Dt=(()=>{class M{intercept(B,te){return te.handle(B)}}return M.\u0275fac=function(B){return new(B||M)},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac}),M})();const Te=/^\)\]\}',?\n/;let le=(()=>{class M{constructor(B){this.xhrFactory=B}handle(B){if("JSONP"===B.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new E.y(te=>{const ie=this.xhrFactory.build();if(ie.open(B.method,B.urlWithParams),B.withCredentials&&(ie.withCredentials=!0),B.headers.forEach((Mt,yt)=>ie.setRequestHeader(Mt,yt.join(","))),B.headers.has("Accept")||ie.setRequestHeader("Accept","application/json, text/plain, */*"),!B.headers.has("Content-Type")){const Mt=B.detectContentTypeHeader();null!==Mt&&ie.setRequestHeader("Content-Type",Mt)}if(B.responseType){const Mt=B.responseType.toLowerCase();ie.responseType="json"!==Mt?Mt:"text"}const Ue=B.serializeBody();let He=null;const et=()=>{if(null!==He)return He;const Mt=1223===ie.status?204:ie.status,yt=ie.statusText||"OK",Ot=new T(ie.getAllResponseHeaders()),Gt=function(M){return"responseURL"in M&&M.responseURL?M.responseURL:/^X-Request-URL:/m.test(M.getAllResponseHeaders())?M.getResponseHeader("X-Request-URL"):null}(ie)||B.url;return He=new xe({headers:Ot,status:Mt,statusText:yt,url:Gt}),He},pt=()=>{let{headers:Mt,status:yt,statusText:Ot,url:Gt}=et(),Ht=null;204!==yt&&(Ht=void 0===ie.response?ie.responseText:ie.response),0===yt&&(yt=Ht?200:0);let un=yt>=200&&yt<300;if("json"===B.responseType&&"string"==typeof Ht){const Re=Ht;Ht=Ht.replace(Te,"");try{Ht=""!==Ht?JSON.parse(Ht):null}catch(Y){Ht=Re,un&&(un=!1,Ht={error:Y,text:Ht})}}un?(te.next(new qe({body:Ht,headers:Mt,status:yt,statusText:Ot,url:Gt||void 0})),te.complete()):te.error(new We({error:Ht,headers:Mt,status:yt,statusText:Ot,url:Gt||void 0}))},wt=Mt=>{const{url:yt}=et(),Ot=new We({error:Mt,status:ie.status||0,statusText:ie.statusText||"Unknown Error",url:yt||void 0});te.error(Ot)};let Ut=!1;const It=Mt=>{Ut||(te.next(et()),Ut=!0);let yt={type:Ce.DownloadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(yt.total=Mt.total),"text"===B.responseType&&!!ie.responseText&&(yt.partialText=ie.responseText),te.next(yt)},xt=Mt=>{let yt={type:Ce.UploadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(yt.total=Mt.total),te.next(yt)};return ie.addEventListener("load",pt),ie.addEventListener("error",wt),ie.addEventListener("timeout",wt),ie.addEventListener("abort",wt),B.reportProgress&&(ie.addEventListener("progress",It),null!==Ue&&ie.upload&&ie.upload.addEventListener("progress",xt)),ie.send(Ue),te.next({type:Ce.Sent}),()=>{ie.removeEventListener("error",wt),ie.removeEventListener("abort",wt),ie.removeEventListener("load",pt),ie.removeEventListener("timeout",wt),B.reportProgress&&(ie.removeEventListener("progress",It),null!==Ue&&ie.upload&&ie.upload.removeEventListener("progress",xt)),ie.readyState!==ie.DONE&&ie.abort()}})}}return M.\u0275fac=function(B){return new(B||M)(_.LFG(a.JF))},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac}),M})();const H=new _.OlP("XSRF_COOKIE_NAME"),_e=new _.OlP("XSRF_HEADER_NAME");class be{}let fe=(()=>{class M{constructor(B,te,ie){this.doc=B,this.platform=te,this.cookieName=ie,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const B=this.doc.cookie||"";return B!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(B,this.cookieName),this.lastCookieString=B),this.lastToken}}return M.\u0275fac=function(B){return new(B||M)(_.LFG(a.K0),_.LFG(_.Lbi),_.LFG(H))},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac}),M})(),J=(()=>{class M{constructor(B,te){this.tokenService=B,this.headerName=te}intercept(B,te){const ie=B.url.toLowerCase();if("GET"===B.method||"HEAD"===B.method||ie.startsWith("http://")||ie.startsWith("https://"))return te.handle(B);const Ue=this.tokenService.getToken();return null!==Ue&&!B.headers.has(this.headerName)&&(B=B.clone({headers:B.headers.set(this.headerName,Ue)})),te.handle(B)}}return M.\u0275fac=function(B){return new(B||M)(_.LFG(be),_.LFG(_e))},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac}),M})(),ue=(()=>{class M{constructor(B,te){this.backend=B,this.injector=te,this.chain=null}handle(B){if(null===this.chain){const te=this.injector.get(Kt,[]);this.chain=te.reduceRight((ie,Ue)=>new Xt(ie,Ue),this.backend)}return this.chain.handle(B)}}return M.\u0275fac=function(B){return new(B||M)(_.LFG(G),_.LFG(_.zs3))},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac}),M})(),ze=(()=>{class M{static disable(){return{ngModule:M,providers:[{provide:J,useClass:Dt}]}}static withOptions(B={}){return{ngModule:M,providers:[B.cookieName?{provide:H,useValue:B.cookieName}:[],B.headerName?{provide:_e,useValue:B.headerName}:[]]}}}return M.\u0275fac=function(B){return new(B||M)},M.\u0275mod=_.oAB({type:M}),M.\u0275inj=_.cJS({providers:[J,{provide:Kt,useExisting:J,multi:!0},{provide:be,useClass:fe},{provide:H,useValue:"XSRF-TOKEN"},{provide:_e,useValue:"X-XSRF-TOKEN"}]}),M})(),ot=(()=>{class M{}return M.\u0275fac=function(B){return new(B||M)},M.\u0275mod=_.oAB({type:M}),M.\u0275inj=_.cJS({providers:[rt,{provide:O,useClass:ue},le,{provide:G,useExisting:le}],imports:[[ze.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),M})()},3668:(Qe,me,g)=>{"use strict";g.d(me,{deG:()=>Fm,tb:()=>rm,AFp:()=>nm,ip1:()=>Hc,CZH:()=>lo,hGG:()=>ZC,z2F:()=>Zo,sBO:()=>MC,Sil:()=>Gc,_Vd:()=>zo,EJc:()=>am,SBq:()=>Go,qLn:()=>Io,vpe:()=>Ks,tBr:()=>Do,XFs:()=>ze,OlP:()=>$n,zs3:()=>hs,ZZ4:()=>Na,aQg:()=>Ba,soG:()=>ka,YKP:()=>dp,h0i:()=>ro,PXZ:()=>yC,R0b:()=>Zi,FiY:()=>Cr,Lbi:()=>sm,g9A:()=>im,n_E:()=>Ia,Qsj:()=>tE,FYo:()=>ap,JOm:()=>zs,q3G:()=>Xn,tp0:()=>Pr,Rgc:()=>Ko,dDg:()=>um,GfV:()=>lp,s_b:()=>Oa,ifc:()=>He,eFA:()=>fm,G48:()=>wC,Gpc:()=>k,f3M:()=>Km,_c5:()=>zC,VLi:()=>pC,c2e:()=>om,zSh:()=>Hl,wAp:()=>Vt,vHH:()=>Z,EiD:()=>Pu,mCW:()=>Mo,qzn:()=>Lr,JVY:()=>fg,pB0:()=>_g,eBb:()=>mg,L6k:()=>pg,LAX:()=>gg,cg1:()=>bc,kL8:()=>xf,yhl:()=>Mu,dqk:()=>It,sIi:()=>ko,CqO:()=>Lh,QGY:()=>ac,F4k:()=>kh,RDi:()=>rr,AaK:()=>O,z3N:()=>tr,qOj:()=>Yl,TTD:()=>Ci,_Bn:()=>sp,xp6:()=>fd,uIk:()=>Zl,Tol:()=>rf,Gre:()=>bf,ekj:()=>fc,Suo:()=>Pp,Xpm:()=>re,lG2:()=>se,Yz7:()=>X,cJS:()=>oe,oAB:()=>Dn,Yjl:()=>Fe,Y36:()=>No,_UZ:()=>Rh,GkF:()=>Ph,BQk:()=>oc,ynx:()=>rc,qZA:()=>sc,TgZ:()=>ic,EpF:()=>Fh,n5z:()=>ls,Ikx:()=>yc,SDv:()=>tp,LFG:()=>ui,$8M:()=>Si,$Z:()=>Oh,NdJ:()=>lc,CRH:()=>Fp,kcU:()=>rn,O4$:()=>Tt,oxw:()=>Vh,ALo:()=>Dp,lcZ:()=>wp,xi3:()=>Mp,Hsn:()=>jh,F$t:()=>Uh,Q6J:()=>tc,DdM:()=>mp,VKq:()=>gp,WLB:()=>_p,iGM:()=>Op,MAs:()=>bh,CHM:()=>yr,LSH:()=>il,Udp:()=>hc,WFA:()=>cc,d8E:()=>vc,YNc:()=>vh,W1O:()=>Bp,_uU:()=>ff,Oqu:()=>mc,hij:()=>Ca,AsE:()=>gc,lnq:()=>_c,Gf:()=>Rp});var a=g(8095),_=g(1346),A=g(5548),E=g(8526),Q=g(6669);function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function $(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function O(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(O).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function G(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const T=P({__forward_ref__:P});function k(e){return e.__forward_ref__=k,e.toString=function(){return O(this())},e}function R(e){return j(e)?e():e}function j(e){return"function"==typeof e&&e.hasOwnProperty(T)&&e.__forward_ref__===k}class Z extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function Se(e){return"string"==typeof e?e:null==e?"":String(e)}function je(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Se(e)}function ge(e,t){const n=t?` in ${t}`:"";throw new Z("201",`No provider for ${je(e)} found${n}`)}function bt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function X(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function oe(e){return{providers:e.providers||[],imports:e.imports||[]}}function le(e){return H(e,J)||H(e,Ne)}function H(e,t){return e.hasOwnProperty(t)?e[t]:null}function fe(e){return e&&(e.hasOwnProperty(ue)||e.hasOwnProperty(Je))?e[ue]:null}const J=P({\u0275prov:P}),ue=P({\u0275inj:P}),Ne=P({ngInjectableDef:P}),Je=P({ngInjectorDef:P});var ze=(()=>((ze=ze||{})[ze.Default=0]="Default",ze[ze.Host=1]="Host",ze[ze.Self=2]="Self",ze[ze.SkipSelf=4]="SkipSelf",ze[ze.Optional=8]="Optional",ze))();let ot;function ne(e){const t=ot;return ot=e,t}function M(e,t,n){const i=le(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&ze.Optional?null:void 0!==t?t:void ge(O(e),"Injector")}function B(e){return{toString:e}.toString()}var te=(()=>((te=te||{})[te.OnPush=0]="OnPush",te[te.Default=1]="Default",te))(),He=(()=>{return(e=He||(He={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",He;var e})();const et="undefined"!=typeof globalThis&&globalThis,pt="undefined"!=typeof window&&window,wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,It=et||"undefined"!=typeof global&&global||pt||wt,yt={},Ot=[],Gt=P({\u0275cmp:P}),Ht=P({\u0275dir:P}),un=P({\u0275pipe:P}),Re=P({\u0275mod:P}),Y=P({\u0275fac:P}),F=P({__NG_ELEMENT_ID__:P});let N=0;function re(e){return B(()=>{const n={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===te.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ot,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||He.Emulated,id:"c",styles:e.styles||Ot,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,r=e.features,u=e.pipes;return i.id+=N++,i.inputs=ae(e.inputs,n),i.outputs=ae(e.outputs),r&&r.forEach(m=>m(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(it):null,i.pipeDefs=u?()=>("function"==typeof u?u():u).map(St):null,i})}function it(e){return $e(e)||function(e){return e[Ht]||null}(e)}function St(e){return function(e){return e[un]||null}(e)}const on={};function Dn(e){return B(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ot,declarations:e.declarations||Ot,imports:e.imports||Ot,exports:e.exports||Ot,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(on[e.id]=e.type),t})}function ae(e,t){if(null==e)return yt;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,t&&(t[s]=r)}return n}const se=re;function Fe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function $e(e){return e[Gt]||null}function Qt(e,t){const n=e[Re]||null;if(!n&&!0===t)throw new Error(`Type ${O(e)} does not have '\u0275mod' property.`);return n}function An(e){return Array.isArray(e)&&"object"==typeof e[1]}function xn(e){return Array.isArray(e)&&!0===e[1]}function _i(e){return 0!=(8&e.flags)}function Oi(e){return 2==(2&e.flags)}function di(e){return 1==(1&e.flags)}function Fn(e){return null!==e.template}function es(e){return 0!=(512&e[2])}function ii(e,t){return e.hasOwnProperty(Y)?e[Y]:null}class gs{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ci(){return Kn}function Kn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Di),ks}function ks(){const e=ns(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===yt)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Di(e,t,n,i){const s=ns(e)||function(e,t){return e[Hi]=t}(e,{previous:yt,current:null}),r=s.current||(s.current={}),u=s.previous,m=this.declaredInputs[n],v=u[m];r[m]=new gs(v&&v.currentValue,t,u===yt),e[i]=t}Ci.ngInherit=!0;const Hi="__ngSimpleChanges__";function ns(e){return e[Hi]||null}const Ls="http://www.w3.org/2000/svg";let ss;function rr(e){ss=e}function zi(){return void 0!==ss?ss:"undefined"!=typeof document?document:void 0}function yn(e){return!!e.listen}const Xs={createRenderer:(e,t)=>zi()};function D(e){for(;Array.isArray(e);)e=e[0];return e}function c(e,t){return D(t[e])}function C(e,t){return D(t[e.index])}function Be(e,t){return e.data[t]}function ht(e,t){return e[t]}function Rt(e,t){const n=t[e];return An(n)?n:n[0]}function sn(e){return 4==(4&e[2])}function an(e){return 128==(128&e[2])}function hn(e,t){return null==t?null:e[t]}function vn(e){e[18]=0}function Tn(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const At={lFrame:wi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Bs(){return At.bindingsEnabled}function nt(){return At.lFrame.lView}function qt(){return At.lFrame.tView}function yr(e){return At.lFrame.contextLView=e,e[8]}function Nn(){let e=qs();for(;null!==e&&64===e.type;)e=e.parent;return e}function qs(){return At.lFrame.currentTNode}function ar(){const e=At.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function L(e,t){const n=At.lFrame;n.currentTNode=e,n.isParent=t}function l(){return At.lFrame.isParent}function d(){At.lFrame.isParent=!1}function K(){return At.isInCheckNoChangesMode}function he(e){At.isInCheckNoChangesMode=e}function pe(){const e=At.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ke(){return At.lFrame.bindingIndex}function ct(){return At.lFrame.bindingIndex++}function _t(e){const t=At.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Jt(e){At.lFrame.inI18n=e}function Pt(e,t){const n=At.lFrame;n.bindingIndex=n.bindingRootIndex=e,en(t)}function en(e){At.lFrame.currentDirectiveIndex=e}function Mn(e){const t=At.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function In(){return At.lFrame.currentQueryIndex}function Hn(e){At.lFrame.currentQueryIndex=e}function Jn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function as(e,t,n){if(n&ze.SkipSelf){let s=t,r=e;for(;!(s=s.parent,null!==s||n&ze.Host||(s=Jn(r),null===s||(r=r[15],10&s.type))););if(null===s)return!1;t=s,e=r}const i=At.lFrame=Qn();return i.currentTNode=t,i.lView=e,!0}function ci(e){const t=Qn(),n=e[1];At.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qn(){const e=At.lFrame,t=null===e?null:e.child;return null===t?wi(e):t}function wi(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ki(){const e=At.lFrame;return At.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Li=ki;function Js(){const e=ki();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function zn(){return At.lFrame.selectedIndex}function Gi(e){At.lFrame.selectedIndex=e}function ft(){const e=At.lFrame;return Be(e.tView,e.selectedIndex)}function Tt(){At.lFrame.currentNamespace=Ls}function rn(){At.lFrame.currentNamespace=null}function Mi(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const r=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:m,ngAfterViewInit:v,ngAfterViewChecked:x,ngOnDestroy:z}=r;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),v&&(e.viewHooks||(e.viewHooks=[])).push(-n,v),x&&((e.viewHooks||(e.viewHooks=[])).push(n,x),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,x)),null!=z&&(e.destroyHooks||(e.destroyHooks=[])).push(n,z)}}function En(e,t,n){Bn(e,t,3,n)}function lr(e,t,n,i){(3&e[2])===n&&Bn(e,t,n,i)}function yi(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Bn(e,t,n,i){const r=null!=i?i:-1,u=t.length-1;let m=0;for(let v=void 0!==i?65535&e[18]:0;v<u;v++)if("number"==typeof t[v+1]){if(m=t[v],null!=i&&m>=i)break}else t[v]<0&&(e[18]+=65536),(m<r||-1==r)&&(cr(e,n,t,v),e[18]=(4294901760&e[18])+v+2),v++}function cr(e,t,n,i){const s=n[i]<0,r=n[i+1],m=e[s?-n[i]:n[i]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{r.call(m)}finally{}}}else try{r.call(m)}finally{}}class $i{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function hr(e,t,n){const i=yn(e);let s=0;for(;s<n.length;){const r=n[s];if("number"==typeof r){if(0!==r)break;s++;const u=n[s++],m=n[s++],v=n[s++];i?e.setAttribute(t,m,v,u):t.setAttributeNS(u,m,v)}else{const u=r,m=n[++s];Es(u)?i&&e.setProperty(t,u,m):i?e.setAttribute(t,u,m):t.setAttribute(u,m),s++}}return s}function Ha(e){return 3===e||4===e||6===e}function Es(e){return 64===e.charCodeAt(0)}function vr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?n=s:0===n||qo(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function qo(e,t,n,i,s){let r=0,u=e.length;if(-1===t)u=-1;else for(;r<e.length;){const m=e[r++];if("number"==typeof m){if(m===t){u=-1;break}if(m>t){u=r-1;break}}}for(;r<e.length;){const m=e[r];if("number"==typeof m)break;if(m===n){if(null===i)return void(null!==s&&(e[r+1]=s));if(i===e[r+1])return void(e[r+2]=s)}r++,null!==i&&r++,null!==s&&r++}-1!==u&&(e.splice(u,0,t),r=u+1),e.splice(r++,0,n),null!==i&&e.splice(r++,0,i),null!==s&&e.splice(r++,0,s)}function Jo(e){return-1!==e}function fr(e){return 32767&e}function pr(e,t){let n=function(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let ho=!0;function br(e){const t=ho;return ho=e,t}let fo=0;function Er(e,t){const n=po(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,xr(i.data,e),xr(t,null),xr(i.blueprint,null));const s=mo(e,t),r=e.injectorIndex;if(Jo(s)){const u=fr(s),m=pr(s,t),v=m[1].data;for(let x=0;x<8;x++)t[r+x]=m[u+x]|v[u+x]}return t[r+8]=s,r}function xr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function po(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function mo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){const r=s[1],u=r.type;if(i=2===u?r.declTNode:1===u?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function y(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(F)&&(i=n[F]),null==i&&(i=n[F]=fo++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function f(e,t,n){if(n&ze.Optional)return e;ge(t,"NodeInjector")}function w(e,t,n,i){if(n&ze.Optional&&void 0===i&&(i=null),0==(n&(ze.Self|ze.Host))){const s=e[9],r=ne(void 0);try{return s?s.get(t,i,n&ze.Optional):M(t,i,n&ze.Optional)}finally{ne(r)}}return f(i,t,n)}function I(e,t,n,i=ze.Default,s){if(null!==e){const r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(F)?e[F]:void 0;return"number"==typeof t?t>=0?255&t:de:t}(n);if("function"==typeof r){if(!as(t,e,i))return i&ze.Host?f(s,n,i):w(t,n,i,s);try{const u=r(i);if(null!=u||i&ze.Optional)return u;ge(n)}finally{Li()}}else if("number"==typeof r){let u=null,m=po(e,t),v=-1,x=i&ze.Host?t[16][6]:null;for((-1===m||i&ze.SkipSelf)&&(v=-1===m?mo(e,t):t[m+8],-1!==v&&_n(i,!1)?(u=t[1],m=fr(v),t=pr(v,t)):m=-1);-1!==m;){const z=t[1];if(Nt(r,m,z.data)){const ee=Me(m,t,n,u,i,x);if(ee!==W)return ee}v=t[m+8],-1!==v&&_n(i,t[1].data[m+8]===x)&&Nt(r,m,t)?(u=z,m=fr(v),t=pr(v,t)):m=-1}}}return w(t,n,i,s)}const W={};function de(){return new ln(Nn(),nt())}function Me(e,t,n,i,s,r){const u=t[1],m=u.data[e+8],z=Ke(m,u,n,null==i?Oi(m)&&ho:i!=u&&0!=(3&m.type),s&ze.Host&&r===m);return null!==z?vt(t,u,z,m):W}function Ke(e,t,n,i,s){const r=e.providerIndexes,u=t.data,m=1048575&r,v=e.directiveStart,z=r>>20,we=s?m+z:e.directiveEnd;for(let Le=i?m:m+z;Le<we;Le++){const Ze=u[Le];if(Le<v&&n===Ze||Le>=v&&Ze.type===n)return Le}if(s){const Le=u[v];if(Le&&Fn(Le)&&Le.type===n)return v}return null}function vt(e,t,n,i){let s=e[n];const r=t.data;if(function(e){return e instanceof $i}(s)){const u=s;u.resolving&&function(e,t){throw new Z("200",`Circular dependency in DI detected for ${e}`)}(je(r[n]));const m=br(u.canSeeViewProviders);u.resolving=!0;const v=u.injectImpl?ne(u.injectImpl):null;as(e,i,ze.Default);try{s=e[n]=u.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=t.type.prototype;if(i){const u=Kn(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{null!==v&&ne(v),br(m),u.resolving=!1,Li()}}return s}function Nt(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function _n(e,t){return!(e&ze.Self||e&ze.Host&&t)}class ln{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return I(this._tNode,this._lView,t,i,n)}}function ls(e){return B(()=>{const t=e.prototype.constructor,n=t[Y]||Cs(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const r=s[Y]||Cs(s);if(r&&r!==n)return r;s=Object.getPrototypeOf(s)}return r=>new r})}function Cs(e){return j(e)?()=>{const t=Cs(R(e));return t&&t()}:ii(e)}function Si(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let s=0;for(;s<i;){const r=n[s];if(Ha(r))break;if(0===r)s+=2;else if("number"==typeof r)for(s++;s<i&&"string"==typeof n[s];)s++;else{if(r===t)return n[s+1];s+=2}}}return null}(Nn(),e)}const cs="__parameters__";function Or(e,t,n){return B(()=>{const i=function(e){return function(...n){if(e){const i=e(...n);for(const s in i)this[s]=i[s]}}}(t);function s(...r){if(this instanceof s)return i.apply(this,r),this;const u=new s(...r);return m.annotation=u,m;function m(v,x,z){const ee=v.hasOwnProperty(cs)?v[cs]:Object.defineProperty(v,cs,{value:[]})[cs];for(;ee.length<=z;)ee.push(null);return(ee[z]=ee[z]||[]).push(u),v}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class $n{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=X({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Fm=new $n("AnalyzeForEntryComponents");function ds(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ds(i,t)):t!==e&&t.push(i)}return t}function Us(e,t){e.forEach(n=>Array.isArray(n)?Us(n,t):t(n))}function uu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function na(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vo(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Ki(e,t,n){let i=Rr(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Wa(e,t){const n=Rr(e,t);if(n>=0)return e[1|n]}function Rr(e,t){return function(e,t,n){let i=0,s=e.length>>n;for(;s!==i;){const r=i+(s-i>>1),u=e[r<<n];if(t===u)return r<<n;u>t?s=r:i=r+1}return~(s<<n)}(e,t,1)}const bo={},Ka="__NG_DI_FLAG__",sa="ngTempTokenPath",Gm=/\n/gm,mu="__source",Wm=P({provide:String,useValue:P});let Eo;function gu(e){const t=Eo;return Eo=e,t}function Ym(e,t=ze.Default){if(void 0===Eo)throw new Error("inject() must be called from an injection context");return null===Eo?M(e,void 0,t):Eo.get(e,t&ze.Optional?null:void 0,t)}function ui(e,t=ze.Default){return(ot||Ym)(R(e),t)}const Km=ui;function Qa(e){const t=[];for(let n=0;n<e.length;n++){const i=R(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let s,r=ze.Default;for(let u=0;u<i.length;u++){const m=i[u],v=Qm(m);"number"==typeof v?-1===v?s=m.token:r|=v:s=m}t.push(ui(s,r))}else t.push(ui(i))}return t}function Co(e,t){return e[Ka]=t,e.prototype[Ka]=t,e}function Qm(e){return e[Ka]}const Do=Co(Or("Inject",e=>({token:e})),-1),Cr=Co(Or("Optional"),8),Pr=Co(Or("SkipSelf"),4);let oa;function kr(e){var t;return(null==(t=function(){if(void 0===oa&&(oa=null,It.trustedTypes))try{oa=It.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return oa}())?void 0:t.createHTML(e))||e}class Dr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class lg extends Dr{getTypeName(){return"HTML"}}class cg extends Dr{getTypeName(){return"Style"}}class ug extends Dr{getTypeName(){return"Script"}}class dg extends Dr{getTypeName(){return"URL"}}class hg extends Dr{getTypeName(){return"ResourceURL"}}function tr(e){return e instanceof Dr?e.changingThisBreaksApplicationSecurity:e}function Lr(e,t){const n=Mu(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Mu(e){return e instanceof Dr&&e.getTypeName()||null}function fg(e){return new lg(e)}function pg(e){return new cg(e)}function mg(e){return new ug(e)}function gg(e){return new dg(e)}function _g(e){return new hg(e)}function Su(e){const t=new vg(e);return function(){try{return!!(new window.DOMParser).parseFromString(kr(""),"text/html")}catch(e){return!1}}()?new yg(t):t}class yg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(kr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class vg{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=kr(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=kr(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const u=n.item(s).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Eg=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Cg=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Mo(e){return(e=String(e)).match(Eg)||e.match(Cg)?e:"unsafe:"+e}function Au(e){return(e=String(e)).split(",").map(t=>Mo(t.trim())).join(", ")}function js(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function So(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Tu=js("area,br,col,hr,img,wbr"),Iu=js("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xu=js("rp,rt"),Ja=So(Tu,So(Iu,js("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),So(xu,js("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),So(xu,Iu)),el=js("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tl=js("srcset"),Ou=So(el,tl,js("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),js("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Dg=js("script,style,template");class wg{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ja.hasOwnProperty(n))return this.sanitizedSomething=!0,!Dg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let s=0;s<i.length;s++){const r=i.item(s),u=r.name,m=u.toLowerCase();if(!Ou.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let v=r.value;el[m]&&(v=Mo(v)),tl[m]&&(v=Au(v)),this.buf.push(" ",u,'="',Ru(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ja.hasOwnProperty(n)&&!Tu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ru(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Mg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sg=/([^\#-~ |!])/g;function Ru(e){return e.replace(/&/g,"&amp;").replace(Mg,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Sg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let la;function Pu(e,t){let n=null;try{la=la||Su(e);let i=t?String(t):"";n=la.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=la.getInertBodyElement(i)}while(i!==r);return kr((new wg).sanitizeChildren(nl(n)||n))}finally{if(n){const i=nl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function nl(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xn=(()=>((Xn=Xn||{})[Xn.NONE=0]="NONE",Xn[Xn.HTML=1]="HTML",Xn[Xn.STYLE=2]="STYLE",Xn[Xn.SCRIPT=3]="SCRIPT",Xn[Xn.URL=4]="URL",Xn[Xn.RESOURCE_URL=5]="RESOURCE_URL",Xn))();function il(e){const t=function(){const e=nt();return e&&e[12]}();return t?t.sanitize(Xn.URL,e)||"":Lr(e,"URL")?tr(e):Mo(Se(e))}const Lu="__ngContext__";function vi(e,t){e[Lu]=t}function rl(e){const t=function(e){return e[Lu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function al(e){return e.ngOriginalError}function $g(e,...t){e.error(...t)}class Io{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=(e=t)&&e.ngErrorLogger||$g;var e;i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&al(t);for(;n&&al(n);)n=al(n);return n||null}}const ju=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(It))();function Hs(e){return e instanceof Function?e():e}var zs=(()=>((zs=zs||{})[zs.Important=1]="Important",zs[zs.DashCase=2]="DashCase",zs))();let ll;function cl(e,t){return ll(e,t)}function xo(e){const t=e[3];return xn(t)?t[3]:t}function ul(e){return Wu(e[13])}function dl(e){return Wu(e[4])}function Wu(e){for(;null!==e&&!xn(e);)e=e[4];return e}function Br(e,t,n,i,s){if(null!=i){let r,u=!1;xn(i)?r=i:An(i)&&(u=!0,i=i[0]);const m=D(i);0===e&&null!==n?null==s?qu(t,n,m):wr(t,n,m,s||null,!0):1===e&&null!==n?wr(t,n,m,s||null,!0):2===e?function(e,t,n){const i=ca(e,t);i&&function(e,t,n,i){yn(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,m,u):3===e&&t.destroyNode(m),null!=r&&function(e,t,n,i,s){const r=n[7];r!==D(n)&&Br(t,e,i,r,s);for(let m=10;m<n.length;m++){const v=n[m];Oo(v[1],v,e,t,i,r)}}(t,e,r,n,s)}}function hl(e,t){return yn(e)?e.createText(t):e.createTextNode(t)}function fl(e,t,n){return yn(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Ku(e,t){const n=e[9],i=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Tn(s,-1)),n.splice(i,1)}function pl(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const s=i[17];null!==s&&s!==e&&Ku(s,i),t>0&&(e[n-1][4]=i[4]);const r=na(e,10+t);!function(e,t){Oo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const u=r[19];null!==u&&u.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Qu(e,t){if(!(256&t[2])){const n=t[11];yn(n)&&n.destroyNode&&Oo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ml(e[1],e);for(;t;){let n=null;if(An(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)An(t)&&ml(t[1],t),t=t[3];null===t&&(t=e),An(t)&&ml(t[1],t),n=t&&t[4]}t=n}}(t)}}function ml(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const s=t[n[i]];if(!(s instanceof $i)){const r=n[i+1];if(Array.isArray(r))for(let u=0;u<r.length;u+=2){const m=s[r[u]],v=r[u+1];try{v.call(m)}finally{}}else try{r.call(s)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const u=n[r+1],m="function"==typeof u?u(t):D(t[u]),v=i[s=n[r+2]],x=n[r+3];"boolean"==typeof x?m.removeEventListener(n[r],v,x):x>=0?i[s=x]():i[s=-x].unsubscribe(),r+=2}else{const u=i[s=n[r+1]];n[r].call(u)}if(null!==i){for(let r=s+1;r<i.length;r++)i[r]();t[7]=null}}(e,t),1===t[1].type&&yn(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&xn(t[3])){n!==t[3]&&Ku(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Zu(e,t,n){return Xu(e,t.parent,n)}function Xu(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const s=e.data[i.directiveStart].encapsulation;if(s===He.None||s===He.Emulated)return null}return C(i,n)}function wr(e,t,n,i,s){yn(e)?e.insertBefore(t,n,i,s):t.insertBefore(n,i,s)}function qu(e,t,n){yn(e)?e.appendChild(t,n):t.appendChild(n)}function Ju(e,t,n,i,s){null!==i?wr(e,t,n,i,s):qu(e,t,n)}function ca(e,t){return yn(e)?e.parentNode(t):t.parentNode}function ed(e,t,n){return nd(e,t,n)}function td(e,t,n){return 40&e.type?C(e,n):null}let gl,nd=td;function id(e,t){nd=e,gl=t}function ua(e,t,n,i){const s=Zu(e,i,t),r=t[11],m=ed(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let v=0;v<n.length;v++)Ju(r,s,n[v],m,!1);else Ju(r,s,n,m,!1);void 0!==gl&&gl(r,i,t,n,s)}function da(e,t){if(null!==t){const n=t.type;if(3&n)return C(t,e);if(4&n)return _l(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return da(e,i);{const s=e[t.index];return xn(s)?_l(-1,s):D(s)}}if(32&n)return cl(t,e)()||D(e[t.index]);{const i=sd(e,t);return null!==i?Array.isArray(i)?i[0]:da(xo(e[16]),i):da(e,t.next)}}return null}function sd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function _l(e,t){const n=10+e+1;if(n<t.length){const i=t[n],s=i[1].firstChild;if(null!==s)return da(i,s)}return t[7]}function yl(e,t,n,i,s,r,u){for(;null!=n;){const m=i[n.index],v=n.type;if(u&&0===t&&(m&&vi(D(m),i),n.flags|=4),64!=(64&n.flags))if(8&v)yl(e,t,n.child,i,s,r,!1),Br(t,e,s,m,r);else if(32&v){const x=cl(n,i);let z;for(;z=x();)Br(t,e,s,z,r);Br(t,e,s,m,r)}else 16&v?od(e,t,i,n,s,r):Br(t,e,s,m,r);n=u?n.projectionNext:n.next}}function Oo(e,t,n,i,s,r){yl(n,i,e.firstChild,t,s,r,!1)}function od(e,t,n,i,s,r){const u=n[16],v=u[6].projection[i.projection];if(Array.isArray(v))for(let x=0;x<v.length;x++)Br(t,e,s,v[x],r);else yl(e,t,v,u[3],s,r,!0)}function ad(e,t,n){yn(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function vl(e,t,n){yn(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ld(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const r=t.length;if(s+r===i||e.charCodeAt(s+r)<=32)return s}n=s+1}}const cd="ng-template";function v_(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==ld(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function ud(e){return 4===e.type&&e.value!==cd}function b_(e,t,n){return t===(4!==e.type||n?e.value:cd)}function E_(e,t,n){let i=4;const s=e.attrs||[],r=function(e){for(let t=0;t<e.length;t++)if(Ha(e[t]))return t;return e.length}(s);let u=!1;for(let m=0;m<t.length;m++){const v=t[m];if("number"!=typeof v){if(!u)if(4&i){if(i=2|1&i,""!==v&&!b_(e,v,n)||""===v&&1===t.length){if(Ds(i))return!1;u=!0}}else{const x=8&i?v:t[++m];if(8&i&&null!==e.attrs){if(!v_(e.attrs,x,n)){if(Ds(i))return!1;u=!0}continue}const ee=C_(8&i?"class":v,s,ud(e),n);if(-1===ee){if(Ds(i))return!1;u=!0;continue}if(""!==x){let we;we=ee>r?"":s[ee+1].toLowerCase();const Le=8&i?we:null;if(Le&&-1!==ld(Le,x,0)||2&i&&x!==we){if(Ds(i))return!1;u=!0}}}}else{if(!u&&!Ds(i)&&!Ds(v))return!1;if(u&&Ds(v))continue;u=!1,i=v|1&i}}return Ds(i)||u}function Ds(e){return 0==(1&e)}function C_(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let r=!1;for(;s<t.length;){const u=t[s];if(u===e)return s;if(3===u||6===u)r=!0;else{if(1===u||2===u){let m=t[++s];for(;"string"==typeof m;)m=t[++s];continue}if(4===u)break;if(0===u){s+=4;continue}}s+=r?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function dd(e,t,n=!1){for(let i=0;i<t.length;i++)if(E_(e,t[i],n))return!0;return!1}function S_(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let s=0;s<e.length;s++)if(e[s]!==i[s])continue e;return!0}}return!1}function hd(e,t){return e?":not("+t.trim()+")":t}function A_(e){let t=e[0],n=1,i=2,s="",r=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&i){const m=e[++n];s+="["+u+(m.length>0?'="'+m+'"':"")+"]"}else 8&i?s+="."+u:4&i&&(s+=" "+u);else""!==s&&!Ds(u)&&(t+=hd(r,s),s=""),i=u,r=r||!Ds(i);n++}return""!==s&&(t+=hd(r,s)),t}const Zt={};function fd(e){pd(qt(),nt(),zn()+e,K())}function pd(e,t,n,i){if(!i)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&En(t,r,n)}else{const r=e.preOrderHooks;null!==r&&lr(t,r,0,n)}Gi(n)}function ha(e,t){return e<<17|t<<2}function ws(e){return e>>17&32767}function bl(e){return 2|e}function nr(e){return(131068&e)>>2}function El(e,t){return-131069&e|t<<2}function Cl(e){return 1|e}function Md(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],r=n[i+1];if(-1!==r){const u=e.data[r];Hn(s),u.contentQueries(2,t[r],r)}}}function Ro(e,t,n,i,s,r,u,m,v,x){const z=t.blueprint.slice();return z[0]=s,z[2]=140|i,vn(z),z[3]=z[15]=e,z[8]=n,z[10]=u||e&&e[10],z[11]=m||e&&e[11],z[12]=v||e&&e[12]||null,z[9]=x||e&&e[9]||null,z[6]=r,z[16]=2==t.type?e[16]:z,z}function Vr(e,t,n,i,s){let r=e.data[t];if(null===r)r=Ol(e,t,n,i,s),At.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=s;const u=ar();r.injectorIndex=null===u?-1:u.injectorIndex}return L(r,!0),r}function Ol(e,t,n,i,s){const r=qs(),u=l(),v=e.data[t]=function(e,t,n,i,s,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?r:r&&r.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=v),null!==r&&(u?null==r.child&&null!==v.parent&&(r.child=v):null===r.next&&(r.next=v)),v}function Ur(e,t,n,i){if(0===n)return-1;const s=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function Po(e,t,n){ci(t);try{const i=e.viewQuery;null!==i&&Ul(1,i,n);const s=e.template;null!==s&&Sd(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Md(e,t),e.staticViewQueries&&Ul(2,e.viewQuery,n);const r=e.components;null!==r&&function(e,t){for(let n=0;n<t.length;n++)cy(e,t[n])}(t,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Js()}}function jr(e,t,n,i){const s=t[2];if(256==(256&s))return;ci(t);const r=K();try{vn(t),function(e){At.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Sd(e,t,n,2,i);const u=3==(3&s);if(!r)if(u){const x=e.preOrderCheckHooks;null!==x&&En(t,x,null)}else{const x=e.preOrderHooks;null!==x&&lr(t,x,0,null),yi(t,0)}if(function(e){for(let t=ul(e);null!==t;t=dl(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const s=n[i],r=s[3];0==(1024&s[2])&&Tn(r,1),s[2]|=1024}}}(t),function(e){for(let t=ul(e);null!==t;t=dl(t))for(let n=10;n<t.length;n++){const i=t[n],s=i[1];an(i)&&jr(s,i,s.template,i[8])}}(t),null!==e.contentQueries&&Md(e,t),!r)if(u){const x=e.contentCheckHooks;null!==x&&En(t,x)}else{const x=e.contentHooks;null!==x&&lr(t,x,1),yi(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const s=n[i];if(s<0)Gi(~s);else{const r=s,u=n[++i],m=n[++i];Pt(u,r),m(2,t[r])}}}finally{Gi(-1)}}(e,t);const m=e.components;null!==m&&function(e,t){for(let n=0;n<t.length;n++)ly(e,t[n])}(t,m);const v=e.viewQuery;if(null!==v&&Ul(2,v,i),!r)if(u){const x=e.viewCheckHooks;null!==x&&En(t,x)}else{const x=e.viewHooks;null!==x&&lr(t,x,2),yi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),r||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Tn(t[3],-1))}finally{Js()}}function z_(e,t,n,i){const s=t[10],r=!K(),u=sn(t);try{r&&!u&&s.begin&&s.begin(),u&&Po(e,t,i),jr(e,t,n,i)}finally{r&&!u&&s.end&&s.end()}}function Sd(e,t,n,i,s){const r=zn(),u=2&i;try{Gi(-1),u&&t.length>20&&pd(e,t,20,K()),n(i,s)}finally{Gi(r)}}function Ad(e,t,n){if(_i(t)){const s=t.directiveEnd;for(let r=t.directiveStart;r<s;r++){const u=e.data[r];u.contentQueries&&u.contentQueries(1,n[r],r)}}}function Rl(e,t,n){!Bs()||(function(e,t,n,i){const s=n.directiveStart,r=n.directiveEnd;e.firstCreatePass||Er(n,t),vi(i,t);const u=n.initialInputs;for(let m=s;m<r;m++){const v=e.data[m],x=Fn(v);x&&iy(t,n,v);const z=vt(t,e,m,n);vi(z,t),null!==u&&sy(0,m-s,z,v,0,u),x&&(Rt(n.index,t)[8]=z)}}(e,t,n,C(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,s=n.directiveEnd,u=n.index,m=At.lFrame.currentDirectiveIndex;try{Gi(u);for(let v=i;v<s;v++){const x=e.data[v],z=t[v];en(v),(null!==x.hostBindings||0!==x.hostVars||null!==x.hostAttrs)&&kd(x,z)}}finally{Gi(-1),en(m)}}(e,t,n))}function Pl(e,t,n=C){const i=t.localNames;if(null!==i){let s=t.index+1;for(let r=0;r<i.length;r+=2){const u=i[r+1],m=-1===u?n(t,e):e[u];e[s++]=m}}}function Td(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ma(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ma(e,t,n,i,s,r,u,m,v,x){const z=20+i,ee=z+s,we=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Zt);return n}(z,ee),Le="function"==typeof x?x():x;return we[1]={type:e,blueprint:we,template:n,queries:null,viewQuery:m,declTNode:t,data:we.slice().fill(null,z),bindingStartIndex:z,expandoStartIndex:ee,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:v,consts:Le,incompleteFirstPass:!1}}function Od(e,t,n,i){const s=jd(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&Hd(e).push(i,s.length-1))}function Rd(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function Qi(e,t,n,i,s,r,u,m){const v=C(t,n);let z,x=t.inputs;!m&&null!=x&&(z=x[i])?($d(e,n,z,i,s),Oi(t)&&function(e,t){const n=Rt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),s=null!=u?u(s,t.value||"",i):s,yn(r)?r.setProperty(v,i,s):Es(i)||(v.setProperty?v.setProperty(i,s):v[i]=s))}function Fl(e,t,n,i){let s=!1;if(Bs()){const r=function(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let r=0;r<i.length;r++){const u=i[r];dd(n,u.selectors,!1)&&(s||(s=[]),y(Er(n,t),e,u.type),Fn(u)?(Ld(e,n),s.unshift(u)):s.push(u))}return s}(e,t,n),u=null===i?null:{"":-1};if(null!==r){s=!0,Nd(n,e.data.length,r.length);for(let z=0;z<r.length;z++){const ee=r[z];ee.providersResolver&&ee.providersResolver(ee)}let m=!1,v=!1,x=Ur(e,t,r.length,null);for(let z=0;z<r.length;z++){const ee=r[z];n.mergedAttrs=vr(n.mergedAttrs,ee.hostAttrs),Bd(e,n,t,x,ee),ny(x,ee,u),null!==ee.contentQueries&&(n.flags|=8),(null!==ee.hostBindings||null!==ee.hostAttrs||0!==ee.hostVars)&&(n.flags|=128);const we=ee.type.prototype;!m&&(we.ngOnChanges||we.ngOnInit||we.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!v&&(we.ngOnChanges||we.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),v=!0),x++}!function(e,t){const i=t.directiveEnd,s=e.data,r=t.attrs,u=[];let m=null,v=null;for(let x=t.directiveStart;x<i;x++){const z=s[x],ee=z.inputs,we=null===r||ud(t)?null:ry(ee,r);u.push(we),m=Rd(ee,x,m),v=Rd(z.outputs,x,v)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=u,t.inputs=m,t.outputs=v}(e,n)}u&&function(e,t,n){if(t){const i=e.localNames=[];for(let s=0;s<t.length;s+=2){const r=n[t[s+1]];if(null==r)throw new Z("301",`Export of name '${t[s+1]}' not found!`);i.push(t[s],r)}}}(n,i,u)}return n.mergedAttrs=vr(n.mergedAttrs,n.attrs),s}function Fd(e,t,n,i,s,r){const u=r.hostBindings;if(u){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const v=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=v&&m.push(v),m.push(i,s,u)}}function kd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ld(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function ny(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Fn(t)&&(n[""]=e)}}function Nd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bd(e,t,n,i,s){e.data[i]=s;const r=s.factory||(s.factory=ii(s.type)),u=new $i(r,Fn(s),null);e.blueprint[i]=u,n[i]=u,Fd(e,t,0,i,Ur(e,n,s.hostVars,Zt),s)}function iy(e,t,n){const i=C(t,e),s=Td(n),r=e[10],u=ga(e,Ro(e,s,null,n.onPush?64:16,i,t,r,r.createRenderer(i,n),null,null));e[t.index]=u}function Gs(e,t,n,i,s,r){const u=C(e,t);!function(e,t,n,i,s,r,u){if(null==r)yn(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const m=null==u?Se(r):u(r,i||"",s);yn(e)?e.setAttribute(t,s,m,n):n?t.setAttributeNS(n,s,m):t.setAttribute(s,m)}}(t[11],u,r,e.value,n,i,s)}function sy(e,t,n,i,s,r){const u=r[t];if(null!==u){const m=i.setInput;for(let v=0;v<u.length;){const x=u[v++],z=u[v++],ee=u[v++];null!==m?i.setInput(n,ee,x,z):n[z]=ee}}}function ry(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Vd(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function ly(e,t){const n=Rt(t,e);if(an(n)){const i=n[1];80&n[2]?jr(i,n,i.template,n[8]):n[5]>0&&Ll(n)}}function Ll(e){for(let i=ul(e);null!==i;i=dl(i))for(let s=10;s<i.length;s++){const r=i[s];if(1024&r[2]){const u=r[1];jr(u,r,u.template,r[8])}else r[5]>0&&Ll(r)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const s=Rt(n[i],e);an(s)&&s[5]>0&&Ll(s)}}function cy(e,t){const n=Rt(t,e),i=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Po(i,n,n[8])}function ga(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Nl(e){for(;e;){e[2]|=64;const t=xo(e);if(es(e)&&!t)return e;e=t}return null}function Vl(e,t,n){const i=t[10];i.begin&&i.begin();try{jr(e,t,e.template,n)}catch(s){throw Gd(t,s),s}finally{i.end&&i.end()}}function Ud(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=rl(n),s=i[1];z_(s,i,s.template,n)}}(e[8])}function Ul(e,t,n){Hn(0),t(e,n)}const py=(()=>Promise.resolve(null))();function jd(e){return e[7]||(e[7]=[])}function Hd(e){return e.cleanup||(e.cleanup=[])}function zd(e,t,n){return(null===e||Fn(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Gd(e,t){const n=e[9],i=n?n.get(Io,null):null;i&&i.handleError(t)}function $d(e,t,n,i,s){for(let r=0;r<n.length;){const u=n[r++],m=n[r++],v=t[u],x=e.data[u];null!==x.setInput?x.setInput(v,s,i,m):v[m]=s}}function ir(e,t,n){const i=c(t,e);!function(e,t,n){yn(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function _a(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,r=0;if(null!==t)for(let u=0;u<t.length;u++){const m=t[u];"number"==typeof m?r=m:1==r?s=G(s,m):2==r&&(i=G(i,m+": "+t[++u]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}const jl=new $n("INJECTOR",-1);class Wd{get(t,n=bo){if(n===bo){const i=new Error(`NullInjectorError: No provider for ${O(t)}!`);throw i.name="NullInjectorError",i}return n}}const Hl=new $n("Set Injector scope."),Fo={},_y={};let zl;function Yd(){return void 0===zl&&(zl=new Wd),zl}function Kd(e,t=null,n=null,i){const s=Qd(e,t,n,i);return s._resolveInjectorDefTypes(),s}function Qd(e,t=null,n=null,i){return new yy(e,n,t||Yd(),i)}class yy{constructor(t,n,i,s=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];n&&Us(n,m=>this.processProvider(m,t,n)),Us([t],m=>this.processInjectorType(m,[],r)),this.records.set(jl,Hr(void 0,this));const u=this.records.get(Hl);this.scope=null!=u?u.value:null,this.source=s||("object"==typeof t?null:O(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=bo,i=ze.Default){this.assertNotDestroyed();const s=gu(this),r=ne(void 0);try{if(!(i&ze.SkipSelf)){let m=this.records.get(t);if(void 0===m){const v=("function"==typeof(e=t)||"object"==typeof e&&e instanceof $n)&&le(t);m=v&&this.injectableDefInScope(v)?Hr(Gl(t),Fo):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&ze.Self?Yd():this.parent).get(t,n=i&ze.Optional&&n===bo?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[sa]=u[sa]||[]).unshift(O(t)),s)throw u;return function(e,t,n,i){const s=e[sa];throw t[mu]&&s.unshift(t[mu]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=O(t);if(Array.isArray(t))s=t.map(O).join(" -> ");else if("object"==typeof t){let r=[];for(let u in t)if(t.hasOwnProperty(u)){let m=t[u];r.push(u+":"+("string"==typeof m?JSON.stringify(m):O(m)))}s=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(Gm,"\n  ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e[sa]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{ne(r),gu(s)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,s)=>t.push(O(s))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,i){if(!(t=R(t)))return!1;let s=fe(t);const r=null==s&&t.ngModule||void 0,u=void 0===r?t:r,m=-1!==i.indexOf(u);if(void 0!==r&&(s=fe(r)),null==s)return!1;if(null!=s.imports&&!m){let z;i.push(u);try{Us(s.imports,ee=>{this.processInjectorType(ee,n,i)&&(void 0===z&&(z=[]),z.push(ee))})}finally{}if(void 0!==z)for(let ee=0;ee<z.length;ee++){const{ngModule:we,providers:Le}=z[ee];Us(Le,Ze=>this.processProvider(Ze,we,Le||Ot))}}this.injectorDefTypes.add(u);const v=ii(u)||(()=>new u);this.records.set(u,Hr(v,Fo));const x=s.providers;if(null!=x&&!m){const z=t;Us(x,ee=>this.processProvider(ee,z,x))}return void 0!==r&&void 0!==t.providers}processProvider(t,n,i){let s=zr(t=R(t))?t:R(t&&t.provide);const r=(e=t,Xd(e)?Hr(void 0,e.useValue):Hr(Zd(e),Fo));var e;if(zr(t)||!0!==t.multi)this.records.get(s);else{let u=this.records.get(s);u||(u=Hr(void 0,Fo,!0),u.factory=()=>Qa(u.multi),this.records.set(s,u)),s=t,u.multi.push(t)}this.records.set(s,r)}hydrate(t,n){return n.value===Fo&&(n.value=_y,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=R(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Gl(e){const t=le(e),n=null!==t?t.factory:ii(e);if(null!==n)return n;if(e instanceof $n)throw new Error(`Token ${O(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const i=vo(t,"?");throw new Error(`Can't resolve all parameters for ${O(e)}: (${i.join(", ")}).`)}const n=function(e){const t=e&&(e[J]||e[Ne]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Zd(e,t,n){let i;if(zr(e)){const s=R(e);return ii(s)||Gl(s)}if(Xd(e))i=()=>R(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Qa(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>ui(R(e.useExisting));else{const s=R(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ii(s)||Gl(s);i=()=>new s(...Qa(e.deps))}return i}function Hr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xd(e){return null!==e&&"object"==typeof e&&Wm in e}function zr(e){return"function"==typeof e}let hs=(()=>{class e{static create(n,i){var s;if(Array.isArray(n))return Kd({name:""},i,n,"");{const r=null!=(s=n.name)?s:"";return Kd({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=bo,e.NULL=new Wd,e.\u0275prov=X({token:e,providedIn:"any",factory:()=>ui(jl)}),e.__NG_ELEMENT_ID__=-1,e})();function Fy(e,t){Mi(rl(e)[1],Nn())}function Yl(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let s;if(Fn(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(n){i.push(s);const u=e;u.inputs=Kl(e.inputs),u.declaredInputs=Kl(e.declaredInputs),u.outputs=Kl(e.outputs);const m=s.hostBindings;m&&By(e,m);const v=s.viewQuery,x=s.contentQueries;if(v&&Ly(e,v),x&&Ny(e,x),$(e.inputs,s.inputs),$(e.declaredInputs,s.declaredInputs),$(e.outputs,s.outputs),Fn(s)&&s.data.animation){const z=e.data;z.animation=(z.animation||[]).concat(s.data.animation)}}const r=s.features;if(r)for(let u=0;u<r.length;u++){const m=r[u];m&&m.ngInherit&&m(e),m===Yl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=vr(s.hostAttrs,n=vr(n,s.hostAttrs))}}(i)}function Kl(e){return e===yt?{}:e===Ot?[]:e}function Ly(e,t){const n=e.viewQuery;e.viewQuery=n?(i,s)=>{t(i,s),n(i,s)}:t}function Ny(e,t){const n=e.contentQueries;e.contentQueries=n?(i,s,r)=>{t(i,s,r),n(i,s,r)}:t}function By(e,t){const n=e.hostBindings;e.hostBindings=n?(i,s)=>{t(i,s),n(i,s)}:t}let ya=null;function Gr(){if(!ya){const e=It.Symbol;if(e&&e.iterator)ya=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(ya=i)}}}return ya}function ko(e){return!!Ql(e)&&(Array.isArray(e)||!(e instanceof Map)&&Gr()in e)}function Ql(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $s(e,t,n){return e[t]=n}function bi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Mr(e,t,n,i){const s=bi(e,t,n);return bi(e,t+1,i)||s}function Zl(e,t,n,i){const s=nt();return bi(s,ct(),t)&&(qt(),Gs(ft(),s,e,t,n,i)),Zl}function Wr(e,t,n,i){return bi(e,ct(),n)?t+Se(n)+i:Zt}function Kr(e,t,n,i,s,r,u,m){const x=function(e,t,n,i,s){const r=Mr(e,t,n,i);return bi(e,t+2,s)||r}(e,ke(),n,s,u);return _t(3),x?t+Se(n)+i+Se(s)+r+Se(u)+m:Zt}function vh(e,t,n,i,s,r,u,m){const v=nt(),x=qt(),z=e+20,ee=x.firstCreatePass?function(e,t,n,i,s,r,u,m,v){const x=t.consts,z=Vr(t,e,4,u||null,hn(x,m));Fl(t,n,z,hn(x,v)),Mi(t,z);const ee=z.tViews=ma(2,z,i,s,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,x);return null!==t.queries&&(t.queries.template(t,z),ee.queries=t.queries.embeddedTView(z)),z}(z,x,v,t,n,i,s,r,u):x.data[z];L(ee,!1);const we=v[11].createComment("");ua(x,v,we,ee),vi(we,v),ga(v,v[z]=Vd(we,v,we,ee)),di(ee)&&Rl(x,v,ee),null!=u&&Pl(v,ee,m)}function bh(e){return ht(At.lFrame.contextLView,20+e)}function No(e,t=ze.Default){const n=nt();return null===n?ui(e,t):I(Nn(),n,R(e),t)}function Oh(){throw new Error("invalid")}function tc(e,t,n){const i=nt();return bi(i,ct(),t)&&Qi(qt(),ft(),i,e,t,i[11],n,!1),tc}function nc(e,t,n,i,s){const u=s?"class":"style";$d(e,n,t.inputs[u],u,i)}function ic(e,t,n,i){const s=nt(),r=qt(),u=20+e,m=s[11],v=s[u]=fl(m,t,At.lFrame.currentNamespace),x=r.firstCreatePass?function(e,t,n,i,s,r,u){const m=t.consts,x=Vr(t,e,2,s,hn(m,r));return Fl(t,n,x,hn(m,u)),null!==x.attrs&&_a(x,x.attrs,!1),null!==x.mergedAttrs&&_a(x,x.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,x),x}(u,r,s,0,t,n,i):r.data[u];L(x,!0);const z=x.mergedAttrs;null!==z&&hr(m,v,z);const ee=x.classes;null!==ee&&vl(m,v,ee);const we=x.styles;null!==we&&ad(m,v,we),64!=(64&x.flags)&&ua(r,s,v,x),0===At.lFrame.elementDepthCount&&vi(v,s),At.lFrame.elementDepthCount++,di(x)&&(Rl(r,s,x),Ad(r,x,s)),null!==i&&Pl(s,x)}function sc(){let e=Nn();l()?d():(e=e.parent,L(e,!1));const t=e;At.lFrame.elementDepthCount--;const n=qt();n.firstCreatePass&&(Mi(n,e),_i(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&nc(n,t,nt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&nc(n,t,nt(),t.stylesWithoutHost,!1)}function Rh(e,t,n,i){ic(e,t,n,i),sc()}function rc(e,t,n){const i=nt(),s=qt(),r=e+20,u=s.firstCreatePass?function(e,t,n,i,s){const r=t.consts,u=hn(r,i),m=Vr(t,e,8,"ng-container",u);return null!==u&&_a(m,u,!0),Fl(t,n,m,hn(r,s)),null!==t.queries&&t.queries.elementStart(t,m),m}(r,s,i,t,n):s.data[r];L(u,!0);const m=i[r]=i[11].createComment("");ua(s,i,m,u),vi(m,i),di(u)&&(Rl(s,i,u),Ad(s,u,i)),null!=n&&Pl(i,u)}function oc(){let e=Nn();const t=qt();l()?d():(e=e.parent,L(e,!1)),t.firstCreatePass&&(Mi(t,e),_i(e)&&t.queries.elementEnd(e))}function Ph(e,t,n){rc(e,t,n),oc()}function Fh(){return nt()}function ac(e){return!!e&&"function"==typeof e.then}function kh(e){return!!e&&"function"==typeof e.subscribe}const Lh=kh;function lc(e,t,n,i){const s=nt(),r=qt(),u=Nn();return Nh(r,s,s[11],u,e,t,!!n,i),lc}function cc(e,t){const n=Nn(),i=nt(),s=qt();return Nh(s,i,zd(Mn(s.data),n,i),n,e,t,!1),cc}function Nh(e,t,n,i,s,r,u,m){const v=di(i),z=e.firstCreatePass&&Hd(e),ee=t[8],we=jd(t);let Le=!0;if(3&i.type||m){const mt=C(i,t),Ct=m?m(mt):mt,tt=we.length,Lt=m?cn=>m(D(cn[i.index])):i.index;if(yn(n)){let cn=null;if(!m&&v&&(cn=function(e,t,n,i){const s=e.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const u=s[r];if(u===n&&s[r+1]===i){const m=t[7],v=s[r+2];return m.length>v?m[v]:null}"string"==typeof u&&(r+=2)}return null}(e,t,s,i.index)),null!==cn)(cn.__ngLastListenerFn__||cn).__ngNextListenerFn__=r,cn.__ngLastListenerFn__=r,Le=!1;else{r=uc(i,t,ee,r,!1);const Cn=n.listen(Ct,s,r);we.push(r,Cn),z&&z.push(s,Lt,tt,tt+1)}}else r=uc(i,t,ee,r,!0),Ct.addEventListener(s,r,u),we.push(r),z&&z.push(s,Lt,tt,u)}else r=uc(i,t,ee,r,!1);const Ze=i.outputs;let ut;if(Le&&null!==Ze&&(ut=Ze[s])){const mt=ut.length;if(mt)for(let Ct=0;Ct<mt;Ct+=2){const Xi=t[ut[Ct]][ut[Ct+1]].subscribe(r),Tr=we.length;we.push(r,Xi),z&&z.push(s,i.index,Tr,-(Tr+1))}}}function Bh(e,t,n,i){try{return!1!==n(i)}catch(s){return Gd(e,s),!1}}function uc(e,t,n,i,s){return function r(u){if(u===Function)return i;const m=2&e.flags?Rt(e.index,t):t;0==(32&t[2])&&Nl(m);let v=Bh(t,0,i,u),x=r.__ngNextListenerFn__;for(;x;)v=Bh(t,0,x,u)&&v,x=x.__ngNextListenerFn__;return s&&!1===v&&(u.preventDefault(),u.returnValue=!1),v}}function Vh(e=1){return function(e){return(At.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,At.lFrame.contextLView))[8]}(e)}function mv(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const r=t[s];if("*"!==r){if(null===i?dd(e,r,!0):S_(i,r))return s}else n=s}return n}function Uh(e){const t=nt()[16][6];if(!t.projection){const i=t.projection=vo(e?e.length:1,null),s=i.slice();let r=t.child;for(;null!==r;){const u=e?mv(r,e):0;null!==u&&(s[u]?s[u].projectionNext=r:i[u]=r,s[u]=r),r=r.next}}}function jh(e,t=0,n){const i=nt(),s=qt(),r=Vr(s,20+e,16,null,n||null);null===r.projection&&(r.projection=t),d(),64!=(64&r.flags)&&function(e,t,n){od(t[11],0,t,n,Zu(e,n,t),ed(n.parent||t[6],n,t))}(s,i,r)}function Xh(e,t,n,i,s){const r=e[n+1],u=null===t;let m=i?ws(r):nr(r),v=!1;for(;0!==m&&(!1===v||u);){const z=e[m+1];yv(e[m],t)&&(v=!0,e[m+1]=i?Cl(z):bl(z)),m=i?ws(z):nr(z)}v&&(e[n+1]=i?bl(r):Cl(r))}function yv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rr(e,t)>=0}const ri={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qh(e){return e.substring(ri.key,ri.keyEnd)}function Jh(e,t){const n=ri.textEnd;return n===t?-1:(t=ri.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ri.key=t,n),to(e,t,n))}function to(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function hc(e,t,n){return Ss(e,t,n,!1),hc}function fc(e,t){return Ss(e,t,null,!0),fc}function rf(e){As(Ki,Ys,e,!0)}function Ys(e,t){for(let n=function(e){return function(e){ri.key=0,ri.keyEnd=0,ri.value=0,ri.valueEnd=0,ri.textEnd=e.length}(e),Jh(e,to(e,0,ri.textEnd))}(t);n>=0;n=Jh(t,n))Ki(e,qh(t),!0)}function Ss(e,t,n,i){const s=nt(),r=qt(),u=_t(2);r.firstUpdatePass&&lf(r,e,u,i),t!==Zt&&bi(s,u,t)&&uf(r,r.data[zn()],s,s[11],e,s[u+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=O(tr(e)))),e}(t,n),i,u)}function As(e,t,n,i){const s=qt(),r=_t(2);s.firstUpdatePass&&lf(s,null,r,i);const u=nt();if(n!==Zt&&bi(u,r,n)){const m=s.data[zn()];if(hf(m,i)&&!af(s,r)){let v=i?m.classesWithoutHost:m.stylesWithoutHost;null!==v&&(n=G(v,n||"")),nc(s,m,u,n,i)}else!function(e,t,n,i,s,r,u,m){s===Zt&&(s=Ot);let v=0,x=0,z=0<s.length?s[0]:null,ee=0<r.length?r[0]:null;for(;null!==z||null!==ee;){const we=v<s.length?s[v+1]:void 0,Le=x<r.length?r[x+1]:void 0;let ut,Ze=null;z===ee?(v+=2,x+=2,we!==Le&&(Ze=ee,ut=Le)):null===ee||null!==z&&z<ee?(v+=2,Ze=z):(x+=2,Ze=ee,ut=Le),null!==Ze&&uf(e,t,n,i,Ze,ut,u,m),z=v<s.length?s[v]:null,ee=x<r.length?r[x]:null}}(s,m,u,u[11],u[r+1],u[r+1]=function(e,t,n){if(null==n||""===n)return Ot;const i=[],s=tr(n);if(Array.isArray(s))for(let r=0;r<s.length;r++)e(i,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&e(i,r,s[r]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,r)}}function af(e,t){return t>=e.expandoStartIndex}function lf(e,t,n,i){const s=e.data;if(null===s[n+1]){const r=s[zn()],u=af(e,n);hf(r,i)&&null===t&&!u&&(t=!1),t=function(e,t,n,i){const s=Mn(e);let r=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Bo(n=pc(null,e,t,n,i),t.attrs,i),r=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==s)if(n=pc(s,e,t,n,i),null===r){let v=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==nr(i))return e[ws(i)]}(e,t,i);void 0!==v&&Array.isArray(v)&&(v=pc(null,e,t,v[1],i),v=Bo(v,t.attrs,i),function(e,t,n,i){e[ws(n?t.classBindings:t.styleBindings)]=i}(e,t,i,v))}else r=function(e,t,n){let i;const s=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<s;r++)i=Bo(i,e[r].hostAttrs,n);return Bo(i,t.attrs,n)}(e,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),n}(s,r,t,i),function(e,t,n,i,s,r){let u=r?t.classBindings:t.styleBindings,m=ws(u),v=nr(u);e[i]=n;let z,x=!1;if(Array.isArray(n)){const ee=n;z=ee[1],(null===z||Rr(ee,z)>0)&&(x=!0)}else z=n;if(s)if(0!==v){const we=ws(e[m+1]);e[i+1]=ha(we,m),0!==we&&(e[we+1]=El(e[we+1],i)),e[m+1]=function(e,t){return 131071&e|t<<17}(e[m+1],i)}else e[i+1]=ha(m,0),0!==m&&(e[m+1]=El(e[m+1],i)),m=i;else e[i+1]=ha(v,0),0===m?m=i:e[v+1]=El(e[v+1],i),v=i;x&&(e[i+1]=bl(e[i+1])),Xh(e,z,i,!0),Xh(e,z,i,!1),function(e,t,n,i,s){const r=s?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&Rr(r,t)>=0&&(n[i+1]=Cl(n[i+1]))}(t,z,e,i,r),u=ha(m,v),r?t.classBindings=u:t.styleBindings=u}(s,r,t,n,u,i)}}function pc(e,t,n,i,s){let r=null;const u=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<u&&(r=t[m],i=Bo(i,r.hostAttrs,s),r!==e);)m++;return null!==e&&(n.directiveStylingLast=m),i}function Bo(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let r=0;r<t.length;r++){const u=t[r];"number"==typeof u?s=u:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ki(e,u,!!n||t[++r]))}return void 0===e?null:e}function uf(e,t,n,i,s,r,u,m){if(!(3&t.type))return;const v=e.data,x=v[m+1];Ea(function(e){return 1==(1&e)}(x)?df(v,t,n,s,nr(x),u):void 0)||(Ea(r)||function(e){return 2==(2&e)}(x)&&(r=df(v,null,n,s,m,u)),function(e,t,n,i,s){const r=yn(e);if(t)s?r?e.addClass(n,i):n.classList.add(i):r?e.removeClass(n,i):n.classList.remove(i);else{let u=-1===i.indexOf("-")?void 0:zs.DashCase;if(null==s)r?e.removeStyle(n,i,u):n.style.removeProperty(i);else{const m="string"==typeof s&&s.endsWith("!important");m&&(s=s.slice(0,-10),u|=zs.Important),r?e.setStyle(n,i,s,u):n.style.setProperty(i,s,m?"important":"")}}}(i,u,c(zn(),n),s,r))}function df(e,t,n,i,s,r){const u=null===t;let m;for(;s>0;){const v=e[s],x=Array.isArray(v),z=x?v[1]:v,ee=null===z;let we=n[s+1];we===Zt&&(we=ee?Ot:void 0);let Le=ee?Wa(we,i):z===i?we:void 0;if(x&&!Ea(Le)&&(Le=Wa(v,i)),Ea(Le)&&(m=Le,u))return m;const Ze=e[s+1];s=u?ws(Ze):nr(Ze)}if(null!==t){let v=r?t.residualClasses:t.residualStyles;null!=v&&(m=Wa(v,i))}return m}function Ea(e){return void 0!==e}function hf(e,t){return 0!=(e.flags&(t?16:32))}function ff(e,t=""){const n=nt(),i=qt(),s=e+20,r=i.firstCreatePass?Vr(i,s,1,t,null):i.data[s],u=n[s]=hl(n[11],t);ua(i,n,u,r),L(r,!1)}function mc(e){return Ca("",e,""),mc}function Ca(e,t,n){const i=nt(),s=Wr(i,e,t,n);return s!==Zt&&ir(i,zn(),s),Ca}function gc(e,t,n,i,s){const r=nt(),u=function(e,t,n,i,s,r){const m=Mr(e,ke(),n,s);return _t(2),m?t+Se(n)+i+Se(s)+r:Zt}(r,e,t,n,i,s);return u!==Zt&&ir(r,zn(),u),gc}function _c(e,t,n,i,s,r,u){const m=nt(),v=Kr(m,e,t,n,i,s,r,u);return v!==Zt&&ir(m,zn(),v),_c}function bf(e,t,n){As(Ki,Ys,Wr(nt(),e,t,n),!0)}function yc(e,t,n){const i=nt();return bi(i,ct(),t)&&Qi(qt(),ft(),i,e,t,i[11],n,!0),yc}function vc(e,t,n){const i=nt();if(bi(i,ct(),t)){const r=qt(),u=ft();Qi(r,u,i,e,t,zd(Mn(r.data),u,i),n,!0)}return vc}const Sr=void 0;var Xv=["en",[["a","p"],["AM","PM"],Sr],[["AM","PM"],Sr,Sr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Sr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Sr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Sr,"{1} 'at' {0}",Sr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let no={};function bc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Of(t);if(n)return n;const i=t.split("-")[0];if(n=Of(i),n)return n;if("en"===i)return Xv;throw new Error(`Missing locale data for the locale "${e}".`)}function xf(e){return bc(e)[Vt.PluralCase]}function Of(e){return e in no||(no[e]=It.ng&&It.ng.common&&It.ng.common.locales&&It.ng.common.locales[e]),no[e]}var Vt=(()=>((Vt=Vt||{})[Vt.LocaleId=0]="LocaleId",Vt[Vt.DayPeriodsFormat=1]="DayPeriodsFormat",Vt[Vt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Vt[Vt.DaysFormat=3]="DaysFormat",Vt[Vt.DaysStandalone=4]="DaysStandalone",Vt[Vt.MonthsFormat=5]="MonthsFormat",Vt[Vt.MonthsStandalone=6]="MonthsStandalone",Vt[Vt.Eras=7]="Eras",Vt[Vt.FirstDayOfWeek=8]="FirstDayOfWeek",Vt[Vt.WeekendRange=9]="WeekendRange",Vt[Vt.DateFormat=10]="DateFormat",Vt[Vt.TimeFormat=11]="TimeFormat",Vt[Vt.DateTimeFormat=12]="DateTimeFormat",Vt[Vt.NumberSymbols=13]="NumberSymbols",Vt[Vt.NumberFormats=14]="NumberFormats",Vt[Vt.CurrencyCode=15]="CurrencyCode",Vt[Vt.CurrencySymbol=16]="CurrencySymbol",Vt[Vt.CurrencyName=17]="CurrencyName",Vt[Vt.Currencies=18]="Currencies",Vt[Vt.Directionality=19]="Directionality",Vt[Vt.PluralCase=20]="PluralCase",Vt[Vt.ExtraData=21]="ExtraData",Vt))();const Da="en-US",wa={marker:"element"},Ma={marker:"ICU"};var Wn=(()=>((Wn=Wn||{})[Wn.SHIFT=2]="SHIFT",Wn[Wn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Wn[Wn.COMMENT=2]="COMMENT",Wn))();let Rf=Da;function Pf(e,t,n){const i=t.insertBeforeIndex,s=Array.isArray(i)?i[0]:i;return null===s?td(e,0,n):D(n[s])}function Ff(e,t,n,i,s){const r=t.insertBeforeIndex;if(Array.isArray(r)){let u=i,m=null;if(3&t.type||(m=u,u=s),null!==u&&0==(2&t.flags))for(let v=1;v<r.length;v++)wr(e,u,n[r[v]],m,!1)}}function kf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];Lf(i)||sb(i,t)&&null===rb(i)&&ob(i,t.index)}}function Lf(e){return!(64&e.type)}function sb(e,t){return Lf(t)||e.index>t.index}function rb(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function ob(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(id(Pf,Ff),e.insertBeforeIndex=t)}function cb(e,t,n){const i=Ol(e,n,64,null,null);return kf(t,i),i}function gb(){const e=[];let n,i,t=-1;function r(m,v){t=0;const x=function(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(m,v);i=null!==x?m.remove[x]:Ot}function u(){if(t<i.length){const m=i[t++];return m>0?n[m]:(e.push(t,i),r(n[1].data[~m],n),u())}return 0===e.length?null:(i=e.pop(),t=e.pop(),u())}return function(m,v){for(n=v;e.length;)e.pop();return r(m.value,v),u}}const Aa=/\ufffd(\d+):?\d*\ufffd/gi,yb=/\ufffd(\d+)\ufffd/,$f=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,vb=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,bb=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Eb=/\uE500/g;function Wf(e,t,n,i,s,r,u){const m=Ur(e,i,1,null);let v=m<<Wn.SHIFT,x=ar();t===x&&(x=null),null===x&&(v|=Wn.APPEND_EAGERLY),u&&(v|=Wn.COMMENT,function(e){void 0===ll&&(ll=e())}(gb)),s.push(v,null===r?"":r);const z=Ol(e,m,u?32:1,null===r?"":r,null);kf(n,z);const ee=z.index;return L(z,!1),null!==x&&t!==x&&function(e,t){let n=e.insertBeforeIndex;null===n?(id(Pf,Ff),n=e.insertBeforeIndex=[null,t]):(function(e,t,n){e!=t&&bt(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(x,ee),z}function wb(e,t,n,i,s,r,u){const m=u.match(Aa),v=Wf(e,t,n,r,i,m?null:u,!1);m&&io(s,u,v.index,null,0,null)}function io(e,t,n,i,s,r){const u=e.length,m=u+1;e.push(null,null);const v=u+2,x=t.split(Aa);let z=0;for(let ee=0;ee<x.length;ee++){const we=x[ee];if(1&ee){const Le=s+parseInt(we,10);e.push(-1-Le),z|=Yf(Le)}else""!==we&&e.push(we)}return e.push(n<<2|(i?1:0)),i&&e.push(i,r),e[u]=z,e[m]=e.length-v,z}function Yf(e){return 1<<Math.min(e,31)}function Kf(e){let t,r,n="",i=0,s=!1;for(;null!==(t=vb.exec(e));)s?t[0]===`\ufffd/*${r}\ufffd`&&(i=t.index,s=!1):(n+=e.substring(i,t.index+t[0].length),r=t[1],s=!0);return n+=e.substr(i),n}function Qf(e,t,n,i,s,r){let u=0;const m={type:s.type,currentCaseLViewIndex:Ur(e,t,1,null),anchorIdx:r,cases:[],create:[],remove:[],update:[]};(function(e,t,n){e.push(Yf(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,s,r),function(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,r,m);const v=s.values;for(let x=0;x<v.length;x++){const z=v[x],ee=[];for(let we=0;we<z.length;we++){const Le=z[we];if("string"!=typeof Le){const Ze=ee.push(Le)-1;z[we]=`\x3c!--\ufffd${Ze}\ufffd--\x3e`}}u=xb(e,m,t,n,i,s.cases[x],z.join(""),ee)|u}u&&function(e,t,n){e.push(t,1,n<<2|3)}(n,u,r)}function Ib(e){const t=[],n=[];let i=1,s=0;const r=Ec(e=e.replace($f,function(u,m,v){return i="select"===v?0:1,s=parseInt(m.substr(1),10),""}));for(let u=0;u<r.length;){let m=r[u++].trim();1===i&&(m=m.replace(/\s*(?:=)?(\w+)\s*/,"$1")),m.length&&t.push(m);const v=Ec(r[u++]);t.length>n.length&&n.push(v)}return{type:i,mainBinding:s,cases:t,values:n}}function Ec(e){if(!e)return[];let t=0;const n=[],i=[],s=/[{}]/g;let r;for(s.lastIndex=0;r=s.exec(e);){const m=r.index;if("}"==r[0]){if(n.pop(),0==n.length){const v=e.substring(t,m);$f.test(v)?i.push(Ib(v)):i.push(v),t=m+1}}else{if(0==n.length){const v=e.substring(t,m);i.push(v),t=m+1}n.push("{")}}const u=e.substring(t);return i.push(u),i}function xb(e,t,n,i,s,r,u,m){const v=[],x=[],z=[];t.cases.push(r),t.create.push(v),t.remove.push(x),t.update.push(z);const we=Su(zi()).getInertBodyElement(u),Le=nl(we)||we;return Le?Zf(e,t,n,i,v,x,z,Le,s,m,0):0}function Zf(e,t,n,i,s,r,u,m,v,x,z){let ee=0,we=m.firstChild;for(;we;){const Le=Ur(e,n,1,null);switch(we.nodeType){case Node.ELEMENT_NODE:const Ze=we,ut=Ze.tagName.toLowerCase();if(Ja.hasOwnProperty(ut)){Cc(s,wa,ut,v,Le),e.data[Le]=ut;const Lt=Ze.attributes;for(let cn=0;cn<Lt.length;cn++){const Cn=Lt.item(cn),Xi=Cn.name.toLowerCase();Cn.value.match(Aa)?Ou.hasOwnProperty(Xi)&&io(u,Cn.value,Le,Cn.name,0,el[Xi]?Mo:tl[Xi]?Au:null):Fb(s,Le,Cn)}ee=Zf(e,t,n,i,s,r,u,we,Le,x,z+1)|ee,Xf(r,Le,z)}break;case Node.TEXT_NODE:const mt=we.textContent||"",Ct=mt.match(Aa);Cc(s,null,Ct?"":mt,v,Le),Xf(r,Le,z),Ct&&(ee=io(u,mt,Le,null,0,null)|ee);break;case Node.COMMENT_NODE:const tt=yb.exec(we.textContent||"");if(tt){const cn=x[parseInt(tt[1],10)];Cc(s,Ma,"",v,Le),Qf(e,n,i,v,cn,Le),Ob(r,Le,z)}}we=we.nextSibling}return ee}function Xf(e,t,n){0===n&&e.push(t)}function Ob(e,t,n){0===n&&(e.push(~t),e.push(t))}function Cc(e,t,n,i,s){null!==t&&e.push(t),e.push(n,s,function(e,t,n){return 0|t<<17|n<<1}(0,i,s))}function Fb(e,t,n){e.push(t<<1|1,n.name,n.value)}function Jf(e,t,n=-1){const i=qt(),s=nt(),r=20+e,u=hn(i.consts,t),m=ar();i.firstCreatePass&&function(e,t,n,i,s,r){const u=ar(),m=[],v=[],x=[[]];s=function(e,t){if(function(e){return-1===e}(t))return Kf(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Kf(e.substring(n,i))}}(s,r);const z=function(e){return e.replace(Eb," ")}(s).split(bb);for(let ee=0;ee<z.length;ee++){let we=z[ee];if(0==(1&ee)){const Le=Ec(we);for(let Ze=0;Ze<Le.length;Ze++){let ut=Le[Ze];if(0==(1&Ze)){const mt=ut;""!==mt&&wb(e,u,x[0],m,v,n,mt)}else{const mt=ut;if("object"!=typeof mt)throw new Error(`Unable to parse ICU expression in "${s}" message.`);Qf(e,n,v,t,mt,Wf(e,u,x[0],n,m,"",!0).index)}}}else{const Le=47===we.charCodeAt(0),ut=(we.charCodeAt(Le?1:0),20+Number.parseInt(we.substring(Le?2:1)));if(Le)x.shift(),L(ar(),!1);else{const mt=cb(e,x[0],ut);x.unshift([]),L(mt,!0)}}}e.data[i]={create:m,update:v}}(i,null===m?0:m.index,s,r,u,n);const v=i.data[r],z=Xu(i,m===s[6]?null:m,s);(function(e,t,n,i){const s=e[11];for(let r=0;r<t.length;r++){const u=t[r++],m=t[r],v=(u&Wn.COMMENT)===Wn.COMMENT,x=(u&Wn.APPEND_EAGERLY)===Wn.APPEND_EAGERLY,z=u>>>Wn.SHIFT;let ee=e[z];null===ee&&(ee=e[z]=v?s.createComment(m):hl(s,m)),x&&null!==n&&wr(s,n,ee,i,!1)}})(s,v.create,z,m&&8&m.type?s[m.index]:null),Jt(!0)}function tp(e,t,n){Jf(e,t,n),Jt(!1)}function Dc(e,t,n,i,s){if(e=R(e),Array.isArray(e))for(let r=0;r<e.length;r++)Dc(e[r],t,n,i,s);else{const r=qt(),u=nt();let m=zr(e)?e:R(e.provide),v=Zd(e);const x=Nn(),z=1048575&x.providerIndexes,ee=x.directiveStart,we=x.providerIndexes>>20;if(zr(e)||!e.multi){const Le=new $i(v,s,No),Ze=Mc(m,t,s?z:z+we,ee);-1===Ze?(y(Er(x,u),r,m),wc(r,e,t.length),t.push(m),x.directiveStart++,x.directiveEnd++,s&&(x.providerIndexes+=1048576),n.push(Le),u.push(Le)):(n[Ze]=Le,u[Ze]=Le)}else{const Le=Mc(m,t,z+we,ee),Ze=Mc(m,t,z,z+we),ut=Le>=0&&n[Le],mt=Ze>=0&&n[Ze];if(s&&!mt||!s&&!ut){y(Er(x,u),r,m);const Ct=function(e,t,n,i,s){const r=new $i(e,n,No);return r.multi=[],r.index=t,r.componentProviders=0,ip(r,s,i&&!n),r}(s?Kb:Yb,n.length,s,i,v);!s&&mt&&(n[Ze].providerFactory=Ct),wc(r,e,t.length,0),t.push(m),x.directiveStart++,x.directiveEnd++,s&&(x.providerIndexes+=1048576),n.push(Ct),u.push(Ct)}else wc(r,e,Le>-1?Le:Ze,ip(n[s?Ze:Le],v,!s&&i));!s&&i&&mt&&n[Ze].componentProviders++}}}function wc(e,t,n,i){const s=zr(t),r=function(e){return!!e.useClass}(t);if(s||r){const v=(r?R(t.useClass):t).prototype.ngOnDestroy;if(v){const x=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const z=x.indexOf(n);-1===z?x.push(n,[i,v]):x[z+1].push(i,v)}else x.push(n,v)}}}function ip(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mc(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function Yb(e,t,n,i){return Sc(this.multi,[])}function Kb(e,t,n,i){const s=this.multi;let r;if(this.providerFactory){const u=this.providerFactory.componentProviders,m=vt(n,n[1],this.providerFactory.index,i);r=m.slice(0,u),Sc(s,r);for(let v=u;v<m.length;v++)r.push(m[v])}else r=[],Sc(s,r);return r}function Sc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function sp(e,t=[]){return n=>{n.providersResolver=(i,s)=>function(e,t,n){const i=qt();if(i.firstCreatePass){const s=Fn(e);Dc(n,i.data,i.blueprint,s,!0),Dc(t,i.data,i.blueprint,s,!1)}}(i,s?s(e):e,t)}}class rp{}class qb{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${O(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let zo=(()=>{class e{}return e.NULL=new qb,e})();function Jb(){return so(Nn(),nt())}function so(e,t){return new Go(C(e,t))}let Go=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Jb,e})();function eE(e){return e instanceof Go?e.nativeElement:e}class ap{}let tE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=nt(),n=Rt(Nn().index,e);return function(e){return e[11]}(An(n)?n:e)}(),e})(),sE=(()=>{class e{}return e.\u0275prov=X({token:e,providedIn:"root",factory:()=>null}),e})();class lp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const rE=new lp("13.0.3"),Ac={};function Ta(e,t,n,i,s=!1){for(;null!==n;){const r=t[n.index];if(null!==r&&i.push(D(r)),xn(r))for(let m=10;m<r.length;m++){const v=r[m],x=v[1].firstChild;null!==x&&Ta(v[1],v,x,i)}const u=n.type;if(8&u)Ta(e,t,n.child,i);else if(32&u){const m=cl(n,t);let v;for(;v=m();)i.push(v)}else if(16&u){const m=sd(t,n);if(Array.isArray(m))i.push(...m);else{const v=xo(t[16]);Ta(v[1],v,m,i,!0)}}n=s?n.projectionNext:n.next}return i}class $o{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Ta(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(xn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(pl(t,i),na(n,i))}this._attachedToViewContainer=!1}Qu(this._lView[1],this._lView)}onDestroy(t){Od(this._lView[1],this._lView,null,t)}markForCheck(){Nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){he(!0);try{Vl(e,t,n)}finally{he(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Oo(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class oE extends $o{constructor(t){super(t),this._view=t}detectChanges(){Ud(this._view)}checkNoChanges(){!function(e){he(!0);try{Ud(e)}finally{he(!1)}}(this._view)}get context(){return null}}class cp extends zo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$e(t);return new Tc(n,this.ngModule)}}function up(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const lE=new $n("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ju});class Tc extends rp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(A_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return up(this.componentDef.inputs)}get outputs(){return up(this.componentDef.outputs)}create(t,n,i,s){const r=(s=s||this.ngModule)?function(e,t){return{get:(n,i,s)=>{const r=e.get(n,Ac,s);return r!==Ac||i===Ac?r:t.get(n,i,s)}}}(t,s.injector):t,u=r.get(ap,Xs),m=r.get(sE,null),v=u.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",z=i?function(e,t,n){if(yn(e))return e.selectRootElement(t,n===He.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(v,i,this.componentDef.encapsulation):fl(u.createRenderer(null,this.componentDef),x,function(e){const t=e.toLowerCase();return"svg"===t?Ls:"math"===t?"http://www.w3.org/1998/MathML/":null}(x)),ee=this.componentDef.onPush?576:528,we=function(e,t){return{components:[],scheduler:e||ju,clean:py,playerHandler:t||null,flags:0}}(),Le=ma(0,null,null,1,0,null,null,null,null,null),Ze=Ro(null,Le,we,ee,null,null,u,v,m,r);let ut,mt;ci(Ze);try{const Ct=function(e,t,n,i,s,r){const u=n[1];n[20]=e;const v=Vr(u,20,2,"#host",null),x=v.mergedAttrs=t.hostAttrs;null!==x&&(_a(v,x,!0),null!==e&&(hr(s,e,x),null!==v.classes&&vl(s,e,v.classes),null!==v.styles&&ad(s,e,v.styles)));const z=i.createRenderer(e,t),ee=Ro(n,Td(t),null,t.onPush?64:16,n[20],v,i,z,r||null,null);return u.firstCreatePass&&(y(Er(v,n),u,t.type),Ld(u,v),Nd(v,n.length,1)),ga(n,ee),n[20]=ee}(z,this.componentDef,Ze,u,v);if(z)if(i)hr(v,z,["ng-version",rE.full]);else{const{attrs:tt,classes:Lt}=function(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===s?""!==r&&t.push(r,e[++i]):8===s&&n.push(r);else{if(!Ds(s))break;s=r}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);tt&&hr(v,z,tt),Lt&&Lt.length>0&&vl(v,z,Lt.join(" "))}if(mt=Be(Le,20),void 0!==n){const tt=mt.projection=[];for(let Lt=0;Lt<this.ngContentSelectors.length;Lt++){const cn=n[Lt];tt.push(null!=cn?Array.from(cn):null)}}ut=function(e,t,n,i,s){const r=n[1],u=function(e,t,n){const i=Nn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Bd(e,i,t,Ur(e,t,1,null),n));const s=vt(t,e,i.directiveStart,i);vi(s,t);const r=C(i,t);return r&&vi(r,t),s}(r,n,t);if(i.components.push(u),e[8]=u,s&&s.forEach(v=>v(u,t)),t.contentQueries){const v=Nn();t.contentQueries(1,u,v.directiveStart)}const m=Nn();return!r.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Gi(m.index),Fd(n[1],m,0,m.directiveStart,m.directiveEnd,t),kd(t,u)),u}(Ct,this.componentDef,Ze,we,[Fy]),Po(Le,Ze,null)}finally{Js()}return new dE(this.componentType,ut,so(mt,Ze),Ze,mt)}}class dE extends class{}{constructor(t,n,i,s,r){super(),this.location=i,this._rootLView=s,this._tNode=r,this.instance=n,this.hostView=this.changeDetectorRef=new oE(s),this.componentType=t}get injector(){return new ln(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class ro{}class dp{}const oo=new Map;class pp extends ro{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new cp(this);const i=Qt(t);this._bootstrapComponents=Hs(i.bootstrap),this._r3Injector=Qd(t,n,[{provide:ro,useValue:this},{provide:zo,useValue:this.componentFactoryResolver}],O(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=hs.THROW_IF_NOT_FOUND,i=ze.Default){return t===hs||t===ro||t===jl?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ic extends dp{constructor(t){super(),this.moduleType=t,null!==Qt(t)&&function(e){const t=new Set;!function n(i){const s=Qt(i,!0),r=s.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${O(t)} vs ${O(t.name)}`)}(r,oo.get(r),i),oo.set(r,i));const u=Hs(s.imports);for(const m of u)t.has(m)||(t.add(m),n(m))}(e)}(t)}create(t){return new pp(this.moduleType,t)}}function mp(e,t,n){const i=pe()+e,s=nt();return s[i]===Zt?$s(s,i,n?t.call(n):t()):function(e,t){return e[t]}(s,i)}function gp(e,t,n,i){return yp(nt(),pe(),e,t,n,i)}function _p(e,t,n,i,s){return vp(nt(),pe(),e,t,n,i,s)}function Wo(e,t){const n=e[t];return n===Zt?void 0:n}function yp(e,t,n,i,s,r){const u=t+n;return bi(e,u,s)?$s(e,u+1,r?i.call(r,s):i(s)):Wo(e,u+1)}function vp(e,t,n,i,s,r,u){const m=t+n;return Mr(e,m,s,r)?$s(e,m+2,u?i.call(u,s,r):i(s,r)):Wo(e,m+2)}function Dp(e,t){const n=qt();let i;const s=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=ii(i.type)),u=ne(No);try{const m=br(!1),v=r();return br(m),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,nt(),s,v),v}finally{ne(u)}}function wp(e,t,n){const i=e+20,s=nt(),r=ht(s,i);return Yo(s,i)?yp(s,pe(),t,r.transform,n,r):r.transform(n)}function Mp(e,t,n,i){const s=e+20,r=nt(),u=ht(r,s);return Yo(r,s)?vp(r,pe(),t,u.transform,n,i,u):u.transform(n,i)}function Yo(e,t){return e[1].data[t].pure}function xc(e){return t=>{setTimeout(e,void 0,t)}}const Ks=class extends a.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){var v,x,z;let s=t,r=n||(()=>null),u=i;if(t&&"object"==typeof t){const ee=t;s=null==(v=ee.next)?void 0:v.bind(ee),r=null==(x=ee.error)?void 0:x.bind(ee),u=null==(z=ee.complete)?void 0:z.bind(ee)}this.__isAsync&&(r=xc(r),s&&(s=xc(s)),u&&(u=xc(u)));const m=super.subscribe({next:s,error:r,complete:u});return t instanceof _.w&&t.add(m),m}};function SE(){return this._results[Gr()]()}class Ia{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Gr(),i=Ia.prototype;i[n]||(i[n]=SE)}get changes(){return this._changes||(this._changes=new Ks)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const s=ds(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],r=t[i];if(n&&(s=n(s),r=n(r)),r!==s)return!1}return!0}(i._results,s,n))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=IE,e})();const AE=Ko,TE=class extends AE{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Ro(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(i[19]=r.createEmbeddedView(n)),Po(n,i,t),new $o(i)}};function IE(){return xa(Nn(),nt())}function xa(e,t){return 4&e.type?new TE(t,e,so(e,t)):null}let Oa=(()=>{class e{}return e.__NG_ELEMENT_ID__=xE,e})();function xE(){return Tp(Nn(),nt())}const OE=Oa,Sp=class extends OE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new ln(this._hostTNode,this._hostLView)}get parentInjector(){const t=mo(this._hostTNode,this._hostLView);if(Jo(t)){const n=pr(t,this._hostLView),i=fr(t);return new ln(n[1].data[i+8],n)}return new ln(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ap(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const s=t.createEmbeddedView(n||{});return this.insert(s,i),s}createComponent(t,n,i,s,r){const u=t&&!("function"==typeof t);let m;if(u)m=n;else{const ee=n||{};m=ee.index,i=ee.injector,s=ee.projectableNodes,r=ee.ngModuleRef}const v=u?t:new Tc($e(t)),x=i||this.parentInjector;if(!r&&null==v.ngModule&&x){const ee=x.get(ro,null);ee&&(r=ee)}const z=v.create(x,s,void 0,r);return this.insert(z.hostView,m),z}insert(t,n){const i=t._lView,s=i[1];if(xn(i[3])){const z=this.indexOf(t);if(-1!==z)this.detach(z);else{const ee=i[3],we=new Sp(ee,ee[6],ee[3]);we.detach(we.indexOf(t))}}const r=this._adjustIndex(n),u=this._lContainer;!function(e,t,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=t),i<r-10?(t[4]=n[s],uu(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const m=t[19];null!==m&&m.insertView(e),t[2]|=128}(s,i,u,r);const m=_l(r,u),v=i[11],x=ca(v,u[7]);return null!==x&&function(e,t,n,i,s,r){i[0]=s,i[6]=t,Oo(e,i,n,1,s,r)}(s,u[6],v,i,x,m),t.attachToViewContainerRef(),uu(Oc(u),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ap(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=pl(this._lContainer,n);i&&(na(Oc(this._lContainer),n),Qu(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=pl(this._lContainer,n);return i&&null!=na(Oc(this._lContainer),n)?new $o(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Ap(e){return e[8]}function Oc(e){return e[8]||(e[8]=[])}function Tp(e,t){let n;const i=t[e.index];if(xn(i))n=i;else{let s;if(8&e.type)s=D(i);else{const r=t[11];s=r.createComment("");const u=C(e,t);wr(r,ca(r,u),s,function(e,t){return yn(e)?e.nextSibling(t):t.nextSibling}(r,u),!1)}t[e.index]=n=Vd(i,t,s,e),ga(t,n)}return new Sp(n,e,t)}class Rc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Pc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let r=0;r<i;r++){const u=n.getByIndex(r);s.push(this.queries[u.indexInDeclarationView].clone())}return new Pc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Np(t,n).matches&&this.queries[n].setDirty()}}class Ip{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Fc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const s=null!==n?n.length:0,r=this.getByIndex(i).embeddedTView(t,s);r&&(r.indexInDeclarationView=i,null!==n?n.push(r):n=[r])}return null!==n?new Fc(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class kc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new kc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let s=0;s<i.length;s++){const r=i[s];this.matchTNodeWithReadOption(t,n,FE(n,r)),this.matchTNodeWithReadOption(t,n,Ke(n,t,r,!1,!1))}else i===Ko?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ke(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===Go||s===Oa||s===Ko&&4&n.type)this.addMatch(n.index,-2);else{const r=Ke(n,t,s,!1,!1);null!==r&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function FE(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function LE(e,t,n,i){return-1===n?function(e,t){return 11&e.type?so(e,t):4&e.type?xa(e,t):null}(t,e):-2===n?function(e,t,n){return n===Go?so(t,e):n===Ko?xa(t,e):n===Oa?Tp(t,e):void 0}(e,t,i):vt(e,e[1],n,t)}function xp(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const r=e.data,u=n.matches,m=[];for(let v=0;v<u.length;v+=2){const x=u[v];m.push(x<0?null:LE(t,r[x],u[v+1],n.metadata.read))}s.matches=m}return s.matches}function Lc(e,t,n,i){const s=e.queries.getByIndex(n),r=s.matches;if(null!==r){const u=xp(e,t,s,n);for(let m=0;m<r.length;m+=2){const v=r[m];if(v>0)i.push(u[m/2]);else{const x=r[m+1],z=t[-v];for(let ee=10;ee<z.length;ee++){const we=z[ee];we[17]===we[3]&&Lc(we[1],we,x,i)}if(null!==z[9]){const ee=z[9];for(let we=0;we<ee.length;we++){const Le=ee[we];Lc(Le[1],Le,x,i)}}}}}return i}function Op(e){const t=nt(),n=qt(),i=In();Hn(i+1);const s=Np(n,i);if(e.dirty&&sn(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const r=s.crossesNgTemplate?Lc(n,t,i,[]):xp(n,t,s,i);e.reset(r,eE),e.notifyOnChanges()}return!0}return!1}function Rp(e,t,n){const i=qt();i.firstCreatePass&&(Lp(i,new Ip(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),kp(i,nt(),t)}function Pp(e,t,n,i){const s=qt();if(s.firstCreatePass){const r=Nn();Lp(s,new Ip(t,n,i),r.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}kp(s,nt(),n)}function Fp(){return e=nt(),t=In(),e[19].queries[t].queryList;var e,t}function kp(e,t,n){const i=new Ia(4==(4&n));Od(e,t,i,i.destroy),null===t[19]&&(t[19]=new Pc),t[19].queries.push(new Rc(i))}function Lp(e,t,n){null===e.queries&&(e.queries=new Fc),e.queries.track(new kc(t,n))}function Np(e,t){return e.queries.getByIndex(t)}function Bp(e,t){return xa(e,t)}function Fa(...e){}const Hc=new $n("Application Initializer");let lo=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Fa,this.reject=Fa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,s)=>{this.resolve=i,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const r=this.appInits[s]();if(ac(r))n.push(r);else if(Lh(r)){const u=new Promise((m,v)=>{r.subscribe({complete:m,error:v})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(s=>{this.reject(s)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ui(Hc,8))},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})();const nm=new $n("AppId"),sC={provide:nm,useFactory:function(){return`${zc()}${zc()}${zc()}`},deps:[]};function zc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const im=new $n("Platform Initializer"),sm=new $n("Platform ID"),rm=new $n("appBootstrapListener");let om=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})();const ka=new $n("LocaleId"),am=new $n("DefaultCurrencyCode");class rC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Gc=(()=>{class e{compileModuleSync(n){return new Ic(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),r=Hs(Qt(n).declarations).reduce((u,m)=>{const v=$e(m);return v&&u.push(new Tc(v)),u},[]);return new rC(i,r)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})();const aC=(()=>Promise.resolve(0))();function $c(e){"undefined"==typeof Zone?aC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Zi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ks(!1),this.onMicrotaskEmpty=new Ks(!1),this.onStable=new Ks(!1),this.onError=new Ks(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let e=It.requestAnimationFrame,t=It.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(It,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yc(e),e.isCheckStableRunning=!0,Wc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,u,m)=>{try{return lm(e),n.invokeTask(s,r,u,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),cm(e)}},onInvoke:(n,i,s,r,u,m,v)=>{try{return lm(e),n.invoke(s,r,u,m,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),cm(e)}},onHasTask:(n,i,s,r)=>{n.hasTask(s,r),i===s&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Yc(e),Wc(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,s,r)=>(n.handleError(s,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Zi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,s){const r=this._inner,u=r.scheduleEventTask("NgZoneEvent: "+s,t,cC,Fa,Fa);try{return r.runTask(u,n,i)}finally{r.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const cC={};function Wc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function lm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function cm(e){e._nesting--,Wc(e)}class hC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ks,this.onMicrotaskEmpty=new Ks,this.onStable=new Ks,this.onError=new Ks}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,s){return t.apply(n,i)}}let um=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Zi.assertNotInAngularZone(),$c(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())$c(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,s){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==r),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:s})}whenStable(n,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(ui(Zi))},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})(),dm=(()=>{class e{constructor(){this._applications=new Map,Kc.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Kc.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})();class fC{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function pC(e){Kc=e}let Ts,Kc=new fC;const hm=new $n("AllowMultipleToken");class yC{constructor(t,n){this.name=t,this.token=n}}function fm(e,t,n=[]){const i=`Platform: ${t}`,s=new $n(i);return(r=[])=>{let u=pm();if(!u||u.injector.get(hm,!1))if(e)e(n.concat(r).concat({provide:s,useValue:!0}));else{const m=n.concat(r).concat({provide:s,useValue:!0},{provide:Hl,useValue:"platform"});!function(e){if(Ts&&!Ts.destroyed&&!Ts.injector.get(hm,!1))throw new Z("400","");Ts=e.get(mm);const t=e.get(im,null);t&&t.forEach(n=>n())}(hs.create({providers:m,name:i}))}return function(e){const t=pm();if(!t)throw new Z("401","");return t}()}}function pm(){return Ts&&!Ts.destroyed?Ts:null}let mm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const m=function(e,t){let n;return n="noop"===e?new hC:("zone.js"===e?void 0:e)||new Zi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),v=[{provide:Zi,useValue:m}];return m.run(()=>{const x=hs.create({providers:v,parent:this.injector,name:n.moduleType.name}),z=n.create(x),ee=z.injector.get(Io,null);if(!ee)throw new Z("402","");return m.runOutsideAngular(()=>{const we=m.onError.subscribe({next:Le=>{ee.handleError(Le)}});z.onDestroy(()=>{Qc(this._modules,z),we.unsubscribe()})}),function(e,t,n){try{const i=n();return ac(i)?i.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(ee,m,()=>{const we=z.injector.get(lo);return we.runInitializers(),we.donePromise.then(()=>(function(e){(function(e,t){null==e&&bt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Rf=e.toLowerCase().replace(/_/g,"-"))}(z.injector.get(ka,Da)||Da),this._moduleDoBootstrap(z),z))})})}bootstrapModule(n,i=[]){const s=gm({},i);return function(e,t,n){const i=new Ic(n);return Promise.resolve(i)}(0,0,n).then(r=>this.bootstrapModuleFactory(r,s))}_moduleDoBootstrap(n){const i=n.injector.get(Zo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Z("403","");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ui(hs))},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})();function gm(e,t){return Array.isArray(t)?t.reduce(gm,e):gt(gt({},e),t)}let Zo=(()=>{class e{constructor(n,i,s,r,u){this._zone=n,this._injector=i,this._exceptionHandler=s,this._componentFactoryResolver=r,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const m=new A.y(x=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{x.next(this._stable),x.complete()})}),v=new A.y(x=>{let z;this._zone.runOutsideAngular(()=>{z=this._zone.onStable.subscribe(()=>{Zi.assertNotInAngularZone(),$c(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,x.next(!0))})})});const ee=this._zone.onUnstable.subscribe(()=>{Zi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{x.next(!1)}))});return()=>{z.unsubscribe(),ee.unsubscribe()}});this.isStable=(0,E.T)(m,v.pipe((0,Q.B)()))}bootstrap(n,i){if(!this._initStatus.done)throw new Z("405","");let s;s=n instanceof rp?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);const r=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ro),m=s.create(hs.NULL,[],i||s.selector,r),v=m.location.nativeElement,x=m.injector.get(um,null),z=x&&m.injector.get(dm);return x&&z&&z.registerApplication(v,x),m.onDestroy(()=>{this.detachView(m.hostView),Qc(this.components,m),z&&z.unregisterApplication(v)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new Z("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Qc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(rm,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(ui(Zi),ui(hs),ui(Io),ui(zo),ui(lo))},e.\u0275prov=X({token:e,factory:e.\u0275fac}),e})();function Qc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let ym=!0;function wC(){ym=!1}let MC=(()=>{class e{}return e.__NG_ELEMENT_ID__=SC,e})();function SC(e){return function(e,t,n){if(Oi(e)&&!n){const i=Rt(e.index,t);return new $o(i,i)}return 47&e.type?new $o(t[16],t):null}(Nn(),nt(),16==(16&e))}class Mm{constructor(){}supports(t){return ko(t)}create(t){return new PC(t)}}const RC=(e,t)=>t;class PC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||RC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,s=0,r=null;for(;n||i;){const u=!i||n&&n.currentIndex<Am(i,s,r)?n:i,m=Am(u,s,r),v=u.currentIndex;if(u===i)s--,i=i._nextRemoved;else if(n=n._next,null==u.previousIndex)s++;else{r||(r=[]);const x=m-s,z=v-s;if(x!=z){for(let we=0;we<x;we++){const Le=we<r.length?r[we]:r[we]=0,Ze=Le+we;z<=Ze&&Ze<x&&(r[we]=Le+1)}r[u.previousIndex]=z-x}}m!==v&&t(u,m,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ko(t))throw new Error(`Error trying to diff '${O(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,r,u,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)r=t[m],u=this._trackByFn(m,r),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,r,u,m)),Object.is(n.item,r)||this._addIdentityChange(n,r)):(n=this._mismatch(n,r,u,m),i=!0),n=n._next}else s=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Gr()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,m=>{u=this._trackByFn(s,m),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,m,u,s)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,u,s),i=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,s){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,r,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,s)):t=this._addAfter(new FC(n,i),r,s),t}_verifyReinsertion(t,n,i,s){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,r=t._nextRemoved;return null===s?this._removalsHead=r:s._nextRemoved=r,null===r?this._removalsTail=s:r._prevRemoved=s,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sm),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Sm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class FC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class kC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new kC,this.map.set(n,i)),i.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Am(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class Tm{constructor(){}supports(t){return t instanceof Map||Ql(t)}create(){return new LC}}class LC{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Ql(t)))throw new Error(`Error trying to diff '${O(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const r=this._getOrCreateRecordForKey(s,i);n=this._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const r=s._prev,u=s._next;return r&&(r._next=u),u&&(u._prev=r),s._next=null,s._prev=null,s}const i=new NC(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class NC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Im(){return new Na([new Mm])}let Na=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Im()),deps:[[e,new Pr,new Cr]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(null!=i)return i;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=X({token:e,providedIn:"root",factory:Im}),e})();function xm(){return new Ba([new Tm])}let Ba=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const s=i.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||xm()),deps:[[e,new Pr,new Cr]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(i)return i;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=X({token:e,providedIn:"root",factory:xm}),e})();const VC=[new Tm],jC=new Na([new Mm]),HC=new Ba(VC),zC=fm(null,"core",[{provide:sm,useValue:"unknown"},{provide:mm,deps:[hs]},{provide:dm,deps:[]},{provide:om,deps:[]}]),KC=[{provide:Zo,useClass:Zo,deps:[Zi,hs,Io,zo,lo]},{provide:lE,deps:[Zi],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:lo,useClass:lo,deps:[[new Cr,Hc]]},{provide:Gc,useClass:Gc,deps:[]},sC,{provide:Na,useFactory:function(){return jC},deps:[]},{provide:Ba,useFactory:function(){return HC},deps:[]},{provide:ka,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Da},deps:[[new Do(ka),new Cr,new Pr]]},{provide:am,useValue:"USD"}];let ZC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ui(Zo))},e.\u0275mod=Dn({type:e}),e.\u0275inj=oe({providers:KC}),e})()},9133:(Qe,me,g)=>{"use strict";g.d(me,{Zs:()=>ks,gN:()=>be,Fj:()=>V,qu:()=>vs,NI:()=>mn,oH:()=>_i,u:()=>Ri,cw:()=>Vn,sg:()=>di,u5:()=>ys,nD:()=>fi,qQ:()=>ii,Cf:()=>ve,JU:()=>O,a5:()=>fe,JJ:()=>Je,JL:()=>ze,F:()=>Yn,On:()=>Rn,wV:()=>Un,UX:()=>yn,Q7:()=>Kn,kI:()=>at,_Y:()=>nn});var a=g(3668),_=g(6019),A=g(1915),E=g(6813),Q=g(8053);let P=(()=>{class h{constructor(c,C){this._renderer=c,this._elementRef=C,this.onChange=ce=>{},this.onTouched=()=>{}}setProperty(c,C){this._renderer.setProperty(this._elementRef.nativeElement,c,C)}registerOnTouched(c){this.onTouched=c}registerOnChange(c){this.onChange=c}setDisabledState(c){this.setProperty("disabled",c)}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(a.Qsj),a.Y36(a.SBq))},h.\u0275dir=a.lG2({type:h}),h})(),$=(()=>{class h extends P{}return h.\u0275fac=function(){let o;return function(C){return(o||(o=a.n5z(h)))(C||h)}}(),h.\u0275dir=a.lG2({type:h,features:[a.qOj]}),h})();const O=new a.OlP("NgValueAccessor"),k={provide:O,useExisting:(0,a.Gpc)(()=>V),multi:!0},j=new a.OlP("CompositionEventMode");let V=(()=>{class h extends P{constructor(c,C,ce){super(c,C),this._compositionMode=ce,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const h=(0,_.q)()?(0,_.q)().getUserAgent():"";return/android (\d+)/.test(h.toLowerCase())}())}writeValue(c){this.setProperty("value",null==c?"":c)}_handleInput(c){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(c)}_compositionStart(){this._composing=!0}_compositionEnd(c){this._composing=!1,this._compositionMode&&this.onChange(c)}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(j,8))},h.\u0275dir=a.lG2({type:h,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(c,C){1&c&&a.NdJ("input",function(Be){return C._handleInput(Be.target.value)})("blur",function(){return C.onTouched()})("compositionstart",function(){return C._compositionStart()})("compositionend",function(Be){return C._compositionEnd(Be.target.value)})},features:[a._Bn([k]),a.qOj]}),h})();function Z(h){return null==h||0===h.length}function q(h){return null!=h&&"number"==typeof h.length}const ve=new a.OlP("NgValidators"),Se=new a.OlP("NgAsyncValidators"),je=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class at{static min(o){return Ge(o)}static max(o){return h=o,o=>{if(Z(o.value)||Z(h))return null;const c=parseFloat(o.value);return!isNaN(c)&&c>h?{max:{max:h,actual:o.value}}:null};var h}static required(o){return ge(o)}static requiredTrue(o){return Ae(o)}static email(o){return Z((h=o).value)||je.test(h.value)?null:{email:!0};var h}static minLength(o){return h=o,o=>Z(o.value)||!q(o.value)?null:o.value.length<h?{minlength:{requiredLength:h,actualLength:o.value.length}}:null;var h}static maxLength(o){return Ve(o)}static pattern(o){return function(h){if(!h)return qe;let o,c;return"string"==typeof h?(c="","^"!==h.charAt(0)&&(c+="^"),c+=h,"$"!==h.charAt(h.length-1)&&(c+="$"),o=new RegExp(c)):(c=h.toString(),o=h),C=>{if(Z(C.value))return null;const ce=C.value;return o.test(ce)?null:{pattern:{requiredPattern:c,actualValue:ce}}}}(o)}static nullValidator(o){return null}static compose(o){return Bt(o)}static composeAsync(o){return bt(o)}}function Ge(h){return o=>{if(Z(o.value)||Z(h))return null;const c=parseFloat(o.value);return!isNaN(c)&&c<h?{min:{min:h,actual:o.value}}:null}}function ge(h){return Z(h.value)?{required:!0}:null}function Ae(h){return!0===h.value?null:{required:!0}}function Ve(h){return o=>q(o.value)&&o.value.length>h?{maxlength:{requiredLength:h,actualLength:o.value.length}}:null}function qe(h){return null}function We(h){return null!=h}function st(h){const o=(0,a.QGY)(h)?(0,A.D)(h):h;return(0,a.CqO)(o),o}function rt(h){let o={};return h.forEach(c=>{o=null!=c?gt(gt({},o),c):o}),0===Object.keys(o).length?null:o}function Xt(h,o){return o.map(c=>c(h))}function Dt(h){return h.map(o=>function(h){return!h.validate}(o)?o:c=>o.validate(c))}function Bt(h){if(!h)return null;const o=h.filter(We);return 0==o.length?null:function(c){return rt(Xt(c,o))}}function Yt(h){return null!=h?Bt(Dt(h)):null}function bt(h){if(!h)return null;const o=h.filter(We);return 0==o.length?null:function(c){const C=Xt(c,o).map(st);return(0,E.D)(C).pipe((0,Q.U)(rt))}}function lt(h){return null!=h?bt(Dt(h)):null}function Ye(h,o){return null===h?[o]:Array.isArray(h)?[...h,o]:[h,o]}function De(h){return h._rawValidators}function X(h){return h._rawAsyncValidators}function Te(h){return h?Array.isArray(h)?h:[h]:[]}function oe(h,o){return Array.isArray(h)?h.includes(o):h===o}function le(h,o){const c=Te(o);return Te(h).forEach(ce=>{oe(c,ce)||c.push(ce)}),c}function H(h,o){return Te(o).filter(c=>!oe(h,c))}class _e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=Yt(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=lt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,c){return!!this.control&&this.control.hasError(o,c)}getError(o,c){return this.control?this.control.getError(o,c):null}}class be extends _e{get formDirective(){return null}get path(){return null}}class fe extends _e{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class J{constructor(o){this._cd=o}is(o){var c,C,ce;return"submitted"===o?!!(null==(c=this._cd)?void 0:c.submitted):!!(null==(ce=null==(C=this._cd)?void 0:C.control)?void 0:ce[o])}}let Je=(()=>{class h extends J{constructor(c){super(c)}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(fe,2))},h.\u0275dir=a.lG2({type:h,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(c,C){2&c&&a.ekj("ng-untouched",C.is("untouched"))("ng-touched",C.is("touched"))("ng-pristine",C.is("pristine"))("ng-dirty",C.is("dirty"))("ng-valid",C.is("valid"))("ng-invalid",C.is("invalid"))("ng-pending",C.is("pending"))},features:[a.qOj]}),h})(),ze=(()=>{class h extends J{constructor(c){super(c)}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(be,10))},h.\u0275dir=a.lG2({type:h,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(c,C){2&c&&a.ekj("ng-untouched",C.is("untouched"))("ng-touched",C.is("touched"))("ng-pristine",C.is("pristine"))("ng-dirty",C.is("dirty"))("ng-valid",C.is("valid"))("ng-invalid",C.is("invalid"))("ng-pending",C.is("pending"))("ng-submitted",C.is("submitted"))},features:[a.qOj]}),h})();function wt(h,o){return[...o.path,h]}function Ut(h,o){yt(h,o),o.valueAccessor.writeValue(h.value),function(h,o){o.valueAccessor.registerOnChange(c=>{h._pendingValue=c,h._pendingChange=!0,h._pendingDirty=!0,"change"===h.updateOn&&un(h,o)})}(h,o),function(h,o){const c=(C,ce)=>{o.valueAccessor.writeValue(C),ce&&o.viewToModelUpdate(C)};h.registerOnChange(c),o._registerOnDestroy(()=>{h._unregisterOnChange(c)})}(h,o),function(h,o){o.valueAccessor.registerOnTouched(()=>{h._pendingTouched=!0,"blur"===h.updateOn&&h._pendingChange&&un(h,o),"submit"!==h.updateOn&&h.markAsTouched()})}(h,o),function(h,o){if(o.valueAccessor.setDisabledState){const c=C=>{o.valueAccessor.setDisabledState(C)};h.registerOnDisabledChange(c),o._registerOnDestroy(()=>{h._unregisterOnDisabledChange(c)})}}(h,o)}function It(h,o,c=!0){const C=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(C),o.valueAccessor.registerOnTouched(C)),Ot(h,o),h&&(o._invokeOnDestroyCallbacks(),h._registerOnCollectionChange(()=>{}))}function xt(h,o){h.forEach(c=>{c.registerOnValidatorChange&&c.registerOnValidatorChange(o)})}function yt(h,o){const c=De(h);null!==o.validator?h.setValidators(Ye(c,o.validator)):"function"==typeof c&&h.setValidators([c]);const C=X(h);null!==o.asyncValidator?h.setAsyncValidators(Ye(C,o.asyncValidator)):"function"==typeof C&&h.setAsyncValidators([C]);const ce=()=>h.updateValueAndValidity();xt(o._rawValidators,ce),xt(o._rawAsyncValidators,ce)}function Ot(h,o){let c=!1;if(null!==h){if(null!==o.validator){const ce=De(h);if(Array.isArray(ce)&&ce.length>0){const Be=ce.filter(ht=>ht!==o.validator);Be.length!==ce.length&&(c=!0,h.setValidators(Be))}}if(null!==o.asyncValidator){const ce=X(h);if(Array.isArray(ce)&&ce.length>0){const Be=ce.filter(ht=>ht!==o.asyncValidator);Be.length!==ce.length&&(c=!0,h.setAsyncValidators(Be))}}}const C=()=>{};return xt(o._rawValidators,C),xt(o._rawAsyncValidators,C),c}function un(h,o){h._pendingDirty&&h.markAsDirty(),h.setValue(h._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(h._pendingValue),h._pendingChange=!1}function Y(h,o){yt(h,o)}function Pe(h,o){if(!h.hasOwnProperty("model"))return!1;const c=h.model;return!!c.isFirstChange()||!Object.is(o,c.currentValue)}function St(h,o){h._syncPendingControls(),o.forEach(c=>{const C=c.control;"submit"===C.updateOn&&C._pendingChange&&(c.viewToModelUpdate(C._pendingValue),C._pendingChange=!1)})}function on(h,o){if(!o)return null;let c,C,ce;return Array.isArray(o),o.forEach(Be=>{Be.constructor===V?c=Be:function(h){return Object.getPrototypeOf(h.constructor)===$}(Be)?C=Be:ce=Be}),ce||C||c||null}function Dn(h,o){const c=h.indexOf(o);c>-1&&h.splice(c,1)}const ae="VALID",se="INVALID",Fe="PENDING",$e="DISABLED";function Ft(h){return(kt(h)?h.validators:h)||null}function Qt(h){return Array.isArray(h)?Yt(h):h||null}function fn(h,o){return(kt(o)?o.asyncValidators:h)||null}function dt(h){return Array.isArray(h)?lt(h):h||null}function kt(h){return null!=h&&!Array.isArray(h)&&"object"==typeof h}class dn{constructor(o,c){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=c,this._composedValidatorFn=Qt(this._rawValidators),this._composedAsyncValidatorFn=dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===ae}get invalid(){return this.status===se}get pending(){return this.status==Fe}get disabled(){return this.status===$e}get enabled(){return this.status!==$e}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=Qt(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=dt(o)}addValidators(o){this.setValidators(le(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(le(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(H(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(H(o,this._rawAsyncValidators))}hasValidator(o){return oe(this._rawValidators,o)}hasAsyncValidator(o){return oe(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(c=>{c.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(c=>{c.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Fe,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const c=this._parentMarkedDirty(o.onlySelf);this.status=$e,this.errors=null,this._forEachChild(C=>{C.disable(ei(gt({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ei(gt({},o),{skipPristineCheck:c})),this._onDisabledChange.forEach(C=>C(!0))}enable(o={}){const c=this._parentMarkedDirty(o.onlySelf);this.status=ae,this._forEachChild(C=>{C.enable(ei(gt({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(ei(gt({},o),{skipPristineCheck:c})),this._onDisabledChange.forEach(C=>C(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ae||this.status===Fe)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(c=>c._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$e:ae}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Fe,this._hasOwnPendingAsyncValidator=!0;const c=st(this.asyncValidator(this));this._asyncValidationSubscription=c.subscribe(C=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(C,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,c={}){this.errors=o,this._updateControlsErrors(!1!==c.emitEvent)}get(o){return function(h,o,c){if(null==o||(Array.isArray(o)||(o=o.split(".")),Array.isArray(o)&&0===o.length))return null;let C=h;return o.forEach(ce=>{C=C instanceof Vn?C.controls.hasOwnProperty(ce)?C.controls[ce]:null:C instanceof bn&&C.at(ce)||null}),C}(this,o)}getError(o,c){const C=c?this.get(c):this;return C&&C.errors?C.errors[o]:null}hasError(o,c){return!!this.getError(o,c)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?$e:this.errors?se:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fe)?Fe:this._anyControlsHaveStatus(se)?se:ae}_anyControlsHaveStatus(o){return this._anyControls(c=>c.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){kt(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class mn extends dn{constructor(o=null,c,C){super(Ft(c),fn(C,c)),this._onChange=[],this._applyFormState(o),this._setUpdateStrategy(c),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(o,c={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==c.emitModelToViewChange&&this._onChange.forEach(C=>C(this.value,!1!==c.emitViewToModelChange)),this.updateValueAndValidity(c)}patchValue(o,c={}){this.setValue(o,c)}reset(o=null,c={}){this._applyFormState(o),this.markAsPristine(c),this.markAsUntouched(c),this.setValue(this.value,c),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Dn(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Dn(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class Vn extends dn{constructor(o,c,C){super(Ft(c),fn(C,c)),this.controls=o,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,c){return this.controls[o]?this.controls[o]:(this.controls[o]=c,c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange),c)}addControl(o,c,C={}){this.registerControl(o,c),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}removeControl(o,c={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}setControl(o,c,C={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],c&&this.registerControl(o,c),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,c={}){this._checkAllValuesPresent(o),Object.keys(o).forEach(C=>{this._throwIfControlMissing(C),this.controls[C].setValue(o[C],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(o,c={}){null!=o&&(Object.keys(o).forEach(C=>{this.controls[C]&&this.controls[C].patchValue(o[C],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(o={},c={}){this._forEachChild((C,ce)=>{C.reset(o[ce],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c),this._updateTouched(c),this.updateValueAndValidity(c)}getRawValue(){return this._reduceChildren({},(o,c,C)=>(o[C]=c instanceof mn?c.value:c.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(c,C)=>!!C._syncPendingControls()||c);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_throwIfControlMissing(o){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[o])throw new Error(`Cannot find form control with name: ${o}.`)}_forEachChild(o){Object.keys(this.controls).forEach(c=>{const C=this.controls[c];C&&o(C,c)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const c of Object.keys(this.controls)){const C=this.controls[c];if(this.contains(c)&&o(C))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,c,C)=>((c.enabled||this.disabled)&&(o[C]=c.value),o))}_reduceChildren(o,c){let C=o;return this._forEachChild((ce,Be)=>{C=c(C,ce,Be)}),C}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(o){this._forEachChild((c,C)=>{if(void 0===o[C])throw new Error(`Must supply a value for form control with name: '${C}'.`)})}}class bn extends dn{constructor(o,c,C){super(Ft(c),fn(C,c)),this.controls=o,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,c={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}insert(o,c,C={}){this.controls.splice(o,0,c),this._registerControl(c),this.updateValueAndValidity({emitEvent:C.emitEvent})}removeAt(o,c={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:c.emitEvent})}setControl(o,c,C={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),c&&(this.controls.splice(o,0,c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,c={}){this._checkAllValuesPresent(o),o.forEach((C,ce)=>{this._throwIfControlMissing(ce),this.at(ce).setValue(C,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(o,c={}){null!=o&&(o.forEach((C,ce)=>{this.at(ce)&&this.at(ce).patchValue(C,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(o=[],c={}){this._forEachChild((C,ce)=>{C.reset(o[ce],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c),this._updateTouched(c),this.updateValueAndValidity(c)}getRawValue(){return this.controls.map(o=>o instanceof mn?o.value:o.getRawValue())}clear(o={}){this.controls.length<1||(this._forEachChild(c=>c._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((c,C)=>!!C._syncPendingControls()||c,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_throwIfControlMissing(o){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(o))throw new Error(`Cannot find form control at index ${o}`)}_forEachChild(o){this.controls.forEach((c,C)=>{o(c,C)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(c=>c.enabled&&o(c))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_checkAllValuesPresent(o){this._forEachChild((c,C)=>{if(void 0===o[C])throw new Error(`Must supply a value for form control at index: ${C}.`)})}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const ti={provide:be,useExisting:(0,a.Gpc)(()=>Yn)},pn=(()=>Promise.resolve(null))();let Yn=(()=>{class h extends be{constructor(c,C){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new a.vpe,this.form=new Vn({},Yt(c),lt(C))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(c){pn.then(()=>{const C=this._findContainer(c.path);c.control=C.registerControl(c.name,c.control),Ut(c.control,c),c.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(c)})}getControl(c){return this.form.get(c.path)}removeControl(c){pn.then(()=>{const C=this._findContainer(c.path);C&&C.removeControl(c.name),Dn(this._directives,c)})}addFormGroup(c){pn.then(()=>{const C=this._findContainer(c.path),ce=new Vn({});Y(ce,c),C.registerControl(c.name,ce),ce.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(c){pn.then(()=>{const C=this._findContainer(c.path);C&&C.removeControl(c.name)})}getFormGroup(c){return this.form.get(c.path)}updateModel(c,C){pn.then(()=>{this.form.get(c.path).setValue(C)})}setValue(c){this.control.setValue(c)}onSubmit(c){return this.submitted=!0,St(this.form,this._directives),this.ngSubmit.emit(c),!1}onReset(){this.resetForm()}resetForm(c){this.form.reset(c),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(c){return c.pop(),c.length?this.form.get(c):this.form}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(ve,10),a.Y36(Se,10))},h.\u0275dir=a.lG2({type:h,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(c,C){1&c&&a.NdJ("submit",function(Be){return C.onSubmit(Be)})("reset",function(){return C.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([ti]),a.qOj]}),h})();const xi={provide:fe,useExisting:(0,a.Gpc)(()=>Rn)},gi=(()=>Promise.resolve(null))();let Rn=(()=>{class h extends fe{constructor(c,C,ce,Be){super(),this.control=new mn,this._registered=!1,this.update=new a.vpe,this._parent=c,this._setValidators(C),this._setAsyncValidators(ce),this.valueAccessor=on(0,Be)}ngOnChanges(c){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in c&&this._updateDisabled(c),Pe(c,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?wt(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ut(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(c){gi.then(()=>{this.control.setValue(c,{emitViewToModelChange:!1})})}_updateDisabled(c){const C=c.isDisabled.currentValue,ce=""===C||C&&"false"!==C;gi.then(()=>{ce&&!this.control.disabled?this.control.disable():!ce&&this.control.disabled&&this.control.enable()})}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(be,9),a.Y36(ve,10),a.Y36(Se,10),a.Y36(O,10))},h.\u0275dir=a.lG2({type:h,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([xi]),a.qOj,a.TTD]}),h})(),nn=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275dir=a.lG2({type:h,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),h})();const Ji={provide:O,useExisting:(0,a.Gpc)(()=>Un),multi:!0};let Un=(()=>{class h extends ${writeValue(c){this.setProperty("value",null==c?"":c)}registerOnChange(c){this.onChange=C=>{c(""==C?null:parseFloat(C))}}}return h.\u0275fac=function(){let o;return function(C){return(o||(o=a.n5z(h)))(C||h)}}(),h.\u0275dir=a.lG2({type:h,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(c,C){1&c&&a.NdJ("input",function(Be){return C.onChange(Be.target.value)})("blur",function(){return C.onTouched()})},features:[a._Bn([Ji]),a.qOj]}),h})(),ai=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({}),h})();const An=new a.OlP("NgModelWithFormControlWarning"),xn={provide:fe,useExisting:(0,a.Gpc)(()=>_i)};let _i=(()=>{class h extends fe{constructor(c,C,ce,Be){super(),this._ngModelWarningConfig=Be,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(c),this._setAsyncValidators(C),this.valueAccessor=on(0,ce)}set isDisabled(c){}ngOnChanges(c){if(this._isControlChanged(c)){const C=c.form.previousValue;C&&It(C,this,!1),Ut(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Pe(c,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&It(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_isControlChanged(c){return c.hasOwnProperty("form")}}return h._ngModelWarningSentOnce=!1,h.\u0275fac=function(c){return new(c||h)(a.Y36(ve,10),a.Y36(Se,10),a.Y36(O,10),a.Y36(An,8))},h.\u0275dir=a.lG2({type:h,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([xn]),a.qOj,a.TTD]}),h})();const Oi={provide:be,useExisting:(0,a.Gpc)(()=>di)};let di=(()=>{class h extends be{constructor(c,C){super(),this.validators=c,this.asyncValidators=C,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.vpe,this._setValidators(c),this._setAsyncValidators(C)}ngOnChanges(c){this._checkFormPresent(),c.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ot(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(c){const C=this.form.get(c.path);return Ut(C,c),C.updateValueAndValidity({emitEvent:!1}),this.directives.push(c),C}getControl(c){return this.form.get(c.path)}removeControl(c){It(c.control||null,c,!1),Dn(this.directives,c)}addFormGroup(c){this._setUpFormContainer(c)}removeFormGroup(c){this._cleanUpFormContainer(c)}getFormGroup(c){return this.form.get(c.path)}addFormArray(c){this._setUpFormContainer(c)}removeFormArray(c){this._cleanUpFormContainer(c)}getFormArray(c){return this.form.get(c.path)}updateModel(c,C){this.form.get(c.path).setValue(C)}onSubmit(c){return this.submitted=!0,St(this.form,this.directives),this.ngSubmit.emit(c),!1}onReset(){this.resetForm()}resetForm(c){this.form.reset(c),this.submitted=!1}_updateDomValue(){this.directives.forEach(c=>{const C=c.control,ce=this.form.get(c.path);C!==ce&&(It(C||null,c),ce instanceof mn&&(Ut(ce,c),c.control=ce))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(c){const C=this.form.get(c.path);Y(C,c),C.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(c){if(this.form){const C=this.form.get(c.path);C&&function(h,o){return Ot(h,o)}(C,c)&&C.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yt(this.form,this),this._oldForm&&Ot(this._oldForm,this)}_checkFormPresent(){}}return h.\u0275fac=function(c){return new(c||h)(a.Y36(ve,10),a.Y36(Se,10))},h.\u0275dir=a.lG2({type:h,selectors:[["","formGroup",""]],hostBindings:function(c,C){1&c&&a.NdJ("submit",function(Be){return C.onSubmit(Be)})("reset",function(){return C.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([Oi]),a.qOj,a.TTD]}),h})();const Qs={provide:fe,useExisting:(0,a.Gpc)(()=>Ri)};let Ri=(()=>{class h extends fe{constructor(c,C,ce,Be,ht){super(),this._ngModelWarningConfig=ht,this._added=!1,this.update=new a.vpe,this._ngModelWarningSent=!1,this._parent=c,this._setValidators(C),this._setAsyncValidators(ce),this.valueAccessor=on(0,Be)}set isDisabled(c){}ngOnChanges(c){this._added||this._setUpControl(),Pe(c,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return h._ngModelWarningSentOnce=!1,h.\u0275fac=function(c){return new(c||h)(a.Y36(be,13),a.Y36(ve,10),a.Y36(Se,10),a.Y36(O,10),a.Y36(An,8))},h.\u0275dir=a.lG2({type:h,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a._Bn([Qs]),a.qOj,a.TTD]}),h})();let hi=(()=>{class h{constructor(){this._validator=qe}ngOnChanges(c){if(this.inputName in c){const C=this.normalizeInput(c[this.inputName].currentValue);this._validator=this.enabled()?this.createValidator(C):qe,this._onChange&&this._onChange()}}validate(c){return this._validator(c)}registerOnValidatorChange(c){this._onChange=c}enabled(){return null!=this[this.inputName]}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275dir=a.lG2({type:h,features:[a.TTD]}),h})();const Fs={provide:ve,useExisting:(0,a.Gpc)(()=>ii),multi:!0};let ii=(()=>{class h extends hi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=c=>function(h){return"number"==typeof h?h:parseFloat(h)}(c),this.createValidator=c=>Ge(c)}}return h.\u0275fac=function(){let o;return function(C){return(o||(o=a.n5z(h)))(C||h)}}(),h.\u0275dir=a.lG2({type:h,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(c,C){2&c&&a.uIk("min",C.enabled()?C.min:null)},inputs:{min:"min"},features:[a._Bn([Fs]),a.qOj]}),h})();const gs={provide:ve,useExisting:(0,a.Gpc)(()=>Kn),multi:!0},Ci={provide:ve,useExisting:(0,a.Gpc)(()=>ks),multi:!0};let Kn=(()=>{class h{constructor(){this._required=!1}get required(){return this._required}set required(c){this._required=null!=c&&!1!==c&&"false"!=`${c}`,this._onChange&&this._onChange()}validate(c){return this.required?ge(c):null}registerOnValidatorChange(c){this._onChange=c}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275dir=a.lG2({type:h,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(c,C){2&c&&a.uIk("required",C.required?"":null)},inputs:{required:"required"},features:[a._Bn([gs])]}),h})(),ks=(()=>{class h extends Kn{validate(c){return this.required?Ae(c):null}}return h.\u0275fac=function(){let o;return function(C){return(o||(o=a.n5z(h)))(C||h)}}(),h.\u0275dir=a.lG2({type:h,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(c,C){2&c&&a.uIk("required",C.required?"":null)},features:[a._Bn([Ci]),a.qOj]}),h})();const Fi={provide:ve,useExisting:(0,a.Gpc)(()=>fi),multi:!0};let fi=(()=>{class h extends hi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=c=>function(h){return"number"==typeof h?h:parseInt(h,10)}(c),this.createValidator=c=>Ve(c)}}return h.\u0275fac=function(){let o;return function(C){return(o||(o=a.n5z(h)))(C||h)}}(),h.\u0275dir=a.lG2({type:h,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(c,C){2&c&&a.uIk("maxlength",C.enabled()?C.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a._Bn([Fi]),a.qOj]}),h})(),zi=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({imports:[[ai]]}),h})(),ys=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({imports:[zi]}),h})(),yn=(()=>{class h{static withConfig(c){return{ngModule:h,providers:[{provide:An,useValue:c.warnOnNgModelWithFormControl}]}}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({imports:[zi]}),h})(),vs=(()=>{class h{group(c,C=null){const ce=this._reduceControls(c);let Rt,Be=null,ht=null;return null!=C&&(function(h){return void 0!==h.asyncValidators||void 0!==h.validators||void 0!==h.updateOn}(C)?(Be=null!=C.validators?C.validators:null,ht=null!=C.asyncValidators?C.asyncValidators:null,Rt=null!=C.updateOn?C.updateOn:void 0):(Be=null!=C.validator?C.validator:null,ht=null!=C.asyncValidator?C.asyncValidator:null)),new Vn(ce,{asyncValidators:ht,updateOn:Rt,validators:Be})}control(c,C,ce){return new mn(c,C,ce)}array(c,C,ce){const Be=c.map(ht=>this._createControl(ht));return new bn(Be,C,ce)}_reduceControls(c){const C={};return Object.keys(c).forEach(ce=>{C[ce]=this._createControl(c[ce])}),C}_createControl(c){return c instanceof mn||c instanceof Vn||c instanceof bn?c:Array.isArray(c)?this.control(c[0],c.length>1?c[1]:null,c.length>2?c[2]:null):this.control(c)}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac,providedIn:yn}),h})()},86:(Qe,me,g)=>{"use strict";g.d(me,{lW:()=>k,ot:()=>j});var a=g(3668),_=g(6731),A=g(7497),E=g(9555);const Q=["mat-button",""],P=["*"],G=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],T=(0,_.pj)((0,_.Id)((0,_.Kr)(class{constructor(V){this._elementRef=V}})));let k=(()=>{class V extends T{constructor(q,ve,Se){super(q),this._focusMonitor=ve,this._animationMode=Se,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const je of G)this._hasHostAttributes(je)&&this._getHostElement().classList.add(je);q.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(q,ve){q?this._focusMonitor.focusVia(this._getHostElement(),q,ve):this._getHostElement().focus(ve)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...q){return q.some(ve=>this._getHostElement().hasAttribute(ve))}}return V.\u0275fac=function(q){return new(q||V)(a.Y36(a.SBq),a.Y36(A.tE),a.Y36(E.Qb,8))},V.\u0275cmp=a.Xpm({type:V,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(q,ve){if(1&q&&a.Gf(_.wG,5),2&q){let Se;a.iGM(Se=a.CRH())&&(ve.ripple=Se.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(q,ve){2&q&&(a.uIk("disabled",ve.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ve._animationMode)("mat-button-disabled",ve.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:Q,ngContentSelectors:P,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(q,ve){1&q&&(a.F$t(),a.TgZ(0,"span",0),a.Hsn(1),a.qZA(),a._UZ(2,"span",1),a._UZ(3,"span",2)),2&q&&(a.xp6(2),a.ekj("mat-button-ripple-round",ve.isRoundButton||ve.isIconButton),a.Q6J("matRippleDisabled",ve._isRippleDisabled())("matRippleCentered",ve.isIconButton)("matRippleTrigger",ve._getHostElement()))},directives:[_.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),V})(),j=(()=>{class V{}return V.\u0275fac=function(q){return new(q||V)},V.\u0275mod=a.oAB({type:V}),V.\u0275inj=a.cJS({imports:[[_.si,_.BQ],_.BQ]}),V})()},6731:(Qe,me,g)=>{"use strict";g.d(me,{yN:()=>je,mZ:()=>at,_A:()=>Bt,rD:()=>le,sG:()=>Yt,Ad:()=>Kt,K7:()=>Ut,HF:()=>He,BQ:()=>Ae,X2:()=>H,uc:()=>fe,XK:()=>Te,Nv:()=>It,ey:()=>Ot,Ng:()=>un,rN:()=>Mt,nP:()=>ie,us:()=>Ue,wG:()=>B,si:()=>te,CB:()=>Gt,jH:()=>Ht,pj:()=>qe,Kr:()=>We,Id:()=>xe,FD:()=>rt,dB:()=>Xt,sb:()=>st,E0:()=>_e});var a=g(3668),_=g(7497),A=g(8290),Q=g(6019),P=g(928),$=g(348),O=g(8095),G=g(5548),T=g(1125),k=g(9555),R=g(1628);const j=["*",[["mat-option"],["ng-container"]]],V=["*","mat-option, ng-container"];function Z(Re,Y){if(1&Re&&a._UZ(0,"mat-pseudo-checkbox",4),2&Re){const F=a.oxw();a.Q6J("state",F.selected?"checked":"unchecked")("disabled",F.disabled)}}function q(Re,Y){if(1&Re&&(a.TgZ(0,"span",5),a._uU(1),a.qZA()),2&Re){const F=a.oxw();a.xp6(1),a.hij("(",F.group.label,")")}}const ve=["*"];let je=(()=>{class Re{}return Re.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Re.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Re.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Re.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Re})(),at=(()=>{class Re{}return Re.COMPLEX="375ms",Re.ENTERING="225ms",Re.EXITING="195ms",Re})();const ge=new a.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Ae=(()=>{class Re{constructor(F,N,re){this._sanityChecks=N,this._document=re,this._hasDoneGlobalChecks=!1,F._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(F){return!(0,P.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[F])}}return Re.\u0275fac=function(F){return new(F||Re)(a.LFG(_.qm),a.LFG(ge,8),a.LFG(Q.K0))},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[[A.vT],A.vT]}),Re})();function xe(Re){return class extends Re{constructor(...Y){super(...Y),this._disabled=!1}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,$.Ig)(Y)}}}function qe(Re,Y){return class extends Re{constructor(...F){super(...F),this.defaultColor=Y,this.color=Y}get color(){return this._color}set color(F){const N=F||this.defaultColor;N!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),N&&this._elementRef.nativeElement.classList.add(`mat-${N}`),this._color=N)}}}function We(Re){return class extends Re{constructor(...Y){super(...Y),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Y){this._disableRipple=(0,$.Ig)(Y)}}}function st(Re,Y=0){return class extends Re{constructor(...F){super(...F),this._tabIndex=Y,this.defaultTabIndex=Y}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(F){this._tabIndex=null!=F?(0,$.su)(F):this.defaultTabIndex}}}function rt(Re){return class extends Re{constructor(...Y){super(...Y),this.stateChanges=new O.xQ,this.errorState=!1}updateErrorState(){const Y=this.errorState,Pe=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Pe!==Y&&(this.errorState=Pe,this.stateChanges.next())}}}function Xt(Re){return class extends Re{constructor(...Y){super(...Y),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new G.y(F=>{this._isInitialized?this._notifySubscriber(F):this._pendingSubscribers.push(F)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Y){Y.next(),Y.complete()}}}const Kt=new a.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,a.f3M)(a.soG)}});class Bt{constructor(){this._localeChanges=new O.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Y){return this.isDateInstance(Y)&&this.isValid(Y)?Y:null}deserialize(Y){return null==Y||this.isDateInstance(Y)&&this.isValid(Y)?Y:this.invalid()}setLocale(Y){this.locale=Y,this._localeChanges.next()}compareDate(Y,F){return this.getYear(Y)-this.getYear(F)||this.getMonth(Y)-this.getMonth(F)||this.getDate(Y)-this.getDate(F)}sameDate(Y,F){if(Y&&F){let N=this.isValid(Y),re=this.isValid(F);return N&&re?!this.compareDate(Y,F):N==re}return Y==F}clampDate(Y,F,N){return F&&this.compareDate(Y,F)<0?F:N&&this.compareDate(Y,N)>0?N:Y}}const Yt=new a.OlP("mat-date-formats"),bt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function lt(Re,Y){const F=Array(Re);for(let N=0;N<Re;N++)F[N]=Y(N);return F}let Ye=(()=>{class Re extends Bt{constructor(F,N){super(),this.useUtcForDisplay=!1,super.setLocale(F)}getYear(F){return F.getFullYear()}getMonth(F){return F.getMonth()}getDate(F){return F.getDate()}getDayOfWeek(F){return F.getDay()}getMonthNames(F){const N=new Intl.DateTimeFormat(this.locale,{month:F,timeZone:"utc"});return lt(12,re=>this._format(N,new Date(2017,re,1)))}getDateNames(){const F=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return lt(31,N=>this._format(F,new Date(2017,0,N+1)))}getDayOfWeekNames(F){const N=new Intl.DateTimeFormat(this.locale,{weekday:F,timeZone:"utc"});return lt(7,re=>this._format(N,new Date(2017,0,re+1)))}getYearName(F){const N=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(N,F)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(F){return this.getDate(this._createDateWithOverflow(this.getYear(F),this.getMonth(F)+1,0))}clone(F){return new Date(F.getTime())}createDate(F,N,re){let Pe=this._createDateWithOverflow(F,N,re);return Pe.getMonth(),Pe}today(){return new Date}parse(F){return"number"==typeof F?new Date(F):F?new Date(Date.parse(F)):null}format(F,N){if(!this.isValid(F))throw Error("NativeDateAdapter: Cannot format invalid date.");const re=new Intl.DateTimeFormat(this.locale,ei(gt({},N),{timeZone:"utc"}));return this._format(re,F)}addCalendarYears(F,N){return this.addCalendarMonths(F,12*N)}addCalendarMonths(F,N){let re=this._createDateWithOverflow(this.getYear(F),this.getMonth(F)+N,this.getDate(F));return this.getMonth(re)!=((this.getMonth(F)+N)%12+12)%12&&(re=this._createDateWithOverflow(this.getYear(re),this.getMonth(re),0)),re}addCalendarDays(F,N){return this._createDateWithOverflow(this.getYear(F),this.getMonth(F),this.getDate(F)+N)}toIso8601(F){return[F.getUTCFullYear(),this._2digit(F.getUTCMonth()+1),this._2digit(F.getUTCDate())].join("-")}deserialize(F){if("string"==typeof F){if(!F)return null;if(bt.test(F)){let N=new Date(F);if(this.isValid(N))return N}}return super.deserialize(F)}isDateInstance(F){return F instanceof Date}isValid(F){return!isNaN(F.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(F,N,re){const Pe=new Date;return Pe.setFullYear(F,N,re),Pe.setHours(0,0,0,0),Pe}_2digit(F){return("00"+F).slice(-2)}_format(F,N){const re=new Date;return re.setUTCFullYear(N.getFullYear(),N.getMonth(),N.getDate()),re.setUTCHours(N.getHours(),N.getMinutes(),N.getSeconds(),N.getMilliseconds()),F.format(re)}}return Re.\u0275fac=function(F){return new(F||Re)(a.LFG(Kt,8),a.LFG(P.t4))},Re.\u0275prov=a.Yz7({token:Re,factory:Re.\u0275fac}),Re})();const De={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let X=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({providers:[{provide:Bt,useClass:Ye}],imports:[[P.ud]]}),Re})(),Te=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({providers:[{provide:Yt,useValue:De}],imports:[[X]]}),Re})(),le=(()=>{class Re{isErrorState(F,N){return!!(F&&F.invalid&&(F.touched||N&&N.submitted))}}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275prov=a.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),H=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275dir=a.lG2({type:Re,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Re})();function _e(Re,Y,F="mat"){Re.changes.pipe((0,T.O)(Re)).subscribe(({length:N})=>{be(Y,`${F}-2-line`,!1),be(Y,`${F}-3-line`,!1),be(Y,`${F}-multi-line`,!1),2===N||3===N?be(Y,`${F}-${N}-line`,!0):N>3&&be(Y,`${F}-multi-line`,!0)})}function be(Re,Y,F){Re.nativeElement.classList.toggle(Y,F)}let fe=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[[Ae],Ae]}),Re})();class J{constructor(Y,F,N){this._renderer=Y,this.element=F,this.config=N,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ue={enterDuration:225,exitDuration:150},Je=(0,P.i$)({passive:!0}),ze=["mousedown","touchstart"],ot=["mouseup","mouseleave","touchend","touchcancel"];class Ie{constructor(Y,F,N,re){this._target=Y,this._ngZone=F,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,re.isBrowser&&(this._containerElement=(0,$.fI)(N))}fadeInRipple(Y,F,N={}){const re=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Pe=gt(gt({},ue),N.animation);N.centered&&(Y=re.left+re.width/2,F=re.top+re.height/2);const it=N.radius||function(Re,Y,F){const N=Math.max(Math.abs(Re-F.left),Math.abs(Re-F.right)),re=Math.max(Math.abs(Y-F.top),Math.abs(Y-F.bottom));return Math.sqrt(N*N+re*re)}(Y,F,re),St=Y-re.left,on=F-re.top,Dn=Pe.enterDuration,Oe=document.createElement("div");Oe.classList.add("mat-ripple-element"),Oe.style.left=St-it+"px",Oe.style.top=on-it+"px",Oe.style.height=2*it+"px",Oe.style.width=2*it+"px",null!=N.color&&(Oe.style.backgroundColor=N.color),Oe.style.transitionDuration=`${Dn}ms`,this._containerElement.appendChild(Oe),window.getComputedStyle(Oe).getPropertyValue("opacity"),Oe.style.transform="scale(1)";const ae=new J(this,Oe,N);return ae.state=0,this._activeRipples.add(ae),N.persistent||(this._mostRecentTransientRipple=ae),this._runTimeoutOutsideZone(()=>{const se=ae===this._mostRecentTransientRipple;ae.state=1,!N.persistent&&(!se||!this._isPointerDown)&&ae.fadeOut()},Dn),ae}fadeOutRipple(Y){const F=this._activeRipples.delete(Y);if(Y===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!F)return;const N=Y.element,re=gt(gt({},ue),Y.config.animation);N.style.transitionDuration=`${re.exitDuration}ms`,N.style.opacity="0",Y.state=2,this._runTimeoutOutsideZone(()=>{Y.state=3,N.remove()},re.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Y=>Y.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Y=>{Y.config.persistent||Y.fadeOut()})}setupTriggerEvents(Y){const F=(0,$.fI)(Y);!F||F===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=F,this._registerEvents(ze))}handleEvent(Y){"mousedown"===Y.type?this._onMousedown(Y):"touchstart"===Y.type?this._onTouchStart(Y):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ot),this._pointerUpEventsRegistered=!0)}_onMousedown(Y){const F=(0,_.X6)(Y),N=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!F&&!N&&(this._isPointerDown=!0,this.fadeInRipple(Y.clientX,Y.clientY,this._target.rippleConfig))}_onTouchStart(Y){if(!this._target.rippleDisabled&&!(0,_.yG)(Y)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const F=Y.changedTouches;for(let N=0;N<F.length;N++)this.fadeInRipple(F[N].clientX,F[N].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(Y=>{!Y.config.persistent&&(1===Y.state||Y.config.terminateOnPointerUp&&0===Y.state)&&Y.fadeOut()}))}_runTimeoutOutsideZone(Y,F=0){this._ngZone.runOutsideAngular(()=>setTimeout(Y,F))}_registerEvents(Y){this._ngZone.runOutsideAngular(()=>{Y.forEach(F=>{this._triggerElement.addEventListener(F,this,Je)})})}_removeTriggerEvents(){this._triggerElement&&(ze.forEach(Y=>{this._triggerElement.removeEventListener(Y,this,Je)}),this._pointerUpEventsRegistered&&ot.forEach(Y=>{this._triggerElement.removeEventListener(Y,this,Je)}))}}const S=new a.OlP("mat-ripple-global-options");let B=(()=>{class Re{constructor(F,N,re,Pe,it){this._elementRef=F,this._animationMode=it,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Pe||{},this._rippleRenderer=new Ie(this,N,F,re)}get disabled(){return this._disabled}set disabled(F){F&&this.fadeOutAllNonPersistent(),this._disabled=F,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(F){this._trigger=F,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:gt(gt(gt({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(F,N=0,re){return"number"==typeof F?this._rippleRenderer.fadeInRipple(F,N,gt(gt({},this.rippleConfig),re)):this._rippleRenderer.fadeInRipple(0,0,gt(gt({},this.rippleConfig),F))}}return Re.\u0275fac=function(F){return new(F||Re)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(P.t4),a.Y36(S,8),a.Y36(k.Qb,8))},Re.\u0275dir=a.lG2({type:Re,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(F,N){2&F&&a.ekj("mat-ripple-unbounded",N.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Re})(),te=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[[Ae,P.ud],Ae]}),Re})(),ie=(()=>{class Re{constructor(F){this._animationMode=F,this.state="unchecked",this.disabled=!1}}return Re.\u0275fac=function(F){return new(F||Re)(a.Y36(k.Qb,8))},Re.\u0275cmp=a.Xpm({type:Re,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(F,N){2&F&&a.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===N.state)("mat-pseudo-checkbox-checked","checked"===N.state)("mat-pseudo-checkbox-disabled",N.disabled)("_mat-animation-noopable","NoopAnimations"===N._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(F,N){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Re})(),Ue=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[[Ae]]}),Re})();const He=new a.OlP("MAT_OPTION_PARENT_COMPONENT"),et=xe(class{});let pt=0,wt=(()=>{class Re extends et{constructor(F){var N;super(),this._labelId="mat-optgroup-label-"+pt++,this._inert=null!=(N=null==F?void 0:F.inertGroups)&&N}}return Re.\u0275fac=function(F){return new(F||Re)(a.Y36(He,8))},Re.\u0275dir=a.lG2({type:Re,inputs:{label:"label"},features:[a.qOj]}),Re})();const Ut=new a.OlP("MatOptgroup");let It=(()=>{class Re extends wt{}return Re.\u0275fac=function(){let Y;return function(N){return(Y||(Y=a.n5z(Re)))(N||Re)}}(),Re.\u0275cmp=a.Xpm({type:Re,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(F,N){2&F&&(a.uIk("role",N._inert?null:"group")("aria-disabled",N._inert?null:N.disabled.toString())("aria-labelledby",N._inert?null:N._labelId),a.ekj("mat-optgroup-disabled",N.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[a._Bn([{provide:Ut,useExisting:Re}]),a.qOj],ngContentSelectors:V,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(F,N){1&F&&(a.F$t(j),a.TgZ(0,"span",0),a._uU(1),a.Hsn(2),a.qZA(),a.Hsn(3,1)),2&F&&(a.Q6J("id",N._labelId),a.xp6(1),a.hij("",N.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Re})(),xt=0;class Mt{constructor(Y,F=!1){this.source=Y,this.isUserInput=F}}let yt=(()=>{class Re{constructor(F,N,re,Pe){this._element=F,this._changeDetectorRef=N,this._parent=re,this.group=Pe,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+xt++,this.onSelectionChange=new a.vpe,this._stateChanges=new O.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(F){this._disabled=(0,$.Ig)(F)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(F,N){const re=this._getHostElement();"function"==typeof re.focus&&re.focus(N)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(F){(F.keyCode===R.K5||F.keyCode===R.L_)&&!(0,R.Vb)(F)&&(this._selectViaInteraction(),F.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const F=this.viewValue;F!==this._mostRecentViewValue&&(this._mostRecentViewValue=F,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(F=!1){this.onSelectionChange.emit(new Mt(this,F))}}return Re.\u0275fac=function(F){a.$Z()},Re.\u0275dir=a.lG2({type:Re,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Re})(),Ot=(()=>{class Re extends yt{constructor(F,N,re,Pe){super(F,N,re,Pe)}}return Re.\u0275fac=function(F){return new(F||Re)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(He,8),a.Y36(Ut,8))},Re.\u0275cmp=a.Xpm({type:Re,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(F,N){1&F&&a.NdJ("click",function(){return N._selectViaInteraction()})("keydown",function(Pe){return N._handleKeydown(Pe)}),2&F&&(a.Ikx("id",N.id),a.uIk("tabindex",N._getTabIndex())("aria-selected",N._getAriaSelected())("aria-disabled",N.disabled.toString()),a.ekj("mat-selected",N.selected)("mat-option-multiple",N.multiple)("mat-active",N.active)("mat-option-disabled",N.disabled))},exportAs:["matOption"],features:[a.qOj],ngContentSelectors:ve,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(F,N){1&F&&(a.F$t(),a.YNc(0,Z,1,2,"mat-pseudo-checkbox",0),a.TgZ(1,"span",1),a.Hsn(2),a.qZA(),a.YNc(3,q,2,1,"span",2),a._UZ(4,"div",3)),2&F&&(a.Q6J("ngIf",N.multiple),a.xp6(3),a.Q6J("ngIf",N.group&&N.group._inert),a.xp6(1),a.Q6J("matRippleTrigger",N._getHostElement())("matRippleDisabled",N.disabled||N.disableRipple))},directives:[Q.O5,B,ie],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Re})();function Gt(Re,Y,F){if(F.length){let N=Y.toArray(),re=F.toArray(),Pe=0;for(let it=0;it<Re+1;it++)N[it].group&&N[it].group===re[Pe]&&Pe++;return Pe}return 0}function Ht(Re,Y,F,N){return Re<F?Re:Re+Y>F+N?Math.max(0,Re-N+Y):F}let un=(()=>{class Re{}return Re.\u0275fac=function(F){return new(F||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[[te,Q.ez,Ae,Ue]]}),Re})()},5304:(Qe,me,g)=>{"use strict";g.d(me,{uw:()=>Dt,Is:()=>Te});var a=g(3925),_=g(5711),A=g(3668),E=g(6731),Q=g(8290),P=g(6019),$=g(8095),O=g(5476),G=g(1346),T=g(2411),k=g(8735),R=g(6636),j=g(1125),V=g(7497),Z=g(928),q=g(9814),ve=g(1628),Se=g(9555);function je(oe,le){}class at{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const Ge={dialogContainer:(0,q.X$)("dialogContainer",[(0,q.SB)("void, exit",(0,q.oB)({opacity:0,transform:"scale(0.7)"})),(0,q.SB)("enter",(0,q.oB)({transform:"none"})),(0,q.eR)("* => enter",(0,q.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,q.oB)({transform:"none",opacity:1}))),(0,q.eR)("* => void, * => exit",(0,q.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,q.oB)({opacity:0})))])};let ge=(()=>{class oe extends _.en{constructor(H,_e,be,fe,J,ue,Ne,Je){super(),this._elementRef=H,this._focusTrapFactory=_e,this._changeDetectorRef=be,this._config=J,this._interactivityChecker=ue,this._ngZone=Ne,this._focusMonitor=Je,this._animationStateChanged=new A.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=ze=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(ze)),this._ariaLabelledBy=J.ariaLabelledBy||null,this._document=fe}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(H){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(H)}attachTemplatePortal(H){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(H)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(H,_e){this._interactivityChecker.isFocusable(H)||(H.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{H.addEventListener("blur",()=>H.removeAttribute("tabindex")),H.addEventListener("mousedown",()=>H.removeAttribute("tabindex"))})),H.focus(_e)}_focusByCssSelector(H,_e){let be=this._elementRef.nativeElement.querySelector(H);be&&this._forceFocus(be,_e)}_trapFocus(){const H=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||H.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(_e=>{_e||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const H=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&H&&"function"==typeof H.focus){const _e=(0,Z.ht)(),be=this._elementRef.nativeElement;(!_e||_e===this._document.body||_e===be||be.contains(_e))&&(this._focusMonitor?(this._focusMonitor.focusVia(H,this._closeInteractionType),this._closeInteractionType=null):H.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Z.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const H=this._elementRef.nativeElement,_e=(0,Z.ht)();return H===_e||H.contains(_e)}}return oe.\u0275fac=function(H){return new(H||oe)(A.Y36(A.SBq),A.Y36(V.qV),A.Y36(A.sBO),A.Y36(P.K0,8),A.Y36(at),A.Y36(V.ic),A.Y36(A.R0b),A.Y36(V.tE))},oe.\u0275dir=A.lG2({type:oe,viewQuery:function(H,_e){if(1&H&&A.Gf(_.Pl,7),2&H){let be;A.iGM(be=A.CRH())&&(_e._portalOutlet=be.first)}},features:[A.qOj]}),oe})(),Ae=(()=>{class oe extends ge{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:H,totalTime:_e}){"enter"===H?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:_e})):"exit"===H&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:_e}))}_onAnimationStart({toState:H,totalTime:_e}){"enter"===H?this._animationStateChanged.next({state:"opening",totalTime:_e}):("exit"===H||"void"===H)&&this._animationStateChanged.next({state:"closing",totalTime:_e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return oe.\u0275fac=function(){let le;return function(_e){return(le||(le=A.n5z(oe)))(_e||oe)}}(),oe.\u0275cmp=A.Xpm({type:oe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(H,_e){1&H&&A.WFA("@dialogContainer.start",function(fe){return _e._onAnimationStart(fe)})("@dialogContainer.done",function(fe){return _e._onAnimationDone(fe)}),2&H&&(A.Ikx("id",_e._id),A.uIk("role",_e._config.role)("aria-labelledby",_e._config.ariaLabel?null:_e._ariaLabelledBy)("aria-label",_e._config.ariaLabel)("aria-describedby",_e._config.ariaDescribedBy||null),A.d8E("@dialogContainer",_e._state))},features:[A.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(H,_e){1&H&&A.YNc(0,je,0,0,"ng-template",0)},directives:[_.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ge.dialogContainer]}}),oe})(),Ee=0;class Ce{constructor(le,H,_e="mat-dialog-"+Ee++){this._overlayRef=le,this._containerInstance=H,this.id=_e,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new $.xQ,this._afterClosed=new $.xQ,this._beforeClosed=new $.xQ,this._state=0,H._id=_e,H._animationStateChanged.pipe((0,k.h)(be=>"opened"===be.state),(0,R.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),H._animationStateChanged.pipe((0,k.h)(be=>"closed"===be.state),(0,R.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),le.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),le.keydownEvents().pipe((0,k.h)(be=>be.keyCode===ve.hY&&!this.disableClose&&!(0,ve.Vb)(be))).subscribe(be=>{be.preventDefault(),Ve(this,"keyboard")}),le.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Ve(this,"mouse")})}close(le){this._result=le,this._containerInstance._animationStateChanged.pipe((0,k.h)(H=>"closing"===H.state),(0,R.q)(1)).subscribe(H=>{this._beforeClosed.next(le),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),H.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(le){let H=this._getPositionStrategy();return le&&(le.left||le.right)?le.left?H.left(le.left):H.right(le.right):H.centerHorizontally(),le&&(le.top||le.bottom)?le.top?H.top(le.top):H.bottom(le.bottom):H.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(le="",H=""){return this._overlayRef.updateSize({width:le,height:H}),this._overlayRef.updatePosition(),this}addPanelClass(le){return this._overlayRef.addPanelClass(le),this}removePanelClass(le){return this._overlayRef.removePanelClass(le),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Ve(oe,le,H){return void 0!==oe._containerInstance&&(oe._containerInstance._closeInteractionType=le),oe.close(H)}const xe=new A.OlP("MatDialogData"),qe=new A.OlP("mat-dialog-default-options"),We=new A.OlP("mat-dialog-scroll-strategy"),Xt={provide:We,deps:[a.aV],useFactory:function(oe){return()=>oe.scrollStrategies.block()}};let Kt=(()=>{class oe{constructor(H,_e,be,fe,J,ue,Ne,Je,ze,ot){this._overlay=H,this._injector=_e,this._defaultOptions=be,this._parentDialog=fe,this._overlayContainer=J,this._dialogRefConstructor=Ne,this._dialogContainerType=Je,this._dialogDataToken=ze,this._animationMode=ot,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new $.xQ,this._afterOpenedAtThisLevel=new $.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,O.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,j.O)(void 0))),this._scrollStrategy=ue}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const H=this._parentDialog;return H?H._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(H,_e){if(_e=function(oe,le){return gt(gt({},le),oe)}(_e,this._defaultOptions||new at),_e.id&&this.getDialogById(_e.id),this._dialogAnimatingOpen)return this._lastDialogRef;const be=this._createOverlay(_e),fe=this._attachDialogContainer(be,_e);if("NoopAnimations"!==this._animationMode){const ue=fe._animationStateChanged.subscribe(Ne=>{"opening"===Ne.state&&(this._dialogAnimatingOpen=!0),"opened"===Ne.state&&(this._dialogAnimatingOpen=!1,ue.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new G.w),this._animationStateSubscriptions.add(ue)}const J=this._attachDialogContent(H,fe,be,_e);return this._lastDialogRef=J,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(J),J.afterClosed().subscribe(()=>this._removeOpenDialog(J)),this.afterOpened.next(J),fe._initializeWithAttachedContent(),J}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(H){return this.openDialogs.find(_e=>_e.id===H)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(H){const _e=this._getOverlayConfig(H);return this._overlay.create(_e)}_getOverlayConfig(H){const _e=new a.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:H.scrollStrategy||this._scrollStrategy(),panelClass:H.panelClass,hasBackdrop:H.hasBackdrop,direction:H.direction,minWidth:H.minWidth,minHeight:H.minHeight,maxWidth:H.maxWidth,maxHeight:H.maxHeight,disposeOnNavigation:H.closeOnNavigation});return H.backdropClass&&(_e.backdropClass=H.backdropClass),_e}_attachDialogContainer(H,_e){const fe=A.zs3.create({parent:_e&&_e.viewContainerRef&&_e.viewContainerRef.injector||this._injector,providers:[{provide:at,useValue:_e}]}),J=new _.C5(this._dialogContainerType,_e.viewContainerRef,fe,_e.componentFactoryResolver);return H.attach(J).instance}_attachDialogContent(H,_e,be,fe){const J=new this._dialogRefConstructor(be,_e,fe.id);if(H instanceof A.Rgc)_e.attachTemplatePortal(new _.UE(H,null,{$implicit:fe.data,dialogRef:J}));else{const ue=this._createInjector(fe,J,_e),Ne=_e.attachComponentPortal(new _.C5(H,fe.viewContainerRef,ue));J.componentInstance=Ne.instance}return J.updateSize(fe.width,fe.height).updatePosition(fe.position),J}_createInjector(H,_e,be){const fe=H&&H.viewContainerRef&&H.viewContainerRef.injector,J=[{provide:this._dialogContainerType,useValue:be},{provide:this._dialogDataToken,useValue:H.data},{provide:this._dialogRefConstructor,useValue:_e}];return H.direction&&(!fe||!fe.get(Q.Is,null,A.XFs.Optional))&&J.push({provide:Q.Is,useValue:{value:H.direction,change:(0,T.of)()}}),A.zs3.create({parent:fe||this._injector,providers:J})}_removeOpenDialog(H){const _e=this.openDialogs.indexOf(H);_e>-1&&(this.openDialogs.splice(_e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((be,fe)=>{be?fe.setAttribute("aria-hidden",be):fe.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const H=this._overlayContainer.getContainerElement();if(H.parentElement){const _e=H.parentElement.children;for(let be=_e.length-1;be>-1;be--){let fe=_e[be];fe!==H&&"SCRIPT"!==fe.nodeName&&"STYLE"!==fe.nodeName&&!fe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(fe,fe.getAttribute("aria-hidden")),fe.setAttribute("aria-hidden","true"))}}}_closeDialogs(H){let _e=H.length;for(;_e--;)H[_e].close()}}return oe.\u0275fac=function(H){A.$Z()},oe.\u0275dir=A.lG2({type:oe}),oe})(),Dt=(()=>{class oe extends Kt{constructor(H,_e,be,fe,J,ue,Ne,Je){super(H,_e,fe,ue,Ne,J,Ce,Ae,xe,Je)}}return oe.\u0275fac=function(H){return new(H||oe)(A.LFG(a.aV),A.LFG(A.zs3),A.LFG(P.Ye,8),A.LFG(qe,8),A.LFG(We),A.LFG(oe,12),A.LFG(a.Xj),A.LFG(Se.Qb,8))},oe.\u0275prov=A.Yz7({token:oe,factory:oe.\u0275fac}),oe})(),Te=(()=>{class oe{}return oe.\u0275fac=function(H){return new(H||oe)},oe.\u0275mod=A.oAB({type:oe}),oe.\u0275inj=A.cJS({providers:[Dt,Xt],imports:[[a.U8,_.eL,E.BQ],E.BQ]}),oe})()},9112:(Qe,me,g)=>{"use strict";g.d(me,{Hw:()=>bt,Ps:()=>lt,jv:()=>Ce});var a=g(3668),_=g(6731),A=g(348),E=g(6019),Q=g(2411),P=g(540),$=g(6813),O=g(1346),G=g(5722),T=g(8053),k=g(2047),R=g(6658),j=g(6669),V=g(6636),Z=g(4522),q=g(5427);const ve=["*"];let Se;function at(Ye){var De;return(null==(De=function(){if(void 0===Se&&(Se=null,"undefined"!=typeof window)){const Ye=window;void 0!==Ye.trustedTypes&&(Se=Ye.trustedTypes.createPolicy("angular#components",{createHTML:De=>De}))}return Se}())?void 0:De.createHTML(Ye))||Ye}function Ge(Ye){return Error(`Unable to find icon with the name "${Ye}"`)}function ge(Ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ye}".`)}function Ae(Ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ye}".`)}class Ee{constructor(De,X,Te){this.url=De,this.svgText=X,this.options=Te}}let Ce=(()=>{class Ye{constructor(X,Te,oe,le){this._httpClient=X,this._sanitizer=Te,this._errorHandler=le,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=oe}addSvgIcon(X,Te,oe){return this.addSvgIconInNamespace("",X,Te,oe)}addSvgIconLiteral(X,Te,oe){return this.addSvgIconLiteralInNamespace("",X,Te,oe)}addSvgIconInNamespace(X,Te,oe,le){return this._addSvgIconConfig(X,Te,new Ee(oe,null,le))}addSvgIconResolver(X){return this._resolvers.push(X),this}addSvgIconLiteralInNamespace(X,Te,oe,le){const H=this._sanitizer.sanitize(a.q3G.HTML,oe);if(!H)throw Ae(oe);const _e=at(H);return this._addSvgIconConfig(X,Te,new Ee("",_e,le))}addSvgIconSet(X,Te){return this.addSvgIconSetInNamespace("",X,Te)}addSvgIconSetLiteral(X,Te){return this.addSvgIconSetLiteralInNamespace("",X,Te)}addSvgIconSetInNamespace(X,Te,oe){return this._addSvgIconSetConfig(X,new Ee(Te,null,oe))}addSvgIconSetLiteralInNamespace(X,Te,oe){const le=this._sanitizer.sanitize(a.q3G.HTML,Te);if(!le)throw Ae(Te);const H=at(le);return this._addSvgIconSetConfig(X,new Ee("",H,oe))}registerFontClassAlias(X,Te=X){return this._fontCssClassesByAlias.set(X,Te),this}classNameForFontAlias(X){return this._fontCssClassesByAlias.get(X)||X}setDefaultFontSetClass(X){return this._defaultFontSetClass=X,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(X){const Te=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,X);if(!Te)throw ge(X);const oe=this._cachedIconsByUrl.get(Te);return oe?(0,Q.of)(qe(oe)):this._loadSvgIconFromConfig(new Ee(X,null)).pipe((0,G.b)(le=>this._cachedIconsByUrl.set(Te,le)),(0,T.U)(le=>qe(le)))}getNamedSvgIcon(X,Te=""){const oe=We(Te,X);let le=this._svgIconConfigs.get(oe);if(le)return this._getSvgFromConfig(le);if(le=this._getIconConfigFromResolvers(Te,X),le)return this._svgIconConfigs.set(oe,le),this._getSvgFromConfig(le);const H=this._iconSetConfigs.get(Te);return H?this._getSvgFromIconSetConfigs(X,H):(0,P._)(Ge(oe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(X){return X.svgText?(0,Q.of)(qe(this._svgElementFromConfig(X))):this._loadSvgIconFromConfig(X).pipe((0,T.U)(Te=>qe(Te)))}_getSvgFromIconSetConfigs(X,Te){const oe=this._extractIconWithNameFromAnySet(X,Te);if(oe)return(0,Q.of)(oe);const le=Te.filter(H=>!H.svgText).map(H=>this._loadSvgIconSetFromConfig(H).pipe((0,k.K)(_e=>{const fe=`Loading icon set URL: ${this._sanitizer.sanitize(a.q3G.RESOURCE_URL,H.url)} failed: ${_e.message}`;return this._errorHandler.handleError(new Error(fe)),(0,Q.of)(null)})));return(0,$.D)(le).pipe((0,T.U)(()=>{const H=this._extractIconWithNameFromAnySet(X,Te);if(!H)throw Ge(X);return H}))}_extractIconWithNameFromAnySet(X,Te){for(let oe=Te.length-1;oe>=0;oe--){const le=Te[oe];if(le.svgText&&le.svgText.toString().indexOf(X)>-1){const H=this._svgElementFromConfig(le),_e=this._extractSvgIconFromSet(H,X,le.options);if(_e)return _e}}return null}_loadSvgIconFromConfig(X){return this._fetchIcon(X).pipe((0,G.b)(Te=>X.svgText=Te),(0,T.U)(()=>this._svgElementFromConfig(X)))}_loadSvgIconSetFromConfig(X){return X.svgText?(0,Q.of)(null):this._fetchIcon(X).pipe((0,G.b)(Te=>X.svgText=Te))}_extractSvgIconFromSet(X,Te,oe){const le=X.querySelector(`[id="${Te}"]`);if(!le)return null;const H=le.cloneNode(!0);if(H.removeAttribute("id"),"svg"===H.nodeName.toLowerCase())return this._setSvgAttributes(H,oe);if("symbol"===H.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(H),oe);const _e=this._svgElementFromString(at("<svg></svg>"));return _e.appendChild(H),this._setSvgAttributes(_e,oe)}_svgElementFromString(X){const Te=this._document.createElement("DIV");Te.innerHTML=X;const oe=Te.querySelector("svg");if(!oe)throw Error("<svg> tag not found");return oe}_toSvgElement(X){const Te=this._svgElementFromString(at("<svg></svg>")),oe=X.attributes;for(let le=0;le<oe.length;le++){const{name:H,value:_e}=oe[le];"id"!==H&&Te.setAttribute(H,_e)}for(let le=0;le<X.childNodes.length;le++)X.childNodes[le].nodeType===this._document.ELEMENT_NODE&&Te.appendChild(X.childNodes[le].cloneNode(!0));return Te}_setSvgAttributes(X,Te){return X.setAttribute("fit",""),X.setAttribute("height","100%"),X.setAttribute("width","100%"),X.setAttribute("preserveAspectRatio","xMidYMid meet"),X.setAttribute("focusable","false"),Te&&Te.viewBox&&X.setAttribute("viewBox",Te.viewBox),X}_fetchIcon(X){var fe;const{url:Te,options:oe}=X,le=null!=(fe=null==oe?void 0:oe.withCredentials)&&fe;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==Te)throw Error(`Cannot fetch icon from URL "${Te}".`);const H=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,Te);if(!H)throw ge(Te);const _e=this._inProgressUrlFetches.get(H);if(_e)return _e;const be=this._httpClient.get(H,{responseType:"text",withCredentials:le}).pipe((0,T.U)(J=>at(J)),(0,R.x)(()=>this._inProgressUrlFetches.delete(H)),(0,j.B)());return this._inProgressUrlFetches.set(H,be),be}_addSvgIconConfig(X,Te,oe){return this._svgIconConfigs.set(We(X,Te),oe),this}_addSvgIconSetConfig(X,Te){const oe=this._iconSetConfigs.get(X);return oe?oe.push(Te):this._iconSetConfigs.set(X,[Te]),this}_svgElementFromConfig(X){if(!X.svgElement){const Te=this._svgElementFromString(X.svgText);this._setSvgAttributes(Te,X.options),X.svgElement=Te}return X.svgElement}_getIconConfigFromResolvers(X,Te){for(let oe=0;oe<this._resolvers.length;oe++){const le=this._resolvers[oe](Te,X);if(le)return st(le)?new Ee(le.url,null,le.options):new Ee(le,null)}}}return Ye.\u0275fac=function(X){return new(X||Ye)(a.LFG(Z.eN,8),a.LFG(q.H7),a.LFG(E.K0,8),a.LFG(a.qLn))},Ye.\u0275prov=a.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})();function qe(Ye){return Ye.cloneNode(!0)}function We(Ye,De){return Ye+":"+De}function st(Ye){return!(!Ye.url||!Ye.options)}const rt=(0,_.pj)(class{constructor(Ye){this._elementRef=Ye}}),Xt=new a.OlP("mat-icon-location",{providedIn:"root",factory:function(){const Ye=(0,a.f3M)(E.K0),De=Ye?Ye.location:null;return{getPathname:()=>De?De.pathname+De.search:""}}}),Dt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Bt=Dt.map(Ye=>`[${Ye}]`).join(", "),Yt=/^url\(['"]?#(.*?)['"]?\)$/;let bt=(()=>{class Ye extends rt{constructor(X,Te,oe,le,H){super(X),this._iconRegistry=Te,this._location=le,this._errorHandler=H,this._inline=!1,this._currentIconFetch=O.w.EMPTY,oe||X.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(X){this._inline=(0,A.Ig)(X)}get svgIcon(){return this._svgIcon}set svgIcon(X){X!==this._svgIcon&&(X?this._updateSvgIcon(X):this._svgIcon&&this._clearSvgElement(),this._svgIcon=X)}get fontSet(){return this._fontSet}set fontSet(X){const Te=this._cleanupFontValue(X);Te!==this._fontSet&&(this._fontSet=Te,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(X){const Te=this._cleanupFontValue(X);Te!==this._fontIcon&&(this._fontIcon=Te,this._updateFontIconClasses())}_splitIconName(X){if(!X)return["",""];const Te=X.split(":");switch(Te.length){case 1:return["",Te[0]];case 2:return Te;default:throw Error(`Invalid icon name: "${X}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const X=this._elementsWithExternalReferences;if(X&&X.size){const Te=this._location.getPathname();Te!==this._previousPath&&(this._previousPath=Te,this._prependPathToReferences(Te))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(X){this._clearSvgElement();const Te=X.querySelectorAll("style");for(let le=0;le<Te.length;le++)Te[le].textContent+=" ";const oe=this._location.getPathname();this._previousPath=oe,this._cacheChildrenWithExternalReferences(X),this._prependPathToReferences(oe),this._elementRef.nativeElement.appendChild(X)}_clearSvgElement(){const X=this._elementRef.nativeElement;let Te=X.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Te--;){const oe=X.childNodes[Te];(1!==oe.nodeType||"svg"===oe.nodeName.toLowerCase())&&oe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const X=this._elementRef.nativeElement,Te=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();Te!=this._previousFontSetClass&&(this._previousFontSetClass&&X.classList.remove(this._previousFontSetClass),Te&&X.classList.add(Te),this._previousFontSetClass=Te),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&X.classList.remove(this._previousFontIconClass),this.fontIcon&&X.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(X){return"string"==typeof X?X.trim().split(" ")[0]:X}_prependPathToReferences(X){const Te=this._elementsWithExternalReferences;Te&&Te.forEach((oe,le)=>{oe.forEach(H=>{le.setAttribute(H.name,`url('${X}#${H.value}')`)})})}_cacheChildrenWithExternalReferences(X){const Te=X.querySelectorAll(Bt),oe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let le=0;le<Te.length;le++)Dt.forEach(H=>{const _e=Te[le],be=_e.getAttribute(H),fe=be?be.match(Yt):null;if(fe){let J=oe.get(_e);J||(J=[],oe.set(_e,J)),J.push({name:H,value:fe[1]})}})}_updateSvgIcon(X){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),X){const[Te,oe]=this._splitIconName(X);Te&&(this._svgNamespace=Te),oe&&(this._svgName=oe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(oe,Te).pipe((0,V.q)(1)).subscribe(le=>this._setSvgElement(le),le=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Te}:${oe}! ${le.message}`))})}}}return Ye.\u0275fac=function(X){return new(X||Ye)(a.Y36(a.SBq),a.Y36(Ce),a.$8M("aria-hidden"),a.Y36(Xt),a.Y36(a.qLn))},Ye.\u0275cmp=a.Xpm({type:Ye,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(X,Te){2&X&&(a.uIk("data-mat-icon-type",Te._usingFontIcon()?"font":"svg")("data-mat-icon-name",Te._svgName||Te.fontIcon)("data-mat-icon-namespace",Te._svgNamespace||Te.fontSet),a.ekj("mat-icon-inline",Te.inline)("mat-icon-no-color","primary"!==Te.color&&"accent"!==Te.color&&"warn"!==Te.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[a.qOj],ngContentSelectors:ve,decls:1,vars:0,template:function(X,Te){1&X&&(a.F$t(),a.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),Ye})(),lt=(()=>{class Ye{}return Ye.\u0275fac=function(X){return new(X||Ye)},Ye.\u0275mod=a.oAB({type:Ye}),Ye.\u0275inj=a.cJS({imports:[[_.BQ],_.BQ]}),Ye})()},8895:(Qe,me,g)=>{"use strict";g.d(me,{ie:()=>bt,vS:()=>Bt,Ub:()=>Yt});var a=g(6019),_=g(3668),A=g(6731),E=g(348),Q=g(8095),P=g(8805),$=g(1125),O=g(7497),G=g(5351),T=g(1628),k=g(9133);let j=(()=>{class lt{}return lt.\u0275fac=function(De){return new(De||lt)},lt.\u0275mod=_.oAB({type:lt}),lt.\u0275inj=_.cJS({imports:[[A.BQ],A.BQ]}),lt})();const V=["*"],Se=["text"];function je(lt,Ye){if(1&lt&&_._UZ(0,"mat-pseudo-checkbox",5),2&lt){const De=_.oxw();_.Q6J("state",De.selected?"checked":"unchecked")("disabled",De.disabled)}}const at=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],Ge=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"];let xe=(()=>{class lt{}return lt.\u0275fac=function(De){return new(De||lt)},lt.\u0275dir=_.lG2({type:lt,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),lt})(),qe=(()=>{class lt{}return lt.\u0275fac=function(De){return new(De||lt)},lt.\u0275dir=_.lG2({type:lt,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),lt})();const rt=(0,A.Kr)(class{}),Xt=(0,A.Kr)(class{}),Kt={provide:k.JU,useExisting:(0,_.Gpc)(()=>Yt),multi:!0};class Dt{constructor(Ye,De,X){this.source=Ye,this.option=De,this.options=X}}let Bt=(()=>{class lt extends Xt{constructor(De,X,Te){super(),this._element=De,this._changeDetector=X,this.selectionList=Te,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.selectedChange=new _.vpe,this.checkboxPosition="after",this._inputsInitialized=!1}get color(){return this._color||this.selectionList.color}set color(De){this._color=De}get value(){return this._value}set value(De){this.selected&&!this.selectionList.compareWith(De,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=De}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(De){const X=(0,E.Ig)(De);X!==this._disabled&&(this._disabled=X,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(De){const X=(0,E.Ig)(De);X!==this._selected&&(this._setSelected(X),(X||this.selectionList.multiple)&&this.selectionList._reportValueChange())}ngOnInit(){const De=this.selectionList;De._value&&De._value.some(Te=>De.compareWith(Te,this._value))&&this._setSelected(!0);const X=this._selected;Promise.resolve().then(()=>{(this._selected||X)&&(this.selected=!0,this._changeDetector.markForCheck())}),this._inputsInitialized=!0}ngAfterContentInit(){(0,A.E0)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const De=this._hasFocus,X=this.selectionList._removeOptionFromList(this);De&&X&&X.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){!this.disabled&&(this.selectionList.multiple||!this.selected)&&(this.toggle(),this.selectionList._emitChangeEvent([this]))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(De){return De!==this._selected&&(this._selected=De,De?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this.selectedChange.emit(De),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}return lt.\u0275fac=function(De){return new(De||lt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36((0,_.Gpc)(()=>Yt)))},lt.\u0275cmp=_.Xpm({type:lt,selectors:[["mat-list-option"]],contentQueries:function(De,X,Te){if(1&De&&(_.Suo(Te,xe,5),_.Suo(Te,qe,5),_.Suo(Te,A.X2,5)),2&De){let oe;_.iGM(oe=_.CRH())&&(X._avatar=oe.first),_.iGM(oe=_.CRH())&&(X._icon=oe.first),_.iGM(oe=_.CRH())&&(X._lines=oe)}},viewQuery:function(De,X){if(1&De&&_.Gf(Se,5),2&De){let Te;_.iGM(Te=_.CRH())&&(X._text=Te.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(De,X){1&De&&_.NdJ("focus",function(){return X._handleFocus()})("blur",function(){return X._handleBlur()})("click",function(){return X._handleClick()}),2&De&&(_.uIk("aria-selected",X.selected)("aria-disabled",X.disabled)("tabindex",-1),_.ekj("mat-list-item-disabled",X.disabled)("mat-list-item-with-avatar",X._avatar||X._icon)("mat-primary","primary"===X.color)("mat-accent","primary"!==X.color&&"warn"!==X.color)("mat-warn","warn"===X.color)("mat-list-single-selected-option",X.selected&&!X.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[_.qOj],ngContentSelectors:Ge,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(De,X){1&De&&(_.F$t(at),_.TgZ(0,"div",0),_._UZ(1,"div",1),_.YNc(2,je,1,2,"mat-pseudo-checkbox",2),_.TgZ(3,"div",3,4),_.Hsn(5),_.qZA(),_.Hsn(6,1),_.qZA()),2&De&&(_.ekj("mat-list-item-content-reverse","after"==X.checkboxPosition),_.xp6(1),_.Q6J("matRippleTrigger",X._getHostElement())("matRippleDisabled",X._isRippleDisabled()),_.xp6(1),_.Q6J("ngIf",X.selectionList.multiple))},directives:[A.wG,a.O5,A.nP],encapsulation:2,changeDetection:0}),lt})(),Yt=(()=>{class lt extends rt{constructor(De,X,Te,oe){super(),this._element=De,this._changeDetector=Te,this._focusMonitor=oe,this._multiple=!0,this._contentInitialized=!1,this.selectionChange=new _.vpe,this.tabIndex=0,this.color="accent",this.compareWith=(le,H)=>le===H,this._disabled=!1,this.selectedOptions=new G.Ov(this._multiple),this._tabIndex=-1,this._onChange=le=>{},this._destroyed=new Q.xQ,this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(De){this._disabled=(0,E.Ig)(De),this._markOptionsForCheck()}get multiple(){return this._multiple}set multiple(De){const X=(0,E.Ig)(De);X!==this._multiple&&(this._multiple=X,this.selectedOptions=new G.Ov(this._multiple,this.selectedOptions.selected))}ngAfterContentInit(){var De;this._contentInitialized=!0,this._keyManager=new O.Em(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe((0,P.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.options.changes.pipe((0,$.O)(null),(0,P.R)(this._destroyed)).subscribe(()=>{this._updateTabIndex()}),this.selectedOptions.changed.pipe((0,P.R)(this._destroyed)).subscribe(X=>{if(X.added)for(let Te of X.added)Te.selected=!0;if(X.removed)for(let Te of X.removed)Te.selected=!1}),null==(De=this._focusMonitor)||De.monitor(this._element).pipe((0,P.R)(this._destroyed)).subscribe(X=>{var Te;if("keyboard"===X||"program"===X){let oe=0;for(let le=0;le<this.options.length;le++)if(null==(Te=this.options.get(le))?void 0:Te.selected){oe=le;break}this._keyManager.setActiveItem(oe)}})}ngOnChanges(De){const X=De.disableRipple,Te=De.color;(X&&!X.firstChange||Te&&!Te.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){var De;null==(De=this._focusMonitor)||De.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(De){this._element.nativeElement.focus(De)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_setFocusedOption(De){this._keyManager.updateActiveItem(De)}_removeOptionFromList(De){const X=this._getOptionIndex(De);return X>-1&&this._keyManager.activeItemIndex===X&&(X>0?this._keyManager.updateActiveItem(X-1):0===X&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(X+1,this.options.length-1))),this._keyManager.activeItem}_keydown(De){const X=De.keyCode,Te=this._keyManager,oe=Te.activeItemIndex,le=(0,T.Vb)(De);switch(X){case T.L_:case T.K5:!le&&!Te.isTyping()&&(this._toggleFocusedOption(),De.preventDefault());break;default:if(X===T.A&&this.multiple&&(0,T.Vb)(De,"ctrlKey")&&!Te.isTyping()){const H=this.options.some(_e=>!_e.disabled&&!_e.selected);this._setAllOptionsSelected(H,!0,!0),De.preventDefault()}else Te.onKeydown(De)}this.multiple&&(X===T.LH||X===T.JH)&&De.shiftKey&&Te.activeItemIndex!==oe&&this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const De=this._getSelectedOptionValues();this._onChange(De),this._value=De}}_emitChangeEvent(De){this.selectionChange.emit(new Dt(this,De[0],De))}writeValue(De){this._value=De,this.options&&this._setOptionsFromValues(De||[])}setDisabledState(De){this.disabled=De}registerOnChange(De){this._onChange=De}registerOnTouched(De){this._onTouched=De}_setOptionsFromValues(De){this.options.forEach(X=>X._setSelected(!1)),De.forEach(X=>{const Te=this.options.find(oe=>!oe.selected&&this.compareWith(oe.value,X));Te&&Te._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(De=>De.selected).map(De=>De.value)}_toggleFocusedOption(){let De=this._keyManager.activeItemIndex;if(null!=De&&this._isValidIndex(De)){let X=this.options.toArray()[De];X&&!X.disabled&&(this._multiple||!X.selected)&&(X.toggle(),this._emitChangeEvent([X]))}}_setAllOptionsSelected(De,X,Te){const oe=[];return this.options.forEach(le=>{(!X||!le.disabled)&&le._setSelected(De)&&oe.push(le)}),oe.length&&(this._reportValueChange(),Te&&this._emitChangeEvent(oe)),oe}_isValidIndex(De){return De>=0&&De<this.options.length}_getOptionIndex(De){return this.options.toArray().indexOf(De)}_markOptionsForCheck(){this.options&&this.options.forEach(De=>De._markForCheck())}_allowFocusEscape(){this._tabIndex=-1,setTimeout(()=>{this._tabIndex=0,this._changeDetector.markForCheck()})}_updateTabIndex(){this._tabIndex=0===this.options.length?-1:0}}return lt.\u0275fac=function(De){return new(De||lt)(_.Y36(_.SBq),_.$8M("tabindex"),_.Y36(_.sBO),_.Y36(O.tE))},lt.\u0275cmp=_.Xpm({type:lt,selectors:[["mat-selection-list"]],contentQueries:function(De,X,Te){if(1&De&&_.Suo(Te,Bt,5),2&De){let oe;_.iGM(oe=_.CRH())&&(X.options=oe)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(De,X){1&De&&_.NdJ("keydown",function(oe){return X._keydown(oe)}),2&De&&_.uIk("aria-multiselectable",X.multiple)("aria-disabled",X.disabled.toString())("tabindex",X._tabIndex)},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[_._Bn([Kt]),_.qOj,_.TTD],ngContentSelectors:V,decls:1,vars:0,template:function(De,X){1&De&&(_.F$t(),_.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),lt})(),bt=(()=>{class lt{}return lt.\u0275fac=function(De){return new(De||lt)},lt.\u0275mod=_.oAB({type:lt}),lt.\u0275inj=_.cJS({imports:[[A.uc,A.si,A.BQ,A.us,a.ez],A.uc,A.BQ,A.us,j]}),lt})()},3530:(Qe,me,g)=>{"use strict";g.d(me,{VK:()=>le,OP:()=>Ye,Tx:()=>Je,p6:()=>Ne});var a=g(7497),_=g(348),A=g(1628),E=g(3668),Q=g(8095),P=g(1346),$=g(8526),O=g(2411),G=g(2907),T=g(1125),k=g(9204),R=g(6636),j=g(8735),V=g(8805),Z=g(7556),q=g(9814),ve=g(5711),Se=g(6019),je=g(6731),at=g(8290),Ge=g(3925),ye=g(928),ge=g(6827);const Ae=["mat-menu-item",""];function Ee(ze,ot){1&ze&&(E.O4$(),E.TgZ(0,"svg",2),E._UZ(1,"polygon",3),E.qZA())}const Ce=["*"];function Ve(ze,ot){if(1&ze){const Ie=E.EpF();E.TgZ(0,"div",0),E.NdJ("keydown",function(M){return E.CHM(Ie),E.oxw()._handleKeydown(M)})("click",function(){return E.CHM(Ie),E.oxw().closed.emit("click")})("@transformMenu.start",function(M){return E.CHM(Ie),E.oxw()._onAnimationStart(M)})("@transformMenu.done",function(M){return E.CHM(Ie),E.oxw()._onAnimationDone(M)}),E.TgZ(1,"div",1),E.Hsn(2),E.qZA(),E.qZA()}if(2&ze){const Ie=E.oxw();E.Q6J("id",Ie.panelId)("ngClass",Ie._classList)("@transformMenu",Ie._panelAnimationState),E.uIk("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie.ariaLabelledby||null)("aria-describedby",Ie.ariaDescribedby||null)}}const xe={transformMenu:(0,q.X$)("transformMenu",[(0,q.SB)("void",(0,q.oB)({opacity:0,transform:"scale(0.8)"})),(0,q.eR)("void => enter",(0,q.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,q.oB)({opacity:1,transform:"scale(1)"}))),(0,q.eR)("* => void",(0,q.jt)("100ms 25ms linear",(0,q.oB)({opacity:0})))]),fadeInItems:(0,q.X$)("fadeInItems",[(0,q.SB)("showing",(0,q.oB)({opacity:1})),(0,q.eR)("void => *",[(0,q.oB)({opacity:0}),(0,q.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},st=new E.OlP("MatMenuContent"),bt=new E.OlP("MAT_MENU_PANEL"),lt=(0,je.Kr)((0,je.Id)(class{}));let Ye=(()=>{class ze extends lt{constructor(Ie,ne,M,S,B){super(),this._elementRef=Ie,this._focusMonitor=M,this._parentMenu=S,this._changeDetectorRef=B,this.role="menuitem",this._hovered=new Q.xQ,this._focused=new Q.xQ,this._highlighted=!1,this._triggersSubmenu=!1,S&&S.addItem&&S.addItem(this)}focus(Ie,ne){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._getHostElement(),Ie,ne):this._getHostElement().focus(ne),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ie){this.disabled&&(Ie.preventDefault(),Ie.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var M;const Ie=this._elementRef.nativeElement.cloneNode(!0),ne=Ie.querySelectorAll("mat-icon, .material-icons");for(let S=0;S<ne.length;S++)ne[S].remove();return(null==(M=Ie.textContent)?void 0:M.trim())||""}_setHighlighted(Ie){var ne;this._highlighted=Ie,null==(ne=this._changeDetectorRef)||ne.markForCheck()}}return ze.\u0275fac=function(Ie){return new(Ie||ze)(E.Y36(E.SBq),E.Y36(Se.K0),E.Y36(a.tE),E.Y36(bt,8),E.Y36(E.sBO))},ze.\u0275cmp=E.Xpm({type:ze,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Ie,ne){1&Ie&&E.NdJ("click",function(S){return ne._checkDisabled(S)})("mouseenter",function(){return ne._handleMouseEnter()}),2&Ie&&(E.uIk("role",ne.role)("tabindex",ne._getTabIndex())("aria-disabled",ne.disabled.toString())("disabled",ne.disabled||null),E.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",ne._highlighted)("mat-menu-item-submenu-trigger",ne._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[E.qOj],attrs:Ae,ngContentSelectors:Ce,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Ie,ne){1&Ie&&(E.F$t(),E.Hsn(0),E._UZ(1,"div",0),E.YNc(2,Ee,2,0,"svg",1)),2&Ie&&(E.xp6(1),E.Q6J("matRippleDisabled",ne.disableRipple||ne.disabled)("matRippleTrigger",ne._getHostElement()),E.xp6(1),E.Q6J("ngIf",ne._triggersSubmenu))},directives:[je.wG,Se.O5],encapsulation:2,changeDetection:0}),ze})();const De=new E.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Te=0,oe=(()=>{class ze{constructor(Ie,ne,M){this._elementRef=Ie,this._ngZone=ne,this._defaultOptions=M,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new E.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Q.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new E.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Te++}get xPosition(){return this._xPosition}set xPosition(Ie){this._xPosition=Ie,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ie){this._yPosition=Ie,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ie){this._overlapTrigger=(0,_.Ig)(Ie)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ie){this._hasBackdrop=(0,_.Ig)(Ie)}set panelClass(Ie){const ne=this._previousPanelClass;ne&&ne.length&&ne.split(" ").forEach(M=>{this._classList[M]=!1}),this._previousPanelClass=Ie,Ie&&Ie.length&&(Ie.split(" ").forEach(M=>{this._classList[M]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ie){this.panelClass=Ie}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new a.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,T.O)(this._directDescendantItems),(0,k.w)(Ie=>(0,$.T)(...Ie.map(ne=>ne._focused)))).subscribe(Ie=>this._keyManager.updateActiveItem(Ie))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,T.O)(this._directDescendantItems),(0,k.w)(ne=>(0,$.T)(...ne.map(M=>M._hovered))))}addItem(Ie){}removeItem(Ie){}_handleKeydown(Ie){const ne=Ie.keyCode,M=this._keyManager;switch(ne){case A.hY:(0,A.Vb)(Ie)||(Ie.preventDefault(),this.closed.emit("keydown"));break;case A.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case A.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(ne===A.LH||ne===A.JH)&&M.setFocusOrigin("keyboard"),M.onKeydown(Ie)}}focusFirstItem(Ie="program"){this.lazyContent?this._ngZone.onStable.pipe((0,R.q)(1)).subscribe(()=>this._focusFirstItem(Ie)):this._focusFirstItem(Ie)}_focusFirstItem(Ie){const ne=this._keyManager;if(ne.setFocusOrigin(Ie).setFirstItemActive(),!ne.activeItem&&this._directDescendantItems.length){let M=this._directDescendantItems.first._getHostElement().parentElement;for(;M;){if("menu"===M.getAttribute("role")){M.focus();break}M=M.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ie){const ne=Math.min(this._baseElevation+Ie,24),M=`${this._elevationPrefix}${ne}`,S=Object.keys(this._classList).find(B=>B.startsWith(this._elevationPrefix));(!S||S===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[M]=!0,this._previousElevation=M)}setPositionClasses(Ie=this.xPosition,ne=this.yPosition){const M=this._classList;M["mat-menu-before"]="before"===Ie,M["mat-menu-after"]="after"===Ie,M["mat-menu-above"]="above"===ne,M["mat-menu-below"]="below"===ne}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ie){this._animationDone.next(Ie),this._isAnimating=!1}_onAnimationStart(Ie){this._isAnimating=!0,"enter"===Ie.toState&&0===this._keyManager.activeItemIndex&&(Ie.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,T.O)(this._allItems)).subscribe(Ie=>{this._directDescendantItems.reset(Ie.filter(ne=>ne._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return ze.\u0275fac=function(Ie){return new(Ie||ze)(E.Y36(E.SBq),E.Y36(E.R0b),E.Y36(De))},ze.\u0275dir=E.lG2({type:ze,contentQueries:function(Ie,ne,M){if(1&Ie&&(E.Suo(M,st,5),E.Suo(M,Ye,5),E.Suo(M,Ye,4)),2&Ie){let S;E.iGM(S=E.CRH())&&(ne.lazyContent=S.first),E.iGM(S=E.CRH())&&(ne._allItems=S),E.iGM(S=E.CRH())&&(ne.items=S)}},viewQuery:function(Ie,ne){if(1&Ie&&E.Gf(E.Rgc,5),2&Ie){let M;E.iGM(M=E.CRH())&&(ne.templateRef=M.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),ze})(),le=(()=>{class ze extends oe{constructor(Ie,ne,M){super(Ie,ne,M),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return ze.\u0275fac=function(Ie){return new(Ie||ze)(E.Y36(E.SBq),E.Y36(E.R0b),E.Y36(De))},ze.\u0275cmp=E.Xpm({type:ze,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Ie,ne){2&Ie&&E.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[E._Bn([{provide:bt,useExisting:ze}]),E.qOj],ngContentSelectors:Ce,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Ie,ne){1&Ie&&(E.F$t(),E.YNc(0,Ve,3,6,"ng-template"))},directives:[Se.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0}),ze})();const H=new E.OlP("mat-menu-scroll-strategy"),be={provide:H,deps:[Ge.aV],useFactory:function(ze){return()=>ze.scrollStrategies.reposition()}},J=(0,ye.i$)({passive:!0});let ue=(()=>{class ze{constructor(Ie,ne,M,S,B,te,ie,Ue){this._overlay=Ie,this._element=ne,this._viewContainerRef=M,this._menuItemInstance=te,this._dir=ie,this._focusMonitor=Ue,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=He=>{(0,a.yG)(He)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new E.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new E.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=S,this._parentMaterialMenu=B instanceof oe?B:void 0,ne.nativeElement.addEventListener("touchstart",this._handleTouchStart,J),te&&(te._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ie){this.menu=Ie}get menu(){return this._menu}set menu(Ie){Ie!==this._menu&&(this._menu=Ie,this._menuCloseSubscription.unsubscribe(),Ie&&(this._menuCloseSubscription=Ie.close.subscribe(ne=>{this._destroyMenu(ne),("click"===ne||"tab"===ne)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ne)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,J),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const Ie=this._createOverlay(),ne=Ie.getConfig();this._setPosition(ne.positionStrategy),ne.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,Ie.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof oe&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(Ie,ne){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._element,Ie,ne):this._element.nativeElement.focus(ne)}updatePosition(){var Ie;null==(Ie=this._overlayRef)||Ie.updatePosition()}_destroyMenu(Ie){if(!this._overlayRef||!this.menuOpen)return;const ne=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ie||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ne instanceof oe?(ne._resetAnimation(),ne.lazyContent?ne._animationDone.pipe((0,j.h)(M=>"void"===M.toState),(0,R.q)(1),(0,V.R)(ne.lazyContent._attached)).subscribe({next:()=>ne.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ne.lazyContent&&ne.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let Ie=0,ne=this.menu.parentMenu;for(;ne;)Ie++,ne=ne.parentMenu;this.menu.setElevation(Ie)}}_setIsMenuOpen(Ie){this._menuOpen=Ie,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ie)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const Ie=this._getOverlayConfig();this._subscribeToPositions(Ie.positionStrategy),this._overlayRef=this._overlay.create(Ie),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Ge.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ie){this.menu.setPositionClasses&&Ie.positionChanges.subscribe(ne=>{this.menu.setPositionClasses("start"===ne.connectionPair.overlayX?"after":"before","top"===ne.connectionPair.overlayY?"below":"above")})}_setPosition(Ie){let[ne,M]="before"===this.menu.xPosition?["end","start"]:["start","end"],[S,B]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[te,ie]=[S,B],[Ue,He]=[ne,M],et=0;this.triggersSubmenu()?(He=ne="before"===this.menu.xPosition?"start":"end",M=Ue="end"===ne?"start":"end",et="bottom"===S?8:-8):this.menu.overlapTrigger||(te="top"===S?"bottom":"top",ie="top"===B?"bottom":"top"),Ie.withPositions([{originX:ne,originY:te,overlayX:Ue,overlayY:S,offsetY:et},{originX:M,originY:te,overlayX:He,overlayY:S,offsetY:et},{originX:ne,originY:ie,overlayX:Ue,overlayY:B,offsetY:-et},{originX:M,originY:ie,overlayX:He,overlayY:B,offsetY:-et}])}_menuClosingActions(){const Ie=this._overlayRef.backdropClick(),ne=this._overlayRef.detachments(),M=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,O.of)(),S=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,j.h)(B=>B!==this._menuItemInstance),(0,j.h)(()=>this._menuOpen)):(0,O.of)();return(0,$.T)(Ie,M,S,ne)}_handleMousedown(Ie){(0,a.X6)(Ie)||(this._openedBy=0===Ie.button?"mouse":void 0,this.triggersSubmenu()&&Ie.preventDefault())}_handleKeydown(Ie){const ne=Ie.keyCode;(ne===A.K5||ne===A.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ne===A.SV&&"ltr"===this.dir||ne===A.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ie){this.triggersSubmenu()?(Ie.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,j.h)(Ie=>Ie===this._menuItemInstance&&!Ie.disabled),(0,Z.g)(0,G.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof oe&&this.menu._isAnimating?this.menu._animationDone.pipe((0,R.q)(1),(0,Z.g)(0,G.E),(0,V.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ve.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return ze.\u0275fac=function(Ie){return new(Ie||ze)(E.Y36(Ge.aV),E.Y36(E.SBq),E.Y36(E.s_b),E.Y36(H),E.Y36(bt,8),E.Y36(Ye,10),E.Y36(at.Is,8),E.Y36(a.tE))},ze.\u0275dir=E.lG2({type:ze,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(Ie,ne){1&Ie&&E.NdJ("click",function(S){return ne._handleClick(S)})("mousedown",function(S){return ne._handleMousedown(S)})("keydown",function(S){return ne._handleKeydown(S)}),2&Ie&&E.uIk("aria-expanded",ne.menuOpen||null)("aria-controls",ne.menuOpen?ne.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),ze})(),Ne=(()=>{class ze extends ue{}return ze.\u0275fac=function(){let ot;return function(ne){return(ot||(ot=E.n5z(ze)))(ne||ze)}}(),ze.\u0275dir=E.lG2({type:ze,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[E.qOj]}),ze})(),Je=(()=>{class ze{}return ze.\u0275fac=function(Ie){return new(Ie||ze)},ze.\u0275mod=E.oAB({type:ze}),ze.\u0275inj=E.cJS({providers:[be],imports:[[Se.ez,je.BQ,je.si,Ge.U8],ge.ZD,je.BQ]}),ze})()},7964:(Qe,me,g)=>{"use strict";g.d(me,{Cq:()=>at,$g:()=>je});var a=g(3668),_=g(6019),A=g(6731),E=g(348),Q=g(928),P=g(9555);function $(Ge,ye){if(1&Ge&&(a.O4$(),a._UZ(0,"circle",3)),2&Ge){const ge=a.oxw();a.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+ge._spinnerAnimationLabel)("stroke-dashoffset",ge._getStrokeDashOffset(),"px")("stroke-dasharray",ge._getStrokeCircumference(),"px")("stroke-width",ge._getCircleStrokeWidth(),"%"),a.uIk("r",ge._getCircleRadius())}}function O(Ge,ye){if(1&Ge&&(a.O4$(),a._UZ(0,"circle",3)),2&Ge){const ge=a.oxw();a.Udp("stroke-dashoffset",ge._getStrokeDashOffset(),"px")("stroke-dasharray",ge._getStrokeCircumference(),"px")("stroke-width",ge._getCircleStrokeWidth(),"%"),a.uIk("r",ge._getCircleRadius())}}function G(Ge,ye){if(1&Ge&&(a.O4$(),a._UZ(0,"circle",3)),2&Ge){const ge=a.oxw();a.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+ge._spinnerAnimationLabel)("stroke-dashoffset",ge._getStrokeDashOffset(),"px")("stroke-dasharray",ge._getStrokeCircumference(),"px")("stroke-width",ge._getCircleStrokeWidth(),"%"),a.uIk("r",ge._getCircleRadius())}}function T(Ge,ye){if(1&Ge&&(a.O4$(),a._UZ(0,"circle",3)),2&Ge){const ge=a.oxw();a.Udp("stroke-dashoffset",ge._getStrokeDashOffset(),"px")("stroke-dasharray",ge._getStrokeCircumference(),"px")("stroke-width",ge._getCircleStrokeWidth(),"%"),a.uIk("r",ge._getCircleRadius())}}const V=(0,A.pj)(class{constructor(Ge){this._elementRef=Ge}},"primary"),Z=new a.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class Se extends V{constructor(ye,ge,Ae,Ee,Ce){super(ye),this._document=Ae,this._diameter=100,this._value=0,this.mode="determinate";const Ve=Se._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Ve.has(Ae.head)||Ve.set(Ae.head,new Set([100])),this._noopAnimations="NoopAnimations"===Ee&&!!Ce&&!Ce._forceAnimations,Ce&&(Ce.diameter&&(this.diameter=Ce.diameter),Ce.strokeWidth&&(this.strokeWidth=Ce.strokeWidth))}get diameter(){return this._diameter}set diameter(ye){this._diameter=(0,E.su)(ye),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(ye){this._strokeWidth=(0,E.su)(ye)}get value(){return"determinate"===this.mode?this._value:0}set value(ye){this._value=Math.max(0,Math.min(100,(0,E.su)(ye)))}ngOnInit(){const ye=this._elementRef.nativeElement;this._styleRoot=(0,Q.kV)(ye)||this._document.head,this._attachStyleNode(),ye.classList.add("mat-progress-spinner-indeterminate-animation")}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const ye=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${ye} ${ye}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const ye=this._styleRoot,ge=this._diameter,Ae=Se._diameters;let Ee=Ae.get(ye);if(!Ee||!Ee.has(ge)){const Ce=this._document.createElement("style");Ce.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Ce.textContent=this._getAnimationText(),ye.appendChild(Ce),Ee||(Ee=new Set,Ae.set(ye,Ee)),Ee.add(ge)}}_getAnimationText(){const ye=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*ye).replace(/END_VALUE/g,""+.2*ye).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Se._diameters=new WeakMap,Se.\u0275fac=function(ye){return new(ye||Se)(a.Y36(a.SBq),a.Y36(Q.t4),a.Y36(_.K0,8),a.Y36(P.Qb,8),a.Y36(Z))},Se.\u0275cmp=a.Xpm({type:Se,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(ye,ge){2&ye&&(a.uIk("aria-valuemin","determinate"===ge.mode?0:null)("aria-valuemax","determinate"===ge.mode?100:null)("aria-valuenow","determinate"===ge.mode?ge.value:null)("mode",ge.mode),a.Udp("width",ge.diameter,"px")("height",ge.diameter,"px"),a.ekj("_mat-animation-noopable",ge._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[a.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(ye,ge){1&ye&&(a.O4$(),a.TgZ(0,"svg",0),a.YNc(1,$,1,9,"circle",1),a.YNc(2,O,1,7,"circle",2),a.qZA()),2&ye&&(a.Udp("width",ge.diameter,"px")("height",ge.diameter,"px"),a.Q6J("ngSwitch","indeterminate"===ge.mode),a.uIk("viewBox",ge._getViewBox()),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1))},directives:[_.RF,_.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let je=(()=>{class Ge extends Se{constructor(ge,Ae,Ee,Ce,Ve){super(ge,Ae,Ee,Ce,Ve),this.mode="indeterminate"}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(a.Y36(a.SBq),a.Y36(Q.t4),a.Y36(_.K0,8),a.Y36(P.Qb,8),a.Y36(Z))},Ge.\u0275cmp=a.Xpm({type:Ge,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(ge,Ae){2&ge&&(a.Udp("width",Ae.diameter,"px")("height",Ae.diameter,"px"),a.ekj("_mat-animation-noopable",Ae._noopAnimations))},inputs:{color:"color"},features:[a.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(ge,Ae){1&ge&&(a.O4$(),a.TgZ(0,"svg",0),a.YNc(1,G,1,9,"circle",1),a.YNc(2,T,1,7,"circle",2),a.qZA()),2&ge&&(a.Udp("width",Ae.diameter,"px")("height",Ae.diameter,"px"),a.Q6J("ngSwitch","indeterminate"===Ae.mode),a.uIk("viewBox",Ae._getViewBox()),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1))},directives:[_.RF,_.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),Ge})(),at=(()=>{class Ge{}return Ge.\u0275fac=function(ge){return new(ge||Ge)},Ge.\u0275mod=a.oAB({type:Ge}),Ge.\u0275inj=a.cJS({imports:[[A.BQ,_.ez],A.BQ]}),Ge})()},6701:(Qe,me,g)=>{"use strict";g.d(me,{jA:()=>X,kh:()=>Te,LW:()=>De,JX:()=>le,TM:()=>H,SJ:()=>_e});var a=g(928),_=g(6827),A=g(6019),E=g(3668),Q=g(6731),P=g(7497),$=g(8290),O=g(348),G=g(1628),T=g(8095),k=g(6087),R=g(8526),j=g(4168);function V(be){return fe=>fe.lift(new Z(be))}class Z{constructor(fe){this.value=fe}call(fe,J){return J.subscribe(new q(fe,this.value))}}class q extends j.L{constructor(fe,J){super(fe),this.value=J}_next(fe){this.destination.next(this.value)}}var ve=g(8735),Se=g(8053),je=g(8805),at=g(5389),Ge=g(6636),ye=g(1125),ge=g(5686),Ae=g(9814),Ee=g(9555);const Ce=["*"];function Ve(be,fe){if(1&be){const J=E.EpF();E.TgZ(0,"div",2),E.NdJ("click",function(){return E.CHM(J),E.oxw()._onBackdropClicked()}),E.qZA()}if(2&be){const J=E.oxw();E.ekj("mat-drawer-shown",J._isShowingBackdrop())}}function xe(be,fe){1&be&&(E.TgZ(0,"mat-drawer-content"),E.Hsn(1,2),E.qZA())}const qe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],We=["mat-drawer","mat-drawer-content","*"];function st(be,fe){if(1&be){const J=E.EpF();E.TgZ(0,"div",2),E.NdJ("click",function(){return E.CHM(J),E.oxw()._onBackdropClicked()}),E.qZA()}if(2&be){const J=E.oxw();E.ekj("mat-drawer-shown",J._isShowingBackdrop())}}function rt(be,fe){1&be&&(E.TgZ(0,"mat-sidenav-content",3),E.Hsn(1,2),E.qZA())}const Xt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Kt=["mat-sidenav","mat-sidenav-content","*"],Bt={transformDrawer:(0,Ae.X$)("transform",[(0,Ae.SB)("open, open-instant",(0,Ae.oB)({transform:"none",visibility:"visible"})),(0,Ae.SB)("void",(0,Ae.oB)({"box-shadow":"none",visibility:"hidden"})),(0,Ae.eR)("void => open-instant",(0,Ae.jt)("0ms")),(0,Ae.eR)("void <=> open, open-instant => void",(0,Ae.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},bt=new E.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),lt=new E.OlP("MAT_DRAWER_CONTAINER");let De=(()=>{class be extends _.PQ{constructor(J,ue,Ne,Je,ze){super(Ne,Je,ze),this._changeDetectorRef=J,this._container=ue}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return be.\u0275fac=function(J){return new(J||be)(E.Y36(E.sBO),E.Y36((0,E.Gpc)(()=>Te)),E.Y36(E.SBq),E.Y36(_.mF),E.Y36(E.R0b))},be.\u0275cmp=E.Xpm({type:be,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(J,ue){2&J&&E.Udp("margin-left",ue._container._contentMargins.left,"px")("margin-right",ue._container._contentMargins.right,"px")},features:[E.qOj],ngContentSelectors:Ce,decls:1,vars:0,template:function(J,ue){1&J&&(E.F$t(),E.Hsn(0))},encapsulation:2,changeDetection:0}),be})(),X=(()=>{class be{constructor(J,ue,Ne,Je,ze,ot,Ie,ne){this._elementRef=J,this._focusTrapFactory=ue,this._focusMonitor=Ne,this._platform=Je,this._ngZone=ze,this._interactivityChecker=ot,this._doc=Ie,this._container=ne,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new T.xQ,this._animationEnd=new T.xQ,this._animationState="void",this.openedChange=new E.vpe(!0),this._openedStream=this.openedChange.pipe((0,ve.h)(M=>M),(0,Se.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,ve.h)(M=>M.fromState!==M.toState&&0===M.toState.indexOf("open")),V(void 0)),this._closedStream=this.openedChange.pipe((0,ve.h)(M=>!M),(0,Se.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,ve.h)(M=>M.fromState!==M.toState&&"void"===M.toState),V(void 0)),this._destroyed=new T.xQ,this.onPositionChanged=new E.vpe,this._modeChanged=new T.xQ,this.openedChange.subscribe(M=>{M?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,k.R)(this._elementRef.nativeElement,"keydown").pipe((0,ve.h)(M=>M.keyCode===G.hY&&!this.disableClose&&!(0,G.Vb)(M)),(0,je.R)(this._destroyed)).subscribe(M=>this._ngZone.run(()=>{this.close(),M.stopPropagation(),M.preventDefault()}))}),this._animationEnd.pipe((0,at.x)((M,S)=>M.fromState===S.fromState&&M.toState===S.toState)).subscribe(M=>{const{fromState:S,toState:B}=M;(0===B.indexOf("open")&&"void"===S||"void"===B&&0===S.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(J){(J="end"===J?"end":"start")!=this._position&&(this._position=J,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(J){this._mode=J,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(J){this._disableClose=(0,O.Ig)(J)}get autoFocus(){const J=this._autoFocus;return null==J?"side"===this.mode?"dialog":"first-tabbable":J}set autoFocus(J){("true"===J||"false"===J)&&(J=(0,O.Ig)(J)),this._autoFocus=J}get opened(){return this._opened}set opened(J){this.toggle((0,O.Ig)(J))}_forceFocus(J,ue){this._interactivityChecker.isFocusable(J)||(J.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{J.addEventListener("blur",()=>J.removeAttribute("tabindex")),J.addEventListener("mousedown",()=>J.removeAttribute("tabindex"))})),J.focus(ue)}_focusByCssSelector(J,ue){let Ne=this._elementRef.nativeElement.querySelector(J);Ne&&this._forceFocus(Ne,ue)}_takeFocus(){if(!this._focusTrap)return;const J=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ue=>{!ue&&"function"==typeof this._elementRef.nativeElement.focus&&J.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(J){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,J):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){var ue;const J=null==(ue=this._doc)?void 0:ue.activeElement;return!!J&&this._elementRef.nativeElement.contains(J)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(J){return this.toggle(!0,J)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(J=!this.opened,ue){J&&ue&&(this._openedVia=ue);const Ne=this._setOpen(J,!J&&this._isFocusWithinDrawer(),this._openedVia||"program");return J||(this._openedVia=null),Ne}_setOpen(J,ue,Ne){return this._opened=J,J?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ue&&this._restoreFocus(Ne)),this._updateFocusTrapState(),new Promise(Je=>{this.openedChange.pipe((0,Ge.q)(1)).subscribe(ze=>Je(ze?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}}return be.\u0275fac=function(J){return new(J||be)(E.Y36(E.SBq),E.Y36(P.qV),E.Y36(P.tE),E.Y36(a.t4),E.Y36(E.R0b),E.Y36(P.ic),E.Y36(A.K0,8),E.Y36(lt,8))},be.\u0275cmp=E.Xpm({type:be,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(J,ue){1&J&&E.WFA("@transform.start",function(Je){return ue._animationStarted.next(Je)})("@transform.done",function(Je){return ue._animationEnd.next(Je)}),2&J&&(E.uIk("align",null),E.d8E("@transform",ue._animationState),E.ekj("mat-drawer-end","end"===ue.position)("mat-drawer-over","over"===ue.mode)("mat-drawer-push","push"===ue.mode)("mat-drawer-side","side"===ue.mode)("mat-drawer-opened",ue.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Ce,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(J,ue){1&J&&(E.F$t(),E.TgZ(0,"div",0),E.Hsn(1),E.qZA())},directives:[_.PQ],encapsulation:2,data:{animation:[Bt.transformDrawer]},changeDetection:0}),be})(),Te=(()=>{class be{constructor(J,ue,Ne,Je,ze,ot=!1,Ie){this._dir=J,this._element=ue,this._ngZone=Ne,this._changeDetectorRef=Je,this._animationMode=Ie,this._drawers=new E.n_E,this.backdropClick=new E.vpe,this._destroyed=new T.xQ,this._doCheckSubject=new T.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new T.xQ,J&&J.change.pipe((0,je.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ze.change().pipe((0,je.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=ot}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(J){this._autosize=(0,O.Ig)(J)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(J){this._backdropOverride=null==J?null:(0,O.Ig)(J)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ye.O)(this._allDrawers),(0,je.R)(this._destroyed)).subscribe(J=>{this._drawers.reset(J.filter(ue=>!ue._container||ue._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ye.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(J=>{this._watchDrawerToggle(J),this._watchDrawerPosition(J),this._watchDrawerMode(J)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ge.b)(10),(0,je.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(J=>J.open())}close(){this._drawers.forEach(J=>J.close())}updateContentMargins(){let J=0,ue=0;if(this._left&&this._left.opened)if("side"==this._left.mode)J+=this._left._getWidth();else if("push"==this._left.mode){const Ne=this._left._getWidth();J+=Ne,ue-=Ne}if(this._right&&this._right.opened)if("side"==this._right.mode)ue+=this._right._getWidth();else if("push"==this._right.mode){const Ne=this._right._getWidth();ue+=Ne,J-=Ne}J=J||null,ue=ue||null,(J!==this._contentMargins.left||ue!==this._contentMargins.right)&&(this._contentMargins={left:J,right:ue},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(J){J._animationStarted.pipe((0,ve.h)(ue=>ue.fromState!==ue.toState),(0,je.R)(this._drawers.changes)).subscribe(ue=>{"open-instant"!==ue.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==J.mode&&J.openedChange.pipe((0,je.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(J.opened))}_watchDrawerPosition(J){!J||J.onPositionChanged.pipe((0,je.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ge.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(J){J&&J._modeChanged.pipe((0,je.R)((0,R.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(J){const ue=this._element.nativeElement.classList,Ne="mat-drawer-container-has-open";J?ue.add(Ne):ue.remove(Ne)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(J=>{"end"==J.position?this._end=J:this._start=J}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(J=>J&&!J.disableClose&&this._canHaveBackdrop(J)).forEach(J=>J._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(J){return"side"!==J.mode||!!this._backdropOverride}_isDrawerOpen(J){return null!=J&&J.opened}}return be.\u0275fac=function(J){return new(J||be)(E.Y36($.Is,8),E.Y36(E.SBq),E.Y36(E.R0b),E.Y36(E.sBO),E.Y36(_.rL),E.Y36(bt),E.Y36(Ee.Qb,8))},be.\u0275cmp=E.Xpm({type:be,selectors:[["mat-drawer-container"]],contentQueries:function(J,ue,Ne){if(1&J&&(E.Suo(Ne,De,5),E.Suo(Ne,X,5)),2&J){let Je;E.iGM(Je=E.CRH())&&(ue._content=Je.first),E.iGM(Je=E.CRH())&&(ue._allDrawers=Je)}},viewQuery:function(J,ue){if(1&J&&E.Gf(De,5),2&J){let Ne;E.iGM(Ne=E.CRH())&&(ue._userContent=Ne.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(J,ue){2&J&&E.ekj("mat-drawer-container-explicit-backdrop",ue._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[E._Bn([{provide:lt,useExisting:be}])],ngContentSelectors:We,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(J,ue){1&J&&(E.F$t(qe),E.YNc(0,Ve,1,2,"div",0),E.Hsn(1),E.Hsn(2,1),E.YNc(3,xe,2,0,"mat-drawer-content",1)),2&J&&(E.Q6J("ngIf",ue.hasBackdrop),E.xp6(3),E.Q6J("ngIf",!ue._content))},directives:[A.O5,De],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),be})(),oe=(()=>{class be extends De{constructor(J,ue,Ne,Je,ze){super(J,ue,Ne,Je,ze)}}return be.\u0275fac=function(J){return new(J||be)(E.Y36(E.sBO),E.Y36((0,E.Gpc)(()=>H)),E.Y36(E.SBq),E.Y36(_.mF),E.Y36(E.R0b))},be.\u0275cmp=E.Xpm({type:be,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(J,ue){2&J&&E.Udp("margin-left",ue._container._contentMargins.left,"px")("margin-right",ue._container._contentMargins.right,"px")},features:[E.qOj],ngContentSelectors:Ce,decls:1,vars:0,template:function(J,ue){1&J&&(E.F$t(),E.Hsn(0))},encapsulation:2,changeDetection:0}),be})(),le=(()=>{class be extends X{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(J){this._fixedInViewport=(0,O.Ig)(J)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(J){this._fixedTopGap=(0,O.su)(J)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(J){this._fixedBottomGap=(0,O.su)(J)}}return be.\u0275fac=function(){let fe;return function(ue){return(fe||(fe=E.n5z(be)))(ue||be)}}(),be.\u0275cmp=E.Xpm({type:be,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(J,ue){2&J&&(E.uIk("align",null),E.Udp("top",ue.fixedInViewport?ue.fixedTopGap:null,"px")("bottom",ue.fixedInViewport?ue.fixedBottomGap:null,"px"),E.ekj("mat-drawer-end","end"===ue.position)("mat-drawer-over","over"===ue.mode)("mat-drawer-push","push"===ue.mode)("mat-drawer-side","side"===ue.mode)("mat-drawer-opened",ue.opened)("mat-sidenav-fixed",ue.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[E.qOj],ngContentSelectors:Ce,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(J,ue){1&J&&(E.F$t(),E.TgZ(0,"div",0),E.Hsn(1),E.qZA())},directives:[_.PQ],encapsulation:2,data:{animation:[Bt.transformDrawer]},changeDetection:0}),be})(),H=(()=>{class be extends Te{}return be.\u0275fac=function(){let fe;return function(ue){return(fe||(fe=E.n5z(be)))(ue||be)}}(),be.\u0275cmp=E.Xpm({type:be,selectors:[["mat-sidenav-container"]],contentQueries:function(J,ue,Ne){if(1&J&&(E.Suo(Ne,oe,5),E.Suo(Ne,le,5)),2&J){let Je;E.iGM(Je=E.CRH())&&(ue._content=Je.first),E.iGM(Je=E.CRH())&&(ue._allDrawers=Je)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(J,ue){2&J&&E.ekj("mat-drawer-container-explicit-backdrop",ue._backdropOverride)},exportAs:["matSidenavContainer"],features:[E._Bn([{provide:lt,useExisting:be}]),E.qOj],ngContentSelectors:Kt,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(J,ue){1&J&&(E.F$t(Xt),E.YNc(0,st,1,2,"div",0),E.Hsn(1),E.Hsn(2,1),E.YNc(3,rt,2,0,"mat-sidenav-content",1)),2&J&&(E.Q6J("ngIf",ue.hasBackdrop),E.xp6(3),E.Q6J("ngIf",!ue._content))},directives:[A.O5,oe,_.PQ],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),be})(),_e=(()=>{class be{}return be.\u0275fac=function(J){return new(J||be)},be.\u0275mod=E.oAB({type:be}),be.\u0275inj=E.cJS({imports:[[A.ez,Q.BQ,a.ud,_.ZD],_.ZD,Q.BQ]}),be})()},9966:(Qe,me,g)=>{"use strict";g.d(me,{qD:()=>j,Ve:()=>Ge,u_:()=>V,Lb:()=>je,ZX:()=>at,OX:()=>q});var a=g(3925),_=g(5711),A=g(6019),E=g(3668),Q=g(6731),P=g(86),$=g(8095),O=g(928),G=g(6636),T=g(9814);function R(Ae,Ee){}const j=new E.OlP("MatSnackBarData");class V{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const Z=Math.pow(2,31)-1;class q{constructor(Ee,Ce){this._overlayRef=Ce,this._afterDismissed=new $.xQ,this._afterOpened=new $.xQ,this._onAction=new $.xQ,this._dismissedByAction=!1,this.containerInstance=Ee,this.onAction().subscribe(()=>this.dismiss()),Ee._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Ee){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Ee,Z))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Se={snackBarState:(0,T.X$)("state",[(0,T.SB)("void, hidden",(0,T.oB)({transform:"scale(0.8)",opacity:0})),(0,T.SB)("visible",(0,T.oB)({transform:"scale(1)",opacity:1})),(0,T.eR)("* => visible",(0,T.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,T.eR)("* => void, * => hidden",(0,T.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,T.oB)({opacity:0})))])};let je=(()=>{class Ae extends _.en{constructor(Ce,Ve,xe,qe,We){super(),this._ngZone=Ce,this._elementRef=Ve,this._changeDetectorRef=xe,this._platform=qe,this.snackBarConfig=We,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new $.xQ,this._onExit=new $.xQ,this._onEnter=new $.xQ,this._animationState="void",this.attachDomPortal=st=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(st)),this._live="assertive"!==We.politeness||We.announcementMessage?"off"===We.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Ce){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(Ce)}attachTemplatePortal(Ce){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(Ce)}onAnimationEnd(Ce){const{fromState:Ve,toState:xe}=Ce;if(("void"===xe&&"void"!==Ve||"hidden"===xe)&&this._completeExit(),"visible"===xe){const qe=this._onEnter;this._ngZone.run(()=>{qe.next(),qe.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,G.q)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const Ce=this._elementRef.nativeElement,Ve=this.snackBarConfig.panelClass;Ve&&(Array.isArray(Ve)?Ve.forEach(xe=>Ce.classList.add(xe)):Ce.classList.add(Ve)),"center"===this.snackBarConfig.horizontalPosition&&Ce.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&Ce.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const Ce=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Ve=this._elementRef.nativeElement.querySelector("[aria-live]");if(Ce&&Ve){let xe=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&Ce.contains(document.activeElement)&&(xe=document.activeElement),Ce.removeAttribute("aria-hidden"),Ve.appendChild(Ce),null==xe||xe.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(E.Y36(E.R0b),E.Y36(E.SBq),E.Y36(E.sBO),E.Y36(O.t4),E.Y36(V))},Ae.\u0275cmp=E.Xpm({type:Ae,selectors:[["snack-bar-container"]],viewQuery:function(Ce,Ve){if(1&Ce&&E.Gf(_.Pl,7),2&Ce){let xe;E.iGM(xe=E.CRH())&&(Ve._portalOutlet=xe.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(Ce,Ve){1&Ce&&E.WFA("@state.done",function(qe){return Ve.onAnimationEnd(qe)}),2&Ce&&E.d8E("@state",Ve._animationState)},features:[E.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Ce,Ve){1&Ce&&(E.TgZ(0,"div",0),E.YNc(1,R,0,0,"ng-template",1),E.qZA(),E._UZ(2,"div")),2&Ce&&(E.xp6(2),E.uIk("aria-live",Ve._live)("role",Ve._role))},directives:[_.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[Se.snackBarState]}}),Ae})(),at=(()=>{class Ae{}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)},Ae.\u0275mod=E.oAB({type:Ae}),Ae.\u0275inj=E.cJS({imports:[[a.U8,_.eL,A.ez,P.ot,Q.BQ],Q.BQ]}),Ae})();const Ge=new E.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new V}})},4106:(Qe,me,g)=>{"use strict";g.d(me,{Jm:()=>X,gM:()=>le,AV:()=>be});var a=g(3925),_=g(7497),A=g(6019),E=g(3668),Q=g(6731),P=g(6827),$=g(8290),O=g(348),G=g(1628),T=g(8095),k=g(2372),R=g(3596),j=g(5548),V=g(6636),Z=g(5488),q=g(5686),ve=g(8053),Se=g(1125),je=g(8805),at=g(928);const ye=new Set;let ge,Ae=(()=>{class fe{constructor(ue){this._platform=ue,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ce}matchMedia(ue){return(this._platform.WEBKIT||this._platform.BLINK)&&function(fe){if(!ye.has(fe))try{ge||(ge=document.createElement("style"),ge.setAttribute("type","text/css"),document.head.appendChild(ge)),ge.sheet&&(ge.sheet.insertRule(`@media ${fe} {body{ }}`,0),ye.add(fe))}catch(J){console.error(J)}}(ue),this._matchMedia(ue)}}return fe.\u0275fac=function(ue){return new(ue||fe)(E.LFG(at.t4))},fe.\u0275prov=E.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();function Ce(fe){return{matches:"all"===fe||""===fe,media:fe,addListener:()=>{},removeListener:()=>{}}}let Ve=(()=>{class fe{constructor(ue,Ne){this._mediaMatcher=ue,this._zone=Ne,this._queries=new Map,this._destroySubject=new T.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ue){return xe((0,O.Eq)(ue)).some(Je=>this._registerQuery(Je).mql.matches)}observe(ue){const Je=xe((0,O.Eq)(ue)).map(ot=>this._registerQuery(ot).observable);let ze=(0,k.aj)(Je);return ze=(0,R.z)(ze.pipe((0,V.q)(1)),ze.pipe((0,Z.T)(1),(0,q.b)(0))),ze.pipe((0,ve.U)(ot=>{const Ie={matches:!1,breakpoints:{}};return ot.forEach(({matches:ne,query:M})=>{Ie.matches=Ie.matches||ne,Ie.breakpoints[M]=ne}),Ie}))}_registerQuery(ue){if(this._queries.has(ue))return this._queries.get(ue);const Ne=this._mediaMatcher.matchMedia(ue),ze={observable:new j.y(ot=>{const Ie=ne=>this._zone.run(()=>ot.next(ne));return Ne.addListener(Ie),()=>{Ne.removeListener(Ie)}}).pipe((0,Se.O)(Ne),(0,ve.U)(({matches:ot})=>({query:ue,matches:ot})),(0,je.R)(this._destroySubject)),mql:Ne};return this._queries.set(ue,ze),ze}}return fe.\u0275fac=function(ue){return new(ue||fe)(E.LFG(Ae),E.LFG(E.R0b))},fe.\u0275prov=E.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();function xe(fe){return fe.map(J=>J.split(",")).reduce((J,ue)=>J.concat(ue)).map(J=>J.trim())}var We=g(5711),st=g(9814);const rt={tooltipState:(0,st.X$)("state",[(0,st.SB)("initial, void, hidden",(0,st.oB)({opacity:0,transform:"scale(0)"})),(0,st.SB)("visible",(0,st.oB)({transform:"scale(1)"})),(0,st.eR)("* => visible",(0,st.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,st.F4)([(0,st.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,st.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,st.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,st.eR)("* => hidden",(0,st.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,st.oB)({opacity:0})))])},Dt="tooltip-panel",Bt=(0,at.i$)({passive:!0}),lt=new E.OlP("mat-tooltip-scroll-strategy"),De={provide:lt,deps:[a.aV],useFactory:function(fe){return()=>fe.scrollStrategies.reposition({scrollThrottle:20})}},X=new E.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let oe=(()=>{class fe{constructor(ue,Ne,Je,ze,ot,Ie,ne,M,S,B,te,ie){this._overlay=ue,this._elementRef=Ne,this._scrollDispatcher=Je,this._viewContainerRef=ze,this._ngZone=ot,this._platform=Ie,this._ariaDescriber=ne,this._focusMonitor=M,this._dir=B,this._defaultOptions=te,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new T.xQ,this._handleKeydown=Ue=>{this._isTooltipVisible()&&Ue.keyCode===G.hY&&!(0,G.Vb)(Ue)&&(Ue.preventDefault(),Ue.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=S,this._document=ie,te&&(te.position&&(this.position=te.position),te.touchGestures&&(this.touchGestures=te.touchGestures)),B.change.pipe((0,je.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),ot.runOutsideAngular(()=>{Ne.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(ue){var Ne;ue!==this._position&&(this._position=ue,this._overlayRef&&(this._updatePosition(this._overlayRef),null==(Ne=this._tooltipInstance)||Ne.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,O.Ig)(ue),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(ue){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=ue?String(ue).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(ue){this._tooltipClass=ue,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,je.R)(this._destroyed)).subscribe(ue=>{ue?"keyboard"===ue&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ue=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),ue.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([Ne,Je])=>{ue.removeEventListener(Ne,Je,Bt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(ue,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ue)}show(ue=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const Ne=this._createOverlay();this._detach(),this._portal=this._portal||new We.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=Ne.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,je.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(ue)}hide(ue=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(ue)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const ue=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ne=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ue);return Ne.positionChanges.pipe((0,je.R)(this._destroyed)).subscribe(Je=>{this._updateCurrentPositionClass(Je.connectionPair),this._tooltipInstance&&Je.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ne,panelClass:`${this._cssClassPrefix}-${Dt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,je.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,je.R)(this._destroyed)).subscribe(()=>{var Je;return null==(Je=this._tooltipInstance)?void 0:Je._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(ue){const Ne=ue.getConfig().positionStrategy,Je=this._getOrigin(),ze=this._getOverlayPosition();Ne.withPositions([this._addOffset(gt(gt({},Je.main),ze.main)),this._addOffset(gt(gt({},Je.fallback),ze.fallback))])}_addOffset(ue){return ue}_getOrigin(){const ue=!this._dir||"ltr"==this._dir.value,Ne=this.position;let Je;"above"==Ne||"below"==Ne?Je={originX:"center",originY:"above"==Ne?"top":"bottom"}:"before"==Ne||"left"==Ne&&ue||"right"==Ne&&!ue?Je={originX:"start",originY:"center"}:("after"==Ne||"right"==Ne&&ue||"left"==Ne&&!ue)&&(Je={originX:"end",originY:"center"});const{x:ze,y:ot}=this._invertPosition(Je.originX,Je.originY);return{main:Je,fallback:{originX:ze,originY:ot}}}_getOverlayPosition(){const ue=!this._dir||"ltr"==this._dir.value,Ne=this.position;let Je;"above"==Ne?Je={overlayX:"center",overlayY:"bottom"}:"below"==Ne?Je={overlayX:"center",overlayY:"top"}:"before"==Ne||"left"==Ne&&ue||"right"==Ne&&!ue?Je={overlayX:"end",overlayY:"center"}:("after"==Ne||"right"==Ne&&ue||"left"==Ne&&!ue)&&(Je={overlayX:"start",overlayY:"center"});const{x:ze,y:ot}=this._invertPosition(Je.overlayX,Je.overlayY);return{main:Je,fallback:{overlayX:ze,overlayY:ot}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,V.q)(1),(0,je.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(ue){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ue,this._tooltipInstance._markForCheck())}_invertPosition(ue,Ne){return"above"===this.position||"below"===this.position?"top"===Ne?Ne="bottom":"bottom"===Ne&&(Ne="top"):"end"===ue?ue="start":"start"===ue&&(ue="end"),{x:ue,y:Ne}}_updateCurrentPositionClass(ue){const{overlayY:Ne,originX:Je,originY:ze}=ue;let ot;if(ot="center"===Ne?this._dir&&"rtl"===this._dir.value?"end"===Je?"left":"right":"start"===Je?"left":"right":"bottom"===Ne&&"top"===ze?"above":"below",ot!==this._currentPosition){const Ie=this._overlayRef;if(Ie){const ne=`${this._cssClassPrefix}-${Dt}-`;Ie.removePanelClass(ne+this._currentPosition),Ie.addPanelClass(ne+ot)}this._currentPosition=ot}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const ue=[];if(this._platformSupportsMouseEvents())ue.push(["mouseleave",()=>this.hide()],["wheel",Ne=>this._wheelListener(Ne)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Ne=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};ue.push(["touchend",Ne],["touchcancel",Ne])}this._addListeners(ue),this._passiveListeners.push(...ue)}_addListeners(ue){ue.forEach(([Ne,Je])=>{this._elementRef.nativeElement.addEventListener(Ne,Je,Bt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ue){if(this._isTooltipVisible()){const Ne=this._document.elementFromPoint(ue.clientX,ue.clientY),Je=this._elementRef.nativeElement;Ne!==Je&&!Je.contains(Ne)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ue=this.touchGestures;if("off"!==ue){const Ne=this._elementRef.nativeElement,Je=Ne.style;("on"===ue||"INPUT"!==Ne.nodeName&&"TEXTAREA"!==Ne.nodeName)&&(Je.userSelect=Je.msUserSelect=Je.webkitUserSelect=Je.MozUserSelect="none"),("on"===ue||!Ne.draggable)&&(Je.webkitUserDrag="none"),Je.touchAction="none",Je.webkitTapHighlightColor="transparent"}}}return fe.\u0275fac=function(ue){E.$Z()},fe.\u0275dir=E.lG2({type:fe,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),fe})(),le=(()=>{class fe extends oe{constructor(ue,Ne,Je,ze,ot,Ie,ne,M,S,B,te,ie){super(ue,Ne,Je,ze,ot,Ie,ne,M,S,B,te,ie),this._tooltipComponent=_e}}return fe.\u0275fac=function(ue){return new(ue||fe)(E.Y36(a.aV),E.Y36(E.SBq),E.Y36(P.mF),E.Y36(E.s_b),E.Y36(E.R0b),E.Y36(at.t4),E.Y36(_.$s),E.Y36(_.tE),E.Y36(lt),E.Y36($.Is,8),E.Y36(X,8),E.Y36(A.K0))},fe.\u0275dir=E.lG2({type:fe,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[E.qOj]}),fe})(),H=(()=>{class fe{constructor(ue){this._changeDetectorRef=ue,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new T.xQ}show(ue){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},ue)}hide(ue){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},ue)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(ue){const Ne=ue.toState;"hidden"===Ne&&!this.isVisible()&&this._onHide.next(),("visible"===Ne||"hidden"===Ne)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return fe.\u0275fac=function(ue){return new(ue||fe)(E.Y36(E.sBO))},fe.\u0275dir=E.lG2({type:fe}),fe})(),_e=(()=>{class fe extends H{constructor(ue,Ne){super(ue),this._breakpointObserver=Ne,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return fe.\u0275fac=function(ue){return new(ue||fe)(E.Y36(E.sBO),E.Y36(Ve))},fe.\u0275cmp=E.Xpm({type:fe,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(ue,Ne){2&ue&&E.Udp("zoom","visible"===Ne._visibility?1:null)},features:[E.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(ue,Ne){if(1&ue&&(E.TgZ(0,"div",0),E.NdJ("@state.start",function(){return Ne._animationStart()})("@state.done",function(ze){return Ne._animationDone(ze)}),E.ALo(1,"async"),E._uU(2),E.qZA()),2&ue){let Je;E.ekj("mat-tooltip-handset",null==(Je=E.lcZ(1,5,Ne._isHandset))?null:Je.matches),E.Q6J("ngClass",Ne.tooltipClass)("@state",Ne._visibility),E.xp6(2),E.Oqu(Ne.message)}},directives:[A.mk],pipes:[A.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[rt.tooltipState]},changeDetection:0}),fe})(),be=(()=>{class fe{}return fe.\u0275fac=function(ue){return new(ue||fe)},fe.\u0275mod=E.oAB({type:fe}),fe.\u0275inj=E.cJS({providers:[De],imports:[[_.rt,A.ez,a.U8,Q.BQ],Q.BQ,P.ZD]}),fe})()},9555:(Qe,me,g)=>{"use strict";g.d(me,{Qb:()=>nt,PW:()=>qs});var a=g(3668),_=g(5427),A=g(9814);function E(){return"undefined"!=typeof window&&void 0!==window.document}function Q(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function P(L){switch(L.length){case 0:return new A.ZN;case 1:return L[0];default:return new A.ZE(L)}}function $(L,l,d,b,U={},K={}){const he=[],pe=[];let ke=-1,Xe=null;if(b.forEach(ct=>{const _t=ct.offset,$t=_t==ke,Jt=$t&&Xe||{};Object.keys(ct).forEach(Pt=>{let Wt=Pt,en=ct[Pt];if("offset"!==Pt)switch(Wt=l.normalizePropertyName(Wt,he),en){case A.k1:en=U[Pt];break;case A.l3:en=K[Pt];break;default:en=l.normalizeStyleValue(Pt,Wt,en,he)}Jt[Wt]=en}),$t||pe.push(Jt),Xe=Jt,ke=_t}),he.length){const ct="\n - ";throw new Error(`Unable to animate due to the following errors:${ct}${he.join(ct)}`)}return pe}function O(L,l,d,b){switch(l){case"start":L.onStart(()=>b(d&&G(d,"start",L)));break;case"done":L.onDone(()=>b(d&&G(d,"done",L)));break;case"destroy":L.onDestroy(()=>b(d&&G(d,"destroy",L)))}}function G(L,l,d){const b=d.totalTime,K=T(L.element,L.triggerName,L.fromState,L.toState,l||L.phaseName,null==b?L.totalTime:b,!!d.disabled),he=L._data;return null!=he&&(K._data=he),K}function T(L,l,d,b,U="",K=0,he){return{element:L,triggerName:l,fromState:d,toState:b,phaseName:U,totalTime:K,disabled:!!he}}function k(L,l,d){let b;return L instanceof Map?(b=L.get(l),b||L.set(l,b=d)):(b=L[l],b||(b=L[l]=d)),b}function R(L){const l=L.indexOf(":");return[L.substring(1,l),L.substr(l+1)]}let j=(L,l)=>!1,V=(L,l)=>!1,Z=(L,l,d)=>[];const q=Q();(q||"undefined"!=typeof Element)&&(j=E()?(L,l)=>{for(;l&&l!==document.documentElement;){if(l===L)return!0;l=l.parentNode||l.host}return!1}:(L,l)=>L.contains(l),V=(()=>{if(q||Element.prototype.matches)return(L,l)=>L.matches(l);{const L=Element.prototype,l=L.matchesSelector||L.mozMatchesSelector||L.msMatchesSelector||L.oMatchesSelector||L.webkitMatchesSelector;return l?(d,b)=>l.apply(d,[b]):V}})(),Z=(L,l,d)=>{let b=[];if(d){const U=L.querySelectorAll(l);for(let K=0;K<U.length;K++)b.push(U[K])}else{const U=L.querySelector(l);U&&b.push(U)}return b});let Se=null,je=!1;function at(L){Se||(Se=("undefined"!=typeof document?document.body:null)||{},je=!!Se.style&&"WebkitAppearance"in Se.style);let l=!0;return Se.style&&!function(L){return"ebkit"==L.substring(1,6)}(L)&&(l=L in Se.style,!l&&je&&(l="Webkit"+L.charAt(0).toUpperCase()+L.substr(1)in Se.style)),l}const ye=V,ge=j,Ae=Z;function Ee(L){const l={};return Object.keys(L).forEach(d=>{const b=d.replace(/([a-z])([A-Z])/g,"$1-$2");l[b]=L[d]}),l}let Ce=(()=>{class L{validateStyleProperty(d){return at(d)}matchesElement(d,b){return ye(d,b)}containsElement(d,b){return ge(d,b)}query(d,b,U){return Ae(d,b,U)}computeStyle(d,b,U){return U||""}animate(d,b,U,K,he,pe=[],ke){return new A.ZN(U,K)}}return L.\u0275fac=function(d){return new(d||L)},L.\u0275prov=a.Yz7({token:L,factory:L.\u0275fac}),L})(),Ve=(()=>{class L{}return L.NOOP=new Ce,L})();const st="ng-enter",rt="ng-leave",Dt="ng-trigger",Bt=".ng-trigger",Yt="ng-animating",bt=".ng-animating";function lt(L){if("number"==typeof L)return L;const l=L.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Ye(parseFloat(l[1]),l[2])}function Ye(L,l){return"s"===l?1e3*L:L}function De(L,l,d){return L.hasOwnProperty("duration")?L:function(L,l,d){let U,K=0,he="";if("string"==typeof L){const pe=L.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===pe)return l.push(`The provided timing value "${L}" is invalid.`),{duration:0,delay:0,easing:""};U=Ye(parseFloat(pe[1]),pe[2]);const ke=pe[3];null!=ke&&(K=Ye(parseFloat(ke),pe[4]));const Xe=pe[5];Xe&&(he=Xe)}else U=L;if(!d){let pe=!1,ke=l.length;U<0&&(l.push("Duration values below 0 are not allowed for this animation step."),pe=!0),K<0&&(l.push("Delay values below 0 are not allowed for this animation step."),pe=!0),pe&&l.splice(ke,0,`The provided timing value "${L}" is invalid.`)}return{duration:U,delay:K,easing:he}}(L,l,d)}function Te(L,l={}){return Object.keys(L).forEach(d=>{l[d]=L[d]}),l}function le(L,l,d={}){if(l)for(let b in L)d[b]=L[b];else Te(L,d);return d}function H(L,l,d){return d?l+":"+d+";":""}function _e(L){let l="";for(let d=0;d<L.style.length;d++){const b=L.style.item(d);l+=H(0,b,L.style.getPropertyValue(b))}for(const d in L.style)L.style.hasOwnProperty(d)&&!d.startsWith("_")&&(l+=H(0,M(d),L.style[d]));L.setAttribute("style",l)}function be(L,l,d){L.style&&(Object.keys(l).forEach(b=>{const U=ne(b);d&&!d.hasOwnProperty(b)&&(d[b]=L.style[U]),L.style[U]=l[b]}),Q()&&_e(L))}function fe(L,l){L.style&&(Object.keys(l).forEach(d=>{const b=ne(d);L.style[b]=""}),Q()&&_e(L))}function J(L){return Array.isArray(L)?1==L.length?L[0]:(0,A.vP)(L):L}const Ne=new RegExp("{{\\s*(.+?)\\s*}}","g");function Je(L){let l=[];if("string"==typeof L){let d;for(;d=Ne.exec(L);)l.push(d[1]);Ne.lastIndex=0}return l}function ze(L,l,d){const b=L.toString(),U=b.replace(Ne,(K,he)=>{let pe=l[he];return l.hasOwnProperty(he)||(d.push(`Please provide a value for the animation param ${he}`),pe=""),pe.toString()});return U==b?L:U}function ot(L){const l=[];let d=L.next();for(;!d.done;)l.push(d.value),d=L.next();return l}const Ie=/-+([a-z0-9])/g;function ne(L){return L.replace(Ie,(...l)=>l[1].toUpperCase())}function M(L){return L.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function S(L,l){return 0===L||0===l}function B(L,l,d){const b=Object.keys(d);if(b.length&&l.length){let K=l[0],he=[];if(b.forEach(pe=>{K.hasOwnProperty(pe)||he.push(pe),K[pe]=d[pe]}),he.length)for(var U=1;U<l.length;U++){let pe=l[U];he.forEach(function(ke){pe[ke]=ie(L,ke)})}}return l}function te(L,l,d){switch(l.type){case 7:return L.visitTrigger(l,d);case 0:return L.visitState(l,d);case 1:return L.visitTransition(l,d);case 2:return L.visitSequence(l,d);case 3:return L.visitGroup(l,d);case 4:return L.visitAnimate(l,d);case 5:return L.visitKeyframes(l,d);case 6:return L.visitStyle(l,d);case 8:return L.visitReference(l,d);case 9:return L.visitAnimateChild(l,d);case 10:return L.visitAnimateRef(l,d);case 11:return L.visitQuery(l,d);case 12:return L.visitStagger(l,d);default:throw new Error(`Unable to resolve animation metadata node #${l.type}`)}}function ie(L,l){return window.getComputedStyle(L)[l]}function He(L,l){const d=[];return"string"==typeof L?L.split(/\s*,\s*/).forEach(b=>function(L,l,d){if(":"==L[0]){const ke=function(L,l){switch(L){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,b)=>parseFloat(b)>parseFloat(d);case":decrement":return(d,b)=>parseFloat(b)<parseFloat(d);default:return l.push(`The transition alias value "${L}" is not supported`),"* => *"}}(L,d);if("function"==typeof ke)return void l.push(ke);L=ke}const b=L.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==b||b.length<4)return d.push(`The provided transition expression "${L}" is not supported`),l;const U=b[1],K=b[2],he=b[3];l.push(It(U,he));"<"==K[0]&&!("*"==U&&"*"==he)&&l.push(It(he,U))}(b,d,l)):d.push(L),d}const wt=new Set(["true","1"]),Ut=new Set(["false","0"]);function It(L,l){const d=wt.has(L)||Ut.has(L),b=wt.has(l)||Ut.has(l);return(U,K)=>{let he="*"==L||L==U,pe="*"==l||l==K;return!he&&d&&"boolean"==typeof U&&(he=U?wt.has(L):Ut.has(L)),!pe&&b&&"boolean"==typeof K&&(pe=K?wt.has(l):Ut.has(l)),he&&pe}}const Mt=new RegExp("s*:selfs*,?","g");function yt(L,l,d){return new Gt(L).build(l,d)}class Gt{constructor(l){this._driver=l}build(l,d){const b=new Re(d);return this._resetContextStyleTimingState(b),te(this,J(l),b)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,d){let b=d.queryCount=0,U=d.depCount=0;const K=[],he=[];return"@"==l.name.charAt(0)&&d.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),l.definitions.forEach(pe=>{if(this._resetContextStyleTimingState(d),0==pe.type){const ke=pe,Xe=ke.name;Xe.toString().split(/\s*,\s*/).forEach(ct=>{ke.name=ct,K.push(this.visitState(ke,d))}),ke.name=Xe}else if(1==pe.type){const ke=this.visitTransition(pe,d);b+=ke.queryCount,U+=ke.depCount,he.push(ke)}else d.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:l.name,states:K,transitions:he,queryCount:b,depCount:U,options:null}}visitState(l,d){const b=this.visitStyle(l.styles,d),U=l.options&&l.options.params||null;if(b.containsDynamicStyles){const K=new Set,he=U||{};if(b.styles.forEach(pe=>{if(F(pe)){const ke=pe;Object.keys(ke).forEach(Xe=>{Je(ke[Xe]).forEach(ct=>{he.hasOwnProperty(ct)||K.add(ct)})})}}),K.size){const pe=ot(K.values());d.errors.push(`state("${l.name}", ...) must define default values for all the following style substitutions: ${pe.join(", ")}`)}}return{type:0,name:l.name,style:b,options:U?{params:U}:null}}visitTransition(l,d){d.queryCount=0,d.depCount=0;const b=te(this,J(l.animation),d);return{type:1,matchers:He(l.expr,d.errors),animation:b,queryCount:d.queryCount,depCount:d.depCount,options:re(l.options)}}visitSequence(l,d){return{type:2,steps:l.steps.map(b=>te(this,b,d)),options:re(l.options)}}visitGroup(l,d){const b=d.currentTime;let U=0;const K=l.steps.map(he=>{d.currentTime=b;const pe=te(this,he,d);return U=Math.max(U,d.currentTime),pe});return d.currentTime=U,{type:3,steps:K,options:re(l.options)}}visitAnimate(l,d){const b=function(L,l){let d=null;if(L.hasOwnProperty("duration"))d=L;else if("number"==typeof L)return Pe(De(L,l).duration,0,"");const b=L;if(b.split(/\s+/).some(K=>"{"==K.charAt(0)&&"{"==K.charAt(1))){const K=Pe(0,0,"");return K.dynamic=!0,K.strValue=b,K}return d=d||De(b,l),Pe(d.duration,d.delay,d.easing)}(l.timings,d.errors);d.currentAnimateTimings=b;let U,K=l.styles?l.styles:(0,A.oB)({});if(5==K.type)U=this.visitKeyframes(K,d);else{let he=l.styles,pe=!1;if(!he){pe=!0;const Xe={};b.easing&&(Xe.easing=b.easing),he=(0,A.oB)(Xe)}d.currentTime+=b.duration+b.delay;const ke=this.visitStyle(he,d);ke.isEmptyStep=pe,U=ke}return d.currentAnimateTimings=null,{type:4,timings:b,style:U,options:null}}visitStyle(l,d){const b=this._makeStyleAst(l,d);return this._validateStyleAst(b,d),b}_makeStyleAst(l,d){const b=[];Array.isArray(l.styles)?l.styles.forEach(he=>{"string"==typeof he?he==A.l3?b.push(he):d.errors.push(`The provided style string value ${he} is not allowed.`):b.push(he)}):b.push(l.styles);let U=!1,K=null;return b.forEach(he=>{if(F(he)){const pe=he,ke=pe.easing;if(ke&&(K=ke,delete pe.easing),!U)for(let Xe in pe)if(pe[Xe].toString().indexOf("{{")>=0){U=!0;break}}}),{type:6,styles:b,easing:K,offset:l.offset,containsDynamicStyles:U,options:null}}_validateStyleAst(l,d){const b=d.currentAnimateTimings;let U=d.currentTime,K=d.currentTime;b&&K>0&&(K-=b.duration+b.delay),l.styles.forEach(he=>{"string"!=typeof he&&Object.keys(he).forEach(pe=>{if(!this._driver.validateStyleProperty(pe))return void d.errors.push(`The provided animation property "${pe}" is not a supported CSS property for animations`);const ke=d.collectedStyles[d.currentQuerySelector],Xe=ke[pe];let ct=!0;Xe&&(K!=U&&K>=Xe.startTime&&U<=Xe.endTime&&(d.errors.push(`The CSS property "${pe}" that exists between the times of "${Xe.startTime}ms" and "${Xe.endTime}ms" is also being animated in a parallel animation between the times of "${K}ms" and "${U}ms"`),ct=!1),K=Xe.startTime),ct&&(ke[pe]={startTime:K,endTime:U}),d.options&&function(L,l,d){const b=l.params||{},U=Je(L);U.length&&U.forEach(K=>{b.hasOwnProperty(K)||d.push(`Unable to resolve the local animation param ${K} in the given list of values`)})}(he[pe],d.options,d.errors)})})}visitKeyframes(l,d){const b={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push("keyframes() must be placed inside of a call to animate()"),b;let K=0;const he=[];let pe=!1,ke=!1,Xe=0;const ct=l.steps.map(Mn=>{const In=this._makeStyleAst(Mn,d);let Hn=null!=In.offset?In.offset:function(L){if("string"==typeof L)return null;let l=null;if(Array.isArray(L))L.forEach(d=>{if(F(d)&&d.hasOwnProperty("offset")){const b=d;l=parseFloat(b.offset),delete b.offset}});else if(F(L)&&L.hasOwnProperty("offset")){const d=L;l=parseFloat(d.offset),delete d.offset}return l}(In.styles),Jn=0;return null!=Hn&&(K++,Jn=In.offset=Hn),ke=ke||Jn<0||Jn>1,pe=pe||Jn<Xe,Xe=Jn,he.push(Jn),In});ke&&d.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),pe&&d.errors.push("Please ensure that all keyframe offsets are in order");const _t=l.steps.length;let $t=0;K>0&&K<_t?d.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==K&&($t=1/(_t-1));const Jt=_t-1,Pt=d.currentTime,Wt=d.currentAnimateTimings,en=Wt.duration;return ct.forEach((Mn,In)=>{const Hn=$t>0?In==Jt?1:$t*In:he[In],Jn=Hn*en;d.currentTime=Pt+Wt.delay+Jn,Wt.duration=Jn,this._validateStyleAst(Mn,d),Mn.offset=Hn,b.styles.push(Mn)}),b}visitReference(l,d){return{type:8,animation:te(this,J(l.animation),d),options:re(l.options)}}visitAnimateChild(l,d){return d.depCount++,{type:9,options:re(l.options)}}visitAnimateRef(l,d){return{type:10,animation:this.visitReference(l.animation,d),options:re(l.options)}}visitQuery(l,d){const b=d.currentQuerySelector,U=l.options||{};d.queryCount++,d.currentQuery=l;const[K,he]=function(L){const l=!!L.split(/\s*,\s*/).find(d=>":self"==d);return l&&(L=L.replace(Mt,"")),L=L.replace(/@\*/g,Bt).replace(/@\w+/g,d=>Bt+"-"+d.substr(1)).replace(/:animating/g,bt),[L,l]}(l.selector);d.currentQuerySelector=b.length?b+" "+K:K,k(d.collectedStyles,d.currentQuerySelector,{});const pe=te(this,J(l.animation),d);return d.currentQuery=null,d.currentQuerySelector=b,{type:11,selector:K,limit:U.limit||0,optional:!!U.optional,includeSelf:he,animation:pe,originalSelector:l.selector,options:re(l.options)}}visitStagger(l,d){d.currentQuery||d.errors.push("stagger() can only be used inside of query()");const b="full"===l.timings?{duration:0,delay:0,easing:"full"}:De(l.timings,d.errors,!0);return{type:12,animation:te(this,J(l.animation),d),timings:b,options:null}}}class Re{constructor(l){this.errors=l,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function F(L){return!Array.isArray(L)&&"object"==typeof L}function re(L){return L?(L=Te(L)).params&&(L.params=function(L){return L?Te(L):null}(L.params)):L={},L}function Pe(L,l,d){return{duration:L,delay:l,easing:d}}function it(L,l,d,b,U,K,he=null,pe=!1){return{type:1,element:L,keyframes:l,preStyleProps:d,postStyleProps:b,duration:U,delay:K,totalTime:U+K,easing:he,subTimeline:pe}}class St{constructor(){this._map=new Map}consume(l){let d=this._map.get(l);return d?this._map.delete(l):d=[],d}append(l,d){let b=this._map.get(l);b||this._map.set(l,b=[]),b.push(...d)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Oe=new RegExp(":enter","g"),se=new RegExp(":leave","g");function Fe(L,l,d,b,U,K={},he={},pe,ke,Xe=[]){return(new $e).buildKeyframes(L,l,d,b,U,K,he,pe,ke,Xe)}class $e{buildKeyframes(l,d,b,U,K,he,pe,ke,Xe,ct=[]){Xe=Xe||new St;const _t=new Ft(l,d,Xe,U,K,ct,[]);_t.options=ke,_t.currentTimeline.setStyles([he],null,_t.errors,ke),te(this,b,_t);const $t=_t.timelines.filter(Jt=>Jt.containsAnimation());if($t.length&&Object.keys(pe).length){const Jt=$t[$t.length-1];Jt.allowOnlyTimelineStyles()||Jt.setStyles([pe],null,_t.errors,ke)}return $t.length?$t.map(Jt=>Jt.buildKeyframes()):[it(d,[],[],[],0,0,"",!1)]}visitTrigger(l,d){}visitState(l,d){}visitTransition(l,d){}visitAnimateChild(l,d){const b=d.subInstructions.consume(d.element);if(b){const U=d.createSubContext(l.options),K=d.currentTimeline.currentTime,he=this._visitSubInstructions(b,U,U.options);K!=he&&d.transformIntoNewTimeline(he)}d.previousNode=l}visitAnimateRef(l,d){const b=d.createSubContext(l.options);b.transformIntoNewTimeline(),this.visitReference(l.animation,b),d.transformIntoNewTimeline(b.currentTimeline.currentTime),d.previousNode=l}_visitSubInstructions(l,d,b){let K=d.currentTimeline.currentTime;const he=null!=b.duration?lt(b.duration):null,pe=null!=b.delay?lt(b.delay):null;return 0!==he&&l.forEach(ke=>{const Xe=d.appendInstructionToTimeline(ke,he,pe);K=Math.max(K,Xe.duration+Xe.delay)}),K}visitReference(l,d){d.updateOptions(l.options,!0),te(this,l.animation,d),d.previousNode=l}visitSequence(l,d){const b=d.subContextCount;let U=d;const K=l.options;if(K&&(K.params||K.delay)&&(U=d.createSubContext(K),U.transformIntoNewTimeline(),null!=K.delay)){6==U.previousNode.type&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=Et);const he=lt(K.delay);U.delayNextStep(he)}l.steps.length&&(l.steps.forEach(he=>te(this,he,U)),U.currentTimeline.applyStylesToKeyframe(),U.subContextCount>b&&U.transformIntoNewTimeline()),d.previousNode=l}visitGroup(l,d){const b=[];let U=d.currentTimeline.currentTime;const K=l.options&&l.options.delay?lt(l.options.delay):0;l.steps.forEach(he=>{const pe=d.createSubContext(l.options);K&&pe.delayNextStep(K),te(this,he,pe),U=Math.max(U,pe.currentTimeline.currentTime),b.push(pe.currentTimeline)}),b.forEach(he=>d.currentTimeline.mergeTimelineCollectedStyles(he)),d.transformIntoNewTimeline(U),d.previousNode=l}_visitTiming(l,d){if(l.dynamic){const b=l.strValue;return De(d.params?ze(b,d.params,d.errors):b,d.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,d){const b=d.currentAnimateTimings=this._visitTiming(l.timings,d),U=d.currentTimeline;b.delay&&(d.incrementTime(b.delay),U.snapshotCurrentStyles());const K=l.style;5==K.type?this.visitKeyframes(K,d):(d.incrementTime(b.duration),this.visitStyle(K,d),U.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=l}visitStyle(l,d){const b=d.currentTimeline,U=d.currentAnimateTimings;!U&&b.getCurrentStyleProperties().length&&b.forwardFrame();const K=U&&U.easing||l.easing;l.isEmptyStep?b.applyEmptyStep(K):b.setStyles(l.styles,K,d.errors,d.options),d.previousNode=l}visitKeyframes(l,d){const b=d.currentAnimateTimings,U=d.currentTimeline.duration,K=b.duration,pe=d.createSubContext().currentTimeline;pe.easing=b.easing,l.styles.forEach(ke=>{pe.forwardTime((ke.offset||0)*K),pe.setStyles(ke.styles,ke.easing,d.errors,d.options),pe.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(pe),d.transformIntoNewTimeline(U+K),d.previousNode=l}visitQuery(l,d){const b=d.currentTimeline.currentTime,U=l.options||{},K=U.delay?lt(U.delay):0;K&&(6===d.previousNode.type||0==b&&d.currentTimeline.getCurrentStyleProperties().length)&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Et);let he=b;const pe=d.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!U.optional,d.errors);d.currentQueryTotal=pe.length;let ke=null;pe.forEach((Xe,ct)=>{d.currentQueryIndex=ct;const _t=d.createSubContext(l.options,Xe);K&&_t.delayNextStep(K),Xe===d.element&&(ke=_t.currentTimeline),te(this,l.animation,_t),_t.currentTimeline.applyStylesToKeyframe(),he=Math.max(he,_t.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(he),ke&&(d.currentTimeline.mergeTimelineCollectedStyles(ke),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=l}visitStagger(l,d){const b=d.parentContext,U=d.currentTimeline,K=l.timings,he=Math.abs(K.duration),pe=he*(d.currentQueryTotal-1);let ke=he*d.currentQueryIndex;switch(K.duration<0?"reverse":K.easing){case"reverse":ke=pe-ke;break;case"full":ke=b.currentStaggerTime}const ct=d.currentTimeline;ke&&ct.delayNextStep(ke);const _t=ct.currentTime;te(this,l.animation,d),d.previousNode=l,b.currentStaggerTime=U.currentTime-_t+(U.startTime-b.currentTimeline.startTime)}}const Et={};class Ft{constructor(l,d,b,U,K,he,pe,ke){this._driver=l,this.element=d,this.subInstructions=b,this._enterClassName=U,this._leaveClassName=K,this.errors=he,this.timelines=pe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Et,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ke||new Qt(this._driver,d,0),pe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,d){if(!l)return;const b=l;let U=this.options;null!=b.duration&&(U.duration=lt(b.duration)),null!=b.delay&&(U.delay=lt(b.delay));const K=b.params;if(K){let he=U.params;he||(he=this.options.params={}),Object.keys(K).forEach(pe=>{(!d||!he.hasOwnProperty(pe))&&(he[pe]=ze(K[pe],he,this.errors))})}}_copyOptions(){const l={};if(this.options){const d=this.options.params;if(d){const b=l.params={};Object.keys(d).forEach(U=>{b[U]=d[U]})}}return l}createSubContext(l=null,d,b){const U=d||this.element,K=new Ft(this._driver,U,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(U,b||0));return K.previousNode=this.previousNode,K.currentAnimateTimings=this.currentAnimateTimings,K.options=this._copyOptions(),K.updateOptions(l),K.currentQueryIndex=this.currentQueryIndex,K.currentQueryTotal=this.currentQueryTotal,K.parentContext=this,this.subContextCount++,K}transformIntoNewTimeline(l){return this.previousNode=Et,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,d,b){const U={duration:null!=d?d:l.duration,delay:this.currentTimeline.currentTime+(null!=b?b:0)+l.delay,easing:""},K=new fn(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,U,l.stretchStartingKeyframe);return this.timelines.push(K),U}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,d,b,U,K,he){let pe=[];if(U&&pe.push(this.element),l.length>0){l=(l=l.replace(Oe,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);let Xe=this._driver.query(this.element,l,1!=b);0!==b&&(Xe=b<0?Xe.slice(Xe.length+b,Xe.length):Xe.slice(0,b)),pe.push(...Xe)}return!K&&0==pe.length&&he.push(`\`query("${d}")\` returned zero elements. (Use \`query("${d}", { optional: true })\` if you wish to allow this.)`),pe}}class Qt{constructor(l,d,b,U){this._driver=l,this.element=d,this.startTime=b,this._elementTimelineStylesLookup=U,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(l){const d=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||d?(this.forwardTime(this.currentTime+l),d&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,d){return this.applyStylesToKeyframe(),new Qt(this._driver,l,d||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,d){this._localTimelineStyles[l]=d,this._globalTimelineStyles[l]=d,this._styleSummary[l]={time:this.currentTime,value:d}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEach(d=>{this._backFill[d]=this._globalTimelineStyles[d]||A.l3,this._currentKeyframe[d]=A.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,d,b,U){d&&(this._previousKeyframe.easing=d);const K=U&&U.params||{},he=function(L,l){const d={};let b;return L.forEach(U=>{"*"===U?(b=b||Object.keys(l),b.forEach(K=>{d[K]=A.l3})):le(U,!1,d)}),d}(l,this._globalTimelineStyles);Object.keys(he).forEach(pe=>{const ke=ze(he[pe],K,b);this._pendingStyles[pe]=ke,this._localTimelineStyles.hasOwnProperty(pe)||(this._backFill[pe]=this._globalTimelineStyles.hasOwnProperty(pe)?this._globalTimelineStyles[pe]:A.l3),this._updateStyle(pe,ke)})}applyStylesToKeyframe(){const l=this._pendingStyles,d=Object.keys(l);0!=d.length&&(this._pendingStyles={},d.forEach(b=>{this._currentKeyframe[b]=l[b]}),Object.keys(this._localTimelineStyles).forEach(b=>{this._currentKeyframe.hasOwnProperty(b)||(this._currentKeyframe[b]=this._localTimelineStyles[b])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(l=>{const d=this._localTimelineStyles[l];this._pendingStyles[l]=d,this._updateStyle(l,d)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let d in this._currentKeyframe)l.push(d);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach(d=>{const b=this._styleSummary[d],U=l._styleSummary[d];(!b||U.time>b.time)&&this._updateStyle(d,U.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,d=new Set,b=1===this._keyframes.size&&0===this.duration;let U=[];this._keyframes.forEach((pe,ke)=>{const Xe=le(pe,!0);Object.keys(Xe).forEach(ct=>{const _t=Xe[ct];_t==A.k1?l.add(ct):_t==A.l3&&d.add(ct)}),b||(Xe.offset=ke/this.duration),U.push(Xe)});const K=l.size?ot(l.values()):[],he=d.size?ot(d.values()):[];if(b){const pe=U[0],ke=Te(pe);pe.offset=0,ke.offset=1,U=[pe,ke]}return it(this.element,U,K,he,this.duration,this.startTime,this.easing,!1)}}class fn extends Qt{constructor(l,d,b,U,K,he,pe=!1){super(l,d,he.delay),this.keyframes=b,this.preStyleProps=U,this.postStyleProps=K,this._stretchStartingKeyframe=pe,this.timings={duration:he.duration,delay:he.delay,easing:he.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:d,duration:b,easing:U}=this.timings;if(this._stretchStartingKeyframe&&d){const K=[],he=b+d,pe=d/he,ke=le(l[0],!1);ke.offset=0,K.push(ke);const Xe=le(l[0],!1);Xe.offset=dt(pe),K.push(Xe);const ct=l.length-1;for(let _t=1;_t<=ct;_t++){let $t=le(l[_t],!1);$t.offset=dt((d+$t.offset*b)/he),K.push($t)}b=he,d=0,U="",l=K}return it(this.element,l,this.preStyleProps,this.postStyleProps,b,d,U,!0)}}function dt(L,l=3){const d=Math.pow(10,l-1);return Math.round(L*d)/d}class mn{}class bn extends mn{normalizePropertyName(l,d){return ne(l)}normalizeStyleValue(l,d,b,U){let K="";const he=b.toString().trim();if(ti[d]&&0!==b&&"0"!==b)if("number"==typeof b)K="px";else{const pe=b.match(/^[+-]?[\d\.]+([a-z]*)$/);pe&&0==pe[1].length&&U.push(`Please provide a CSS unit value for ${l}:${b}`)}return he+K}}const ti=(()=>function(L){const l={};return L.forEach(d=>l[d]=!0),l}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Yn(L,l,d,b,U,K,he,pe,ke,Xe,ct,_t,$t){return{type:0,element:L,triggerName:l,isRemovalTransition:U,fromState:d,fromStyles:K,toState:b,toStyles:he,timelines:pe,queriedElements:ke,preStyleProps:Xe,postStyleProps:ct,totalTime:_t,errors:$t}}const oi={};class zt{constructor(l,d,b){this._triggerName=l,this.ast=d,this._stateStyles=b}match(l,d,b,U){return function(L,l,d,b,U){return L.some(K=>K(l,d,b,U))}(this.ast.matchers,l,d,b,U)}buildStyles(l,d,b){const U=this._stateStyles["*"],K=this._stateStyles[l],he=U?U.buildStyles(d,b):{};return K?K.buildStyles(d,b):he}build(l,d,b,U,K,he,pe,ke,Xe,ct){const _t=[],$t=this.ast.options&&this.ast.options.params||oi,Pt=this.buildStyles(b,pe&&pe.params||oi,_t),Wt=ke&&ke.params||oi,en=this.buildStyles(U,Wt,_t),Mn=new Set,In=new Map,Hn=new Map,Jn="void"===U,as={params:gt(gt({},$t),Wt)},ci=ct?[]:Fe(l,d,this.ast.animation,K,he,Pt,en,as,Xe,_t);let Qn=0;if(ci.forEach(ki=>{Qn=Math.max(ki.duration+ki.delay,Qn)}),_t.length)return Yn(d,this._triggerName,b,U,Jn,Pt,en,[],[],In,Hn,Qn,_t);ci.forEach(ki=>{const Li=ki.element,Js=k(In,Li,{});ki.preStyleProps.forEach(bs=>Js[bs]=!0);const er=k(Hn,Li,{});ki.postStyleProps.forEach(bs=>er[bs]=!0),Li!==d&&Mn.add(Li)});const wi=ot(Mn.values());return Yn(d,this._triggerName,b,U,Jn,Pt,en,ci,wi,In,Hn,Qn)}}class ni{constructor(l,d,b){this.styles=l,this.defaultParams=d,this.normalizer=b}buildStyles(l,d){const b={},U=Te(this.defaultParams);return Object.keys(l).forEach(K=>{const he=l[K];null!=he&&(U[K]=he)}),this.styles.styles.forEach(K=>{if("string"!=typeof K){const he=K;Object.keys(he).forEach(pe=>{let ke=he[pe];ke.length>1&&(ke=ze(ke,U,d));const Xe=this.normalizer.normalizePropertyName(pe,d);ke=this.normalizer.normalizeStyleValue(pe,Xe,ke,d),b[Xe]=ke})}}),b}}class mi{constructor(l,d,b){this.name=l,this.ast=d,this._normalizer=b,this.transitionFactories=[],this.states={},d.states.forEach(U=>{this.states[U.name]=new ni(U.style,U.options&&U.options.params||{},b)}),xi(this.states,"true","1"),xi(this.states,"false","0"),d.transitions.forEach(U=>{this.transitionFactories.push(new zt(l,U,this.states))}),this.fallbackTransition=function(L,l,d){return new zt(L,{type:1,animation:{type:2,steps:[],options:null},matchers:[(he,pe)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,d,b,U){return this.transitionFactories.find(he=>he.match(l,d,b,U))||null}matchStyles(l,d,b){return this.fallbackTransition.buildStyles(l,d,b)}}function xi(L,l,d){L.hasOwnProperty(l)?L.hasOwnProperty(d)||(L[d]=L[l]):L.hasOwnProperty(d)&&(L[l]=L[d])}const gi=new St;class Rn{constructor(l,d,b){this.bodyNode=l,this._driver=d,this._normalizer=b,this._animations={},this._playersById={},this.players=[]}register(l,d){const b=[],U=yt(this._driver,d,b);if(b.length)throw new Error(`Unable to build the animation due to the following errors: ${b.join("\n")}`);this._animations[l]=U}_buildPlayer(l,d,b){const U=l.element,K=$(0,this._normalizer,0,l.keyframes,d,b);return this._driver.animate(U,K,l.duration,l.delay,l.easing,[],!0)}create(l,d,b={}){const U=[],K=this._animations[l];let he;const pe=new Map;if(K?(he=Fe(this._driver,d,K,st,rt,{},{},b,gi,U),he.forEach(ct=>{const _t=k(pe,ct.element,{});ct.postStyleProps.forEach($t=>_t[$t]=null)})):(U.push("The requested animation doesn't exist or has already been destroyed"),he=[]),U.length)throw new Error(`Unable to create the animation due to the following errors: ${U.join("\n")}`);pe.forEach((ct,_t)=>{Object.keys(ct).forEach($t=>{ct[$t]=this._driver.computeStyle(_t,$t,A.l3)})});const Xe=P(he.map(ct=>{const _t=pe.get(ct.element);return this._buildPlayer(ct,{},_t)}));return this._playersById[l]=Xe,Xe.onDestroy(()=>this.destroy(l)),this.players.push(Xe),Xe}destroy(l){const d=this._getPlayer(l);d.destroy(),delete this._playersById[l];const b=this.players.indexOf(d);b>=0&&this.players.splice(b,1)}_getPlayer(l){const d=this._playersById[l];if(!d)throw new Error(`Unable to find the timeline player referenced by ${l}`);return d}listen(l,d,b,U){const K=T(d,"","","");return O(this._getPlayer(l),b,K,U),()=>{}}command(l,d,b,U){if("register"==b)return void this.register(l,U[0]);if("create"==b)return void this.create(l,d,U[0]||{});const K=this._getPlayer(l);switch(b){case"play":K.play();break;case"pause":K.pause();break;case"reset":K.reset();break;case"restart":K.restart();break;case"finish":K.finish();break;case"init":K.init();break;case"setPosition":K.setPosition(parseFloat(U[0]));break;case"destroy":this.destroy(l)}}}const nn="ng-animate-queued",Un="ng-animate-disabled",qn=".ng-animate-disabled",li=[],Sn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pn="__ng_removed";class An{constructor(l,d=""){this.namespaceId=d;const b=l&&l.hasOwnProperty("value");if(this.value=null!=(L=b?l.value:l)?L:null,b){const K=Te(l);delete K.value,this.options=K}else this.options={};var L;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const d=l.params;if(d){const b=this.options.params;Object.keys(d).forEach(U=>{null==b[U]&&(b[U]=d[U])})}}}const xn="void",_i=new An(xn);class Oi{constructor(l,d,b){this.id=l,this.hostElement=d,this._engine=b,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,jn(d,this._hostClassName)}listen(l,d,b,U){if(!this._triggers.hasOwnProperty(d))throw new Error(`Unable to listen on the animation trigger event "${b}" because the animation trigger "${d}" doesn't exist!`);if(null==b||0==b.length)throw new Error(`Unable to listen on the animation trigger "${d}" because the provided event is undefined!`);if("start"!=(L=b)&&"done"!=L)throw new Error(`The provided animation trigger event "${b}" for the animation trigger "${d}" is not supported!`);var L;const K=k(this._elementListeners,l,[]),he={name:d,phase:b,callback:U};K.push(he);const pe=k(this._engine.statesByElement,l,{});return pe.hasOwnProperty(d)||(jn(l,Dt),jn(l,Dt+"-"+d),pe[d]=_i),()=>{this._engine.afterFlush(()=>{const ke=K.indexOf(he);ke>=0&&K.splice(ke,1),this._triggers[d]||delete pe[d]})}}register(l,d){return!this._triggers[l]&&(this._triggers[l]=d,!0)}_getTrigger(l){const d=this._triggers[l];if(!d)throw new Error(`The provided animation trigger "${l}" has not been registered!`);return d}trigger(l,d,b,U=!0){const K=this._getTrigger(d),he=new Fn(this.id,d,l);let pe=this._engine.statesByElement.get(l);pe||(jn(l,Dt),jn(l,Dt+"-"+d),this._engine.statesByElement.set(l,pe={}));let ke=pe[d];const Xe=new An(b,this.id);if(!(b&&b.hasOwnProperty("value"))&&ke&&Xe.absorbOptions(ke.options),pe[d]=Xe,ke||(ke=_i),Xe.value!==xn&&ke.value===Xe.value){if(!function(L,l){const d=Object.keys(L),b=Object.keys(l);if(d.length!=b.length)return!1;for(let U=0;U<d.length;U++){const K=d[U];if(!l.hasOwnProperty(K)||L[K]!==l[K])return!1}return!0}(ke.params,Xe.params)){const Wt=[],en=K.matchStyles(ke.value,ke.params,Wt),Mn=K.matchStyles(Xe.value,Xe.params,Wt);Wt.length?this._engine.reportError(Wt):this._engine.afterFlush(()=>{fe(l,en),be(l,Mn)})}return}const $t=k(this._engine.playersByElement,l,[]);$t.forEach(Wt=>{Wt.namespaceId==this.id&&Wt.triggerName==d&&Wt.queued&&Wt.destroy()});let Jt=K.matchTransition(ke.value,Xe.value,l,Xe.params),Pt=!1;if(!Jt){if(!U)return;Jt=K.fallbackTransition,Pt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:d,transition:Jt,fromState:ke,toState:Xe,player:he,isFallbackTransition:Pt}),Pt||(jn(l,nn),he.onStart(()=>{Ui(l,nn)})),he.onDone(()=>{let Wt=this.players.indexOf(he);Wt>=0&&this.players.splice(Wt,1);const en=this._engine.playersByElement.get(l);if(en){let Mn=en.indexOf(he);Mn>=0&&en.splice(Mn,1)}}),this.players.push(he),$t.push(he),he}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach((d,b)=>{delete d[l]}),this._elementListeners.forEach((d,b)=>{this._elementListeners.set(b,d.filter(U=>U.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const d=this._engine.playersByElement.get(l);d&&(d.forEach(b=>b.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,d){const b=this._engine.driver.query(l,Bt,!0);b.forEach(U=>{if(U[Pn])return;const K=this._engine.fetchNamespacesByElement(U);K.size?K.forEach(he=>he.triggerLeaveAnimation(U,d,!1,!0)):this.clearElementCache(U)}),this._engine.afterFlushAnimationsDone(()=>b.forEach(U=>this.clearElementCache(U)))}triggerLeaveAnimation(l,d,b,U){const K=this._engine.statesByElement.get(l);if(K){const he=[];if(Object.keys(K).forEach(pe=>{if(this._triggers[pe]){const ke=this.trigger(l,pe,xn,U);ke&&he.push(ke)}}),he.length)return this._engine.markElementAsRemoved(this.id,l,!0,d),b&&P(he).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const d=this._elementListeners.get(l),b=this._engine.statesByElement.get(l);if(d&&b){const U=new Set;d.forEach(K=>{const he=K.name;if(U.has(he))return;U.add(he);const ke=this._triggers[he].fallbackTransition,Xe=b[he]||_i,ct=new An(xn),_t=new Fn(this.id,he,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:he,transition:ke,fromState:Xe,toState:ct,player:_t,isFallbackTransition:!0})})}}removeNode(l,d){const b=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,d),this.triggerLeaveAnimation(l,d,!0))return;let U=!1;if(b.totalAnimations){const K=b.players.length?b.playersByQueriedElement.get(l):[];if(K&&K.length)U=!0;else{let he=l;for(;he=he.parentNode;)if(b.statesByElement.get(he)){U=!0;break}}}if(this.prepareLeaveAnimationListeners(l),U)b.markElementAsRemoved(this.id,l,!1,d);else{const K=l[Pn];(!K||K===Sn)&&(b.afterFlush(()=>this.clearElementCache(l)),b.destroyInnerAnimations(l),b._onRemovalComplete(l,d))}}insertNode(l,d){jn(l,this._hostClassName)}drainQueuedTransitions(l){const d=[];return this._queue.forEach(b=>{const U=b.player;if(U.destroyed)return;const K=b.element,he=this._elementListeners.get(K);he&&he.forEach(pe=>{if(pe.name==b.triggerName){const ke=T(K,b.triggerName,b.fromState.value,b.toState.value);ke._data=l,O(b.player,pe.phase,ke,pe.callback)}}),U.markedForDestroy?this._engine.afterFlush(()=>{U.destroy()}):d.push(b)}),this._queue=[],d.sort((b,U)=>{const K=b.transition.ast.depCount,he=U.transition.ast.depCount;return 0==K||0==he?K-he:this._engine.driver.containsElement(b.element,U.element)?1:-1})}destroy(l){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let d=!1;return this._elementListeners.has(l)&&(d=!0),d=!!this._queue.find(b=>b.element===l)||d,d}}class di{constructor(l,d,b){this.bodyNode=l,this.driver=d,this._normalizer=b,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(U,K)=>{}}_onRemovalComplete(l,d){this.onRemovalComplete(l,d)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(d=>{d.players.forEach(b=>{b.queued&&l.push(b)})}),l}createNamespace(l,d){const b=new Oi(l,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(b,d):(this.newHostElements.set(d,b),this.collectEnterElement(d)),this._namespaceLookup[l]=b}_balanceNamespaceList(l,d){const b=this._namespaceList.length-1;if(b>=0){let U=!1;for(let K=b;K>=0;K--)if(this.driver.containsElement(this._namespaceList[K].hostElement,d)){this._namespaceList.splice(K+1,0,l),U=!0;break}U||this._namespaceList.splice(0,0,l)}else this._namespaceList.push(l);return this.namespacesByHostElement.set(d,l),l}register(l,d){let b=this._namespaceLookup[l];return b||(b=this.createNamespace(l,d)),b}registerTrigger(l,d,b){let U=this._namespaceLookup[l];U&&U.register(d,b)&&this.totalAnimations++}destroy(l,d){if(!l)return;const b=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(b.hostElement),delete this._namespaceLookup[l];const U=this._namespaceList.indexOf(b);U>=0&&this._namespaceList.splice(U,1)}),this.afterFlushAnimationsDone(()=>b.destroy(d))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const d=new Set,b=this.statesByElement.get(l);if(b){const U=Object.keys(b);for(let K=0;K<U.length;K++){const he=b[U[K]].namespaceId;if(he){const pe=this._fetchNamespace(he);pe&&d.add(pe)}}}return d}trigger(l,d,b,U){if(kn(d)){const K=this._fetchNamespace(l);if(K)return K.trigger(d,b,U),!0}return!1}insertNode(l,d,b,U){if(!kn(d))return;const K=d[Pn];if(K&&K.setForRemoval){K.setForRemoval=!1,K.setForMove=!0;const he=this.collectedLeaveElements.indexOf(d);he>=0&&this.collectedLeaveElements.splice(he,1)}if(l){const he=this._fetchNamespace(l);he&&he.insertNode(d,b)}U&&this.collectEnterElement(d)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,d){d?this.disabledNodes.has(l)||(this.disabledNodes.add(l),jn(l,Un)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Ui(l,Un))}removeNode(l,d,b,U){if(kn(d)){const K=l?this._fetchNamespace(l):null;if(K?K.removeNode(d,U):this.markElementAsRemoved(l,d,!1,U),b){const he=this.namespacesByHostElement.get(d);he&&he.id!==l&&he.removeNode(d,U)}}else this._onRemovalComplete(d,U)}markElementAsRemoved(l,d,b,U){this.collectedLeaveElements.push(d),d[Pn]={namespaceId:l,setForRemoval:U,hasAnimation:b,removedBeforeQueried:!1}}listen(l,d,b,U,K){return kn(d)?this._fetchNamespace(l).listen(d,b,U,K):()=>{}}_buildInstruction(l,d,b,U,K){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,b,U,l.fromState.options,l.toState.options,d,K)}destroyInnerAnimations(l){let d=this.driver.query(l,Bt,!0);d.forEach(b=>this.destroyActiveAnimationsForElement(b)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(l,bt,!0),d.forEach(b=>this.finishActiveQueriedAnimationOnElement(b)))}destroyActiveAnimationsForElement(l){const d=this.playersByElement.get(l);d&&d.forEach(b=>{b.queued?b.markedForDestroy=!0:b.destroy()})}finishActiveQueriedAnimationOnElement(l){const d=this.playersByQueriedElement.get(l);d&&d.forEach(b=>b.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return P(this.players).onDone(()=>l());l()})}processLeaveNode(l){const d=l[Pn];if(d&&d.setForRemoval){if(l[Pn]=Sn,d.namespaceId){this.destroyInnerAnimations(l);const b=this._fetchNamespace(d.namespaceId);b&&b.clearElementCache(l)}this._onRemovalComplete(l,d.setForRemoval)}this.driver.matchesElement(l,qn)&&this.markElementAsDisabled(l,!1),this.driver.query(l,qn,!0).forEach(b=>{this.markElementAsDisabled(b,!1)})}flush(l=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((b,U)=>this._balanceNamespaceList(b,U)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let b=0;b<this.collectedEnterElements.length;b++)jn(this.collectedEnterElements[b],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const b=[];try{d=this._flushAnimations(b,l)}finally{for(let U=0;U<b.length;U++)b[U]()}}else for(let b=0;b<this.collectedLeaveElements.length;b++)this.processLeaveNode(this.collectedLeaveElements[b]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(b=>b()),this._flushFns=[],this._whenQuietFns.length){const b=this._whenQuietFns;this._whenQuietFns=[],d.length?P(d).onDone(()=>{b.forEach(U=>U())}):b.forEach(U=>U())}}reportError(l){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${l.join("\n")}`)}_flushAnimations(l,d){const b=new St,U=[],K=new Map,he=[],pe=new Map,ke=new Map,Xe=new Map,ct=new Set;this.disabledNodes.forEach(ft=>{ct.add(ft);const Tt=this.driver.query(ft,".ng-animate-queued",!0);for(let jt=0;jt<Tt.length;jt++)ct.add(Tt[jt])});const _t=this.bodyNode,$t=Array.from(this.statesByElement.keys()),Jt=Vi($t,this.collectedEnterElements),Pt=new Map;let Wt=0;Jt.forEach((ft,Tt)=>{const jt=st+Wt++;Pt.set(Tt,jt),ft.forEach(rn=>jn(rn,jt))});const en=[],Mn=new Set,In=new Set;for(let ft=0;ft<this.collectedLeaveElements.length;ft++){const Tt=this.collectedLeaveElements[ft],jt=Tt[Pn];jt&&jt.setForRemoval&&(en.push(Tt),Mn.add(Tt),jt.hasAnimation?this.driver.query(Tt,".ng-star-inserted",!0).forEach(rn=>Mn.add(rn)):In.add(Tt))}const Hn=new Map,Jn=Vi($t,Array.from(Mn));Jn.forEach((ft,Tt)=>{const jt=rt+Wt++;Hn.set(Tt,jt),ft.forEach(rn=>jn(rn,jt))}),l.push(()=>{Jt.forEach((ft,Tt)=>{const jt=Pt.get(Tt);ft.forEach(rn=>Ui(rn,jt))}),Jn.forEach((ft,Tt)=>{const jt=Hn.get(Tt);ft.forEach(rn=>Ui(rn,jt))}),en.forEach(ft=>{this.processLeaveNode(ft)})});const as=[],ci=[];for(let ft=this._namespaceList.length-1;ft>=0;ft--)this._namespaceList[ft].drainQueuedTransitions(d).forEach(jt=>{const rn=jt.player,Gn=jt.element;if(as.push(rn),this.collectedEnterElements.length){const yi=Gn[Pn];if(yi&&yi.setForMove)return void rn.destroy()}const Ni=!_t||!this.driver.containsElement(_t,Gn),pi=Hn.get(Gn),Mi=Pt.get(Gn),En=this._buildInstruction(jt,b,Mi,pi,Ni);if(En.errors&&En.errors.length)ci.push(En);else{if(Ni)return rn.onStart(()=>fe(Gn,En.fromStyles)),rn.onDestroy(()=>be(Gn,En.toStyles)),void U.push(rn);if(jt.isFallbackTransition)return rn.onStart(()=>fe(Gn,En.fromStyles)),rn.onDestroy(()=>be(Gn,En.toStyles)),void U.push(rn);En.timelines.forEach(yi=>yi.stretchStartingKeyframe=!0),b.append(Gn,En.timelines),he.push({instruction:En,player:rn,element:Gn}),En.queriedElements.forEach(yi=>k(pe,yi,[]).push(rn)),En.preStyleProps.forEach((yi,Bn)=>{const cr=Object.keys(yi);if(cr.length){let Zn=ke.get(Bn);Zn||ke.set(Bn,Zn=new Set),cr.forEach($i=>Zn.add($i))}}),En.postStyleProps.forEach((yi,Bn)=>{const cr=Object.keys(yi);let Zn=Xe.get(Bn);Zn||Xe.set(Bn,Zn=new Set),cr.forEach($i=>Zn.add($i))})}});if(ci.length){const ft=[];ci.forEach(Tt=>{ft.push(`@${Tt.triggerName} has failed due to:\n`),Tt.errors.forEach(jt=>ft.push(`- ${jt}\n`))}),as.forEach(Tt=>Tt.destroy()),this.reportError(ft)}const Qn=new Map,wi=new Map;he.forEach(ft=>{const Tt=ft.element;b.has(Tt)&&(wi.set(Tt,Tt),this._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,Qn))}),U.forEach(ft=>{const Tt=ft.element;this._getPreviousPlayers(Tt,!1,ft.namespaceId,ft.triggerName,null).forEach(rn=>{k(Qn,Tt,[]).push(rn),rn.destroy()})});const ki=en.filter(ft=>ts(ft,ke,Xe)),Li=new Map;Ri(Li,this.driver,In,Xe,A.l3).forEach(ft=>{ts(ft,ke,Xe)&&ki.push(ft)});const er=new Map;Jt.forEach((ft,Tt)=>{Ri(er,this.driver,new Set(ft),ke,A.k1)}),ki.forEach(ft=>{const Tt=Li.get(ft),jt=er.get(ft);Li.set(ft,gt(gt({},Tt),jt))});const bs=[],zn=[],Gi={};he.forEach(ft=>{const{element:Tt,player:jt,instruction:rn}=ft;if(b.has(Tt)){if(ct.has(Tt))return jt.onDestroy(()=>be(Tt,rn.toStyles)),jt.disabled=!0,jt.overrideTotalTime(rn.totalTime),void U.push(jt);let Gn=Gi;if(wi.size>1){let pi=Tt;const Mi=[];for(;pi=pi.parentNode;){const En=wi.get(pi);if(En){Gn=En;break}Mi.push(pi)}Mi.forEach(En=>wi.set(En,Gn))}const Ni=this._buildAnimation(jt.namespaceId,rn,Qn,K,er,Li);if(jt.setRealPlayer(Ni),Gn===Gi)bs.push(jt);else{const pi=this.playersByElement.get(Gn);pi&&pi.length&&(jt.parentPlayer=P(pi)),U.push(jt)}}else fe(Tt,rn.fromStyles),jt.onDestroy(()=>be(Tt,rn.toStyles)),zn.push(jt),ct.has(Tt)&&U.push(jt)}),zn.forEach(ft=>{const Tt=K.get(ft.element);if(Tt&&Tt.length){const jt=P(Tt);ft.setRealPlayer(jt)}}),U.forEach(ft=>{ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(let ft=0;ft<en.length;ft++){const Tt=en[ft],jt=Tt[Pn];if(Ui(Tt,rt),jt&&jt.hasAnimation)continue;let rn=[];if(pe.size){let Ni=pe.get(Tt);Ni&&Ni.length&&rn.push(...Ni);let pi=this.driver.query(Tt,bt,!0);for(let Mi=0;Mi<pi.length;Mi++){let En=pe.get(pi[Mi]);En&&En.length&&rn.push(...En)}}const Gn=rn.filter(Ni=>!Ni.destroyed);Gn.length?xs(this,Tt,Gn):this.processLeaveNode(Tt)}return en.length=0,bs.forEach(ft=>{this.players.push(ft),ft.onDone(()=>{ft.destroy();const Tt=this.players.indexOf(ft);this.players.splice(Tt,1)}),ft.play()}),bs}elementContainsData(l,d){let b=!1;const U=d[Pn];return U&&U.setForRemoval&&(b=!0),this.playersByElement.has(d)&&(b=!0),this.playersByQueriedElement.has(d)&&(b=!0),this.statesByElement.has(d)&&(b=!0),this._fetchNamespace(l).elementContainsData(d)||b}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,d,b,U,K){let he=[];if(d){const pe=this.playersByQueriedElement.get(l);pe&&(he=pe)}else{const pe=this.playersByElement.get(l);if(pe){const ke=!K||K==xn;pe.forEach(Xe=>{Xe.queued||!ke&&Xe.triggerName!=U||he.push(Xe)})}}return(b||U)&&(he=he.filter(pe=>!(b&&b!=pe.namespaceId||U&&U!=pe.triggerName))),he}_beforeAnimationBuild(l,d,b){const K=d.element,he=d.isRemovalTransition?void 0:l,pe=d.isRemovalTransition?void 0:d.triggerName;for(const ke of d.timelines){const Xe=ke.element,ct=Xe!==K,_t=k(b,Xe,[]);this._getPreviousPlayers(Xe,ct,he,pe,d.toState).forEach(Jt=>{const Pt=Jt.getRealPlayer();Pt.beforeDestroy&&Pt.beforeDestroy(),Jt.destroy(),_t.push(Jt)})}fe(K,d.fromStyles)}_buildAnimation(l,d,b,U,K,he){const pe=d.triggerName,ke=d.element,Xe=[],ct=new Set,_t=new Set,$t=d.timelines.map(Pt=>{const Wt=Pt.element;ct.add(Wt);const en=Wt[Pn];if(en&&en.removedBeforeQueried)return new A.ZN(Pt.duration,Pt.delay);const Mn=Wt!==ke,In=function(L){const l=[];return Os(L,l),l}((b.get(Wt)||li).map(Qn=>Qn.getRealPlayer())).filter(Qn=>!!Qn.element&&Qn.element===Wt),Hn=K.get(Wt),Jn=he.get(Wt),as=$(0,this._normalizer,0,Pt.keyframes,Hn,Jn),ci=this._buildPlayer(Pt,as,In);if(Pt.subTimeline&&U&&_t.add(Wt),Mn){const Qn=new Fn(l,pe,Wt);Qn.setRealPlayer(ci),Xe.push(Qn)}return ci});Xe.forEach(Pt=>{k(this.playersByQueriedElement,Pt.element,[]).push(Pt),Pt.onDone(()=>function(L,l,d){let b;if(L instanceof Map){if(b=L.get(l),b){if(b.length){const U=b.indexOf(d);b.splice(U,1)}0==b.length&&L.delete(l)}}else if(b=L[l],b){if(b.length){const U=b.indexOf(d);b.splice(U,1)}0==b.length&&delete L[l]}return b}(this.playersByQueriedElement,Pt.element,Pt))}),ct.forEach(Pt=>jn(Pt,Yt));const Jt=P($t);return Jt.onDestroy(()=>{ct.forEach(Pt=>Ui(Pt,Yt)),be(ke,d.toStyles)}),_t.forEach(Pt=>{k(U,Pt,[]).push(Jt)}),Jt}_buildPlayer(l,d,b){return d.length>0?this.driver.animate(l.element,d,l.duration,l.delay,l.easing,b):new A.ZN(l.duration,l.delay)}}class Fn{constructor(l,d,b){this.namespaceId=l,this.triggerName=d,this.element=b,this._player=new A.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEach(d=>{this._queuedCallbacks[d].forEach(b=>O(l,d,void 0,b))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const d=this._player;d.triggerCallback&&l.onStart(()=>d.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,d){k(this._queuedCallbacks,l,[]).push(d)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const d=this._player;d.triggerCallback&&d.triggerCallback(l)}}function kn(L){return L&&1===L.nodeType}function Qs(L,l){const d=L.style.display;return L.style.display=null!=l?l:"none",d}function Ri(L,l,d,b,U){const K=[];d.forEach(ke=>K.push(Qs(ke)));const he=[];b.forEach((ke,Xe)=>{const ct={};ke.forEach(_t=>{const $t=ct[_t]=l.computeStyle(Xe,_t,U);(!$t||0==$t.length)&&(Xe[Pn]=wn,he.push(Xe))}),L.set(Xe,ct)});let pe=0;return d.forEach(ke=>Qs(ke,K[pe++])),he}function Vi(L,l){const d=new Map;if(L.forEach(pe=>d.set(pe,[])),0==l.length)return d;const U=new Set(l),K=new Map;function he(pe){if(!pe)return 1;let ke=K.get(pe);if(ke)return ke;const Xe=pe.parentNode;return ke=d.has(Xe)?Xe:U.has(Xe)?1:he(Xe),K.set(pe,ke),ke}return l.forEach(pe=>{const ke=he(pe);1!==ke&&d.get(ke).push(pe)}),d}const Ei="$$classes";function jn(L,l){if(L.classList)L.classList.add(l);else{let d=L[Ei];d||(d=L[Ei]={}),d[l]=!0}}function Ui(L,l){if(L.classList)L.classList.remove(l);else{let d=L[Ei];d&&delete d[l]}}function xs(L,l,d){P(d).onDone(()=>L.processLeaveNode(l))}function Os(L,l){for(let d=0;d<L.length;d++){const b=L[d];b instanceof A.ZE?Os(b.players,l):l.push(b)}}function ts(L,l,d){const b=d.get(L);if(!b)return!1;let U=l.get(L);return U?b.forEach(K=>U.add(K)):l.set(L,b),d.delete(L),!0}class Pi{constructor(l,d,b){this.bodyNode=l,this._driver=d,this._normalizer=b,this._triggerCache={},this.onRemovalComplete=(U,K)=>{},this._transitionEngine=new di(l,d,b),this._timelineEngine=new Rn(l,d,b),this._transitionEngine.onRemovalComplete=(U,K)=>this.onRemovalComplete(U,K)}registerTrigger(l,d,b,U,K){const he=l+"-"+U;let pe=this._triggerCache[he];if(!pe){const ke=[],Xe=yt(this._driver,K,ke);if(ke.length)throw new Error(`The animation trigger "${U}" has failed to build due to the following errors:\n - ${ke.join("\n - ")}`);pe=function(L,l,d){return new mi(L,l,d)}(U,Xe,this._normalizer),this._triggerCache[he]=pe}this._transitionEngine.registerTrigger(d,U,pe)}register(l,d){this._transitionEngine.register(l,d)}destroy(l,d){this._transitionEngine.destroy(l,d)}onInsert(l,d,b,U){this._transitionEngine.insertNode(l,d,b,U)}onRemove(l,d,b,U){this._transitionEngine.removeNode(l,d,U||!1,b)}disableAnimations(l,d){this._transitionEngine.markElementAsDisabled(l,d)}process(l,d,b,U){if("@"==b.charAt(0)){const[K,he]=R(b);this._timelineEngine.command(K,d,he,U)}else this._transitionEngine.trigger(l,d,b,U)}listen(l,d,b,U,K){if("@"==b.charAt(0)){const[he,pe]=R(b);return this._timelineEngine.listen(he,d,pe,K)}return this._transitionEngine.listen(l,d,b,U,K)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Rs(L,l){let d=null,b=null;return Array.isArray(l)&&l.length?(d=hi(l[0]),l.length>1&&(b=hi(l[l.length-1]))):l&&(d=hi(l)),d||b?new ji(L,d,b):null}let ji=(()=>{class L{constructor(d,b,U){this._element=d,this._startStyles=b,this._endStyles=U,this._state=0;let K=L.initialStylesByElement.get(d);K||L.initialStylesByElement.set(d,K={}),this._initialStyles=K}start(){this._state<1&&(this._startStyles&&be(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(be(this._element,this._initialStyles),this._endStyles&&(be(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(L.initialStylesByElement.delete(this._element),this._startStyles&&(fe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fe(this._element,this._endStyles),this._endStyles=null),be(this._element,this._initialStyles),this._state=3)}}return L.initialStylesByElement=new WeakMap,L})();function hi(L){let l=null;const d=Object.keys(L);for(let b=0;b<d.length;b++){const U=d[b];Ps(U)&&(l=l||{},l[U]=L[U])}return l}function Ps(L){return"display"===L||"position"===L}const Fs="animation",ii="animationend";class Ci{constructor(l,d,b,U,K,he,pe){this._element=l,this._name=d,this._duration=b,this._delay=U,this._easing=K,this._fillMode=he,this._onDoneFn=pe,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=ke=>this._handleCallback(ke)}apply(){(function(L,l){const d=fi(L,"").trim();let b=0;d.length&&(function(L,l){let d=0;for(let b=0;b<L.length;b++)","===L.charAt(b)&&d++;return d}(d)+1,l=`${d}, ${l}`),Fi(L,"",l)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),_s(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Kn(this._element,this._name,"paused")}resume(){Kn(this._element,this._name,"running")}setPosition(l){const d=Hi(this._element,this._name);this._position=l*this._duration,Fi(this._element,"Delay",`-${this._position}ms`,d)}getPosition(){return this._position}_handleCallback(l){const d=l._ngTestManualTimestamp||Date.now(),b=1e3*parseFloat(l.elapsedTime.toFixed(3));l.animationName==this._name&&Math.max(d-this._startTime,0)>=this._delay&&b>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),_s(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(L,l){const b=fi(L,"").split(","),U=ns(b,l);U>=0&&(b.splice(U,1),Fi(L,"",b.join(",")))}(this._element,this._name))}}function Kn(L,l,d){Fi(L,"PlayState",d,Hi(L,l))}function Hi(L,l){const d=fi(L,"");return d.indexOf(",")>0?ns(d.split(","),l):ns([d],l)}function ns(L,l){for(let d=0;d<L.length;d++)if(L[d].indexOf(l)>=0)return d;return-1}function _s(L,l,d){d?L.removeEventListener(ii,l):L.addEventListener(ii,l)}function Fi(L,l,d,b){const U=Fs+l;if(null!=b){const K=L.style[U];if(K.length){const he=K.split(",");he[b]=d,d=he.join(",")}}L.style[U]=d}function fi(L,l){return L.style[Fs+l]||""}class ss{constructor(l,d,b,U,K,he,pe,ke){this.element=l,this.keyframes=d,this.animationName=b,this._duration=U,this._delay=K,this._finalStyles=pe,this._specialStyles=ke,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=he||"linear",this.totalTime=U+K,this._buildStyler()}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(l=>l()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(l){this._styler.setPosition(l)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Ci(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(l){const d="start"==l?this._onStartFns:this._onDoneFns;d.forEach(b=>b()),d.length=0}beforeDestroy(){this.init();const l={};if(this.hasStarted()){const d=this._state>=3;Object.keys(this._finalStyles).forEach(b=>{"offset"!=b&&(l[b]=d?this._finalStyles[b]:ie(this.element,b))})}this.currentSnapshot=l}}class rr extends A.ZN{constructor(l,d){super(),this.element=l,this._startingStyles={},this.__initialized=!1,this._styles=Ee(d)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(l=>{this._startingStyles[l]=this.element.style[l]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(l=>this.element.style.setProperty(l,this._styles[l])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(l=>{const d=this._startingStyles[l];d?this.element.style.setProperty(l,d):this.element.style.removeProperty(l)}),this._startingStyles=null,super.destroy())}}class yn{constructor(){this._count=0}validateStyleProperty(l){return at(l)}matchesElement(l,d){return ye(l,d)}containsElement(l,d){return ge(l,d)}query(l,d,b){return Ae(l,d,b)}computeStyle(l,d,b){return window.getComputedStyle(l)[d]}buildKeyframeElement(l,d,b){b=b.map(pe=>Ee(pe));let U=`@keyframes ${d} {\n`,K="";b.forEach(pe=>{K=" ";const ke=parseFloat(pe.offset);U+=`${K}${100*ke}% {\n`,K+=" ",Object.keys(pe).forEach(Xe=>{const ct=pe[Xe];switch(Xe){case"offset":return;case"easing":return void(ct&&(U+=`${K}animation-timing-function: ${ct};\n`));default:return void(U+=`${K}${Xe}: ${ct};\n`)}}),U+=`${K}}\n`}),U+="}\n";const he=document.createElement("style");return he.textContent=U,he}animate(l,d,b,U,K,he=[],pe){const ke=he.filter(en=>en instanceof ss),Xe={};S(b,U)&&ke.forEach(en=>{let Mn=en.currentSnapshot;Object.keys(Mn).forEach(In=>Xe[In]=Mn[In])});const ct=function(L){let l={};return L&&(Array.isArray(L)?L:[L]).forEach(b=>{Object.keys(b).forEach(U=>{"offset"==U||"easing"==U||(l[U]=b[U])})}),l}(d=B(l,d,Xe));if(0==b)return new rr(l,ct);const _t="gen_css_kf_"+this._count++,$t=this.buildKeyframeElement(l,_t,d);(function(L){var d;const l=null==(d=L.getRootNode)?void 0:d.call(L);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(l).appendChild($t);const Pt=Rs(l,d),Wt=new ss(l,d,_t,b,U,K,ct,Pt);return Wt.onDestroy(()=>{var L;(L=$t).parentNode.removeChild(L)}),Wt}}class c{constructor(l,d,b,U){this.element=l,this.keyframes=d,this.options=b,this._specialStyles=U,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=b.duration,this._delay=b.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,d,b){return l.animate(d,b)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(d=>{"offset"!=d&&(l[d]=this._finished?this._finalKeyframe[d]:ie(this.element,d))}),this.currentSnapshot=l}triggerCallback(l){const d="start"==l?this._onStartFns:this._onDoneFns;d.forEach(b=>b()),d.length=0}}class C{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Be().toString()),this._cssKeyframesDriver=new yn}validateStyleProperty(l){return at(l)}matchesElement(l,d){return ye(l,d)}containsElement(l,d){return ge(l,d)}query(l,d,b){return Ae(l,d,b)}computeStyle(l,d,b){return window.getComputedStyle(l)[d]}overrideWebAnimationsSupport(l){this._isNativeImpl=l}animate(l,d,b,U,K,he=[],pe){if(!pe&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(l,d,b,U,K,he);const ct={duration:b,delay:U,fill:0==U?"both":"forwards"};K&&(ct.easing=K);const _t={},$t=he.filter(Pt=>Pt instanceof c);S(b,U)&&$t.forEach(Pt=>{let Wt=Pt.currentSnapshot;Object.keys(Wt).forEach(en=>_t[en]=Wt[en])});const Jt=Rs(l,d=B(l,d=d.map(Pt=>le(Pt,!1)),_t));return new c(l,d,ct,Jt)}}function Be(){return E()&&Element.prototype.animate||{}}var ht=g(6019);let Rt=(()=>{class L extends A._j{constructor(d,b){super(),this._nextAnimationId=0,this._renderer=d.createRenderer(b.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}})}build(d){const b=this._nextAnimationId.toString();this._nextAnimationId++;const U=Array.isArray(d)?(0,A.vP)(d):d;return tn(this._renderer,null,b,"register",[U]),new sn(b,this._renderer)}}return L.\u0275fac=function(d){return new(d||L)(a.LFG(a.FYo),a.LFG(ht.K0))},L.\u0275prov=a.Yz7({token:L,factory:L.\u0275fac}),L})();class sn extends A.LC{constructor(l,d){super(),this._id=l,this._renderer=d}create(l,d){return new an(this._id,l,d||{},this._renderer)}}class an{constructor(l,d,b,U){this.id=l,this.element=d,this._renderer=U,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",b)}_listen(l,d){return this._renderer.listen(this.element,`@@${this.id}:${l}`,d)}_command(l,...d){return tn(this._renderer,this.element,this.id,l,d)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(l){this._command("setPosition",l)}getPosition(){var l,d;return null!=(d=null==(l=this._renderer.engine.players[+this.id])?void 0:l.getPosition())?d:0}}function tn(L,l,d,b,U){return L.setProperty(l,`@@${d}:${b}`,U)}const vn="@.disabled";let Tn=(()=>{class L{constructor(d,b,U){this.delegate=d,this.engine=b,this._zone=U,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),b.onRemovalComplete=(K,he)=>{const pe=null==he?void 0:he.parentNode(K);pe&&he.removeChild(pe,K)}}createRenderer(d,b){const K=this.delegate.createRenderer(d,b);if(!(d&&b&&b.data&&b.data.animation)){let ct=this._rendererCache.get(K);return ct||(ct=new At("",K,this.engine),this._rendererCache.set(K,ct)),ct}const he=b.id,pe=b.id+"-"+this._currentId;this._currentId++,this.engine.register(pe,d);const ke=ct=>{Array.isArray(ct)?ct.forEach(ke):this.engine.registerTrigger(he,pe,d,ct.name,ct)};return b.data.animation.forEach(ke),new rs(this,pe,K,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(d,b,U){d>=0&&d<this._microtaskId?this._zone.run(()=>b(U)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(K=>{const[he,pe]=K;he(pe)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([b,U]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return L.\u0275fac=function(d){return new(d||L)(a.LFG(a.FYo),a.LFG(Pi),a.LFG(a.R0b))},L.\u0275prov=a.Yz7({token:L,factory:L.\u0275fac}),L})();class At{constructor(l,d,b){this.namespaceId=l,this.delegate=d,this.engine=b,this.destroyNode=this.delegate.destroyNode?U=>d.destroyNode(U):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,d){return this.delegate.createElement(l,d)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,d){this.delegate.appendChild(l,d),this.engine.onInsert(this.namespaceId,d,l,!1)}insertBefore(l,d,b,U=!0){this.delegate.insertBefore(l,d,b),this.engine.onInsert(this.namespaceId,d,l,U)}removeChild(l,d,b){this.engine.onRemove(this.namespaceId,d,this.delegate,b)}selectRootElement(l,d){return this.delegate.selectRootElement(l,d)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,d,b,U){this.delegate.setAttribute(l,d,b,U)}removeAttribute(l,d,b){this.delegate.removeAttribute(l,d,b)}addClass(l,d){this.delegate.addClass(l,d)}removeClass(l,d){this.delegate.removeClass(l,d)}setStyle(l,d,b,U){this.delegate.setStyle(l,d,b,U)}removeStyle(l,d,b){this.delegate.removeStyle(l,d,b)}setProperty(l,d,b){"@"==d.charAt(0)&&d==vn?this.disableAnimations(l,!!b):this.delegate.setProperty(l,d,b)}setValue(l,d){this.delegate.setValue(l,d)}listen(l,d,b){return this.delegate.listen(l,d,b)}disableAnimations(l,d){this.engine.disableAnimations(l,d)}}class rs extends At{constructor(l,d,b,U){super(d,b,U),this.factory=l,this.namespaceId=d}setProperty(l,d,b){"@"==d.charAt(0)?"."==d.charAt(1)&&d==vn?this.disableAnimations(l,b=void 0===b||!!b):this.engine.process(this.namespaceId,l,d.substr(1),b):this.delegate.setProperty(l,d,b)}listen(l,d,b){if("@"==d.charAt(0)){const U=function(L){switch(L){case"body":return document.body;case"document":return document;case"window":return window;default:return L}}(l);let K=d.substr(1),he="";return"@"!=K.charAt(0)&&([K,he]=function(L){const l=L.indexOf(".");return[L.substring(0,l),L.substr(l+1)]}(K)),this.engine.listen(this.namespaceId,U,K,he,pe=>{this.factory.scheduleListenerCallback(pe._data||-1,b,pe)})}return this.delegate.listen(l,d,b)}}let or=(()=>{class L extends Pi{constructor(d,b,U){super(d.body,b,U)}ngOnDestroy(){this.flush()}}return L.\u0275fac=function(d){return new(d||L)(a.LFG(ht.K0),a.LFG(Ve),a.LFG(mn))},L.\u0275prov=a.Yz7({token:L,factory:L.\u0275fac}),L})();const nt=new a.OlP("AnimationModuleType"),qt=[{provide:A._j,useClass:Rt},{provide:mn,useFactory:function(){return new bn}},{provide:Pi,useClass:or},{provide:a.FYo,useFactory:function(L,l,d){return new Tn(L,l,d)},deps:[_.se,Pi,a.R0b]}],yr=[{provide:Ve,useFactory:function(){return"function"==typeof Be()?new C:new yn}},{provide:nt,useValue:"BrowserAnimations"},...qt],Nn=[{provide:Ve,useClass:Ce},{provide:nt,useValue:"NoopAnimations"},...qt];let qs=(()=>{class L{static withConfig(d){return{ngModule:L,providers:d.disableAnimations?Nn:yr}}}return L.\u0275fac=function(d){return new(d||L)},L.\u0275mod=a.oAB({type:L}),L.\u0275inj=a.cJS({providers:yr,imports:[_.b2]}),L})()},5427:(Qe,me,g)=>{"use strict";g.d(me,{b2:()=>ue,H7:()=>it,q6:()=>fe,se:()=>st});var a=g(6019),_=g(3668);class A extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class E extends A{static makeCurrent(){(0,a.HT)(new E)}onAndCancel(ae,se,Fe){return ae.addEventListener(se,Fe,!1),()=>{ae.removeEventListener(se,Fe,!1)}}dispatchEvent(ae,se){ae.dispatchEvent(se)}remove(ae){ae.parentNode&&ae.parentNode.removeChild(ae)}createElement(ae,se){return(se=se||this.getDefaultDocument()).createElement(ae)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ae){return ae.nodeType===Node.ELEMENT_NODE}isShadowRoot(ae){return ae instanceof DocumentFragment}getGlobalEventTarget(ae,se){return"window"===se?window:"document"===se?ae:"body"===se?ae.body:null}getBaseHref(ae){const se=(Q=Q||document.querySelector("base"),Q?Q.getAttribute("href"):null);return null==se?null:function(Oe){$=$||document.createElement("a"),$.setAttribute("href",Oe);const ae=$.pathname;return"/"===ae.charAt(0)?ae:`/${ae}`}(se)}resetBaseElement(){Q=null}getUserAgent(){return window.navigator.userAgent}getCookie(ae){return(0,a.Mx)(document.cookie,ae)}}let $,Q=null;const G=new _.OlP("TRANSITION_ID"),k=[{provide:_.ip1,useFactory:function(Oe,ae,se){return()=>{se.get(_.CZH).donePromise.then(()=>{const Fe=(0,a.q)(),$e=ae.querySelectorAll(`style[ng-transition="${Oe}"]`);for(let Et=0;Et<$e.length;Et++)Fe.remove($e[Et])})}},deps:[G,a.K0,_.zs3],multi:!0}];class R{static init(){(0,_.VLi)(new R)}addToWindow(ae){_.dqk.getAngularTestability=(Fe,$e=!0)=>{const Et=ae.findTestabilityInTree(Fe,$e);if(null==Et)throw new Error("Could not find testability for element.");return Et},_.dqk.getAllAngularTestabilities=()=>ae.getAllTestabilities(),_.dqk.getAllAngularRootElements=()=>ae.getAllRootElements(),_.dqk.frameworkStabilizers||(_.dqk.frameworkStabilizers=[]),_.dqk.frameworkStabilizers.push(Fe=>{const $e=_.dqk.getAllAngularTestabilities();let Et=$e.length,Ft=!1;const Qt=function(fn){Ft=Ft||fn,Et--,0==Et&&Fe(Ft)};$e.forEach(function(fn){fn.whenStable(Qt)})})}findTestabilityInTree(ae,se,Fe){if(null==se)return null;const $e=ae.getTestability(se);return null!=$e?$e:Fe?(0,a.q)().isShadowRoot(se)?this.findTestabilityInTree(ae,se.host,!0):this.findTestabilityInTree(ae,se.parentElement,!0):null}}let j=(()=>{class Oe{build(){return new XMLHttpRequest}}return Oe.\u0275fac=function(se){return new(se||Oe)},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})();const V=new _.OlP("EventManagerPlugins");let Z=(()=>{class Oe{constructor(se,Fe){this._zone=Fe,this._eventNameToPlugin=new Map,se.forEach($e=>$e.manager=this),this._plugins=se.slice().reverse()}addEventListener(se,Fe,$e){return this._findPluginFor(Fe).addEventListener(se,Fe,$e)}addGlobalEventListener(se,Fe,$e){return this._findPluginFor(Fe).addGlobalEventListener(se,Fe,$e)}getZone(){return this._zone}_findPluginFor(se){const Fe=this._eventNameToPlugin.get(se);if(Fe)return Fe;const $e=this._plugins;for(let Et=0;Et<$e.length;Et++){const Ft=$e[Et];if(Ft.supports(se))return this._eventNameToPlugin.set(se,Ft),Ft}throw new Error(`No event manager plugin found for event ${se}`)}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(V),_.LFG(_.R0b))},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})();class q{constructor(ae){this._doc=ae}addGlobalEventListener(ae,se,Fe){const $e=(0,a.q)().getGlobalEventTarget(this._doc,ae);if(!$e)throw new Error(`Unsupported event target ${$e} for event ${se}`);return this.addEventListener($e,se,Fe)}}let ve=(()=>{class Oe{constructor(){this._stylesSet=new Set}addStyles(se){const Fe=new Set;se.forEach($e=>{this._stylesSet.has($e)||(this._stylesSet.add($e),Fe.add($e))}),this.onStylesAdded(Fe)}onStylesAdded(se){}getAllStyles(){return Array.from(this._stylesSet)}}return Oe.\u0275fac=function(se){return new(se||Oe)},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})(),Se=(()=>{class Oe extends ve{constructor(se){super(),this._doc=se,this._hostNodes=new Map,this._hostNodes.set(se.head,[])}_addStylesToHost(se,Fe,$e){se.forEach(Et=>{const Ft=this._doc.createElement("style");Ft.textContent=Et,$e.push(Fe.appendChild(Ft))})}addHost(se){const Fe=[];this._addStylesToHost(this._stylesSet,se,Fe),this._hostNodes.set(se,Fe)}removeHost(se){const Fe=this._hostNodes.get(se);Fe&&Fe.forEach(je),this._hostNodes.delete(se)}onStylesAdded(se){this._hostNodes.forEach((Fe,$e)=>{this._addStylesToHost(se,$e,Fe)})}ngOnDestroy(){this._hostNodes.forEach(se=>se.forEach(je))}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(a.K0))},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})();function je(Oe){(0,a.q)().remove(Oe)}const at={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ge=/%COMP%/g;function xe(Oe,ae,se){for(let Fe=0;Fe<ae.length;Fe++){let $e=ae[Fe];Array.isArray($e)?xe(Oe,$e,se):($e=$e.replace(Ge,Oe),se.push($e))}return se}function qe(Oe){return ae=>{if("__ngUnwrap__"===ae)return Oe;!1===Oe(ae)&&(ae.preventDefault(),ae.returnValue=!1)}}let st=(()=>{class Oe{constructor(se,Fe,$e){this.eventManager=se,this.sharedStylesHost=Fe,this.appId=$e,this.rendererByCompId=new Map,this.defaultRenderer=new rt(se)}createRenderer(se,Fe){if(!se||!Fe)return this.defaultRenderer;switch(Fe.encapsulation){case _.ifc.Emulated:{let $e=this.rendererByCompId.get(Fe.id);return $e||($e=new Dt(this.eventManager,this.sharedStylesHost,Fe,this.appId),this.rendererByCompId.set(Fe.id,$e)),$e.applyToHost(se),$e}case 1:case _.ifc.ShadowDom:return new Bt(this.eventManager,this.sharedStylesHost,se,Fe);default:if(!this.rendererByCompId.has(Fe.id)){const $e=xe(Fe.id,Fe.styles,[]);this.sharedStylesHost.addStyles($e),this.rendererByCompId.set(Fe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(Z),_.LFG(Se),_.LFG(_.AFp))},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})();class rt{constructor(ae){this.eventManager=ae,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ae,se){return se?document.createElementNS(at[se]||se,ae):document.createElement(ae)}createComment(ae){return document.createComment(ae)}createText(ae){return document.createTextNode(ae)}appendChild(ae,se){ae.appendChild(se)}insertBefore(ae,se,Fe){ae&&ae.insertBefore(se,Fe)}removeChild(ae,se){ae&&ae.removeChild(se)}selectRootElement(ae,se){let Fe="string"==typeof ae?document.querySelector(ae):ae;if(!Fe)throw new Error(`The selector "${ae}" did not match any elements`);return se||(Fe.textContent=""),Fe}parentNode(ae){return ae.parentNode}nextSibling(ae){return ae.nextSibling}setAttribute(ae,se,Fe,$e){if($e){se=$e+":"+se;const Et=at[$e];Et?ae.setAttributeNS(Et,se,Fe):ae.setAttribute(se,Fe)}else ae.setAttribute(se,Fe)}removeAttribute(ae,se,Fe){if(Fe){const $e=at[Fe];$e?ae.removeAttributeNS($e,se):ae.removeAttribute(`${Fe}:${se}`)}else ae.removeAttribute(se)}addClass(ae,se){ae.classList.add(se)}removeClass(ae,se){ae.classList.remove(se)}setStyle(ae,se,Fe,$e){$e&(_.JOm.DashCase|_.JOm.Important)?ae.style.setProperty(se,Fe,$e&_.JOm.Important?"important":""):ae.style[se]=Fe}removeStyle(ae,se,Fe){Fe&_.JOm.DashCase?ae.style.removeProperty(se):ae.style[se]=""}setProperty(ae,se,Fe){ae[se]=Fe}setValue(ae,se){ae.nodeValue=se}listen(ae,se,Fe){return"string"==typeof ae?this.eventManager.addGlobalEventListener(ae,se,qe(Fe)):this.eventManager.addEventListener(ae,se,qe(Fe))}}class Dt extends rt{constructor(ae,se,Fe,$e){super(ae),this.component=Fe;const Et=xe($e+"-"+Fe.id,Fe.styles,[]);se.addStyles(Et),this.contentAttr="_ngcontent-%COMP%".replace(Ge,$e+"-"+Fe.id),this.hostAttr="_nghost-%COMP%".replace(Ge,$e+"-"+Fe.id)}applyToHost(ae){super.setAttribute(ae,this.hostAttr,"")}createElement(ae,se){const Fe=super.createElement(ae,se);return super.setAttribute(Fe,this.contentAttr,""),Fe}}class Bt extends rt{constructor(ae,se,Fe,$e){super(ae),this.sharedStylesHost=se,this.hostEl=Fe,this.shadowRoot=Fe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Et=xe($e.id,$e.styles,[]);for(let Ft=0;Ft<Et.length;Ft++){const Qt=document.createElement("style");Qt.textContent=Et[Ft],this.shadowRoot.appendChild(Qt)}}nodeOrShadowRoot(ae){return ae===this.hostEl?this.shadowRoot:ae}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ae,se){return super.appendChild(this.nodeOrShadowRoot(ae),se)}insertBefore(ae,se,Fe){return super.insertBefore(this.nodeOrShadowRoot(ae),se,Fe)}removeChild(ae,se){return super.removeChild(this.nodeOrShadowRoot(ae),se)}parentNode(ae){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ae)))}}let Yt=(()=>{class Oe extends q{constructor(se){super(se)}supports(se){return!0}addEventListener(se,Fe,$e){return se.addEventListener(Fe,$e,!1),()=>this.removeEventListener(se,Fe,$e)}removeEventListener(se,Fe,$e){return se.removeEventListener(Fe,$e)}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(a.K0))},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})();const bt=["alt","control","meta","shift"],Ye={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},De={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},X={alt:Oe=>Oe.altKey,control:Oe=>Oe.ctrlKey,meta:Oe=>Oe.metaKey,shift:Oe=>Oe.shiftKey};let Te=(()=>{class Oe extends q{constructor(se){super(se)}supports(se){return null!=Oe.parseEventName(se)}addEventListener(se,Fe,$e){const Et=Oe.parseEventName(Fe),Ft=Oe.eventCallback(Et.fullKey,$e,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.q)().onAndCancel(se,Et.domEventName,Ft))}static parseEventName(se){const Fe=se.toLowerCase().split("."),$e=Fe.shift();if(0===Fe.length||"keydown"!==$e&&"keyup"!==$e)return null;const Et=Oe._normalizeKey(Fe.pop());let Ft="";if(bt.forEach(fn=>{const dt=Fe.indexOf(fn);dt>-1&&(Fe.splice(dt,1),Ft+=fn+".")}),Ft+=Et,0!=Fe.length||0===Et.length)return null;const Qt={};return Qt.domEventName=$e,Qt.fullKey=Ft,Qt}static getEventFullKey(se){let Fe="",$e=function(Oe){let ae=Oe.key;if(null==ae){if(ae=Oe.keyIdentifier,null==ae)return"Unidentified";ae.startsWith("U+")&&(ae=String.fromCharCode(parseInt(ae.substring(2),16)),3===Oe.location&&De.hasOwnProperty(ae)&&(ae=De[ae]))}return Ye[ae]||ae}(se);return $e=$e.toLowerCase()," "===$e?$e="space":"."===$e&&($e="dot"),bt.forEach(Et=>{Et!=$e&&X[Et](se)&&(Fe+=Et+".")}),Fe+=$e,Fe}static eventCallback(se,Fe,$e){return Et=>{Oe.getEventFullKey(Et)===se&&$e.runGuarded(()=>Fe(Et))}}static _normalizeKey(se){return"esc"===se?"escape":se}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(a.K0))},Oe.\u0275prov=_.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe})();const fe=(0,_.eFA)(_._c5,"browser",[{provide:_.Lbi,useValue:a.bD},{provide:_.g9A,useValue:function(){E.makeCurrent(),R.init()},multi:!0},{provide:a.K0,useFactory:function(){return(0,_.RDi)(document),document},deps:[]}]),J=[{provide:_.zSh,useValue:"root"},{provide:_.qLn,useFactory:function(){return new _.qLn},deps:[]},{provide:V,useClass:Yt,multi:!0,deps:[a.K0,_.R0b,_.Lbi]},{provide:V,useClass:Te,multi:!0,deps:[a.K0]},{provide:st,useClass:st,deps:[Z,Se,_.AFp]},{provide:_.FYo,useExisting:st},{provide:ve,useExisting:Se},{provide:Se,useClass:Se,deps:[a.K0]},{provide:_.dDg,useClass:_.dDg,deps:[_.R0b]},{provide:Z,useClass:Z,deps:[V,_.R0b]},{provide:a.JF,useClass:j,deps:[]}];let ue=(()=>{class Oe{constructor(se){if(se)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(se){return{ngModule:Oe,providers:[{provide:_.AFp,useValue:se.appId},{provide:G,useExisting:_.AFp},k]}}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(Oe,12))},Oe.\u0275mod=_.oAB({type:Oe}),Oe.\u0275inj=_.cJS({providers:J,imports:[a.ez,_.hGG]}),Oe})();"undefined"!=typeof window&&window;let it=(()=>{class Oe{}return Oe.\u0275fac=function(se){return new(se||Oe)},Oe.\u0275prov=_.Yz7({token:Oe,factory:function(se){let Fe=null;return Fe=se?new(se||Oe):_.LFG(on),Fe},providedIn:"root"}),Oe})(),on=(()=>{class Oe extends it{constructor(se){super(),this._doc=se}sanitize(se,Fe){if(null==Fe)return null;switch(se){case _.q3G.NONE:return Fe;case _.q3G.HTML:return(0,_.qzn)(Fe,"HTML")?(0,_.z3N)(Fe):(0,_.EiD)(this._doc,String(Fe)).toString();case _.q3G.STYLE:return(0,_.qzn)(Fe,"Style")?(0,_.z3N)(Fe):Fe;case _.q3G.SCRIPT:if((0,_.qzn)(Fe,"Script"))return(0,_.z3N)(Fe);throw new Error("unsafe value used in a script context");case _.q3G.URL:return(0,_.yhl)(Fe),(0,_.qzn)(Fe,"URL")?(0,_.z3N)(Fe):(0,_.mCW)(String(Fe));case _.q3G.RESOURCE_URL:if((0,_.qzn)(Fe,"ResourceURL"))return(0,_.z3N)(Fe);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${se} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(se){return(0,_.JVY)(se)}bypassSecurityTrustStyle(se){return(0,_.L6k)(se)}bypassSecurityTrustScript(se){return(0,_.eBb)(se)}bypassSecurityTrustUrl(se){return(0,_.LAX)(se)}bypassSecurityTrustResourceUrl(se){return(0,_.pB0)(se)}}return Oe.\u0275fac=function(se){return new(se||Oe)(_.LFG(a.K0))},Oe.\u0275prov=_.Yz7({token:Oe,factory:function(se){let Fe=null;return Fe=se?new se:function(Oe){return new on(Oe.get(a.K0))}(_.LFG(_.zs3)),Fe},providedIn:"root"}),Oe})()},4382:(Qe,me,g)=>{"use strict";g.d(me,{gz:()=>Sn,F0:()=>Bn,Od:()=>dr,yS:()=>Ir,Bz:()=>fr,lC:()=>ss});var a=g(6019),_=g(3668);const E=(()=>{function y(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return y.prototype=Object.create(Error.prototype),y})();var Q=g(1915),P=g(2411),$=g(4099),O=g(2372),G=g(5548),T=g(3596),k=g(5476),R=g(172),j=g(5783),V=g(8095),Z=g(4168);function q(y,p){let f=!1;return arguments.length>=2&&(f=!0),function(I){return I.lift(new ve(y,p,f))}}class ve{constructor(p,f,w=!1){this.accumulator=p,this.seed=f,this.hasSeed=w}call(p,f){return f.subscribe(new Se(p,this.accumulator,this.seed,this.hasSeed))}}class Se extends Z.L{constructor(p,f,w,I){super(p),this.accumulator=f,this._seed=w,this.hasSeed=I,this.index=0}get seed(){return this._seed}set seed(p){this.hasSeed=!0,this._seed=p}_next(p){if(this.hasSeed)return this._tryNext(p);this.seed=p,this.destination.next(p)}_tryNext(p){const f=this.index++;let w;try{w=this.accumulator(this.seed,p,f)}catch(I){this.destination.error(I)}this.seed=w,this.destination.next(w)}}var je=g(8735),at=g(523);function Ge(y){return function(f){return 0===y?(0,R.c)():f.lift(new ye(y))}}class ye{constructor(p){if(this.total=p,this.total<0)throw new at.W}call(p,f){return f.subscribe(new ge(p,this.total))}}class ge extends Z.L{constructor(p,f){super(p),this.total=f,this.ring=new Array,this.count=0}_next(p){const f=this.ring,w=this.total,I=this.count++;f.length<w?f.push(p):f[I%w]=p}_complete(){const p=this.destination;let f=this.count;if(f>0){const w=this.count>=this.total?this.total:this.count,I=this.ring;for(let W=0;W<w;W++){const de=f++%w;p.next(I[de])}}p.complete()}}function Ae(y=Ve){return p=>p.lift(new Ee(y))}class Ee{constructor(p){this.errorFactory=p}call(p,f){return f.subscribe(new Ce(p,this.errorFactory))}}class Ce extends Z.L{constructor(p,f){super(p),this.errorFactory=f,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(f){p=f}this.destination.error(p)}}}function Ve(){return new E}function xe(y=null){return p=>p.lift(new qe(y))}class qe{constructor(p){this.defaultValue=p}call(p,f){return f.subscribe(new We(p,this.defaultValue))}}class We extends Z.L{constructor(p,f){super(p),this.defaultValue=f,this.isEmpty=!0}_next(p){this.isEmpty=!1,this.destination.next(p)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var st=g(7255),Xt=g(6636);function Kt(y,p){const f=arguments.length>=2;return w=>w.pipe(y?(0,je.h)((I,W)=>y(I,W,w)):st.y,(0,Xt.q)(1),f?xe(p):Ae(()=>new E))}var Dt=g(8053),Bt=g(9204),Yt=g(1125),bt=g(2047),lt=g(6700),Ye=g(4421),De=g(5722),X=g(5234),Te=g(6658),oe=g(2225);class le{constructor(p,f){this.id=p,this.url=f}}class H extends le{constructor(p,f,w="imperative",I=null){super(p,f),this.navigationTrigger=w,this.restoredState=I}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _e extends le{constructor(p,f,w){super(p,f),this.urlAfterRedirects=w}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class be extends le{constructor(p,f,w){super(p,f),this.reason=w}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class fe extends le{constructor(p,f,w){super(p,f),this.error=w}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends le{constructor(p,f,w,I){super(p,f),this.urlAfterRedirects=w,this.state=I}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ue extends le{constructor(p,f,w,I){super(p,f),this.urlAfterRedirects=w,this.state=I}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ne extends le{constructor(p,f,w,I,W){super(p,f),this.urlAfterRedirects=w,this.state=I,this.shouldActivate=W}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Je extends le{constructor(p,f,w,I){super(p,f),this.urlAfterRedirects=w,this.state=I}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends le{constructor(p,f,w,I){super(p,f),this.urlAfterRedirects=w,this.state=I}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot{constructor(p){this.route=p}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ie{constructor(p){this.route=p}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ne{constructor(p){this.snapshot=p}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class M{constructor(p){this.snapshot=p}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S{constructor(p){this.snapshot=p}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class B{constructor(p){this.snapshot=p}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class te{constructor(p,f,w){this.routerEvent=p,this.position=f,this.anchor=w}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ie="primary";class Ue{constructor(p){this.params=p||{}}has(p){return Object.prototype.hasOwnProperty.call(this.params,p)}get(p){if(this.has(p)){const f=this.params[p];return Array.isArray(f)?f[0]:f}return null}getAll(p){if(this.has(p)){const f=this.params[p];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function He(y){return new Ue(y)}const et="ngNavigationCancelingError";function pt(y){const p=Error("NavigationCancelingError: "+y);return p[et]=!0,p}function Ut(y,p,f){const w=f.path.split("/");if(w.length>y.length||"full"===f.pathMatch&&(p.hasChildren()||w.length<y.length))return null;const I={};for(let W=0;W<w.length;W++){const de=w[W],Me=y[W];if(de.startsWith(":"))I[de.substring(1)]=Me;else if(de!==Me.path)return null}return{consumed:y.slice(0,w.length),posParams:I}}function xt(y,p){const f=y?Object.keys(y):void 0,w=p?Object.keys(p):void 0;if(!f||!w||f.length!=w.length)return!1;let I;for(let W=0;W<f.length;W++)if(I=f[W],!Mt(y[I],p[I]))return!1;return!0}function Mt(y,p){if(Array.isArray(y)&&Array.isArray(p)){if(y.length!==p.length)return!1;const f=[...y].sort(),w=[...p].sort();return f.every((I,W)=>w[W]===I)}return y===p}function yt(y){return Array.prototype.concat.apply([],y)}function Ot(y){return y.length>0?y[y.length-1]:null}function Ht(y,p){for(const f in y)y.hasOwnProperty(f)&&p(y[f],f)}function un(y){return(0,_.CqO)(y)?y:(0,_.QGY)(y)?(0,Q.D)(Promise.resolve(y)):(0,P.of)(y)}const Y={exact:function Pe(y,p,f){if(!$e(y.segments,p.segments)||!Dn(y.segments,p.segments,f)||y.numberOfChildren!==p.numberOfChildren)return!1;for(const w in p.children)if(!y.children[w]||!Pe(y.children[w],p.children[w],f))return!1;return!0},subset:St},F={exact:function(y,p){return xt(y,p)},subset:function(y,p){return Object.keys(p).length<=Object.keys(y).length&&Object.keys(p).every(f=>Mt(y[f],p[f]))},ignored:()=>!0};function N(y,p,f){return Y[f.paths](y.root,p.root,f.matrixParams)&&F[f.queryParams](y.queryParams,p.queryParams)&&!("exact"===f.fragment&&y.fragment!==p.fragment)}function St(y,p,f){return on(y,p,p.segments,f)}function on(y,p,f,w){if(y.segments.length>f.length){const I=y.segments.slice(0,f.length);return!(!$e(I,f)||p.hasChildren()||!Dn(I,f,w))}if(y.segments.length===f.length){if(!$e(y.segments,f)||!Dn(y.segments,f,w))return!1;for(const I in p.children)if(!y.children[I]||!St(y.children[I],p.children[I],w))return!1;return!0}{const I=f.slice(0,y.segments.length),W=f.slice(y.segments.length);return!!($e(y.segments,I)&&Dn(y.segments,I,w)&&y.children[ie])&&on(y.children[ie],p,W,w)}}function Dn(y,p,f){return p.every((w,I)=>F[f](y[I].parameters,w.parameters))}class Oe{constructor(p,f,w){this.root=p,this.queryParams=f,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=He(this.queryParams)),this._queryParamMap}toString(){return fn.serialize(this)}}class ae{constructor(p,f){this.segments=p,this.children=f,this.parent=null,Ht(f,(w,I)=>w.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class se{constructor(p,f){this.path=p,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=He(this.parameters)),this._parameterMap}toString(){return Yn(this)}}function $e(y,p){return y.length===p.length&&y.every((f,w)=>f.path===p[w].path)}class Ft{}class Qt{parse(p){const f=new gi(p);return new Oe(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(p){const f=`/${kt(p.root,!0)}`,w=function(y){const p=Object.keys(y).map(f=>{const w=y[f];return Array.isArray(w)?w.map(I=>`${mn(f)}=${mn(I)}`).join("&"):`${mn(f)}=${mn(w)}`}).filter(f=>!!f);return p.length?`?${p.join("&")}`:""}(p.queryParams);var y;return`${f}${w}${"string"==typeof p.fragment?`#${y=p.fragment,encodeURI(y)}`:""}`}}const fn=new Qt;function dt(y){return y.segments.map(p=>Yn(p)).join("/")}function kt(y,p){if(!y.hasChildren())return dt(y);if(p){const f=y.children[ie]?kt(y.children[ie],!1):"",w=[];return Ht(y.children,(I,W)=>{W!==ie&&w.push(`${W}:${kt(I,!1)}`)}),w.length>0?`${f}(${w.join("//")})`:f}{const f=function(y,p){let f=[];return Ht(y.children,(w,I)=>{I===ie&&(f=f.concat(p(w,I)))}),Ht(y.children,(w,I)=>{I!==ie&&(f=f.concat(p(w,I)))}),f}(y,(w,I)=>I===ie?[kt(y.children[ie],!1)]:[`${I}:${kt(w,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[ie]?`${dt(y)}/${f[0]}`:`${dt(y)}/(${f.join("//")})`}}function dn(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mn(y){return dn(y).replace(/%3B/gi,";")}function bn(y){return dn(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ti(y){return decodeURIComponent(y)}function pn(y){return ti(y.replace(/\+/g,"%20"))}function Yn(y){return`${bn(y.path)}${function(y){return Object.keys(y).map(p=>`;${bn(p)}=${bn(y[p])}`).join("")}(y.parameters)}`}const qi=/^[^\/()?;=#]+/;function ni(y){const p=y.match(qi);return p?p[0]:""}const Ii=/^[^=?&#]+/,On=/^[^&#]+/;class gi{constructor(p){this.url=p,this.remaining=p}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ae([],{}):new ae([],this.parseChildren())}parseQueryParams(){const p={};if(this.consumeOptional("?"))do{this.parseQueryParam(p)}while(this.consumeOptional("&"));return p}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const p=[];for(this.peekStartsWith("(")||p.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),p.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(p.length>0||Object.keys(f).length>0)&&(w[ie]=new ae(p,f)),w}parseSegment(){const p=ni(this.remaining);if(""===p&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(p),new se(ti(p),this.parseMatrixParams())}parseMatrixParams(){const p={};for(;this.consumeOptional(";");)this.parseParam(p);return p}parseParam(p){const f=ni(this.remaining);if(!f)return;this.capture(f);let w="";if(this.consumeOptional("=")){const I=ni(this.remaining);I&&(w=I,this.capture(w))}p[ti(f)]=ti(w)}parseQueryParam(p){const f=function(y){const p=y.match(Ii);return p?p[0]:""}(this.remaining);if(!f)return;this.capture(f);let w="";if(this.consumeOptional("=")){const de=function(y){const p=y.match(On);return p?p[0]:""}(this.remaining);de&&(w=de,this.capture(w))}const I=pn(f),W=pn(w);if(p.hasOwnProperty(I)){let de=p[I];Array.isArray(de)||(de=[de],p[I]=de),de.push(W)}else p[I]=W}parseParens(p){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=ni(this.remaining),I=this.remaining[w.length];if("/"!==I&&")"!==I&&";"!==I)throw new Error(`Cannot parse url '${this.url}'`);let W;w.indexOf(":")>-1?(W=w.substr(0,w.indexOf(":")),this.capture(W),this.capture(":")):p&&(W=ie);const de=this.parseChildren();f[W]=1===Object.keys(de).length?de[ie]:new ae([],de),this.consumeOptional("//")}return f}peekStartsWith(p){return this.remaining.startsWith(p)}consumeOptional(p){return!!this.peekStartsWith(p)&&(this.remaining=this.remaining.substring(p.length),!0)}capture(p){if(!this.consumeOptional(p))throw new Error(`Expected "${p}".`)}}class Rn{constructor(p){this._root=p}get root(){return this._root.value}parent(p){const f=this.pathFromRoot(p);return f.length>1?f[f.length-2]:null}children(p){const f=nn(p,this._root);return f?f.children.map(w=>w.value):[]}firstChild(p){const f=nn(p,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(p){const f=Ji(p,this._root);return f.length<2?[]:f[f.length-2].children.map(I=>I.value).filter(I=>I!==p)}pathFromRoot(p){return Ji(p,this._root).map(f=>f.value)}}function nn(y,p){if(y===p.value)return p;for(const f of p.children){const w=nn(y,f);if(w)return w}return null}function Ji(y,p){if(y===p.value)return[p];for(const f of p.children){const w=Ji(y,f);if(w.length)return w.unshift(p),w}return[]}class Un{constructor(p,f){this.value=p,this.children=f}toString(){return`TreeNode(${this.value})`}}function qn(y){const p={};return y&&y.children.forEach(f=>p[f.value.outlet]=f),p}class Bi extends Rn{constructor(p,f){super(p),this.snapshot=f,_i(this,p)}toString(){return this.snapshot.toString()}}function ai(y,p){const f=function(y,p){const de=new An([],{},{},"",{},ie,p,null,y.root,-1,{});return new xn("",new Un(de,[]))}(y,p),w=new $.X([new se("",{})]),I=new $.X({}),W=new $.X({}),de=new $.X({}),Me=new $.X(""),Ke=new Sn(w,I,de,Me,W,ie,p,f.root);return Ke.snapshot=f.root,new Bi(new Un(Ke,[]),f)}class Sn{constructor(p,f,w,I,W,de,Me,Ke){this.url=p,this.params=f,this.queryParams=w,this.fragment=I,this.data=W,this.outlet=de,this.component=Me,this._futureSnapshot=Ke}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Dt.U)(p=>He(p)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Dt.U)(p=>He(p)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function wn(y,p="emptyOnly"){const f=y.pathFromRoot;let w=0;if("always"!==p)for(w=f.length-1;w>=1;){const I=f[w],W=f[w-1];if(I.routeConfig&&""===I.routeConfig.path)w--;else{if(W.component)break;w--}}return function(y){return y.reduce((p,f)=>({params:gt(gt({},p.params),f.params),data:gt(gt({},p.data),f.data),resolve:gt(gt({},p.resolve),f._resolvedData)}),{params:{},data:{},resolve:{}})}(f.slice(w))}class An{constructor(p,f,w,I,W,de,Me,Ke,vt,gn,Nt){this.url=p,this.params=f,this.queryParams=w,this.fragment=I,this.data=W,this.outlet=de,this.component=Me,this.routeConfig=Ke,this._urlSegment=vt,this._lastPathIndex=gn,this._resolve=Nt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=He(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=He(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(w=>w.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xn extends Rn{constructor(p,f){super(f),this.url=p,_i(this,f)}toString(){return Oi(this._root)}}function _i(y,p){p.value._routerState=y,p.children.forEach(f=>_i(y,f))}function Oi(y){const p=y.children.length>0?` { ${y.children.map(Oi).join(", ")} } `:"";return`${y.value}${p}`}function di(y){if(y.snapshot){const p=y.snapshot,f=y._futureSnapshot;y.snapshot=f,xt(p.queryParams,f.queryParams)||y.queryParams.next(f.queryParams),p.fragment!==f.fragment&&y.fragment.next(f.fragment),xt(p.params,f.params)||y.params.next(f.params),function(y,p){if(y.length!==p.length)return!1;for(let f=0;f<y.length;++f)if(!xt(y[f],p[f]))return!1;return!0}(p.url,f.url)||y.url.next(f.url),xt(p.data,f.data)||y.data.next(f.data)}else y.snapshot=y._futureSnapshot,y.data.next(y._futureSnapshot.data)}function Fn(y,p){const f=xt(y.params,p.params)&&function(y,p){return $e(y,p)&&y.every((f,w)=>xt(f.parameters,p[w].parameters))}(y.url,p.url);return f&&!(!y.parent!=!p.parent)&&(!y.parent||Fn(y.parent,p.parent))}function ps(y,p,f){if(f&&y.shouldReuseRoute(p.value,f.value.snapshot)){const w=f.value;w._futureSnapshot=p.value;const I=function(y,p,f){return p.children.map(w=>{for(const I of f.children)if(y.shouldReuseRoute(w.value,I.value.snapshot))return ps(y,w,I);return ps(y,w)})}(y,p,f);return new Un(w,I)}{if(y.shouldAttach(p.value)){const W=y.retrieve(p.value);if(null!==W){const de=W.route;return de.value._futureSnapshot=p.value,de.children=p.children.map(Me=>ps(y,Me)),de}}const w=function(y){return new Sn(new $.X(y.url),new $.X(y.params),new $.X(y.queryParams),new $.X(y.fragment),new $.X(y.data),y.outlet,y.component,y)}(p.value),I=p.children.map(W=>ps(y,W));return new Un(w,I)}}function Ri(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function Vi(y){return"object"==typeof y&&null!=y&&y.outlets}function Ei(y,p,f,w,I){let W={};return w&&Ht(w,(de,Me)=>{W[Me]=Array.isArray(de)?de.map(Ke=>`${Ke}`):`${de}`}),new Oe(f.root===y?p:sr(f.root,y,p),W,I)}function sr(y,p,f){const w={};return Ht(y.children,(I,W)=>{w[W]=I===p?f:sr(I,p,f)}),new ae(y.segments,w)}class jn{constructor(p,f,w){if(this.isAbsolute=p,this.numberOfDoubleDots=f,this.commands=w,p&&w.length>0&&Ri(w[0]))throw new Error("Root segment cannot have matrix parameters");const I=w.find(Vi);if(I&&I!==Ot(w))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xs{constructor(p,f,w){this.segmentGroup=p,this.processChildren=f,this.index=w}}function ts(y,p,f){if(y||(y=new ae([],{})),0===y.segments.length&&y.hasChildren())return Pi(y,p,f);const w=function(y,p,f){let w=0,I=p;const W={match:!1,pathIndex:0,commandIndex:0};for(;I<y.segments.length;){if(w>=f.length)return W;const de=y.segments[I],Me=f[w];if(Vi(Me))break;const Ke=`${Me}`,vt=w<f.length-1?f[w+1]:null;if(I>0&&void 0===Ke)break;if(Ke&&vt&&"object"==typeof vt&&void 0===vt.outlets){if(!ms(Ke,vt,de))return W;w+=2}else{if(!ms(Ke,{},de))return W;w++}I++}return{match:!0,pathIndex:I,commandIndex:w}}(y,p,f),I=f.slice(w.commandIndex);if(w.match&&w.pathIndex<y.segments.length){const W=new ae(y.segments.slice(0,w.pathIndex),{});return W.children[ie]=new ae(y.segments.slice(w.pathIndex),y.children),Pi(W,0,I)}return w.match&&0===I.length?new ae(y.segments,{}):w.match&&!y.hasChildren()?ji(y,p,f):w.match?Pi(y,0,I):ji(y,p,f)}function Pi(y,p,f){if(0===f.length)return new ae(y.segments,{});{const w=function(y){return Vi(y[0])?y[0].outlets:{[ie]:y}}(f),I={};return Ht(w,(W,de)=>{"string"==typeof W&&(W=[W]),null!==W&&(I[de]=ts(y.children[de],p,W))}),Ht(y.children,(W,de)=>{void 0===w[de]&&(I[de]=W)}),new ae(y.segments,I)}}function ji(y,p,f){const w=y.segments.slice(0,p);let I=0;for(;I<f.length;){const W=f[I];if(Vi(W)){const Ke=hi(W.outlets);return new ae(w,Ke)}if(0===I&&Ri(f[0])){w.push(new se(y.segments[p].path,Ps(f[0]))),I++;continue}const de=Vi(W)?W.outlets[ie]:`${W}`,Me=I<f.length-1?f[I+1]:null;de&&Me&&Ri(Me)?(w.push(new se(de,Ps(Me))),I+=2):(w.push(new se(de,{})),I++)}return new ae(w,{})}function hi(y){const p={};return Ht(y,(f,w)=>{"string"==typeof f&&(f=[f]),null!==f&&(p[w]=ji(new ae([],{}),0,f))}),p}function Ps(y){const p={};return Ht(y,(f,w)=>p[w]=`${f}`),p}function ms(y,p,f){return y==f.path&&xt(p,f.parameters)}class ii{constructor(p,f,w,I){this.routeReuseStrategy=p,this.futureState=f,this.currState=w,this.forwardEvent=I}activate(p){const f=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,w,p),di(this.futureState.root),this.activateChildRoutes(f,w,p)}deactivateChildRoutes(p,f,w){const I=qn(f);p.children.forEach(W=>{const de=W.value.outlet;this.deactivateRoutes(W,I[de],w),delete I[de]}),Ht(I,(W,de)=>{this.deactivateRouteAndItsChildren(W,w)})}deactivateRoutes(p,f,w){const I=p.value,W=f?f.value:null;if(I===W)if(I.component){const de=w.getContext(I.outlet);de&&this.deactivateChildRoutes(p,f,de.children)}else this.deactivateChildRoutes(p,f,w);else W&&this.deactivateRouteAndItsChildren(f,w)}deactivateRouteAndItsChildren(p,f){p.value.component&&this.routeReuseStrategy.shouldDetach(p.value.snapshot)?this.detachAndStoreRouteSubtree(p,f):this.deactivateRouteAndOutlet(p,f)}detachAndStoreRouteSubtree(p,f){const w=f.getContext(p.value.outlet),I=w&&p.value.component?w.children:f,W=qn(p);for(const de of Object.keys(W))this.deactivateRouteAndItsChildren(W[de],I);if(w&&w.outlet){const de=w.outlet.detach(),Me=w.children.onOutletDeactivated();this.routeReuseStrategy.store(p.value.snapshot,{componentRef:de,route:p,contexts:Me})}}deactivateRouteAndOutlet(p,f){const w=f.getContext(p.value.outlet),I=w&&p.value.component?w.children:f,W=qn(p);for(const de of Object.keys(W))this.deactivateRouteAndItsChildren(W[de],I);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(p,f,w){const I=qn(f);p.children.forEach(W=>{this.activateRoutes(W,I[W.value.outlet],w),this.forwardEvent(new B(W.value.snapshot))}),p.children.length&&this.forwardEvent(new M(p.value.snapshot))}activateRoutes(p,f,w){const I=p.value,W=f?f.value:null;if(di(I),I===W)if(I.component){const de=w.getOrCreateContext(I.outlet);this.activateChildRoutes(p,f,de.children)}else this.activateChildRoutes(p,f,w);else if(I.component){const de=w.getOrCreateContext(I.outlet);if(this.routeReuseStrategy.shouldAttach(I.snapshot)){const Me=this.routeReuseStrategy.retrieve(I.snapshot);this.routeReuseStrategy.store(I.snapshot,null),de.children.onOutletReAttached(Me.contexts),de.attachRef=Me.componentRef,de.route=Me.route.value,de.outlet&&de.outlet.attach(Me.componentRef,Me.route.value),di(Me.route.value),this.activateChildRoutes(p,null,de.children)}else{const Me=function(y){for(let p=y.parent;p;p=p.parent){const f=p.routeConfig;if(f&&f._loadedConfig)return f._loadedConfig;if(f&&f.component)return null}return null}(I.snapshot),Ke=Me?Me.module.componentFactoryResolver:null;de.attachRef=null,de.route=I,de.resolver=Ke,de.outlet&&de.outlet.activateWith(I,Ke),this.activateChildRoutes(p,null,de.children)}}else this.activateChildRoutes(p,null,w)}}class Ci{constructor(p,f){this.routes=p,this.module=f}}function Kn(y){return"function"==typeof y}function Di(y){return y instanceof Oe}const fi=Symbol("INITIAL_VALUE");function Ln(){return(0,Bt.w)(y=>(0,O.aj)(y.map(p=>p.pipe((0,Xt.q)(1),(0,Yt.O)(fi)))).pipe(q((p,f)=>{let w=!1;return f.reduce((I,W,de)=>I!==fi?I:(W===fi&&(w=!0),w||!1!==W&&de!==f.length-1&&!Di(W)?I:W),p)},fi),(0,je.h)(p=>p!==fi),(0,Dt.U)(p=>Di(p)?p:!0===p),(0,Xt.q)(1)))}class Ls{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new is,this.attachRef=null}}class is{constructor(){this.contexts=new Map}onChildOutletCreated(p,f){const w=this.getOrCreateContext(p);w.outlet=f,this.contexts.set(p,w)}onChildOutletDestroyed(p){const f=this.getContext(p);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let f=this.getContext(p);return f||(f=new Ls,this.contexts.set(p,f)),f}getContext(p){return this.contexts.get(p)||null}}let ss=(()=>{class y{constructor(f,w,I,W,de){this.parentContexts=f,this.location=w,this.resolver=I,this.changeDetector=de,this.activated=null,this._activatedRoute=null,this.activateEvents=new _.vpe,this.deactivateEvents=new _.vpe,this.attachEvents=new _.vpe,this.detachEvents=new _.vpe,this.name=W||ie,f.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const f=this.parentContexts.getContext(this.name);f&&f.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,w){this.activated=f,this._activatedRoute=w,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,w){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=f;const de=(w=w||this.resolver).resolveComponentFactory(f._futureSnapshot.routeConfig.component),Me=this.parentContexts.getOrCreateContext(this.name).children,Ke=new rr(f,Me,this.location.injector);this.activated=this.location.createComponent(de,this.location.length,Ke),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return y.\u0275fac=function(f){return new(f||y)(_.Y36(is),_.Y36(_.s_b),_.Y36(_._Vd),_.$8M("name"),_.Y36(_.sBO))},y.\u0275dir=_.lG2({type:y,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),y})();class rr{constructor(p,f,w){this.route=p,this.childContexts=f,this.parent=w}get(p,f){return p===Sn?this.route:p===is?this.childContexts:this.parent.get(p,f)}}let zi=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275cmp=_.Xpm({type:y,selectors:[["ng-component"]],decls:1,vars:0,template:function(f,w){1&f&&_._UZ(0,"router-outlet")},directives:[ss],encapsulation:2}),y})();function ys(y,p=""){for(let f=0;f<y.length;f++){const w=y[f];yn(w,Xs(p,w))}}function yn(y,p){y.children&&ys(y.children,p)}function Xs(y,p){return p?y||p.path?y&&!p.path?`${y}/`:!y&&p.path?p.path:`${y}/${p.path}`:"":y}function vs(y){const p=y.children&&y.children.map(vs),f=p?ei(gt({},y),{children:p}):gt({},y);return!f.component&&(p||f.loadChildren)&&f.outlet&&f.outlet!==ie&&(f.component=zi),f}function D(y){return y.outlet||ie}function h(y,p){const f=y.filter(w=>D(w)===p);return f.push(...y.filter(w=>D(w)!==p)),f}const o={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function c(y,p,f){var Me;if(""===p.path)return"full"===p.pathMatch&&(y.hasChildren()||f.length>0)?gt({},o):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const I=(p.matcher||Ut)(f,y,p);if(!I)return gt({},o);const W={};Ht(I.posParams,(Ke,vt)=>{W[vt]=Ke.path});const de=I.consumed.length>0?gt(gt({},W),I.consumed[I.consumed.length-1].parameters):W;return{matched:!0,consumedSegments:I.consumed,lastChild:I.consumed.length,parameters:de,positionalParamSegments:null!=(Me=I.posParams)?Me:{}}}function C(y,p,f,w,I="corrected"){if(f.length>0&&function(y,p,f){return f.some(w=>sn(y,p,w)&&D(w)!==ie)}(y,f,w)){const de=new ae(p,function(y,p,f,w){const I={};I[ie]=w,w._sourceSegment=y,w._segmentIndexShift=p.length;for(const W of f)if(""===W.path&&D(W)!==ie){const de=new ae([],{});de._sourceSegment=y,de._segmentIndexShift=p.length,I[D(W)]=de}return I}(y,p,w,new ae(f,y.children)));return de._sourceSegment=y,de._segmentIndexShift=p.length,{segmentGroup:de,slicedSegments:[]}}if(0===f.length&&function(y,p,f){return f.some(w=>sn(y,p,w))}(y,f,w)){const de=new ae(y.segments,function(y,p,f,w,I,W){const de={};for(const Me of w)if(sn(y,f,Me)&&!I[D(Me)]){const Ke=new ae([],{});Ke._sourceSegment=y,Ke._segmentIndexShift="legacy"===W?y.segments.length:p.length,de[D(Me)]=Ke}return gt(gt({},I),de)}(y,p,f,w,y.children,I));return de._sourceSegment=y,de._segmentIndexShift=p.length,{segmentGroup:de,slicedSegments:f}}const W=new ae(y.segments,y.children);return W._sourceSegment=y,W._segmentIndexShift=p.length,{segmentGroup:W,slicedSegments:f}}function sn(y,p,f){return(!(y.hasChildren()||p.length>0)||"full"!==f.pathMatch)&&""===f.path}function an(y,p,f,w){return!!(D(y)===w||w!==ie&&sn(p,f,y))&&("**"===y.path||c(p,y,f).matched)}function tn(y,p,f){return 0===p.length&&!y.children[f]}class hn{constructor(p){this.segmentGroup=p||null}}class vn{constructor(p){this.urlTree=p}}function Tn(y){return new G.y(p=>p.error(new hn(y)))}function At(y){return new G.y(p=>p.error(new vn(y)))}function rs(y){return new G.y(p=>p.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${y}'`)))}class or{constructor(p,f,w,I,W){this.configLoader=f,this.urlSerializer=w,this.urlTree=I,this.config=W,this.allowRedirects=!0,this.ngModule=p.get(_.h0i)}apply(){const p=C(this.urlTree.root,[],[],this.config).segmentGroup,f=new ae(p.segments,p.children);return this.expandSegmentGroup(this.ngModule,this.config,f,ie).pipe((0,Dt.U)(W=>this.createUrlTree(Vs(W),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,bt.K)(W=>{if(W instanceof vn)return this.allowRedirects=!1,this.match(W.urlTree);throw W instanceof hn?this.noMatchError(W):W}))}match(p){return this.expandSegmentGroup(this.ngModule,this.config,p.root,ie).pipe((0,Dt.U)(I=>this.createUrlTree(Vs(I),p.queryParams,p.fragment))).pipe((0,bt.K)(I=>{throw I instanceof hn?this.noMatchError(I):I}))}noMatchError(p){return new Error(`Cannot match any routes. URL Segment: '${p.segmentGroup}'`)}createUrlTree(p,f,w){const I=p.segments.length>0?new ae([],{[ie]:p}):p;return new Oe(I,f,w)}expandSegmentGroup(p,f,w,I){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(p,f,w).pipe((0,Dt.U)(W=>new ae([],W))):this.expandSegment(p,w,f,w.segments,I,!0)}expandChildren(p,f,w){const I=[];for(const W of Object.keys(w.children))"primary"===W?I.unshift(W):I.push(W);return(0,Q.D)(I).pipe((0,lt.b)(W=>{const de=w.children[W],Me=h(f,W);return this.expandSegmentGroup(p,Me,de,W).pipe((0,Dt.U)(Ke=>({segment:Ke,outlet:W})))}),q((W,de)=>(W[de.outlet]=de.segment,W),{}),function(y,p){const f=arguments.length>=2;return w=>w.pipe(y?(0,je.h)((I,W)=>y(I,W,w)):st.y,Ge(1),f?xe(p):Ae(()=>new E))}())}expandSegment(p,f,w,I,W,de){return(0,Q.D)(w).pipe((0,lt.b)(Me=>this.expandSegmentAgainstRoute(p,f,w,Me,I,W,de).pipe((0,bt.K)(vt=>{if(vt instanceof hn)return(0,P.of)(null);throw vt}))),Kt(Me=>!!Me),(0,bt.K)((Me,Ke)=>{if(Me instanceof E||"EmptyError"===Me.name){if(tn(f,I,W))return(0,P.of)(new ae([],{}));throw new hn(f)}throw Me}))}expandSegmentAgainstRoute(p,f,w,I,W,de,Me){return an(I,f,W,de)?void 0===I.redirectTo?this.matchSegmentAgainstRoute(p,f,I,W,de):Me&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(p,f,w,I,W,de):Tn(f):Tn(f)}expandSegmentAgainstRouteUsingRedirect(p,f,w,I,W,de){return"**"===I.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(p,w,I,de):this.expandRegularSegmentAgainstRouteUsingRedirect(p,f,w,I,W,de)}expandWildCardWithParamsAgainstRouteUsingRedirect(p,f,w,I){const W=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?At(W):this.lineralizeSegments(w,W).pipe((0,Ye.zg)(de=>{const Me=new ae(de,{});return this.expandSegment(p,Me,f,de,I,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(p,f,w,I,W,de){const{matched:Me,consumedSegments:Ke,lastChild:vt,positionalParamSegments:gn}=c(f,I,W);if(!Me)return Tn(f);const Nt=this.applyRedirectCommands(Ke,I.redirectTo,gn);return I.redirectTo.startsWith("/")?At(Nt):this.lineralizeSegments(I,Nt).pipe((0,Ye.zg)(_n=>this.expandSegment(p,f,w,_n.concat(W.slice(vt)),de,!1)))}matchSegmentAgainstRoute(p,f,w,I,W){if("**"===w.path)return w.loadChildren?(w._loadedConfig?(0,P.of)(w._loadedConfig):this.configLoader.load(p.injector,w)).pipe((0,Dt.U)(_n=>(w._loadedConfig=_n,new ae(I,{})))):(0,P.of)(new ae(I,{}));const{matched:de,consumedSegments:Me,lastChild:Ke}=c(f,w,I);if(!de)return Tn(f);const vt=I.slice(Ke);return this.getChildConfig(p,w,I).pipe((0,Ye.zg)(Nt=>{const _n=Nt.module,ln=Nt.routes,{segmentGroup:ls,slicedSegments:Cs}=C(f,Me,vt,ln),Si=new ae(ls.segments,ls.children);if(0===Cs.length&&Si.hasChildren())return this.expandChildren(_n,ln,Si).pipe((0,Dt.U)(us=>new ae(Me,us)));if(0===ln.length&&0===Cs.length)return(0,P.of)(new ae(Me,{}));const Wi=D(w)===W;return this.expandSegment(_n,Si,ln,Cs,Wi?ie:W,!0).pipe((0,Dt.U)(Yi=>new ae(Me.concat(Yi.segments),Yi.children)))}))}getChildConfig(p,f,w){return f.children?(0,P.of)(new Ci(f.children,p)):f.loadChildren?void 0!==f._loadedConfig?(0,P.of)(f._loadedConfig):this.runCanLoadGuards(p.injector,f,w).pipe((0,Ye.zg)(I=>{return I?this.configLoader.load(p.injector,f).pipe((0,Dt.U)(W=>(f._loadedConfig=W,W))):(y=f,new G.y(p=>p.error(pt(`Cannot load children because the guard of the route "path: '${y.path}'" returned false`))));var y})):(0,P.of)(new Ci([],p))}runCanLoadGuards(p,f,w){const I=f.canLoad;if(!I||0===I.length)return(0,P.of)(!0);const W=I.map(de=>{const Me=p.get(de);let Ke;if((y=Me)&&Kn(y.canLoad))Ke=Me.canLoad(f,w);else{if(!Kn(Me))throw new Error("Invalid CanLoad guard");Ke=Me(f,w)}var y;return un(Ke)});return(0,P.of)(W).pipe(Ln(),(0,De.b)(de=>{if(!Di(de))return;const Me=pt(`Redirecting to "${this.urlSerializer.serialize(de)}"`);throw Me.url=de,Me}),(0,Dt.U)(de=>!0===de))}lineralizeSegments(p,f){let w=[],I=f.root;for(;;){if(w=w.concat(I.segments),0===I.numberOfChildren)return(0,P.of)(w);if(I.numberOfChildren>1||!I.children[ie])return rs(p.redirectTo);I=I.children[ie]}}applyRedirectCommands(p,f,w){return this.applyRedirectCreatreUrlTree(f,this.urlSerializer.parse(f),p,w)}applyRedirectCreatreUrlTree(p,f,w,I){const W=this.createSegmentGroup(p,f.root,w,I);return new Oe(W,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(p,f){const w={};return Ht(p,(I,W)=>{if("string"==typeof I&&I.startsWith(":")){const Me=I.substring(1);w[W]=f[Me]}else w[W]=I}),w}createSegmentGroup(p,f,w,I){const W=this.createSegments(p,f.segments,w,I);let de={};return Ht(f.children,(Me,Ke)=>{de[Ke]=this.createSegmentGroup(p,Me,w,I)}),new ae(W,de)}createSegments(p,f,w,I){return f.map(W=>W.path.startsWith(":")?this.findPosParam(p,W,I):this.findOrReturn(W,w))}findPosParam(p,f,w){const I=w[f.path.substring(1)];if(!I)throw new Error(`Cannot redirect to '${p}'. Cannot find '${f.path}'.`);return I}findOrReturn(p,f){let w=0;for(const I of f){if(I.path===p.path)return f.splice(w),I;w++}return p}}function Vs(y){const p={};for(const w of Object.keys(y.children)){const W=Vs(y.children[w]);(W.segments.length>0||W.hasChildren())&&(p[w]=W)}return function(y){if(1===y.numberOfChildren&&y.children[ie]){const p=y.children[ie];return new ae(y.segments.concat(p.segments),p.children)}return y}(new ae(y.segments,p))}class nt{constructor(p){this.path=p,this.route=this.path[this.path.length-1]}}class qt{constructor(p,f){this.component=p,this.route=f}}function yr(y,p,f){const w=y._root;return L(w,p?p._root:null,f,[w.value])}function qs(y,p,f){const w=function(y){if(!y)return null;for(let p=y.parent;p;p=p.parent){const f=p.routeConfig;if(f&&f._loadedConfig)return f._loadedConfig}return null}(p);return(w?w.module.injector:f).get(y)}function L(y,p,f,w,I={canDeactivateChecks:[],canActivateChecks:[]}){const W=qn(p);return y.children.forEach(de=>{(function(y,p,f,w,I={canDeactivateChecks:[],canActivateChecks:[]}){const W=y.value,de=p?p.value:null,Me=f?f.getContext(y.value.outlet):null;if(de&&W.routeConfig===de.routeConfig){const Ke=function(y,p,f){if("function"==typeof f)return f(y,p);switch(f){case"pathParamsChange":return!$e(y.url,p.url);case"pathParamsOrQueryParamsChange":return!$e(y.url,p.url)||!xt(y.queryParams,p.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fn(y,p)||!xt(y.queryParams,p.queryParams);default:return!Fn(y,p)}}(de,W,W.routeConfig.runGuardsAndResolvers);Ke?I.canActivateChecks.push(new nt(w)):(W.data=de.data,W._resolvedData=de._resolvedData),L(y,p,W.component?Me?Me.children:null:f,w,I),Ke&&Me&&Me.outlet&&Me.outlet.isActivated&&I.canDeactivateChecks.push(new qt(Me.outlet.component,de))}else de&&b(p,Me,I),I.canActivateChecks.push(new nt(w)),L(y,null,W.component?Me?Me.children:null:f,w,I)})(de,W[de.value.outlet],f,w.concat([de.value]),I),delete W[de.value.outlet]}),Ht(W,(de,Me)=>b(de,f.getContext(Me),I)),I}function b(y,p,f){const w=qn(y),I=y.value;Ht(w,(W,de)=>{b(W,I.component?p?p.children.getContext(de):null:p,f)}),f.canDeactivateChecks.push(new qt(I.component&&p&&p.outlet&&p.outlet.isActivated?p.outlet.component:null,I))}class $t{}function Jt(y){return new G.y(p=>p.error(y))}class Wt{constructor(p,f,w,I,W,de){this.rootComponentType=p,this.config=f,this.urlTree=w,this.url=I,this.paramsInheritanceStrategy=W,this.relativeLinkResolution=de}recognize(){const p=C(this.urlTree.root,[],[],this.config.filter(de=>void 0===de.redirectTo),this.relativeLinkResolution).segmentGroup,f=this.processSegmentGroup(this.config,p,ie);if(null===f)return null;const w=new An([],Object.freeze({}),Object.freeze(gt({},this.urlTree.queryParams)),this.urlTree.fragment,{},ie,this.rootComponentType,null,this.urlTree.root,-1,{}),I=new Un(w,f),W=new xn(this.url,I);return this.inheritParamsAndData(W._root),W}inheritParamsAndData(p){const f=p.value,w=wn(f,this.paramsInheritanceStrategy);f.params=Object.freeze(w.params),f.data=Object.freeze(w.data),p.children.forEach(I=>this.inheritParamsAndData(I))}processSegmentGroup(p,f,w){return 0===f.segments.length&&f.hasChildren()?this.processChildren(p,f):this.processSegment(p,f,f.segments,w)}processChildren(p,f){const w=[];for(const W of Object.keys(f.children)){const de=f.children[W],Me=h(p,W),Ke=this.processSegmentGroup(Me,de,W);if(null===Ke)return null;w.push(...Ke)}const I=Hn(w);return I.sort((p,f)=>p.value.outlet===ie?-1:f.value.outlet===ie?1:p.value.outlet.localeCompare(f.value.outlet)),I}processSegment(p,f,w,I){for(const W of p){const de=this.processSegmentAgainstRoute(W,f,w,I);if(null!==de)return de}return tn(f,w,I)?[]:null}processSegmentAgainstRoute(p,f,w,I){if(p.redirectTo||!an(p,f,w,I))return null;let W,de=[],Me=[];if("**"===p.path){const ln=w.length>0?Ot(w).parameters:{};W=new An(w,ln,Object.freeze(gt({},this.urlTree.queryParams)),this.urlTree.fragment,Qn(p),D(p),p.component,p,as(f),ci(f)+w.length,wi(p))}else{const ln=c(f,p,w);if(!ln.matched)return null;de=ln.consumedSegments,Me=w.slice(ln.lastChild),W=new An(de,ln.parameters,Object.freeze(gt({},this.urlTree.queryParams)),this.urlTree.fragment,Qn(p),D(p),p.component,p,as(f),ci(f)+de.length,wi(p))}const Ke=(y=p).children?y.children:y.loadChildren?y._loadedConfig.routes:[],{segmentGroup:vt,slicedSegments:gn}=C(f,de,Me,Ke.filter(ln=>void 0===ln.redirectTo),this.relativeLinkResolution);var y;if(0===gn.length&&vt.hasChildren()){const ln=this.processChildren(Ke,vt);return null===ln?null:[new Un(W,ln)]}if(0===Ke.length&&0===gn.length)return[new Un(W,[])];const Nt=D(p)===I,_n=this.processSegment(Ke,vt,gn,Nt?ie:I);return null===_n?null:[new Un(W,_n)]}}function In(y){const p=y.value.routeConfig;return p&&""===p.path&&void 0===p.redirectTo}function Hn(y){const p=[],f=new Set;for(const w of y){if(!In(w)){p.push(w);continue}const I=p.find(W=>w.value.routeConfig===W.value.routeConfig);void 0!==I?(I.children.push(...w.children),f.add(I)):p.push(w)}for(const w of f){const I=Hn(w.children);p.push(new Un(w.value,I))}return p.filter(w=>!f.has(w))}function as(y){let p=y;for(;p._sourceSegment;)p=p._sourceSegment;return p}function ci(y){let p=y,f=p._segmentIndexShift?p._segmentIndexShift:0;for(;p._sourceSegment;)p=p._sourceSegment,f+=p._segmentIndexShift?p._segmentIndexShift:0;return f-1}function Qn(y){return y.data||{}}function wi(y){return y.resolve||{}}function zn(y){return(0,Bt.w)(p=>{const f=y(p);return f?(0,Q.D)(f).pipe((0,Dt.U)(()=>p)):(0,P.of)(p)})}class Tt extends class{shouldDetach(p){return!1}store(p,f){}shouldAttach(p){return!1}retrieve(p){return null}shouldReuseRoute(p,f){return p.routeConfig===f.routeConfig}}{}const jt=new _.OlP("ROUTES");class rn{constructor(p,f,w,I){this.injector=p,this.compiler=f,this.onLoadStartListener=w,this.onLoadEndListener=I}load(p,f){if(f._loader$)return f._loader$;this.onLoadStartListener&&this.onLoadStartListener(f);const I=this.loadModuleFactory(f.loadChildren).pipe((0,Dt.U)(W=>{this.onLoadEndListener&&this.onLoadEndListener(f);const de=W.create(p);return new Ci(yt(de.injector.get(jt,void 0,_.XFs.Self|_.XFs.Optional)).map(vs),de)}),(0,bt.K)(W=>{throw f._loader$=void 0,W}));return f._loader$=new j.c(I,()=>new V.xQ).pipe((0,X.x)()),f._loader$}loadModuleFactory(p){return un(p()).pipe((0,Ye.zg)(f=>f instanceof _.YKP?(0,P.of)(f):(0,Q.D)(this.compiler.compileModuleAsync(f))))}}class Ni{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,f){return p}}function pi(y){throw y}function Mi(y,p,f){return p.parse("/")}function En(y,p){return(0,P.of)(null)}const lr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Bn=(()=>{class y{constructor(f,w,I,W,de,Me,Ke){this.rootComponentType=f,this.urlSerializer=w,this.rootContexts=I,this.location=W,this.config=Ke,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new V.xQ,this.errorHandler=pi,this.malformedUriErrorHandler=Mi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:En,afterPreactivation:En},this.urlHandlingStrategy=new Ni,this.routeReuseStrategy=new Tt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=de.get(_.h0i),this.console=de.get(_.c2e);const Nt=de.get(_.R0b);this.isNgZoneEnabled=Nt instanceof _.R0b&&_.R0b.isInAngularZone(),this.resetConfig(Ke),this.currentUrlTree=new Oe(new ae([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rn(de,Me,_n=>this.triggerEvent(new ot(_n)),_n=>this.triggerEvent(new Ie(_n))),this.routerState=ai(this.currentUrlTree,this.rootComponentType),this.transitions=new $.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var f;return null==(f=this.location.getState())?void 0:f.\u0275routerPageId}setupNavigations(f){const w=this.events;return f.pipe((0,je.h)(I=>0!==I.id),(0,Dt.U)(I=>ei(gt({},I),{extractedUrl:this.urlHandlingStrategy.extract(I.rawUrl)})),(0,Bt.w)(I=>{let W=!1,de=!1;return(0,P.of)(I).pipe((0,De.b)(Me=>{this.currentNavigation={id:Me.id,initialUrl:Me.currentRawUrl,extractedUrl:Me.extractedUrl,trigger:Me.source,extras:Me.extras,previousNavigation:this.lastSuccessfulNavigation?ei(gt({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Bt.w)(Me=>{const Ke=this.browserUrlTree.toString(),vt=!this.navigated||Me.extractedUrl.toString()!==Ke||Ke!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||vt)&&this.urlHandlingStrategy.shouldProcessUrl(Me.rawUrl))return Zn(Me.source)&&(this.browserUrlTree=Me.extractedUrl),(0,P.of)(Me).pipe((0,Bt.w)(Nt=>{const _n=this.transitions.getValue();return w.next(new H(Nt.id,this.serializeUrl(Nt.extractedUrl),Nt.source,Nt.restoredState)),_n!==this.transitions.getValue()?R.E:Promise.resolve(Nt)}),function(y,p,f,w){return(0,Bt.w)(I=>function(y,p,f,w,I){return new or(y,p,f,w,I).apply()}(y,p,f,I.extractedUrl,w).pipe((0,Dt.U)(W=>ei(gt({},I),{urlAfterRedirects:W}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,De.b)(Nt=>{this.currentNavigation=ei(gt({},this.currentNavigation),{finalUrl:Nt.urlAfterRedirects})}),function(y,p,f,w,I){return(0,Ye.zg)(W=>function(y,p,f,w,I="emptyOnly",W="legacy"){try{const de=new Wt(y,p,f,w,I,W).recognize();return null===de?Jt(new $t):(0,P.of)(de)}catch(de){return Jt(de)}}(y,p,W.urlAfterRedirects,f(W.urlAfterRedirects),w,I).pipe((0,Dt.U)(de=>ei(gt({},W),{targetSnapshot:de}))))}(this.rootComponentType,this.config,Nt=>this.serializeUrl(Nt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,De.b)(Nt=>{if("eager"===this.urlUpdateStrategy){if(!Nt.extras.skipLocationChange){const ln=this.urlHandlingStrategy.merge(Nt.urlAfterRedirects,Nt.rawUrl);this.setBrowserUrl(ln,Nt)}this.browserUrlTree=Nt.urlAfterRedirects}const _n=new J(Nt.id,this.serializeUrl(Nt.extractedUrl),this.serializeUrl(Nt.urlAfterRedirects),Nt.targetSnapshot);w.next(_n)}));if(vt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:_n,extractedUrl:ln,source:ls,restoredState:Cs,extras:Si}=Me,Wi=new H(_n,this.serializeUrl(ln),ls,Cs);w.next(Wi);const cs=ai(ln,this.rootComponentType).snapshot;return(0,P.of)(ei(gt({},Me),{targetSnapshot:cs,urlAfterRedirects:ln,extras:ei(gt({},Si),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Me.rawUrl,Me.resolve(null),R.E}),zn(Me=>{const{targetSnapshot:Ke,id:vt,extractedUrl:gn,rawUrl:Nt,extras:{skipLocationChange:_n,replaceUrl:ln}}=Me;return this.hooks.beforePreactivation(Ke,{navigationId:vt,appliedUrlTree:gn,rawUrlTree:Nt,skipLocationChange:!!_n,replaceUrl:!!ln})}),(0,De.b)(Me=>{const Ke=new ue(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot);this.triggerEvent(Ke)}),(0,Dt.U)(Me=>ei(gt({},Me),{guards:yr(Me.targetSnapshot,Me.currentSnapshot,this.rootContexts)})),function(y,p){return(0,Ye.zg)(f=>{const{targetSnapshot:w,currentSnapshot:I,guards:{canActivateChecks:W,canDeactivateChecks:de}}=f;return 0===de.length&&0===W.length?(0,P.of)(ei(gt({},f),{guardsResult:!0})):function(y,p,f,w){return(0,Q.D)(y).pipe((0,Ye.zg)(I=>function(y,p,f,w,I){const W=p&&p.routeConfig?p.routeConfig.canDeactivate:null;if(!W||0===W.length)return(0,P.of)(!0);const de=W.map(Me=>{const Ke=qs(Me,p,I);let vt;if(function(y){return y&&Kn(y.canDeactivate)}(Ke))vt=un(Ke.canDeactivate(y,p,f,w));else{if(!Kn(Ke))throw new Error("Invalid CanDeactivate guard");vt=un(Ke(y,p,f,w))}return vt.pipe(Kt())});return(0,P.of)(de).pipe(Ln())}(I.component,I.route,f,p,w)),Kt(I=>!0!==I,!0))}(de,w,I,y).pipe((0,Ye.zg)(Me=>Me&&function(y){return"boolean"==typeof y}(Me)?function(y,p,f,w){return(0,Q.D)(p).pipe((0,lt.b)(I=>(0,T.z)(function(y,p){return null!==y&&p&&p(new ne(y)),(0,P.of)(!0)}(I.route.parent,w),function(y,p){return null!==y&&p&&p(new S(y)),(0,P.of)(!0)}(I.route,w),function(y,p,f){const w=p[p.length-1],W=p.slice(0,p.length-1).reverse().map(de=>function(y){const p=y.routeConfig?y.routeConfig.canActivateChild:null;return p&&0!==p.length?{node:y,guards:p}:null}(de)).filter(de=>null!==de).map(de=>(0,k.P)(()=>{const Me=de.guards.map(Ke=>{const vt=qs(Ke,de.node,f);let gn;if(function(y){return y&&Kn(y.canActivateChild)}(vt))gn=un(vt.canActivateChild(w,y));else{if(!Kn(vt))throw new Error("Invalid CanActivateChild guard");gn=un(vt(w,y))}return gn.pipe(Kt())});return(0,P.of)(Me).pipe(Ln())}));return(0,P.of)(W).pipe(Ln())}(y,I.path,f),function(y,p,f){const w=p.routeConfig?p.routeConfig.canActivate:null;if(!w||0===w.length)return(0,P.of)(!0);const I=w.map(W=>(0,k.P)(()=>{const de=qs(W,p,f);let Me;if(function(y){return y&&Kn(y.canActivate)}(de))Me=un(de.canActivate(p,y));else{if(!Kn(de))throw new Error("Invalid CanActivate guard");Me=un(de(p,y))}return Me.pipe(Kt())}));return(0,P.of)(I).pipe(Ln())}(y,I.route,f))),Kt(I=>!0!==I,!0))}(w,W,y,p):(0,P.of)(Me)),(0,Dt.U)(Me=>ei(gt({},f),{guardsResult:Me})))})}(this.ngModule.injector,Me=>this.triggerEvent(Me)),(0,De.b)(Me=>{if(Di(Me.guardsResult)){const vt=pt(`Redirecting to "${this.serializeUrl(Me.guardsResult)}"`);throw vt.url=Me.guardsResult,vt}const Ke=new Ne(Me.id,this.serializeUrl(Me.extractedUrl),this.serializeUrl(Me.urlAfterRedirects),Me.targetSnapshot,!!Me.guardsResult);this.triggerEvent(Ke)}),(0,je.h)(Me=>!!Me.guardsResult||(this.restoreHistory(Me),this.cancelNavigationTransition(Me,""),!1)),zn(Me=>{if(Me.guards.canActivateChecks.length)return(0,P.of)(Me).pipe((0,De.b)(Ke=>{const vt=new Je(Ke.id,this.serializeUrl(Ke.extractedUrl),this.serializeUrl(Ke.urlAfterRedirects),Ke.targetSnapshot);this.triggerEvent(vt)}),(0,Bt.w)(Ke=>{let vt=!1;return(0,P.of)(Ke).pipe(function(y,p){return(0,Ye.zg)(f=>{const{targetSnapshot:w,guards:{canActivateChecks:I}}=f;if(!I.length)return(0,P.of)(f);let W=0;return(0,Q.D)(I).pipe((0,lt.b)(de=>function(y,p,f,w){return function(y,p,f,w){const I=Object.keys(y);if(0===I.length)return(0,P.of)({});const W={};return(0,Q.D)(I).pipe((0,Ye.zg)(de=>function(y,p,f,w){const I=qs(y,p,w);return un(I.resolve?I.resolve(p,f):I(p,f))}(y[de],p,f,w).pipe((0,De.b)(Me=>{W[de]=Me}))),Ge(1),(0,Ye.zg)(()=>Object.keys(W).length===I.length?(0,P.of)(W):R.E))}(y._resolve,y,p,w).pipe((0,Dt.U)(W=>(y._resolvedData=W,y.data=gt(gt({},y.data),wn(y,f).resolve),null)))}(de.route,w,y,p)),(0,De.b)(()=>W++),Ge(1),(0,Ye.zg)(de=>W===I.length?(0,P.of)(f):R.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,De.b)({next:()=>vt=!0,complete:()=>{vt||(this.restoreHistory(Ke),this.cancelNavigationTransition(Ke,"At least one route resolver didn't emit any value."))}}))}),(0,De.b)(Ke=>{const vt=new ze(Ke.id,this.serializeUrl(Ke.extractedUrl),this.serializeUrl(Ke.urlAfterRedirects),Ke.targetSnapshot);this.triggerEvent(vt)}))}),zn(Me=>{const{targetSnapshot:Ke,id:vt,extractedUrl:gn,rawUrl:Nt,extras:{skipLocationChange:_n,replaceUrl:ln}}=Me;return this.hooks.afterPreactivation(Ke,{navigationId:vt,appliedUrlTree:gn,rawUrlTree:Nt,skipLocationChange:!!_n,replaceUrl:!!ln})}),(0,Dt.U)(Me=>{const Ke=function(y,p,f){const w=ps(y,p._root,f?f._root:void 0);return new Bi(w,p)}(this.routeReuseStrategy,Me.targetSnapshot,Me.currentRouterState);return ei(gt({},Me),{targetRouterState:Ke})}),(0,De.b)(Me=>{this.currentUrlTree=Me.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Me.urlAfterRedirects,Me.rawUrl),this.routerState=Me.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Me.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Me),this.browserUrlTree=Me.urlAfterRedirects)}),((y,p,f)=>(0,Dt.U)(w=>(new ii(p,w.targetRouterState,w.currentRouterState,f).activate(y),w)))(this.rootContexts,this.routeReuseStrategy,Me=>this.triggerEvent(Me)),(0,De.b)({next(){W=!0},complete(){W=!0}}),(0,Te.x)(()=>{var Me;W||de||this.cancelNavigationTransition(I,`Navigation ID ${I.id} is not equal to the current navigation id ${this.navigationId}`),(null==(Me=this.currentNavigation)?void 0:Me.id)===I.id&&(this.currentNavigation=null)}),(0,bt.K)(Me=>{if(de=!0,function(y){return y&&y[et]}(Me)){const Ke=Di(Me.url);Ke||(this.navigated=!0,this.restoreHistory(I,!0));const vt=new be(I.id,this.serializeUrl(I.extractedUrl),Me.message);w.next(vt),Ke?setTimeout(()=>{const gn=this.urlHandlingStrategy.merge(Me.url,this.rawUrlTree),Nt={skipLocationChange:I.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Zn(I.source)};this.scheduleNavigation(gn,"imperative",null,Nt,{resolve:I.resolve,reject:I.reject,promise:I.promise})},0):I.resolve(!1)}else{this.restoreHistory(I,!0);const Ke=new fe(I.id,this.serializeUrl(I.extractedUrl),Me);w.next(Ke);try{I.resolve(this.errorHandler(Me))}catch(vt){I.reject(vt)}}return R.E}))}))}resetRootComponentType(f){this.rootComponentType=f,this.routerState.root.component=this.rootComponentType}setTransition(f){this.transitions.next(gt(gt({},this.transitions.value),f))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const w="popstate"===f.type?"popstate":"hashchange";"popstate"===w&&setTimeout(()=>{var Me;const I={replaceUrl:!0},W=(null==(Me=f.state)?void 0:Me.navigationId)?f.state:null;if(W){const Ke=gt({},W);delete Ke.navigationId,delete Ke.\u0275routerPageId,0!==Object.keys(Ke).length&&(I.state=Ke)}const de=this.parseUrl(f.url);this.scheduleNavigation(de,w,W,I)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(f){this.events.next(f)}resetConfig(f){ys(f),this.config=f.map(vs),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(f,w={}){const{relativeTo:I,queryParams:W,fragment:de,queryParamsHandling:Me,preserveFragment:Ke}=w,vt=I||this.routerState.root,gn=Ke?this.currentUrlTree.fragment:de;let Nt=null;switch(Me){case"merge":Nt=gt(gt({},this.currentUrlTree.queryParams),W);break;case"preserve":Nt=this.currentUrlTree.queryParams;break;default:Nt=W||null}return null!==Nt&&(Nt=this.removeEmptyProps(Nt)),function(y,p,f,w,I){if(0===f.length)return Ei(p.root,p.root,p,w,I);const W=function(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new jn(!0,0,y);let p=0,f=!1;const w=y.reduce((I,W,de)=>{if("object"==typeof W&&null!=W){if(W.outlets){const Me={};return Ht(W.outlets,(Ke,vt)=>{Me[vt]="string"==typeof Ke?Ke.split("/"):Ke}),[...I,{outlets:Me}]}if(W.segmentPath)return[...I,W.segmentPath]}return"string"!=typeof W?[...I,W]:0===de?(W.split("/").forEach((Me,Ke)=>{0==Ke&&"."===Me||(0==Ke&&""===Me?f=!0:".."===Me?p++:""!=Me&&I.push(Me))}),I):[...I,W]},[]);return new jn(f,p,w)}(f);if(W.toRoot())return Ei(p.root,new ae([],{}),p,w,I);const de=function(y,p,f){if(y.isAbsolute)return new xs(p.root,!0,0);if(-1===f.snapshot._lastPathIndex){const W=f.snapshot._urlSegment;return new xs(W,W===p.root,0)}const w=Ri(y.commands[0])?0:1;return function(y,p,f){let w=y,I=p,W=f;for(;W>I;){if(W-=I,w=w.parent,!w)throw new Error("Invalid number of '../'");I=w.segments.length}return new xs(w,!1,I-W)}(f.snapshot._urlSegment,f.snapshot._lastPathIndex+w,y.numberOfDoubleDots)}(W,p,y),Me=de.processChildren?Pi(de.segmentGroup,de.index,W.commands):ts(de.segmentGroup,de.index,W.commands);return Ei(de.segmentGroup,Me,p,w,I)}(vt,this.currentUrlTree,f,Nt,null!=gn?gn:null)}navigateByUrl(f,w={skipLocationChange:!1}){const I=Di(f)?f:this.parseUrl(f),W=this.urlHandlingStrategy.merge(I,this.rawUrlTree);return this.scheduleNavigation(W,"imperative",null,w)}navigate(f,w={skipLocationChange:!1}){return function(y){for(let p=0;p<y.length;p++){const f=y[p];if(null==f)throw new Error(`The requested path contains ${f} segment at index ${p}`)}}(f),this.navigateByUrl(this.createUrlTree(f,w),w)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let w;try{w=this.urlSerializer.parse(f)}catch(I){w=this.malformedUriErrorHandler(I,this.urlSerializer,f)}return w}isActive(f,w){let I;if(I=!0===w?gt({},lr):!1===w?gt({},yi):w,Di(f))return N(this.currentUrlTree,f,I);const W=this.parseUrl(f);return N(this.currentUrlTree,W,I)}removeEmptyProps(f){return Object.keys(f).reduce((w,I)=>{const W=f[I];return null!=W&&(w[I]=W),w},{})}processNavigations(){this.navigations.subscribe(f=>{this.navigated=!0,this.lastSuccessfulId=f.id,this.currentPageId=f.targetPageId,this.events.next(new _e(f.id,this.serializeUrl(f.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,f.resolve(!0)},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)})}scheduleNavigation(f,w,I,W,de){var Wi,cs,Yi;if(this.disposed)return Promise.resolve(!1);const Me=this.transitions.value,Ke=Zn(w)&&Me&&!Zn(Me.source),vt=Me.rawUrl.toString()===f.toString(),gn=Me.id===(null==(Wi=this.currentNavigation)?void 0:Wi.id);if(Ke&&vt&&gn)return Promise.resolve(!0);let _n,ln,ls;de?(_n=de.resolve,ln=de.reject,ls=de.promise):ls=new Promise((us,go)=>{_n=us,ln=go});const Cs=++this.navigationId;let Si;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(I=this.location.getState()),Si=I&&I.\u0275routerPageId?I.\u0275routerPageId:W.replaceUrl||W.skipLocationChange?null!=(cs=this.browserPageId)?cs:0:(null!=(Yi=this.browserPageId)?Yi:0)+1):Si=0,this.setTransition({id:Cs,targetPageId:Si,source:w,restoredState:I,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:f,extras:W,resolve:_n,reject:ln,promise:ls,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ls.catch(us=>Promise.reject(us))}setBrowserUrl(f,w){const I=this.urlSerializer.serialize(f),W=gt(gt({},w.extras.state),this.generateNgRouterState(w.id,w.targetPageId));this.location.isCurrentPathEqualTo(I)||w.extras.replaceUrl?this.location.replaceState(I,"",W):this.location.go(I,"",W)}restoreHistory(f,w=!1){var I,W;if("computed"===this.canceledNavigationResolution){const de=this.currentPageId-f.targetPageId;"popstate"!==f.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(I=this.currentNavigation)?void 0:I.finalUrl)||0===de?this.currentUrlTree===(null==(W=this.currentNavigation)?void 0:W.finalUrl)&&0===de&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(de)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(f,w){const I=new be(f.id,this.serializeUrl(f.extractedUrl),w);this.triggerEvent(I),f.resolve(!1)}generateNgRouterState(f,w){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:w}:{navigationId:f}}}return y.\u0275fac=function(f){_.$Z()},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})();function Zn(y){return"imperative"!==y}let $i=(()=>{class y{constructor(f,w,I,W,de){this.router=f,this.route=w,this.tabIndexAttribute=I,this.renderer=W,this.el=de,this.commands=null,this.onChanges=new V.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(f){if(null!=this.tabIndexAttribute)return;const w=this.renderer,I=this.el.nativeElement;null!==f?w.setAttribute(I,"tabindex",f):w.removeAttribute(I,"tabindex")}ngOnChanges(f){this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const f={skipLocationChange:ur(this.skipLocationChange),replaceUrl:ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,f),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ur(this.preserveFragment)})}}return y.\u0275fac=function(f){return new(f||y)(_.Y36(Bn),_.Y36(Sn),_.$8M("tabindex"),_.Y36(_.Qsj),_.Y36(_.SBq))},y.\u0275dir=_.lG2({type:y,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(f,w){1&f&&_.NdJ("click",function(){return w.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[_.TTD]}),y})(),Ir=(()=>{class y{constructor(f,w,I){this.router=f,this.route=w,this.locationStrategy=I,this.commands=null,this.href=null,this.onChanges=new V.xQ,this.subscription=f.events.subscribe(W=>{W instanceof _e&&this.updateTargetUrlAndHref()})}set routerLink(f){this.commands=null!=f?Array.isArray(f)?f:[f]:null}ngOnChanges(f){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(f,w,I,W,de){if(0!==f||w||I||W||de||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Me={skipLocationChange:ur(this.skipLocationChange),replaceUrl:ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Me),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ur(this.preserveFragment)})}}return y.\u0275fac=function(f){return new(f||y)(_.Y36(Bn),_.Y36(Sn),_.Y36(a.S$))},y.\u0275dir=_.lG2({type:y,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(f,w){1&f&&_.NdJ("click",function(W){return w.onClick(W.button,W.ctrlKey,W.shiftKey,W.altKey,W.metaKey)}),2&f&&_.uIk("target",w.target)("href",w.href,_.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[_.TTD]}),y})();function ur(y){return""===y||!!y}let dr=(()=>{class y{constructor(f,w,I,W,de,Me){this.router=f,this.element=w,this.renderer=I,this.cdr=W,this.link=de,this.linkWithHref=Me,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new _.vpe,this.routerEventsSubscription=f.events.subscribe(Ke=>{Ke instanceof _e&&this.update()})}ngAfterContentInit(){(0,P.of)(this.links.changes,this.linksWithHrefs.changes,(0,P.of)(null)).pipe((0,oe.J)()).subscribe(f=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var w;null==(w=this.linkInputChangesSubscription)||w.unsubscribe();const f=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(I=>!!I).map(I=>I.onChanges);this.linkInputChangesSubscription=(0,Q.D)(f).pipe((0,oe.J)()).subscribe(I=>{this.isActive!==this.isLinkActive(this.router)(I)&&this.update()})}set routerLinkActive(f){const w=Array.isArray(f)?f:f.split(" ");this.classes=w.filter(I=>!!I)}ngOnChanges(f){this.update()}ngOnDestroy(){var f;this.routerEventsSubscription.unsubscribe(),null==(f=this.linkInputChangesSubscription)||f.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const f=this.hasActiveLinks();this.isActive!==f&&(this.isActive=f,this.cdr.markForCheck(),this.classes.forEach(w=>{f?this.renderer.addClass(this.element.nativeElement,w):this.renderer.removeClass(this.element.nativeElement,w)}),this.isActiveChange.emit(f))})}isLinkActive(f){const w=function(y){return!!y.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return I=>!!I.urlTree&&f.isActive(I.urlTree,w)}hasActiveLinks(){const f=this.isLinkActive(this.router);return this.link&&f(this.link)||this.linkWithHref&&f(this.linkWithHref)||this.links.some(f)||this.linksWithHrefs.some(f)}}return y.\u0275fac=function(f){return new(f||y)(_.Y36(Bn),_.Y36(_.SBq),_.Y36(_.Qsj),_.Y36(_.sBO),_.Y36($i,8),_.Y36(Ir,8))},y.\u0275dir=_.lG2({type:y,selectors:[["","routerLinkActive",""]],contentQueries:function(f,w,I){if(1&f&&(_.Suo(I,$i,5),_.Suo(I,Ir,5)),2&f){let W;_.iGM(W=_.CRH())&&(w.links=W),_.iGM(W=_.CRH())&&(w.linksWithHrefs=W)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[_.TTD]}),y})();class Xo{}class Ua{preload(p,f){return(0,P.of)(null)}}let ja=(()=>{class y{constructor(f,w,I,W){this.router=f,this.injector=I,this.preloadingStrategy=W,this.loader=new rn(I,w,Ke=>f.triggerEvent(new ot(Ke)),Ke=>f.triggerEvent(new Ie(Ke)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,je.h)(f=>f instanceof _e),(0,lt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const f=this.injector.get(_.h0i);return this.processRoutes(f,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,w){const I=[];for(const W of w)if(W.loadChildren&&!W.canLoad&&W._loadedConfig){const de=W._loadedConfig;I.push(this.processRoutes(de.module,de.routes))}else W.loadChildren&&!W.canLoad?I.push(this.preloadConfig(f,W)):W.children&&I.push(this.processRoutes(f,W.children));return(0,Q.D)(I).pipe((0,oe.J)(),(0,Dt.U)(W=>{}))}preloadConfig(f,w){return this.preloadingStrategy.preload(w,()=>(w._loadedConfig?(0,P.of)(w._loadedConfig):this.loader.load(f.injector,w)).pipe((0,Ye.zg)(W=>(w._loadedConfig=W,this.processRoutes(W.module,W.routes)))))}}return y.\u0275fac=function(f){return new(f||y)(_.LFG(Bn),_.LFG(_.Sil),_.LFG(_.zs3),_.LFG(Xo))},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})(),hr=(()=>{class y{constructor(f,w,I={}){this.router=f,this.viewportScroller=w,this.options=I,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},I.scrollPositionRestoration=I.scrollPositionRestoration||"disabled",I.anchorScrolling=I.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(f=>{f instanceof H?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof _e&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.router.parseUrl(f.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(f=>{f instanceof te&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,w){this.router.triggerEvent(new te(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return y.\u0275fac=function(f){_.$Z()},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})();const Es=new _.OlP("ROUTER_CONFIGURATION"),vr=new _.OlP("ROUTER_FORROOT_GUARD"),qo=[a.Ye,{provide:Ft,useClass:Qt},{provide:Bn,useFactory:function(y,p,f,w,I,W,de={},Me,Ke){const vt=new Bn(null,y,p,f,w,I,yt(W));return Me&&(vt.urlHandlingStrategy=Me),Ke&&(vt.routeReuseStrategy=Ke),function(y,p){y.errorHandler&&(p.errorHandler=y.errorHandler),y.malformedUriErrorHandler&&(p.malformedUriErrorHandler=y.malformedUriErrorHandler),y.onSameUrlNavigation&&(p.onSameUrlNavigation=y.onSameUrlNavigation),y.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=y.paramsInheritanceStrategy),y.relativeLinkResolution&&(p.relativeLinkResolution=y.relativeLinkResolution),y.urlUpdateStrategy&&(p.urlUpdateStrategy=y.urlUpdateStrategy),y.canceledNavigationResolution&&(p.canceledNavigationResolution=y.canceledNavigationResolution)}(de,vt),de.enableTracing&&vt.events.subscribe(gn=>{var Nt,_n;null==(Nt=console.group)||Nt.call(console,`Router Event: ${gn.constructor.name}`),console.log(gn.toString()),console.log(gn),null==(_n=console.groupEnd)||_n.call(console)}),vt},deps:[Ft,is,a.Ye,_.zs3,_.Sil,jt,Es,[class{},new _.FiY],[class{},new _.FiY]]},is,{provide:Sn,useFactory:function(y){return y.routerState.root},deps:[Bn]},ja,Ua,class{preload(p,f){return f().pipe((0,bt.K)(()=>(0,P.of)(null)))}},{provide:Es,useValue:{enableTracing:!1}}];function Jo(){return new _.PXZ("Router",Bn)}let fr=(()=>{class y{constructor(f,w){}static forRoot(f,w){return{ngModule:y,providers:[qo,br(f),{provide:vr,useFactory:ho,deps:[[Bn,new _.FiY,new _.tp0]]},{provide:Es,useValue:w||{}},{provide:a.S$,useFactory:pr,deps:[a.lw,[new _.tBr(a.mr),new _.FiY],Es]},{provide:hr,useFactory:za,deps:[Bn,a.EM,Es]},{provide:Xo,useExisting:w&&w.preloadingStrategy?w.preloadingStrategy:Ua},{provide:_.PXZ,multi:!0,useFactory:Jo},[fo,{provide:_.ip1,multi:!0,useFactory:Ga,deps:[fo]},{provide:xr,useFactory:Er,deps:[fo]},{provide:_.tb,multi:!0,useExisting:xr}]]}}static forChild(f){return{ngModule:y,providers:[br(f)]}}}return y.\u0275fac=function(f){return new(f||y)(_.LFG(vr,8),_.LFG(Bn,8))},y.\u0275mod=_.oAB({type:y}),y.\u0275inj=_.cJS({}),y})();function za(y,p,f){return f.scrollOffset&&p.setOffset(f.scrollOffset),new hr(y,p,f)}function pr(y,p,f={}){return f.useHash?new a.Do(y,p):new a.b0(y,p)}function ho(y){return"guarded"}function br(y){return[{provide:_.deG,multi:!0,useValue:y},{provide:jt,multi:!0,useValue:y}]}let fo=(()=>{class y{constructor(f){this.injector=f,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new V.xQ}appInitializer(){return this.injector.get(a.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let w=null;const I=new Promise(Me=>w=Me),W=this.injector.get(Bn),de=this.injector.get(Es);return"disabled"===de.initialNavigation?(W.setUpLocationChangeListener(),w(!0)):"enabled"===de.initialNavigation||"enabledBlocking"===de.initialNavigation?(W.hooks.afterPreactivation=()=>this.initNavigation?(0,P.of)(null):(this.initNavigation=!0,w(!0),this.resultOfPreactivationDone),W.initialNavigation()):w(!0),I})}bootstrapListener(f){const w=this.injector.get(Es),I=this.injector.get(ja),W=this.injector.get(hr),de=this.injector.get(Bn),Me=this.injector.get(_.z2F);f===Me.components[0]&&(("enabledNonBlocking"===w.initialNavigation||void 0===w.initialNavigation)&&de.initialNavigation(),I.setUpPreloading(),W.init(),de.resetRootComponentType(Me.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return y.\u0275fac=function(f){return new(f||y)(_.LFG(_.zs3))},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac}),y})();function Ga(y){return y.appInitializer.bind(y)}function Er(y){return y.bootstrapListener.bind(y)}const xr=new _.OlP("Router Initializer")}},Qe=>{Qe(Qe.s=586)}]);