diff --git a/pipboyUI/dist/pipboy-ui/index.html b/pipboyUI/dist/pipboy-ui/index.html index ed87e68..ae4558c 100644 --- a/pipboyUI/dist/pipboy-ui/index.html +++ b/pipboyUI/dist/pipboy-ui/index.html @@ -7,9 +7,9 @@ - + - + \ No newline at end of file diff --git a/pipboyUI/dist/pipboy-ui/main.4f49978fff4f95f7.js b/pipboyUI/dist/pipboy-ui/main.4f49978fff4f95f7.js deleted file mode 100644 index ed44afc..0000000 --- a/pipboyUI/dist/pipboy-ui/main.4f49978fff4f95f7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpipboyUI=self.webpackChunkpipboyUI||[]).push([[179],{856:()=>{function oe(n){return"function"==typeof n}function So(n){const t=n(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Xs=So(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function pr(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class et{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(oe(i))try{i()}catch(o){e=o instanceof Xs?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Rm(o)}catch(s){e=e??[],s instanceof Xs?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Xs(e)}}add(e){var t;if(e&&e!==this)if(this.closed)Rm(e);else{if(e instanceof et){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&pr(t,e)}remove(e){const{_finalizers:t}=this;t&&pr(t,e),e instanceof et&&e._removeParent(this)}}et.EMPTY=(()=>{const n=new et;return n.closed=!0,n})();const Tm=et.EMPTY;function xm(n){return n instanceof et||n&&"closed"in n&&oe(n.remove)&&oe(n.add)&&oe(n.unsubscribe)}function Rm(n){oe(n)?n():n.unsubscribe()}const Oi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Js={setTimeout(n,e,...t){const{delegate:i}=Js;return i?.setTimeout?i.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=Js;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function km(n){Js.setTimeout(()=>{const{onUnhandledError:e}=Oi;if(!e)throw n;e(n)})}function ea(){}const dM=eu("C",void 0,void 0);function eu(n,e,t){return{kind:n,value:e,error:t}}let Pi=null;function ta(n){if(Oi.useDeprecatedSynchronousErrorHandling){const e=!Pi;if(e&&(Pi={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:i}=Pi;if(Pi=null,t)throw i}}else n()}class na extends et{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,xm(e)&&e.add(this)):this.destination=yM}static create(e,t,i){return new Mo(e,t,i)}next(e){this.isStopped?nu(function fM(n){return eu("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?nu(function hM(n){return eu("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?nu(dM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const mM=Function.prototype.bind;function tu(n,e){return mM.call(n,e)}class gM{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){ia(i)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){ia(i)}else ia(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){ia(t)}}}class Mo extends na{constructor(e,t,i){let r;if(super(),oe(e)||!e)r={next:e??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Oi.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&tu(e.next,o),error:e.error&&tu(e.error,o),complete:e.complete&&tu(e.complete,o)}):r=e}this.destination=new gM(r)}}function ia(n){Oi.useDeprecatedSynchronousErrorHandling?function pM(n){Oi.useDeprecatedSynchronousErrorHandling&&Pi&&(Pi.errorThrown=!0,Pi.error=n)}(n):km(n)}function nu(n,e){const{onStoppedNotification:t}=Oi;t&&Js.setTimeout(()=>t(n,e))}const yM={closed:!0,next:ea,error:function _M(n){throw n},complete:ea},iu="function"==typeof Symbol&&Symbol.observable||"@@observable";function ci(n){return n}function Fm(n){return 0===n.length?ci:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}let ve=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new n;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function CM(n){return n&&n instanceof na||function bM(n){return n&&oe(n.next)&&oe(n.error)&&oe(n.complete)}(n)&&xm(n)}(t)?t:new Mo(t,i,r);return ta(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Om(i))((r,o)=>{const s=new Mo({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[iu](){return this}pipe(...t){return Fm(t)(this)}toPromise(t){return new(t=Om(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=e=>new n(e),n})();function Om(n){var e;return null!==(e=n??Oi.Promise)&&void 0!==e?e:Promise}const wM=So(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ae=(()=>{class n extends ve{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new ru(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new wM}next(t){ta(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){ta(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){ta(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Tm:(this.currentObservers=null,o.push(t),new et(()=>{this.currentObservers=null,pr(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new ve;return t.source=this,t}}return n.create=(e,t)=>new ru(e,t),n})();class ru extends ae{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)}error(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Tm}}function Pm(n){return oe(n?.lift)}function Ae(n){return e=>{if(Pm(e))return e.lift(function(t){try{return n(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function me(n,e,t,i,r){return new DM(n,e,t,i,r)}class DM extends na{constructor(e,t,i,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function B(n,e){return Ae((t,i)=>{let r=0;t.subscribe(me(i,o=>{i.next(n.call(e,o,r++))}))})}function ui(n){return this instanceof ui?(this.v=n,this):new ui(n)}function Vm(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(n,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(f,p){i[f]&&(r[f]=function(m){return new Promise(function(_,b){o.push([f,m,_,b])>1||l(f,m)})},p&&(r[f]=p(r[f])))}function l(f,p){try{!function c(f){f.value instanceof ui?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(i[f](p))}catch(m){h(o[0][3],m)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Bm(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function lu(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],i=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const uu=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Hm(n){return oe(n?.then)}function jm(n){return oe(n[iu])}function Um(n){return Symbol.asyncIterator&&oe(n?.[Symbol.asyncIterator])}function $m(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const zm=function ZM(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Wm(n){return oe(n?.[zm])}function Gm(n){return Vm(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:i,done:r}=yield ui(t.read());if(r)return yield ui(void 0);yield yield ui(i)}}finally{t.releaseLock()}})}function qm(n){return oe(n?.getReader)}function wt(n){if(n instanceof ve)return n;if(null!=n){if(jm(n))return function QM(n){return new ve(e=>{const t=n[iu]();if(oe(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(uu(n))return function XM(n){return new ve(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,km)})}(n);if(Um(n))return Km(n);if(Wm(n))return function eA(n){return new ve(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(qm(n))return function tA(n){return Km(Gm(n))}(n)}throw $m(n)}function Km(n){return new ve(e=>{(function nA(n,e){var t,i,r,o;return function Nm(n,e,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Bm(n);!(i=yield t.next()).done;)if(e.next(i.value),e.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function Hn(n,e,t,i=0,r=!1){const o=e.schedule(function(){t(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Ge(n,e,t=1/0){return oe(e)?Ge((i,r)=>B((o,s)=>e(i,o,r,s))(wt(n(i,r))),t):("number"==typeof e&&(t=e),Ae((i,r)=>function iA(n,e,t,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&e.complete()},f=m=>c{o&&e.next(m),c++;let _=!1;wt(t(m,u++)).subscribe(me(e,b=>{r?.(b),o?f(b):e.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(b)):p(b)}h()}catch(b){e.error(b)}}))};return n.subscribe(me(e,f,()=>{d=!0,h()})),()=>{a?.()}}(i,r,n,t)))}function mr(n=1/0){return Ge(ci,n)}const jn=new ve(n=>n.complete());function Ym(n){return n&&oe(n.schedule)}function du(n){return n[n.length-1]}function Zm(n){return oe(du(n))?n.pop():void 0}function Ao(n){return Ym(du(n))?n.pop():void 0}function Qm(n,e=0){return Ae((t,i)=>{t.subscribe(me(i,r=>Hn(i,n,()=>i.next(r),e),()=>Hn(i,n,()=>i.complete(),e),r=>Hn(i,n,()=>i.error(r),e)))})}function Xm(n,e=0){return Ae((t,i)=>{i.add(n.schedule(()=>t.subscribe(i),e))})}function Jm(n,e){if(!n)throw new Error("Iterable cannot be null");return new ve(t=>{Hn(t,e,()=>{const i=n[Symbol.asyncIterator]();Hn(t,e,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Be(n,e){return e?function dA(n,e){if(null!=n){if(jm(n))return function sA(n,e){return wt(n).pipe(Xm(e),Qm(e))}(n,e);if(uu(n))return function lA(n,e){return new ve(t=>{let i=0;return e.schedule(function(){i===n.length?t.complete():(t.next(n[i++]),t.closed||this.schedule())})})}(n,e);if(Hm(n))return function aA(n,e){return wt(n).pipe(Xm(e),Qm(e))}(n,e);if(Um(n))return Jm(n,e);if(Wm(n))return function cA(n,e){return new ve(t=>{let i;return Hn(t,e,()=>{i=n[zm](),Hn(t,e,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>oe(i?.return)&&i.return()})}(n,e);if(qm(n))return function uA(n,e){return Jm(Gm(n),e)}(n,e)}throw $m(n)}(n,e):wt(n)}function hu(...n){const e=Ao(n),t=function oA(n,e){return"number"==typeof du(n)?n.pop():e}(n,1/0),i=n;return i.length?1===i.length?wt(i[0]):mr(t)(Be(i,e)):jn}function eg(n={}){const{connector:e=(()=>new ae),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return Ae((m,_)=>{c++,!d&&!u&&h();const b=l=l??e();_.add(()=>{c--,0===c&&!d&&!u&&(a=fu(p,r))}),b.subscribe(_),!s&&c>0&&(s=new Mo({next:D=>b.next(D),error:D=>{d=!0,h(),a=fu(f,t,D),b.error(D)},complete:()=>{u=!0,h(),a=fu(f,i),b.complete()}}),wt(m).subscribe(s))})(o)}}function fu(n,e,...t){if(!0===e)return void n();if(!1===e)return;const i=new Mo({next:()=>{i.unsubscribe(),n()}});return e(...t).subscribe(i)}function ge(n){for(let e in n)if(n[e]===ge)return e;throw Error("Could not find renamed property on target object.")}function pu(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function _e(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(_e).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function mu(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const hA=ge({__forward_ref__:ge});function be(n){return n.__forward_ref__=be,n.toString=function(){return _e(this())},n}function V(n){return gu(n)?n():n}function gu(n){return"function"==typeof n&&n.hasOwnProperty(hA)&&n.__forward_ref__===be}class C extends Error{constructor(e,t){super(function ra(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}(e,t)),this.code=e}}function j(n){return"string"==typeof n?n:null==n?"":String(n)}function oa(n,e){throw new C(-201,!1)}function Tt(n,e){null==n&&function de(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}(e,n,null,"!=")}function S(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function pe(n){return{providers:n.providers||[],imports:n.imports||[]}}function sa(n){return tg(n,aa)||tg(n,ig)}function tg(n,e){return n.hasOwnProperty(e)?n[e]:null}function ng(n){return n&&(n.hasOwnProperty(_u)||n.hasOwnProperty(CA))?n[_u]:null}const aa=ge({\u0275prov:ge}),_u=ge({\u0275inj:ge}),ig=ge({ngInjectableDef:ge}),CA=ge({ngInjectorDef:ge});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let yu;function Kt(n){const e=yu;return yu=n,e}function rg(n,e,t){const i=sa(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&F.Optional?null:void 0!==e?e:void oa(_e(n))}function di(n){return{toString:n}.toString()}var ln=(()=>((ln=ln||{})[ln.OnPush=0]="OnPush",ln[ln.Default=1]="Default",ln))(),cn=(()=>{return(n=cn||(cn={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",cn;var n})();const Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),gr={},ce=[],la=ge({\u0275cmp:ge}),vu=ge({\u0275dir:ge}),bu=ge({\u0275pipe:ge}),og=ge({\u0275mod:ge}),$n=ge({\u0275fac:ge}),Io=ge({__NG_ELEMENT_ID__:ge});let DA=0;function Ee(n){return di(()=>{const t=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ln.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||ce,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||cn.Emulated,id:"c"+DA++,styles:n.styles||ce,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=lg(n.inputs,i),r.outputs=lg(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(sg).filter(ag):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(ft).filter(ag):null,r})}function sg(n){return he(n)||ht(n)}function ag(n){return null!==n}function ye(n){return di(()=>({type:n.type,bootstrap:n.bootstrap||ce,declarations:n.declarations||ce,imports:n.imports||ce,exports:n.exports||ce,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function lg(n,e){if(null==n)return gr;const t={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),t[r]=i,e&&(e[r]=o)}return t}const P=Ee;function he(n){return n[la]||null}function ht(n){return n[vu]||null}function ft(n){return n[bu]||null}function xt(n,e){const t=n[og]||null;if(!t&&!0===e)throw new Error(`Type ${_e(n)} does not have '\u0275mod' property.`);return t}const G=11;function Et(n){return Array.isArray(n)&&"object"==typeof n[1]}function dn(n){return Array.isArray(n)&&!0===n[1]}function Du(n){return 0!=(8&n.flags)}function ha(n){return 2==(2&n.flags)}function fa(n){return 1==(1&n.flags)}function hn(n){return null!==n.template}function TA(n){return 0!=(256&n[2])}function Hi(n,e){return n.hasOwnProperty($n)?n[$n]:null}class kA{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function dg(n){return n.type.prototype.ngOnChanges&&(n.setInput=OA),FA}function FA(){const n=fg(this),e=n?.current;if(e){const t=n.previous;if(t===gr)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function OA(n,e,t,i){const r=fg(n)||function PA(n,e){return n[hg]=e}(n,{previous:gr,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[t],l=s[a];o[a]=new kA(l&&l.currentValue,e,s===gr),n[i]=e}const hg="__ngSimpleChanges__";function fg(n){return n[hg]||null}function He(n){for(;Array.isArray(n);)n=n[0];return n}function pa(n,e){return He(e[n])}function kt(n,e){return He(e[n.index])}function Iu(n,e){return n.data[e]}function Ft(n,e){const t=e[n];return Et(t)?t:t[0]}function ma(n){return 64==(64&n[2])}function hi(n,e){return null==e?null:n[e]}function pg(n){n[18]=0}function Tu(n,e){n[5]+=e;let t=n,i=n[3];for(;null!==i&&(1===e&&1===t[5]||-1===e&&0===t[5]);)i[5]+=e,t=i,i=i[3]}const H={lFrame:Eg(null),bindingsEnabled:!0};function gg(){return H.bindingsEnabled}function w(){return H.lFrame.lView}function ne(){return H.lFrame.tView}function ga(n){return H.lFrame.contextLView=n,n[8]}function _a(n){return H.lFrame.contextLView=null,n}function qe(){let n=_g();for(;null!==n&&64===n.type;)n=n.parent;return n}function _g(){return H.lFrame.currentTNode}function Dn(n,e){const t=H.lFrame;t.currentTNode=n,t.isParent=e}function xu(){return H.lFrame.isParent}function Ru(){H.lFrame.isParent=!1}function wr(){return H.lFrame.bindingIndex++}function Wn(n){const e=H.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function ZA(n,e){const t=H.lFrame;t.bindingIndex=t.bindingRootIndex=n,ku(e)}function ku(n){H.lFrame.currentDirectiveIndex=n}function Fu(n){const e=H.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function Cg(){return H.lFrame.currentQueryIndex}function Ou(n){H.lFrame.currentQueryIndex=n}function XA(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function wg(n,e,t){if(t&F.SkipSelf){let r=e,o=n;for(;!(r=r.parent,null!==r||t&F.Host||(r=XA(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;e=r,n=o}const i=H.lFrame=Dg();return i.currentTNode=e,i.lView=n,!0}function Pu(n){const e=Dg(),t=n[1];H.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Dg(){const n=H.lFrame,e=null===n?null:n.child;return null===e?Eg(n):e}function Eg(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Sg(){const n=H.lFrame;return H.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Mg=Sg;function Nu(){const n=Sg();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function mt(){return H.lFrame.selectedIndex}function fi(n){H.lFrame.selectedIndex=n}function xe(){const n=H.lFrame;return Iu(n.tView,n.selectedIndex)}function ya(n,e){for(let t=e.directiveStart,i=e.directiveEnd;t=i)break}else e[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===e){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Oo{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Ca(n,e,t){let i=0;for(;ie){s=o-1;break}}}for(;o>16}(n),i=e;for(;t>0;)i=i[15],t--;return i}let Bu=!0;function Da(n){const e=Bu;return Bu=n,e}let fI=0;const En={};function No(n,e){const t=ju(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,Hu(i.data,n),Hu(e,null),Hu(i.blueprint,null));const r=Ea(n,e),o=n.injectorIndex;if(Rg(r)){const s=Dr(r),a=Er(r,e),l=a[1].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function Hu(n,e){n.push(0,0,0,0,0,0,0,0,e)}function ju(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Ea(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){if(i=Hg(r),null===i)return-1;if(t++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function Sa(n,e,t){!function pI(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Io)&&(i=t[Io]),null==i&&(i=t[Io]=fI++);const r=255&i;e.data[n+(r>>5)]|=1<=0?255&e:yI:e}(t);if("function"==typeof o){if(!wg(e,n,i))return i&F.Host?Og(r,0,i):Pg(e,t,i,r);try{const s=o(i);if(null!=s||i&F.Optional)return s;oa()}finally{Mg()}}else if("number"==typeof o){let s=null,a=ju(n,e),l=-1,c=i&F.Host?e[16][6]:null;for((-1===a||i&F.SkipSelf)&&(l=-1===a?Ea(n,e):e[a+8],-1!==l&&Bg(i,!1)?(s=e[1],a=Dr(l),e=Er(l,e)):a=-1);-1!==a;){const u=e[1];if(Vg(o,a,u.data)){const d=gI(a,e,t,s,i,c);if(d!==En)return d}l=e[a+8],-1!==l&&Bg(i,e[1].data[a+8]===c)&&Vg(o,a,e)?(s=u,a=Dr(l),e=Er(l,e)):a=-1}}return r}function gI(n,e,t,i,r,o){const s=e[1],a=s.data[n+8],u=Ma(a,s,t,null==i?ha(a)&&Bu:i!=s&&0!=(3&a.type),r&F.Host&&o===a);return null!==u?Lo(e,s,u,a):En}function Ma(n,e,t,i,r){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&hn(f)&&f.type===t)return l}return null}function Lo(n,e,t,i){let r=n[t];const o=e.data;if(function lI(n){return n instanceof Oo}(r)){const s=r;s.resolving&&function fA(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new C(-200,`Circular dependency in DI detected for ${n}${t}`)}(function le(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():j(n)}(o[t]));const a=Da(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Kt(s.injectImpl):null;wg(n,i,F.Default);try{r=n[t]=s.factory(void 0,o,n,i),e.firstCreatePass&&t>=i.directiveStart&&function sI(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const s=dg(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,r),o&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o))}(t,o[t],e)}finally{null!==l&&Kt(l),Da(a),s.resolving=!1,Mg()}}return r}function Vg(n,e,t){return!!(t[e+(n>>5)]&1<{const e=n.prototype.constructor,t=e[$n]||Uu(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[$n]||Uu(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Uu(n){return gu(n)?()=>{const e=Uu(V(n));return e&&e()}:Hi(n)}function Hg(n){const e=n[1],t=e.type;return 2===t?e.declTNode:1===t?n[6]:null}function Mr(n){return function mI(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r{const i=function $u(n){return function(...t){if(n){const i=n(...t);for(const r in i)this[r]=i[r]}}}(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Ir)?l[Ir]:Object.defineProperty(l,Ir,{value:[]})[Ir];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class E{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=S({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ot(n,e){void 0===e&&(e=n);for(let t=0;tArray.isArray(t)?Gn(t,e):e(t))}function Ug(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function Aa(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Ho(n,e){const t=[];for(let i=0;i=0?n[1|i]=t:(i=~i,function DI(n,e,t,i){let r=n.length;if(r==e)n.push(t,i);else if(1===r)n.push(i,n[0]),n[0]=t;else{for(r--,n.push(n[r-1],n[r]);r>e;)n[r]=n[r-2],r--;n[e]=t,n[e+1]=i}}(n,i,e,t)),i}function Wu(n,e){const t=Rr(n,e);if(t>=0)return n[1|t]}function Rr(n,e){return function Wg(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=n[o<e?r=o:i=o+1}return~(r<((St=St||{})[St.Important=1]="Important",St[St.DashCase=2]="DashCase",St))();const Ju=new Map;let XI=0;const td="__ngContext__";function lt(n,e){Et(e)?(n[td]=e[20],function eT(n){Ju.set(n[20],n)}(e)):n[td]=e}function id(n,e){return undefined(n,e)}function qo(n){const e=n[3];return dn(e)?e[3]:e}function rd(n){return f_(n[13])}function od(n){return f_(n[4])}function f_(n){for(;null!==n&&!dn(n);)n=n[4];return n}function Pr(n,e,t,i,r){if(null!=i){let o,s=!1;dn(i)?o=i:Et(i)&&(s=!0,i=i[0]);const a=He(i);0===n&&null!==t?null==r?v_(e,t,a):ji(e,t,a,r||null,!0):1===n&&null!==t?ji(e,t,a,r||null,!0):2===n?function hd(n,e,t){const i=ka(n,e);i&&function wT(n,e,t,i){n.removeChild(e,t,i)}(n,i,e,t)}(e,a,s):3===n&&e.destroyNode(a),null!=o&&function ST(n,e,t,i,r){const o=t[7];o!==He(t)&&Pr(e,n,i,o,r);for(let a=10;a0&&(n[t-1][4]=i[4]);const o=Aa(n,10+e);!function pT(n,e){Ko(n,e,e[G],2,null,null),e[0]=null,e[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function g_(n,e){if(!(128&e[2])){const t=e[G];t.destroyNode&&Ko(n,e,t,3,null,null),function _T(n){let e=n[13];if(!e)return cd(n[1],n);for(;e;){let t=null;if(Et(e))t=e[13];else{const i=e[10];i&&(t=i)}if(!t){for(;e&&!e[4]&&e!==n;)Et(e)&&cd(e[1],e),e=e[3];null===e&&(e=n),Et(e)&&cd(e[1],e),t=e&&e[4]}e=t}}(e)}}function cd(n,e){if(!(128&e[2])){e[2]&=-65,e[2]|=128,function CT(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=t[o+1]];t[o].call(s)}if(null!==i){for(let o=r+1;on,createScript:n=>n,createScriptURL:n=>n})}catch{}return Pa}()?.createHTML(n)||n}function R_(n){return function _d(){if(void 0===Na&&(Na=null,Ce.trustedTypes))try{Na=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Na}()?.createScriptURL(n)||n}class $i{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class RT extends $i{getTypeName(){return"HTML"}}class kT extends $i{getTypeName(){return"Style"}}class FT extends $i{getTypeName(){return"Script"}}class OT extends $i{getTypeName(){return"URL"}}class PT extends $i{getTypeName(){return"ResourceURL"}}function Nt(n){return n instanceof $i?n.changingThisBreaksApplicationSecurity:n}function Sn(n,e){const t=function NT(n){return n instanceof $i&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===e}class UT{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Ui(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}}class $T{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const i=this.inertDocument.createElement("body");t.appendChild(i)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Ui(e),t;const i=this.inertDocument.createElement("body");return i.innerHTML=Ui(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0"),!0}endElement(e){const t=e.nodeName.toLowerCase();yd.hasOwnProperty(t)&&!F_.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(L_(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const KT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,YT=/([^\#-~ |!])/g;function L_(n){return n.replace(/&/g,"&").replace(KT,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(YT,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Va;function V_(n,e){let t=null;try{Va=Va||function k_(n){const e=new $T(n);return function zT(){try{return!!(new window.DOMParser).parseFromString(Ui(""),"text/html")}catch{return!1}}()?new UT(e):e}(n);let i=e?String(e):"";t=Va.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Va.getInertBodyElement(i)}while(i!==o);return Ui((new qT).sanitizeChildren(bd(t)||t))}finally{if(t){const i=bd(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function bd(n){return"content"in n&&function ZT(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ue=(()=>((ue=ue||{})[ue.NONE=0]="NONE",ue[ue.HTML=1]="HTML",ue[ue.STYLE=2]="STYLE",ue[ue.SCRIPT=3]="SCRIPT",ue[ue.URL=4]="URL",ue[ue.RESOURCE_URL=5]="RESOURCE_URL",ue))();function wd(n){const e=function Zo(){const n=w();return n&&n[12]}();if(e)return R_(e.sanitize(ue.RESOURCE_URL,n)||"");if(Sn(n,"ResourceURL"))return R_(Nt(n));throw new C(904,!1)}const Dd=new E("ENVIRONMENT_INITIALIZER"),B_=new E("INJECTOR",-1),H_=new E("INJECTOR_DEF_TYPES");class j_{get(e,t=jo){if(t===jo){const i=new Error(`NullInjectorError: No provider for ${_e(e)}!`);throw i.name="NullInjectorError",i}return t}}function rx(...n){return{\u0275providers:U_(0,n)}}function U_(n,...e){const t=[],i=new Set;let r;return Gn(e,o=>{const s=o;Ed(s,t,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&$_(r,t),t}function $_(n,e){for(let t=0;t{e.push(o)})}}function Ed(n,e,t,i){if(!(n=V(n)))return!1;let r=null,o=ng(n);const s=!o&&he(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=ng(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Ed(c,e,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Gn(o.imports,u=>{Ed(u,e,t,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&$_(c,e)}if(!a){const c=Hi(r)||(()=>new r);e.push({provide:r,useFactory:c,deps:ce},{provide:H_,useValue:r,multi:!0},{provide:Dd,useValue:()=>y(r),multi:!0})}const l=o.providers;null==l||a||Gn(l,u=>{e.push(u)})}}return r!==n&&void 0!==n.providers}const ox=ge({provide:String,useValue:ge});function Sd(n){return null!==n&&"object"==typeof n&&ox in n}function zi(n){return"function"==typeof n}const Md=new E("Set Injector scope."),Ba={},ax={};let Ad;function Ha(){return void 0===Ad&&(Ad=new j_),Ad}class gi{}class G_ extends gi{constructor(e,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Td(e,s=>this.processProvider(s)),this.records.set(B_,Nr(void 0,this)),r.has("environment")&&this.records.set(gi,Nr(void 0,this));const o=this.records.get(Md);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(H_.multi,ce,F.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=kr(this),i=Kt(void 0);try{return e()}finally{kr(t),Kt(i)}}get(e,t=jo,i=F.Default){this.assertNotDestroyed();const r=kr(this),o=Kt(void 0);try{if(!(i&F.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function hx(n){return"function"==typeof n||"object"==typeof n&&n instanceof E}(e)&&sa(e);a=l&&this.injectableDefInScope(l)?Nr(Id(e),Ba):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&F.Self?Ha():this.parent).get(e,t=i&F.Optional&&t===jo?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Ta]=s[Ta]||[]).unshift(_e(e)),r)throw s;return function PI(n,e,t,i){const r=n[Ta];throw e[Gg]&&r.unshift(e[Gg]),n.message=function NI(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=_e(e);if(Array.isArray(e))r=e.map(_e).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):_e(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(RI,"\n ")}`}("\n"+n.message,r,t,i),n.ngTokenPath=r,n[Ta]=null,n}(s,e,"R3InjectorError",this.source)}throw s}finally{Kt(o),kr(r)}}resolveInjectorInitializers(){const e=kr(this),t=Kt(void 0);try{const i=this.get(Dd.multi,ce,F.Self);for(const r of i)r()}finally{kr(e),Kt(t)}}toString(){const e=[],t=this.records;for(const i of t.keys())e.push(_e(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(e){let t=zi(e=V(e))?e:V(e&&e.provide);const i=function cx(n){return Sd(n)?Nr(void 0,n.useValue):Nr(function q_(n,e,t){let i;if(zi(n)){const r=V(n);return Hi(r)||Id(r)}if(Sd(n))i=()=>V(n.useValue);else if(function W_(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Ku(n.deps||[]));else if(function z_(n){return!(!n||!n.useExisting)}(n))i=()=>y(V(n.useExisting));else{const r=V(n&&(n.useClass||n.provide));if(!function ux(n){return!!n.deps}(n))return Hi(r)||Id(r);i=()=>new r(...Ku(n.deps))}return i}(n),Ba)}(e);if(zi(e)||!0!==e.multi)this.records.get(t);else{let r=this.records.get(t);r||(r=Nr(void 0,Ba,!0),r.factory=()=>Ku(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,i)}hydrate(e,t){return t.value===Ba&&(t.value=ax,t.value=t.factory()),"object"==typeof t.value&&t.value&&function dx(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=V(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function Id(n){const e=sa(n),t=null!==e?e.factory:Hi(n);if(null!==t)return t;if(n instanceof E)throw new C(204,!1);if(n instanceof Function)return function lx(n){const e=n.length;if(e>0)throw Ho(e,"?"),new C(204,!1);const t=function vA(n){const e=n&&(n[aa]||n[ig]);if(e){const t=function bA(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" 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 "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new C(204,!1)}function Nr(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function fx(n){return!!n.\u0275providers}function Td(n,e){for(const t of n)Array.isArray(t)?Td(t,e):fx(t)?Td(t.\u0275providers,e):e(t)}class K_{}class gx{resolveComponentFactory(e){throw function mx(n){const e=Error(`No component factory found for ${_e(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let Wi=(()=>{class n{}return n.NULL=new gx,n})();function _x(){return Lr(qe(),w())}function Lr(n,e){return new je(kt(n,e))}let je=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=_x,n})();function yx(n){return n instanceof je?n.nativeElement:n}class Qo{}let bx=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>null}),n})();class Gi{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Cx=new Gi("14.3.0"),xd={};function kd(n){return n.ngOriginalError}class Yn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&kd(e);for(;t&&kd(t);)t=kd(t);return t||null}}function Z_(n){return n.ownerDocument}function Zn(n){return n instanceof Function?n():n}function X_(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=e.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}t=r+1}}const J_="ng-template";function Rx(n,e,t){let i=0;for(;io?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==X_(f,c,0)||2&i&&c!==h){if(fn(i))return!1;s=!0}}}}else{if(!s&&!fn(i)&&!fn(l))return!1;if(s&&fn(l))continue;s=!1,i=l|1&i}}return fn(i)||s}function fn(n){return 0==(1&n)}function Ox(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!fn(s)&&(e+=ny(o,r),r=""),i=s,o=o||!fn(i);t++}return""!==r&&(e+=ny(o,r)),e}const U={};function ie(n){iy(ne(),w(),mt()+n,!1)}function iy(n,e,t,i){if(!i)if(3==(3&e[2])){const o=n.preOrderCheckHooks;null!==o&&va(e,o,t)}else{const o=n.preOrderHooks;null!==o&&ba(e,o,0,t)}fi(t)}function ay(n,e=null,t=null,i){const r=ly(n,e,t,i);return r.resolveInjectorInitializers(),r}function ly(n,e=null,t=null,i,r=new Set){const o=[t||ce,rx(n)];return i=i||("object"==typeof n?void 0:_e(n)),new G_(o,e||Ha(),i||null,r)}let Ze=(()=>{class n{static create(t,i){if(Array.isArray(t))return ay({name:""},i,t,"");{const r=t.name??"";return ay({name:r},t.parent,t.providers,r)}}}return n.THROW_IF_NOT_FOUND=jo,n.NULL=new j_,n.\u0275prov=S({token:n,providedIn:"any",factory:()=>y(B_)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,e=F.Default){const t=w();return null===t?y(n,e):Ng(qe(),t,V(n),e)}function Ua(){throw new Error("invalid")}function $a(n,e){return n<<17|e<<2}function pn(n){return n>>17&32767}function Ld(n){return 2|n}function Qn(n){return(131068&n)>>2}function Vd(n,e){return-131069&n|e<<2}function Bd(n){return 1|n}function Sy(n,e){const t=n.contentQueries;if(null!==t)for(let i=0;i22&&iy(n,e,22,!1),t(i,r)}finally{fi(o)}}function Yd(n,e,t){!gg()||(function MR(n,e,t,i){const r=t.directiveStart,o=t.directiveEnd;n.firstCreatePass||No(t,e),lt(i,e);const s=t.initialInputs;for(let a=r;a0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function Oy(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function Py(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function xR(n,e,t){if(t){if(e.exportAs)for(let i=0;i0&&eh(t)}}function eh(n){for(let i=rd(n);null!==i;i=od(i))for(let r=10;r0&&eh(o)}const t=n[1].components;if(null!==t)for(let i=0;i0&&eh(r)}}function LR(n,e){const t=Ft(e,n),i=t[1];(function VR(n,e){for(let t=e.length;t-1&&(ld(e,i),Aa(t,i))}this._attachedToViewContainer=!1}g_(this._lView[1],this._lView)}onDestroy(e){Ty(this._lView[1],this._lView,null,e)}markForCheck(){th(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ya(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gT(n,e){Ko(n,e,e[G],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e}}class BR extends Xo{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Ya(e[1],e,e[8],!1)}checkNoChanges(){}get context(){return null}}class rh extends Wi{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=he(e);return new Jo(t,this.ngModule)}}function $y(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class jR{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,i){const r=this.injector.get(e,xd,i);return r!==xd||t===xd?r:this.parentInjector.get(e,t,i)}}class Jo extends K_{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function Hx(n){return n.map(Bx).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return $y(this.componentDef.inputs)}get outputs(){return $y(this.componentDef.outputs)}create(e,t,i,r){let o=(r=r||this.ngModule)instanceof gi?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new jR(e,o):e,a=s.get(Qo,null);if(null===a)throw new C(407,!1);const l=s.get(bx,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function bR(n,e,t){return n.selectRootElement(e,t===cn.ShadowDom)}(c,i,this.componentDef.encapsulation):ad(c,u,function HR(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(u)),h=this.componentDef.onPush?288:272,f=Qd(0,null,null,1,0,null,null,null,null,null),p=Ga(null,f,null,h,null,null,a,c,l,s,null);let m,_;Pu(p);try{const b=function zR(n,e,t,i,r,o){const s=t[1];t[22]=n;const l=Hr(s,22,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(Za(l,c,!0),null!==n&&(Ca(r,n,c),null!==l.classes&&pd(r,n,l.classes),null!==l.styles&&A_(r,n,l.styles)));const u=i.createRenderer(n,e),d=Ga(t,Iy(e),null,e.onPush?32:16,t[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Sa(No(l,t),s,e.type),Py(s,l),Ny(l,t.length,1)),Ka(t,d),t[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)Ca(c,d,["ng-version",Cx.full]);else{const{attrs:D,classes:v}=function jx(n){const e=[],t=[];let i=1,r=2;for(;i0&&pd(c,d,v.join(" "))}if(_=Iu(f,22),void 0!==t){const D=_.projection=[];for(let v=0;v=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=wa(r.hostAttrs,t=wa(t,r.hostAttrs))}}(i)}function oh(n){return n===gr?{}:n===ce?[]:n}function KR(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function YR(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,o)=>{e(i,r,o),t(i,r,o)}:e}function ZR(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}let Xa=null;function qi(){if(!Xa){const n=Ce.Symbol;if(n&&n.iterator)Xa=n.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(He(Y[i.index])):i.index;let I=null;if(!a&&l&&(I=function ck(n,e,t,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,e,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,f=!1;else{o=rv(i,e,d,o,!1);const Y=t.listen(b,r,o);h.push(o,Y),u&&u.push(r,v,D,D+1)}}else o=rv(i,e,d,o,!1);const p=i.outputs;let m;if(f&&null!==p&&(m=p[r])){const _=m.length;if(_)for(let b=0;b<_;b+=2){const te=e[m[b]][m[b+1]].subscribe(o),ke=h.length;h.push(o,te),u&&u.push(r,i.index,ke,-(ke+1))}}}function iv(n,e,t,i){try{return!1!==t(i)}catch(r){return Uy(n,r),!1}}function rv(n,e,t,i,r){return function o(s){if(s===Function)return i;th(2&n.flags?Ft(n.index,e):e);let l=iv(e,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=iv(e,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function jt(n=1){return function JA(n){return(H.lFrame.contextLView=function eI(n,e){for(;n>0;)e=e[15],n--;return e}(n,H.lFrame.contextLView))[8]}(n)}function uk(n,e){let t=null;const i=function Px(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let r=0;r=0}function fh(n,e,t){return mn(n,e,t,!1),fh}function Jt(n,e){return mn(n,e,null,!0),Jt}function mn(n,e,t,i){const r=w(),o=ne(),s=Wn(2);o.firstUpdatePass&&function Ev(n,e,t,i){const r=n.data;if(null===r[t+1]){const o=r[mt()],s=function Dv(n,e){return e>=n.expandoStartIndex}(n,t);(function Iv(n,e){return 0!=(n.flags&(e?16:32))})(o,i)&&null===e&&!s&&(e=!1),e=function wk(n,e,t,i){const r=Fu(n);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=is(t=ph(null,n,e,t,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==r)if(t=ph(r,n,e,t,i),null===o){let l=function Dk(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==Qn(i))return n[pn(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=ph(null,n,e,l[1],i),l=is(l,e.attrs,i),function Ek(n,e,t,i){n[pn(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else o=function Sk(n,e,t){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(c=!0)}else u=t;if(r)if(0!==l){const h=pn(n[a+1]);n[i+1]=$a(h,a),0!==h&&(n[h+1]=Vd(n[h+1],i)),n[a+1]=function sR(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=$a(a,0),0!==a&&(n[a+1]=Vd(n[a+1],i)),a=i;else n[i+1]=$a(l,0),0===a?a=i:n[l+1]=Vd(n[l+1],i),l=i;c&&(n[i+1]=Ld(n[i+1])),gv(n,u,i,!0),gv(n,u,i,!1),function hk(n,e,t,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&Rr(o,e)>=0&&(t[i+1]=Bd(t[i+1]))}(e,u,n,i,o),s=$a(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,t,s,i)}}(o,n,s,i),e!==U&&ct(r,s,e)&&function Mv(n,e,t,i,r,o,s,a){if(!(3&e.type))return;const l=n.data,c=l[a+1];tl(function _y(n){return 1==(1&n)}(c)?Av(l,e,t,r,Qn(c),s):void 0)||(tl(o)||function gy(n){return 2==(2&n)}(c)&&(o=Av(l,null,t,r,a,s)),function MT(n,e,t,i,r){if(e)r?n.addClass(t,i):n.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:St.DashCase;null==r?n.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=St.Important),n.setStyle(t,i,r,o))}}(i,s,pa(mt(),t),r,o))}(o,o.data[mt()],r,r[G],n,r[s+1]=function Ik(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=_e(Nt(n)))),n}(e,t),i,s)}function ph(n,e,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===U&&(h=d?ce:void 0);let f=d?Wu(h,i):u===i?h:void 0;if(c&&!tl(f)&&(f=Wu(l,i)),tl(f)&&(a=f,s))return a;const p=n[r+1];r=s?pn(p):Qn(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Wu(l,i))}return a}function tl(n){return void 0!==n}function fe(n,e=""){const t=w(),i=ne(),r=n+22,o=i.firstCreatePass?Hr(i,r,1,e,null):i.data[r],s=t[r]=function sd(n,e){return n.createText(e)}(t[G],e);Fa(i,t,s,o),Dn(o,!1)}function Xe(n){return Yi("",n,""),Xe}function Yi(n,e,t){const i=w(),r=function $r(n,e,t,i){return ct(n,wr(),t)?e+j(t)+i:U}(i,n,e,t);return r!==U&&Xn(i,mt(),r),Yi}function mh(n,e,t,i,r,o,s){const a=w(),l=Wr(a,n,e,t,i,r,o,s);return l!==U&&Xn(a,mt(),l),mh}function gh(n,e,t){const i=w();return ct(i,wr(),e)&&Lt(ne(),xe(),i,n,e,i[G],t,!0),gh}function _h(n,e,t){const i=w();if(ct(i,wr(),e)){const o=ne(),s=xe();Lt(o,s,i,n,e,jy(Fu(o.data),s,i),t,!0)}return _h}const Jr="en-US";let qv=Jr;class Qi{}class vb{}class bb extends Qi{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new rh(this);const i=xt(e);this._bootstrapComponents=Zn(i.bootstrap),this._r3Injector=ly(e,t,[{provide:Qi,useValue:this},{provide:Wi,useValue:this.componentFactoryResolver}],_e(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Eh extends vb{constructor(e){super(),this.moduleType=e}create(e){return new bb(this.moduleType,e)}}class KF extends Qi{constructor(e,t,i){super(),this.componentFactoryResolver=new rh(this),this.instance=null;const r=new G_([...e,{provide:Qi,useValue:this},{provide:Wi,useValue:this.componentFactoryResolver}],t||Ha(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function sl(n,e,t=null){return new KF(n,e,t).injector}let YF=(()=>{class n{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const i=U_(0,t.type),r=i.length>0?sl([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,r)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=S({token:n,providedIn:"environment",factory:()=>new n(y(gi))}),n})();function Cb(n){n.getStandaloneInjector=e=>e.get(YF).getOrCreateStandaloneInjector(n)}function Mh(n){return e=>{setTimeout(n,void 0,e)}}const Me=class CO extends ae{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let r=e,o=t||(()=>null),s=i;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Mh(o),r&&(r=Mh(r)),s&&(s=Mh(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof et&&e.add(a),a}};function wO(){return this._results[qi()]()}class Ah{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=qi(),i=Ah.prototype;i[t]||(i[t]=wO)}get changes(){return this._changes||(this._changes=new Me)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const i=this;i.dirty=!1;const r=Ot(e);(this._changesDetected=!function CI(n,e,t){if(n.length!==e.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=SO,n})();const DO=Rn,EO=class extends DO{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e,t){const i=this._declarationTContainer.tViews,r=Ga(this._declarationLView,i,e,16,null,i.declTNode,null,null,null,null,t||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),Kd(i,r,e),new Xo(r)}};function SO(){return al(qe(),w())}function al(n,e){return 4&n.type?new EO(e,n,Lr(n,e)):null}let en=(()=>{class n{}return n.__NG_ELEMENT_ID__=MO,n})();function MO(){return Pb(qe(),w())}const AO=en,Fb=class extends AO{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return Lr(this._hostTNode,this._hostLView)}get injector(){return new Sr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Ea(this._hostTNode,this._hostLView);if(Rg(e)){const t=Er(e,this._hostLView),i=Dr(e);return new Sr(t[1].data[i+8],t)}return new Sr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Ob(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=e.createEmbeddedView(t||{},o);return this.insert(s,r),s}createComponent(e,t,i,r,o){const s=e&&!function Bo(n){return"function"==typeof n}(e);let a;if(s)a=t;else{const d=t||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?e:new Jo(he(e)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(gi,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(e,t){const i=e._lView,r=i[1];if(function UA(n){return dn(n[3])}(i)){const u=this.indexOf(e);if(-1!==u)this.detach(u);else{const d=i[3],h=new Fb(d,d[6],d[3]);h.detach(h.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function yT(n,e,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=e),i0)i.push(s[a/2]);else{const c=o[a+1],u=e[-l];for(let d=10;d{class n{constructor(t){this.appInits=t,this.resolve=dl,this.reject=dl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const t=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(y(hl,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const hs=new E("AppId",{providedIn:"root",factory:function sC(){return`${Bh()}${Bh()}${Bh()}`}});function Bh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const aC=new E("Platform Initializer"),Hh=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),lC=new E("appBootstrapListener"),pl=new E("AnimationModuleType");let nP=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const kn=new E("LocaleId",{providedIn:"root",factory:()=>Se(kn,F.Optional|F.SkipSelf)||function iP(){return typeof $localize<"u"&&$localize.locale||Jr}()});class oP{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}let jh=(()=>{class n{compileModuleSync(t){return new Eh(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Zn(xt(t).declarations).reduce((s,a)=>{const l=he(a);return l&&s.push(new Jo(l)),s},[]);return new oP(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lP=(()=>Promise.resolve(0))();function Uh(n){typeof Zone>"u"?lP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class re{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Me(!1),this.onMicrotaskEmpty=new Me(!1),this.onStable=new Me(!1),this.onError=new Me(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function cP(){let n=Ce.requestAnimationFrame,e=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function hP(n){const e=()=>{!function dP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ce,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,zh(n),n.isCheckStableRunning=!0,$h(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),zh(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{try{return dC(n),t.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&e(),hC(n)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return dC(n),t.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),hC(n)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,zh(n),$h(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!re.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(re.isInAngularZone())throw new C(909,!1)}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,uP,dl,dl);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const uP={};function $h(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function zh(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function dC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function hC(n){n._nesting--,$h(n)}class fP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Me,this.onMicrotaskEmpty=new Me,this.onStable=new Me,this.onError=new Me}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}const fC=new E(""),ml=new E("");let qh,Wh=(()=>{class n{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,qh||(function pP(n){qh=n}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{re.assertNotInAngularZone(),Uh(()=>{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())Uh(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}}return n.\u0275fac=function(t){return new(t||n)(y(re),y(Gh),y(ml))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Gh=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return qh?.findTestabilityInTree(this,t,i)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),vi=null;const pC=new E("AllowMultipleToken"),Kh=new E("PlatformDestroyListeners");class mC{constructor(e,t){this.name=e,this.token=t}}function _C(n,e,t=[]){const i=`Platform: ${e}`,r=new E(i);return(o=[])=>{let s=Yh();if(!s||s.injector.get(pC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];n?n(a):function _P(n){if(vi&&!vi.get(pC,!1))throw new C(400,!1);vi=n;const e=n.get(vC);(function gC(n){const e=n.get(aC,null);e&&e.forEach(t=>t())})(n)}(function yC(n=[],e){return Ze.create({name:e,providers:[{provide:Md,useValue:"platform"},{provide:Kh,useValue:new Set([()=>vi=null])},...n]})}(a,i))}return function vP(n){const e=Yh();if(!e)throw new C(401,!1);return e}()}}function Yh(){return vi?.get(vC)??null}let vC=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function CC(n,e){let t;return t="noop"===n?new fP:("zone.js"===n?void 0:n)||new re(e),t}(i?.ngZone,function bC(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:re,useValue:r}];return r.run(()=>{const s=Ze.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Yn,null);if(!l)throw new C(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{gl(this._modules,a),c.unsubscribe()})}),function wC(n,e,t){try{const i=t();return ns(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(fl);return c.runInitializers(),c.donePromise.then(()=>(function Kv(n){Tt(n,"Expected localeId to be defined"),"string"==typeof n&&(qv=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(kn,Jr)||Jr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,i=[]){const r=DC({},i);return function mP(n,e,t){const i=new Eh(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(no);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new C(403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Kh,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(y(Ze))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function DC(n,e){return Array.isArray(e)?e.reduce(DC,n):{...n,...e}}let no=(()=>{class n{constructor(t,i,r){this._zone=t,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ve(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ve(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),Uh(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=hu(o,s.pipe(eg()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof K_;if(!this._injector.get(fl).done)throw!r&&function _r(n){const e=he(n)||ht(n)||ft(n);return null!==e&&e.standalone}(t),new C(405,false);let s;s=r?t:this._injector.get(Wi).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function gP(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Qi),c=s.create(Ze.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(fC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),gl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;gl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(lC,[]).concat(this._bootstrapListeners).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>gl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new C(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(y(re),y(gi),y(Yn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function gl(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let SC=!0,fs=(()=>{class n{}return n.__NG_ELEMENT_ID__=wP,n})();function wP(n){return function DP(n,e,t){if(ha(n)&&!t){const i=Ft(n.index,e);return new Xo(i,i)}return 47&n.type?new Xo(e[16],e):null}(qe(),w(),16==(16&n))}class xC{constructor(){}supports(e){return es(e)}create(e){return new TP(e)}}const IP=(n,e)=>e;class TP{constructor(e){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=e||IP}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new xP(t,i),o,r),e}_verifyReinsertion(e,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new RC),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new RC),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class xP{constructor(e,t){this.item=e,this.trackById=t,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 RP{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class RC{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new RP,this.map.set(t,i)),i.add(e)}get(e,t){const r=this.map.get(e);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function kC(n,e,t){const i=n.previousIndex;if(null===i)return i;let r=0;return t&&i{class n{constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new n(t)}static extend(t){return{provide:n,useFactory:i=>n.create(t,i||OC()),deps:[[n,new Fr,new mi]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new C(901,!1)}}return n.\u0275prov=S({token:n,providedIn:"root",factory:OC}),n})();const NP=_C(null,"core",[]);let LP=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(y(no))},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})(),bl=null;function Fn(){return bl}const Q=new E("DocumentToken");let ef=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return function jP(){return y(NC)}()},providedIn:"platform"}),n})();const UP=new E("Location Initialized");let NC=(()=>{class n extends ef{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fn().getBaseHref(this._doc)}onPopState(t){const i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,i,r){LC()?this._history.pushState(t,i,r):this.location.hash=r}replaceState(t,i,r){LC()?this._history.replaceState(t,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:function(){return function $P(){return new NC(y(Q))}()},providedIn:"platform"}),n})();function LC(){return!!window.history.pushState}function tf(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function VC(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function ti(n){return n&&"?"!==n[0]?"?"+n:n}let Ji=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return Se(HC)},providedIn:"root"}),n})();const BC=new E("appBaseHref");let HC=(()=>{class n extends Ji{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Se(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return tf(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+ti(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+ti(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+ti(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(y(ef),y(BC,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zP=(()=>{class n extends Ji{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=tf(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+ti(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+ti(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(y(ef),y(BC,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),ms=(()=>{class n{constructor(t){this._subject=new Me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._baseHref=VC(jC(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+ti(i))}normalize(t){return n.stripTrailingSlash(function GP(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._baseHref,jC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ti(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ti(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}}return n.normalizeQueryParams=ti,n.joinWithSlash=tf,n.stripTrailingSlash=VC,n.\u0275fac=function(t){return new(t||n)(y(Ji))},n.\u0275prov=S({token:n,factory:function(){return function WP(){return new ms(y(Ji))}()},providedIn:"root"}),n})();function jC(n){return n.replace(/\/index.html$/,"")}class kN{constructor(e,t,i,r){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let bi=(()=>{class n{constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new kN(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),XC(a,r)}});for(let r=0,o=i.length;r{XC(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}}return n.\u0275fac=function(t){return new(t||n)(g(en),g(Rn),g(vl))},n.\u0275dir=P({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function XC(n,e){n.context.$implicit=e.item}let JC=(()=>{class n{constructor(t,i){this._viewContainer=t,this._context=new ON,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ew("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ew("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}}return n.\u0275fac=function(t){return new(t||n)(g(en),g(Rn))},n.\u0275dir=P({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class ON{constructor(){this.$implicit=null,this.ngIf=null}}function ew(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${_e(e)}'.`)}let iw=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})();const rw="browser";let h1=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>new f1(y(Q),window)}),n})();class f1{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function p1(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=ow(this.window.history)||ow(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ow(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class vf extends class U1 extends class HP{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function BP(n){bl||(bl=n)}(new vf)}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function $1(){return vs=vs||document.querySelector("base"),vs?vs.getAttribute("href"):null}();return null==t?null:function z1(n){kl=kl||document.createElement("a"),kl.setAttribute("href",n);const e=kl.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){vs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function TN(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let kl,vs=null;const uw=new E("TRANSITION_ID"),G1=[{provide:hl,useFactory:function W1(n,e,t){return()=>{t.get(fl).donePromise.then(()=>{const i=Fn(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Fl=new E("EventManagerPlugins");let Ol=(()=>{class n{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>r.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}addGlobalEventListener(t,i,r){return this._findPluginFor(i).addGlobalEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){const i=this._eventNameToPlugin.get(t);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(t){const i=new Set;t.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),bs=(()=>{class n extends hw{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,i,r){t.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(t){const i=[];this._addStylesToHost(this._stylesSet,t,i),this._hostNodes.set(t,i)}removeHost(t){const i=this._hostNodes.get(t);i&&i.forEach(fw),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(fw))}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function fw(n){Fn().remove(n)}const bf={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/",math:"http://www.w3.org/1998/MathML/"},Cf=/%COMP%/g;function Pl(n,e,t){for(let i=0;i{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let Nl=(()=>{class n{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new wf(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case cn.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new eL(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case cn.ShadowDom:return new tL(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=Pl(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(y(Ol),y(bs),y(hs))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class wf{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(bf[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(yw(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(yw(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const o=bf[r];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=bf[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(St.DashCase|St.Important)?e.style.setProperty(t,i,r&St.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&St.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,gw(i)):this.eventManager.addEventListener(e,t,gw(i))}}function yw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class eL extends wf{constructor(e,t,i,r){super(e),this.component=i;const o=Pl(r+"-"+i.id,i.styles,[]);t.addStyles(o),this.contentAttr=function Q1(n){return"_ngcontent-%COMP%".replace(Cf,n)}(r+"-"+i.id),this.hostAttr=function X1(n){return"_nghost-%COMP%".replace(Cf,n)}(r+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class tL extends wf{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Pl(r.id,r.styles,[]);for(let s=0;s{class n extends dw{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const vw=["alt","control","meta","shift"],iL={"\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"},rL={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let oL=(()=>{class n extends dw{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fn().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),vw.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=iL[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),vw.forEach(s=>{s!==r&&(0,rL[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{n.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const cL=_C(NP,"browser",[{provide:Hh,useValue:rw},{provide:aC,useValue:function sL(){vf.makeCurrent()},multi:!0},{provide:Q,useFactory:function lL(){return function xT(n){gd=n}(document),document},deps:[]}]),ww=new E(""),Dw=[{provide:ml,useClass:class q1{addToWindow(e){Ce.getAngularTestability=(i,r=!0)=>{const o=e.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements(),Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(i=>{const r=Ce.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,i){return null==t?null:e.getTestability(t)??(i?Fn().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:fC,useClass:Wh,deps:[re,Gh,ml]},{provide:Wh,useClass:Wh,deps:[re,Gh,ml]}],Ew=[{provide:Md,useValue:"root"},{provide:Yn,useFactory:function aL(){return new Yn},deps:[]},{provide:Fl,useClass:nL,multi:!0,deps:[Q,re,Hh]},{provide:Fl,useClass:oL,multi:!0,deps:[Q]},{provide:Nl,useClass:Nl,deps:[Ol,bs,hs]},{provide:Qo,useExisting:Nl},{provide:hw,useExisting:bs},{provide:bs,useClass:bs,deps:[Q]},{provide:Ol,useClass:Ol,deps:[Fl,re]},{provide:class m1{},useClass:K1,deps:[]},[]];let Sw=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:hs,useValue:t.appId},{provide:uw,useExisting:hs},G1]}}}return n.\u0275fac=function(t){return new(t||n)(y(ww,12))},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:[...Ew,...Dw],imports:[iw,LP]}),n})(),Mw=(()=>{class n{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:function(t){let i=null;return i=t?new t:function dL(){return new Mw(y(Q))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let Ll=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(t){let i=null;return i=t?new(t||n):y(Tw),i},providedIn:"root"}),n})(),Tw=(()=>{class n extends Ll{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case ue.NONE:return i;case ue.HTML:return Sn(i,"HTML")?Nt(i):V_(this._doc,String(i)).toString();case ue.STYLE:return Sn(i,"Style")?Nt(i):i;case ue.SCRIPT:if(Sn(i,"Script"))return Nt(i);throw new Error("unsafe value used in a script context");case ue.URL:return Sn(i,"URL")?Nt(i):La(String(i));case ue.RESOURCE_URL:if(Sn(i,"ResourceURL"))return Nt(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function LT(n){return new RT(n)}(t)}bypassSecurityTrustStyle(t){return function VT(n){return new kT(n)}(t)}bypassSecurityTrustScript(t){return function BT(n){return new FT(n)}(t)}bypassSecurityTrustUrl(t){return function HT(n){return new OT(n)}(t)}bypassSecurityTrustResourceUrl(t){return function jT(n){return new PT(n)}(t)}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:function(t){let i=null;return i=t?new t:function yL(n){return new Tw(n.get(Q))}(y(Ze)),i},providedIn:"root"}),n})();function R(...n){return Be(n,Ao(n))}class vt extends ae{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}}const Vl=So(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:vL}=Array,{getPrototypeOf:bL,prototype:CL,keys:wL}=Object;function xw(n){if(1===n.length){const e=n[0];if(vL(e))return{args:e,keys:null};if(function DL(n){return n&&"object"==typeof n&&bL(n)===CL}(e)){const t=wL(e);return{args:t.map(i=>e[i]),keys:t}}}return{args:n,keys:null}}const{isArray:EL}=Array;function Sf(n){return B(e=>function SL(n,e){return EL(e)?n(...e):n(e)}(n,e))}function Rw(n,e){return n.reduce((t,i,r)=>(t[i]=e[r],t),{})}function Mf(...n){const e=Ao(n),t=Zm(n),{args:i,keys:r}=xw(n);if(0===i.length)return Be([],e);const o=new ve(function ML(n,e,t=ci){return i=>{kw(e,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Be(n[l],e);let u=!1;c.subscribe(me(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,e,r?s=>Rw(r,s):ci));return t?o.pipe(Sf(t)):o}function kw(n,e,t){n?Hn(t,n,e):e()}function Cs(...n){return function AL(){return mr(1)}()(Be(n,Ao(n)))}function Bl(n){return new ve(e=>{wt(n()).subscribe(e)})}function io(n,e){const t=oe(n)?n:()=>n,i=r=>r.error(t());return new ve(e?r=>e.schedule(i,0,r):i)}function Af(){return Ae((n,e)=>{let t=null;n._refCount++;const i=me(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const r=n._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});n.subscribe(i),i.closed||(t=n.connect())})}class Fw extends ve{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Pm(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new et;const t=this.getSubject();e.add(this.source.subscribe(me(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),e.closed&&(this._connection=null,e=et.EMPTY)}return e}refCount(){return Af()(this)}}function On(n,e){return Ae((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(me(i,l=>{r?.unsubscribe();let c=0;const u=o++;wt(n(l,u)).subscribe(r=me(i,d=>i.next(e?e(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function At(n){return n<=0?()=>jn:Ae((e,t)=>{let i=0;e.subscribe(me(t,r=>{++i<=n&&(t.next(r),n<=i&&t.complete())}))})}function Hl(...n){const e=Ao(n);return Ae((t,i)=>{(e?Cs(n,t,e):Cs(n,t)).subscribe(i)})}function bt(n,e){return Ae((t,i)=>{let r=0;t.subscribe(me(i,o=>n.call(e,o,r++)&&i.next(o)))})}function jl(n){return Ae((e,t)=>{let i=!1;e.subscribe(me(t,r=>{i=!0,t.next(r)},()=>{i||t.next(n),t.complete()}))})}function Ow(n=IL){return Ae((e,t)=>{let i=!1;e.subscribe(me(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(n())))})}function IL(){return new Vl}function wi(n,e){const t=arguments.length>=2;return i=>i.pipe(n?bt((r,o)=>n(r,o,i)):ci,At(1),t?jl(e):Ow(()=>new Vl))}function Di(n,e){return oe(e)?Ge(n,e,1):Ge(n,1)}function ze(n,e,t){const i=oe(n)||e||t?{next:n,error:e,complete:t}:n;return i?Ae((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(me(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):ci}function ii(n){return Ae((e,t)=>{let o,i=null,r=!1;i=e.subscribe(me(t,void 0,void 0,s=>{o=wt(n(s,ii(n)(e))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function TL(n,e,t,i,r){return(o,s)=>{let a=t,l=e,c=0;o.subscribe(me(s,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function Pw(n,e){return Ae(TL(n,e,arguments.length>=2,!0))}function If(n){return n<=0?()=>jn:Ae((e,t)=>{let i=[];e.subscribe(me(t,r=>{i.push(r),n{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function Nw(n,e){const t=arguments.length>=2;return i=>i.pipe(n?bt((r,o)=>n(r,o,i)):ci,If(1),t?jl(e):Ow(()=>new Vl))}function Lw(n){return B(()=>n)}function Ul(n){return Ae((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}const X="primary",ws=Symbol("RouteTitle");class RL{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ro(n){return new RL(n)}function kL(n,e,t){const i=t.path.split("/");if(i.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||i.lengthi[o]===r)}return n===e}function Bw(n){return Array.prototype.concat.apply([],n)}function Hw(n){return n.length>0?n[n.length-1]:null}function rt(n,e){for(const t in n)n.hasOwnProperty(t)&&e(n[t],t)}function Ei(n){return uh(n)?n:ns(n)?Be(Promise.resolve(n)):R(n)}const PL={exact:function $w(n,e,t){if(!tr(n.segments,e.segments)||!$l(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const i in e.children)if(!n.children[i]||!$w(n.children[i],e.children[i],t))return!1;return!0},subset:zw},jw={exact:function NL(n,e){return Pn(n,e)},subset:function LL(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>Vw(n[t],e[t]))},ignored:()=>!0};function Uw(n,e,t){return PL[t.paths](n.root,e.root,t.matrixParams)&&jw[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function zw(n,e,t){return Ww(n,e,e.segments,t)}function Ww(n,e,t,i){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!tr(r,t)||e.hasChildren()||!$l(r,t,i))}if(n.segments.length===t.length){if(!tr(n.segments,t)||!$l(n.segments,t,i))return!1;for(const r in e.children)if(!n.children[r]||!zw(n.children[r],e.children[r],i))return!1;return!0}{const r=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(tr(n.segments,r)&&$l(n.segments,r,i)&&n.children[X])&&Ww(n.children[X],e,o,i)}}function $l(n,e,t){return e.every((i,r)=>jw[t](n[r].parameters,i.parameters))}class er{constructor(e,t,i){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ro(this.queryParams)),this._queryParamMap}toString(){return HL.serialize(this)}}class J{constructor(e,t){this.segments=e,this.children=t,this.parent=null,rt(t,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zl(this)}}class Ds{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ro(this.parameters)),this._parameterMap}toString(){return Yw(this)}}function tr(n,e){return n.length===e.length&&n.every((t,i)=>t.path===e[i].path)}let Gw=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return new xf},providedIn:"root"}),n})();class xf{parse(e){const t=new YL(e);return new er(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${Es(e.root,!0)}`,i=function $L(n){const e=Object.keys(n).map(t=>{const i=n[t];return Array.isArray(i)?i.map(r=>`${Wl(t)}=${Wl(r)}`).join("&"):`${Wl(t)}=${Wl(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${t}${i}${"string"==typeof e.fragment?`#${function jL(n){return encodeURI(n)}(e.fragment)}`:""}`}}const HL=new xf;function zl(n){return n.segments.map(e=>Yw(e)).join("/")}function Es(n,e){if(!n.hasChildren())return zl(n);if(e){const t=n.children[X]?Es(n.children[X],!1):"",i=[];return rt(n.children,(r,o)=>{o!==X&&i.push(`${o}:${Es(r,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function BL(n,e){let t=[];return rt(n.children,(i,r)=>{r===X&&(t=t.concat(e(i,r)))}),rt(n.children,(i,r)=>{r!==X&&(t=t.concat(e(i,r)))}),t}(n,(i,r)=>r===X?[Es(n.children[X],!1)]:[`${r}:${Es(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[X]?`${zl(n)}/${t[0]}`:`${zl(n)}/(${t.join("//")})`}}function qw(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wl(n){return qw(n).replace(/%3B/gi,";")}function Rf(n){return qw(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gl(n){return decodeURIComponent(n)}function Kw(n){return Gl(n.replace(/\+/g,"%20"))}function Yw(n){return`${Rf(n.path)}${function UL(n){return Object.keys(n).map(e=>`;${Rf(e)}=${Rf(n[e])}`).join("")}(n.parameters)}`}const zL=/^[^\/()?;=#]+/;function ql(n){const e=n.match(zL);return e?e[0]:""}const WL=/^[^=?&#]+/,qL=/^[^&#]+/;class YL{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i[X]=new J(e,t)),i}parseSegment(){const e=ql(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new Ds(Gl(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=ql(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=ql(this.remaining);r&&(i=r,this.capture(i))}e[Gl(t)]=Gl(i)}parseQueryParam(e){const t=function GL(n){const e=n.match(WL);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function KL(n){const e=n.match(qL);return e?e[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=Kw(t),o=Kw(i);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=ql(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new C(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=X);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[X]:new J([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new C(4011,!1)}}function kf(n){return n.segments.length>0?new J([],{[X]:n}):n}function Kl(n){const e={};for(const i of Object.keys(n.children)){const o=Kl(n.children[i]);(o.segments.length>0||o.hasChildren())&&(e[i]=o)}return function ZL(n){if(1===n.numberOfChildren&&n.children[X]){const e=n.children[X];return new J(n.segments.concat(e.segments),e.children)}return n}(new J(n.segments,e))}function nr(n){return n instanceof er}function JL(n,e,t,i,r){if(0===t.length)return oo(e.root,e.root,e.root,i,r);const o=function Xw(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Qw(!0,0,n);let e=0,t=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return rt(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new Qw(t,e,i)}(t);return o.toRoot()?oo(e.root,e.root,new J([],{}),i,r):function s(l){const c=function tV(n,e,t,i){if(n.isAbsolute)return new so(e.root,!0,0);if(-1===i)return new so(t,t===e.root,0);return function Jw(n,e,t){let i=n,r=e,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,!1);r=i.segments.length}return new so(i,!1,r-o)}(t,i+(Ss(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,e,n.snapshot?._urlSegment,l),u=c.processChildren?As(c.segmentGroup,c.index,o.commands):Of(c.segmentGroup,c.index,o.commands);return oo(e.root,c.segmentGroup,u,i,r)}(n.snapshot?._lastPathIndex)}function Ss(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Ms(n){return"object"==typeof n&&null!=n&&n.outlets}function oo(n,e,t,i,r){let s,o={};i&&rt(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===e?t:Zw(n,e,t);const a=kf(Kl(s));return new er(a,o,r)}function Zw(n,e,t){const i={};return rt(n.children,(r,o)=>{i[o]=r===e?t:Zw(r,e,t)}),new J(n.segments,i)}class Qw{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&Ss(i[0]))throw new C(4003,!1);const r=i.find(Ms);if(r&&r!==Hw(i))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class so{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function Of(n,e,t){if(n||(n=new J([],{})),0===n.segments.length&&n.hasChildren())return As(n,e,t);const i=function iV(n,e,t){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=n.segments[r],a=t[i];if(Ms(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!tD(l,c,s))return o;i+=2}else{if(!tD(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,e,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=Of(n.children[s],e,o))}),rt(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new J(n.segments,r)}}function Pf(n,e,t){const i=n.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=Pf(new J([],{}),0,t))}),e}function eD(n){const e={};return rt(n,(t,i)=>e[i]=`${t}`),e}function tD(n,e,t){return n==t.path&&Pn(e,t.parameters)}class ri{constructor(e,t){this.id=e,this.url=t}}class Nf extends ri{constructor(e,t,i="imperative",r=null){super(e,t),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ir extends ri{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Yl extends ri{constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class nD extends ri{constructor(e,t,i,r){super(e,t),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oV extends ri{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sV extends ri{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aV extends ri{constructor(e,t,i,r,o){super(e,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class lV extends ri{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cV extends ri{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uV{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class dV{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class hV{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fV{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pV{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mV{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iD{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class rD{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Lf(e,this._root);return t?t.children.map(i=>i.value):[]}firstChild(e){const t=Lf(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Vf(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Vf(e,this._root).map(t=>t.value)}}function Lf(n,e){if(n===e.value)return e;for(const t of e.children){const i=Lf(n,t);if(i)return i}return null}function Vf(n,e){if(n===e.value)return[e];for(const t of e.children){const i=Vf(n,t);if(i.length)return i.unshift(e),i}return[]}class oi{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function ao(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class oD extends rD{constructor(e,t){super(e),this.snapshot=t,Bf(this,e)}toString(){return this.snapshot.toString()}}function sD(n,e){const t=function _V(n,e){const s=new Zl([],{},{},"",{},X,e,null,n.root,-1,{});return new lD("",new oi(s,[]))}(n,e),i=new vt([new Ds("",{})]),r=new vt({}),o=new vt({}),s=new vt({}),a=new vt(""),l=new bn(i,r,s,a,o,X,e,t.root);return l.snapshot=t.root,new oD(new oi(l,[]),t)}class bn{constructor(e,t,i,r,o,s,a,l){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(B(c=>c[ws]))??R(void 0),this._futureSnapshot=l}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(B(e=>ro(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(e=>ro(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function aD(n,e="emptyOnly"){const t=n.pathFromRoot;let i=0;if("always"!==e)for(i=t.length-1;i>=1;){const r=t[i],o=t[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function yV(n){return n.reduce((e,t)=>({params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(i))}class Zl{constructor(e,t,i,r,o,s,a,l,c,u,d,h){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[ws],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}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=ro(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ro(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class lD extends rD{constructor(e,t){super(t),this.url=e,Bf(this,t)}toString(){return cD(this._root)}}function Bf(n,e){e.value._routerState=n,e.children.forEach(t=>Bf(n,t))}function cD(n){const e=n.children.length>0?` { ${n.children.map(cD).join(", ")} } `:"";return`${n.value}${e}`}function Hf(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Pn(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Pn(e.params,t.params)||n.params.next(t.params),function FL(n,e){if(n.length!==e.length)return!1;for(let t=0;tPn(t.parameters,e[i].parameters))}(n.url,e.url);return t&&!(!n.parent!=!e.parent)&&(!n.parent||jf(n.parent,e.parent))}function Is(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=e.value;const r=function bV(n,e,t){return e.children.map(i=>{for(const r of t.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Is(n,i,r);return Is(n,i)})}(n,e,t);return new oi(i,r)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Is(n,a)),s}}const i=function CV(n){return new bn(new vt(n.url),new vt(n.params),new vt(n.queryParams),new vt(n.fragment),new vt(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>Is(n,o));return new oi(i,r)}}const Uf="ngNavigationCancelingError";function uD(n,e){const{redirectTo:t,navigationBehaviorOptions:i}=nr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=dD(!1,0,e);return r.url=t,r.navigationBehaviorOptions=i,r}function dD(n,e,t){const i=new Error("NavigationCancelingError: "+(n||""));return i[Uf]=!0,i.cancellationCode=e,t&&(i.url=t),i}function hD(n){return fD(n)&&nr(n.url)}function fD(n){return n&&n[Uf]}class wV{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ts,this.attachRef=null}}let Ts=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new wV,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ql=!1;let lo=(()=>{class n{constructor(t,i,r,o,s){this.parentContexts=t,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Me,this.deactivateEvents=new Me,this.attachEvents=new Me,this.detachEvents=new Me,this.name=r||X,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,Ql);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,Ql);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,Ql);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new C(4013,Ql);this._activatedRoute=t;const r=this.location,s=t._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new DV(t,a,r.injector);if(i&&function EV(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(t){return new(t||n)(g(Ts),g(en),Mr("name"),g(fs),g(gi))},n.\u0275dir=P({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class DV{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===bn?this.route:e===Ts?this.childContexts:this.parent.get(e,t)}}let $f=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=Ee({type:n,selectors:[["ng-component"]],standalone:!0,features:[Cb],decls:1,vars:0,template:function(t,i){1&t&&In(0,"router-outlet")},dependencies:[lo],encapsulation:2}),n})();function pD(n,e){return n.providers&&!n._injector&&(n._injector=sl(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Wf(n){const e=n.children&&n.children.map(Wf),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==X&&(t.component=$f),t}function rn(n){return n.outlet||X}function mD(n,e){const t=n.filter(i=>rn(i)===e);return t.push(...n.filter(i=>rn(i)!==e)),t}function xs(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class TV{constructor(e,t,i,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=r}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),Hf(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const r=ao(t);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),rt(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=ao(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=ao(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(e,t,i){const r=ao(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new mV(o.value.snapshot))}),e.children.length&&this.forwardEvent(new fV(e.value.snapshot))}activateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(Hf(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hf(a.route.value),this.activateChildRoutes(e,null,s.children)}else{const a=xs(r.snapshot),l=a?.get(Wi)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,i)}}class gD{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Xl{constructor(e,t){this.component=e,this.route=t}}function xV(n,e,t){const i=n._root;return Rs(i,e?e._root:null,t,[i.value])}function co(n,e){const t=Symbol(),i=e.get(n,t);return i===t?"function"!=typeof n||function yA(n){return null!==sa(n)}(n)?e.get(n):n:i}function Rs(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=ao(e);return n.children.forEach(s=>{(function kV(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function FV(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!tr(n.url,e.url);case"pathParamsOrQueryParamsChange":return!tr(n.url,e.url)||!Pn(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(n,e)||!Pn(n.queryParams,e.queryParams);default:return!jf(n,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new gD(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Rs(n,e,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Xl(a.outlet.component,s))}else s&&ks(e,a,r),r.canActivateChecks.push(new gD(i)),Rs(n,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),rt(o,(s,a)=>ks(s,t.getContext(a),r)),r}function ks(n,e,t){const i=ao(n),r=n.value;rt(i,(o,s)=>{ks(o,r.component?e?e.children.getContext(s):null:e,t)}),t.canDeactivateChecks.push(new Xl(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Fs(n){return"function"==typeof n}function Gf(n){return n instanceof Vl||"EmptyError"===n?.name}const Jl=Symbol("INITIAL_VALUE");function uo(){return On(n=>Mf(n.map(e=>e.pipe(At(1),Hl(Jl)))).pipe(B(e=>{for(const t of e)if(!0!==t){if(t===Jl)return Jl;if(!1===t||t instanceof er)return t}return!0}),bt(e=>e!==Jl),At(1)))}function _D(n){return function vM(...n){return Fm(n)}(ze(e=>{if(nr(e))throw uD(0,e)}),B(e=>!0===e))}const qf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yD(n,e,t,i,r){const o=Kf(n,e,t);return o.matched?function ZV(n,e,t,i){const r=e.canMatch;return r&&0!==r.length?R(r.map(s=>{const a=co(s,n);return Ei(function BV(n){return n&&Fs(n.canMatch)}(a)?a.canMatch(e,t):n.runInContext(()=>a(e,t)))})).pipe(uo(),_D()):R(!0)}(i=pD(e,i),e,t).pipe(B(s=>!0===s?o:{...qf})):R(o)}function Kf(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...qf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||kL)(t,n,e);if(!r)return{...qf};const o={};rt(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function ec(n,e,t,i,r="corrected"){if(t.length>0&&function JV(n,e,t){return t.some(i=>tc(n,e,i)&&rn(i)!==X)}(n,t,i)){const s=new J(e,function XV(n,e,t,i){const r={};r[X]=i,i._sourceSegment=n,i._segmentIndexShift=e.length;for(const o of t)if(""===o.path&&rn(o)!==X){const s=new J([],{});s._sourceSegment=n,s._segmentIndexShift=e.length,r[rn(o)]=s}return r}(n,e,i,new J(t,n.children)));return s._sourceSegment=n,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===t.length&&function eB(n,e,t){return t.some(i=>tc(n,e,i))}(n,t,i)){const s=new J(n.segments,function QV(n,e,t,i,r,o){const s={};for(const a of i)if(tc(n,t,a)&&!r[rn(a)]){const l=new J([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:e.length,s[rn(a)]=l}return{...r,...s}}(n,e,t,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:t}}const o=new J(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:t}}function tc(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}function vD(n,e,t,i){return!!(rn(n)===i||i!==X&&tc(e,t,n))&&("**"===n.path||Kf(e,n,t).matched)}function bD(n,e,t){return 0===e.length&&!n.children[t]}const nc=!1;class ic{constructor(e){this.segmentGroup=e||null}}class CD{constructor(e){this.urlTree=e}}function Os(n){return io(new ic(n))}function wD(n){return io(new CD(n))}class rB{constructor(e,t,i,r,o){this.injector=e,this.configLoader=t,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const e=ec(this.urlTree.root,[],[],this.config).segmentGroup,t=new J(e.segments,e.children);return this.expandSegmentGroup(this.injector,this.config,t,X).pipe(B(o=>this.createUrlTree(Kl(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ii(o=>{if(o instanceof CD)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ic?this.noMatchError(o):o}))}match(e){return this.expandSegmentGroup(this.injector,this.config,e.root,X).pipe(B(r=>this.createUrlTree(Kl(r),e.queryParams,e.fragment))).pipe(ii(r=>{throw r instanceof ic?this.noMatchError(r):r}))}noMatchError(e){return new C(4002,nc)}createUrlTree(e,t,i){const r=kf(e);return new er(r,t,i)}expandSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(B(o=>new J([],o))):this.expandSegment(e,i,t,i.segments,r,!0)}expandChildren(e,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Be(r).pipe(Di(o=>{const s=i.children[o],a=mD(t,o);return this.expandSegmentGroup(e,a,s,o).pipe(B(l=>({segment:l,outlet:o})))}),Pw((o,s)=>(o[s.outlet]=s.segment,o),{}),Nw())}expandSegment(e,t,i,r,o,s){return Be(i).pipe(Di(a=>this.expandSegmentAgainstRoute(e,t,i,a,r,o,s).pipe(ii(c=>{if(c instanceof ic)return R(null);throw c}))),wi(a=>!!a),ii((a,l)=>{if(Gf(a))return bD(t,r,o)?R(new J([],{})):Os(t);throw a}))}expandSegmentAgainstRoute(e,t,i,r,o,s,a){return vD(r,t,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s):Os(t):Os(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?wD(o):this.lineralizeSegments(i,o).pipe(Ge(s=>{const a=new J(s,{});return this.expandSegment(e,a,t,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Kf(t,r,o);if(!a)return Os(t);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?wD(d):this.lineralizeSegments(r,d).pipe(Ge(h=>this.expandSegment(e,t,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(e,t,i,r,o){return"**"===i.path?(e=pD(i,e),i.loadChildren?(i._loadedRoutes?R({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(e,i)).pipe(B(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new J(r,{})))):R(new J(r,{}))):yD(t,i,r,e).pipe(On(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(e=i._injector??e,i,r).pipe(Ge(u=>{const d=u.injector??e,h=u.routes,{segmentGroup:f,slicedSegments:p}=ec(t,a,l,h),m=new J(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe(B(v=>new J(a,v)));if(0===h.length&&0===p.length)return R(new J(a,{}));const _=rn(i)===o;return this.expandSegment(d,m,h,p,_?X:o,!0).pipe(B(D=>new J(a.concat(D.segments),D.children)))})):Os(t)))}getChildConfig(e,t,i){return t.children?R({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?R({routes:t._loadedRoutes,injector:t._loadedInjector}):function YV(n,e,t,i){const r=e.canLoad;return void 0===r||0===r.length?R(!0):R(r.map(s=>{const a=co(s,n);return Ei(function PV(n){return n&&Fs(n.canLoad)}(a)?a.canLoad(e,t):n.runInContext(()=>a(e,t)))})).pipe(uo(),_D())}(e,t,i).pipe(Ge(r=>r?this.configLoader.loadChildren(e,t).pipe(ze(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function nB(n){return io(dD(nc,3))}())):R({routes:[],injector:e})}lineralizeSegments(e,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return R(i);if(r.numberOfChildren>1||!r.children[X])return io(new C(4e3,nc));r=r.children[X]}}applyRedirectCommands(e,t,i){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreateUrlTree(e,t,i,r){const o=this.createSegmentGroup(e,t.root,i,r);return new er(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return rt(e,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=t[a]}else i[o]=r}),i}createSegmentGroup(e,t,i,r){const o=this.createSegments(e,t.segments,i,r);let s={};return rt(t.children,(a,l)=>{s[l]=this.createSegmentGroup(e,a,i,r)}),new J(o,s)}createSegments(e,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,t,i){const r=i[t.path.substring(1)];if(!r)throw new C(4001,nc);return r}findOrReturn(e,t){let i=0;for(const r of t){if(r.path===e.path)return t.splice(i),r;i++}return e}}class sB{}class cB{constructor(e,t,i,r,o,s,a,l){this.injector=e,this.rootComponentType=t,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const e=ec(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,X).pipe(B(t=>{if(null===t)return null;const i=new Zl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new oi(i,t),o=new lD(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(e){const t=e.value,i=aD(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(e,t,i):this.processSegment(e,t,i,i.segments,r)}processChildren(e,t,i){return Be(Object.keys(i.children)).pipe(Di(r=>{const o=i.children[r],s=mD(t,r);return this.processSegmentGroup(e,s,o,r)}),Pw((r,o)=>r&&o?(r.push(...o),r):null),function xL(n,e=!1){return Ae((t,i)=>{let r=0;t.subscribe(me(i,o=>{const s=n(o,r++);(s||e)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),jl(null),Nw(),B(r=>{if(null===r)return null;const o=DD(r);return function uB(n){n.sort((e,t)=>e.value.outlet===X?-1:t.value.outlet===X?1:e.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(e,t,i,r,o){return Be(t).pipe(Di(s=>this.processSegmentAgainstRoute(s._injector??e,s,i,r,o)),wi(s=>!!s),ii(s=>{if(Gf(s))return bD(i,r,o)?R([]):R(null);throw s}))}processSegmentAgainstRoute(e,t,i,r,o){if(t.redirectTo||!vD(t,i,r,o))return R(null);let s;if("**"===t.path){const a=r.length>0?Hw(r).parameters:{},l=SD(i)+r.length;s=R({snapshot:new Zl(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,AD(t),rn(t),t.component??t._loadedComponent??null,t,ED(i),l,ID(t),l),consumedSegments:[],remainingSegments:[]})}else s=yD(i,t,r,e).pipe(B(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=SD(i)+l.length;return{snapshot:new Zl(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,AD(t),rn(t),t.component??t._loadedComponent??null,t,ED(i),d,ID(t),d),consumedSegments:l,remainingSegments:c}}));return s.pipe(On(a=>{if(null===a)return R(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;e=t._injector??e;const d=t._loadedInjector??e,h=function dB(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:f,slicedSegments:p}=ec(i,c,u,h.filter(_=>void 0===_.redirectTo),this.relativeLinkResolution);if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe(B(_=>null===_?null:[new oi(l,_)]));if(0===h.length&&0===p.length)return R([new oi(l,[])]);const m=rn(t)===o;return this.processSegment(d,h,f,p,m?X:o).pipe(B(_=>null===_?null:[new oi(l,_)]))}))}}function hB(n){const e=n.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function DD(n){const e=[],t=new Set;for(const i of n){if(!hB(i)){e.push(i);continue}const r=e.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):e.push(i)}for(const i of t){const r=DD(i.children);e.push(new oi(i.value,r))}return e.filter(i=>!t.has(i))}function ED(n){let e=n;for(;e._sourceSegment;)e=e._sourceSegment;return e}function SD(n){let e=n,t=e._segmentIndexShift??0;for(;e._sourceSegment;)e=e._sourceSegment,t+=e._segmentIndexShift??0;return t-1}function AD(n){return n.data||{}}function ID(n){return n.resolve||{}}function TD(n){return"string"==typeof n.title||null===n.title}function Yf(n){return On(e=>{const t=n(e);return t?Be(t).pipe(B(()=>e)):R(e)})}let xD=(()=>{class n{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===X);return i}getResolvedTitleForRoute(t){return t.data[ws]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return Se(RD)},providedIn:"root"}),n})(),RD=(()=>{class n extends xD{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(t){return new(t||n)(y(Mw))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class bB{}class wB extends class CB{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const oc=new E("",{providedIn:"root",factory:()=>({})}),Zf=new E("ROUTES");let Qf=(()=>{class n{constructor(t,i){this.injector=t,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return R(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=Ei(t.loadComponent()).pipe(ze(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ul(()=>{this.componentLoaders.delete(t)})),r=new Fw(i,()=>new ae).pipe(Af());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(B(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(t).injector,c=Bw(l.get(Zf,[],F.Self|F.Optional)));return{routes:c.map(Wf),injector:l}}),Ul(()=>{this.childrenLoaders.delete(i)})),s=new Fw(o,()=>new ae).pipe(Af());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(t){return Ei(t()).pipe(Ge(i=>i instanceof vb||Array.isArray(i)?R(i):Be(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(t){return new(t||n)(y(Ze),y(jh))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class EB{}class SB{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function MB(n){throw n}function AB(n,e,t){return e.parse("/")}const IB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},TB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function FD(){const n=Se(Gw),e=Se(Ts),t=Se(ms),i=Se(Ze),r=Se(jh),o=Se(Zf,{optional:!0})??[],s=Se(oc,{optional:!0})??{},a=Se(RD),l=Se(xD,{optional:!0}),c=Se(EB,{optional:!0}),u=Se(bB,{optional:!0}),d=new Ve(null,n,e,t,i,r,Bw(o));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function xB(n,e){n.errorHandler&&(e.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(e.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(e.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(e.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(e.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(e.canceledNavigationResolution=n.canceledNavigationResolution)}(s,d),d}let Ve=(()=>{class n{constructor(t,i,r,o,s,a,l){this.rootComponentType=t,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ae,this.errorHandler=MB,this.malformedUriErrorHandler=AB,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>R(void 0),this.urlHandlingStrategy=new SB,this.routeReuseStrategy=new wB,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Qf),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new dV(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new uV(h)),this.ngModule=s.get(Qi),this.console=s.get(nP);const d=s.get(re);this.isNgZoneEnabled=d instanceof re&&re.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function OL(){return new er(new J([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=sD(this.currentUrlTree,this.rootComponentType),this.transitions=new vt({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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(t){const i=this.events;return t.pipe(bt(r=>0!==r.id),B(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),On(r=>{let o=!1,s=!1;return R(r).pipe(ze(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),On(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return OD(a.source)&&(this.browserUrlTree=a.extractedUrl),R(a).pipe(On(d=>{const h=this.transitions.getValue();return i.next(new Nf(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?jn:Promise.resolve(d)}),function oB(n,e,t,i){return On(r=>function iB(n,e,t,i,r){return new rB(n,e,t,i,r).apply()}(n,e,t,r.extractedUrl,i).pipe(B(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ze(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function pB(n,e,t,i,r,o){return Ge(s=>function lB(n,e,t,i,r,o,s="emptyOnly",a="legacy"){return new cB(n,e,t,i,r,s,a,o).recognize().pipe(On(l=>null===l?function aB(n){return new ve(e=>e.error(n))}(new sB):R(l)))}(n,e,t,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(B(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ze(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(f,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new oV(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:f,source:p,restoredState:m,extras:_}=a,b=new Nf(h,this.serializeUrl(f),p,m);i.next(b);const D=sD(f,this.rootComponentType).snapshot;return R(r={...a,targetSnapshot:D,urlAfterRedirects:f,extras:{..._,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),jn}),ze(a=>{const l=new sV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),B(a=>r={...a,guards:xV(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function jV(n,e){return Ge(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?R({...t,guardsResult:!0}):function UV(n,e,t,i){return Be(n).pipe(Ge(r=>function KV(n,e,t,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?R(o.map(a=>{const l=xs(e)??r,c=co(a,l);return Ei(function VV(n){return n&&Fs(n.canDeactivate)}(c)?c.canDeactivate(n,e,t,i):l.runInContext(()=>c(n,e,t,i))).pipe(wi())})).pipe(uo()):R(!0)}(r.component,r.route,t,e,i)),wi(r=>!0!==r,!0))}(s,i,r,n).pipe(Ge(a=>a&&function OV(n){return"boolean"==typeof n}(a)?function $V(n,e,t,i){return Be(e).pipe(Di(r=>Cs(function WV(n,e){return null!==n&&e&&e(new hV(n)),R(!0)}(r.route.parent,i),function zV(n,e){return null!==n&&e&&e(new pV(n)),R(!0)}(r.route,i),function qV(n,e,t){const i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function RV(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(s)).filter(s=>null!==s).map(s=>Bl(()=>R(s.guards.map(l=>{const c=xs(s.node)??t,u=co(l,c);return Ei(function LV(n){return n&&Fs(n.canActivateChild)}(u)?u.canActivateChild(i,n):c.runInContext(()=>u(i,n))).pipe(wi())})).pipe(uo())));return R(o).pipe(uo())}(n,r.path,t),function GV(n,e,t){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return R(!0);const r=i.map(o=>Bl(()=>{const s=xs(e)??t,a=co(o,s);return Ei(function NV(n){return n&&Fs(n.canActivate)}(a)?a.canActivate(e,n):s.runInContext(()=>a(e,n))).pipe(wi())}));return R(r).pipe(uo())}(n,r.route,t))),wi(r=>!0!==r,!0))}(i,o,n,e):R(a)),B(a=>({...t,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),ze(a=>{if(r.guardsResult=a.guardsResult,nr(a.guardsResult))throw uD(0,a.guardsResult);const l=new aV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),bt(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Yf(a=>{if(a.guards.canActivateChecks.length)return R(a).pipe(ze(l=>{const c=new lV(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),On(l=>{let c=!1;return R(l).pipe(function mB(n,e){return Ge(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return R(t);let o=0;return Be(r).pipe(Di(s=>function gB(n,e,t,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!TD(r)&&(o[ws]=r.title),function _B(n,e,t,i){const r=function yB(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return R({});const o={};return Be(r).pipe(Ge(s=>function vB(n,e,t,i){const r=xs(e)??i,o=co(n,r);return Ei(o.resolve?o.resolve(e,t):r.runInContext(()=>o(e,t)))}(n[s],e,t,i).pipe(wi(),ze(a=>{o[s]=a}))),If(1),Lw(o),ii(s=>Gf(s)?jn:io(s)))}(o,n,e,i).pipe(B(s=>(n._resolvedData=s,n.data=aD(n,t).resolve,r&&TD(r)&&(n.data[ws]=r.title),null)))}(s.route,i,n,e)),ze(()=>o++),If(1),Ge(s=>o===r.length?R(t):jn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ze({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),ze(l=>{const c=new cV(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),Yf(a=>{const l=c=>{const u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(ze(d=>{c.component=d}),B(()=>{})));for(const d of c.children)u.push(...l(d));return u};return Mf(l(a.targetSnapshot.root)).pipe(jl(),At(1))}),Yf(()=>this.afterPreactivation()),B(a=>{const l=function vV(n,e,t){const i=Is(n,e._root,t?t._root:void 0);return new oD(i,e)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),ze(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,e,t)=>B(i=>(new TV(e,i.targetRouterState,i.currentRouterState,t).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),ze({next(){o=!0},complete(){o=!0}}),Ul(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),ii(a=>{if(s=!0,fD(a)){hD(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new Yl(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),hD(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||OD(r.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new nD(r.id,this.serializeUrl(r.extractedUrl),a,r.targetSnapshot??void 0);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return jn}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}setTransition(t){this.transitions.next({...this.transitions.value,...t})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const i="popstate"===t.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const r={replaceUrl:!0},o=t.state?.navigationId?t.state:null;if(o){const a={...o};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const s=this.parseUrl(t.url);this.scheduleNavigation(s,i,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){this.config=t.map(Wf),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(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),JL(c,this.currentUrlTree,t,d,u??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=nr(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(t,i={skipLocationChange:!1}){return function RB(n){for(let e=0;e{const o=t[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new ir(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,f)=>{a=h,l=f});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),d=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===r?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,i,r){const o=new Yl(t.id,this.serializeUrl(t.extractedUrl),i,r);this.triggerEvent(o),t.resolve(!1)}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}}return n.\u0275fac=function(t){Ua()},n.\u0275prov=S({token:n,factory:function(){return FD()},providedIn:"root"}),n})();function OD(n){return"imperative"!==n}class PD{}let OB=(()=>{class n{constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(bt(t=>t instanceof ir),Di(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=sl(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Be(r).pipe(mr())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):R(null);const o=r.pipe(Ge(s=>null===s?R(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?Be([o,this.loader.loadComponent(i)]).pipe(mr()):o})}}return n.\u0275fac=function(t){return new(t||n)(y(Ve),y(jh),y(gi),y(PD),y(Qf))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ep=new E("");let ND=(()=>{class n{constructor(t,i,r={}){this.router=t,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.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(t=>{t instanceof Nf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ir&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof iD&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.router.triggerEvent(new iD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(t){Ua()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function ho(n,e){return{\u0275kind:n,\u0275providers:e}}function tp(n){return[{provide:Zf,multi:!0,useValue:n}]}function VD(){const n=Se(Ze);return e=>{const t=n.get(no);if(e!==t.components[0])return;const i=n.get(Ve),r=n.get(BD);1===n.get(np)&&i.initialNavigation(),n.get(HD,null,F.Optional)?.setUpPreloading(),n.get(ep,null,F.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const BD=new E("",{factory:()=>new ae}),np=new E("",{providedIn:"root",factory:()=>1});const HD=new E("");function VB(n){return ho(0,[{provide:HD,useExisting:OB},{provide:PD,useExisting:n}])}const jD=new E("ROUTER_FORROOT_GUARD"),BB=[ms,{provide:Gw,useClass:xf},{provide:Ve,useFactory:FD},Ts,{provide:bn,useFactory:function LD(n){return n.routerState.root},deps:[Ve]},Qf];function HB(){return new mC("Router",Ve)}let UD=(()=>{class n{constructor(t){}static forRoot(t,i){return{ngModule:n,providers:[BB,[],tp(t),{provide:jD,useFactory:zB,deps:[[Ve,new mi,new Fr]]},{provide:oc,useValue:i||{}},i?.useHash?{provide:Ji,useClass:zP}:{provide:Ji,useClass:HC},{provide:ep,useFactory:()=>{const n=Se(Ve),e=Se(h1),t=Se(oc);return t.scrollOffset&&e.setOffset(t.scrollOffset),new ND(n,e,t)}},i?.preloadingStrategy?VB(i.preloadingStrategy).\u0275providers:[],{provide:mC,multi:!0,useFactory:HB},i?.initialNavigation?WB(i):[],[{provide:$D,useFactory:VD},{provide:lC,multi:!0,useExisting:$D}]]}}static forChild(t){return{ngModule:n,providers:[tp(t)]}}}return n.\u0275fac=function(t){return new(t||n)(y(jD,8))},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[$f]}),n})();function zB(n){return"guarded"}function WB(n){return["disabled"===n.initialNavigation?ho(3,[{provide:hl,multi:!0,useFactory:()=>{const e=Se(Ve);return()=>{e.setUpLocationChangeListener()}}},{provide:np,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?ho(2,[{provide:np,useValue:0},{provide:hl,multi:!0,deps:[Ze],useFactory:e=>{const t=e.get(UP,Promise.resolve());let i=!1;return()=>t.then(()=>new Promise(o=>{const s=e.get(Ve),a=e.get(BD);(function r(o){e.get(Ve).events.pipe(bt(a=>a instanceof ir||a instanceof Yl||a instanceof nD),B(a=>a instanceof ir||a instanceof Yl&&(0===a.code||1===a.code)&&null),bt(a=>null!==a),At(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?R(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const $D=new E("");let ip=(()=>{class n{constructor(t,i){this.route=t,this.router=i,this.navs=[]}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){throw new Error("need impl")}isActiveHeader(t){const i=this.route.firstChild?.component?.name==t.component;return i&&(this.currentNav=t),i}selectHeader(t,i=[]){i.push(t.path),this.router.navigate(i)}choiceHeader(t){if(null!=this.currentNav){const i=this.navs.indexOf(this.currentNav);switch(t){case"KeyA":this.selectHeader(i-1<0?this.navs[this.navs.length-1]:this.navs[i-1]);break;case"KeyD":this.selectHeader(i+1>=this.navs.length?this.navs[0]:this.navs[i+1])}}}}return n.\u0275fac=function(t){return new(t||n)(g(bn),g(Ve))},n.\u0275cmp=Ee({type:n,selectors:[["abs-navs-header"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),zD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=Ee({type:n,selectors:[["app-status-lower-header"]],decls:2,vars:0,template:function(t,i){1&t&&(q(0,"p"),fe(1,"status"),$())},encapsulation:2}),n})(),fo=(()=>{class n{}return n.UNKNOWN=0,n.RESERVED=1,n.SYSSTATS=2,n.SPACESTATS=3,n.WIFI=4,n})(),rp=(()=>{class n{}return n.UNKNOWN=0,n.SELF=1,n.EXTERNAL=2,n})();class cc{static getRandom(e,t){return Math.random()*(t-e)+e}static getRandomRound(e,t){return Math.round(this.getRandom(e,t))}}let WD=(()=>{class n{constructor(){this.events=new vt("{}"),console.log("random data to ws create"),setInterval(()=>{this.events.next(JSON.stringify({event:fo.SYSSTATS,device:rp.SELF,data:{cpu:cc.getRandom(0,99.9),mem:cc.getRandom(0,400)}})),this.events.next(JSON.stringify({event:fo.SPACESTATS,device:rp.SELF,data:{free:cc.getRandom(0,40),total:50,format:"GB"}})),this.events.next(JSON.stringify({event:fo.WIFI,device:rp.SELF,data:1==cc.getRandomRound(1,2)?{state:"Connected",ap:"nyk",ip:"192.168.1.2"}:{state:"Disconnected",ap:"",ip:""}}))},1e3)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function qB(n,e){if(1&n){const t=el();q(0,"p",6),it("click",function(){const o=ga(t).$implicit;return _a(jt().selectHeader(o))}),fe(1),$()}if(2&n){const t=e.$implicit;Jt("inactiveHeader",!jt().isActiveHeader(t)),ie(1),Xe(t.name)}}let op,GD=(()=>{class n extends ip{constructor(t,i,r){super(t,i),this.ws=r,this.cpu=0,this.mem=0,this.wifi="",super.navs=[{name:"status",path:"status",action:()=>{},component:zD.name},{name:"2",path:"2",action:()=>{},component:""},{name:"3",path:"3",action:()=>{},component:""}]}ngOnInit(){this.ws.events.pipe(B(t=>JSON.parse(t))).subscribe(t=>{t.event==fo.SYSSTATS&&(this.cpu=Math.round(t.data.cpu),this.mem=Math.round(t.data.mem)),t.event==fo.WIFI&&(this.wifi=t.data.ip?`${t.data.state} to ${t.data.ap} (${t.data.ip})`:t.data.state)})}}return n.\u0275fac=function(t){return new(t||n)(g(bn),g(Ve),g(WD))},n.\u0275cmp=Ee({type:n,selectors:[["app-stats-header"]],features:[W],decls:14,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(t,i){1&t&&(q(0,"div",0),Bt(1,qB,2,3,"p",1),$(),In(2,"router-outlet"),q(3,"div",2)(4,"div",3)(5,"div",4)(6,"span"),fe(7),$()(),q(8,"div",5)(9,"span"),fe(10),$()(),q(11,"div",4)(12,"span"),fe(13),$()()()()),2&t&&(ie(1),Ht("ngForOf",i.navs),ie(6),Yi("CPU ",i.cpu,"%"),ie(3),Xe(i.wifi),ie(3),Yi("MEM ",i.mem,"MB"))},dependencies:[bi,lo],encapsulation:2}),n})();try{op=typeof Intl<"u"&&Intl.v8BreakIterator}catch{op=!1}let Ps,rr,sp,Nn=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function d1(n){return n===rw}(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&&!op)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(y(Hh))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function uc(n){return function KB(){if(null==Ps&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ps=!0}))}finally{Ps=Ps||!1}return Ps}()?n:!!n.capture}function YB(){if(null==rr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return rr=!1,rr;if("scrollBehavior"in document.documentElement.style)rr=!0;else{const n=Element.prototype.scrollTo;rr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return rr}function ap(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function or(n){return n.composedPath?n.composedPath()[0]:n.target}function lp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function YD(n,...e){return e.length?e.some(t=>n[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ZD(n){return bt((e,t)=>n<=t)}function rH(n,e){return n===e}function cp(n){return Ae((e,t)=>{wt(n).subscribe(me(t,()=>t.complete(),ea)),!t.closed&&e.subscribe(t)})}function hc(n){return Array.isArray(n)?n:[n]}function We(n){return null==n?"":"string"==typeof n?n:`${n}px`}function fc(n){return n instanceof je?n.nativeElement:n}let aH=(()=>{class n{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),QD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:[aH]}),n})();class lH extends et{constructor(e,t){super()}schedule(e,t=0){return this}}const pc={setInterval(n,e,...t){const{delegate:i}=pc;return i?.setInterval?i.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=pc;return(e?.clearInterval||clearInterval)(n)},delegate:void 0};class up extends lH{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,i=0){return pc.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&pc.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,pr(i,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}const dp={now:()=>(dp.delegate||Date).now(),delegate:void 0};class Ns{constructor(e,t=Ns.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,i){return new this.schedulerActionCtor(this,e).schedule(i,t)}}Ns.now=dp.now;class hp extends Ns{constructor(e,t=Ns.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let i;this._active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const mc=new hp(up),cH=mc,XD=new Set;let mo,dH=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fH}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function hH(n){if(!XD.has(n))try{mo||(mo=document.createElement("style"),mo.setAttribute("type","text/css"),document.head.appendChild(mo)),mo.sheet&&(mo.sheet.insertRule(`@media ${n} {body{ }}`,0),XD.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(y(Nn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function fH(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let pH=(()=>{class n{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new ae}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return JD(hc(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=Mf(JD(hc(t)).map(s=>this._registerQuery(s).observable));return o=Cs(o.pipe(At(1)),o.pipe(ZD(1),function uH(n,e=mc){return Ae((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=e.now();if(u{o=c,s=e.now(),r||(r=e.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(B(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new ve(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Hl(i),B(({matches:s})=>({query:t,matches:s})),cp(this._destroySubject)),mql:i};return this._queries.set(t,o),o}}return n.\u0275fac=function(t){return new(t||n)(y(dH),y(re))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function JD(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}let gc=(()=>{class n{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function yH(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const i=function _H(n){try{return n.frameElement}catch{return null}}(function MH(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(t));if(i&&(-1===iE(i)||!this.isVisible(i)))return!1;let r=t.nodeName.toLowerCase(),o=iE(t);return t.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function EH(n){let e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(t))&&("audio"===r?!!t.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,i){return function SH(n){return!function bH(n){return function wH(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function vH(n){let e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function CH(n){return function DH(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||nE(n))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}}return n.\u0275fac=function(t){return new(t||n)(y(Nn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function nE(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let e=n.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function iE(n){if(!nE(n))return null;const e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class AH{constructor(e,t,i,r,o=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.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(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(e),!!i}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){const t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let i=0;i=0;i--){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(At(1)).subscribe(e)}}let fp=(()=>{class n{constructor(t,i,r){this._checker=t,this._ngZone=i,this._document=r}create(t,i=!1){return new AH(t,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(t){return new(t||n)(y(gc),y(re),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const xH=new E("cdk-input-modality-detector-options"),RH={ignoreKeys:[18,17,224,91,16]},go=uc({passive:!0,capture:!0});let kH=(()=>{class n{constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new vt(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=or(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function IH(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(s)?"keyboard":"mouse"),this._mostRecentTarget=or(s))},this._onTouchstart=s=>{!function TH(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}(s)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=or(s)):this._modality.next("keyboard")},this._options={...RH,...o},this.modalityDetected=this._modality.pipe(ZD(1)),this.modalityChanged=this.modalityDetected.pipe(function iH(n,e=ci){return n=n??rH,Ae((t,i)=>{let r,o=!0;t.subscribe(me(i,s=>{const a=e(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,go),r.addEventListener("mousedown",this._onMousedown,go),r.addEventListener("touchstart",this._onTouchstart,go)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,go),document.removeEventListener("mousedown",this._onMousedown,go),document.removeEventListener("touchstart",this._onTouchstart,go))}}return n.\u0275fac=function(t){return new(t||n)(y(Nn),y(re),y(Q),y(xH,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const OH=new E("cdk-focus-monitor-default-options"),_c=uc({passive:!0,capture:!0});let pp=(()=>{class n{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,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=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ae,this._rootNodeFocusAndBlurListener=a=>{for(let c=or(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(t,i=!1){const r=fc(t);if(!this._platform.isBrowser||1!==r.nodeType)return R(null);const o=function QB(n){if(function ZB(){if(null==sp){const n=typeof document<"u"?document.head:null;sp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return sp}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ae,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=fc(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=fc(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=or(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,_c),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,_c)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(cp(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_c),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_c),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class n{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=Se(pH).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(mp,oE,sE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?t.add(mp,oE):2===i&&t.add(mp,sE)}}}return n.\u0275fac=function(t){return new(t||n)(y(Nn),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),PH=(()=>{class n{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(t){return new(t||n)(y(aE))},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[QD]}),n})();const NH=["addListener","removeListener"],LH=["addEventListener","removeEventListener"],VH=["on","off"];function gp(n,e,t,i){if(oe(t)&&(i=t,t=void 0),i)return gp(n,e,t).pipe(Sf(i));const[r,o]=function jH(n){return oe(n.addEventListener)&&oe(n.removeEventListener)}(n)?LH.map(s=>a=>n[s](e,a,t)):function BH(n){return oe(n.addListener)&&oe(n.removeListener)}(n)?NH.map(lE(n,e)):function HH(n){return oe(n.on)&&oe(n.off)}(n)?VH.map(lE(n,e)):[];if(!r&&uu(n))return Ge(s=>gp(s,e,t))(wt(n));if(!r)throw new TypeError("Invalid event target");return new ve(s=>{const a=(...l)=>s.next(1o(a)})}function lE(n,e){return t=>i=>n[t](e,i)}const Ls={schedule(n){let e=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Ls;i&&(e=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=e(o=>{t=void 0,n(o)});return new et(()=>t?.(r))},requestAnimationFrame(...n){const{delegate:e}=Ls;return(e?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:e}=Ls;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class $H extends hp{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class UH extends up{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=Ls.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Ls.cancelAnimationFrame(t),e._scheduled=void 0)}});let _p,WH=1;const yc={};function cE(n){return n in yc&&(delete yc[n],!0)}const GH={setImmediate(n){const e=WH++;return yc[e]=!0,_p||(_p=Promise.resolve()),_p.then(()=>cE(e)&&n()),e},clearImmediate(n){cE(n)}},{setImmediate:qH,clearImmediate:KH}=GH,vc={setImmediate(...n){const{delegate:e}=vc;return(e?.setImmediate||qH)(...n)},clearImmediate(n){const{delegate:e}=vc;return(e?.clearImmediate||KH)(n)},delegate:void 0};new class ZH extends hp{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class YH extends up{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=vc.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(vc.clearImmediate(t),e._scheduled=void 0)}});function uE(n=0,e,t=cH){let i=-1;return null!=e&&(Ym(e)?t=e:i=e),new ve(r=>{let o=function JH(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function dE(n,e=mc){return function XH(n){return Ae((e,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};e.subscribe(me(t,c=>{i=!0,r=c,o||wt(n(c)).subscribe(o=me(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>uE(n,e))}const e2=new E("cdk-dir-doc",{providedIn:"root",factory:function t2(){return Se(Q)}}),n2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let yp=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new Me,t){const r=t.documentElement?t.documentElement.dir:null;this.value=function r2(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?n2.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(y(e2,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Vs=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})(),s2=(()=>{class n{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new ae,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new ve(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(dE(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):R()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(bt(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=fc(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>gp(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(y(re),y(Nn),y(Q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hE=(()=>{class n{constructor(t,i,r){this._platform=t,this._change=new ae,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(dE(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(y(Nn),y(re),y(Q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[Vs,fE,Vs,fE]}),n})();class vp{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class bp extends vp{constructor(e,t,i,r){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r}}class mE extends vp{constructor(e,t,i,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class l2 extends vp{constructor(e){super(),this.element=e instanceof je?e.nativeElement:e}}class Cp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof bp?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof mE?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof l2?(this._attachedPortal=e,this.attachDomPortal(e)):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(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class c2 extends Cp{constructor(e,t,i,r,o){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){const i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(e.injector||this._defaultInjector||Ze.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let wp=(()=>{class n extends Cp{constructor(t,i,r){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Me,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const i=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=i.createComponent(o,i.length,t.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return n.\u0275fac=function(t){return new(t||n)(g(Wi),g(en),g(Q))},n.\u0275dir=P({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]}),n})(),bc=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})();const gE=YB();class u2{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=We(-this._previousScrollPosition.left),e.style.top=We(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,i=e.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),gE&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),gE&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class d2{constructor(e,t,i,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class _E{enable(){}disable(){}attach(){}}function Dp(n,e){return e.some(t=>n.bottomt.bottom||n.rightt.right)}function yE(n,e){return e.some(t=>n.topt.bottom||n.leftt.right)}class h2{constructor(e,t,i,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Dp(t,[{width:i,height:r,bottom:r,right:i,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 f2=(()=>{class n{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new _E,this.close=s=>new d2(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new u2(this._viewportRuler,this._document),this.reposition=s=>new h2(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(t){return new(t||n)(y(s2),y(hE),y(re),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class vE{constructor(e){if(this.scrollStrategy=new _E,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class p2{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let bE=(()=>{class n{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),m2=(()=>{class n extends bE{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(t){return new(t||n)(y(Q),y(re,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),g2=(()=>{class n extends bE{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=or(o)},this._clickListener=o=>{const s=or(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(t){return new(t||n)(y(Q),y(Nn),y(re,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cc=(()=>{class n{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||lp()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ae,this._outsidePointerEvents=new ae,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(At(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),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config={...this._config,...e},this._updateElementSize()}setDirection(e){this._config={...this._config,direction:e},this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=We(this._config.width),e.height=We(this._config.height),e.minWidth=We(this._config.minWidth),e.minHeight=We(this._config.minHeight),e.maxWidth=We(this._config.maxWidth),e.maxHeight=We(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){const r=hc(t||[]).filter(o=>!!o);r.length&&(i?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(cp(hu(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()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const CE="cdk-overlay-connected-position-bounding-box",_2=/([A-Za-z%]+)$/;class y2{constructor(e,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,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 ae,this._resizeSubscription=et.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(CE),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&sr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(CE),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let r,o;if("center"==i.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?e.top+e.height/2:"top"==i.originY?e.top:e.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(e,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,t,i,r){const o=DE(t);let{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=wE(this._overlayRef.getConfig().minHeight),a=wE(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportHorizontally||null!=a&&a<=o;return(e.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=DE(t),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-i.top-e.y,0),c=Math.max(o.left-i.left-e.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-e.x+this._viewportMargin,u=e.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)d=e.x,u=i.right-e.x;else{const f=Math.min(i.right-e.x+i.left,e.x),p=this._lastBoundingBoxSize.width;u=2*f,d=e.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=We(i.height),r.top=We(i.top),r.bottom=We(i.bottom),r.width=We(i.width),r.left=We(i.left),r.right=We(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=We(o)),s&&(r.maxWidth=We(s))}this._lastBoundingBoxSize=i,sr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){sr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){sr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();sr(i,this._getExactOverlayY(t,e,u)),sr(i,this._getExactOverlayX(t,e,u))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=We(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=We(s.maxWidth):o&&(i.maxWidth="")),sr(this._pane.style,i)}_getExactOverlayY(e,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=We(o.y),r}_getExactOverlayX(e,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=We(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:yE(e,i),isOriginOutsideView:Dp(e,i),isOverlayClipped:yE(t,i),isOverlayOutsideView:Dp(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,r)=>i-Math.max(r,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?e.offsetX??this._offsetX:e.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&hc(e).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof je)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function sr(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function wE(n){if("number"!=typeof n&&null!=n){const[e,t]=n.split(_2);return t&&"px"!==t?null:parseFloat(e)}return n||null}function DE(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const EE="cdk-global-overlay-wrapper";class v2{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(EE),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===u?(m="center",h?p=d:f=d):h?"left"===u||"end"===u?(m="flex-end",f=d):("right"===u||"start"===u)&&(m="flex-start",p=d):"left"===u||"start"===u?(m="flex-start",f=d):("right"===u||"end"===u)&&(m="flex-end",p=d),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(EE),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let b2=(()=>{class n{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new v2}flexibleConnectedTo(t){return new y2(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(t){return new(t||n)(y(hE),y(Q),y(Nn),y(Cc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),C2=0,_o=(()=>{class n{constructor(t,i,r,o,s,a,l,c,u,d,h,f){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new vE(t);return s.direction=s.direction||this._directionality.value,new Bs(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+C2++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(no)),new c2(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(t){return new(t||n)(y(f2),y(Cc),y(Wi),y(b2),y(m2),y(Ze),y(re),y(Q),y(yp),y(ms),y(g2),y(pl,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const E2={provide:new E("cdk-connected-overlay-scroll-strategy"),deps:[_o],useFactory:function D2(n){return()=>n.scrollStrategies.reposition()}};let SE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:[_o,E2],imports:[Vs,bc,pE,pE]}),n})();function S2(n,e){}class wc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let ME=(()=>{class n extends Cp{constructor(t,i,r,o,s,a,l,c){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();const d=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),d},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{t.removeEventListener("blur",r),t.removeEventListener("mousedown",r),t.removeAttribute("tabindex")};t.addEventListener("blur",r),t.addEventListener("mousedown",r)})),t.focus(i)}_focusByCssSelector(t,i){let r=this._elementRef.nativeElement.querySelector(t);r&&this._forceFocus(r,i)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||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 t=this._config.restoreFocus;let i=null;if("string"==typeof t?i=this._document.querySelector(t):"boolean"==typeof t?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=ap(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=ap();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ap())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(t){return new(t||n)(g(je),g(fp),g(Q,8),g(wc),g(gc),g(re),g(Bs),g(pp))},n.\u0275cmp=Ee({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(1&t&&Vb(wp,7),2&t){let r;ll(r=function cl(){return function OO(n,e){return n[19].queries[e].queryList}(w(),Cg())}())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){2&t&&Vt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&Bt(0,S2,0,0,"ng-template",0)},dependencies:[wp],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class Ep{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new ae,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!YD(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(e,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this.overlayRef.dispose(),i.next(e),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}}const AE=new E("DialogScrollStrategy"),M2=new E("DialogData"),A2=new E("DefaultDialogConfig"),T2={provide:AE,deps:[_o],useFactory:function I2(n){return()=>n.scrollStrategies.block()}};let x2=0,IE=(()=>{class n{constructor(t,i,r,o,s,a){this._overlay=t,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae,this._afterOpenedAtThisLevel=new ae,this._ariaHiddenElements=new Map,this.afterAllClosed=Bl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hl(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(t,i){(i={...this._defaultOptions||new wc,...i}).id=i.id||"cdk-dialog-"+x2++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Ep(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(t,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Sp(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Sp(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),Sp(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const i=new vE({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,r){const o=r.injector||r.viewContainerRef?.injector,s=[{provide:wc,useValue:r},{provide:Ep,useValue:i},{provide:Bs,useValue:t}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=ME;const l=new bp(a,r.viewContainerRef,Ze.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return t.attach(l).instance}_attachDialogContent(t,i,r,o){if(t instanceof Rn){const s=this._createInjector(o,i,r,void 0);let a={$implicit:o.data,dialogRef:i};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new mE(t,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new bp(t,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(t,i,r,o){const s=t.injector||t.viewContainerRef?.injector,a=[{provide:M2,useValue:t.data},{provide:Ep,useValue:i}];return t.providers&&("function"==typeof t.providers?a.push(...t.providers(i,t,r)):a.push(...t.providers)),t.direction&&(!s||!s.get(yp,null,F.Optional))&&a.push({provide:yp,useValue:{value:t.direction,change:R()}}),Ze.create({parent:s||o,providers:a})}_removeOpenDialog(t,i){const r=this.openDialogs.indexOf(t);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==t&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(t){return new(t||n)(y(_o),y(Ze),y(A2,8),y(n,12),y(Cc),y(AE))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Sp(n,e){let t=n.length;for(;t--;)e(n[t])}let R2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:[IE,T2],imports:[SE,bc,PH,bc]}),n})();const F2=new E("mat-sanity-checks",{providedIn:"root",factory:function k2(){return!0}});let Cn=(()=>{class n{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!lp()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(y(aE),y(F2,8),y(Q))},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[Vs,Vs]}),n})();function O2(n,e){return class extends n{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}let N2=(()=>{class n{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),H2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[Cn,Cn]}),n})();class OE{}const si="*";function PE(n,e){return{type:7,name:n,definitions:e,options:{}}}function Ap(n,e=null){return{type:4,styles:e,timings:n}}function NE(n,e=null){return{type:3,steps:n,options:e}}function LE(n,e=null){return{type:2,steps:n,options:e}}function Si(n){return{type:6,styles:n,offset:null}}function Ip(n,e,t){return{type:0,name:n,styles:e,options:t}}function Tp(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function VE(n=null){return{type:9,options:n}}function BE(n,e,t=null){return{type:11,selector:n,animation:e,options:t}}function HE(n){Promise.resolve().then(n)}class js{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){HE(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class jE{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,r=0;const o=this.players.length;0==o?HE(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function U2(n,e){}const yo={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},$2={dialogContainer:PE("dialogContainer",[Ip("void, exit",Si({opacity:0,transform:"scale(0.7)"})),Ip("enter",Si({transform:"none"})),Tp("* => enter",NE([Ap("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Si({transform:"none",opacity:1})),BE("@*",VE(),{optional:!0})]),yo),Tp("* => void, * => exit",NE([Ap("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Si({opacity:0})),BE("@*",VE(),{optional:!0})]),yo)])};class Dc{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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=yo.params.enterAnimationDuration,this.exitAnimationDuration=yo.params.exitAnimationDuration}}let z2=(()=>{class n extends ME{constructor(t,i,r,o,s,a,l,c){super(t,i,r,o,s,a,l,c),this._animationStateChanged=new Me}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}}return n.\u0275fac=function(t){return new(t||n)(g(je),g(fp),g(Q,8),g(Dc),g(gc),g(re),g(Bs),g(pp))},n.\u0275cmp=Ee({type:n,selectors:[["ng-component"]],features:[W],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),W2=(()=>{class n extends z2{constructor(t,i,r,o,s,a,l,c,u){super(t,i,r,o,s,a,l,u),this._changeDetectorRef=c,this._state="enter"}_onAnimationDone({toState:t,totalTime:i}){"enter"===t?this._openAnimationDone(i):"exit"===t&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:t,totalTime:i}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||yo.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||yo.params.exitAnimationDuration}}}}return n.\u0275fac=function(t){return new(t||n)(g(je),g(fp),g(Q,8),g(Dc),g(gc),g(re),g(Bs),g(fs),g(pp))},n.\u0275cmp=Ee({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(t,i){1&t&&dh("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&t&&(gh("id",i._config.id),Vt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),_h("@dialogContainer",i._getAnimationState()))},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&Bt(0,U2,0,0,"ng-template",0)},dependencies:[wp],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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[$2.dialogContainer]}}),n})();class UE{constructor(e,t,i){this._ref=e,this._containerInstance=i,this._afterOpened=new ae,this._beforeClosed=new ae,this._state=0,this.disableClose=t.disableClose,this.id=e.id,i._animationStateChanged.pipe(bt(r=>"opened"===r.state),At(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(bt(r=>"closed"===r.state),At(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),hu(this.backdropClick(),this.keydownEvents().pipe(bt(r=>27===r.keyCode&&!this.disableClose&&!YD(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function G2(n,e,t){n._closeInteractionType=e,n.close(t)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(bt(t=>"closing"===t.state),At(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const $E=new E("MatDialogData"),q2=new E("mat-dialog-default-options"),zE=new E("mat-dialog-scroll-strategy"),Y2={provide:zE,deps:[_o],useFactory:function K2(n){return()=>n.scrollStrategies.block()}};let Z2=0,Q2=(()=>{class n{constructor(t,i,r,o,s,a,l,c,u,d){this._overlay=t,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae,this._afterOpenedAtThisLevel=new ae,this._idPrefix="mat-dialog-",this.afterAllClosed=Bl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hl(void 0))),this._scrollStrategy=a,this._dialog=i.get(IE)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,i){let r;(i={...this._defaultOptions||new Dc,...i}).id=i.id||`${this._idPrefix}${Z2++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(t,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Dc,useValue:i},{provide:wc,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}}return n.\u0275fac=function(t){Ua()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),WE=(()=>{class n extends Q2{constructor(t,i,r,o,s,a,l,c){super(t,i,o,a,l,s,UE,W2,$E,c)}}return n.\u0275fac=function(t){return new(t||n)(y(_o),y(Ze),y(ms,8),y(q2,8),y(zE),y(n,12),y(Cc),y(pl,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Rp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=P({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),X2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:[WE,Y2],imports:[R2,SE,bc,Cn,Cn]}),n})(),vo=(()=>{class n{constructor(){this.keys=new vt("")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kp=(()=>{class n{constructor(t,i,r,o){this.data=t,this.ref=i,this.sanitazer=r,this.io=o}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{"Enter"==t&&this.ref.close()})}}return n.\u0275fac=function(t){return new(t||n)(g($E),g(UE),g(Ll),g(vo))},n.\u0275cmp=Ee({type:n,selectors:[["app-abs-app"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),J2=(()=>{class n extends kp{constructor(){super(...arguments),this.clockTxt="",this.inverval=null}ngOnInit(){super.ngOnInit(),this.genClock(),null==this.inverval&&(this.inverval=setInterval(()=>{this.genClock()},1e3))}genClock(){this.clockTxt=(new Date).toLocaleTimeString()}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ke(n)))(i||n)}}(),n.\u0275cmp=Ee({type:n,selectors:[["app-clock-app"]],features:[W],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center"],[2,"font-family","TechMono, sans-serif","font-size","60px"]],template:function(t,i){1&t&&(q(0,"div",0)(1,"div",1)(2,"p",2),fe(3),$()()()),2&t&&(ie(3),Xe(i.clockTxt))},dependencies:[Rp],encapsulation:2}),n})(),ej=(()=>{class n extends kp{constructor(){super(...arguments),this.content={}}ngOnInit(){super.ngOnInit(),this.content.url=this.sanitazer.bypassSecurityTrustResourceUrl(this.data.url)}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ke(n)))(i||n)}}(),n.\u0275cmp=Ee({type:n,selectors:[["iframe-opener"]],features:[W],decls:2,vars:1,consts:[["mat-dialog-content",""],["width","100%","height","100%",3,"src"]],template:function(t,i){1&t&&(q(0,"div",0),In(1,"iframe",1),$()),2&t&&(ie(1),Ht("src",i.content.url,wd))},dependencies:[Rp]}),n})(),GE=(()=>{class n{constructor(){this.elements=[],this.elementsRight=[],this.currentSide="LEFT"}choiceItem(t){switch(this.currentSide){case"LEFT":return this.choiceLeft(t);case"RIGHT":return this.choiceRight(t)}}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}choiceLeft(t){if("LEFT"!=this.currentSide)return;let i=this.elements.indexOf(this.selected);switch(t){case"KeyS":i+1>=this.elements.length&&(i=-1),this.selected=this.elements[i+1];break;case"KeyW":i-1<0&&(i=this.elements.length),this.selected=this.elements[i-1];break;case"Enter":this.selected.action()}}choiceRight(t){if("RIGHT"!=this.currentSide)return;let i=this.elementsRight.indexOf(this.selectedRight);switch(t){case"KeyS":i+1>=this.elementsRight.length&&(i=-1),this.selectedRight=this.elementsRight[i+1];break;case"KeyW":i-1<0&&(i=this.elementsRight.length),this.selectedRight=this.elementsRight[i-1];break;case"Enter":this.selectedRight.action()}}ngOnInit(){throw new Error("need impl")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=Ee({type:n,selectors:[["ng-component"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function tj(n,e){if(1&n&&(q(0,"p",5),fe(1),$()),2&n){const t=e.$implicit,i=e.index,r=jt().index,o=jt();fh("text-transform",o.caps?"uppercase":""),Jt("keyboard_current",o.isCurrentKey(r,i)),ie(1),Xe(t)}}function nj(n,e){if(1&n&&(q(0,"div",3),Bt(1,tj,2,5,"p",4),$()),2&n){const t=e.$implicit;ie(1),Ht("ngForOf",t)}}let ij=(()=>{class n extends kp{constructor(){super(...arguments),this.keyboard=[],this.keyboards={ru:["\u0439\u0446\u0443\u043a\u0435\u043d\u0433\u0448\u0449\u0437\u0445\u044a".split(""),"\u0444\u044b\u0432\u0430\u043f\u0440\u043e\u043b\u0434\u0436\u044d".split(""),"\u044f\u0447\u0441\u043c\u0438\u0442\u044c\u0431\u044e.,".split("")],en:["qwertyuiop[]".split(""),"asdfghjkl;'\"".split(""),"zxcvbnm,./".split("")]},this.current="ru",this.text="",this.caps=!1,this.x=0,this.y=0}isCurrentKey(t,i){return t==this.x&&i==this.y}createKeyboard(){this.x=0,this.y=0,this.keyboard=[],this.keyboard.push("1234567890-=".split("").concat(["<--"])),this.keyboards[this.current].forEach(t=>{this.keyboard.push(t)}),this.keyboard.push(["change","caps","space","wipe","exit","save"])}closeKeyboard(t=!1){this.ref.close(t?this.text:null)}ngOnInit(){this.createKeyboard(),this.sub=this.io.keys.subscribe(t=>{switch(t){case"KeyW":return this.x<=0&&(this.x=this.keyboard.length),this.x--,void(this.keyboard[this.x].length=this.keyboard.length-1&&(this.x=-1),this.x++,this.keyboard[this.x].length=this.keyboard[this.x].length-1&&(this.y=-1),this.y++;break;case"Enter":{const i=this.keyboard[this.x][this.y];switch(i){case"change":switch(this.current){case"en":this.current="ru";break;case"ru":this.current="en"}this.createKeyboard();break;case"caps":this.caps=!this.caps;break;case"wipe":this.text="";break;case"space":this.text+=" ";break;case"exit":this.closeKeyboard();break;case"save":this.closeKeyboard(!0);break;case"<--":this.text=this.text.slice(0,-1);break;default:this.text+=this.caps?i.toUpperCase():i}break}}})}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ke(n)))(i||n)}}(),n.\u0275cmp=Ee({type:n,selectors:[["app-keyboard"]],features:[W],decls:7,vars:2,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center","height","150px","word-break","break-all","align-items","center","border","1px solid rgb(0 242 0 / 30%)"],["style","display: flex; flex-direction: row; justify-content: space-between",4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","row","justify-content","space-between"],["class","keyboard_key",3,"keyboard_current","text-transform",4,"ngFor","ngForOf"],[1,"keyboard_key"]],template:function(t,i){1&t&&(q(0,"div",0)(1,"div")(2,"div",1)(3,"p"),fe(4),$()(),q(5,"div"),Bt(6,nj,2,1,"div",2),$()()()),2&t&&(ie(4),Xe(i.text),ie(2),Ht("ngForOf",i.keyboard))},dependencies:[bi,Rp],encapsulation:2}),n})(),qE=(()=>{class n{constructor(){this.inApp=!1}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class rj{}class Mi{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Mi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Mi;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Mi?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=e.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class oj{encodeKey(e){return YE(e)}encodeValue(e){return YE(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const aj=/%(\d[a-f0-9])/gi,lj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function YE(n){return encodeURIComponent(n).replace(aj,(e,t)=>lj[t]??e)}function Ec(n){return`${n}`}class Ai{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new oj,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function sj(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t],r=Array.isArray(i)?i.map(Ec):[Ec(i)];this.map.set(t,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(i=>{const r=e[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Ai({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(Ec(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let i=this.map.get(e.param)||[];const r=i.indexOf(Ec(e.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(e.param,i):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class cj{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function ZE(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function QE(n){return typeof Blob<"u"&&n instanceof Blob}function XE(n){return typeof FormData<"u"&&n instanceof FormData}class Us{constructor(e,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function uj(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Mi),this.context||(this.context=new cj),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(h,e.setHeaders[h]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,h)=>d.set(h,e.setParams[h]),c)),new Us(t,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var ot=(()=>((ot=ot||{})[ot.Sent=0]="Sent",ot[ot.UploadProgress=1]="UploadProgress",ot[ot.ResponseHeader=2]="ResponseHeader",ot[ot.DownloadProgress=3]="DownloadProgress",ot[ot.Response=4]="Response",ot[ot.User=5]="User",ot))();class Fp extends class hj{constructor(e,t=200,i="OK"){this.headers=e.headers||new Mi,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(e={}){super(e),this.type=ot.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Fp({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}function Op(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let e0=(()=>{class n{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Us)o=t;else{let l,c;l=r.headers instanceof Mi?r.headers:new Mi(r.headers),r.params&&(c=r.params instanceof Ai?r.params:new Ai({fromObject:r.params})),o=new Us(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=R(o).pipe(Di(l=>this.handler.handle(l)));if(t instanceof Us||"events"===r.observe)return s;const a=s.pipe(bt(l=>l instanceof Fp));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(B(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(B(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(B(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(B(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Ai).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Op(r,i))}post(t,i,r={}){return this.request("POST",t,Op(r,i))}put(t,i,r={}){return this.request("PUT",t,Op(r,i))}}return n.\u0275fac=function(t){return new(t||n)(y(rj))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const pj=["*"];let Sc;function $s(n){return function mj(){if(void 0===Sc&&(Sc=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(Sc=n.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Sc}()?.createHTML(n)||n}function t0(n){return Error(`Unable to find icon with the name "${n}"`)}function n0(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function r0(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class ar{constructor(e,t,i){this.url=e,this.svgText=t,this.options=i}}let Mc=(()=>{class n{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,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","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new ar(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(ue.HTML,r);if(!s)throw r0(r);const a=$s(s);return this._addSvgIconConfig(t,i,new ar("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new ar(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(ue.HTML,i);if(!o)throw r0(i);const s=$s(o);return this._addSvgIconSetConfig(t,new ar("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(ue.RESOURCE_URL,t);if(!i)throw n0(t);const r=this._cachedIconsByUrl.get(i);return r?R(Ac(r)):this._loadSvgIconFromConfig(new ar(t,null)).pipe(ze(o=>this._cachedIconsByUrl.set(i,o)),B(o=>Ac(o)))}getNamedSvgIcon(t,i=""){const r=o0(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):io(t0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?R(Ac(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(B(i=>Ac(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?R(r):function KE(...n){const e=Zm(n),{args:t,keys:i}=xw(n),r=new ve(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?Rw(i,a):a),o.complete())}))}});return e?r.pipe(Sf(e)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ii(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ue.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),R(null)})))).pipe(B(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw t0(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(ze(i=>t.svgText=i),B(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?R(null):this._fetchIcon(t).pipe(ze(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString($s(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString($s("")),r=t.attributes;for(let o=0;o$s(c)),Ul(()=>this._inProgressUrlFetches.delete(s)),eg());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(o0(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;re?e.pathname+e.search:""}}}),s0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Dj=s0.map(n=>`[${n}]`).join(", "),Ej=/^url\(['"]?#(.*?)['"]?\)$/;let a0=(()=>{class n extends vj{constructor(t,i,r,o,s,a){super(t),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=et.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=function oH(n){return null!=n&&"false"!=`${n}`}(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(Dj),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(Ej):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(At(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(t){return new(t||n)(g(je),g(Mc),Mr("aria-hidden"),g(Cj),g(Yn),g(bj,8))},n.\u0275cmp=Ee({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,i){2&t&&(Vt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Jt("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[W],ngContentSelectors:pj,decls:1,vars:0,template:function(t,i){1&t&&(function ov(n){const e=w()[16][6];if(!e.projection){const i=e.projection=Ho(n?n.length:1,null),r=i.slice();let o=e.child;for(;null!==o;){const s=n?uk(o,n):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}(),function sv(n,e=0,t){const i=w(),r=ne(),o=Hr(r,22+n,16,null,t||null);null===o.projection&&(o.projection=e),Ru(),64!=(64&o.flags)&&function ET(n,e,t){M_(e[G],0,e,t,__(n,t,e),C_(t.parent||e[6],t,e))}(r,i,o)}(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0}),n})(),Sj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[Cn,Cn]}),n})();function Mj(n,e){if(1&n&&(q(0,"div")(1,"p",6),fe(2),$()()),2&n){const t=e.$implicit;Jt("menu-selected",t==jt().selected),ie(2),Xe(t.name)}}function Aj(n,e){if(1&n&&(q(0,"mat-icon",7),fe(1),$()),2&n){const t=jt();ie(1),Xe(t.selected.icon)}}let l0=(()=>{class n extends GE{constructor(t,i,r){super(),this.dialog=t,this.io=i,this.apps=r,this.elements=[{name:"Clock",action:()=>{this.openApp(J2)},matIcon:!0,icon:"access_time",about:"\u0417\u0430\u0431\u044b\u0442\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u0430\u043c\u043e\u0433\u043e \u0442\u043e\u0434\u0434\u0430 \u0433\u043e\u0432\u0430\u0440\u0434\u0430. \u041e\u043d \u0437\u0430\u0431\u044b\u043b \u0438\u0445 \u0432 \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u0442\u043d\u043e\u0439 \u0438\u0433\u0440\u0435 \u043a\u0430\u043b\u043b\u0430\u0443\u044276."},{name:"KeyboardTest",action:()=>{this.openApp(ij)},matIcon:!0,icon:"help",about:"Keyboard input test"},{name:"Rick Roll",action:()=>{this.openApp(ej,{url:"https://youtu.be/dQw4w9WgXcQ?output=embed"})},matIcon:!0,icon:"record_voice_over",about:"\u041d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0440\u0438\u043a\u0440\u043e\u043b\u043b\u0430"}],this.selected=this.elements[0]}createSub(){this.sub=this.io.keys.subscribe(t=>{this.apps.inApp||super.choiceItem(t)})}ngOnInit(){this.createSub()}openApp(t,i={}){this.apps.inApp=!0,this.dialog.open(t,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed().subscribe(()=>this.apps.inApp=!1)}}return n.\u0275fac=function(t){return new(t||n)(g(WE),g(vo),g(qE))},n.\u0275cmp=Ee({type:n,selectors:[["app-inventory-apps-component"]],features:[W],decls:9,vars:3,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],["class","rotating-image","style","font-size: 100px; height: 100px; width: 100px",4,"ngIf"],[2,"margin","0 0"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"]],template:function(t,i){1&t&&(q(0,"div",0)(1,"div",1),Bt(2,Mj,3,3,"div",2),$(),q(3,"div",3)(4,"div",4),Bt(5,Aj,2,1,"mat-icon",5),$(),q(6,"div")(7,"p"),fe(8),$()()()()),2&t&&(ie(2),Ht("ngForOf",i.elements),ie(3),Ht("ngIf",i.selected.matIcon),ie(3),Xe(i.selected.about))},dependencies:[bi,JC,a0],encapsulation:2}),n})(),c0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=Ee({type:n,selectors:[["app-inventory-custom"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function Ij(n,e){if(1&n){const t=el();q(0,"p",7),it("click",function(){const o=ga(t).$implicit;return _a(jt().selectHeader(o))}),fe(1),$()}if(2&n){const t=e.$implicit;Jt("inactiveHeader",!jt().isActiveHeader(t)),ie(1),Xe(t.name)}}let u0=(()=>{class n extends ip{constructor(t,i,r,o,s){super(t,i),this.ws=r,this.io=o,this.apps=s,this.free=0,this.total=0,this.format="",this.path="inventory",super.navs=[{name:"apps",path:"apps",action:()=>{},component:l0.name},{name:"custom",path:"custom",action:()=>{},component:c0.name}]}selectHeader(t){super.selectHeader(t,[this.path])}ngOnInit(){this.ws.events.pipe(B(t=>JSON.parse(t))).subscribe(t=>{t.event==fo.SPACESTATS&&(this.free=Math.round(t.data.free),this.total=Math.round(t.data.total),this.format=t.data.format)}),this.sub=this.io.keys.subscribe(t=>{this.apps.inApp||super.choiceHeader(t)})}}return n.\u0275fac=function(t){return new(t||n)(g(bn),g(Ve),g(WD),g(vo),g(qE))},n.\u0275cmp=Ee({type:n,selectors:[["app-inv-header"]],features:[W],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(t,i){1&t&&(q(0,"div",0),Bt(1,Ij,2,3,"p",1),$(),q(2,"div",2),In(3,"router-outlet"),$(),q(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),fe(8),$()(),q(9,"div",5)(10,"span"),fe(11,"\u0445\u0437 \u0447\u0442\u043e \u0442\u0443\u0442 \u043d\u0430\u0434\u043e"),$()(),q(12,"div",6)(13,"span"),fe(14,"nigger"),$()()()()),2&t&&(ie(1),Ht("ngForOf",i.navs),ie(7),mh("",i.free,"/",i.total,"",i.format,""))},dependencies:[bi,lo],encapsulation:2}),n})(),d0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=Ee({type:n,selectors:[["app-map-header"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),h0=(()=>{class n{constructor(){this.name="",this.volume=.5,this.tracks=[],this.player=new Audio,this.player.addEventListener("ended",()=>{let t=this.tracks.pop();t&&this.playThis(t.src,t.name)})}playThis(t,i){this.player.src=t,this.player.volume=this.volume,this.name=i,this.player.play()}stop(){this.player.pause()}volumeUp(){this.volume>.9||(this.volume=this.volume+.1,this.player.volume=this.volume)}volumeDown(){this.volume<.1||(this.volume=this.volume-.1,this.player.volume=this.volume)}getVolume(){return Math.round(100*this.volume)}getTime(){return this.player.duration?this.player.duration<60?"0:"+Math.floor(this.player.currentTime)+" / 0:"+Math.floor(this.player.duration):Math.floor(this.player.currentTime)+" / "+Math.floor(this.player.duration):"0:00 / 0:00"}getName(){return this.name?"\u0421\u0435\u0439\u0447\u0430\u0441 \u0438\u0433\u0440\u0430\u0435\u0442: "+this.name:"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0438\u0433\u0440\u0430\u0435\u0442"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Tj(n,e){if(1&n&&(q(0,"div")(1,"p",6),fe(2),$()()),2&n){const t=e.$implicit,i=jt();Jt("menu-selected",t==i.selected&&"LEFT"==i.currentSide),ie(2),Xe(t.name)}}function xj(n,e){if(1&n&&(q(0,"div")(1,"p",6),fe(2),$()()),2&n){const t=e.$implicit,i=jt();Jt("menu-selected",t==i.selectedRight&&"RIGHT"==i.currentSide),ie(2),Xe(t.name)}}let Rj=(()=>{class n extends GE{constructor(t,i){super(),this.player=t,this.io=i,this.elements=[{name:"niggers",src:"../../../../assets/music/pvz.mp3",action:()=>{this.play()}}],this.selected=this.elements[0],this.elementsRight=[{name:"STOP",action:()=>this.player.stop()},{name:"Volume UP",action:()=>this.player.volumeUp()},{name:"Volume DOWN",action:()=>this.player.volumeDown()}],this.selectedRight=this.elementsRight[0]}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{switch(t){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(t)}})}play(){this.player.playThis(this.selected.src,this.selected.name)}}return n.\u0275fac=function(t){return new(t||n)(g(h0),g(vo))},n.\u0275cmp=Ee({type:n,selectors:[["app-radio"]],features:[W],decls:8,vars:2,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","81%","padding-top","7%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"],[2,"margin","0 0"]],template:function(t,i){1&t&&(q(0,"div",0)(1,"div",1),Bt(2,Tj,3,3,"div",2),$(),q(3,"div",3)(4,"div",4)(5,"mat-icon",5),fe(6,"audiotrack"),$()(),Bt(7,xj,3,3,"div",2),$()()),2&t&&(ie(2),Ht("ngForOf",i.elements),ie(5),Ht("ngForOf",i.elementsRight))},dependencies:[bi,a0],encapsulation:2}),n})(),f0=(()=>{class n{constructor(t){this.player=t}}return n.\u0275fac=function(t){return new(t||n)(g(h0))},n.\u0275cmp=Ee({type:n,selectors:[["app-radio-header"]],decls:12,vars:3,consts:[[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","65%"],[1,"footer-text",2,"width","9.5%","text-align","center"],[1,"footer-text",2,"width","24.5%","text-align","right"]],template:function(t,i){1&t&&(In(0,"app-radio"),q(1,"div",0)(2,"div",1)(3,"div",2)(4,"span"),fe(5),$()(),q(6,"div",3)(7,"span"),fe(8),$()(),q(9,"div",4)(10,"span"),fe(11),$()()()()),2&t&&(ie(5),Xe(i.player.getName()),ie(3),Yi("",i.player.getVolume()," %"),ie(3),Xe(i.player.getTime()))},dependencies:[Rj],encapsulation:2}),n})();class Pp extends ae{constructor(e=1/0,t=1/0,i=dp){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(e),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sJSON.parse(n.data),serializer:n=>JSON.stringify(n)};class Np extends ru{constructor(e,t){if(super(),this._socket=null,e instanceof ve)this.destination=t,this.source=e;else{const i=this._config=Object.assign({},kj);if(this._output=new ae,"string"==typeof e)i.url=e;else for(const r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new Pp}}lift(e){const t=new Np(this._config,this.destination);return t.operator=e,t.source=this,t}_resetState(){this._socket=null,this.source||(this.destination=new Pp),this._output=new ae}multiplex(e,t,i){const r=this;return new ve(o=>{try{r.next(e())}catch(a){o.error(a)}const s=r.subscribe({next:a=>{try{i(a)&&o.next(a)}catch(l){o.error(l)}},error:a=>o.error(a),complete:()=>o.complete()});return()=>{try{r.next(t())}catch(a){o.error(a)}s.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:e,protocol:t,url:i,binaryType:r}=this._config,o=this._output;let s=null;try{s=t?new e(i,t):new e(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){return void o.error(l)}const a=new et(()=>{this._socket=null,s&&1===s.readyState&&s.close()});s.onopen=l=>{const{_socket:c}=this;if(!c)return s.close(),void this._resetState();const{openObserver:u}=this._config;u&&u.next(l);const d=this.destination;this.destination=na.create(h=>{if(1===s.readyState)try{const{serializer:f}=this._config;s.send(f(h))}catch(f){this.destination.error(f)}},h=>{const{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?s.close(h.code,h.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:h}=this._config;h&&h.next(void 0),s.close(),this._resetState()}),d&&d instanceof Pp&&a.add(d.subscribe(this.destination))},s.onerror=l=>{this._resetState(),o.error(l)},s.onclose=l=>{s===this._socket&&this._resetState();const{closeObserver:c}=this._config;c&&c.next(l),l.wasClean?o.complete():o.error(l)},s.onmessage=l=>{try{const{deserializer:c}=this._config;o.next(c(l))}catch(c){o.error(c)}}}_subscribe(e){const{source:t}=this;return t?t.subscribe(e):(this._socket||this._connectSocket(),this._output.subscribe(e),e.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&(1===i.readyState||0===i.readyState)&&i.close(),this._resetState())}),e)}unsubscribe(){const{_socket:e}=this;e&&(1===e.readyState||0===e.readyState)&&e.close(),this._resetState(),super.unsubscribe()}}function p0(n,e){return e?t=>Cs(e.pipe(At(1),function Nj(){return Ae((n,e)=>{n.subscribe(me(e,ea))})}()),t.pipe(p0(n))):Ge((t,i)=>n(t,i).pipe(At(1),Lw(t)))}let Gj=(()=>{class n{constructor(){this.channels=[],this.nodes=[],this.messages=new vt("{}"),this.state=0,this.meshId=0,this.connect()}getMyMesh(){if(0==this.meshId)return{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0};{let t=this.nodes.filter(i=>i.id==this.meshId);return t.length>0?t.pop():{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0}}}connect(){this.socket$=function Oj(n){return new Np(n)}(`ws://${location.host}/mesh/ws`).pipe(function Pj(n){return Ae((e,t)=>{let i,o,r=!1;const s=()=>{i=e.subscribe(me(t,void 0,void 0,a=>{o||(o=new ae,n(o).subscribe(me(t,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}(t=>t.pipe(ze(i=>{console.log("WebSocket error, reconnecting...",i),this.state=5}),function Lj(n,e=mc){const t=uE(n,e);return p0(()=>t)}(3e3)))),this.socket$.subscribe(t=>{switch(t.event){case 4:this.meshId=t.data;break;case 1:{const i=t.data,r=this.nodes.filter(o=>o.id==i.id);if(0==r.length)this.nodes.push(i);else{let o=this.nodes.indexOf(r[0]);this.nodes[o]=i}break}case 2:this.state=t.data;break;case 0:{const i=t.data,r=this.channels.filter(o=>o.index==i.index);if(0==r.length)this.channels.push(i);else{let o=this.channels.indexOf(r[0]);this.channels[o]=i}break}}})}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function qj(n,e){if(1&n&&(q(0,"p"),fe(1),$()),2&n){const t=e.$implicit;ie(1),Xe(t.name)}}let _0=(()=>{class n{constructor(t){this.meshtastic=t}getMeshState(){switch(this.meshtastic.state){case 0:return"\u041d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d";case 1:return"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438";case 2:return"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d";case 3:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f";case 4:return"\u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435";case 5:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0430";default:return"\u0425\u0443\u0439 \u0437\u043d\u0430\u0435\u0442"}}}return n.\u0275fac=function(t){return new(t||n)(g(Gj))},n.\u0275cmp=Ee({type:n,selectors:[["app-meshtastic-header"]],decls:18,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],[4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","30%"],[1,"footer-text",2,"width","49%"],[1,"footer-text",2,"width","20%"]],template:function(t,i){1&t&&(q(0,"div",0)(1,"p"),fe(2,"MY"),$(),q(3,"p"),fe(4,"NODES"),$(),Bt(5,qj,2,1,"p",1),$(),In(6,"div",2),q(7,"div",3)(8,"div",4)(9,"div",5)(10,"span"),fe(11),$()(),q(12,"div",6)(13,"span"),fe(14),$()(),q(15,"div",7)(16,"span"),fe(17),$()()()()),2&t&&(ie(5),Ht("ngForOf",i.meshtastic.channels),ie(6),Xe(i.getMeshState()),ie(3),Xe(i.meshtastic.getMyMesh().name),ie(3),Yi("",i.meshtastic.nodes.length," nodes"))},dependencies:[bi],encapsulation:2}),n})();function Kj(n,e){if(1&n){const t=el();q(0,"p",2),it("click",function(){const o=ga(t).$implicit;return _a(jt().selectHeader(o))}),fe(1),$()}if(2&n){const t=e.$implicit;Jt("activeHeader",jt().isActiveHeader(t))("baseActiveHeader",!0),ie(1),Xe(t.name)}}const Yj=[{path:"",component:(()=>{class n extends ip{constructor(t,i,r){super(t,i),this.io=r,super.navs=[{name:"stat",path:"stats",action:()=>{},component:GD.name},{name:"inv",path:"inventory",action:()=>{},component:u0.name},{name:"map",path:"map",action:()=>{},component:d0.name},{name:"radio",path:"radio",action:()=>{},component:f0.name},{name:"mesh",path:"mesh",action:()=>{},component:_0.name}]}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{if(null!=this.currentNav&&t.startsWith("Digit")&&6==t.length){let i=Number.parseInt(t.replace("Digit",""))-1;this.navs[i]&&this.selectHeader(this.navs[i])}})}}return n.\u0275fac=function(t){return new(t||n)(g(bn),g(Ve),g(vo))},n.\u0275cmp=Ee({type:n,selectors:[["ui"]],features:[W],decls:3,vars:1,consts:[[2,"display","flex","align-items","center","justify-content","space-evenly","border-bottom","1px solid rgb(0, 242, 0)"],[3,"activeHeader","baseActiveHeader","click",4,"ngFor","ngForOf"],[3,"click"]],template:function(t,i){1&t&&(q(0,"div",0),Bt(1,Kj,2,5,"p",1),$(),In(2,"router-outlet")),2&t&&(ie(1),Ht("ngForOf",i.navs))},dependencies:[bi,lo],encapsulation:2}),n})(),children:[{path:"",redirectTo:"stats",pathMatch:"full"},{path:"stats",component:GD,children:[{path:"",redirectTo:"status",pathMatch:"full"},{path:"status",component:zD}]},{path:"inventory",component:u0,children:[{path:"",redirectTo:"apps",pathMatch:"full"},{path:"apps",component:l0},{path:"custom",component:c0}]},{path:"data",component:(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=Ee({type:n,selectors:[["app-data-header"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})()},{path:"map",component:d0},{path:"radio",component:f0},{path:"mesh",component:_0}]}];let Zj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[UD.forRoot(Yj),UD]}),n})(),Qj=(()=>{class n{constructor(t){this.io=t}pressKeys(t){this.io.keys.next(t.code),this.io.keys.next("")}}return n.\u0275fac=function(t){return new(t||n)(g(vo))},n.\u0275cmp=Ee({type:n,selectors:[["app-root"]],hostBindings:function(t,i){1&t&&it("keypress",function(o){return i.pressKeys(o)},0,Z_)},decls:1,vars:0,template:function(t,i){1&t&&In(0,"router-outlet")},dependencies:[lo]}),n})();function y0(n){return new C(3e3,!1)}function kU(){return typeof window<"u"&&typeof window.document<"u"}function Lp(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ii(n){switch(n.length){case 0:return new js;case 1:return n[0];default:return new jE(n)}}function v0(n,e,t,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let _=m,b=p;if("offset"!==m)switch(_=e.normalizePropertyName(_,s),b){case"!":b=r.get(m);break;case si:b=o.get(m);break;default:b=e.normalizeStyleValue(m,_,b,s)}f.set(_,b)}),h||a.push(f),c=f,l=d}),s.length)throw function bU(n){return new C(3502,!1)}();return a}function Vp(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Bp(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Bp(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Bp(t,"destroy",n)))}}function Bp(n,e,t){const o=Hp(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),s=n._data;return null!=s&&(o._data=s),o}function Hp(n,e,t,i,r="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Ut(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function b0(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let jp=(n,e)=>!1,C0=(n,e,t)=>[],w0=null;function Up(n){const e=n.parentNode||n.host;return e===w0?null:e}(Lp()||typeof Element<"u")&&(kU()?(w0=(()=>document.documentElement)(),jp=(n,e)=>{for(;e;){if(e===n)return!0;e=Up(e)}return!1}):jp=(n,e)=>n.contains(e),C0=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let lr=null,D0=!1;const E0=jp,S0=C0;let M0=(()=>{class n{validateStyleProperty(t){return function OU(n){lr||(lr=function PU(){return typeof document<"u"?document.body:null}()||{},D0=!!lr.style&&"WebkitAppearance"in lr.style);let e=!0;return lr.style&&!function FU(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in lr.style,!e&&D0&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in lr.style)),e}(t)}matchesElement(t,i){return!1}containsElement(t,i){return E0(t,i)}getParentElement(t){return Up(t)}query(t,i,r){return S0(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new js(r,o)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),$p=(()=>{class n{}return n.NOOP=new M0,n})();const zp="ng-enter",Ic="ng-leave",Tc="ng-trigger",xc=".ng-trigger",I0="ng-animating",Wp=".ng-animating";function ai(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Gp(parseFloat(e[1]),e[2])}function Gp(n,e){return"s"===e?1e3*n:n}function Rc(n,e,t){return n.hasOwnProperty("duration")?n:function VU(n,e,t){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(y0()),{duration:0,delay:0,easing:""};r=Gp(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Gp(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(function Xj(){return new C(3100,!1)}()),a=!0),o<0&&(e.push(function Jj(){return new C(3101,!1)}()),a=!0),a&&e.splice(l,0,y0())}return{duration:r,delay:o,easing:s}}(n,e,t)}function zs(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function T0(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function Ti(n,e=new Map,t){if(t)for(let[i,r]of t)e.set(i,r);for(let[i,r]of n)e.set(i,r);return e}function R0(n,e,t){return t?e+":"+t+";":""}function k0(n){let e="";for(let t=0;t{const o=Kp(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=i}),Lp()&&k0(n))}function cr(n,e){n.style&&(e.forEach((t,i)=>{const r=Kp(i);n.style[r]=""}),Lp()&&k0(n))}function Ws(n){return Array.isArray(n)?1==n.length?n[0]:LE(n):n}const qp=new RegExp("{{\\s*(.+?)\\s*}}","g");function F0(n){let e=[];if("string"==typeof n){let t;for(;t=qp.exec(n);)e.push(t[1]);qp.lastIndex=0}return e}function Gs(n,e,t){const i=n.toString(),r=i.replace(qp,(o,s)=>{let a=e[s];return null==a&&(t.push(function tU(n){return new C(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function kc(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const jU=/-+([a-z0-9])/g;function Kp(n){return n.replace(jU,(...e)=>e[1].toUpperCase())}function UU(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function $t(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function nU(n){return new C(3004,!1)}()}}function O0(n,e){return window.getComputedStyle(n)[e]}function KU(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function YU(n,e,t){if(":"==n[0]){const l=function ZU(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function mU(n){return new C(3015,!1)}()),e;const r=i[1],o=i[2],s=i[3];e.push(P0(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&e.push(P0(s,r))}(i,t,e)):t.push(n),t}const Nc=new Set(["true","1"]),Lc=new Set(["false","0"]);function P0(n,e){const t=Nc.has(n)||Lc.has(n),i=Nc.has(e)||Lc.has(e);return(r,o)=>{let s="*"==n||n==r,a="*"==e||e==o;return!s&&t&&"boolean"==typeof r&&(s=r?Nc.has(n):Lc.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?Nc.has(e):Lc.has(e)),s&&a}}const QU=new RegExp("s*:selfs*,?","g");function Yp(n,e,t,i){return new XU(n).build(e,t,i)}class XU{constructor(e){this._driver=e}build(e,t,i){const r=new t$(t);return this._resetContextStyleTimingState(r),$t(this,Ws(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function rU(){return new C(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function oU(){return new C(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{F0(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(kc(o.values()),t.errors.push(function sU(n,e){return new C(3008,!1)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=$t(this,Ws(e.animation),t);return{type:1,matchers:KU(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:ur(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>$t(this,i,t)),options:ur(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const o=e.steps.map(s=>{t.currentTime=i;const a=$t(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:o,options:ur(e.options)}}visitAnimate(e,t){const i=function i$(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Zp(Rc(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Zp(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Rc(t,e);return Zp(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,o=e.styles?e.styles:Si({});if(5==o.type)r=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Si(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===si?i.push(a):t.errors.push(new C(3002,!1)):i.push(T0(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(t.errors.push(function lU(n,e,t,i,r){return new C(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),t.options&&function HU(n,e,t){const i=e.params||{},r=F0(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function eU(n){return new C(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function cU(){return new C(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=e.steps.map(b=>{const D=this._makeStyleAst(b,t);let v=null!=D.offset?D.offset:function n$(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(D.styles),I=0;return null!=v&&(o++,I=D.offset=v),l=l||I<0||I>1,a=a||I0&&o{const v=h>0?D==f?1:h*D:s[D],I=v*_;t.currentTime=p+m.delay+I,m.duration=I,this._validateStyleAst(b,t),b.offset=v,i.styles.push(b)}),i}visitReference(e,t){return{type:8,animation:$t(this,Ws(e.animation),t),options:ur(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ur(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ur(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function JU(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(QU,"")),n=n.replace(/@\*/g,xc).replace(/@\w+/g,t=>xc+"-"+t.slice(1)).replace(/:animating/g,Wp),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+o:o,Ut(t.collectedStyles,t.currentQuerySelector,new Map);const a=$t(this,Ws(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ur(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function fU(){return new C(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Rc(e.timings,t.errors,!0);return{type:12,animation:$t(this,Ws(e.animation),t),timings:i,options:null}}}class t${constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ur(n){return n?(n=zs(n)).params&&(n.params=function e$(n){return n?zs(n):null}(n.params)):n={},n}function Zp(n,e,t){return{duration:n,delay:e,easing:t}}function Qp(n,e,t,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Vc{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const s$=new RegExp(":enter","g"),l$=new RegExp(":leave","g");function Xp(n,e,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new c$).buildKeyframes(n,e,t,i,r,o,s,a,l,c)}class c${buildKeyframes(e,t,i,r,o,s,a,l,c,u=[]){c=c||new Vc;const d=new Jp(e,t,c,r,o,u,[]);d.options=l;const h=l.delay?ai(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),$t(this,i,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const _=f[m];if(_.element===t){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[Qp(t,[],[],[],0,h,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:ai(Gs(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?ai(i.duration):null,a=null!=i.delay?ai(i.delay):null;return 0!==s&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),$t(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Bc);const s=ai(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>$t(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?ai(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),$t(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Rc(t.params?Gs(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?ai(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Bc);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;const d=t.createSubContext(e.options,c);o&&d.delayNextStep(o),c===t.element&&(l=d.currentTimeline),$t(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=t.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;$t(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const Bc={};class Jp{constructor(e,t,i,r,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Hc(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=ai(i.duration)),null!=i.delay&&(r.delay=ai(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Gs(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,o=new Jp(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Bc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new u$(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(s$,"."+this._enterClassName)).replace(l$,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function pU(n){return new C(3014,!1)}()),a}}class Hc{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Hc(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||si),this._currentKeyframe.set(t,si);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function d$(n,e){const t=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||e.keys();for(let o of i)t.set(o,si)}else Ti(r,t)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=Gs(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??si),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Ti(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?e.add(d):u===si&&t.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=e.size?kc(e.values()):[],s=t.size?kc(t.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Qp(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class u$ extends Hc{constructor(e,t,i,r,o,s,a=!1){super(e,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=Ti(e[0]);l.set("offset",0),o.push(l);const c=Ti(e[0]);c.set("offset",V0(a)),o.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=Ti(e[d]);const f=h.get("offset");h.set("offset",V0((t+f*i)/s)),o.push(h)}i=s,t=0,r="",e=o}return Qp(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function V0(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class em{}const h$=new Set(["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"]);class f$ extends em{normalizePropertyName(e,t){return Kp(e)}normalizeStyleValue(e,t,i,r){let o="";const s=i.toString().trim();if(h$.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function iU(n,e){return new C(3005,!1)}())}return s+o}}function B0(n,e,t,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const tm={};class H0{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function p$(n,e,t,i,r){return n.some(o=>o(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||tm,p=this.buildStyles(i,a&&a.params||tm,d),m=l&&l.params||tm,_=this.buildStyles(r,m,d),b=new Set,D=new Map,v=new Map,I="void"===r,Y={params:m$(m,h),delay:this.ast.options?.delay},te=u?[]:Xp(e,t,this.ast.animation,o,s,p,_,Y,c,d);let ke=0;if(te.forEach(Wt=>{ke=Math.max(Wt.duration+Wt.delay,ke)}),d.length)return B0(t,this._triggerName,i,r,I,p,_,[],[],D,v,ke,d);te.forEach(Wt=>{const Gt=Wt.element,wo=Ut(D,Gt,new Set);Wt.preStyleProps.forEach(wn=>wo.add(wn));const li=Ut(v,Gt,new Set);Wt.postStyleProps.forEach(wn=>li.add(wn)),Gt!==t&&b.add(Gt)});const zt=kc(b.values());return B0(t,this._triggerName,i,r,I,p,_,te,zt,D,v,ke)}}function m$(n,e){const t=zs(e);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(t[i]=n[i]);return t}class g${constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,r=zs(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Gs(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(l,s)})}),i}}class y${constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new g$(r.style,r.options&&r.options.params||{},i))}),j0(this.states,"true","1"),j0(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new H0(e,r,this.states))}),this.fallbackTransition=function v$(n,e,t){return new H0(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(s=>s.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function j0(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const b$=new Vc;class C${constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const i=[],o=Yp(this._driver,t,i,[]);if(i.length)throw function CU(n){return new C(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,t,i){const r=e.element,o=v0(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=Xp(this._driver,t,o,zp,Ic,new Map,new Map,i,b$,r),s.forEach(u=>{const d=Ut(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function wU(){return new C(3300,!1)}()),s=[]),r.length)throw function DU(n){return new C(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,si))})});const c=Ii(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function EU(n){return new C(3301,!1)}();return t}listen(e,t,i,r){const o=Hp(t,"","","");return Vp(this._getPlayer(e),i,o,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i)return void this.create(e,t,r[0]||{});const o=this._getPlayer(e);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const U0="ng-animate-queued",nm="ng-animate-disabled",M$=[],$0={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},A$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},on="__ng_removed";class im{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function R$(n){return n??null}(i?e.value:e),i){const o=zs(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const qs="void",rm=new im(qs);class I${constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,sn(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw function SU(n,e){return new C(3302,!1)}();if(null==i||0==i.length)throw function MU(n){return new C(3303,!1)}();if(!function k$(n){return"start"==n||"done"==n}(i))throw function AU(n,e){return new C(3400,!1)}();const o=Ut(this._elementListeners,e,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Ut(this._engine.statesByElement,e,new Map);return a.has(t)||(sn(e,Tc),sn(e,Tc+"-"+t),a.set(t,rm)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function IU(n){return new C(3401,!1)}();return t}trigger(e,t,i,r=!0){const o=this._getTrigger(t),s=new om(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(sn(e,Tc),sn(e,Tc+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const c=new im(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=rm),c.value!==qs&&l.value===c.value){if(!function P$(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r{cr(e,_),Ln(e,b)})}return}const h=Ut(this._engine.playersByElement,e,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(sn(e,U0),s.onStart(()=>{bo(e,U0)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(e);if(_){let b=_.indexOf(s);b>=0&&_.splice(b,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,xc,!0);i.forEach(r=>{if(r[on])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(e,c,qs,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),i&&Ii(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||rm,u=new im(qs),d=new om(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const o=e[on];(!o||o===$0)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){sn(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Hp(o,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Vp(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(i=>i.element===e)||t,t}}class T${constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,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=(r,o)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new I$(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(e,t,i,r){if(jc(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!jc(t))return;const o=t[on];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),sn(e,nm)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),bo(e,nm))}removeNode(e,t,i,r){if(jc(t)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),i){const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,i,r,o){this.collectedLeaveElements.push(t),t[on]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,i,r,o){return jc(t)?this._fetchNamespace(e).listen(t,i,r,o):()=>{}}_buildInstruction(e,t,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,xc,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Wp,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ii(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[on];if(t&&t.setForRemoval){if(e[on]=$0,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(nm)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ii(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function TU(n){return new C(3402,!1)}()}_flushAnimations(e,t){const i=new Vc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(x=>{u.add(x);const k=this.driver.query(x,".ng-animate-queued",!0);for(let L=0;L{const L=zp+m++;p.set(k,L),x.forEach(se=>sn(se,L))});const _=[],b=new Set,D=new Set;for(let x=0;xb.add(se)):D.add(k))}const v=new Map,I=G0(h,Array.from(b));I.forEach((x,k)=>{const L=Ic+m++;v.set(k,L),x.forEach(se=>sn(se,L))}),e.push(()=>{f.forEach((x,k)=>{const L=p.get(k);x.forEach(se=>bo(se,L))}),I.forEach((x,k)=>{const L=v.get(k);x.forEach(se=>bo(se,L))}),_.forEach(x=>{this.processLeaveNode(x)})});const Y=[],te=[];for(let x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(t).forEach(L=>{const se=L.player,nt=L.element;if(Y.push(se),this.collectedEnterElements.length){const dt=nt[on];if(dt&&dt.setForMove){if(dt.previousTriggersValues&&dt.previousTriggersValues.has(L.triggerName)){const fr=dt.previousTriggersValues.get(L.triggerName),an=this.statesByElement.get(L.element);if(an&&an.has(L.triggerName)){const Jc=an.get(L.triggerName);Jc.value=fr,an.set(L.triggerName,Jc)}}return void se.destroy()}}const Bn=!d||!this.driver.containsElement(d,nt),qt=v.get(nt),Fi=p.get(nt),Fe=this._buildInstruction(L,i,Fi,qt,Bn);if(Fe.errors&&Fe.errors.length)return void te.push(Fe);if(Bn)return se.onStart(()=>cr(nt,Fe.fromStyles)),se.onDestroy(()=>Ln(nt,Fe.toStyles)),void r.push(se);if(L.isFallbackTransition)return se.onStart(()=>cr(nt,Fe.fromStyles)),se.onDestroy(()=>Ln(nt,Fe.toStyles)),void r.push(se);const uM=[];Fe.timelines.forEach(dt=>{dt.stretchStartingKeyframe=!0,this.disabledNodes.has(dt.element)||uM.push(dt)}),Fe.timelines=uM,i.append(nt,Fe.timelines),s.push({instruction:Fe,player:se,element:nt}),Fe.queriedElements.forEach(dt=>Ut(a,dt,[]).push(se)),Fe.preStyleProps.forEach((dt,fr)=>{if(dt.size){let an=l.get(fr);an||l.set(fr,an=new Set),dt.forEach((Jc,Im)=>an.add(Im))}}),Fe.postStyleProps.forEach((dt,fr)=>{let an=c.get(fr);an||c.set(fr,an=new Set),dt.forEach((Jc,Im)=>an.add(Im))})});if(te.length){const x=[];te.forEach(k=>{x.push(function xU(n,e){return new C(3505,!1)}())}),Y.forEach(k=>k.destroy()),this.reportError(x)}const ke=new Map,zt=new Map;s.forEach(x=>{const k=x.element;i.has(k)&&(zt.set(k,k),this._beforeAnimationBuild(x.player.namespaceId,x.instruction,ke))}),r.forEach(x=>{const k=x.element;this._getPreviousPlayers(k,!1,x.namespaceId,x.triggerName,null).forEach(se=>{Ut(ke,k,[]).push(se),se.destroy()})});const Wt=_.filter(x=>K0(x,l,c)),Gt=new Map;W0(Gt,this.driver,D,c,si).forEach(x=>{K0(x,l,c)&&Wt.push(x)});const li=new Map;f.forEach((x,k)=>{W0(li,this.driver,new Set(x),l,"!")}),Wt.forEach(x=>{const k=Gt.get(x),L=li.get(x);Gt.set(x,new Map([...Array.from(k?.entries()??[]),...Array.from(L?.entries()??[])]))});const wn=[],Do=[],Eo={};s.forEach(x=>{const{element:k,player:L,instruction:se}=x;if(i.has(k)){if(u.has(k))return L.onDestroy(()=>Ln(k,se.toStyles)),L.disabled=!0,L.overrideTotalTime(se.totalTime),void r.push(L);let nt=Eo;if(zt.size>1){let qt=k;const Fi=[];for(;qt=qt.parentNode;){const Fe=zt.get(qt);if(Fe){nt=Fe;break}Fi.push(qt)}Fi.forEach(Fe=>zt.set(Fe,nt))}const Bn=this._buildAnimation(L.namespaceId,se,ke,o,li,Gt);if(L.setRealPlayer(Bn),nt===Eo)wn.push(L);else{const qt=this.playersByElement.get(nt);qt&&qt.length&&(L.parentPlayer=Ii(qt)),r.push(L)}}else cr(k,se.fromStyles),L.onDestroy(()=>Ln(k,se.toStyles)),Do.push(L),u.has(k)&&r.push(L)}),Do.forEach(x=>{const k=o.get(x.element);if(k&&k.length){const L=Ii(k);x.setRealPlayer(L)}}),r.forEach(x=>{x.parentPlayer?x.syncPlayerEvents(x.parentPlayer):x.destroy()});for(let x=0;x<_.length;x++){const k=_[x],L=k[on];if(bo(k,Ic),L&&L.hasAnimation)continue;let se=[];if(a.size){let Bn=a.get(k);Bn&&Bn.length&&se.push(...Bn);let qt=this.driver.query(k,Wp,!0);for(let Fi=0;Fi!Bn.destroyed);nt.length?F$(this,k,nt):this.processLeaveNode(k)}return _.length=0,wn.forEach(x=>{this.players.push(x),x.onDone(()=>{x.destroy();const k=this.players.indexOf(x);this.players.splice(k,1)}),x.play()}),wn}elementContainsData(e,t){let i=!1;const r=t[on];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==qs;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,t,i){const o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,u=c!==o,d=Ut(i,c,[]);this._getPreviousPlayers(c,u,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}cr(o,t.fromStyles)}_buildAnimation(e,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,h=t.timelines.map(p=>{const m=p.element;u.add(m);const _=m[on];if(_&&_.removedBeforeQueried)return new js(p.duration,p.delay);const b=m!==l,D=function O$(n){const e=[];return q0(n,e),e}((i.get(m)||M$).map(ke=>ke.getRealPlayer())).filter(ke=>!!ke.element&&ke.element===m),v=o.get(m),I=s.get(m),Y=v0(0,this._normalizer,0,p.keyframes,v,I),te=this._buildPlayer(p,Y,D);if(p.subTimeline&&r&&d.add(m),b){const ke=new om(e,a,m);ke.setRealPlayer(te),c.push(ke)}return te});c.forEach(p=>{Ut(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function x$(n,e,t){let i=n.get(e);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>sn(p,I0));const f=Ii(h);return f.onDestroy(()=>{u.forEach(p=>bo(p,I0)),Ln(l,t.toStyles)}),d.forEach(p=>{Ut(r,p,[]).push(f)}),f}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new js(e.duration,e.delay)}}class om{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new js,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Vp(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ut(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function jc(n){return n&&1===n.nodeType}function z0(n,e){const t=n.style.display;return n.style.display=e??"none",t}function W0(n,e,t,i,r){const o=[];t.forEach(l=>o.push(z0(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=e.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[on]=A$,s.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>z0(l,o[a++])),s}function G0(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function sn(n,e){n.classList?.add(e)}function bo(n,e){n.classList?.remove(e)}function F$(n,e,t){Ii(t).onDone(()=>n.processLeaveNode(e))}function q0(n,e){for(let t=0;tr.add(o)):e.set(n,i),t.delete(n),!0}class Uc{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new T$(e,t,i),this._timelineEngine=new C$(e,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,i,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=Yp(this._driver,o,l,[]);if(l.length)throw function vU(n,e){return new C(3404,!1)}();a=function _$(n,e,t){return new y$(n,e,t)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i,r){this._transitionEngine.removeNode(e,t,r||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[o,s]=b0(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=b0(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,i,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let L$=(()=>{class n{constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(t);o||n.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ln(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ln(this._element,this._initialStyles),this._endStyles&&(Ln(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(cr(this._element,this._endStyles),this._endStyles=null),Ln(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function sm(n){let e=null;return n.forEach((t,i)=>{(function V$(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}class Y0{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&e.set(r,this._finished?i:O0(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class B${validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return E0(e,t)}getParentElement(e){return Up(e)}query(e,t,i){return S0(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof Y0);(function $U(n,e){return 0===n||0===e})(i,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function BU(n){return n.length?n[0]instanceof Map?n:n.map(e=>T0(e)):[]}(t).map(f=>Ti(f));d=function zU(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,O0(n,a)))}}return e}(e,d,c);const h=function N$(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=sm(e[0]),e.length>1&&(i=sm(e[e.length-1]))):e instanceof Map&&(t=sm(e)),t||i?new L$(n,t,i):null}(e,d);return new Y0(e,d,l,h)}}let H$=(()=>{class n extends OE{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:cn.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?LE(t):t;return Z0(this._renderer,null,i,"register",[r]),new j$(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(y(Qo),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class j$ extends class j2{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new U$(this._id,e,t||{},this._renderer)}}class U${constructor(e,t,i,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Z0(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Z0(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const Q0="@.disabled";let $$=(()=>{class n{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,i){const o=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new X0("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,t,u.name,u)};return i.data.animation.forEach(l),new z$(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&ti(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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 n.\u0275fac=function(t){return new(t||n)(y(Qo),y(Uc),y(re))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class X0{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==Q0?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class z$ extends X0{constructor(e,t,i,r,o){super(t,i,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==Q0?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const r=function W$(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function G$(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(e,t,i)}}const J0=[{provide:OE,useClass:H$},{provide:em,useFactory:function K$(){return new f$}},{provide:Uc,useClass:(()=>{class n extends Uc{constructor(t,i,r,o){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(y(Q),y($p),y(em),y(no))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})()},{provide:Qo,useFactory:function Y$(n,e,t){return new $$(n,e,t)},deps:[Nl,Uc,re]}],am=[{provide:$p,useFactory:()=>new B$},{provide:pl,useValue:"BrowserAnimations"},...J0],eS=[{provide:$p,useClass:M0},{provide:pl,useValue:"NoopAnimations"},...J0];let Z$=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?eS:am}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:am,imports:[Sw]}),n})(),tS=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})(),nS=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[iw,Cn,QD,Cn]}),n})(),tz=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({providers:[N2],imports:[tS,nS,Cn,tS,nS]}),n})(),GS=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({}),n})(),e3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[GS]}),n})(),t3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[e3]}),n})(),r3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n}),n.\u0275inj=pe({imports:[H2,Cn,Cn]}),n})(),o3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ye({type:n,bootstrap:[Qj]}),n.\u0275inj=pe({imports:[Sw,Zj,Z$,X2,tz,t3,r3,Sj]}),n})();(function CP(){SC=!1})(),cL().bootstrapModule(o3).catch(n=>console.error(n))}},oe=>{oe(oe.s=856)}]); \ No newline at end of file diff --git a/pipboyUI/dist/pipboy-ui/main.8cbe3e37e9415df2.js b/pipboyUI/dist/pipboy-ui/main.8cbe3e37e9415df2.js new file mode 100644 index 0000000..5851d58 --- /dev/null +++ b/pipboyUI/dist/pipboy-ui/main.8cbe3e37e9415df2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpipboyUI=self.webpackChunkpipboyUI||[]).push([[179],{923:()=>{function oe(n){return"function"==typeof n}function So(n){const t=n(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ia=So(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function gr(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class et{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(oe(i))try{i()}catch(o){e=o instanceof ia?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Pm(o)}catch(s){e=e??[],s instanceof ia?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ia(e)}}add(e){var t;if(e&&e!==this)if(this.closed)Pm(e);else{if(e instanceof et){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&gr(t,e)}remove(e){const{_finalizers:t}=this;t&&gr(t,e),e instanceof et&&e._removeParent(this)}}et.EMPTY=(()=>{const n=new et;return n.closed=!0,n})();const Fm=et.EMPTY;function Om(n){return n instanceof et||n&&"closed"in n&&oe(n.remove)&&oe(n.add)&&oe(n.unsubscribe)}function Pm(n){oe(n)?n():n.unsubscribe()}const Pi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ra={setTimeout(n,e,...t){const{delegate:i}=ra;return i?.setTimeout?i.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=ra;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Nm(n){ra.setTimeout(()=>{const{onUnhandledError:e}=Pi;if(!e)throw n;e(n)})}function oa(){}const gM=iu("C",void 0,void 0);function iu(n,e,t){return{kind:n,value:e,error:t}}let Ni=null;function sa(n){if(Pi.useDeprecatedSynchronousErrorHandling){const e=!Ni;if(e&&(Ni={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else n()}class aa extends et{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Om(e)&&e.add(this)):this.destination=DM}static create(e,t,i){return new Mo(e,t,i)}next(e){this.isStopped?ou(function yM(n){return iu("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?ou(function _M(n){return iu("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ou(gM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const bM=Function.prototype.bind;function ru(n,e){return bM.call(n,e)}class CM{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){la(i)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){la(i)}else la(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){la(t)}}}class Mo extends aa{constructor(e,t,i){let r;if(super(),oe(e)||!e)r={next:e??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Pi.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&ru(e.next,o),error:e.error&&ru(e.error,o),complete:e.complete&&ru(e.complete,o)}):r=e}this.destination=new CM(r)}}function la(n){Pi.useDeprecatedSynchronousErrorHandling?function vM(n){Pi.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=n)}(n):Nm(n)}function ou(n,e){const{onStoppedNotification:t}=Pi;t&&ra.setTimeout(()=>t(n,e))}const DM={closed:!0,next:oa,error:function wM(n){throw n},complete:oa},su="function"==typeof Symbol&&Symbol.observable||"@@observable";function ui(n){return n}function Lm(n){return 0===n.length?ui:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}let be=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new n;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function MM(n){return n&&n instanceof aa||function SM(n){return n&&oe(n.next)&&oe(n.error)&&oe(n.complete)}(n)&&Om(n)}(t)?t:new Mo(t,i,r);return sa(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Vm(i))((r,o)=>{const s=new Mo({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[su](){return this}pipe(...t){return Lm(t)(this)}toPromise(t){return new(t=Vm(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=e=>new n(e),n})();function Vm(n){var e;return null!==(e=n??Pi.Promise)&&void 0!==e?e:Promise}const AM=So(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ae=(()=>{class n extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new au(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new AM}next(t){sa(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){sa(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){sa(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Fm:(this.currentObservers=null,o.push(t),new et(()=>{this.currentObservers=null,gr(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new be;return t.source=this,t}}return n.create=(e,t)=>new au(e,t),n})();class au extends ae{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)}error(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Fm}}function Bm(n){return oe(n?.lift)}function Ae(n){return e=>{if(Bm(e))return e.lift(function(t){try{return n(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ge(n,e,t,i,r){return new IM(n,e,t,i,r)}class IM extends aa{constructor(e,t,i,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function B(n,e){return Ae((t,i)=>{let r=0;t.subscribe(ge(i,o=>{i.next(n.call(e,o,r++))}))})}function di(n){return this instanceof di?(this.v=n,this):new di(n)}function Um(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(n,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(f,p){i[f]&&(r[f]=function(m){return new Promise(function(_,b){o.push([f,m,_,b])>1||l(f,m)})},p&&(r[f]=p(r[f])))}function l(f,p){try{!function c(f){f.value instanceof di?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(i[f](p))}catch(m){h(o[0][3],m)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function $m(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function du(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],i=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const fu=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function zm(n){return oe(n?.then)}function Wm(n){return oe(n[su])}function Gm(n){return Symbol.asyncIterator&&oe(n?.[Symbol.asyncIterator])}function qm(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Km=function tA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ym(n){return oe(n?.[Km])}function Zm(n){return Um(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:i,done:r}=yield di(t.read());if(r)return yield di(void 0);yield yield di(i)}}finally{t.releaseLock()}})}function Qm(n){return oe(n?.getReader)}function Mt(n){if(n instanceof be)return n;if(null!=n){if(Wm(n))return function nA(n){return new be(e=>{const t=n[su]();if(oe(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(fu(n))return function iA(n){return new be(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Nm)})}(n);if(Gm(n))return Xm(n);if(Ym(n))return function oA(n){return new be(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(Qm(n))return function sA(n){return Xm(Zm(n))}(n)}throw qm(n)}function Xm(n){return new be(e=>{(function aA(n,e){var t,i,r,o;return function Hm(n,e,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=$m(n);!(i=yield t.next()).done;)if(e.next(i.value),e.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function Hn(n,e,t,i=0,r=!1){const o=e.schedule(function(){t(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Ke(n,e,t=1/0){return oe(e)?Ke((i,r)=>B((o,s)=>e(i,o,r,s))(Mt(n(i,r))),t):("number"==typeof e&&(t=e),Ae((i,r)=>function lA(n,e,t,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&e.complete()},f=m=>c{o&&e.next(m),c++;let _=!1;Mt(t(m,u++)).subscribe(ge(e,b=>{r?.(b),o?f(b):e.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(b)):p(b)}h()}catch(b){e.error(b)}}))};return n.subscribe(ge(e,f,()=>{d=!0,h()})),()=>{a?.()}}(i,r,n,t)))}function _r(n=1/0){return Ke(ui,n)}const jn=new be(n=>n.complete());function Jm(n){return n&&oe(n.schedule)}function pu(n){return n[n.length-1]}function eg(n){return oe(pu(n))?n.pop():void 0}function Ao(n){return Jm(pu(n))?n.pop():void 0}function tg(n,e=0){return Ae((t,i)=>{t.subscribe(ge(i,r=>Hn(i,n,()=>i.next(r),e),()=>Hn(i,n,()=>i.complete(),e),r=>Hn(i,n,()=>i.error(r),e)))})}function ng(n,e=0){return Ae((t,i)=>{i.add(n.schedule(()=>t.subscribe(i),e))})}function ig(n,e){if(!n)throw new Error("Iterable cannot be null");return new be(t=>{Hn(t,e,()=>{const i=n[Symbol.asyncIterator]();Hn(t,e,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function He(n,e){return e?function gA(n,e){if(null!=n){if(Wm(n))return function dA(n,e){return Mt(n).pipe(ng(e),tg(e))}(n,e);if(fu(n))return function fA(n,e){return new be(t=>{let i=0;return e.schedule(function(){i===n.length?t.complete():(t.next(n[i++]),t.closed||this.schedule())})})}(n,e);if(zm(n))return function hA(n,e){return Mt(n).pipe(ng(e),tg(e))}(n,e);if(Gm(n))return ig(n,e);if(Ym(n))return function pA(n,e){return new be(t=>{let i;return Hn(t,e,()=>{i=n[Km](),Hn(t,e,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>oe(i?.return)&&i.return()})}(n,e);if(Qm(n))return function mA(n,e){return ig(Zm(n),e)}(n,e)}throw qm(n)}(n,e):Mt(n)}function mu(...n){const e=Ao(n),t=function uA(n,e){return"number"==typeof pu(n)?n.pop():e}(n,1/0),i=n;return i.length?1===i.length?Mt(i[0]):_r(t)(He(i,e)):jn}function rg(n={}){const{connector:e=(()=>new ae),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return Ae((m,_)=>{c++,!d&&!u&&h();const b=l=l??e();_.add(()=>{c--,0===c&&!d&&!u&&(a=gu(p,r))}),b.subscribe(_),!s&&c>0&&(s=new Mo({next:D=>b.next(D),error:D=>{d=!0,h(),a=gu(f,t,D),b.error(D)},complete:()=>{u=!0,h(),a=gu(f,i),b.complete()}}),Mt(m).subscribe(s))})(o)}}function gu(n,e,...t){if(!0===e)return void n();if(!1===e)return;const i=new Mo({next:()=>{i.unsubscribe(),n()}});return e(...t).subscribe(i)}function _e(n){for(let e in n)if(n[e]===_e)return e;throw Error("Could not find renamed property on target object.")}function _u(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function ye(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ye).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function yu(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const _A=_e({__forward_ref__:_e});function Ce(n){return n.__forward_ref__=Ce,n.toString=function(){return ye(this())},n}function V(n){return vu(n)?n():n}function vu(n){return"function"==typeof n&&n.hasOwnProperty(_A)&&n.__forward_ref__===Ce}class C extends Error{constructor(e,t){super(function ca(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}(e,t)),this.code=e}}function z(n){return"string"==typeof n?n:null==n?"":String(n)}function ua(n,e){throw new C(-201,!1)}function Ft(n,e){null==n&&function de(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}(e,n,null,"!=")}function S(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function pe(n){return{providers:n.providers||[],imports:n.imports||[]}}function da(n){return og(n,ha)||og(n,ag)}function og(n,e){return n.hasOwnProperty(e)?n[e]:null}function sg(n){return n&&(n.hasOwnProperty(bu)||n.hasOwnProperty(MA))?n[bu]:null}const ha=_e({\u0275prov:_e}),bu=_e({\u0275inj:_e}),ag=_e({ngInjectableDef:_e}),MA=_e({ngInjectorDef:_e});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let Cu;function Yt(n){const e=Cu;return Cu=n,e}function lg(n,e,t){const i=da(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&F.Optional?null:void 0!==e?e:void ua(ye(n))}function hi(n){return{toString:n}.toString()}var cn=(()=>((cn=cn||{})[cn.OnPush=0]="OnPush",cn[cn.Default=1]="Default",cn))(),un=(()=>{return(n=un||(un={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",un;var n})();const we=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),yr={},ce=[],fa=_e({\u0275cmp:_e}),wu=_e({\u0275dir:_e}),Du=_e({\u0275pipe:_e}),cg=_e({\u0275mod:_e}),$n=_e({\u0275fac:_e}),Io=_e({__NG_ELEMENT_ID__:_e});let IA=0;function me(n){return hi(()=>{const t=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===cn.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||ce,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||un.Emulated,id:"c"+IA++,styles:n.styles||ce,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=hg(n.inputs,i),r.outputs=hg(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(ug).filter(dg):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(mt).filter(dg):null,r})}function ug(n){return fe(n)||pt(n)}function dg(n){return null!==n}function ve(n){return hi(()=>({type:n.type,bootstrap:n.bootstrap||ce,declarations:n.declarations||ce,imports:n.imports||ce,exports:n.exports||ce,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function hg(n,e){if(null==n)return yr;const t={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),t[r]=i,e&&(e[r]=o)}return t}const P=me;function fe(n){return n[fa]||null}function pt(n){return n[wu]||null}function mt(n){return n[Du]||null}function Ot(n,e){const t=n[cg]||null;if(!t&&!0===e)throw new Error(`Type ${ye(n)} does not have '\u0275mod' property.`);return t}const q=11;function It(n){return Array.isArray(n)&&"object"==typeof n[1]}function hn(n){return Array.isArray(n)&&!0===n[1]}function Mu(n){return 0!=(8&n.flags)}function _a(n){return 2==(2&n.flags)}function ya(n){return 1==(1&n.flags)}function fn(n){return null!==n.template}function OA(n){return 0!=(256&n[2])}function ji(n,e){return n.hasOwnProperty($n)?n[$n]:null}class LA{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function mg(n){return n.type.prototype.ngOnChanges&&(n.setInput=BA),VA}function VA(){const n=_g(this),e=n?.current;if(e){const t=n.previous;if(t===yr)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function BA(n,e,t,i){const r=_g(n)||function HA(n,e){return n[gg]=e}(n,{previous:yr,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[t],l=s[a];o[a]=new LA(l&&l.currentValue,e,s===yr),n[i]=e}const gg="__ngSimpleChanges__";function _g(n){return n[gg]||null}function je(n){for(;Array.isArray(n);)n=n[0];return n}function va(n,e){return je(e[n])}function Nt(n,e){return je(e[n.index])}function Ru(n,e){return n.data[e]}function Lt(n,e){const t=e[n];return It(t)?t:t[0]}function ba(n){return 64==(64&n[2])}function fi(n,e){return null==e?null:n[e]}function yg(n){n[18]=0}function ku(n,e){n[5]+=e;let t=n,i=n[3];for(;null!==i&&(1===e&&1===t[5]||-1===e&&0===t[5]);)i[5]+=e,t=i,i=i[3]}const j={lFrame:Ig(null),bindingsEnabled:!0};function bg(){return j.bindingsEnabled}function w(){return j.lFrame.lView}function ie(){return j.lFrame.tView}function Fo(n){return j.lFrame.contextLView=n,n[8]}function Oo(n){return j.lFrame.contextLView=null,n}function Ye(){let n=Cg();for(;null!==n&&64===n.type;)n=n.parent;return n}function Cg(){return j.lFrame.currentTNode}function En(n,e){const t=j.lFrame;t.currentTNode=n,t.isParent=e}function Fu(){return j.lFrame.isParent}function Ou(){j.lFrame.isParent=!1}function Er(){return j.lFrame.bindingIndex++}function Wn(n){const e=j.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function tI(n,e){const t=j.lFrame;t.bindingIndex=t.bindingRootIndex=n,Pu(e)}function Pu(n){j.lFrame.currentDirectiveIndex=n}function Nu(n){const e=j.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function Sg(){return j.lFrame.currentQueryIndex}function Lu(n){j.lFrame.currentQueryIndex=n}function iI(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Mg(n,e,t){if(t&F.SkipSelf){let r=e,o=n;for(;!(r=r.parent,null!==r||t&F.Host||(r=iI(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;e=r,n=o}const i=j.lFrame=Ag();return i.currentTNode=e,i.lView=n,!0}function Vu(n){const e=Ag(),t=n[1];j.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Ag(){const n=j.lFrame,e=null===n?null:n.child;return null===e?Ig(n):e}function Ig(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Tg(){const n=j.lFrame;return j.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const xg=Tg;function Bu(){const n=Tg();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function _t(){return j.lFrame.selectedIndex}function pi(n){j.lFrame.selectedIndex=n}function xe(){const n=j.lFrame;return Ru(n.tView,n.selectedIndex)}function Ca(n,e){for(let t=e.directiveStart,i=e.directiveEnd;t=i)break}else e[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===e){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class No{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Ea(n,e,t){let i=0;for(;ie){s=o-1;break}}}for(;o>16}(n),i=e;for(;t>0;)i=i[15],t--;return i}let Uu=!0;function Ma(n){const e=Uu;return Uu=n,e}let yI=0;const Sn={};function Vo(n,e){const t=zu(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,$u(i.data,n),$u(e,null),$u(i.blueprint,null));const r=Aa(n,e),o=n.injectorIndex;if(Pg(r)){const s=Sr(r),a=Mr(r,e),l=a[1].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function $u(n,e){n.push(0,0,0,0,0,0,0,0,e)}function zu(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Aa(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){if(i=zg(r),null===i)return-1;if(t++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function Ia(n,e,t){!function vI(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Io)&&(i=t[Io]),null==i&&(i=t[Io]=yI++);const r=255&i;e.data[n+(r>>5)]|=1<=0?255&e:DI:e}(t);if("function"==typeof o){if(!Mg(e,n,i))return i&F.Host?Vg(r,0,i):Bg(e,t,i,r);try{const s=o(i);if(null!=s||i&F.Optional)return s;ua()}finally{xg()}}else if("number"==typeof o){let s=null,a=zu(n,e),l=-1,c=i&F.Host?e[16][6]:null;for((-1===a||i&F.SkipSelf)&&(l=-1===a?Aa(n,e):e[a+8],-1!==l&&$g(i,!1)?(s=e[1],a=Sr(l),e=Mr(l,e)):a=-1);-1!==a;){const u=e[1];if(Ug(o,a,u.data)){const d=CI(a,e,t,s,i,c);if(d!==Sn)return d}l=e[a+8],-1!==l&&$g(i,e[1].data[a+8]===c)&&Ug(o,a,e)?(s=u,a=Sr(l),e=Mr(l,e)):a=-1}}return r}function CI(n,e,t,i,r,o){const s=e[1],a=s.data[n+8],u=Ta(a,s,t,null==i?_a(a)&&Uu:i!=s&&0!=(3&a.type),r&F.Host&&o===a);return null!==u?Bo(e,s,u,a):Sn}function Ta(n,e,t,i,r){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&fn(f)&&f.type===t)return l}return null}function Bo(n,e,t,i){let r=n[t];const o=e.data;if(function fI(n){return n instanceof No}(r)){const s=r;s.resolving&&function yA(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new C(-200,`Circular dependency in DI detected for ${n}${t}`)}(function le(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():z(n)}(o[t]));const a=Ma(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Yt(s.injectImpl):null;Mg(n,i,F.Default);try{r=n[t]=s.factory(void 0,o,n,i),e.firstCreatePass&&t>=i.directiveStart&&function dI(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const s=mg(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,r),o&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o))}(t,o[t],e)}finally{null!==l&&Yt(l),Ma(a),s.resolving=!1,xg()}}return r}function Ug(n,e,t){return!!(t[e+(n>>5)]&1<{const e=n.prototype.constructor,t=e[$n]||Wu(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[$n]||Wu(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Wu(n){return vu(n)?()=>{const e=Wu(V(n));return e&&e()}:ji(n)}function zg(n){const e=n[1],t=e.type;return 2===t?e.declTNode:1===t?n[6]:null}function Ir(n){return function bI(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r{const i=function Gu(n){return function(...t){if(n){const i=n(...t);for(const r in i)this[r]=i[r]}}}(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(xr)?l[xr]:Object.defineProperty(l,xr,{value:[]})[xr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class E{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=S({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Vt(n,e){void 0===e&&(e=n);for(let t=0;tArray.isArray(t)?Gn(t,e):e(t))}function Gg(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function xa(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Uo(n,e){const t=[];for(let i=0;i=0?n[1|i]=t:(i=~i,function II(n,e,t,i){let r=n.length;if(r==e)n.push(t,i);else if(1===r)n.push(i,n[0]),n[0]=t;else{for(r--,n.push(n[r-1],n[r]);r>e;)n[r]=n[r-2],r--;n[e]=t,n[e+1]=i}}(n,i,e,t)),i}function Ku(n,e){const t=Fr(n,e);if(t>=0)return n[1|t]}function Fr(n,e){return function Yg(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=n[o<e?r=o:i=o+1}return~(r<((Tt=Tt||{})[Tt.Important=1]="Important",Tt[Tt.DashCase=2]="DashCase",Tt))();const nd=new Map;let iT=0;const rd="__ngContext__";function ut(n,e){It(e)?(n[rd]=e[20],function oT(n){nd.set(n[20],n)}(e)):n[rd]=e}function sd(n,e){return undefined(n,e)}function Yo(n){const e=n[3];return hn(e)?e[3]:e}function ad(n){return __(n[13])}function ld(n){return __(n[4])}function __(n){for(;null!==n&&!hn(n);)n=n[4];return n}function Lr(n,e,t,i,r){if(null!=i){let o,s=!1;hn(i)?o=i:It(i)&&(s=!0,i=i[0]);const a=je(i);0===n&&null!==t?null==r?D_(e,t,a):Ui(e,t,a,r||null,!0):1===n&&null!==t?Ui(e,t,a,r||null,!0):2===n?function md(n,e,t){const i=Pa(n,e);i&&function AT(n,e,t,i){n.removeChild(e,t,i)}(n,i,e,t)}(e,a,s):3===n&&e.destroyNode(a),null!=o&&function xT(n,e,t,i,r){const o=t[7];o!==je(t)&&Lr(e,n,i,o,r);for(let a=10;a0&&(n[t-1][4]=i[4]);const o=xa(n,10+e);!function vT(n,e){Zo(n,e,e[q],2,null,null),e[0]=null,e[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function b_(n,e){if(!(128&e[2])){const t=e[q];t.destroyNode&&Zo(n,e,t,3,null,null),function wT(n){let e=n[13];if(!e)return hd(n[1],n);for(;e;){let t=null;if(It(e))t=e[13];else{const i=e[10];i&&(t=i)}if(!t){for(;e&&!e[4]&&e!==n;)It(e)&&hd(e[1],e),e=e[3];null===e&&(e=n),It(e)&&hd(e[1],e),t=e&&e[4]}e=t}}(e)}}function hd(n,e){if(!(128&e[2])){e[2]&=-65,e[2]|=128,function MT(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=t[o+1]];t[o].call(s)}if(null!==i){for(let o=r+1;on,createScript:n=>n,createScriptURL:n=>n})}catch{}return Va}()?.createHTML(n)||n}function P_(n){return function bd(){if(void 0===Ba&&(Ba=null,we.trustedTypes))try{Ba=we.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ba}()?.createScriptURL(n)||n}class zi{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class NT extends zi{getTypeName(){return"HTML"}}class LT extends zi{getTypeName(){return"Style"}}class VT extends zi{getTypeName(){return"Script"}}class BT extends zi{getTypeName(){return"URL"}}class HT extends zi{getTypeName(){return"ResourceURL"}}function Ht(n){return n instanceof zi?n.changingThisBreaksApplicationSecurity:n}function Mn(n,e){const t=function jT(n){return n instanceof zi&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===e}class qT{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString($i(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}}class KT{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const i=this.inertDocument.createElement("body");t.appendChild(i)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=$i(e),t;const i=this.inertDocument.createElement("body");return i.innerHTML=$i(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0"),!0}endElement(e){const t=e.nodeName.toLowerCase();Cd.hasOwnProperty(t)&&!L_.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(j_(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const JT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ex=/([^\#-~ |!])/g;function j_(n){return n.replace(/&/g,"&").replace(JT,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ex,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let ja;function U_(n,e){let t=null;try{ja=ja||function N_(n){const e=new KT(n);return function YT(){try{return!!(new window.DOMParser).parseFromString($i(""),"text/html")}catch{return!1}}()?new qT(e):e}(n);let i=e?String(e):"";t=ja.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=ja.getInertBodyElement(i)}while(i!==o);return $i((new XT).sanitizeChildren(Dd(t)||t))}finally{if(t){const i=Dd(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Dd(n){return"content"in n&&function tx(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ue=(()=>((ue=ue||{})[ue.NONE=0]="NONE",ue[ue.HTML=1]="HTML",ue[ue.STYLE=2]="STYLE",ue[ue.SCRIPT=3]="SCRIPT",ue[ue.URL=4]="URL",ue[ue.RESOURCE_URL=5]="RESOURCE_URL",ue))();function Sd(n){const e=function Xo(){const n=w();return n&&n[12]}();if(e)return P_(e.sanitize(ue.RESOURCE_URL,n)||"");if(Mn(n,"ResourceURL"))return P_(Ht(n));throw new C(904,!1)}const Md=new E("ENVIRONMENT_INITIALIZER"),$_=new E("INJECTOR",-1),z_=new E("INJECTOR_DEF_TYPES");class W_{get(e,t=$o){if(t===$o){const i=new Error(`NullInjectorError: No provider for ${ye(e)}!`);throw i.name="NullInjectorError",i}return t}}function cx(...n){return{\u0275providers:G_(0,n)}}function G_(n,...e){const t=[],i=new Set;let r;return Gn(e,o=>{const s=o;Ad(s,t,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&q_(r,t),t}function q_(n,e){for(let t=0;t{e.push(o)})}}function Ad(n,e,t,i){if(!(n=V(n)))return!1;let r=null,o=sg(n);const s=!o&&fe(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=sg(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Ad(c,e,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Gn(o.imports,u=>{Ad(u,e,t,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&q_(c,e)}if(!a){const c=ji(r)||(()=>new r);e.push({provide:r,useFactory:c,deps:ce},{provide:z_,useValue:r,multi:!0},{provide:Md,useValue:()=>y(r),multi:!0})}const l=o.providers;null==l||a||Gn(l,u=>{e.push(u)})}}return r!==n&&void 0!==n.providers}const ux=_e({provide:String,useValue:_e});function Id(n){return null!==n&&"object"==typeof n&&ux in n}function Wi(n){return"function"==typeof n}const Td=new E("Set Injector scope."),Ua={},hx={};let xd;function $a(){return void 0===xd&&(xd=new W_),xd}class _i{}class Z_ extends _i{constructor(e,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kd(e,s=>this.processProvider(s)),this.records.set($_,Vr(void 0,this)),r.has("environment")&&this.records.set(_i,Vr(void 0,this));const o=this.records.get(Td);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(z_.multi,ce,F.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=Or(this),i=Yt(void 0);try{return e()}finally{Or(t),Yt(i)}}get(e,t=$o,i=F.Default){this.assertNotDestroyed();const r=Or(this),o=Yt(void 0);try{if(!(i&F.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function _x(n){return"function"==typeof n||"object"==typeof n&&n instanceof E}(e)&&da(e);a=l&&this.injectableDefInScope(l)?Vr(Rd(e),Ua):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&F.Self?$a():this.parent).get(e,t=i&F.Optional&&t===$o?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[ka]=s[ka]||[]).unshift(ye(e)),r)throw s;return function HI(n,e,t,i){const r=n[ka];throw e[Zg]&&r.unshift(e[Zg]),n.message=function jI(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=ye(e);if(Array.isArray(e))r=e.map(ye).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ye(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(NI,"\n ")}`}("\n"+n.message,r,t,i),n.ngTokenPath=r,n[ka]=null,n}(s,e,"R3InjectorError",this.source)}throw s}finally{Yt(o),Or(r)}}resolveInjectorInitializers(){const e=Or(this),t=Yt(void 0);try{const i=this.get(Md.multi,ce,F.Self);for(const r of i)r()}finally{Or(e),Yt(t)}}toString(){const e=[],t=this.records;for(const i of t.keys())e.push(ye(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(e){let t=Wi(e=V(e))?e:V(e&&e.provide);const i=function px(n){return Id(n)?Vr(void 0,n.useValue):Vr(function Q_(n,e,t){let i;if(Wi(n)){const r=V(n);return ji(r)||Rd(r)}if(Id(n))i=()=>V(n.useValue);else if(function Y_(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Qu(n.deps||[]));else if(function K_(n){return!(!n||!n.useExisting)}(n))i=()=>y(V(n.useExisting));else{const r=V(n&&(n.useClass||n.provide));if(!function mx(n){return!!n.deps}(n))return ji(r)||Rd(r);i=()=>new r(...Qu(n.deps))}return i}(n),Ua)}(e);if(Wi(e)||!0!==e.multi)this.records.get(t);else{let r=this.records.get(t);r||(r=Vr(void 0,Ua,!0),r.factory=()=>Qu(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,i)}hydrate(e,t){return t.value===Ua&&(t.value=hx,t.value=t.factory()),"object"==typeof t.value&&t.value&&function gx(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=V(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function Rd(n){const e=da(n),t=null!==e?e.factory:ji(n);if(null!==t)return t;if(n instanceof E)throw new C(204,!1);if(n instanceof Function)return function fx(n){const e=n.length;if(e>0)throw Uo(e,"?"),new C(204,!1);const t=function EA(n){const e=n&&(n[ha]||n[ag]);if(e){const t=function SA(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" 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 "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new C(204,!1)}function Vr(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function yx(n){return!!n.\u0275providers}function kd(n,e){for(const t of n)Array.isArray(t)?kd(t,e):yx(t)?kd(t.\u0275providers,e):e(t)}class X_{}class Cx{resolveComponentFactory(e){throw function bx(n){const e=Error(`No component factory found for ${ye(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let Gi=(()=>{class n{}return n.NULL=new Cx,n})();function wx(){return Br(Ye(),w())}function Br(n,e){return new $e(Nt(n,e))}let $e=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=wx,n})();function Dx(n){return n instanceof $e?n.nativeElement:n}class Jo{}let Sx=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>null}),n})();class qi{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Mx=new qi("14.3.0"),Fd={};function Pd(n){return n.ngOriginalError}class Yn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Pd(e);for(;t&&Pd(t);)t=Pd(t);return t||null}}function ey(n){return n.ownerDocument}function Zn(n){return n instanceof Function?n():n}function ny(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=e.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}t=r+1}}const iy="ng-template";function Nx(n,e,t){let i=0;for(;io?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==ny(f,c,0)||2&i&&c!==h){if(pn(i))return!1;s=!0}}}}else{if(!s&&!pn(i)&&!pn(l))return!1;if(s&&pn(l))continue;s=!1,i=l|1&i}}return pn(i)||s}function pn(n){return 0==(1&n)}function Bx(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!pn(s)&&(e+=sy(o,r),r=""),i=s,o=o||!pn(i);t++}return""!==r&&(e+=sy(o,r)),e}const W={};function X(n){ay(ie(),w(),_t()+n,!1)}function ay(n,e,t,i){if(!i)if(3==(3&e[2])){const o=n.preOrderCheckHooks;null!==o&&wa(e,o,t)}else{const o=n.preOrderHooks;null!==o&&Da(e,o,0,t)}pi(t)}function dy(n,e=null,t=null,i){const r=hy(n,e,t,i);return r.resolveInjectorInitializers(),r}function hy(n,e=null,t=null,i,r=new Set){const o=[t||ce,cx(n)];return i=i||("object"==typeof n?void 0:ye(n)),new Z_(o,e||$a(),i||null,r)}let Qe=(()=>{class n{static create(t,i){if(Array.isArray(t))return dy({name:""},i,t,"");{const r=t.name??"";return dy({name:r},t.parent,t.providers,r)}}}return n.THROW_IF_NOT_FOUND=$o,n.NULL=new W_,n.\u0275prov=S({token:n,providedIn:"any",factory:()=>y($_)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,e=F.Default){const t=w();return null===t?y(n,e):Hg(Ye(),t,V(n),e)}function Wa(){throw new Error("invalid")}function Ga(n,e){return n<<17|e<<2}function mn(n){return n>>17&32767}function Hd(n){return 2|n}function Qn(n){return(131068&n)>>2}function jd(n,e){return-131069&n|e<<2}function Ud(n){return 1|n}function Ty(n,e){const t=n.contentQueries;if(null!==t)for(let i=0;i22&&ay(n,e,22,!1),t(i,r)}finally{pi(o)}}function Xd(n,e,t){!bg()||(function RR(n,e,t,i){const r=t.directiveStart,o=t.directiveEnd;n.firstCreatePass||Vo(t,e),ut(i,e);const s=t.initialInputs;for(let a=r;a0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function Vy(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function By(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function PR(n,e,t){if(t){if(e.exportAs)for(let i=0;i0&&ih(t)}}function ih(n){for(let i=ad(n);null!==i;i=ld(i))for(let r=10;r0&&ih(o)}const t=n[1].components;if(null!==t)for(let i=0;i0&&ih(r)}}function UR(n,e){const t=Lt(e,n),i=t[1];(function $R(n,e){for(let t=e.length;t-1&&(dd(e,i),xa(t,i))}this._attachedToViewContainer=!1}b_(this._lView[1],this._lView)}onDestroy(e){Fy(this._lView[1],this._lView,null,e)}markForCheck(){rh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Xa(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function CT(n,e){Zo(n,e,e[q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e}}class zR extends es{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Xa(e[1],e,e[8],!1)}checkNoChanges(){}get context(){return null}}class ah extends Gi{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=fe(e);return new ts(t,this.ngModule)}}function qy(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class GR{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,i){const r=this.injector.get(e,Fd,i);return r!==Fd||t===Fd?r:this.parentInjector.get(e,t,i)}}class ts extends X_{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function Wx(n){return n.map(zx).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return qy(this.componentDef.inputs)}get outputs(){return qy(this.componentDef.outputs)}create(e,t,i,r){let o=(r=r||this.ngModule)instanceof _i?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new GR(e,o):e,a=s.get(Jo,null);if(null===a)throw new C(407,!1);const l=s.get(Sx,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function SR(n,e,t){return n.selectRootElement(e,t===un.ShadowDom)}(c,i,this.componentDef.encapsulation):ud(c,u,function WR(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(u)),h=this.componentDef.onPush?288:272,f=eh(0,null,null,1,0,null,null,null,null,null),p=Ya(null,f,null,h,null,null,a,c,l,s,null);let m,_;Vu(p);try{const b=function YR(n,e,t,i,r,o){const s=t[1];t[22]=n;const l=Ur(s,22,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(Ja(l,c,!0),null!==n&&(Ea(r,n,c),null!==l.classes&&_d(r,n,l.classes),null!==l.styles&&R_(r,n,l.styles)));const u=i.createRenderer(n,e),d=Ya(t,ky(e),null,e.onPush?32:16,t[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Ia(Vo(l,t),s,e.type),By(s,l),Hy(l,t.length,1)),Qa(t,d),t[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)Ea(c,d,["ng-version",Mx.full]);else{const{attrs:D,classes:v}=function Gx(n){const e=[],t=[];let i=1,r=2;for(;i0&&_d(c,d,v.join(" "))}if(_=Ru(f,22),void 0!==t){const D=_.projection=[];for(let v=0;v=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Sa(r.hostAttrs,t=Sa(t,r.hostAttrs))}}(i)}function lh(n){return n===yr?{}:n===ce?[]:n}function JR(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function ek(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,o)=>{e(i,r,o),t(i,r,o)}:e}function tk(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}let tl=null;function Ki(){if(!tl){const n=we.Symbol;if(n&&n.iterator)tl=n.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(je(Y[i.index])):i.index;let I=null;if(!a&&l&&(I=function pk(n,e,t,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,e,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,f=!1;else{o=lv(i,e,d,o,!1);const Y=t.listen(b,r,o);h.push(o,Y),u&&u.push(r,v,D,D+1)}}else o=lv(i,e,d,o,!1);const p=i.outputs;let m;if(f&&null!==p&&(m=p[r])){const _=m.length;if(_)for(let b=0;b<_;b+=2){const ne=e[m[b]][m[b+1]].subscribe(o),ke=h.length;h.push(o,ne),u&&u.push(r,i.index,ke,-(ke+1))}}}function av(n,e,t,i){try{return!1!==t(i)}catch(r){return Gy(n,r),!1}}function lv(n,e,t,i,r){return function o(s){if(s===Function)return i;rh(2&n.flags?Lt(n.index,e):e);let l=av(e,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=av(e,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function rt(n=1){return function rI(n){return(j.lFrame.contextLView=function oI(n,e){for(;n>0;)e=e[15],n--;return e}(n,j.lFrame.contextLView))[8]}(n)}function mk(n,e){let t=null;const i=function Hx(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let r=0;r=0}function gh(n,e,t){return _n(n,e,t,!1),gh}function Ct(n,e){return _n(n,e,null,!0),Ct}function _n(n,e,t,i){const r=w(),o=ie(),s=Wn(2);o.firstUpdatePass&&function Iv(n,e,t,i){const r=n.data;if(null===r[t+1]){const o=r[_t()],s=function Av(n,e){return e>=n.expandoStartIndex}(n,t);(function kv(n,e){return 0!=(n.flags&(e?16:32))})(o,i)&&null===e&&!s&&(e=!1),e=function Ak(n,e,t,i){const r=Nu(n);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=ss(t=_h(null,n,e,t,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==r)if(t=_h(r,n,e,t,i),null===o){let l=function Ik(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==Qn(i))return n[mn(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=_h(null,n,e,l[1],i),l=ss(l,e.attrs,i),function Tk(n,e,t,i){n[mn(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else o=function xk(n,e,t){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(c=!0)}else u=t;if(r)if(0!==l){const h=mn(n[a+1]);n[i+1]=Ga(h,a),0!==h&&(n[h+1]=jd(n[h+1],i)),n[a+1]=function dR(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=Ga(a,0),0!==a&&(n[a+1]=jd(n[a+1],i)),a=i;else n[i+1]=Ga(l,0),0===a?a=i:n[l+1]=jd(n[l+1],i),l=i;c&&(n[i+1]=Hd(n[i+1])),bv(n,u,i,!0),bv(n,u,i,!1),function _k(n,e,t,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&Fr(o,e)>=0&&(t[i+1]=Ud(t[i+1]))}(e,u,n,i,o),s=Ga(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,t,s,i)}}(o,n,s,i),e!==W&&dt(r,s,e)&&function xv(n,e,t,i,r,o,s,a){if(!(3&e.type))return;const l=n.data,c=l[a+1];il(function Cy(n){return 1==(1&n)}(c)?Rv(l,e,t,r,Qn(c),s):void 0)||(il(o)||function by(n){return 2==(2&n)}(c)&&(o=Rv(l,null,t,r,a,s)),function RT(n,e,t,i,r){if(e)r?n.addClass(t,i):n.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:Tt.DashCase;null==r?n.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Tt.Important),n.setStyle(t,i,r,o))}}(i,s,va(_t(),t),r,o))}(o,o.data[_t()],r,r[q],n,r[s+1]=function Fk(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=ye(Ht(n)))),n}(e,t),i,s)}function _h(n,e,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===W&&(h=d?ce:void 0);let f=d?Ku(h,i):u===i?h:void 0;if(c&&!il(f)&&(f=Ku(l,i)),il(f)&&(a=f,s))return a;const p=n[r+1];r=s?mn(p):Qn(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Ku(l,i))}return a}function il(n){return void 0!==n}function he(n,e=""){const t=w(),i=ie(),r=n+22,o=i.firstCreatePass?Ur(i,r,1,e,null):i.data[r],s=t[r]=function cd(n,e){return n.createText(e)}(t[q],e);Na(i,t,s,o),En(o,!1)}function Pe(n){return Zi("",n,""),Pe}function Zi(n,e,t){const i=w(),r=function Wr(n,e,t,i){return dt(n,Er(),t)?e+z(t)+i:W}(i,n,e,t);return r!==W&&Xn(i,_t(),r),Zi}function yh(n,e,t,i,r,o,s){const a=w(),l=qr(a,n,e,t,i,r,o,s);return l!==W&&Xn(a,_t(),l),yh}function vh(n,e,t){const i=w();return dt(i,Er(),e)&&jt(ie(),xe(),i,n,e,i[q],t,!0),vh}function bh(n,e,t){const i=w();if(dt(i,Er(),e)){const o=ie(),s=xe();jt(o,s,i,n,e,Wy(Nu(o.data),s,i),t,!0)}return bh}const to="en-US";let Qv=to;class Xi{}class Db{}class Eb extends Xi{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ah(this);const i=Ot(e);this._bootstrapComponents=Zn(i.bootstrap),this._r3Injector=hy(e,t,[{provide:Xi,useValue:this},{provide:Gi,useValue:this.componentFactoryResolver}],ye(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ah extends Db{constructor(e){super(),this.moduleType=e}create(e){return new Eb(this.moduleType,e)}}class JF extends Xi{constructor(e,t,i){super(),this.componentFactoryResolver=new ah(this),this.instance=null;const r=new Z_([...e,{provide:Xi,useValue:this},{provide:Gi,useValue:this.componentFactoryResolver}],t||$a(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function ll(n,e,t=null){return new JF(n,e,t).injector}let eO=(()=>{class n{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const i=G_(0,t.type),r=i.length>0?ll([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,r)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=S({token:n,providedIn:"environment",factory:()=>new n(y(_i))}),n})();function Sb(n){n.getStandaloneInjector=e=>e.get(eO).getOrCreateStandaloneInjector(n)}function Th(n){return e=>{setTimeout(n,void 0,e)}}const Me=class MO extends ae{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let r=e,o=t||(()=>null),s=i;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Th(o),r&&(r=Th(r)),s&&(s=Th(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof et&&e.add(a),a}};function AO(){return this._results[Ki()]()}class xh{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Ki(),i=xh.prototype;i[t]||(i[t]=AO)}get changes(){return this._changes||(this._changes=new Me)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const i=this;i.dirty=!1;const r=Vt(e);(this._changesDetected=!function MI(n,e,t){if(n.length!==e.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=xO,n})();const IO=Rn,TO=class extends IO{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e,t){const i=this._declarationTContainer.tViews,r=Ya(this._declarationLView,i,e,16,null,i.declTNode,null,null,null,null,t||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),Qd(i,r,e),new es(r)}};function xO(){return cl(Ye(),w())}function cl(n,e){return 4&n.type?new TO(e,n,Br(n,e)):null}let en=(()=>{class n{}return n.__NG_ELEMENT_ID__=RO,n})();function RO(){return Bb(Ye(),w())}const kO=en,Lb=class extends kO{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return Br(this._hostTNode,this._hostLView)}get injector(){return new Ar(this._hostTNode,this._hostLView)}get parentInjector(){const e=Aa(this._hostTNode,this._hostLView);if(Pg(e)){const t=Mr(e,this._hostLView),i=Sr(e);return new Ar(t[1].data[i+8],t)}return new Ar(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Vb(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=e.createEmbeddedView(t||{},o);return this.insert(s,r),s}createComponent(e,t,i,r,o){const s=e&&!function jo(n){return"function"==typeof n}(e);let a;if(s)a=t;else{const d=t||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?e:new ts(fe(e)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(_i,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(e,t){const i=e._lView,r=i[1];if(function qA(n){return hn(n[3])}(i)){const u=this.indexOf(e);if(-1!==u)this.detach(u);else{const d=i[3],h=new Lb(d,d[6],d[3]);h.detach(h.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function DT(n,e,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=e),i0)i.push(s[a/2]);else{const c=o[a+1],u=e[-l];for(let d=10;d{class n{constructor(t){this.appInits=t,this.resolve=dl,this.reject=dl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const t=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(y(hl,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const _s=new E("AppId",{providedIn:"root",factory:function cC(){return`${$h()}${$h()}${$h()}`}});function $h(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const uC=new E("Platform Initializer"),zh=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dC=new E("appBootstrapListener"),pl=new E("AnimationModuleType");let aP=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const kn=new E("LocaleId",{providedIn:"root",factory:()=>Se(kn,F.Optional|F.SkipSelf)||function lP(){return typeof $localize<"u"&&$localize.locale||to}()});class uP{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}let Wh=(()=>{class n{compileModuleSync(t){return new Ah(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Zn(Ot(t).declarations).reduce((s,a)=>{const l=fe(a);return l&&s.push(new ts(l)),s},[]);return new uP(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const fP=(()=>Promise.resolve(0))();function Gh(n){typeof Zone>"u"?fP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class re{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Me(!1),this.onMicrotaskEmpty=new Me(!1),this.onStable=new Me(!1),this.onError=new Me(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function pP(){let n=we.requestAnimationFrame,e=we.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function _P(n){const e=()=>{!function gP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(we,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Kh(n),n.isCheckStableRunning=!0,qh(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Kh(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{try{return pC(n),t.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&e(),mC(n)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return pC(n),t.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),mC(n)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Kh(n),qh(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!re.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(re.isInAngularZone())throw new C(909,!1)}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,mP,dl,dl);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const mP={};function qh(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Kh(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function pC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function mC(n){n._nesting--,qh(n)}class yP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Me,this.onMicrotaskEmpty=new Me,this.onStable=new Me,this.onError=new Me}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}const gC=new E(""),ml=new E("");let Qh,Yh=(()=>{class n{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Qh||(function vP(n){Qh=n}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{re.assertNotInAngularZone(),Gh(()=>{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())Gh(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}}return n.\u0275fac=function(t){return new(t||n)(y(re),y(Zh),y(ml))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Zh=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Qh?.findTestabilityInTree(this,t,i)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),bi=null;const _C=new E("AllowMultipleToken"),Xh=new E("PlatformDestroyListeners");class yC{constructor(e,t){this.name=e,this.token=t}}function bC(n,e,t=[]){const i=`Platform: ${e}`,r=new E(i);return(o=[])=>{let s=Jh();if(!s||s.injector.get(_C,!1)){const a=[...t,...o,{provide:r,useValue:!0}];n?n(a):function wP(n){if(bi&&!bi.get(_C,!1))throw new C(400,!1);bi=n;const e=n.get(wC);(function vC(n){const e=n.get(uC,null);e&&e.forEach(t=>t())})(n)}(function CC(n=[],e){return Qe.create({name:e,providers:[{provide:Td,useValue:"platform"},{provide:Xh,useValue:new Set([()=>bi=null])},...n]})}(a,i))}return function EP(n){const e=Jh();if(!e)throw new C(401,!1);return e}()}}function Jh(){return bi?.get(wC)??null}let wC=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function EC(n,e){let t;return t="noop"===n?new yP:("zone.js"===n?void 0:n)||new re(e),t}(i?.ngZone,function DC(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:re,useValue:r}];return r.run(()=>{const s=Qe.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Yn,null);if(!l)throw new C(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{gl(this._modules,a),c.unsubscribe()})}),function SC(n,e,t){try{const i=t();return os(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(fl);return c.runInitializers(),c.donePromise.then(()=>(function Xv(n){Ft(n,"Expected localeId to be defined"),"string"==typeof n&&(Qv=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(kn,to)||to),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,i=[]){const r=MC({},i);return function bP(n,e,t){const i=new Ah(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(ro);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new C(403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Xh,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(y(Qe))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function MC(n,e){return Array.isArray(e)?e.reduce(MC,n):{...n,...e}}let ro=(()=>{class n{constructor(t,i,r){this._zone=t,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new be(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new be(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),Gh(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=mu(o,s.pipe(rg()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof X_;if(!this._injector.get(fl).done)throw!r&&function vr(n){const e=fe(n)||pt(n)||mt(n);return null!==e&&e.standalone}(t),new C(405,false);let s;s=r?t:this._injector.get(Gi).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function CP(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Xi),c=s.create(Qe.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(gC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),gl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;gl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(dC,[]).concat(this._bootstrapListeners).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>gl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new C(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(y(re),y(_i),y(Yn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function gl(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let IC=!0,ys=(()=>{class n{}return n.__NG_ELEMENT_ID__=AP,n})();function AP(n){return function IP(n,e,t){if(_a(n)&&!t){const i=Lt(n.index,e);return new es(i,i)}return 47&n.type?new es(e[16],e):null}(Ye(),w(),16==(16&n))}class FC{constructor(){}supports(e){return ns(e)}create(e){return new OP(e)}}const FP=(n,e)=>e;class OP{constructor(e){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=e||FP}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new PP(t,i),o,r),e}_verifyReinsertion(e,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new OC),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new OC),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class PP{constructor(e,t){this.item=e,this.trackById=t,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 NP{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class OC{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new NP,this.map.set(t,i)),i.add(e)}get(e,t){const r=this.map.get(e);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function PC(n,e,t){const i=n.previousIndex;if(null===i)return i;let r=0;return t&&i{class n{constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new n(t)}static extend(t){return{provide:n,useFactory:i=>n.create(t,i||LC()),deps:[[n,new Pr,new gi]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new C(901,!1)}}return n.\u0275prov=S({token:n,providedIn:"root",factory:LC}),n})();const jP=bC(null,"core",[]);let UP=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(y(ro))},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})(),bl=null;function Fn(){return bl}const Q=new E("DocumentToken");let sf=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return function GP(){return y(BC)}()},providedIn:"platform"}),n})();const qP=new E("Location Initialized");let BC=(()=>{class n extends sf{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fn().getBaseHref(this._doc)}onPopState(t){const i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,i,r){HC()?this._history.pushState(t,i,r):this.location.hash=r}replaceState(t,i,r){HC()?this._history.replaceState(t,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:function(){return function KP(){return new BC(y(Q))}()},providedIn:"platform"}),n})();function HC(){return!!window.history.pushState}function af(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function jC(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function ti(n){return n&&"?"!==n[0]?"?"+n:n}let er=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return Se($C)},providedIn:"root"}),n})();const UC=new E("appBaseHref");let $C=(()=>{class n extends er{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Se(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return af(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+ti(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+ti(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+ti(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(y(sf),y(UC,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),YP=(()=>{class n extends er{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=af(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+ti(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+ti(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(y(sf),y(UC,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),bs=(()=>{class n{constructor(t){this._subject=new Me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._baseHref=jC(zC(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+ti(i))}normalize(t){return n.stripTrailingSlash(function QP(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._baseHref,zC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ti(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ti(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}}return n.normalizeQueryParams=ti,n.joinWithSlash=af,n.stripTrailingSlash=jC,n.\u0275fac=function(t){return new(t||n)(y(er))},n.\u0275prov=S({token:n,factory:function(){return function ZP(){return new bs(y(er))}()},providedIn:"root"}),n})();function zC(n){return n.replace(/\/index.html$/,"")}class LN{constructor(e,t,i,r){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ii=(()=>{class n{constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new LN(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),tw(a,r)}});for(let r=0,o=i.length;r{tw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}}return n.\u0275fac=function(t){return new(t||n)(g(en),g(Rn),g(vl))},n.\u0275dir=P({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function tw(n,e){n.context.$implicit=e.item}let nw=(()=>{class n{constructor(t,i){this._viewContainer=t,this._context=new BN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){iw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){iw("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}}return n.\u0275fac=function(t){return new(t||n)(g(en),g(Rn))},n.\u0275dir=P({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class BN{constructor(){this.$implicit=null,this.ngIf=null}}function iw(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${ye(e)}'.`)}let sw=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})();const aw="browser";let _1=(()=>{class n{}return n.\u0275prov=S({token:n,providedIn:"root",factory:()=>new y1(y(Q),window)}),n})();class y1{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function v1(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=lw(this.window.history)||lw(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function lw(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Df extends class q1 extends class WP{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function zP(n){bl||(bl=n)}(new Df)}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function K1(){return Es=Es||document.querySelector("base"),Es?Es.getAttribute("href"):null}();return null==t?null:function Y1(n){kl=kl||document.createElement("a"),kl.setAttribute("href",n);const e=kl.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){Es=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function ON(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let kl,Es=null;const fw=new E("TRANSITION_ID"),Q1=[{provide:hl,useFactory:function Z1(n,e,t){return()=>{t.get(fl).donePromise.then(()=>{const i=Fn(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const Fl=new E("EventManagerPlugins");let Ol=(()=>{class n{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>r.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}addGlobalEventListener(t,i,r){return this._findPluginFor(i).addGlobalEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){const i=this._eventNameToPlugin.get(t);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(t){const i=new Set;t.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Ss=(()=>{class n extends mw{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,i,r){t.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(t){const i=[];this._addStylesToHost(this._stylesSet,t,i),this._hostNodes.set(t,i)}removeHost(t){const i=this._hostNodes.get(t);i&&i.forEach(gw),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(gw))}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function gw(n){Fn().remove(n)}const Ef={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/",math:"http://www.w3.org/1998/MathML/"},Sf=/%COMP%/g;function Pl(n,e,t){for(let i=0;i{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let Nl=(()=>{class n{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Mf(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case un.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new oL(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case un.ShadowDom:return new sL(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=Pl(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(y(Ol),y(Ss),y(_s))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class Mf{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Ef[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(Cw(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(Cw(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const o=Ef[r];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Ef[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(Tt.DashCase|Tt.Important)?e.style.setProperty(t,i,r&Tt.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&Tt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,vw(i)):this.eventManager.addEventListener(e,t,vw(i))}}function Cw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class oL extends Mf{constructor(e,t,i,r){super(e),this.component=i;const o=Pl(r+"-"+i.id,i.styles,[]);t.addStyles(o),this.contentAttr=function nL(n){return"_ngcontent-%COMP%".replace(Sf,n)}(r+"-"+i.id),this.hostAttr=function iL(n){return"_nghost-%COMP%".replace(Sf,n)}(r+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class sL extends Mf{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Pl(r.id,r.styles,[]);for(let s=0;s{class n extends pw{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const ww=["alt","control","meta","shift"],lL={"\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"},cL={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let uL=(()=>{class n extends pw{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fn().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),ww.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=lL[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),ww.forEach(s=>{s!==r&&(0,cL[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{n.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const pL=bC(jP,"browser",[{provide:zh,useValue:aw},{provide:uC,useValue:function dL(){Df.makeCurrent()},multi:!0},{provide:Q,useFactory:function fL(){return function PT(n){vd=n}(document),document},deps:[]}]),Sw=new E(""),Mw=[{provide:ml,useClass:class X1{addToWindow(e){we.getAngularTestability=(i,r=!0)=>{const o=e.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},we.getAllAngularTestabilities=()=>e.getAllTestabilities(),we.getAllAngularRootElements=()=>e.getAllRootElements(),we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(i=>{const r=we.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,i){return null==t?null:e.getTestability(t)??(i?Fn().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:gC,useClass:Yh,deps:[re,Zh,ml]},{provide:Yh,useClass:Yh,deps:[re,Zh,ml]}],Aw=[{provide:Td,useValue:"root"},{provide:Yn,useFactory:function hL(){return new Yn},deps:[]},{provide:Fl,useClass:aL,multi:!0,deps:[Q,re,zh]},{provide:Fl,useClass:uL,multi:!0,deps:[Q]},{provide:Nl,useClass:Nl,deps:[Ol,Ss,_s]},{provide:Jo,useExisting:Nl},{provide:mw,useExisting:Ss},{provide:Ss,useClass:Ss,deps:[Q]},{provide:Ol,useClass:Ol,deps:[Fl,re]},{provide:class b1{},useClass:J1,deps:[]},[]];let Iw=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:_s,useValue:t.appId},{provide:fw,useExisting:_s},Q1]}}}return n.\u0275fac=function(t){return new(t||n)(y(Sw,12))},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:[...Aw,...Mw],imports:[sw,UP]}),n})(),Tw=(()=>{class n{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:function(t){let i=null;return i=t?new t:function gL(){return new Tw(y(Q))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let Ll=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(t){let i=null;return i=t?new(t||n):y(kw),i},providedIn:"root"}),n})(),kw=(()=>{class n extends Ll{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case ue.NONE:return i;case ue.HTML:return Mn(i,"HTML")?Ht(i):U_(this._doc,String(i)).toString();case ue.STYLE:return Mn(i,"Style")?Ht(i):i;case ue.SCRIPT:if(Mn(i,"Script"))return Ht(i);throw new Error("unsafe value used in a script context");case ue.URL:return Mn(i,"URL")?Ht(i):Ha(String(i));case ue.RESOURCE_URL:if(Mn(i,"ResourceURL"))return Ht(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function UT(n){return new NT(n)}(t)}bypassSecurityTrustStyle(t){return function $T(n){return new LT(n)}(t)}bypassSecurityTrustScript(t){return function zT(n){return new VT(n)}(t)}bypassSecurityTrustUrl(t){return function WT(n){return new BT(n)}(t)}bypassSecurityTrustResourceUrl(t){return function GT(n){return new HT(n)}(t)}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:function(t){let i=null;return i=t?new t:function DL(n){return new kw(n.get(Q))}(y(Qe)),i},providedIn:"root"}),n})();function R(...n){return He(n,Ao(n))}class ot extends ae{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}}const Vl=So(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:EL}=Array,{getPrototypeOf:SL,prototype:ML,keys:AL}=Object;function Fw(n){if(1===n.length){const e=n[0];if(EL(e))return{args:e,keys:null};if(function IL(n){return n&&"object"==typeof n&&SL(n)===ML}(e)){const t=AL(e);return{args:t.map(i=>e[i]),keys:t}}}return{args:n,keys:null}}const{isArray:TL}=Array;function Tf(n){return B(e=>function xL(n,e){return TL(e)?n(...e):n(e)}(n,e))}function Ow(n,e){return n.reduce((t,i,r)=>(t[i]=e[r],t),{})}function xf(...n){const e=Ao(n),t=eg(n),{args:i,keys:r}=Fw(n);if(0===i.length)return He([],e);const o=new be(function RL(n,e,t=ui){return i=>{Pw(e,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=He(n[l],e);let u=!1;c.subscribe(ge(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,e,r?s=>Ow(r,s):ui));return t?o.pipe(Tf(t)):o}function Pw(n,e,t){n?Hn(t,n,e):e()}function Ms(...n){return function kL(){return _r(1)}()(He(n,Ao(n)))}function Bl(n){return new be(e=>{Mt(n()).subscribe(e)})}function oo(n,e){const t=oe(n)?n:()=>n,i=r=>r.error(t());return new be(e?r=>e.schedule(i,0,r):i)}function Rf(){return Ae((n,e)=>{let t=null;n._refCount++;const i=ge(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const r=n._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});n.subscribe(i),i.closed||(t=n.connect())})}class Nw extends be{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Bm(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new et;const t=this.getSubject();e.add(this.source.subscribe(ge(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),e.closed&&(this._connection=null,e=et.EMPTY)}return e}refCount(){return Rf()(this)}}function On(n,e){return Ae((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(ge(i,l=>{r?.unsubscribe();let c=0;const u=o++;Mt(n(l,u)).subscribe(r=ge(i,d=>i.next(e?e(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Rt(n){return n<=0?()=>jn:Ae((e,t)=>{let i=0;e.subscribe(ge(t,r=>{++i<=n&&(t.next(r),n<=i&&t.complete())}))})}function Hl(...n){const e=Ao(n);return Ae((t,i)=>{(e?Ms(n,t,e):Ms(n,t)).subscribe(i)})}function Et(n,e){return Ae((t,i)=>{let r=0;t.subscribe(ge(i,o=>n.call(e,o,r++)&&i.next(o)))})}function jl(n){return Ae((e,t)=>{let i=!1;e.subscribe(ge(t,r=>{i=!0,t.next(r)},()=>{i||t.next(n),t.complete()}))})}function Lw(n=FL){return Ae((e,t)=>{let i=!1;e.subscribe(ge(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(n())))})}function FL(){return new Vl}function wi(n,e){const t=arguments.length>=2;return i=>i.pipe(n?Et((r,o)=>n(r,o,i)):ui,Rt(1),t?jl(e):Lw(()=>new Vl))}function Di(n,e){return oe(e)?Ke(n,e,1):Ke(n,1)}function Ge(n,e,t){const i=oe(n)||e||t?{next:n,error:e,complete:t}:n;return i?Ae((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ge(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):ui}function ri(n){return Ae((e,t)=>{let o,i=null,r=!1;i=e.subscribe(ge(t,void 0,void 0,s=>{o=Mt(n(s,ri(n)(e))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function OL(n,e,t,i,r){return(o,s)=>{let a=t,l=e,c=0;o.subscribe(ge(s,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function Vw(n,e){return Ae(OL(n,e,arguments.length>=2,!0))}function kf(n){return n<=0?()=>jn:Ae((e,t)=>{let i=[];e.subscribe(ge(t,r=>{i.push(r),n{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function Bw(n,e){const t=arguments.length>=2;return i=>i.pipe(n?Et((r,o)=>n(r,o,i)):ui,kf(1),t?jl(e):Lw(()=>new Vl))}function Hw(n){return B(()=>n)}function Ul(n){return Ae((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}const J="primary",As=Symbol("RouteTitle");class NL{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function so(n){return new NL(n)}function LL(n,e,t){const i=t.path.split("/");if(i.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||i.lengthi[o]===r)}return n===e}function Uw(n){return Array.prototype.concat.apply([],n)}function $w(n){return n.length>0?n[n.length-1]:null}function st(n,e){for(const t in n)n.hasOwnProperty(t)&&e(n[t],t)}function Ei(n){return fh(n)?n:os(n)?He(Promise.resolve(n)):R(n)}const HL={exact:function Gw(n,e,t){if(!nr(n.segments,e.segments)||!$l(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const i in e.children)if(!n.children[i]||!Gw(n.children[i],e.children[i],t))return!1;return!0},subset:qw},zw={exact:function jL(n,e){return Pn(n,e)},subset:function UL(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>jw(n[t],e[t]))},ignored:()=>!0};function Ww(n,e,t){return HL[t.paths](n.root,e.root,t.matrixParams)&&zw[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function qw(n,e,t){return Kw(n,e,e.segments,t)}function Kw(n,e,t,i){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!nr(r,t)||e.hasChildren()||!$l(r,t,i))}if(n.segments.length===t.length){if(!nr(n.segments,t)||!$l(n.segments,t,i))return!1;for(const r in e.children)if(!n.children[r]||!qw(n.children[r],e.children[r],i))return!1;return!0}{const r=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(nr(n.segments,r)&&$l(n.segments,r,i)&&n.children[J])&&Kw(n.children[J],e,o,i)}}function $l(n,e,t){return e.every((i,r)=>zw[t](n[r].parameters,i.parameters))}class tr{constructor(e,t,i){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=so(this.queryParams)),this._queryParamMap}toString(){return WL.serialize(this)}}class ee{constructor(e,t){this.segments=e,this.children=t,this.parent=null,st(t,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zl(this)}}class Is{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=so(this.parameters)),this._parameterMap}toString(){return Xw(this)}}function nr(n,e){return n.length===e.length&&n.every((t,i)=>t.path===e[i].path)}let Yw=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return new Of},providedIn:"root"}),n})();class Of{parse(e){const t=new eV(e);return new tr(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${Ts(e.root,!0)}`,i=function KL(n){const e=Object.keys(n).map(t=>{const i=n[t];return Array.isArray(i)?i.map(r=>`${Wl(t)}=${Wl(r)}`).join("&"):`${Wl(t)}=${Wl(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${t}${i}${"string"==typeof e.fragment?`#${function GL(n){return encodeURI(n)}(e.fragment)}`:""}`}}const WL=new Of;function zl(n){return n.segments.map(e=>Xw(e)).join("/")}function Ts(n,e){if(!n.hasChildren())return zl(n);if(e){const t=n.children[J]?Ts(n.children[J],!1):"",i=[];return st(n.children,(r,o)=>{o!==J&&i.push(`${o}:${Ts(r,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function zL(n,e){let t=[];return st(n.children,(i,r)=>{r===J&&(t=t.concat(e(i,r)))}),st(n.children,(i,r)=>{r!==J&&(t=t.concat(e(i,r)))}),t}(n,(i,r)=>r===J?[Ts(n.children[J],!1)]:[`${r}:${Ts(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[J]?`${zl(n)}/${t[0]}`:`${zl(n)}/(${t.join("//")})`}}function Zw(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wl(n){return Zw(n).replace(/%3B/gi,";")}function Pf(n){return Zw(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gl(n){return decodeURIComponent(n)}function Qw(n){return Gl(n.replace(/\+/g,"%20"))}function Xw(n){return`${Pf(n.path)}${function qL(n){return Object.keys(n).map(e=>`;${Pf(e)}=${Pf(n[e])}`).join("")}(n.parameters)}`}const YL=/^[^\/()?;=#]+/;function ql(n){const e=n.match(YL);return e?e[0]:""}const ZL=/^[^=?&#]+/,XL=/^[^&#]+/;class eV{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i[J]=new ee(e,t)),i}parseSegment(){const e=ql(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new Is(Gl(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=ql(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=ql(this.remaining);r&&(i=r,this.capture(i))}e[Gl(t)]=Gl(i)}parseQueryParam(e){const t=function QL(n){const e=n.match(ZL);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function JL(n){const e=n.match(XL);return e?e[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=Qw(t),o=Qw(i);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=ql(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new C(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=J);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[J]:new ee([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new C(4011,!1)}}function Nf(n){return n.segments.length>0?new ee([],{[J]:n}):n}function Kl(n){const e={};for(const i of Object.keys(n.children)){const o=Kl(n.children[i]);(o.segments.length>0||o.hasChildren())&&(e[i]=o)}return function tV(n){if(1===n.numberOfChildren&&n.children[J]){const e=n.children[J];return new ee(n.segments.concat(e.segments),e.children)}return n}(new ee(n.segments,e))}function ir(n){return n instanceof tr}function rV(n,e,t,i,r){if(0===t.length)return ao(e.root,e.root,e.root,i,r);const o=function tD(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new eD(!0,0,n);let e=0,t=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return st(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new eD(t,e,i)}(t);return o.toRoot()?ao(e.root,e.root,new ee([],{}),i,r):function s(l){const c=function sV(n,e,t,i){if(n.isAbsolute)return new lo(e.root,!0,0);if(-1===i)return new lo(t,t===e.root,0);return function nD(n,e,t){let i=n,r=e,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,!1);r=i.segments.length}return new lo(i,!1,r-o)}(t,i+(xs(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,e,n.snapshot?._urlSegment,l),u=c.processChildren?ks(c.segmentGroup,c.index,o.commands):Vf(c.segmentGroup,c.index,o.commands);return ao(e.root,c.segmentGroup,u,i,r)}(n.snapshot?._lastPathIndex)}function xs(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Rs(n){return"object"==typeof n&&null!=n&&n.outlets}function ao(n,e,t,i,r){let s,o={};i&&st(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===e?t:Jw(n,e,t);const a=Nf(Kl(s));return new tr(a,o,r)}function Jw(n,e,t){const i={};return st(n.children,(r,o)=>{i[o]=r===e?t:Jw(r,e,t)}),new ee(n.segments,i)}class eD{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&xs(i[0]))throw new C(4003,!1);const r=i.find(Rs);if(r&&r!==$w(i))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lo{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function Vf(n,e,t){if(n||(n=new ee([],{})),0===n.segments.length&&n.hasChildren())return ks(n,e,t);const i=function lV(n,e,t){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=n.segments[r],a=t[i];if(Rs(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!rD(l,c,s))return o;i+=2}else{if(!rD(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,e,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=Vf(n.children[s],e,o))}),st(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new ee(n.segments,r)}}function Bf(n,e,t){const i=n.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=Bf(new ee([],{}),0,t))}),e}function iD(n){const e={};return st(n,(t,i)=>e[i]=`${t}`),e}function rD(n,e,t){return n==t.path&&Pn(e,t.parameters)}class oi{constructor(e,t){this.id=e,this.url=t}}class Hf extends oi{constructor(e,t,i="imperative",r=null){super(e,t),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rr extends oi{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Yl extends oi{constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oD extends oi{constructor(e,t,i,r){super(e,t),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class uV extends oi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dV extends oi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hV extends oi{constructor(e,t,i,r,o){super(e,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class fV extends oi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pV extends oi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mV{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gV{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _V{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yV{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vV{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bV{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sD{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class aD{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=jf(e,this._root);return t?t.children.map(i=>i.value):[]}firstChild(e){const t=jf(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Uf(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Uf(e,this._root).map(t=>t.value)}}function jf(n,e){if(n===e.value)return e;for(const t of e.children){const i=jf(n,t);if(i)return i}return null}function Uf(n,e){if(n===e.value)return[e];for(const t of e.children){const i=Uf(n,t);if(i.length)return i.unshift(e),i}return[]}class si{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function co(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class lD extends aD{constructor(e,t){super(e),this.snapshot=t,$f(this,e)}toString(){return this.snapshot.toString()}}function cD(n,e){const t=function wV(n,e){const s=new Zl([],{},{},"",{},J,e,null,n.root,-1,{});return new dD("",new si(s,[]))}(n,e),i=new ot([new Is("",{})]),r=new ot({}),o=new ot({}),s=new ot({}),a=new ot(""),l=new rn(i,r,s,a,o,J,e,t.root);return l.snapshot=t.root,new lD(new si(l,[]),t)}class rn{constructor(e,t,i,r,o,s,a,l){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(B(c=>c[As]))??R(void 0),this._futureSnapshot=l}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(B(e=>so(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(e=>so(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function uD(n,e="emptyOnly"){const t=n.pathFromRoot;let i=0;if("always"!==e)for(i=t.length-1;i>=1;){const r=t[i],o=t[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function DV(n){return n.reduce((e,t)=>({params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(i))}class Zl{constructor(e,t,i,r,o,s,a,l,c,u,d,h){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[As],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}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=so(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=so(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dD extends aD{constructor(e,t){super(t),this.url=e,$f(this,t)}toString(){return hD(this._root)}}function $f(n,e){e.value._routerState=n,e.children.forEach(t=>$f(n,t))}function hD(n){const e=n.children.length>0?` { ${n.children.map(hD).join(", ")} } `:"";return`${n.value}${e}`}function zf(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Pn(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Pn(e.params,t.params)||n.params.next(t.params),function VL(n,e){if(n.length!==e.length)return!1;for(let t=0;tPn(t.parameters,e[i].parameters))}(n.url,e.url);return t&&!(!n.parent!=!e.parent)&&(!n.parent||Wf(n.parent,e.parent))}function Fs(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=e.value;const r=function SV(n,e,t){return e.children.map(i=>{for(const r of t.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Fs(n,i,r);return Fs(n,i)})}(n,e,t);return new si(i,r)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Fs(n,a)),s}}const i=function MV(n){return new rn(new ot(n.url),new ot(n.params),new ot(n.queryParams),new ot(n.fragment),new ot(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>Fs(n,o));return new si(i,r)}}const Gf="ngNavigationCancelingError";function fD(n,e){const{redirectTo:t,navigationBehaviorOptions:i}=ir(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=pD(!1,0,e);return r.url=t,r.navigationBehaviorOptions=i,r}function pD(n,e,t){const i=new Error("NavigationCancelingError: "+(n||""));return i[Gf]=!0,i.cancellationCode=e,t&&(i.url=t),i}function mD(n){return gD(n)&&ir(n.url)}function gD(n){return n&&n[Gf]}class AV{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Os,this.attachRef=null}}let Os=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new AV,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ql=!1;let or=(()=>{class n{constructor(t,i,r,o,s){this.parentContexts=t,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Me,this.deactivateEvents=new Me,this.attachEvents=new Me,this.detachEvents=new Me,this.name=r||J,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,Ql);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,Ql);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,Ql);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new C(4013,Ql);this._activatedRoute=t;const r=this.location,s=t._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new IV(t,a,r.injector);if(i&&function TV(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(t){return new(t||n)(g(Os),g(en),Ir("name"),g(ys),g(_i))},n.\u0275dir=P({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class IV{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===rn?this.route:e===Os?this.childContexts:this.parent.get(e,t)}}let qf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["ng-component"]],standalone:!0,features:[Sb],decls:1,vars:0,template:function(t,i){1&t&&gn(0,"router-outlet")},dependencies:[or],encapsulation:2}),n})();function _D(n,e){return n.providers&&!n._injector&&(n._injector=ll(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Yf(n){const e=n.children&&n.children.map(Yf),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==J&&(t.component=qf),t}function on(n){return n.outlet||J}function yD(n,e){const t=n.filter(i=>on(i)===e);return t.push(...n.filter(i=>on(i)!==e)),t}function Ps(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class OV{constructor(e,t,i,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=r}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),zf(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const r=co(t);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),st(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=co(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=co(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(e,t,i){const r=co(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new bV(o.value.snapshot))}),e.children.length&&this.forwardEvent(new yV(e.value.snapshot))}activateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(zf(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zf(a.route.value),this.activateChildRoutes(e,null,s.children)}else{const a=Ps(r.snapshot),l=a?.get(Gi)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,i)}}class vD{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Xl{constructor(e,t){this.component=e,this.route=t}}function PV(n,e,t){const i=n._root;return Ns(i,e?e._root:null,t,[i.value])}function uo(n,e){const t=Symbol(),i=e.get(n,t);return i===t?"function"!=typeof n||function DA(n){return null!==da(n)}(n)?e.get(n):n:i}function Ns(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=co(e);return n.children.forEach(s=>{(function LV(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function VV(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!nr(n.url,e.url);case"pathParamsOrQueryParamsChange":return!nr(n.url,e.url)||!Pn(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wf(n,e)||!Pn(n.queryParams,e.queryParams);default:return!Wf(n,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new vD(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Ns(n,e,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Xl(a.outlet.component,s))}else s&&Ls(e,a,r),r.canActivateChecks.push(new vD(i)),Ns(n,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),st(o,(s,a)=>Ls(s,t.getContext(a),r)),r}function Ls(n,e,t){const i=co(n),r=n.value;st(i,(o,s)=>{Ls(o,r.component?e?e.children.getContext(s):null:e,t)}),t.canDeactivateChecks.push(new Xl(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Vs(n){return"function"==typeof n}function Zf(n){return n instanceof Vl||"EmptyError"===n?.name}const Jl=Symbol("INITIAL_VALUE");function ho(){return On(n=>xf(n.map(e=>e.pipe(Rt(1),Hl(Jl)))).pipe(B(e=>{for(const t of e)if(!0!==t){if(t===Jl)return Jl;if(!1===t||t instanceof tr)return t}return!0}),Et(e=>e!==Jl),Rt(1)))}function bD(n){return function EM(...n){return Lm(n)}(Ge(e=>{if(ir(e))throw fD(0,e)}),B(e=>!0===e))}const Qf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function CD(n,e,t,i,r){const o=Xf(n,e,t);return o.matched?function tB(n,e,t,i){const r=e.canMatch;return r&&0!==r.length?R(r.map(s=>{const a=uo(s,n);return Ei(function zV(n){return n&&Vs(n.canMatch)}(a)?a.canMatch(e,t):n.runInContext(()=>a(e,t)))})).pipe(ho(),bD()):R(!0)}(i=_D(e,i),e,t).pipe(B(s=>!0===s?o:{...Qf})):R(o)}function Xf(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...Qf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||LL)(t,n,e);if(!r)return{...Qf};const o={};st(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function ec(n,e,t,i,r="corrected"){if(t.length>0&&function rB(n,e,t){return t.some(i=>tc(n,e,i)&&on(i)!==J)}(n,t,i)){const s=new ee(e,function iB(n,e,t,i){const r={};r[J]=i,i._sourceSegment=n,i._segmentIndexShift=e.length;for(const o of t)if(""===o.path&&on(o)!==J){const s=new ee([],{});s._sourceSegment=n,s._segmentIndexShift=e.length,r[on(o)]=s}return r}(n,e,i,new ee(t,n.children)));return s._sourceSegment=n,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===t.length&&function oB(n,e,t){return t.some(i=>tc(n,e,i))}(n,t,i)){const s=new ee(n.segments,function nB(n,e,t,i,r,o){const s={};for(const a of i)if(tc(n,t,a)&&!r[on(a)]){const l=new ee([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:e.length,s[on(a)]=l}return{...r,...s}}(n,e,t,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:t}}const o=new ee(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:t}}function tc(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}function wD(n,e,t,i){return!!(on(n)===i||i!==J&&tc(e,t,n))&&("**"===n.path||Xf(e,n,t).matched)}function DD(n,e,t){return 0===e.length&&!n.children[t]}const nc=!1;class ic{constructor(e){this.segmentGroup=e||null}}class ED{constructor(e){this.urlTree=e}}function Bs(n){return oo(new ic(n))}function SD(n){return oo(new ED(n))}class cB{constructor(e,t,i,r,o){this.injector=e,this.configLoader=t,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const e=ec(this.urlTree.root,[],[],this.config).segmentGroup,t=new ee(e.segments,e.children);return this.expandSegmentGroup(this.injector,this.config,t,J).pipe(B(o=>this.createUrlTree(Kl(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ri(o=>{if(o instanceof ED)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ic?this.noMatchError(o):o}))}match(e){return this.expandSegmentGroup(this.injector,this.config,e.root,J).pipe(B(r=>this.createUrlTree(Kl(r),e.queryParams,e.fragment))).pipe(ri(r=>{throw r instanceof ic?this.noMatchError(r):r}))}noMatchError(e){return new C(4002,nc)}createUrlTree(e,t,i){const r=Nf(e);return new tr(r,t,i)}expandSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(B(o=>new ee([],o))):this.expandSegment(e,i,t,i.segments,r,!0)}expandChildren(e,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return He(r).pipe(Di(o=>{const s=i.children[o],a=yD(t,o);return this.expandSegmentGroup(e,a,s,o).pipe(B(l=>({segment:l,outlet:o})))}),Vw((o,s)=>(o[s.outlet]=s.segment,o),{}),Bw())}expandSegment(e,t,i,r,o,s){return He(i).pipe(Di(a=>this.expandSegmentAgainstRoute(e,t,i,a,r,o,s).pipe(ri(c=>{if(c instanceof ic)return R(null);throw c}))),wi(a=>!!a),ri((a,l)=>{if(Zf(a))return DD(t,r,o)?R(new ee([],{})):Bs(t);throw a}))}expandSegmentAgainstRoute(e,t,i,r,o,s,a){return wD(r,t,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s):Bs(t):Bs(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?SD(o):this.lineralizeSegments(i,o).pipe(Ke(s=>{const a=new ee(s,{});return this.expandSegment(e,a,t,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Xf(t,r,o);if(!a)return Bs(t);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?SD(d):this.lineralizeSegments(r,d).pipe(Ke(h=>this.expandSegment(e,t,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(e,t,i,r,o){return"**"===i.path?(e=_D(i,e),i.loadChildren?(i._loadedRoutes?R({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(e,i)).pipe(B(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new ee(r,{})))):R(new ee(r,{}))):CD(t,i,r,e).pipe(On(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(e=i._injector??e,i,r).pipe(Ke(u=>{const d=u.injector??e,h=u.routes,{segmentGroup:f,slicedSegments:p}=ec(t,a,l,h),m=new ee(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe(B(v=>new ee(a,v)));if(0===h.length&&0===p.length)return R(new ee(a,{}));const _=on(i)===o;return this.expandSegment(d,m,h,p,_?J:o,!0).pipe(B(D=>new ee(a.concat(D.segments),D.children)))})):Bs(t)))}getChildConfig(e,t,i){return t.children?R({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?R({routes:t._loadedRoutes,injector:t._loadedInjector}):function eB(n,e,t,i){const r=e.canLoad;return void 0===r||0===r.length?R(!0):R(r.map(s=>{const a=uo(s,n);return Ei(function HV(n){return n&&Vs(n.canLoad)}(a)?a.canLoad(e,t):n.runInContext(()=>a(e,t)))})).pipe(ho(),bD())}(e,t,i).pipe(Ke(r=>r?this.configLoader.loadChildren(e,t).pipe(Ge(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function aB(n){return oo(pD(nc,3))}())):R({routes:[],injector:e})}lineralizeSegments(e,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return R(i);if(r.numberOfChildren>1||!r.children[J])return oo(new C(4e3,nc));r=r.children[J]}}applyRedirectCommands(e,t,i){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreateUrlTree(e,t,i,r){const o=this.createSegmentGroup(e,t.root,i,r);return new tr(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return st(e,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=t[a]}else i[o]=r}),i}createSegmentGroup(e,t,i,r){const o=this.createSegments(e,t.segments,i,r);let s={};return st(t.children,(a,l)=>{s[l]=this.createSegmentGroup(e,a,i,r)}),new ee(o,s)}createSegments(e,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,t,i){const r=i[t.path.substring(1)];if(!r)throw new C(4001,nc);return r}findOrReturn(e,t){let i=0;for(const r of t){if(r.path===e.path)return t.splice(i),r;i++}return e}}class dB{}class pB{constructor(e,t,i,r,o,s,a,l){this.injector=e,this.rootComponentType=t,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const e=ec(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,J).pipe(B(t=>{if(null===t)return null;const i=new Zl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},J,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new si(i,t),o=new dD(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(e){const t=e.value,i=uD(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(e,t,i):this.processSegment(e,t,i,i.segments,r)}processChildren(e,t,i){return He(Object.keys(i.children)).pipe(Di(r=>{const o=i.children[r],s=yD(t,r);return this.processSegmentGroup(e,s,o,r)}),Vw((r,o)=>r&&o?(r.push(...o),r):null),function PL(n,e=!1){return Ae((t,i)=>{let r=0;t.subscribe(ge(i,o=>{const s=n(o,r++);(s||e)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),jl(null),Bw(),B(r=>{if(null===r)return null;const o=MD(r);return function mB(n){n.sort((e,t)=>e.value.outlet===J?-1:t.value.outlet===J?1:e.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(e,t,i,r,o){return He(t).pipe(Di(s=>this.processSegmentAgainstRoute(s._injector??e,s,i,r,o)),wi(s=>!!s),ri(s=>{if(Zf(s))return DD(i,r,o)?R([]):R(null);throw s}))}processSegmentAgainstRoute(e,t,i,r,o){if(t.redirectTo||!wD(t,i,r,o))return R(null);let s;if("**"===t.path){const a=r.length>0?$w(r).parameters:{},l=ID(i)+r.length;s=R({snapshot:new Zl(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xD(t),on(t),t.component??t._loadedComponent??null,t,AD(i),l,RD(t),l),consumedSegments:[],remainingSegments:[]})}else s=CD(i,t,r,e).pipe(B(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=ID(i)+l.length;return{snapshot:new Zl(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xD(t),on(t),t.component??t._loadedComponent??null,t,AD(i),d,RD(t),d),consumedSegments:l,remainingSegments:c}}));return s.pipe(On(a=>{if(null===a)return R(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;e=t._injector??e;const d=t._loadedInjector??e,h=function gB(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:f,slicedSegments:p}=ec(i,c,u,h.filter(_=>void 0===_.redirectTo),this.relativeLinkResolution);if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe(B(_=>null===_?null:[new si(l,_)]));if(0===h.length&&0===p.length)return R([new si(l,[])]);const m=on(t)===o;return this.processSegment(d,h,f,p,m?J:o).pipe(B(_=>null===_?null:[new si(l,_)]))}))}}function _B(n){const e=n.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function MD(n){const e=[],t=new Set;for(const i of n){if(!_B(i)){e.push(i);continue}const r=e.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):e.push(i)}for(const i of t){const r=MD(i.children);e.push(new si(i.value,r))}return e.filter(i=>!t.has(i))}function AD(n){let e=n;for(;e._sourceSegment;)e=e._sourceSegment;return e}function ID(n){let e=n,t=e._segmentIndexShift??0;for(;e._sourceSegment;)e=e._sourceSegment,t+=e._segmentIndexShift??0;return t-1}function xD(n){return n.data||{}}function RD(n){return n.resolve||{}}function kD(n){return"string"==typeof n.title||null===n.title}function Jf(n){return On(e=>{const t=n(e);return t?He(t).pipe(B(()=>e)):R(e)})}let FD=(()=>{class n{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===J);return i}getResolvedTitleForRoute(t){return t.data[As]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:function(){return Se(OD)},providedIn:"root"}),n})(),OD=(()=>{class n extends FD{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(t){return new(t||n)(y(Tw))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class SB{}class AB extends class MB{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const oc=new E("",{providedIn:"root",factory:()=>({})}),ep=new E("ROUTES");let tp=(()=>{class n{constructor(t,i){this.injector=t,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return R(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=Ei(t.loadComponent()).pipe(Ge(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ul(()=>{this.componentLoaders.delete(t)})),r=new Nw(i,()=>new ae).pipe(Rf());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(B(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(t).injector,c=Uw(l.get(ep,[],F.Self|F.Optional)));return{routes:c.map(Yf),injector:l}}),Ul(()=>{this.childrenLoaders.delete(i)})),s=new Nw(o,()=>new ae).pipe(Rf());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(t){return Ei(t()).pipe(Ke(i=>i instanceof Db||Array.isArray(i)?R(i):He(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(t){return new(t||n)(y(Qe),y(Wh))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class TB{}class xB{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function RB(n){throw n}function kB(n,e,t){return e.parse("/")}const FB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},OB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function ND(){const n=Se(Yw),e=Se(Os),t=Se(bs),i=Se(Qe),r=Se(Wh),o=Se(ep,{optional:!0})??[],s=Se(oc,{optional:!0})??{},a=Se(OD),l=Se(FD,{optional:!0}),c=Se(TB,{optional:!0}),u=Se(SB,{optional:!0}),d=new Le(null,n,e,t,i,r,Uw(o));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function PB(n,e){n.errorHandler&&(e.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(e.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(e.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(e.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(e.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(e.canceledNavigationResolution=n.canceledNavigationResolution)}(s,d),d}let Le=(()=>{class n{constructor(t,i,r,o,s,a,l){this.rootComponentType=t,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ae,this.errorHandler=RB,this.malformedUriErrorHandler=kB,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>R(void 0),this.urlHandlingStrategy=new xB,this.routeReuseStrategy=new AB,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(tp),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new gV(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new mV(h)),this.ngModule=s.get(Xi),this.console=s.get(aP);const d=s.get(re);this.isNgZoneEnabled=d instanceof re&&re.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function BL(){return new tr(new ee([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=cD(this.currentUrlTree,this.rootComponentType),this.transitions=new ot({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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(t){const i=this.events;return t.pipe(Et(r=>0!==r.id),B(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),On(r=>{let o=!1,s=!1;return R(r).pipe(Ge(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),On(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return LD(a.source)&&(this.browserUrlTree=a.extractedUrl),R(a).pipe(On(d=>{const h=this.transitions.getValue();return i.next(new Hf(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?jn:Promise.resolve(d)}),function uB(n,e,t,i){return On(r=>function lB(n,e,t,i,r){return new cB(n,e,t,i,r).apply()}(n,e,t,r.extractedUrl,i).pipe(B(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ge(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function vB(n,e,t,i,r,o){return Ke(s=>function fB(n,e,t,i,r,o,s="emptyOnly",a="legacy"){return new pB(n,e,t,i,r,s,a,o).recognize().pipe(On(l=>null===l?function hB(n){return new be(e=>e.error(n))}(new dB):R(l)))}(n,e,t,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(B(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Ge(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(f,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new uV(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:f,source:p,restoredState:m,extras:_}=a,b=new Hf(h,this.serializeUrl(f),p,m);i.next(b);const D=cD(f,this.rootComponentType).snapshot;return R(r={...a,targetSnapshot:D,urlAfterRedirects:f,extras:{..._,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),jn}),Ge(a=>{const l=new dV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),B(a=>r={...a,guards:PV(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function GV(n,e){return Ke(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?R({...t,guardsResult:!0}):function qV(n,e,t,i){return He(n).pipe(Ke(r=>function JV(n,e,t,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?R(o.map(a=>{const l=Ps(e)??r,c=uo(a,l);return Ei(function $V(n){return n&&Vs(n.canDeactivate)}(c)?c.canDeactivate(n,e,t,i):l.runInContext(()=>c(n,e,t,i))).pipe(wi())})).pipe(ho()):R(!0)}(r.component,r.route,t,e,i)),wi(r=>!0!==r,!0))}(s,i,r,n).pipe(Ke(a=>a&&function BV(n){return"boolean"==typeof n}(a)?function KV(n,e,t,i){return He(e).pipe(Di(r=>Ms(function ZV(n,e){return null!==n&&e&&e(new _V(n)),R(!0)}(r.route.parent,i),function YV(n,e){return null!==n&&e&&e(new vV(n)),R(!0)}(r.route,i),function XV(n,e,t){const i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function NV(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(s)).filter(s=>null!==s).map(s=>Bl(()=>R(s.guards.map(l=>{const c=Ps(s.node)??t,u=uo(l,c);return Ei(function UV(n){return n&&Vs(n.canActivateChild)}(u)?u.canActivateChild(i,n):c.runInContext(()=>u(i,n))).pipe(wi())})).pipe(ho())));return R(o).pipe(ho())}(n,r.path,t),function QV(n,e,t){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return R(!0);const r=i.map(o=>Bl(()=>{const s=Ps(e)??t,a=uo(o,s);return Ei(function jV(n){return n&&Vs(n.canActivate)}(a)?a.canActivate(e,n):s.runInContext(()=>a(e,n))).pipe(wi())}));return R(r).pipe(ho())}(n,r.route,t))),wi(r=>!0!==r,!0))}(i,o,n,e):R(a)),B(a=>({...t,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Ge(a=>{if(r.guardsResult=a.guardsResult,ir(a.guardsResult))throw fD(0,a.guardsResult);const l=new hV(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Et(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Jf(a=>{if(a.guards.canActivateChecks.length)return R(a).pipe(Ge(l=>{const c=new fV(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),On(l=>{let c=!1;return R(l).pipe(function bB(n,e){return Ke(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return R(t);let o=0;return He(r).pipe(Di(s=>function CB(n,e,t,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!kD(r)&&(o[As]=r.title),function wB(n,e,t,i){const r=function DB(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return R({});const o={};return He(r).pipe(Ke(s=>function EB(n,e,t,i){const r=Ps(e)??i,o=uo(n,r);return Ei(o.resolve?o.resolve(e,t):r.runInContext(()=>o(e,t)))}(n[s],e,t,i).pipe(wi(),Ge(a=>{o[s]=a}))),kf(1),Hw(o),ri(s=>Zf(s)?jn:oo(s)))}(o,n,e,i).pipe(B(s=>(n._resolvedData=s,n.data=uD(n,t).resolve,r&&kD(r)&&(n.data[As]=r.title),null)))}(s.route,i,n,e)),Ge(()=>o++),kf(1),Ke(s=>o===r.length?R(t):jn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Ge({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),Ge(l=>{const c=new pV(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),Jf(a=>{const l=c=>{const u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(Ge(d=>{c.component=d}),B(()=>{})));for(const d of c.children)u.push(...l(d));return u};return xf(l(a.targetSnapshot.root)).pipe(jl(),Rt(1))}),Jf(()=>this.afterPreactivation()),B(a=>{const l=function EV(n,e,t){const i=Fs(n,e._root,t?t._root:void 0);return new lD(i,e)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),Ge(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,e,t)=>B(i=>(new OV(e,i.targetRouterState,i.currentRouterState,t).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Ge({next(){o=!0},complete(){o=!0}}),Ul(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),ri(a=>{if(s=!0,gD(a)){mD(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new Yl(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),mD(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||LD(r.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new oD(r.id,this.serializeUrl(r.extractedUrl),a,r.targetSnapshot??void 0);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return jn}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}setTransition(t){this.transitions.next({...this.transitions.value,...t})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const i="popstate"===t.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const r={replaceUrl:!0},o=t.state?.navigationId?t.state:null;if(o){const a={...o};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const s=this.parseUrl(t.url);this.scheduleNavigation(s,i,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){this.config=t.map(Yf),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(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),rV(c,this.currentUrlTree,t,d,u??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=ir(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(t,i={skipLocationChange:!1}){return function NB(n){for(let e=0;e{const o=t[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new rr(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,f)=>{a=h,l=f});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),d=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===r?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,i,r){const o=new Yl(t.id,this.serializeUrl(t.extractedUrl),i,r);this.triggerEvent(o),t.resolve(!1)}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}}return n.\u0275fac=function(t){Wa()},n.\u0275prov=S({token:n,factory:function(){return ND()},providedIn:"root"}),n})();function LD(n){return"imperative"!==n}class VD{}let BB=(()=>{class n{constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Et(t=>t instanceof rr),Di(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=ll(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return He(r).pipe(_r())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):R(null);const o=r.pipe(Ke(s=>null===s?R(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?He([o,this.loader.loadComponent(i)]).pipe(_r()):o})}}return n.\u0275fac=function(t){return new(t||n)(y(Le),y(Wh),y(_i),y(VD),y(tp))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rp=new E("");let BD=(()=>{class n{constructor(t,i,r={}){this.router=t,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.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(t=>{t instanceof Hf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof rr&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof sD&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.router.triggerEvent(new sD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(t){Wa()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function fo(n,e){return{\u0275kind:n,\u0275providers:e}}function op(n){return[{provide:ep,multi:!0,useValue:n}]}function jD(){const n=Se(Qe);return e=>{const t=n.get(ro);if(e!==t.components[0])return;const i=n.get(Le),r=n.get(UD);1===n.get(sp)&&i.initialNavigation(),n.get($D,null,F.Optional)?.setUpPreloading(),n.get(rp,null,F.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const UD=new E("",{factory:()=>new ae}),sp=new E("",{providedIn:"root",factory:()=>1});const $D=new E("");function $B(n){return fo(0,[{provide:$D,useExisting:BB},{provide:VD,useExisting:n}])}const zD=new E("ROUTER_FORROOT_GUARD"),zB=[bs,{provide:Yw,useClass:Of},{provide:Le,useFactory:ND},Os,{provide:rn,useFactory:function HD(n){return n.routerState.root},deps:[Le]},tp];function WB(){return new yC("Router",Le)}let WD=(()=>{class n{constructor(t){}static forRoot(t,i){return{ngModule:n,providers:[zB,[],op(t),{provide:zD,useFactory:YB,deps:[[Le,new gi,new Pr]]},{provide:oc,useValue:i||{}},i?.useHash?{provide:er,useClass:YP}:{provide:er,useClass:$C},{provide:rp,useFactory:()=>{const n=Se(Le),e=Se(_1),t=Se(oc);return t.scrollOffset&&e.setOffset(t.scrollOffset),new BD(n,e,t)}},i?.preloadingStrategy?$B(i.preloadingStrategy).\u0275providers:[],{provide:yC,multi:!0,useFactory:WB},i?.initialNavigation?ZB(i):[],[{provide:GD,useFactory:jD},{provide:dC,multi:!0,useExisting:GD}]]}}static forChild(t){return{ngModule:n,providers:[op(t)]}}}return n.\u0275fac=function(t){return new(t||n)(y(zD,8))},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[qf]}),n})();function YB(n){return"guarded"}function ZB(n){return["disabled"===n.initialNavigation?fo(3,[{provide:hl,multi:!0,useFactory:()=>{const e=Se(Le);return()=>{e.setUpLocationChangeListener()}}},{provide:sp,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?fo(2,[{provide:sp,useValue:0},{provide:hl,multi:!0,deps:[Qe],useFactory:e=>{const t=e.get(qP,Promise.resolve());let i=!1;return()=>t.then(()=>new Promise(o=>{const s=e.get(Le),a=e.get(UD);(function r(o){e.get(Le).events.pipe(Et(a=>a instanceof rr||a instanceof Yl||a instanceof oD),B(a=>a instanceof rr||a instanceof Yl&&(0===a.code||1===a.code)&&null),Et(a=>null!==a),Rt(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?R(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const GD=new E("");let cc=(()=>{class n{constructor(t,i){this.route=t,this.router=i,this.navs=[]}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){throw new Error("need impl")}isActiveHeader(t){const i=this.route.firstChild?.component?.name==t.component;return i&&(this.currentNav=t),i}selectHeader(t,i=[]){i.push(...t.path.split("/")),this.router.navigate(i)}choiceHeader(t){if(null!=this.currentNav){const i=this.navs.indexOf(this.currentNav);switch(t){case"KeyQ":this.selectHeader(i-1<0?this.navs[this.navs.length-1]:this.navs[i-1]);break;case"KeyE":this.selectHeader(i+1>=this.navs.length?this.navs[0]:this.navs[i+1])}}}}return n.\u0275fac=function(t){return new(t||n)(g(rn),g(Le))},n.\u0275cmp=me({type:n,selectors:[["abs-navs-header"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),qD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["app-status-lower-header"]],decls:2,vars:0,template:function(t,i){1&t&&($(0,"p"),he(1,"status"),H())},encapsulation:2}),n})(),po=(()=>{class n{}return n.UNKNOWN=0,n.RESERVED=1,n.SYSSTATS=2,n.SPACESTATS=3,n.WIFI=4,n})(),ap=(()=>{class n{}return n.UNKNOWN=0,n.SELF=1,n.EXTERNAL=2,n})();class uc{static getRandom(e,t){return Math.random()*(t-e)+e}static getRandomRound(e,t){return Math.round(this.getRandom(e,t))}}let KD=(()=>{class n{constructor(){this.events=new ot("{}"),console.log("random data to ws create"),setInterval(()=>{this.events.next(JSON.stringify({event:po.SYSSTATS,device:ap.SELF,data:{cpu:uc.getRandom(0,99.9),mem:uc.getRandom(0,400)}})),this.events.next(JSON.stringify({event:po.SPACESTATS,device:ap.SELF,data:{free:uc.getRandom(0,40),total:50,format:"GB"}})),this.events.next(JSON.stringify({event:po.WIFI,device:ap.SELF,data:1==uc.getRandomRound(1,2)?{state:"Connected",ap:"nyk",ip:"192.168.1.2"}:{state:"Disconnected",ap:"",ip:""}}))},1e3)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function XB(n,e){if(1&n){const t=rs();$(0,"p",6),nt("click",function(){const o=Fo(t).$implicit;return Oo(rt().selectHeader(o))}),he(1),H()}if(2&n){const t=e.$implicit;Ct("inactiveHeader",!rt().isActiveHeader(t)),X(1),Pe(t.name)}}let lp,YD=(()=>{class n extends cc{constructor(t,i,r){super(t,i),this.ws=r,this.cpu=0,this.mem=0,this.wifi="",super.navs=[{name:"status",path:"status",action:()=>{},component:qD.name},{name:"2",path:"2",action:()=>{},component:""},{name:"3",path:"3",action:()=>{},component:""}]}ngOnInit(){this.ws.events.pipe(B(t=>JSON.parse(t))).subscribe(t=>{t.event==po.SYSSTATS&&(this.cpu=Math.round(t.data.cpu),this.mem=Math.round(t.data.mem)),t.event==po.WIFI&&(this.wifi=t.data.ip?`${t.data.state} to ${t.data.ap} (${t.data.ip})`:t.data.state)})}}return n.\u0275fac=function(t){return new(t||n)(g(rn),g(Le),g(KD))},n.\u0275cmp=me({type:n,selectors:[["app-stats-header"]],features:[U],decls:14,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(t,i){1&t&&($(0,"div",0),vt(1,XB,2,3,"p",1),H(),gn(2,"router-outlet"),$(3,"div",2)(4,"div",3)(5,"div",4)(6,"span"),he(7),H()(),$(8,"div",5)(9,"span"),he(10),H()(),$(11,"div",4)(12,"span"),he(13),H()()()()),2&t&&(X(1),bt("ngForOf",i.navs),X(6),Zi("CPU ",i.cpu,"%"),X(3),Pe(i.wifi),X(3),Zi("MEM ",i.mem,"MB"))},dependencies:[ii,or],encapsulation:2}),n})();try{lp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lp=!1}let Hs,sr,cp,Nn=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function g1(n){return n===aw}(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&&!lp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(y(zh))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function dc(n){return function JB(){if(null==Hs&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Hs=!0}))}finally{Hs=Hs||!1}return Hs}()?n:!!n.capture}function eH(){if(null==sr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return sr=!1,sr;if("scrollBehavior"in document.documentElement.style)sr=!0;else{const n=Element.prototype.scrollTo;sr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return sr}function up(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function ar(n){return n.composedPath?n.composedPath()[0]:n.target}function dp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function XD(n,...e){return e.length?e.some(t=>n[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function JD(n){return Et((e,t)=>n<=t)}function cH(n,e){return n===e}function hp(n){return Ae((e,t)=>{Mt(n).subscribe(ge(t,()=>t.complete(),oa)),!t.closed&&e.subscribe(t)})}function fc(n){return Array.isArray(n)?n:[n]}function qe(n){return null==n?"":"string"==typeof n?n:`${n}px`}function pc(n){return n instanceof $e?n.nativeElement:n}let hH=(()=>{class n{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:[hH]}),n})();class fH extends et{constructor(e,t){super()}schedule(e,t=0){return this}}const mc={setInterval(n,e,...t){const{delegate:i}=mc;return i?.setInterval?i.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=mc;return(e?.clearInterval||clearInterval)(n)},delegate:void 0};class fp extends fH{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,i=0){return mc.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&mc.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,gr(i,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}const pp={now:()=>(pp.delegate||Date).now(),delegate:void 0};class js{constructor(e,t=js.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,i){return new this.schedulerActionCtor(this,e).schedule(i,t)}}js.now=pp.now;class mp extends js{constructor(e,t=js.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let i;this._active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const gc=new mp(fp),pH=gc,tE=new Set;let go,gH=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yH}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function _H(n){if(!tE.has(n))try{go||(go=document.createElement("style"),go.setAttribute("type","text/css"),document.head.appendChild(go)),go.sheet&&(go.sheet.insertRule(`@media ${n} {body{ }}`,0),tE.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(y(Nn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yH(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let vH=(()=>{class n{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new ae}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return nE(fc(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=xf(nE(fc(t)).map(s=>this._registerQuery(s).observable));return o=Ms(o.pipe(Rt(1)),o.pipe(JD(1),function mH(n,e=gc){return Ae((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,u=e.now();if(u{o=c,s=e.now(),r||(r=e.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(B(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new be(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Hl(i),B(({matches:s})=>({query:t,matches:s})),hp(this._destroySubject)),mql:i};return this._queries.set(t,o),o}}return n.\u0275fac=function(t){return new(t||n)(y(gH),y(re))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function nE(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}let _c=(()=>{class n{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function DH(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const i=function wH(n){try{return n.frameElement}catch{return null}}(function RH(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(t));if(i&&(-1===sE(i)||!this.isVisible(i)))return!1;let r=t.nodeName.toLowerCase(),o=sE(t);return t.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function TH(n){let e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(t))&&("audio"===r?!!t.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,i){return function xH(n){return!function SH(n){return function AH(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function EH(n){let e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function MH(n){return function IH(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||oE(n))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}}return n.\u0275fac=function(t){return new(t||n)(y(Nn))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function oE(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let e=n.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function sE(n){if(!oE(n))return null;const e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class kH{constructor(e,t,i,r,o=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.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(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(e),!!i}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){const t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let i=0;i=0;i--){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Rt(1)).subscribe(e)}}let gp=(()=>{class n{constructor(t,i,r){this._checker=t,this._ngZone=i,this._document=r}create(t,i=!1){return new kH(t,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(t){return new(t||n)(y(_c),y(re),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const PH=new E("cdk-input-modality-detector-options"),NH={ignoreKeys:[18,17,224,91,16]},_o=dc({passive:!0,capture:!0});let LH=(()=>{class n{constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new ot(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ar(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function FH(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(s)?"keyboard":"mouse"),this._mostRecentTarget=ar(s))},this._onTouchstart=s=>{!function OH(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}(s)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ar(s)):this._modality.next("keyboard")},this._options={...NH,...o},this.modalityDetected=this._modality.pipe(JD(1)),this.modalityChanged=this.modalityDetected.pipe(function lH(n,e=ui){return n=n??cH,Ae((t,i)=>{let r,o=!0;t.subscribe(ge(i,s=>{const a=e(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,_o),r.addEventListener("mousedown",this._onMousedown,_o),r.addEventListener("touchstart",this._onTouchstart,_o)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_o),document.removeEventListener("mousedown",this._onMousedown,_o),document.removeEventListener("touchstart",this._onTouchstart,_o))}}return n.\u0275fac=function(t){return new(t||n)(y(Nn),y(re),y(Q),y(PH,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const BH=new E("cdk-focus-monitor-default-options"),yc=dc({passive:!0,capture:!0});let _p=(()=>{class n{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,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=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ae,this._rootNodeFocusAndBlurListener=a=>{for(let c=ar(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(t,i=!1){const r=pc(t);if(!this._platform.isBrowser||1!==r.nodeType)return R(null);const o=function nH(n){if(function tH(){if(null==cp){const n=typeof document<"u"?document.head:null;cp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return cp}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ae,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=pc(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=pc(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=ar(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,yc),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,yc)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(hp(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,yc),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,yc),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class n{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=Se(vH).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(yp,lE,cE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?t.add(yp,lE):2===i&&t.add(yp,cE)}}}return n.\u0275fac=function(t){return new(t||n)(y(Nn),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),HH=(()=>{class n{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(t){return new(t||n)(y(uE))},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[eE]}),n})();const jH=["addListener","removeListener"],UH=["addEventListener","removeEventListener"],$H=["on","off"];function vp(n,e,t,i){if(oe(t)&&(i=t,t=void 0),i)return vp(n,e,t).pipe(Tf(i));const[r,o]=function GH(n){return oe(n.addEventListener)&&oe(n.removeEventListener)}(n)?UH.map(s=>a=>n[s](e,a,t)):function zH(n){return oe(n.addListener)&&oe(n.removeListener)}(n)?jH.map(dE(n,e)):function WH(n){return oe(n.on)&&oe(n.off)}(n)?$H.map(dE(n,e)):[];if(!r&&fu(n))return Ke(s=>vp(s,e,t))(Mt(n));if(!r)throw new TypeError("Invalid event target");return new be(s=>{const a=(...l)=>s.next(1o(a)})}function dE(n,e){return t=>i=>n[t](e,i)}const Us={schedule(n){let e=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Us;i&&(e=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=e(o=>{t=void 0,n(o)});return new et(()=>t?.(r))},requestAnimationFrame(...n){const{delegate:e}=Us;return(e?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:e}=Us;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class KH extends mp{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class qH extends fp{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=Us.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Us.cancelAnimationFrame(t),e._scheduled=void 0)}});let bp,ZH=1;const vc={};function hE(n){return n in vc&&(delete vc[n],!0)}const QH={setImmediate(n){const e=ZH++;return vc[e]=!0,bp||(bp=Promise.resolve()),bp.then(()=>hE(e)&&n()),e},clearImmediate(n){hE(n)}},{setImmediate:XH,clearImmediate:JH}=QH,bc={setImmediate(...n){const{delegate:e}=bc;return(e?.setImmediate||XH)(...n)},clearImmediate(n){const{delegate:e}=bc;return(e?.clearImmediate||JH)(n)},delegate:void 0};new class t2 extends mp{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class e2 extends fp{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=bc.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(bc.clearImmediate(t),e._scheduled=void 0)}});function fE(n=0,e,t=pH){let i=-1;return null!=e&&(Jm(e)?t=e:i=e),new be(r=>{let o=function o2(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function pE(n,e=gc){return function r2(n){return Ae((e,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};e.subscribe(ge(t,c=>{i=!0,r=c,o||Mt(n(c)).subscribe(o=ge(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>fE(n,e))}const s2=new E("cdk-dir-doc",{providedIn:"root",factory:function a2(){return Se(Q)}}),l2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Cp=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new Me,t){const r=t.documentElement?t.documentElement.dir:null;this.value=function c2(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?l2.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(y(s2,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$s=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})(),d2=(()=>{class n{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new ae,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new be(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(pE(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):R()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(Et(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=pc(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>vp(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(y(re),y(Nn),y(Q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mE=(()=>{class n{constructor(t,i,r){this._platform=t,this._change=new ae,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(pE(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(y(Nn),y(re),y(Q,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})(),_E=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[$s,gE,$s,gE]}),n})();class wp{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class Dp extends wp{constructor(e,t,i,r){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r}}class yE extends wp{constructor(e,t,i,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class f2 extends wp{constructor(e){super(),this.element=e instanceof $e?e.nativeElement:e}}class Ep{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof Dp?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof yE?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof f2?(this._attachedPortal=e,this.attachDomPortal(e)):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(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class p2 extends Ep{constructor(e,t,i,r,o){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){const i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(e.injector||this._defaultInjector||Qe.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let Sp=(()=>{class n extends Ep{constructor(t,i,r){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Me,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const i=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=i.createComponent(o,i.length,t.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return n.\u0275fac=function(t){return new(t||n)(g(Gi),g(en),g(Q))},n.\u0275dir=P({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[U]}),n})(),Cc=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})();const vE=eH();class m2{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=qe(-this._previousScrollPosition.left),e.style.top=qe(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,i=e.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),vE&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),vE&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class g2{constructor(e,t,i,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class bE{enable(){}disable(){}attach(){}}function Mp(n,e){return e.some(t=>n.bottomt.bottom||n.rightt.right)}function CE(n,e){return e.some(t=>n.topt.bottom||n.leftt.right)}class _2{constructor(e,t,i,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Mp(t,[{width:i,height:r,bottom:r,right:i,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 y2=(()=>{class n{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new bE,this.close=s=>new g2(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new m2(this._viewportRuler,this._document),this.reposition=s=>new _2(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(t){return new(t||n)(y(d2),y(mE),y(re),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class wE{constructor(e){if(this.scrollStrategy=new bE,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class v2{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let DE=(()=>{class n{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(t){return new(t||n)(y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),b2=(()=>{class n extends DE{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(t){return new(t||n)(y(Q),y(re,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),C2=(()=>{class n extends DE{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=ar(o)},this._clickListener=o=>{const s=ar(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(t){return new(t||n)(y(Q),y(Nn),y(re,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wc=(()=>{class n{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||dp()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ae,this._outsidePointerEvents=new ae,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Rt(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),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config={...this._config,...e},this._updateElementSize()}setDirection(e){this._config={...this._config,direction:e},this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=qe(this._config.width),e.height=qe(this._config.height),e.minWidth=qe(this._config.minWidth),e.minHeight=qe(this._config.minHeight),e.maxWidth=qe(this._config.maxWidth),e.maxHeight=qe(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){const r=fc(t||[]).filter(o=>!!o);r.length&&(i?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(hp(mu(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()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const EE="cdk-overlay-connected-position-bounding-box",w2=/([A-Za-z%]+)$/;class D2{constructor(e,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,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 ae,this._resizeSubscription=et.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(EE),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&lr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(EE),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let r,o;if("center"==i.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?e.top+e.height/2:"top"==i.originY?e.top:e.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(e,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,t,i,r){const o=ME(t);let{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=SE(this._overlayRef.getConfig().minHeight),a=SE(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportHorizontally||null!=a&&a<=o;return(e.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=ME(t),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-i.top-e.y,0),c=Math.max(o.left-i.left-e.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-e.x+this._viewportMargin,u=e.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)d=e.x,u=i.right-e.x;else{const f=Math.min(i.right-e.x+i.left,e.x),p=this._lastBoundingBoxSize.width;u=2*f,d=e.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:o}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=qe(i.height),r.top=qe(i.top),r.bottom=qe(i.bottom),r.width=qe(i.width),r.left=qe(i.left),r.right=qe(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=qe(o)),s&&(r.maxWidth=qe(s))}this._lastBoundingBoxSize=i,lr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){lr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){lr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();lr(i,this._getExactOverlayY(t,e,u)),lr(i,this._getExactOverlayX(t,e,u))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=qe(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=qe(s.maxWidth):o&&(i.maxWidth="")),lr(this._pane.style,i)}_getExactOverlayY(e,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=qe(o.y),r}_getExactOverlayX(e,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=qe(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CE(e,i),isOriginOutsideView:Mp(e,i),isOverlayClipped:CE(t,i),isOverlayOutsideView:Mp(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,r)=>i-Math.max(r,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?e.offsetX??this._offsetX:e.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&fc(e).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof $e)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function lr(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function SE(n){if("number"!=typeof n&&null!=n){const[e,t]=n.split(w2);return t&&"px"!==t?null:parseFloat(e)}return n||null}function ME(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const AE="cdk-global-overlay-wrapper";class E2{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(AE),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===u?(m="center",h?p=d:f=d):h?"left"===u||"end"===u?(m="flex-end",f=d):("right"===u||"start"===u)&&(m="flex-start",p=d):"left"===u||"start"===u?(m="flex-start",f=d):("right"===u||"end"===u)&&(m="flex-end",p=d),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(AE),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let S2=(()=>{class n{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new E2}flexibleConnectedTo(t){return new D2(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(t){return new(t||n)(y(mE),y(Q),y(Nn),y(wc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),M2=0,yo=(()=>{class n{constructor(t,i,r,o,s,a,l,c,u,d,h,f){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new wE(t);return s.direction=s.direction||this._directionality.value,new zs(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+M2++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(ro)),new p2(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(t){return new(t||n)(y(y2),y(wc),y(Gi),y(S2),y(b2),y(Qe),y(re),y(Q),y(Cp),y(bs),y(C2),y(pl,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const T2={provide:new E("cdk-connected-overlay-scroll-strategy"),deps:[yo],useFactory:function I2(n){return()=>n.scrollStrategies.reposition()}};let IE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:[yo,T2],imports:[$s,Cc,_E,_E]}),n})();function x2(n,e){}class Dc{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let TE=(()=>{class n extends Ep{constructor(t,i,r,o,s,a,l,c){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();const d=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),d},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{t.removeEventListener("blur",r),t.removeEventListener("mousedown",r),t.removeAttribute("tabindex")};t.addEventListener("blur",r),t.addEventListener("mousedown",r)})),t.focus(i)}_focusByCssSelector(t,i){let r=this._elementRef.nativeElement.querySelector(t);r&&this._forceFocus(r,i)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||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 t=this._config.restoreFocus;let i=null;if("string"==typeof t?i=this._document.querySelector(t):"boolean"==typeof t?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=up(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=up();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=up())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(t){return new(t||n)(g($e),g(gp),g(Q,8),g(Dc),g(_c),g(re),g(zs),g(_p))},n.\u0275cmp=me({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(1&t&&Lh(Sp,7),2&t){let r;ps(r=ms())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){2&t&&Ut("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[U],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&vt(0,x2,0,0,"ng-template",0)},dependencies:[Sp],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class Ap{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new ae,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!XD(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(e,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this.overlayRef.dispose(),i.next(e),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}}const xE=new E("DialogScrollStrategy"),R2=new E("DialogData"),k2=new E("DefaultDialogConfig"),O2={provide:xE,deps:[yo],useFactory:function F2(n){return()=>n.scrollStrategies.block()}};let P2=0,RE=(()=>{class n{constructor(t,i,r,o,s,a){this._overlay=t,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae,this._afterOpenedAtThisLevel=new ae,this._ariaHiddenElements=new Map,this.afterAllClosed=Bl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hl(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(t,i){(i={...this._defaultOptions||new Dc,...i}).id=i.id||"cdk-dialog-"+P2++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Ap(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(t,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Ip(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Ip(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),Ip(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const i=new wE({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,r){const o=r.injector||r.viewContainerRef?.injector,s=[{provide:Dc,useValue:r},{provide:Ap,useValue:i},{provide:zs,useValue:t}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=TE;const l=new Dp(a,r.viewContainerRef,Qe.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return t.attach(l).instance}_attachDialogContent(t,i,r,o){if(t instanceof Rn){const s=this._createInjector(o,i,r,void 0);let a={$implicit:o.data,dialogRef:i};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new yE(t,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Dp(t,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(t,i,r,o){const s=t.injector||t.viewContainerRef?.injector,a=[{provide:R2,useValue:t.data},{provide:Ap,useValue:i}];return t.providers&&("function"==typeof t.providers?a.push(...t.providers(i,t,r)):a.push(...t.providers)),t.direction&&(!s||!s.get(Cp,null,F.Optional))&&a.push({provide:Cp,useValue:{value:t.direction,change:R()}}),Qe.create({parent:s||o,providers:a})}_removeOpenDialog(t,i){const r=this.openDialogs.indexOf(t);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==t&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(t){return new(t||n)(y(yo),y(Qe),y(k2,8),y(n,12),y(wc),y(xE))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();function Ip(n,e){let t=n.length;for(;t--;)e(n[t])}let N2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:[RE,O2],imports:[IE,Cc,HH,Cc]}),n})();const V2=new E("mat-sanity-checks",{providedIn:"root",factory:function L2(){return!0}});let wn=(()=>{class n{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!dp()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(y(uE),y(V2,8),y(Q))},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[$s,$s]}),n})();function B2(n,e){return class extends n{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}let j2=(()=>{class n{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),W2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[wn,wn]}),n})();class LE{}const ai="*";function VE(n,e){return{type:7,name:n,definitions:e,options:{}}}function xp(n,e=null){return{type:4,styles:e,timings:n}}function BE(n,e=null){return{type:3,steps:n,options:e}}function HE(n,e=null){return{type:2,steps:n,options:e}}function Si(n){return{type:6,styles:n,offset:null}}function Rp(n,e,t){return{type:0,name:n,styles:e,options:t}}function kp(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function jE(n=null){return{type:9,options:n}}function UE(n,e,t=null){return{type:11,selector:n,animation:e,options:t}}function $E(n){Promise.resolve().then(n)}class Gs{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){$E(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class zE{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,r=0;const o=this.players.length;0==o?$E(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function q2(n,e){}const vo={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},K2={dialogContainer:VE("dialogContainer",[Rp("void, exit",Si({opacity:0,transform:"scale(0.7)"})),Rp("enter",Si({transform:"none"})),kp("* => enter",BE([xp("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Si({transform:"none",opacity:1})),UE("@*",jE(),{optional:!0})]),vo),kp("* => void, * => exit",BE([xp("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Si({opacity:0})),UE("@*",jE(),{optional:!0})]),vo)])};class Ec{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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=vo.params.enterAnimationDuration,this.exitAnimationDuration=vo.params.exitAnimationDuration}}let Y2=(()=>{class n extends TE{constructor(t,i,r,o,s,a,l,c){super(t,i,r,o,s,a,l,c),this._animationStateChanged=new Me}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}}return n.\u0275fac=function(t){return new(t||n)(g($e),g(gp),g(Q,8),g(Ec),g(_c),g(re),g(zs),g(_p))},n.\u0275cmp=me({type:n,selectors:[["ng-component"]],features:[U],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),Z2=(()=>{class n extends Y2{constructor(t,i,r,o,s,a,l,c,u){super(t,i,r,o,s,a,l,u),this._changeDetectorRef=c,this._state="enter"}_onAnimationDone({toState:t,totalTime:i}){"enter"===t?this._openAnimationDone(i):"exit"===t&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:t,totalTime:i}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||vo.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||vo.params.exitAnimationDuration}}}}return n.\u0275fac=function(t){return new(t||n)(g($e),g(gp),g(Q,8),g(Ec),g(_c),g(re),g(zs),g(ys),g(_p))},n.\u0275cmp=me({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(t,i){1&t&&ph("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&t&&(vh("id",i._config.id),Ut("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),bh("@dialogContainer",i._getAnimationState()))},features:[U],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&vt(0,q2,0,0,"ng-template",0)},dependencies:[Sp],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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[K2.dialogContainer]}}),n})();class WE{constructor(e,t,i){this._ref=e,this._containerInstance=i,this._afterOpened=new ae,this._beforeClosed=new ae,this._state=0,this.disableClose=t.disableClose,this.id=e.id,i._animationStateChanged.pipe(Et(r=>"opened"===r.state),Rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Et(r=>"closed"===r.state),Rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),mu(this.backdropClick(),this.keydownEvents().pipe(Et(r=>27===r.keyCode&&!this.disableClose&&!XD(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function Q2(n,e,t){n._closeInteractionType=e,n.close(t)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Et(t=>"closing"===t.state),Rt(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const GE=new E("MatDialogData"),X2=new E("mat-dialog-default-options"),qE=new E("mat-dialog-scroll-strategy"),ej={provide:qE,deps:[yo],useFactory:function J2(n){return()=>n.scrollStrategies.block()}};let tj=0,nj=(()=>{class n{constructor(t,i,r,o,s,a,l,c,u,d){this._overlay=t,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae,this._afterOpenedAtThisLevel=new ae,this._idPrefix="mat-dialog-",this.afterAllClosed=Bl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Hl(void 0))),this._scrollStrategy=a,this._dialog=i.get(RE)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,i){let r;(i={...this._defaultOptions||new Ec,...i}).id=i.id||`${this._idPrefix}${tj++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(t,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Ec,useValue:i},{provide:Dc,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}}return n.\u0275fac=function(t){Wa()},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Sc=(()=>{class n extends nj{constructor(t,i,r,o,s,a,l,c){super(t,i,o,a,l,s,WE,Z2,GE,c)}}return n.\u0275fac=function(t){return new(t||n)(y(yo),y(Qe),y(bs,8),y(X2,8),y(qE),y(n,12),y(wc),y(pl,8))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),Op=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=P({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),ij=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:[Sc,ej],imports:[N2,IE,Cc,wn,wn]}),n})(),Mi=(()=>{class n{constructor(){this.keys=new ot("")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Pp=(()=>{class n{constructor(t,i,r,o){this.data=t,this.ref=i,this.sanitazer=r,this.io=o}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{"Enter"==t&&this.ref.close()})}}return n.\u0275fac=function(t){return new(t||n)(g(GE),g(WE),g(Ll),g(Mi))},n.\u0275cmp=me({type:n,selectors:[["app-abs-app"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),rj=(()=>{class n extends Pp{constructor(){super(...arguments),this.clockTxt="",this.inverval=null}ngOnInit(){super.ngOnInit(),this.genClock(),null==this.inverval&&(this.inverval=setInterval(()=>{this.genClock()},1e3))}genClock(){this.clockTxt=(new Date).toLocaleTimeString()}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ue(n)))(i||n)}}(),n.\u0275cmp=me({type:n,selectors:[["app-clock-app"]],features:[U],decls:4,vars:1,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center"],[2,"font-family","TechMono, sans-serif","font-size","60px"]],template:function(t,i){1&t&&($(0,"div",0)(1,"div",1)(2,"p",2),he(3),H()()()),2&t&&(X(3),Pe(i.clockTxt))},dependencies:[Op],encapsulation:2}),n})(),oj=(()=>{class n extends Pp{constructor(){super(...arguments),this.content={}}ngOnInit(){super.ngOnInit(),this.content.url=this.sanitazer.bypassSecurityTrustResourceUrl(this.data.url)}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ue(n)))(i||n)}}(),n.\u0275cmp=me({type:n,selectors:[["iframe-opener"]],features:[U],decls:2,vars:1,consts:[["mat-dialog-content",""],["width","100%","height","100%",3,"src"]],template:function(t,i){1&t&&($(0,"div",0),gn(1,"iframe",1),H()),2&t&&(X(1),bt("src",i.content.url,Sd))},dependencies:[Op]}),n})();const sj=["menuItem"];let Mc=(()=>{class n{constructor(){this.elements=[],this.elementsRight=[],this.currentSide="LEFT"}isSelected(t){const i=t==this.selected;if(i&&this.menuItems){const r=this.menuItems.toArray(),o=this.elements.indexOf(this.selected);-1!==o&&r[o]&&r[o].nativeElement.scrollIntoView({behavior:"smooth",block:"center"})}return i}choiceItem(t){switch(this.currentSide){case"LEFT":return this.choiceLeft(t);case"RIGHT":return this.choiceRight(t)}}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}choiceLeft(t){if("LEFT"!=this.currentSide)return;let i=this.elements.indexOf(this.selected);switch(t){case"KeyS":i+1>=this.elements.length&&(i=-1),this.selected=this.elements[i+1];break;case"KeyW":i-1<0&&(i=this.elements.length),this.selected=this.elements[i-1];break;case"Enter":this.selected.action()}}choiceRight(t){if("RIGHT"!=this.currentSide)return;let i=this.elementsRight.indexOf(this.selectedRight);switch(t){case"KeyS":i+1>=this.elementsRight.length&&(i=-1),this.selectedRight=this.elementsRight[i+1];break;case"KeyW":i-1<0&&(i=this.elementsRight.length),this.selectedRight=this.elementsRight[i-1];break;case"Enter":this.selectedRight.action()}}ngOnInit(){throw new Error("need impl")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["ng-component"]],viewQuery:function(t,i){if(1&t&&Lh(sj,5),2&t){let r;ps(r=ms())&&(i.menuItems=r)}},decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function aj(n,e){if(1&n&&($(0,"p",5),he(1),H()),2&n){const t=e.$implicit,i=e.index,r=rt().index,o=rt();gh("text-transform",o.caps?"uppercase":""),Ct("keyboard_current",o.isCurrentKey(r,i)),X(1),Pe(t)}}function lj(n,e){if(1&n&&($(0,"div",3),vt(1,aj,2,5,"p",4),H()),2&n){const t=e.$implicit;X(1),bt("ngForOf",t)}}let KE=(()=>{class n extends Pp{constructor(){super(...arguments),this.keyboard=[],this.keyboards={ru:["\u0439\u0446\u0443\u043a\u0435\u043d\u0433\u0448\u0449\u0437\u0445\u044a".split(""),"\u0444\u044b\u0432\u0430\u043f\u0440\u043e\u043b\u0434\u0436\u044d".split(""),"\u044f\u0447\u0441\u043c\u0438\u0442\u044c\u0431\u044e.,".split("")],en:["qwertyuiop[]".split(""),"asdfghjkl;'\"".split(""),"zxcvbnm,./".split("")]},this.current="ru",this.text="",this.caps=!1,this.x=0,this.y=0}isCurrentKey(t,i){return t==this.x&&i==this.y}createKeyboard(){this.x=0,this.y=0,this.keyboard=[],this.keyboard.push("1234567890-=".split("").concat(["<--"])),this.keyboards[this.current].forEach(t=>{this.keyboard.push(t)}),this.keyboard.push(["change","caps","space","wipe","exit","save"])}closeKeyboard(t=!1){this.ref.close(t?this.text:null)}ngOnInit(){this.createKeyboard(),this.sub=this.io.keys.subscribe(t=>{switch(t){case"KeyW":return this.x<=0&&(this.x=this.keyboard.length),this.x--,void(this.keyboard[this.x].length=this.keyboard.length-1&&(this.x=-1),this.x++,this.keyboard[this.x].length=this.keyboard[this.x].length-1&&(this.y=-1),this.y++;break;case"Enter":{const i=this.keyboard[this.x][this.y];switch(i){case"change":switch(this.current){case"en":this.current="ru";break;case"ru":this.current="en"}this.createKeyboard();break;case"caps":this.caps=!this.caps;break;case"wipe":this.text="";break;case"space":this.text+=" ";break;case"exit":this.closeKeyboard();break;case"save":this.closeKeyboard(!0);break;case"<--":this.text=this.text.slice(0,-1);break;default:this.text+=this.caps?i.toUpperCase():i}break}}})}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ue(n)))(i||n)}}(),n.\u0275cmp=me({type:n,selectors:[["app-keyboard"]],features:[U],decls:7,vars:2,consts:[["mat-dialog-content",""],[2,"display","flex","justify-content","center","height","150px","word-break","break-all","align-items","center","border","1px solid rgb(0 242 0 / 30%)"],["style","display: flex; flex-direction: row; justify-content: space-between",4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","row","justify-content","space-between"],["class","keyboard_key",3,"keyboard_current","text-transform",4,"ngFor","ngForOf"],[1,"keyboard_key"]],template:function(t,i){1&t&&($(0,"div",0)(1,"div")(2,"div",1)(3,"p"),he(4),H()(),$(5,"div"),vt(6,lj,2,1,"div",2),H()()()),2&t&&(X(4),Pe(i.text),X(2),bt("ngForOf",i.keyboard))},dependencies:[ii,Op],encapsulation:2}),n})(),Np=(()=>{class n{constructor(t){this.dialog=t,this.inApp=!1}openApp(t,i={}){return this.inApp=!0,this.dialog.open(t,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed()}openKeyboard(){return this.openApp(KE)}}return n.\u0275fac=function(t){return new(t||n)(y(Sc))},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class cj{}class Ai{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Ai?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Ai;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ai?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=e.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class uj{encodeKey(e){return ZE(e)}encodeValue(e){return ZE(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const hj=/%(\d[a-f0-9])/gi,fj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ZE(n){return encodeURIComponent(n).replace(hj,(e,t)=>fj[t]??e)}function Ac(n){return`${n}`}class Ii{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new uj,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function dj(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t],r=Array.isArray(i)?i.map(Ac):[Ac(i)];this.map.set(t,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(i=>{const r=e[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Ii({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(Ac(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let i=this.map.get(e.param)||[];const r=i.indexOf(Ac(e.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(e.param,i):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class pj{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function QE(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function XE(n){return typeof Blob<"u"&&n instanceof Blob}function JE(n){return typeof FormData<"u"&&n instanceof FormData}class qs{constructor(e,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function mj(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Ai),this.context||(this.context=new pj),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(h,e.setHeaders[h]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,h)=>d.set(h,e.setParams[h]),c)),new qs(t,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var at=(()=>((at=at||{})[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at))();class Lp extends class _j{constructor(e,t=200,i="OK"){this.headers=e.headers||new Ai,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(e={}){super(e),this.type=at.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Lp({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}function Vp(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let t0=(()=>{class n{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof qs)o=t;else{let l,c;l=r.headers instanceof Ai?r.headers:new Ai(r.headers),r.params&&(c=r.params instanceof Ii?r.params:new Ii({fromObject:r.params})),o=new qs(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=R(o).pipe(Di(l=>this.handler.handle(l)));if(t instanceof qs||"events"===r.observe)return s;const a=s.pipe(Et(l=>l instanceof Lp));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(B(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(B(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(B(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(B(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Ii).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Vp(r,i))}post(t,i,r={}){return this.request("POST",t,Vp(r,i))}put(t,i,r={}){return this.request("PUT",t,Vp(r,i))}}return n.\u0275fac=function(t){return new(t||n)(y(cj))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();const vj=["*"];let Ic;function Ks(n){return function bj(){if(void 0===Ic&&(Ic=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(Ic=n.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Ic}()?.createHTML(n)||n}function n0(n){return Error(`Unable to find icon with the name "${n}"`)}function r0(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function o0(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class cr{constructor(e,t,i){this.url=e,this.svgText=t,this.options=i}}let Tc=(()=>{class n{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,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","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new cr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(ue.HTML,r);if(!s)throw o0(r);const a=Ks(s);return this._addSvgIconConfig(t,i,new cr("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new cr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(ue.HTML,i);if(!o)throw o0(i);const s=Ks(o);return this._addSvgIconSetConfig(t,new cr("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(ue.RESOURCE_URL,t);if(!i)throw r0(t);const r=this._cachedIconsByUrl.get(i);return r?R(xc(r)):this._loadSvgIconFromConfig(new cr(t,null)).pipe(Ge(o=>this._cachedIconsByUrl.set(i,o)),B(o=>xc(o)))}getNamedSvgIcon(t,i=""){const r=s0(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):oo(n0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?R(xc(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(B(i=>xc(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?R(r):function YE(...n){const e=eg(n),{args:t,keys:i}=Fw(n),r=new be(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?Ow(i,a):a),o.complete())}))}});return e?r.pipe(Tf(e)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ri(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ue.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),R(null)})))).pipe(B(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw n0(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Ge(i=>t.svgText=i),B(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?R(null):this._fetchIcon(t).pipe(Ge(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Ks(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(Ks("")),r=t.attributes;for(let o=0;oKs(c)),Ul(()=>this._inProgressUrlFetches.delete(s)),rg());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(s0(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;re?e.pathname+e.search:""}}}),a0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ij=a0.map(n=>`[${n}]`).join(", "),Tj=/^url\(['"]?#(.*?)['"]?\)$/;let l0=(()=>{class n extends Ej{constructor(t,i,r,o,s,a){super(t),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=et.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=function uH(n){return null!=n&&"false"!=`${n}`}(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(Ij),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(Tj):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Rt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(t){return new(t||n)(g($e),g(Tc),Ir("aria-hidden"),g(Mj),g(Yn),g(Sj,8))},n.\u0275cmp=me({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,i){2&t&&(Ut("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Ct("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[U],ngContentSelectors:vj,decls:1,vars:0,template:function(t,i){1&t&&(function cv(n){const e=w()[16][6];if(!e.projection){const i=e.projection=Uo(n?n.length:1,null),r=i.slice();let o=e.child;for(;null!==o;){const s=n?mk(o,n):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}(),function uv(n,e=0,t){const i=w(),r=ie(),o=Ur(r,22+n,16,null,t||null);null===o.projection&&(o.projection=e),Ou(),64!=(64&o.flags)&&function TT(n,e,t){x_(e[q],0,e,t,C_(n,t,e),S_(t.parent||e[6],t,e))}(r,i,o)}(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0}),n})(),xj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[wn,wn]}),n})();function Rj(n,e){if(1&n&&($(0,"div")(1,"p",6),he(2),H()()),2&n){const t=e.$implicit;Ct("menu-selected",t==rt().selected),X(2),Pe(t.name)}}function kj(n,e){if(1&n&&($(0,"mat-icon",7),he(1),H()),2&n){const t=rt();X(1),Pe(t.selected.icon)}}let c0=(()=>{class n extends Mc{constructor(t,i,r){super(),this.dialog=t,this.io=i,this.apps=r,this.elements=[{name:"Clock",action:()=>{this.openApp(rj)},matIcon:!0,icon:"access_time",about:"\u0417\u0430\u0431\u044b\u0442\u044b\u0435 \u0447\u0430\u0441\u044b \u0441\u0430\u043c\u043e\u0433\u043e \u0442\u043e\u0434\u0434\u0430 \u0433\u043e\u0432\u0430\u0440\u0434\u0430. \u041e\u043d \u0437\u0430\u0431\u044b\u043b \u0438\u0445 \u0432 \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u0442\u043d\u043e\u0439 \u0438\u0433\u0440\u0435 \u043a\u0430\u043b\u043b\u0430\u0443\u044276."},{name:"KeyboardTest",action:()=>{this.openApp(KE)},matIcon:!0,icon:"help",about:"Keyboard input test"},{name:"Rick Roll",action:()=>{this.openApp(oj,{url:"https://youtu.be/dQw4w9WgXcQ?output=embed"})},matIcon:!0,icon:"record_voice_over",about:"\u041d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0440\u0438\u043a\u0440\u043e\u043b\u043b\u0430"}],this.selected=this.elements[0]}createSub(){this.sub=this.io.keys.subscribe(t=>{this.apps.inApp||super.choiceItem(t)})}ngOnInit(){this.createSub()}openApp(t,i={}){this.apps.inApp=!0,this.dialog.open(t,{width:"100%",height:"100%",disableClose:!0,data:i}).afterClosed().subscribe(()=>this.apps.inApp=!1)}}return n.\u0275fac=function(t){return new(t||n)(g(Sc),g(Mi),g(Np))},n.\u0275cmp=me({type:n,selectors:[["app-inventory-apps-component"]],features:[U],decls:9,vars:3,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],["class","rotating-image","style","font-size: 100px; height: 100px; width: 100px",4,"ngIf"],[2,"margin","0 0"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"]],template:function(t,i){1&t&&($(0,"div",0)(1,"div",1),vt(2,Rj,3,3,"div",2),H(),$(3,"div",3)(4,"div",4),vt(5,kj,2,1,"mat-icon",5),H(),$(6,"div")(7,"p"),he(8),H()()()()),2&t&&(X(2),bt("ngForOf",i.elements),X(3),bt("ngIf",i.selected.matIcon),X(3),Pe(i.selected.about))},dependencies:[ii,nw,l0],encapsulation:2}),n})(),u0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["app-inventory-custom"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function Fj(n,e){if(1&n){const t=rs();$(0,"p",7),nt("click",function(){const o=Fo(t).$implicit;return Oo(rt().selectHeader(o))}),he(1),H()}if(2&n){const t=e.$implicit;Ct("inactiveHeader",!rt().isActiveHeader(t)),X(1),Pe(t.name)}}let d0=(()=>{class n extends cc{constructor(t,i,r,o,s){super(t,i),this.ws=r,this.io=o,this.apps=s,this.free=0,this.total=0,this.format="",this.path="inventory",super.navs=[{name:"apps",path:"apps",action:()=>{},component:c0.name},{name:"custom",path:"custom",action:()=>{},component:u0.name}]}selectHeader(t){super.selectHeader(t,[this.path])}ngOnInit(){this.ws.events.pipe(B(t=>JSON.parse(t))).subscribe(t=>{t.event==po.SPACESTATS&&(this.free=Math.round(t.data.free),this.total=Math.round(t.data.total),this.format=t.data.format)}),this.sub=this.io.keys.subscribe(t=>{this.apps.inApp||super.choiceHeader(t)})}}return n.\u0275fac=function(t){return new(t||n)(g(rn),g(Le),g(KD),g(Mi),g(Np))},n.\u0275cmp=me({type:n,selectors:[["app-inv-header"]],features:[U],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","19.5%"],[1,"footer-text",2,"width","60%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(t,i){1&t&&($(0,"div",0),vt(1,Fj,2,3,"p",1),H(),$(2,"div",2),gn(3,"router-outlet"),H(),$(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),he(8),H()(),$(9,"div",5)(10,"span"),he(11,"\u0445\u0437 \u0447\u0442\u043e \u0442\u0443\u0442 \u043d\u0430\u0434\u043e"),H()(),$(12,"div",6)(13,"span"),he(14,"nigger"),H()()()()),2&t&&(X(1),bt("ngForOf",i.navs),X(7),yh("",i.free,"/",i.total,"",i.format,""))},dependencies:[ii,or],encapsulation:2}),n})(),h0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["app-map-header"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),f0=(()=>{class n{constructor(){this.name="",this.volume=.5,this.tracks=[],this.player=new Audio,this.player.addEventListener("ended",()=>{let t=this.tracks.pop();t&&this.playThis(t.src,t.name)})}playThis(t,i){this.player.src=t,this.player.volume=this.volume,this.name=i,this.player.play()}stop(){this.player.pause()}volumeUp(){this.volume>.9||(this.volume=this.volume+.1,this.player.volume=this.volume)}volumeDown(){this.volume<.1||(this.volume=this.volume-.1,this.player.volume=this.volume)}getVolume(){return Math.round(100*this.volume)}getTime(){return this.player.duration?this.player.duration<60?"0:"+Math.floor(this.player.currentTime)+" / 0:"+Math.floor(this.player.duration):Math.floor(this.player.currentTime)+" / "+Math.floor(this.player.duration):"0:00 / 0:00"}getName(){return this.name?"\u0421\u0435\u0439\u0447\u0430\u0441 \u0438\u0433\u0440\u0430\u0435\u0442: "+this.name:"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0438\u0433\u0440\u0430\u0435\u0442"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Oj(n,e){if(1&n&&($(0,"div")(1,"p",6),he(2),H()()),2&n){const t=e.$implicit,i=rt();Ct("menu-selected",t==i.selected&&"LEFT"==i.currentSide),X(2),Pe(t.name)}}function Pj(n,e){if(1&n&&($(0,"div")(1,"p",6),he(2),H()()),2&n){const t=e.$implicit,i=rt();Ct("menu-selected",t==i.selectedRight&&"RIGHT"==i.currentSide),X(2),Pe(t.name)}}let Nj=(()=>{class n extends Mc{constructor(t,i){super(),this.player=t,this.io=i,this.elements=[{name:"niggers",src:"../../../../assets/music/pvz.mp3",action:()=>{this.play()}}],this.selected=this.elements[0],this.elementsRight=[{name:"STOP",action:()=>this.player.stop()},{name:"Volume UP",action:()=>this.player.volumeUp()},{name:"Volume DOWN",action:()=>this.player.volumeDown()}],this.selectedRight=this.elementsRight[0]}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{switch(t){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(t)}})}play(){this.player.playThis(this.selected.src,this.selected.name)}}return n.\u0275fac=function(t){return new(t||n)(g(f0),g(Mi))},n.\u0275cmp=me({type:n,selectors:[["app-radio"]],features:[U],decls:8,vars:2,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","81%","padding-top","7%"],[2,"width","45%"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","45%","display","flex","flex-direction","column"],[2,"text-align","center"],[1,"rotating-image",2,"font-size","100px","height","100px","width","100px"],[2,"margin","0 0"]],template:function(t,i){1&t&&($(0,"div",0)(1,"div",1),vt(2,Oj,3,3,"div",2),H(),$(3,"div",3)(4,"div",4)(5,"mat-icon",5),he(6,"audiotrack"),H()(),vt(7,Pj,3,3,"div",2),H()()),2&t&&(X(2),bt("ngForOf",i.elements),X(5),bt("ngForOf",i.elementsRight))},dependencies:[ii,l0],encapsulation:2}),n})(),p0=(()=>{class n{constructor(t){this.player=t}}return n.\u0275fac=function(t){return new(t||n)(g(f0))},n.\u0275cmp=me({type:n,selectors:[["app-radio-header"]],decls:12,vars:3,consts:[[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","65%"],[1,"footer-text",2,"width","9.5%","text-align","center"],[1,"footer-text",2,"width","24.5%","text-align","right"]],template:function(t,i){1&t&&(gn(0,"app-radio"),$(1,"div",0)(2,"div",1)(3,"div",2)(4,"span"),he(5),H()(),$(6,"div",3)(7,"span"),he(8),H()(),$(9,"div",4)(10,"span"),he(11),H()()()()),2&t&&(X(5),Pe(i.player.getName()),X(3),Zi("",i.player.getVolume()," %"),X(3),Pe(i.player.getTime()))},dependencies:[Nj],encapsulation:2}),n})();class Bp extends ae{constructor(e=1/0,t=1/0,i=pp){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(e),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sJSON.parse(n.data),serializer:n=>JSON.stringify(n)};class Hp extends au{constructor(e,t){if(super(),this._socket=null,e instanceof be)this.destination=t,this.source=e;else{const i=this._config=Object.assign({},Lj);if(this._output=new ae,"string"==typeof e)i.url=e;else for(const r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new Bp}}lift(e){const t=new Hp(this._config,this.destination);return t.operator=e,t.source=this,t}_resetState(){this._socket=null,this.source||(this.destination=new Bp),this._output=new ae}multiplex(e,t,i){const r=this;return new be(o=>{try{r.next(e())}catch(a){o.error(a)}const s=r.subscribe({next:a=>{try{i(a)&&o.next(a)}catch(l){o.error(l)}},error:a=>o.error(a),complete:()=>o.complete()});return()=>{try{r.next(t())}catch(a){o.error(a)}s.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:e,protocol:t,url:i,binaryType:r}=this._config,o=this._output;let s=null;try{s=t?new e(i,t):new e(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){return void o.error(l)}const a=new et(()=>{this._socket=null,s&&1===s.readyState&&s.close()});s.onopen=l=>{const{_socket:c}=this;if(!c)return s.close(),void this._resetState();const{openObserver:u}=this._config;u&&u.next(l);const d=this.destination;this.destination=aa.create(h=>{if(1===s.readyState)try{const{serializer:f}=this._config;s.send(f(h))}catch(f){this.destination.error(f)}},h=>{const{closingObserver:f}=this._config;f&&f.next(void 0),h&&h.code?s.close(h.code,h.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:h}=this._config;h&&h.next(void 0),s.close(),this._resetState()}),d&&d instanceof Bp&&a.add(d.subscribe(this.destination))},s.onerror=l=>{this._resetState(),o.error(l)},s.onclose=l=>{s===this._socket&&this._resetState();const{closeObserver:c}=this._config;c&&c.next(l),l.wasClean?o.complete():o.error(l)},s.onmessage=l=>{try{const{deserializer:c}=this._config;o.next(c(l))}catch(c){o.error(c)}}}_subscribe(e){const{source:t}=this;return t?t.subscribe(e):(this._socket||this._connectSocket(),this._output.subscribe(e),e.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&(1===i.readyState||0===i.readyState)&&i.close(),this._resetState())}),e)}unsubscribe(){const{_socket:e}=this;e&&(1===e.readyState||0===e.readyState)&&e.close(),this._resetState(),super.unsubscribe()}}function m0(n,e){return e?t=>Ms(e.pipe(Rt(1),function jj(){return Ae((n,e)=>{n.subscribe(ge(e,oa))})}()),t.pipe(m0(n))):Ke((t,i)=>n(t,i).pipe(Rt(1),Hw(t)))}let y0=(()=>{class n{constructor(){this.channels=[],this.channelChange=new ot(0),this.nodes=[],this.nodesChange=new ot(0),this.messages=new ot("{}"),this.state=0,this.meshId=0,this.connect()}getMyMesh(){if(0==this.meshId)return{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0};{let t=this.nodes.filter(i=>i.id==this.meshId);return t.length>0?t.pop():{name:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e",id:0}}}connect(){this.socket$=function Bj(n){return new Hp(n)}(`ws://${location.host}/mesh/ws`).pipe(function Hj(n){return Ae((e,t)=>{let i,o,r=!1;const s=()=>{i=e.subscribe(ge(t,void 0,void 0,a=>{o||(o=new ae,n(o).subscribe(ge(t,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}(t=>t.pipe(Ge(i=>{console.log("WebSocket error, reconnecting...",i),this.state=5}),function Uj(n,e=gc){const t=fE(n,e);return m0(()=>t)}(3e3)))),this.socket$.subscribe(t=>{switch(t.event){case 4:this.meshId=t.data;break;case 1:{const i=t.data,r=this.nodes.filter(o=>o.id==i.id);if(0==r.length)this.nodes.push(i);else{let o=this.nodes.indexOf(r[0]);this.nodes[o]=i}this.nodesChange.next((new Date).getTime());break}case 2:this.state=t.data;break;case 0:{const i=t.data,r=this.channels.filter(o=>o.index==i.index);if(0==r.length)this.channels.push(i);else{let o=this.channels.indexOf(r[0]);this.channels[o]=i}this.channelChange.next((new Date).getTime());break}}})}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),v0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["app-mesh-my-node"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function Qj(n,e){if(1&n&&($(0,"div",null,6)(2,"p",7),he(3),H()()),2&n){const t=e.$implicit,i=rt();Ct("menu-selected",i.isSelected(t)&&"LEFT"==i.currentSide),X(3),Pe(t.name)}}function Xj(n,e){if(1&n&&($(0,"div")(1,"p",7),he(2),H()()),2&n){const t=e.$implicit,i=rt();Ct("menu-selected",t==i.selectedRight&&"RIGHT"==i.currentSide),X(2),Pe(t.name)}}let b0=(()=>{class n extends Mc{constructor(t,i,r,o){super(),this.io=t,this.meshtastic=i,this.dialog=r,this.apps=o,this.elementsRight=[{name:"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c",action:()=>{this.apps.openKeyboard().subscribe(s=>{console.log(s),this.apps.inApp=!1})}},{name:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f",action:()=>{}},{name:"\u0422\u0440\u0430\u0441\u0438\u0440\u043e\u0432\u043a\u0430*",action:()=>{}}],this.selectedRight=this.elementsRight[0]}createSub(){this.sub=this.io.keys.subscribe(t=>{if(!this.apps.inApp)switch(t){case"KeyA":this.currentSide="LEFT";break;case"KeyD":this.currentSide="RIGHT";break;default:super.choiceItem(t)}})}ngOnInit(){this.createSub(),this.elements=this.meshtastic.nodes,this.meshtastic.nodesChange.subscribe(t=>{this.elements=this.meshtastic.nodes,null==this.selected&&(this.selected=this.elements[0])})}}return n.\u0275fac=function(t){return new(t||n)(g(Mi),g(y0),g(Sc),g(Np))},n.\u0275cmp=me({type:n,selectors:[["app-mesh-list-node"]],features:[U],decls:9,vars:3,consts:[[2,"display","flex","flex-direction","row","justify-content","center","height","84%"],["id","nodes",2,"width","45%","overflow-y","hidden","height","230px","scroll-behavior","smooth"],[3,"menu-selected",4,"ngFor","ngForOf"],[2,"width","2.5%","display","flex","flex-direction","column"],["id","info",2,"width","45%","display","flex","flex-direction","column"],[1,"secondary-color",2,"text-align","center","height","125px","margin-bottom","10px"],["menuItem",""],[2,"margin","0 0"]],template:function(t,i){1&t&&($(0,"div",0)(1,"div",1),vt(2,Qj,4,3,"div",2),H(),gn(3,"div",3),$(4,"div",4)(5,"div",5)(6,"p"),he(7),H()(),vt(8,Xj,3,3,"div",2),H()()),2&t&&(X(2),bt("ngForOf",i.elements),X(5),Pe(null==i.selected?null:i.selected.name),X(1),bt("ngForOf",i.elementsRight))},dependencies:[ii],encapsulation:2}),n})(),C0=(()=>{class n extends Mc{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ue(n)))(i||n)}}(),n.\u0275cmp=me({type:n,selectors:[["app-mesh-channel"]],features:[U],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function Jj(n,e){if(1&n){const t=rs();$(0,"p",8),nt("click",function(){const o=Fo(t).$implicit;return Oo(rt().selectHeader(o))}),he(1),H()}if(2&n){const t=e.$implicit;Ct("inactiveHeader",!rt().isActiveHeader(t)),X(1),Pe(t.name)}}let w0=(()=>{class n extends cc{constructor(t,i,r,o){super(i,r),this.meshtastic=t,this.io=o,this.path="mesh",this.meshtastic.channelChange.subscribe(s=>{let a=[{name:"my",path:"my",action:()=>{},component:v0.name},{name:"list",path:"list",action:()=>{},component:b0.name}];a.push(...this.meshtastic.channels.map(l=>({name:`${l.name}`,path:`channel/${l.index}`,action:()=>{},component:C0.name}))),console.log(a),super.navs=a})}isActiveHeader(t){let i=this.route.firstChild?.component?.name==t.component;if(this.route.firstChild?.snapshot.params){const r=t.path.split("/");r.length>1&&(i=i&&this.route.firstChild?.snapshot.params.index==r[1])}return i&&(this.currentNav=t),i}getMeshState(){switch(this.meshtastic.state){case 0:return"\u041d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d";case 1:return"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438";case 2:return"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d";case 3:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f";case 4:return"\u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435";case 5:return"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0430";default:return"\u0425\u0443\u0439 \u0437\u043d\u0430\u0435\u0442"}}selectHeader(t){super.selectHeader(t,[this.path])}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{super.choiceHeader(t)})}}return n.\u0275fac=function(t){return new(t||n)(g(y0),g(rn),g(Le),g(Mi))},n.\u0275cmp=me({type:n,selectors:[["app-meshtastic-header"]],features:[U],decls:15,vars:4,consts:[[2,"display","flex","align-items","center","justify-content","flex-start","padding-left","45px"],["style","text-transform: uppercase;font-weight: bold; margin-bottom: 0; margin-top: 5px; padding-left: 5px",3,"inactiveHeader","click",4,"ngFor","ngForOf"],[2,"padding-top","2.5%"],[1,"footer"],[2,"display","flex","justify-content","space-between","height","100%"],[1,"footer-text",2,"width","30%"],[1,"footer-text",2,"width","49%"],[1,"footer-text",2,"width","20%"],[2,"text-transform","uppercase","font-weight","bold","margin-bottom","0","margin-top","5px","padding-left","5px",3,"click"]],template:function(t,i){1&t&&($(0,"div",0),vt(1,Jj,2,3,"p",1),H(),$(2,"div",2),gn(3,"router-outlet"),H(),$(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),he(8),H()(),$(9,"div",6)(10,"span"),he(11),H()(),$(12,"div",7)(13,"span"),he(14),H()()()()),2&t&&(X(1),bt("ngForOf",i.navs),X(7),Pe(i.getMeshState()),X(3),Pe(i.meshtastic.getMyMesh().name),X(3),Zi("",i.meshtastic.nodes.length," nodes"))},dependencies:[ii,or],encapsulation:2}),n})();function eU(n,e){if(1&n){const t=rs();$(0,"p",2),nt("click",function(){const o=Fo(t).$implicit;return Oo(rt().selectHeader(o))}),he(1),H()}if(2&n){const t=e.$implicit;Ct("activeHeader",rt().isActiveHeader(t))("baseActiveHeader",!0),X(1),Pe(t.name)}}const tU=[{path:"",component:(()=>{class n extends cc{constructor(t,i,r){super(t,i),this.io=r,super.navs=[{name:"stat",path:"stats",action:()=>{},component:YD.name},{name:"inv",path:"inventory",action:()=>{},component:d0.name},{name:"map",path:"map",action:()=>{},component:h0.name},{name:"radio",path:"radio",action:()=>{},component:p0.name},{name:"mesh",path:"mesh",action:()=>{},component:w0.name}]}ngOnInit(){this.sub=this.io.keys.subscribe(t=>{if(null!=this.currentNav&&t.startsWith("Digit")&&6==t.length){let i=Number.parseInt(t.replace("Digit",""))-1;this.navs[i]&&this.selectHeader(this.navs[i])}})}}return n.\u0275fac=function(t){return new(t||n)(g(rn),g(Le),g(Mi))},n.\u0275cmp=me({type:n,selectors:[["ui"]],features:[U],decls:3,vars:1,consts:[[2,"display","flex","align-items","center","justify-content","space-evenly","border-bottom","1px solid rgb(0, 242, 0)"],[3,"activeHeader","baseActiveHeader","click",4,"ngFor","ngForOf"],[3,"click"]],template:function(t,i){1&t&&($(0,"div",0),vt(1,eU,2,5,"p",1),H(),gn(2,"router-outlet")),2&t&&(X(1),bt("ngForOf",i.navs))},dependencies:[ii,or],encapsulation:2}),n})(),children:[{path:"",redirectTo:"stats",pathMatch:"full"},{path:"stats",component:YD,children:[{path:"",redirectTo:"status",pathMatch:"full"},{path:"status",component:qD}]},{path:"inventory",component:d0,children:[{path:"",redirectTo:"apps",pathMatch:"full"},{path:"apps",component:c0},{path:"custom",component:u0}]},{path:"data",component:(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=me({type:n,selectors:[["app-data-header"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})()},{path:"map",component:h0},{path:"radio",component:p0},{path:"mesh",component:w0,children:[{path:"",redirectTo:"my",pathMatch:"full"},{path:"my",component:v0},{path:"list",component:b0},{path:"channel/:index",component:C0}]}]}];let nU=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[WD.forRoot(tU),WD]}),n})(),iU=(()=>{class n{constructor(t){this.io=t}pressKeys(t){this.io.keys.next(t.code),this.io.keys.next("")}}return n.\u0275fac=function(t){return new(t||n)(g(Mi))},n.\u0275cmp=me({type:n,selectors:[["app-root"]],hostBindings:function(t,i){1&t&&nt("keypress",function(o){return i.pressKeys(o)},0,ey)},decls:1,vars:0,template:function(t,i){1&t&&gn(0,"router-outlet")},dependencies:[or]}),n})();function D0(n){return new C(3e3,!1)}function VU(){return typeof window<"u"&&typeof window.document<"u"}function jp(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ti(n){switch(n.length){case 0:return new Gs;case 1:return n[0];default:return new zE(n)}}function E0(n,e,t,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let _=m,b=p;if("offset"!==m)switch(_=e.normalizePropertyName(_,s),b){case"!":b=r.get(m);break;case ai:b=o.get(m);break;default:b=e.normalizeStyleValue(m,_,b,s)}f.set(_,b)}),h||a.push(f),c=f,l=d}),s.length)throw function MU(n){return new C(3502,!1)}();return a}function Up(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&$p(t,"start",n)));break;case"done":n.onDone(()=>i(t&&$p(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&$p(t,"destroy",n)))}}function $p(n,e,t){const o=zp(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),s=n._data;return null!=s&&(o._data=s),o}function zp(n,e,t,i,r="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function $t(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function S0(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let Wp=(n,e)=>!1,M0=(n,e,t)=>[],A0=null;function Gp(n){const e=n.parentNode||n.host;return e===A0?null:e}(jp()||typeof Element<"u")&&(VU()?(A0=(()=>document.documentElement)(),Wp=(n,e)=>{for(;e;){if(e===n)return!0;e=Gp(e)}return!1}):Wp=(n,e)=>n.contains(e),M0=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let ur=null,I0=!1;const T0=Wp,x0=M0;let R0=(()=>{class n{validateStyleProperty(t){return function HU(n){ur||(ur=function jU(){return typeof document<"u"?document.body:null}()||{},I0=!!ur.style&&"WebkitAppearance"in ur.style);let e=!0;return ur.style&&!function BU(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in ur.style,!e&&I0&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ur.style)),e}(t)}matchesElement(t,i){return!1}containsElement(t,i){return T0(t,i)}getParentElement(t){return Gp(t)}query(t,i,r){return x0(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new Gs(r,o)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})(),qp=(()=>{class n{}return n.NOOP=new R0,n})();const Kp="ng-enter",Rc="ng-leave",kc="ng-trigger",Fc=".ng-trigger",F0="ng-animating",Yp=".ng-animating";function li(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Zp(parseFloat(e[1]),e[2])}function Zp(n,e){return"s"===e?1e3*n:n}function Oc(n,e,t){return n.hasOwnProperty("duration")?n:function zU(n,e,t){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(D0()),{duration:0,delay:0,easing:""};r=Zp(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Zp(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(function rU(){return new C(3100,!1)}()),a=!0),o<0&&(e.push(function oU(){return new C(3101,!1)}()),a=!0),a&&e.splice(l,0,D0())}return{duration:r,delay:o,easing:s}}(n,e,t)}function Ys(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function O0(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function xi(n,e=new Map,t){if(t)for(let[i,r]of t)e.set(i,r);for(let[i,r]of n)e.set(i,r);return e}function N0(n,e,t){return t?e+":"+t+";":""}function L0(n){let e="";for(let t=0;t{const o=Xp(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=i}),jp()&&L0(n))}function dr(n,e){n.style&&(e.forEach((t,i)=>{const r=Xp(i);n.style[r]=""}),jp()&&L0(n))}function Zs(n){return Array.isArray(n)?1==n.length?n[0]:HE(n):n}const Qp=new RegExp("{{\\s*(.+?)\\s*}}","g");function V0(n){let e=[];if("string"==typeof n){let t;for(;t=Qp.exec(n);)e.push(t[1]);Qp.lastIndex=0}return e}function Qs(n,e,t){const i=n.toString(),r=i.replace(Qp,(o,s)=>{let a=e[s];return null==a&&(t.push(function aU(n){return new C(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function Pc(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const qU=/-+([a-z0-9])/g;function Xp(n){return n.replace(qU,(...e)=>e[1].toUpperCase())}function KU(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function zt(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function lU(n){return new C(3004,!1)}()}}function B0(n,e){return window.getComputedStyle(n)[e]}function e$(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function t$(n,e,t){if(":"==n[0]){const l=function n$(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function CU(n){return new C(3015,!1)}()),e;const r=i[1],o=i[2],s=i[3];e.push(H0(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&e.push(H0(s,r))}(i,t,e)):t.push(n),t}const Bc=new Set(["true","1"]),Hc=new Set(["false","0"]);function H0(n,e){const t=Bc.has(n)||Hc.has(n),i=Bc.has(e)||Hc.has(e);return(r,o)=>{let s="*"==n||n==r,a="*"==e||e==o;return!s&&t&&"boolean"==typeof r&&(s=r?Bc.has(n):Hc.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?Bc.has(e):Hc.has(e)),s&&a}}const i$=new RegExp("s*:selfs*,?","g");function Jp(n,e,t,i){return new r$(n).build(e,t,i)}class r${constructor(e){this._driver=e}build(e,t,i){const r=new a$(t);return this._resetContextStyleTimingState(r),zt(this,Zs(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function uU(){return new C(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function dU(){return new C(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{V0(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Pc(o.values()),t.errors.push(function hU(n,e){return new C(3008,!1)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=zt(this,Zs(e.animation),t);return{type:1,matchers:e$(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:hr(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>zt(this,i,t)),options:hr(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const o=e.steps.map(s=>{t.currentTime=i;const a=zt(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:o,options:hr(e.options)}}visitAnimate(e,t){const i=function c$(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return em(Oc(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=em(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Oc(t,e);return em(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,o=e.styles?e.styles:Si({});if(5==o.type)r=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Si(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===ai?i.push(a):t.errors.push(new C(3002,!1)):i.push(O0(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(t.errors.push(function pU(n,e,t,i,r){return new C(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),t.options&&function GU(n,e,t){const i=e.params||{},r=V0(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function sU(n){return new C(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function mU(){return new C(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=e.steps.map(b=>{const D=this._makeStyleAst(b,t);let v=null!=D.offset?D.offset:function l$(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(D.styles),I=0;return null!=v&&(o++,I=D.offset=v),l=l||I<0||I>1,a=a||I0&&o{const v=h>0?D==f?1:h*D:s[D],I=v*_;t.currentTime=p+m.delay+I,m.duration=I,this._validateStyleAst(b,t),b.offset=v,i.styles.push(b)}),i}visitReference(e,t){return{type:8,animation:zt(this,Zs(e.animation),t),options:hr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:hr(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:hr(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function o$(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(i$,"")),n=n.replace(/@\*/g,Fc).replace(/@\w+/g,t=>Fc+"-"+t.slice(1)).replace(/:animating/g,Yp),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+o:o,$t(t.collectedStyles,t.currentQuerySelector,new Map);const a=zt(this,Zs(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:hr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function vU(){return new C(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Oc(e.timings,t.errors,!0);return{type:12,animation:zt(this,Zs(e.animation),t),timings:i,options:null}}}class a${constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function hr(n){return n?(n=Ys(n)).params&&(n.params=function s$(n){return n?Ys(n):null}(n.params)):n={},n}function em(n,e,t){return{duration:n,delay:e,easing:t}}function tm(n,e,t,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class jc{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const h$=new RegExp(":enter","g"),p$=new RegExp(":leave","g");function nm(n,e,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new m$).buildKeyframes(n,e,t,i,r,o,s,a,l,c)}class m${buildKeyframes(e,t,i,r,o,s,a,l,c,u=[]){c=c||new jc;const d=new im(e,t,c,r,o,u,[]);d.options=l;const h=l.delay?li(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),zt(this,i,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const _=f[m];if(_.element===t){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[tm(t,[],[],[],0,h,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:li(Qs(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?li(i.duration):null,a=null!=i.delay?li(i.delay):null;return 0!==s&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),zt(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Uc);const s=li(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>zt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?li(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),zt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Oc(t.params?Qs(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?li(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Uc);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;const d=t.createSubContext(e.options,c);o&&d.delayNextStep(o),c===t.element&&(l=d.currentTimeline),zt(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=t.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;zt(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const Uc={};class im{constructor(e,t,i,r,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Uc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new $c(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=li(i.duration)),null!=i.delay&&(r.delay=li(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Qs(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,o=new im(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Uc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new g$(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(h$,"."+this._enterClassName)).replace(p$,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function bU(n){return new C(3014,!1)}()),a}}class $c{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new $c(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||ai),this._currentKeyframe.set(t,ai);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function _$(n,e){const t=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||e.keys();for(let o of i)t.set(o,ai)}else xi(r,t)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=Qs(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ai),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=xi(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?e.add(d):u===ai&&t.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=e.size?Pc(e.values()):[],s=t.size?Pc(t.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return tm(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class g$ extends $c{constructor(e,t,i,r,o,s,a=!1){super(e,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=xi(e[0]);l.set("offset",0),o.push(l);const c=xi(e[0]);c.set("offset",$0(a)),o.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=xi(e[d]);const f=h.get("offset");h.set("offset",$0((t+f*i)/s)),o.push(h)}i=s,t=0,r="",e=o}return tm(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function $0(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class rm{}const y$=new Set(["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"]);class v$ extends rm{normalizePropertyName(e,t){return Xp(e)}normalizeStyleValue(e,t,i,r){let o="";const s=i.toString().trim();if(y$.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function cU(n,e){return new C(3005,!1)}())}return s+o}}function z0(n,e,t,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const om={};class W0{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function b$(n,e,t,i,r){return n.some(o=>o(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||om,p=this.buildStyles(i,a&&a.params||om,d),m=l&&l.params||om,_=this.buildStyles(r,m,d),b=new Set,D=new Map,v=new Map,I="void"===r,Y={params:C$(m,h),delay:this.ast.options?.delay},ne=u?[]:nm(e,t,this.ast.animation,o,s,p,_,Y,c,d);let ke=0;if(ne.forEach(Gt=>{ke=Math.max(Gt.duration+Gt.delay,ke)}),d.length)return z0(t,this._triggerName,i,r,I,p,_,[],[],D,v,ke,d);ne.forEach(Gt=>{const qt=Gt.element,wo=$t(D,qt,new Set);Gt.preStyleProps.forEach(Dn=>wo.add(Dn));const ci=$t(v,qt,new Set);Gt.postStyleProps.forEach(Dn=>ci.add(Dn)),qt!==t&&b.add(qt)});const Wt=Pc(b.values());return z0(t,this._triggerName,i,r,I,p,_,ne,Wt,D,v,ke)}}function C$(n,e){const t=Ys(e);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(t[i]=n[i]);return t}class w${constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,r=Ys(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Qs(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(l,s)})}),i}}class E${constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new w$(r.style,r.options&&r.options.params||{},i))}),G0(this.states,"true","1"),G0(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new W0(e,r,this.states))}),this.fallbackTransition=function S$(n,e,t){return new W0(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(s=>s.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function G0(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const M$=new jc;class A${constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const i=[],o=Jp(this._driver,t,i,[]);if(i.length)throw function AU(n){return new C(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,t,i){const r=e.element,o=E0(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=nm(this._driver,t,o,Kp,Rc,new Map,new Map,i,M$,r),s.forEach(u=>{const d=$t(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function IU(){return new C(3300,!1)}()),s=[]),r.length)throw function TU(n){return new C(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,ai))})});const c=Ti(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function xU(n){return new C(3301,!1)}();return t}listen(e,t,i,r){const o=zp(t,"","","");return Up(this._getPlayer(e),i,o,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i)return void this.create(e,t,r[0]||{});const o=this._getPlayer(e);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const q0="ng-animate-queued",sm="ng-animate-disabled",k$=[],K0={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},F$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sn="__ng_removed";class am{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function L$(n){return n??null}(i?e.value:e),i){const o=Ys(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Xs="void",lm=new am(Xs);class O${constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,an(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw function RU(n,e){return new C(3302,!1)}();if(null==i||0==i.length)throw function kU(n){return new C(3303,!1)}();if(!function V$(n){return"start"==n||"done"==n}(i))throw function FU(n,e){return new C(3400,!1)}();const o=$t(this._elementListeners,e,[]),s={name:t,phase:i,callback:r};o.push(s);const a=$t(this._engine.statesByElement,e,new Map);return a.has(t)||(an(e,kc),an(e,kc+"-"+t),a.set(t,lm)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function OU(n){return new C(3401,!1)}();return t}trigger(e,t,i,r=!0){const o=this._getTrigger(t),s=new cm(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(an(e,kc),an(e,kc+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const c=new am(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=lm),c.value!==Xs&&l.value===c.value){if(!function j$(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r{dr(e,_),Ln(e,b)})}return}const h=$t(this._engine.playersByElement,e,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(an(e,q0),s.onStart(()=>{bo(e,q0)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(e);if(_){let b=_.indexOf(s);b>=0&&_.splice(b,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,Fc,!0);i.forEach(r=>{if(r[sn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(e,c,Xs,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),i&&Ti(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||lm,u=new am(Xs),d=new cm(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const o=e[sn];(!o||o===K0)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){an(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=zp(o,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Up(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(i=>i.element===e)||t,t}}class P${constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,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=(r,o)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new O$(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(e,t,i,r){if(zc(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!zc(t))return;const o=t[sn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),an(e,sm)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),bo(e,sm))}removeNode(e,t,i,r){if(zc(t)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),i){const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,i,r,o){this.collectedLeaveElements.push(t),t[sn]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,i,r,o){return zc(t)?this._fetchNamespace(e).listen(t,i,r,o):()=>{}}_buildInstruction(e,t,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,Fc,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Yp,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ti(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[sn];if(t&&t.setForRemoval){if(e[sn]=K0,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(sm)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ti(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function PU(n){return new C(3402,!1)}()}_flushAnimations(e,t){const i=new jc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(x=>{u.add(x);const k=this.driver.query(x,".ng-animate-queued",!0);for(let L=0;L{const L=Kp+m++;p.set(k,L),x.forEach(se=>an(se,L))});const _=[],b=new Set,D=new Set;for(let x=0;xb.add(se)):D.add(k))}const v=new Map,I=Q0(h,Array.from(b));I.forEach((x,k)=>{const L=Rc+m++;v.set(k,L),x.forEach(se=>an(se,L))}),e.push(()=>{f.forEach((x,k)=>{const L=p.get(k);x.forEach(se=>bo(se,L))}),I.forEach((x,k)=>{const L=v.get(k);x.forEach(se=>bo(se,L))}),_.forEach(x=>{this.processLeaveNode(x)})});const Y=[],ne=[];for(let x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(t).forEach(L=>{const se=L.player,it=L.element;if(Y.push(se),this.collectedEnterElements.length){const ft=it[sn];if(ft&&ft.setForMove){if(ft.previousTriggersValues&&ft.previousTriggersValues.has(L.triggerName)){const mr=ft.previousTriggersValues.get(L.triggerName),ln=this.statesByElement.get(L.element);if(ln&&ln.has(L.triggerName)){const nu=ln.get(L.triggerName);nu.value=mr,ln.set(L.triggerName,nu)}}return void se.destroy()}}const Bn=!d||!this.driver.containsElement(d,it),Kt=v.get(it),Oi=p.get(it),Fe=this._buildInstruction(L,i,Oi,Kt,Bn);if(Fe.errors&&Fe.errors.length)return void ne.push(Fe);if(Bn)return se.onStart(()=>dr(it,Fe.fromStyles)),se.onDestroy(()=>Ln(it,Fe.toStyles)),void r.push(se);if(L.isFallbackTransition)return se.onStart(()=>dr(it,Fe.fromStyles)),se.onDestroy(()=>Ln(it,Fe.toStyles)),void r.push(se);const mM=[];Fe.timelines.forEach(ft=>{ft.stretchStartingKeyframe=!0,this.disabledNodes.has(ft.element)||mM.push(ft)}),Fe.timelines=mM,i.append(it,Fe.timelines),s.push({instruction:Fe,player:se,element:it}),Fe.queriedElements.forEach(ft=>$t(a,ft,[]).push(se)),Fe.preStyleProps.forEach((ft,mr)=>{if(ft.size){let ln=l.get(mr);ln||l.set(mr,ln=new Set),ft.forEach((nu,km)=>ln.add(km))}}),Fe.postStyleProps.forEach((ft,mr)=>{let ln=c.get(mr);ln||c.set(mr,ln=new Set),ft.forEach((nu,km)=>ln.add(km))})});if(ne.length){const x=[];ne.forEach(k=>{x.push(function NU(n,e){return new C(3505,!1)}())}),Y.forEach(k=>k.destroy()),this.reportError(x)}const ke=new Map,Wt=new Map;s.forEach(x=>{const k=x.element;i.has(k)&&(Wt.set(k,k),this._beforeAnimationBuild(x.player.namespaceId,x.instruction,ke))}),r.forEach(x=>{const k=x.element;this._getPreviousPlayers(k,!1,x.namespaceId,x.triggerName,null).forEach(se=>{$t(ke,k,[]).push(se),se.destroy()})});const Gt=_.filter(x=>J0(x,l,c)),qt=new Map;Z0(qt,this.driver,D,c,ai).forEach(x=>{J0(x,l,c)&&Gt.push(x)});const ci=new Map;f.forEach((x,k)=>{Z0(ci,this.driver,new Set(x),l,"!")}),Gt.forEach(x=>{const k=qt.get(x),L=ci.get(x);qt.set(x,new Map([...Array.from(k?.entries()??[]),...Array.from(L?.entries()??[])]))});const Dn=[],Do=[],Eo={};s.forEach(x=>{const{element:k,player:L,instruction:se}=x;if(i.has(k)){if(u.has(k))return L.onDestroy(()=>Ln(k,se.toStyles)),L.disabled=!0,L.overrideTotalTime(se.totalTime),void r.push(L);let it=Eo;if(Wt.size>1){let Kt=k;const Oi=[];for(;Kt=Kt.parentNode;){const Fe=Wt.get(Kt);if(Fe){it=Fe;break}Oi.push(Kt)}Oi.forEach(Fe=>Wt.set(Fe,it))}const Bn=this._buildAnimation(L.namespaceId,se,ke,o,ci,qt);if(L.setRealPlayer(Bn),it===Eo)Dn.push(L);else{const Kt=this.playersByElement.get(it);Kt&&Kt.length&&(L.parentPlayer=Ti(Kt)),r.push(L)}}else dr(k,se.fromStyles),L.onDestroy(()=>Ln(k,se.toStyles)),Do.push(L),u.has(k)&&r.push(L)}),Do.forEach(x=>{const k=o.get(x.element);if(k&&k.length){const L=Ti(k);x.setRealPlayer(L)}}),r.forEach(x=>{x.parentPlayer?x.syncPlayerEvents(x.parentPlayer):x.destroy()});for(let x=0;x<_.length;x++){const k=_[x],L=k[sn];if(bo(k,Rc),L&&L.hasAnimation)continue;let se=[];if(a.size){let Bn=a.get(k);Bn&&Bn.length&&se.push(...Bn);let Kt=this.driver.query(k,Yp,!0);for(let Oi=0;Oi!Bn.destroyed);it.length?B$(this,k,it):this.processLeaveNode(k)}return _.length=0,Dn.forEach(x=>{this.players.push(x),x.onDone(()=>{x.destroy();const k=this.players.indexOf(x);this.players.splice(k,1)}),x.play()}),Dn}elementContainsData(e,t){let i=!1;const r=t[sn];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==Xs;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,t,i){const o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,u=c!==o,d=$t(i,c,[]);this._getPreviousPlayers(c,u,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}dr(o,t.fromStyles)}_buildAnimation(e,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,h=t.timelines.map(p=>{const m=p.element;u.add(m);const _=m[sn];if(_&&_.removedBeforeQueried)return new Gs(p.duration,p.delay);const b=m!==l,D=function H$(n){const e=[];return X0(n,e),e}((i.get(m)||k$).map(ke=>ke.getRealPlayer())).filter(ke=>!!ke.element&&ke.element===m),v=o.get(m),I=s.get(m),Y=E0(0,this._normalizer,0,p.keyframes,v,I),ne=this._buildPlayer(p,Y,D);if(p.subTimeline&&r&&d.add(m),b){const ke=new cm(e,a,m);ke.setRealPlayer(ne),c.push(ke)}return ne});c.forEach(p=>{$t(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function N$(n,e,t){let i=n.get(e);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>an(p,F0));const f=Ti(h);return f.onDestroy(()=>{u.forEach(p=>bo(p,F0)),Ln(l,t.toStyles)}),d.forEach(p=>{$t(r,p,[]).push(f)}),f}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new Gs(e.duration,e.delay)}}class cm{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Gs,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Up(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){$t(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function zc(n){return n&&1===n.nodeType}function Y0(n,e){const t=n.style.display;return n.style.display=e??"none",t}function Z0(n,e,t,i,r){const o=[];t.forEach(l=>o.push(Y0(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=e.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[sn]=F$,s.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>Y0(l,o[a++])),s}function Q0(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function an(n,e){n.classList?.add(e)}function bo(n,e){n.classList?.remove(e)}function B$(n,e,t){Ti(t).onDone(()=>n.processLeaveNode(e))}function X0(n,e){for(let t=0;tr.add(o)):e.set(n,i),t.delete(n),!0}class Wc{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new P$(e,t,i),this._timelineEngine=new A$(e,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,i,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=Jp(this._driver,o,l,[]);if(l.length)throw function SU(n,e){return new C(3404,!1)}();a=function D$(n,e,t){return new E$(n,e,t)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i,r){this._transitionEngine.removeNode(e,t,r||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[o,s]=S0(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=S0(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,i,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $$=(()=>{class n{constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(t);o||n.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ln(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ln(this._element,this._initialStyles),this._endStyles&&(Ln(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(dr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dr(this._element,this._endStyles),this._endStyles=null),Ln(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function um(n){let e=null;return n.forEach((t,i)=>{(function z$(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}class eS{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&e.set(r,this._finished?i:B0(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class W${validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return T0(e,t)}getParentElement(e){return Gp(e)}query(e,t,i){return x0(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof eS);(function YU(n,e){return 0===n||0===e})(i,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function WU(n){return n.length?n[0]instanceof Map?n:n.map(e=>O0(e)):[]}(t).map(f=>xi(f));d=function ZU(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,B0(n,a)))}}return e}(e,d,c);const h=function U$(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=um(e[0]),e.length>1&&(i=um(e[e.length-1]))):e instanceof Map&&(t=um(e)),t||i?new $$(n,t,i):null}(e,d);return new eS(e,d,l,h)}}let G$=(()=>{class n extends LE{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:un.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?HE(t):t;return tS(this._renderer,null,i,"register",[r]),new q$(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(y(Jo),y(Q))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class q$ extends class G2{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new K$(this._id,e,t||{},this._renderer)}}class K${constructor(e,t,i,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return tS(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function tS(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const nS="@.disabled";let Y$=(()=>{class n{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,i){const o=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new iS("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,t,u.name,u)};return i.data.animation.forEach(l),new Z$(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&ti(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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 n.\u0275fac=function(t){return new(t||n)(y(Jo),y(Wc),y(re))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})();class iS{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==nS?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Z$ extends iS{constructor(e,t,i,r,o){super(t,i,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==nS?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const r=function Q$(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function X$(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(e,t,i)}}const rS=[{provide:LE,useClass:G$},{provide:rm,useFactory:function ez(){return new v$}},{provide:Wc,useClass:(()=>{class n extends Wc{constructor(t,i,r,o){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(y(Q),y(qp),y(rm),y(ro))},n.\u0275prov=S({token:n,factory:n.\u0275fac}),n})()},{provide:Jo,useFactory:function tz(n,e,t){return new Y$(n,e,t)},deps:[Nl,Wc,re]}],dm=[{provide:qp,useFactory:()=>new W$},{provide:pl,useValue:"BrowserAnimations"},...rS],oS=[{provide:qp,useClass:R0},{provide:pl,useValue:"NoopAnimations"},...rS];let nz=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?oS:dm}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:dm,imports:[Iw]}),n})(),sS=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})(),aS=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[sw,wn,eE,wn]}),n})(),az=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({providers:[j2],imports:[sS,aS,wn,sS,aS]}),n})(),QS=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({}),n})(),a3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[QS]}),n})(),l3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[a3]}),n})(),u3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n}),n.\u0275inj=pe({imports:[W2,wn,wn]}),n})(),d3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=ve({type:n,bootstrap:[iU]}),n.\u0275inj=pe({imports:[Iw,nU,nz,ij,az,l3,u3,xj]}),n})();(function MP(){IC=!1})(),pL().bootstrapModule(d3).catch(n=>console.error(n))}},oe=>{oe(oe.s=923)}]); \ No newline at end of file diff --git a/pipboyUI/dist/pipboy-ui/styles.0f01a56d899ea41a.css b/pipboyUI/dist/pipboy-ui/styles.6561013e58b05f16.css similarity index 99% rename from pipboyUI/dist/pipboy-ui/styles.0f01a56d899ea41a.css rename to pipboyUI/dist/pipboy-ui/styles.6561013e58b05f16.css index fdc48ee..1efc09c 100644 --- a/pipboyUI/dist/pipboy-ui/styles.0f01a56d899ea41a.css +++ b/pipboyUI/dist/pipboy-ui/styles.6561013e58b05f16.css @@ -1 +1 @@ -.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#fff;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:rgba(0,0,0,0)}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:#0000}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#3f51b5}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#ff4081}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:#fff}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:#0000}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#fff;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#fff;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:#0000}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:rgba(0,0,0,0);color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:#0000}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:#0000;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:#f5f5f5;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#ff4081}@font-face{font-family:RobotoTodd;src:url(Roboto-Regular.a8e6f6203d22df08.ttf);font-weight:400;font-style:normal}@font-face{font-family:RobotoTodd;src:url(Roboto-Bold.3b887fc8dca30f62.ttf);font-weight:700;font-style:normal}@font-face{font-family:TechMono;src:url(TechMono.5c8f60d90e003254.ttf);font-weight:400;font-style:normal}html,body{height:320px;width:460px;background-color:#000}body{margin:0;font-family:RobotoTodd,Helvetica Neue,sans-serif;color:#00f200}.activeHeader{border-left:2px solid rgb(0,242,0)!important;border-right:2px solid rgb(0,242,0)!important;border-bottom:1px solid black;margin-bottom:-1px!important;padding-right:5px;padding-left:5px}.baseActiveHeader{text-transform:uppercase;font-weight:700;margin-bottom:0;margin-top:5px;border-right:2px solid transparent;border-left:2px solid transparent;padding-right:5px;padding-left:5px}.inactiveHeader{color:#00f2004d}.footer{#background-color: rgba(0,242,0,.3);position:fixed;left:0;bottom:0;width:460px;height:6.5%}.footer-text{background-color:#00f2004d}.menu-selected{background-color:#00f200;color:#000}.mat-dialog-container{background:black;color:#00f200;padding:0!important;width:460px!important}.mat-dialog-content{max-height:100vh!important;margin:0!important}.cdk-overlay-pane{max-width:100%!important}.rotating-image{animation:rotateY 3s linear infinite}@keyframes rotateY{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}.keyboard_key{border:1px rgba(0,242,0,.3) solid;margin:unset!important;padding:4px;min-width:20px;text-align:center}.keyboard_current{background-color:#00f200;color:#000} +.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#fff;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:rgba(0,0,0,0)}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:#0000}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#3f51b5}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#ff4081}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:#fff}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:#0000}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#fff;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#fff;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:#0000}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:rgba(0,0,0,0);color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:#0000}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:#0000;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:#f5f5f5;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#ff4081}@font-face{font-family:RobotoTodd;src:url(Roboto-Regular.a8e6f6203d22df08.ttf);font-weight:400;font-style:normal}@font-face{font-family:RobotoTodd;src:url(Roboto-Bold.3b887fc8dca30f62.ttf);font-weight:700;font-style:normal}@font-face{font-family:TechMono;src:url(TechMono.5c8f60d90e003254.ttf);font-weight:400;font-style:normal}html,body{height:320px;width:460px;background-color:#000}body{margin:0;font-family:RobotoTodd,Helvetica Neue,sans-serif;color:#00f200}.activeHeader{border-left:2px solid rgb(0,242,0)!important;border-right:2px solid rgb(0,242,0)!important;border-bottom:1px solid black;margin-bottom:-1px!important;padding-right:5px;padding-left:5px}.baseActiveHeader{text-transform:uppercase;font-weight:700;margin-bottom:0;margin-top:5px;border-right:2px solid transparent;border-left:2px solid transparent;padding-right:5px;padding-left:5px}.inactiveHeader{color:#00f2004d}.footer{#background-color: rgba(0,242,0,.3);position:fixed;left:0;bottom:0;width:460px;height:6.5%}.footer-text,.secondary-color{background-color:#00f2004d}.menu-selected{background-color:#00f200;color:#000}.mat-dialog-container{background:black;color:#00f200;padding:0!important;width:460px!important}.mat-dialog-content{max-height:100vh!important;margin:0!important}.cdk-overlay-pane{max-width:100%!important}.rotating-image{animation:rotateY 3s linear infinite}@keyframes rotateY{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}.keyboard_key{border:1px rgba(0,242,0,.3) solid;margin:unset!important;padding:4px;min-width:20px;text-align:center}.keyboard_current{background-color:#00f200;color:#000} diff --git a/pipboyUI/src/app/app-routing.module.ts b/pipboyUI/src/app/app-routing.module.ts index 0fe3833..80b526d 100644 --- a/pipboyUI/src/app/app-routing.module.ts +++ b/pipboyUI/src/app/app-routing.module.ts @@ -11,6 +11,9 @@ import {StatusLowerHeaderComponent} from "./components/LowerHeaders/Stats/status import {InventoryAppsComponent} from "./components/LowerHeaders/Inventory/inventory-apps.component"; import {InventoryCustomComponent} from "./components/LowerHeaders/Inventory/inventory-custom.component"; import {MeshtasticHeaderComponent} from "./components/UpperHeaders/meshtastic-header.component"; +import {MeshMyNodeComponent} from "./components/LowerHeaders/meshtastic/mesh-my-node.component"; +import {MeshListNodeComponent} from "./components/LowerHeaders/meshtastic/mesh-list-node.component"; +import {MeshChannelComponent} from "./components/LowerHeaders/meshtastic/mesh-channel.component"; const routes: Routes = [ { @@ -52,7 +55,13 @@ const routes: Routes = [ }, { path: 'mesh', - component: MeshtasticHeaderComponent + component: MeshtasticHeaderComponent, + children: [ + {path: '', redirectTo: 'my', pathMatch: 'full'}, + {path: "my", component: MeshMyNodeComponent}, + {path: "list", component: MeshListNodeComponent}, + {path: "channel/:index", component: MeshChannelComponent} + ] } ] } diff --git a/pipboyUI/src/app/app.module.ts b/pipboyUI/src/app/app.module.ts index a8b8537..9a3db74 100644 --- a/pipboyUI/src/app/app.module.ts +++ b/pipboyUI/src/app/app.module.ts @@ -23,6 +23,9 @@ import {IframeAppComponent} from "./components/apps/iframe-app.component"; import {RadioComponent} from "./components/LowerHeaders/Radio/radio.component"; import {KeyboardAppComponent} from "./components/apps/keyboard-app.component"; import {MeshtasticHeaderComponent} from "./components/UpperHeaders/meshtastic-header.component"; +import {MeshMyNodeComponent} from "./components/LowerHeaders/meshtastic/mesh-my-node.component"; +import {MeshListNodeComponent} from "./components/LowerHeaders/meshtastic/mesh-list-node.component"; +import {MeshChannelComponent} from "./components/LowerHeaders/meshtastic/mesh-channel.component"; @NgModule({ declarations: [ @@ -41,7 +44,10 @@ import {MeshtasticHeaderComponent} from "./components/UpperHeaders/meshtastic-he RadioComponent, KeyboardAppComponent, // - MeshtasticHeaderComponent + MeshtasticHeaderComponent, + MeshMyNodeComponent, + MeshListNodeComponent, + MeshChannelComponent ], imports: [ BrowserModule, diff --git a/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-channel.component.ts b/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-channel.component.ts new file mode 100644 index 0000000..d1f9596 --- /dev/null +++ b/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-channel.component.ts @@ -0,0 +1,12 @@ +import {Component} from "@angular/core"; +import {AbsListSelect} from "../../abstract/AbsListSelect"; + +@Component({ + selector: 'app-mesh-channel', + template: ` + ` +}) +export class MeshChannelComponent extends AbsListSelect { + + +} diff --git a/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-list-node.component.ts b/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-list-node.component.ts new file mode 100644 index 0000000..9fca128 --- /dev/null +++ b/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-list-node.component.ts @@ -0,0 +1,77 @@ +import {Component, ElementRef, OnInit, QueryList, ViewChildren} from "@angular/core"; +import {IOService} from "../../../services/IOService"; +import {MeshtasticService} from "../../../services/MeshtasticService"; +import {AbsListSelect} from "../../abstract/AbsListSelect"; +import {MatDialog} from "@angular/material/dialog"; +import {AppsService} from "../../../services/AppsService"; +import {RadioControl} from "../Radio/radio.component"; + +@Component({ + selector: 'app-mesh-list-node', + template: ` +
+
+
+

{{el.name}}

+
+
+
+
+
+

{{selected?.name}}

+
+
+

{{el.name}}

+
+
+
+ ` +}) +export class MeshListNodeComponent extends AbsListSelect implements OnInit { + constructor(public io: IOService, + public meshtastic: MeshtasticService, + protected dialog: MatDialog, + protected apps: AppsService) { + super(); + } + + override elementsRight:any[] = [ + {name: "Написать", action: () => {this.apps.openKeyboard().subscribe((res) => {console.log(res); this.apps.inApp = false})}}, + {name: "Сообщения", action: () => {}}, + {name: "Трасировка*", action: () => {}} + ] + + override selectedRight:any = this.elementsRight[0] + + createSub() { + this.sub = this.io.keys.subscribe((code) => { + if (this.apps.inApp) return; + switch (code) { + case "KeyA": { + this.currentSide = "LEFT" + break + } + case "KeyD": { + this.currentSide = "RIGHT"; + break + } + default: { + super.choiceItem(code) + } + } + }); + } + + override ngOnInit() { + this.createSub() + this.elements = this.meshtastic.nodes; + this.meshtastic.nodesChange.subscribe( + (listen:any) => { + this.elements = this.meshtastic.nodes; + if (this.selected == undefined) { + this.selected = this.elements[0]; + } + } + ) + } +} diff --git a/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-my-node.component.ts b/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-my-node.component.ts new file mode 100644 index 0000000..a387fa4 --- /dev/null +++ b/pipboyUI/src/app/components/LowerHeaders/meshtastic/mesh-my-node.component.ts @@ -0,0 +1,10 @@ +import {Component} from "@angular/core"; + +@Component({ + selector: 'app-mesh-my-node', + template: ` + ` +}) +export class MeshMyNodeComponent { + +} diff --git a/pipboyUI/src/app/components/UpperHeaders/meshtastic-header.component.ts b/pipboyUI/src/app/components/UpperHeaders/meshtastic-header.component.ts index bcca064..7837bbb 100644 --- a/pipboyUI/src/app/components/UpperHeaders/meshtastic-header.component.ts +++ b/pipboyUI/src/app/components/UpperHeaders/meshtastic-header.component.ts @@ -1,4 +1,4 @@ -import {Component} from "@angular/core"; +import {Component, OnInit} from "@angular/core"; import { AVAILABLE, ERR, @@ -7,17 +7,23 @@ import { RECONNECT, WAIT_CONFIG, WS_ERR } from "../../services/MeshtasticService"; +import {AbsNavsHeaderComponent, UpHeader} from "../abstract/abs-navs-header.component"; +import {ActivatedRoute, Router} from "@angular/router"; +import {MeshMyNodeComponent} from "../LowerHeaders/meshtastic/mesh-my-node.component"; +import {MeshListNodeComponent} from "../LowerHeaders/meshtastic/mesh-list-node.component"; +import {IOService} from "../../services/IOService"; +import {MeshChannelComponent} from "../LowerHeaders/meshtastic/mesh-channel.component"; @Component({ selector: "app-meshtastic-header", template: `
-

MY

-

NODES

-

{{c.name}}

+

{{nav.name}}

- +
` }) -export class MeshtasticHeaderComponent { - constructor(public meshtastic: MeshtasticService) { +export class MeshtasticHeaderComponent extends AbsNavsHeaderComponent implements OnInit { + path = "mesh"; + constructor(public meshtastic: MeshtasticService, + route: ActivatedRoute, + router: Router, + public io: IOService) { + super(route, router); + this.meshtastic.channelChange.subscribe( + (listen:any) => { + let base = [ + {name: "my", path: "my", action: () => {}, component: MeshMyNodeComponent.name}, + {name: "list", path: "list", action: () => {}, component: MeshListNodeComponent.name} + ] + base.push(... + this.meshtastic.channels.map((ch) => { + return {name: `${ch.name}`, path: `channel/${ch.index}`, action: () => {}, component: MeshChannelComponent.name} + })); + console.log(base); + super.navs = base; + } + ) + } + + override isActiveHeader(header: UpHeader): boolean { + let res = this.route.firstChild?.component?.name == header.component; + if (this.route.firstChild?.snapshot.params) { + const split = header.path.split("/") + if (split.length>1) { + res = res && this.route.firstChild?.snapshot.params["index"] == split[1]; + } + } + if (res) + this.currentNav = header; + return res; } getMeshState(): string { @@ -48,4 +86,15 @@ export class MeshtasticHeaderComponent { default: return "Хуй знает"; } } + + override selectHeader(header: UpHeader) { + super.selectHeader(header, [this.path]); + } + + override ngOnInit(): void { + this.sub = this.io.keys.subscribe((code) => { + //if (this.apps.inApp) return; + super.choiceHeader(code); + }) + } } diff --git a/pipboyUI/src/app/components/abstract/AbsListSelect.ts b/pipboyUI/src/app/components/abstract/AbsListSelect.ts index 278655c..b342789 100644 --- a/pipboyUI/src/app/components/abstract/AbsListSelect.ts +++ b/pipboyUI/src/app/components/abstract/AbsListSelect.ts @@ -1,4 +1,4 @@ -import {Component, OnDestroy, OnInit} from "@angular/core"; +import {Component, ElementRef, OnDestroy, OnInit, QueryList, ViewChildren} from "@angular/core"; import {Subscription} from "rxjs"; @Component({template:""}) @@ -13,6 +13,24 @@ export abstract class AbsListSelect implements OnInit, OnDestroy{ sub?: Subscription; + @ViewChildren('menuItem') menuItems!: QueryList; + + isSelected(el:any):boolean { + const res = el == this.selected; + if (res && this.menuItems) { + const itemsArray = this.menuItems.toArray(); + const selectedIndex = this.elements.indexOf(this.selected); + if (selectedIndex !== -1 && itemsArray[selectedIndex]) { + itemsArray[selectedIndex].nativeElement.scrollIntoView({ + behavior: 'smooth', + block: 'center' + }); + } + } + + return res; + } + choiceItem(code: string) { switch (this.currentSide) { case "LEFT": return this.choiceLeft(code) diff --git a/pipboyUI/src/app/components/abstract/abs-navs-header.component.ts b/pipboyUI/src/app/components/abstract/abs-navs-header.component.ts index 1e12e2f..3c79441 100644 --- a/pipboyUI/src/app/components/abstract/abs-navs-header.component.ts +++ b/pipboyUI/src/app/components/abstract/abs-navs-header.component.ts @@ -33,13 +33,17 @@ export abstract class AbsNavsHeaderComponent implements OnInit, OnDestroy { isActiveHeader(header: UpHeader) { const res = this.route.firstChild?.component?.name == header.component; + //this.route.params.subscribe( + // (res) => console.log(res) + //) + //console.log() if (res) this.currentNav = header; return res; } selectHeader(header: UpHeader, parent: string[] = []) { - parent.push(header.path) + parent.push(...header.path.split("/")) this.router.navigate(parent) } @@ -47,13 +51,13 @@ export abstract class AbsNavsHeaderComponent implements OnInit, OnDestroy { if (this.currentNav != undefined) { const curIdx = this.navs.indexOf(this.currentNav) switch (code) { - case "KeyA": { + case "KeyQ": { if (curIdx -1 < 0) { this.selectHeader(this.navs[this.navs.length-1]) } else this.selectHeader(this.navs[curIdx -1]) break; } - case "KeyD": { + case "KeyE": { if (curIdx + 1 >= this.navs.length) this.selectHeader(this.navs[0]) else this.selectHeader(this.navs[curIdx+1]) diff --git a/pipboyUI/src/app/services/AppsService.ts b/pipboyUI/src/app/services/AppsService.ts index e97da92..1dcce6d 100644 --- a/pipboyUI/src/app/services/AppsService.ts +++ b/pipboyUI/src/app/services/AppsService.ts @@ -1,8 +1,23 @@ import {Injectable} from "@angular/core"; +import {MatDialog} from "@angular/material/dialog"; +import {Observable} from "rxjs"; +import {KeyboardAppComponent} from "../components/apps/keyboard-app.component"; @Injectable({ providedIn: 'root' }) export class AppsService { inApp: boolean = false; + constructor(private dialog: MatDialog) { + } + + openApp(app: any, data: any = {}):Observable { + this.inApp = true; + const ref = this.dialog.open(app, {width: '100%', height: '100%', disableClose: true, data: data}); + return ref.afterClosed() + } + + openKeyboard(): Observable { + return this.openApp(KeyboardAppComponent); + } } diff --git a/pipboyUI/src/app/services/MeshtasticService.ts b/pipboyUI/src/app/services/MeshtasticService.ts index 899eb97..e1ad6a5 100644 --- a/pipboyUI/src/app/services/MeshtasticService.ts +++ b/pipboyUI/src/app/services/MeshtasticService.ts @@ -36,7 +36,9 @@ interface MeshChannel { export class MeshtasticService { private socket$?: any; public channels: MeshChannel[] = []; + public channelChange = new BehaviorSubject(0); public nodes: MeshNodeShort[] = []; + public nodesChange = new BehaviorSubject(0); public messages = new BehaviorSubject('{}') public state: number = NOT_CONNECTED; public meshId: number = 0; @@ -80,6 +82,7 @@ export class MeshtasticService { let idx = this.nodes.indexOf(s_node[0]) this.nodes[idx] = node } + this.nodesChange.next(new Date().getTime()); break; } @@ -97,6 +100,7 @@ export class MeshtasticService { let idx = this.channels.indexOf(s_channel[0]); this.channels[idx] = channel; } + this.channelChange.next(new Date().getTime()); break; } diff --git a/pipboyUI/src/styles.scss b/pipboyUI/src/styles.scss index 7017455..405a374 100644 --- a/pipboyUI/src/styles.scss +++ b/pipboyUI/src/styles.scss @@ -69,6 +69,10 @@ body { background-color: $secondary-color; } +.secondary-color { + background-color: $secondary-color; +} + .menu-selected { background-color: $primary-color; color: black;