blockcore-notes/main.20d9b188107df946.js
2022-12-21 00:24:19 +00:00

1 line
516 KiB
JavaScript

"use strict";(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{854:()=>{function ye(i){return"function"==typeof i}function wa(i){const e=i(n=>{Error.call(n),n.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const mc=wa(i=>function(e){i(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function eo(i,t){if(i){const e=i.indexOf(t);0<=e&&i.splice(e,1)}}class Qe{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(ye(n))try{n()}catch(o){t=o instanceof mc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Jg(o)}catch(a){t=t??[],a instanceof mc?t=[...t,...a.errors]:t.push(a)}}if(t)throw new mc(t)}}add(t){var e;if(t&&t!==this)if(this.closed)Jg(t);else{if(t instanceof Qe){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&eo(e,t)}remove(t){const{_finalizers:e}=this;e&&eo(e,t),t instanceof Qe&&t._removeParent(this)}}Qe.EMPTY=(()=>{const i=new Qe;return i.closed=!0,i})();const Xg=Qe.EMPTY;function Zg(i){return i instanceof Qe||i&&"closed"in i&&ye(i.remove)&&ye(i.add)&&ye(i.unsubscribe)}function Jg(i){ye(i)?i():i.unsubscribe()}const lr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},pc={setTimeout(i,t,...e){const{delegate:n}=pc;return n?.setTimeout?n.setTimeout(i,t,...e):setTimeout(i,t,...e)},clearTimeout(i){const{delegate:t}=pc;return(t?.clearTimeout||clearTimeout)(i)},delegate:void 0};function e_(i){pc.setTimeout(()=>{const{onUnhandledError:t}=lr;if(!t)throw i;t(i)})}function Ca(){}const xS=Mu("C",void 0,void 0);function Mu(i,t,e){return{kind:i,value:t,error:e}}let dr=null;function fc(i){if(lr.useDeprecatedSynchronousErrorHandling){const t=!dr;if(t&&(dr={errorThrown:!1,error:null}),i(),t){const{errorThrown:e,error:n}=dr;if(dr=null,e)throw n}}else i()}class Du extends Qe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zg(t)&&t.add(this)):this.destination=SS}static create(t,e,n){return new Ma(t,e,n)}next(t){this.isStopped?Eu(function CS(i){return Mu("N",i,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Eu(function wS(i){return Mu("E",void 0,i)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Eu(xS,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const DS=Function.prototype.bind;function ku(i,t){return DS.call(i,t)}class kS{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(n){gc(n)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(n){gc(n)}else gc(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){gc(e)}}}class Ma extends Du{constructor(t,e,n){let r;if(super(),ye(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&lr.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&ku(t.next,o),error:t.error&&ku(t.error,o),complete:t.complete&&ku(t.complete,o)}):r=t}this.destination=new kS(r)}}function gc(i){lr.useDeprecatedSynchronousErrorHandling?function MS(i){lr.useDeprecatedSynchronousErrorHandling&&dr&&(dr.errorThrown=!0,dr.error=i)}(i):e_(i)}function Eu(i,t){const{onStoppedNotification:e}=lr;e&&pc.setTimeout(()=>e(i,t))}const SS={closed:!0,next:Ca,error:function ES(i){throw i},complete:Ca},Su="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vn(i){return i}function t_(i){return 0===i.length?Vn:1===i.length?i[0]:function(e){return i.reduce((n,r)=>r(n),e)}}let Oe=(()=>{class i{constructor(e){e&&(this._subscribe=e)}lift(e){const n=new i;return n.source=this,n.operator=e,n}subscribe(e,n,r){const o=function AS(i){return i&&i instanceof Du||function IS(i){return i&&ye(i.next)&&ye(i.error)&&ye(i.complete)}(i)&&Zg(i)}(e)?e:new Ma(e,n,r);return fc(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return new(n=i_(n))((r,o)=>{const a=new Ma({next:s=>{try{e(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(e)}[Su](){return this}pipe(...e){return t_(e)(this)}toPromise(e){return new(e=i_(e))((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return i.create=t=>new i(t),i})();function i_(i){var t;return null!==(t=i??lr.Promise)&&void 0!==t?t:Promise}const RS=wa(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let G=(()=>{class i extends Oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const n=new n_(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new RS}next(e){fc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(e)}})}error(e){fc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){fc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:n,isStopped:r,observers:o}=this;return n||r?Xg:(this.currentObservers=null,o.push(e),new Qe(()=>{this.currentObservers=null,eo(o,e)}))}_checkFinalizedStatuses(e){const{hasError:n,thrownError:r,isStopped:o}=this;n?e.error(r):o&&e.complete()}asObservable(){const e=new Oe;return e.source=this,e}}return i.create=(t,e)=>new n_(t,e),i})();class n_ extends G{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:Xg}}function r_(i){return ye(i?.lift)}function Ye(i){return t=>{if(r_(t))return t.lift(function(e){try{return i(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function $e(i,t,e,n,r){return new FS(i,t,e,n,r)}class FS extends Du{constructor(t,e,n,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){t.error(c)}}:super._next,this._error=r?function(s){try{r(s)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function U(i,t){return Ye((e,n)=>{let r=0;e.subscribe($e(n,o=>{n.next(i.call(t,o,r++))}))})}function ur(i){return this instanceof ur?(this.v=i,this):new ur(i)}function NS(i,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=e.apply(i,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(h){n[h]&&(r[h]=function(p){return new Promise(function(f,g){o.push([h,p,f,g])>1||s(h,p)})})}function s(h,p){try{!function c(h){h.value instanceof ur?Promise.resolve(h.value.v).then(l,d):u(o[0][2],h)}(n[h](p))}catch(f){u(o[0][3],f)}}function l(h){s("next",h)}function d(h){s("throw",h)}function u(h,p){h(p),o.shift(),o.length&&s(o[0][0],o[0][1])}}function LS(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=i[Symbol.asyncIterator];return t?t.call(i):(i=function s_(i){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&i[t],n=0;if(e)return e.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&n>=i.length&&(i=void 0),{value:i&&i[n++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=i[o]&&function(a){return new Promise(function(s,c){!function r(o,a,s,c){Promise.resolve(c).then(function(l){o({value:l,done:s})},a)}(s,c,(a=i[o](a)).done,a.value)})}}}const Iu=i=>i&&"number"==typeof i.length&&"function"!=typeof i;function c_(i){return ye(i?.then)}function l_(i){return ye(i[Su])}function d_(i){return Symbol.asyncIterator&&ye(i?.[Symbol.asyncIterator])}function u_(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const h_=function VS(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function m_(i){return ye(i?.[h_])}function p_(i){return NS(this,arguments,function*(){const e=i.getReader();try{for(;;){const{value:n,done:r}=yield ur(e.read());if(r)return yield ur(void 0);yield yield ur(n)}}finally{e.releaseLock()}})}function f_(i){return ye(i?.getReader)}function Lt(i){if(i instanceof Oe)return i;if(null!=i){if(l_(i))return function HS(i){return new Oe(t=>{const e=i[Su]();if(ye(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(Iu(i))return function jS(i){return new Oe(t=>{for(let e=0;e<i.length&&!t.closed;e++)t.next(i[e]);t.complete()})}(i);if(c_(i))return function zS(i){return new Oe(t=>{i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,e_)})}(i);if(d_(i))return g_(i);if(m_(i))return function US(i){return new Oe(t=>{for(const e of i)if(t.next(e),t.closed)return;t.complete()})}(i);if(f_(i))return function $S(i){return g_(p_(i))}(i)}throw u_(i)}function g_(i){return new Oe(t=>{(function GS(i,t){var e,n,r,o;return function OS(i,t,e,n){return new(e||(e=Promise))(function(o,a){function s(d){try{l(n.next(d))}catch(u){a(u)}}function c(d){try{l(n.throw(d))}catch(u){a(u)}}function l(d){d.done?o(d.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(d.value).then(s,c)}l((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=LS(i);!(n=yield e.next()).done;)if(t.next(n.value),t.closed)return}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(i,t).catch(e=>t.error(e))})}function cn(i,t,e,n=0,r=!1){const o=t.schedule(function(){e(),r?i.add(this.schedule(null,n)):this.unsubscribe()},n);if(i.add(o),!r)return o}function ut(i,t,e=1/0){return ye(t)?ut((n,r)=>U((o,a)=>t(n,o,r,a))(Lt(i(n,r))),e):("number"==typeof t&&(e=t),Ye((n,r)=>function WS(i,t,e,n,r,o,a,s){const c=[];let l=0,d=0,u=!1;const h=()=>{u&&!c.length&&!l&&t.complete()},p=g=>l<n?f(g):c.push(g),f=g=>{o&&t.next(g),l++;let _=!1;Lt(e(g,d++)).subscribe($e(t,w=>{r?.(w),o?p(w):t.next(w)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<n;){const w=c.shift();a?cn(t,a,()=>f(w)):f(w)}h()}catch(w){t.error(w)}}))};return i.subscribe($e(t,p,()=>{u=!0,h()})),()=>{s?.()}}(n,r,i,e)))}function to(i=1/0){return ut(Vn,i)}const ln=new Oe(i=>i.complete());function __(i){return i&&ye(i.schedule)}function Au(i){return i[i.length-1]}function b_(i){return ye(Au(i))?i.pop():void 0}function Da(i){return __(Au(i))?i.pop():void 0}function v_(i,t=0){return Ye((e,n)=>{e.subscribe($e(n,r=>cn(n,i,()=>n.next(r),t),()=>cn(n,i,()=>n.complete(),t),r=>cn(n,i,()=>n.error(r),t)))})}function y_(i,t=0){return Ye((e,n)=>{n.add(i.schedule(()=>e.subscribe(n),t))})}function x_(i,t){if(!i)throw new Error("Iterable cannot be null");return new Oe(e=>{cn(e,t,()=>{const n=i[Symbol.asyncIterator]();cn(e,t,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function tt(i,t){return t?function eT(i,t){if(null!=i){if(l_(i))return function QS(i,t){return Lt(i).pipe(y_(t),v_(t))}(i,t);if(Iu(i))return function XS(i,t){return new Oe(e=>{let n=0;return t.schedule(function(){n===i.length?e.complete():(e.next(i[n++]),e.closed||this.schedule())})})}(i,t);if(c_(i))return function KS(i,t){return Lt(i).pipe(y_(t),v_(t))}(i,t);if(d_(i))return x_(i,t);if(m_(i))return function ZS(i,t){return new Oe(e=>{let n;return cn(e,t,()=>{n=i[h_](),cn(e,t,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>ye(n?.return)&&n.return()})}(i,t);if(f_(i))return function JS(i,t){return x_(p_(i),t)}(i,t)}throw u_(i)}(i,t):Lt(i)}function ki(...i){const t=Da(i),e=function YS(i,t){return"number"==typeof Au(i)?i.pop():t}(i,1/0),n=i;return n.length?1===n.length?Lt(n[0]):to(e)(tt(n,t)):ln}function w_(i={}){const{connector:t=(()=>new G),resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=i;return o=>{let a,s,c,l=0,d=!1,u=!1;const h=()=>{s?.unsubscribe(),s=void 0},p=()=>{h(),a=c=void 0,d=u=!1},f=()=>{const g=a;p(),g?.unsubscribe()};return Ye((g,_)=>{l++,!u&&!d&&h();const w=c=c??t();_.add(()=>{l--,0===l&&!u&&!d&&(s=Ru(f,r))}),w.subscribe(_),!a&&l>0&&(a=new Ma({next:E=>w.next(E),error:E=>{u=!0,h(),s=Ru(p,e,E),w.error(E)},complete:()=>{d=!0,h(),s=Ru(p,n),w.complete()}}),Lt(g).subscribe(a))})(o)}}function Ru(i,t,...e){if(!0===t)return void i();if(!1===t)return;const n=new Ma({next:()=>{n.unsubscribe(),i()}});return t(...e).subscribe(n)}function Ve(i){for(let t in i)if(i[t]===Ve)return t;throw Error("Could not find renamed property on target object.")}function Fu(i,t){for(const e in t)t.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(i[e]=t[e])}function He(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(He).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const t=i.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Ou(i,t){return null==i||""===i?null===t?"":t:null==t||""===t?i:i+" "+t}const tT=Ve({__forward_ref__:Ve});function Ee(i){return i.__forward_ref__=Ee,i.toString=function(){return He(this())},i}function X(i){return Pu(i)?i():i}function Pu(i){return"function"==typeof i&&i.hasOwnProperty(tT)&&i.__forward_ref__===Ee}function Nu(i){return i&&!!i.\u0275providers}const _c="https://g.co/ng/security#xss";class C extends Error{constructor(t,e){super(function bc(i,t){return`NG0${Math.abs(i)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function oe(i){return"string"==typeof i?i:null==i?"":String(i)}function vc(i,t){throw new C(-201,!1)}function di(i,t){null==i&&function Ne(i,t,e,n){throw new Error(`ASSERTION ERROR: ${i}`+(null==n?"":` [Expected=> ${e} ${n} ${t} <=Actual]`))}(t,i,null,"!=")}function S(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function W(i){return{providers:i.providers||[],imports:i.imports||[]}}function yc(i){return C_(i,xc)||C_(i,D_)}function C_(i,t){return i.hasOwnProperty(t)?i[t]:null}function M_(i){return i&&(i.hasOwnProperty(Lu)||i.hasOwnProperty(dT))?i[Lu]:null}const xc=Ve({\u0275prov:Ve}),Lu=Ve({\u0275inj:Ve}),D_=Ve({ngInjectableDef:Ve}),dT=Ve({ngInjectorDef:Ve});var Z=(()=>((Z=Z||{})[Z.Default=0]="Default",Z[Z.Host=1]="Host",Z[Z.Self=2]="Self",Z[Z.SkipSelf=4]="SkipSelf",Z[Z.Optional=8]="Optional",Z))();let Bu;function ui(i){const t=Bu;return Bu=i,t}function k_(i,t,e){const n=yc(i);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:e&Z.Optional?null:void 0!==t?t:void vc(He(i))}const je=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ka={},Vu="__NG_DI_FLAG__",wc="ngTempTokenPath",mT=/\n/gm,E_="__source";let Ea;function io(i){const t=Ea;return Ea=i,t}function fT(i,t=Z.Default){if(void 0===Ea)throw new C(-203,!1);return null===Ea?k_(i,void 0,t):Ea.get(i,t&Z.Optional?null:void 0,t)}function b(i,t=Z.Default){return(function uT(){return Bu}()||fT)(X(i),t)}function he(i,t=Z.Default){return b(i,Cc(t))}function Cc(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Hu(i){const t=[];for(let e=0;e<i.length;e++){const n=X(i[e]);if(Array.isArray(n)){if(0===n.length)throw new C(900,!1);let r,o=Z.Default;for(let a=0;a<n.length;a++){const s=n[a],c=gT(s);"number"==typeof c?-1===c?r=s.token:o|=c:r=s}t.push(b(r,o))}else t.push(b(n))}return t}function Sa(i,t){return i[Vu]=t,i.prototype[Vu]=t,i}function gT(i){return i[Vu]}function jn(i){return{toString:i}.toString()}var Ei=(()=>((Ei=Ei||{})[Ei.OnPush=0]="OnPush",Ei[Ei.Default=1]="Default",Ei))(),Si=(()=>{return(i=Si||(Si={}))[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",Si;var i})();const dn={},Ie=[],Mc=Ve({\u0275cmp:Ve}),ju=Ve({\u0275dir:Ve}),zu=Ve({\u0275pipe:Ve}),T_=Ve({\u0275mod:Ve}),un=Ve({\u0275fac:Ve}),Ta=Ve({__NG_ELEMENT_ID__:Ve});let vT=0;function J(i){return jn(()=>{const e=!0===i.standalone,n={},r={type:i.type,providersResolver:null,decls:i.decls,vars:i.vars,factory:null,template:i.template||null,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:i.exportAs||null,onPush:i.changeDetection===Ei.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&i.dependencies||null,getStandaloneInjector:null,selectors:i.selectors||Ie,viewQuery:i.viewQuery||null,features:i.features||null,data:i.data||{},encapsulation:i.encapsulation||Si.Emulated,id:"c"+vT++,styles:i.styles||Ie,_:null,setInput:null,schemas:i.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=i.dependencies,a=i.features;return r.inputs=R_(i.inputs,n),r.outputs=R_(i.outputs),a&&a.forEach(s=>s(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(I_).filter(A_):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Bt).filter(A_):null,r})}function I_(i){return Le(i)||Tt(i)}function A_(i){return null!==i}function Y(i){return jn(()=>({type:i.type,bootstrap:i.bootstrap||Ie,declarations:i.declarations||Ie,imports:i.imports||Ie,exports:i.exports||Ie,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function R_(i,t){if(null==i)return dn;const e={};for(const n in i)if(i.hasOwnProperty(n)){let r=i[n],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=n,t&&(t[r]=o)}return e}const v=J;function Le(i){return i[Mc]||null}function Tt(i){return i[ju]||null}function Bt(i){return i[zu]||null}function ei(i,t){const e=i[T_]||null;if(!e&&!0===t)throw new Error(`Type ${He(i)} does not have '\u0275mod' property.`);return e}function ti(i){return Array.isArray(i)&&"object"==typeof i[1]}function Ii(i){return Array.isArray(i)&&!0===i[1]}function Gu(i){return 0!=(4&i.flags)}function Fa(i){return i.componentOffset>-1}function Tc(i){return 1==(1&i.flags)}function Ai(i){return null!==i.template}function wT(i){return 0!=(256&i[2])}function mr(i,t){return i.hasOwnProperty(un)?i[un]:null}class DT{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function yt(){return B_}function B_(i){return i.type.prototype.ngOnChanges&&(i.setInput=ET),kT}function kT(){const i=H_(this),t=i?.current;if(t){const e=i.previous;if(e===dn)i.previous=t;else for(let n in t)e[n]=t[n];i.current=null,this.ngOnChanges(t)}}function ET(i,t,e,n){const r=this.declaredInputs[e],o=H_(i)||function ST(i,t){return i[V_]=t}(i,{previous:dn,current:null}),a=o.current||(o.current={}),s=o.previous,c=s[r];a[r]=new DT(c&&c.currentValue,t,s===dn),i[n]=t}yt.ngInherit=!0;const V_="__ngSimpleChanges__";function H_(i){return i[V_]||null}function xt(i){for(;Array.isArray(i);)i=i[0];return i}function Ic(i,t){return xt(t[i])}function ii(i,t){return xt(t[i.index])}function U_(i,t){return i.data[t]}function ni(i,t){const e=t[i];return ti(e)?e:e[0]}function Ac(i){return 64==(64&i[2])}function zn(i,t){return null==t?null:i[t]}function $_(i){i[18]=0}function qu(i,t){i[5]+=t;let e=i,n=i[3];for(;null!==n&&(1===t&&1===e[5]||-1===t&&0===e[5]);)n[5]+=t,e=n,n=n[3]}const ae={lFrame:eb(null),bindingsEnabled:!0};function W_(){return ae.bindingsEnabled}function M(){return ae.lFrame.lView}function De(){return ae.lFrame.tView}function Ri(i){return ae.lFrame.contextLView=i,i[8]}function Fi(i){return ae.lFrame.contextLView=null,i}function wt(){let i=q_();for(;null!==i&&64===i.type;)i=i.parent;return i}function q_(){return ae.lFrame.currentTNode}function $i(i,t){const e=ae.lFrame;e.currentTNode=i,e.isParent=t}function Yu(){return ae.lFrame.isParent}function Qu(){ae.lFrame.isParent=!1}function Ht(){const i=ae.lFrame;let t=i.bindingRootIndex;return-1===t&&(t=i.bindingRootIndex=i.tView.bindingStartIndex),t}function lo(){return ae.lFrame.bindingIndex++}function jT(i,t){const e=ae.lFrame;e.bindingIndex=e.bindingRootIndex=i,Ku(t)}function Ku(i){ae.lFrame.currentDirectiveIndex=i}function Xu(i){const t=ae.lFrame.currentDirectiveIndex;return-1===t?null:i[t]}function X_(){return ae.lFrame.currentQueryIndex}function Zu(i){ae.lFrame.currentQueryIndex=i}function UT(i){const t=i[1];return 2===t.type?t.declTNode:1===t.type?i[6]:null}function Z_(i,t,e){if(e&Z.SkipSelf){let r=t,o=i;for(;!(r=r.parent,null!==r||e&Z.Host||(r=UT(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,i=o}const n=ae.lFrame=J_();return n.currentTNode=t,n.lView=i,!0}function Ju(i){const t=J_(),e=i[1];ae.lFrame=t,t.currentTNode=e.firstChild,t.lView=i,t.tView=e,t.contextLView=i,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function J_(){const i=ae.lFrame,t=null===i?null:i.child;return null===t?eb(i):t}function eb(i){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return null!==i&&(i.child=t),t}function tb(){const i=ae.lFrame;return ae.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const ib=tb;function eh(){const i=tb();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function jt(){return ae.lFrame.selectedIndex}function pr(i){ae.lFrame.selectedIndex=i}function Ke(){const i=ae.lFrame;return U_(i.tView,i.selectedIndex)}function Fc(i,t){for(let e=t.directiveStart,n=t.directiveEnd;e<n;e++){const o=i.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=o;a&&(i.contentHooks||(i.contentHooks=[])).push(-e,a),s&&((i.contentHooks||(i.contentHooks=[])).push(e,s),(i.contentCheckHooks||(i.contentCheckHooks=[])).push(e,s)),c&&(i.viewHooks||(i.viewHooks=[])).push(-e,c),l&&((i.viewHooks||(i.viewHooks=[])).push(e,l),(i.viewCheckHooks||(i.viewCheckHooks=[])).push(e,l)),null!=d&&(i.destroyHooks||(i.destroyHooks=[])).push(e,d)}}function Oc(i,t,e){nb(i,t,3,e)}function Pc(i,t,e,n){(3&i[2])===e&&nb(i,t,e,n)}function th(i,t){let e=i[2];(3&e)===t&&(e&=2047,e+=1,i[2]=e)}function nb(i,t,e,n){const o=n??-1,a=t.length-1;let s=0;for(let c=void 0!==n?65535&i[18]:0;c<a;c++)if("number"==typeof t[c+1]){if(s=t[c],null!=n&&s>=n)break}else t[c]<0&&(i[18]+=65536),(s<o||-1==o)&&(KT(i,e,t,c),i[18]=(4294901760&i[18])+c+2),c++}function KT(i,t,e,n){const r=e[n]<0,o=e[n+1],s=i[r?-e[n]:e[n]];if(r){if(i[2]>>11<i[18]>>16&&(3&i[2])===t){i[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}class Na{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function nh(i,t,e){let n=0;for(;n<e.length;){const r=e[n];if("number"==typeof r){if(0!==r)break;n++;const o=e[n++],a=e[n++],s=e[n++];i.setAttribute(t,a,s,o)}else{const o=r,a=e[++n];ob(o)?i.setProperty(t,o,a):i.setAttribute(t,o,a),n++}}return n}function rb(i){return 3===i||4===i||6===i}function ob(i){return 64===i.charCodeAt(0)}function La(i,t){if(null!==t&&0!==t.length)if(null===i||0===i.length)i=t.slice();else{let e=-1;for(let n=0;n<t.length;n++){const r=t[n];"number"==typeof r?e=r:0===e||ab(i,e,r,null,-1===e||2===e?t[++n]:null)}}return i}function ab(i,t,e,n,r){let o=0,a=i.length;if(-1===t)a=-1;else for(;o<i.length;){const s=i[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<i.length;){const s=i[o];if("number"==typeof s)break;if(s===e){if(null===n)return void(null!==r&&(i[o+1]=r));if(n===i[o+1])return void(i[o+2]=r)}o++,null!==n&&o++,null!==r&&o++}-1!==a&&(i.splice(a,0,t),o=a+1),i.splice(o++,0,e),null!==n&&i.splice(o++,0,n),null!==r&&i.splice(o++,0,r)}function sb(i){return-1!==i}function Nc(i){return 32767&i}function Lc(i,t){let e=function eI(i){return i>>16}(i),n=t;for(;e>0;)n=n[15],e--;return n}let rh=!0;function Bc(i){const t=rh;return rh=i,t}let tI=0;const Gi={};function Vc(i,t){const e=db(i,t);if(-1!==e)return e;const n=t[1];n.firstCreatePass&&(i.injectorIndex=t.length,oh(n.data,i),oh(t,null),oh(n.blueprint,null));const r=ah(i,t),o=i.injectorIndex;if(sb(r)){const a=Nc(r),s=Lc(r,t),c=s[1].data;for(let l=0;l<8;l++)t[o+l]=s[a+l]|c[a+l]}return t[o+8]=r,o}function oh(i,t){i.push(0,0,0,0,0,0,0,0,t)}function db(i,t){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===t[i.injectorIndex+8]?-1:i.injectorIndex}function ah(i,t){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let e=0,n=null,r=t;for(;null!==r;){if(n=_b(r),null===n)return-1;if(e++,r=r[15],-1!==n.injectorIndex)return n.injectorIndex|e<<16}return-1}function sh(i,t,e){!function iI(i,t,e){let n;"string"==typeof e?n=e.charCodeAt(0)||0:e.hasOwnProperty(Ta)&&(n=e[Ta]),null==n&&(n=e[Ta]=tI++);const r=255&n;t.data[i+(r>>5)]|=1<<r}(i,t,e)}function ub(i,t,e){if(e&Z.Optional||void 0!==i)return i;vc()}function hb(i,t,e,n){if(e&Z.Optional&&void 0===n&&(n=null),0==(e&(Z.Self|Z.Host))){const r=i[9],o=ui(void 0);try{return r?r.get(t,n,e&Z.Optional):k_(t,n,e&Z.Optional)}finally{ui(o)}}return ub(n,0,e)}function mb(i,t,e,n=Z.Default,r){if(null!==i){if(1024&t[2]){const a=function sI(i,t,e,n,r){let o=i,a=t;for(;null!==o&&null!==a&&1024&a[2]&&!(256&a[2]);){const s=pb(o,a,e,n|Z.Self,Gi);if(s!==Gi)return s;let c=o.parent;if(!c){const l=a[21];if(l){const d=l.get(e,Gi,n);if(d!==Gi)return d}c=_b(a),a=a[15]}o=c}return r}(i,t,e,n,Gi);if(a!==Gi)return a}const o=pb(i,t,e,n,Gi);if(o!==Gi)return o}return hb(t,e,n,r)}function pb(i,t,e,n,r){const o=function oI(i){if("string"==typeof i)return i.charCodeAt(0)||0;const t=i.hasOwnProperty(Ta)?i[Ta]:void 0;return"number"==typeof t?t>=0?255&t:aI:t}(e);if("function"==typeof o){if(!Z_(t,i,n))return n&Z.Host?ub(r,0,n):hb(t,e,n,r);try{const a=o(n);if(null!=a||n&Z.Optional)return a;vc()}finally{ib()}}else if("number"==typeof o){let a=null,s=db(i,t),c=-1,l=n&Z.Host?t[16][6]:null;for((-1===s||n&Z.SkipSelf)&&(c=-1===s?ah(i,t):t[s+8],-1!==c&&gb(n,!1)?(a=t[1],s=Nc(c),t=Lc(c,t)):s=-1);-1!==s;){const d=t[1];if(fb(o,s,d.data)){const u=rI(s,t,e,a,n,l);if(u!==Gi)return u}c=t[s+8],-1!==c&&gb(n,t[1].data[s+8]===l)&&fb(o,s,t)?(a=d,s=Nc(c),t=Lc(c,t)):s=-1}}return r}function rI(i,t,e,n,r,o){const a=t[1],s=a.data[i+8],d=Hc(s,a,e,null==n?Fa(s)&&rh:n!=a&&0!=(3&s.type),r&Z.Host&&o===s);return null!==d?fr(t,a,d,s):Gi}function Hc(i,t,e,n,r){const o=i.providerIndexes,a=t.data,s=1048575&o,c=i.directiveStart,d=o>>20,h=r?s+d:i.directiveEnd;for(let p=n?s:s+d;p<h;p++){const f=a[p];if(p<c&&e===f||p>=c&&f.type===e)return p}if(r){const p=a[c];if(p&&Ai(p)&&p.type===e)return c}return null}function fr(i,t,e,n){let r=i[e];const o=t.data;if(function XT(i){return i instanceof Na}(r)){const a=r;a.resolving&&function iT(i,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${i}`:"";throw new C(-200,`Circular dependency in DI detected for ${i}${e}`)}(function Pe(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():oe(i)}(o[e]));const s=Bc(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?ui(a.injectImpl):null;Z_(i,n,Z.Default);try{r=i[e]=a.factory(void 0,o,i,n),t.firstCreatePass&&e>=n.directiveStart&&function QT(i,t,e){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(n){const a=B_(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(i,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,a)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-i,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,o))}(e,o[e],t)}finally{null!==c&&ui(c),Bc(s),a.resolving=!1,ib()}}return r}function fb(i,t,e){return!!(e[t+(i>>5)]&1<<i)}function gb(i,t){return!(i&Z.Self||i&Z.Host&&t)}class ho{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return mb(this._tNode,this._lView,t,Cc(n),e)}}function aI(){return new ho(wt(),M())}function ee(i){return jn(()=>{const t=i.prototype.constructor,e=t[un]||ch(t),n=Object.prototype;let r=Object.getPrototypeOf(i.prototype).constructor;for(;r&&r!==n;){const o=r[un]||ch(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ch(i){return Pu(i)?()=>{const t=ch(X(i));return t&&t()}:mr(i)}function _b(i){const t=i[1],e=t.type;return 2===e?t.declTNode:1===e?i[6]:null}function mi(i){return function nI(i,t){if("class"===t)return i.classes;if("style"===t)return i.styles;const e=i.attrs;if(e){const n=e.length;let r=0;for(;r<n;){const o=e[r];if(rb(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<n&&"string"==typeof e[r];)r++;else{if(o===t)return e[r+1];r+=2}}}return null}(wt(),i)}const po="__parameters__";function go(i,t,e){return jn(()=>{const n=function lh(i){return function(...e){if(i){const n=i(...e);for(const r in n)this[r]=n[r]}}}(t);function r(...o){if(this instanceof r)return n.apply(this,o),this;const a=new r(...o);return s.annotation=a,s;function s(c,l,d){const u=c.hasOwnProperty(po)?c[po]:Object.defineProperty(c,po,{value:[]})[po];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),c}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=i,r.annotationCls=r,r})}class y{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=S({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function gr(i,t){i.forEach(e=>Array.isArray(e)?gr(e,t):t(e))}function vb(i,t,e){t>=i.length?i.push(e):i.splice(t,0,e)}function jc(i,t){return t>=i.length-1?i.pop():i.splice(t,1)[0]}function Ha(i,t){const e=[];for(let n=0;n<i;n++)e.push(t);return e}function ri(i,t,e){let n=_o(i,t);return n>=0?i[1|n]=e:(n=~n,function uI(i,t,e,n){let r=i.length;if(r==t)i.push(e,n);else if(1===r)i.push(n,i[0]),i[0]=e;else{for(r--,i.push(i[r-1],i[r]);r>t;)i[r]=i[r-2],r--;i[t]=e,i[t+1]=n}}(i,n,t,e)),n}function uh(i,t){const e=_o(i,t);if(e>=0)return i[1|e]}function _o(i,t){return function yb(i,t,e){let n=0,r=i.length>>e;for(;r!==n;){const o=n+(r-n>>1),a=i[o<<e];if(t===a)return o<<e;a>t?r=o:n=o+1}return~(r<<e)}(i,t,1)}const Uc=Sa(go("Inject",i=>({token:i})),-1),Oi=Sa(go("Optional"),8),Un=Sa(go("SkipSelf"),4);var qt=(()=>((qt=qt||{})[qt.Important=1]="Important",qt[qt.DashCase=2]="DashCase",qt))();const gh=new Map;let FI=0;const bh="__ngContext__";function Rt(i,t){ti(t)?(i[bh]=t[20],function PI(i){gh.set(i[20],i)}(t)):i[bh]=t}function yh(i,t){return undefined(i,t)}function $a(i){const t=i[3];return Ii(t)?t[3]:t}function xh(i){return Hb(i[13])}function wh(i){return Hb(i[4])}function Hb(i){for(;null!==i&&!Ii(i);)i=i[4];return i}function vo(i,t,e,n,r){if(null!=n){let o,a=!1;Ii(n)?o=n:ti(n)&&(a=!0,n=n[0]);const s=xt(n);0===i&&null!==e?null==r?Wb(t,e,s):_r(t,e,s,r||null,!0):1===i&&null!==e?_r(t,e,s,r||null,!0):2===i?function Th(i,t,e){const n=Wc(i,t);n&&function t1(i,t,e,n){i.removeChild(t,e,n)}(i,n,t,e)}(t,s,a):3===i&&t.destroyNode(s),null!=o&&function o1(i,t,e,n,r){const o=e[7];o!==xt(e)&&vo(t,i,n,o,r);for(let s=10;s<e.length;s++){const c=e[s];Ga(c[1],c,i,t,n,o)}}(t,i,o,e,r)}}function Mh(i,t,e){return i.createElement(t,e)}function zb(i,t){const e=i[9],n=e.indexOf(t),r=t[3];512&t[2]&&(t[2]&=-513,qu(r,-1)),e.splice(n,1)}function Dh(i,t){if(i.length<=10)return;const e=10+t,n=i[e];if(n){const r=n[17];null!==r&&r!==i&&zb(r,n),t>0&&(i[e-1][4]=n[4]);const o=jc(i,10+t);!function qI(i,t){Ga(i,t,t[11],2,null,null),t[0]=null,t[6]=null}(n[1],n);const a=o[19];null!==a&&a.detachView(o[1]),n[3]=null,n[4]=null,n[2]&=-65}return n}function Ub(i,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&Ga(i,t,e,3,null,null),function KI(i){let t=i[13];if(!t)return kh(i[1],i);for(;t;){let e=null;if(ti(t))e=t[13];else{const n=t[10];n&&(e=n)}if(!e){for(;t&&!t[4]&&t!==i;)ti(t)&&kh(t[1],t),t=t[3];null===t&&(t=i),ti(t)&&kh(t[1],t),e=t&&t[4]}t=e}}(t)}}function kh(i,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function e1(i,t){let e;if(null!=i&&null!=(e=i.destroyHooks))for(let n=0;n<e.length;n+=2){const r=t[e[n]];if(!(r instanceof Na)){const o=e[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const s=r[o[a]],c=o[a+1];try{c.call(s)}finally{}}else try{o.call(r)}finally{}}}}(i,t),function JI(i,t){const e=i.cleanup,n=t[7];let r=-1;if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const a=e[o+3];a>=0?n[r=a]():n[r=-a].unsubscribe(),o+=2}else{const a=n[r=e[o+1]];e[o].call(a)}if(null!==n){for(let o=r+1;o<n.length;o++)(0,n[o])();t[7]=null}}(i,t),1===t[1].type&&t[11].destroy();const e=t[17];if(null!==e&&Ii(t[3])){e!==t[3]&&zb(e,t);const n=t[19];null!==n&&n.detachView(i)}!function NI(i){gh.delete(i[20])}(t)}}function $b(i,t,e){return function Gb(i,t,e){let n=t;for(;null!==n&&40&n.type;)n=(t=n).parent;if(null===n)return e[0];{const{componentOffset:r}=n;if(r>-1){const{encapsulation:o}=i.data[n.directiveStart+r];if(o===Si.None||o===Si.Emulated)return null}return ii(n,e)}}(i,t.parent,e)}function _r(i,t,e,n,r){i.insertBefore(t,e,n,r)}function Wb(i,t,e){i.appendChild(t,e)}function qb(i,t,e,n,r){null!==n?_r(i,t,e,n,r):Wb(i,t,e)}function Wc(i,t){return i.parentNode(t)}function Yb(i,t,e){return Kb(i,t,e)}let Qc,Rh,Kc,Kb=function Qb(i,t,e){return 40&i.type?ii(i,e):null};function qc(i,t,e,n){const r=$b(i,n,t),o=t[11],s=Yb(n.parent||t[6],n,t);if(null!=r)if(Array.isArray(e))for(let c=0;c<e.length;c++)qb(o,r,e[c],s,!1);else qb(o,r,e,s,!1)}function Yc(i,t){if(null!==t){const e=t.type;if(3&e)return ii(t,i);if(4&e)return Sh(-1,i[t.index]);if(8&e){const n=t.child;if(null!==n)return Yc(i,n);{const r=i[t.index];return Ii(r)?Sh(-1,r):xt(r)}}if(32&e)return yh(t,i)()||xt(i[t.index]);{const n=Zb(i,t);return null!==n?Array.isArray(n)?n[0]:Yc($a(i[16]),n):Yc(i,t.next)}}return null}function Zb(i,t){return null!==t?i[16][6].projection[t.projection]:null}function Sh(i,t){const e=10+i+1;if(e<t.length){const n=t[e],r=n[1].firstChild;if(null!==r)return Yc(n,r)}return t[7]}function Ih(i,t,e,n,r,o,a){for(;null!=e;){const s=n[e.index],c=e.type;if(a&&0===t&&(s&&Rt(xt(s),n),e.flags|=2),32!=(32&e.flags))if(8&c)Ih(i,t,e.child,n,r,o,!1),vo(t,i,r,s,o);else if(32&c){const l=yh(e,n);let d;for(;d=l();)vo(t,i,r,d,o);vo(t,i,r,s,o)}else 16&c?Jb(i,t,n,e,r,o):vo(t,i,r,s,o);e=a?e.projectionNext:e.next}}function Ga(i,t,e,n,r,o){Ih(e,n,i.firstChild,t,r,o,!1)}function Jb(i,t,e,n,r,o){const a=e[16],c=a[6].projection[n.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)vo(t,i,r,c[l],o);else Ih(i,t,c,a[3],r,o,!0)}function ev(i,t,e){""===e?i.removeAttribute(t,"class"):i.setAttribute(t,"class",e)}function tv(i,t,e){const{mergedAttrs:n,classes:r,styles:o}=e;null!==n&&nh(i,t,n),null!==r&&ev(i,t,r),null!==o&&function s1(i,t,e){i.setAttribute(t,"style",e)}(i,t,o)}function br(i){return function Ah(){if(void 0===Qc&&(Qc=null,je.trustedTypes))try{Qc=je.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Qc}()?.createHTML(i)||i}function ov(i){return function Fh(){if(void 0===Kc&&(Kc=null,je.trustedTypes))try{Kc=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Kc}()?.createScriptURL(i)||i}class vr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_c})`}}class h1 extends vr{getTypeName(){return"HTML"}}class m1 extends vr{getTypeName(){return"Style"}}class p1 extends vr{getTypeName(){return"Script"}}class f1 extends vr{getTypeName(){return"URL"}}class g1 extends vr{getTypeName(){return"ResourceURL"}}function oi(i){return i instanceof vr?i.changingThisBreaksApplicationSecurity:i}function Wi(i,t){const e=function _1(i){return i instanceof vr&&i.getTypeName()||null}(i);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${_c})`)}return e===t}class C1{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(br(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class M1{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const n=this.inertDocument.createElement("body");e.appendChild(n)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=br(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=br(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const a=e.item(r).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const k1=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Xc(i){return(i=String(i)).match(k1)?i:"unsafe:"+i}function fn(i){const t={};for(const e of i.split(","))t[e]=!0;return t}function Wa(...i){const t={};for(const e of i)for(const n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}const sv=fn("area,br,col,hr,img,wbr"),cv=fn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lv=fn("rp,rt"),Oh=Wa(sv,Wa(cv,fn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Wa(lv,fn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Wa(lv,cv)),Ph=fn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dv=Wa(Ph,fn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),E1=fn("script,style,template");class S1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Oh.hasOwnProperty(e))return this.sanitizedSomething=!0,!E1.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const o=n.item(r),a=o.name,s=a.toLowerCase();if(!dv.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let c=o.value;Ph[s]&&(c=Xc(c)),this.buf.push(" ",a,'="',uv(c),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Oh.hasOwnProperty(e)&&!sv.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(uv(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const T1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,I1=/([^\#-~ |!])/g;function uv(i){return i.replace(/&/g,"&amp;").replace(T1,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(I1,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Zc;function hv(i,t){let e=null;try{Zc=Zc||function av(i){const t=new M1(i);return function D1(){try{return!!(new window.DOMParser).parseFromString(br(""),"text/html")}catch{return!1}}()?new C1(t):t}(i);let n=t?String(t):"";e=Zc.getInertBodyElement(n);let r=5,o=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=e.innerHTML,e=Zc.getInertBodyElement(n)}while(n!==o);return br((new S1).sanitizeChildren(Nh(e)||e))}finally{if(e){const n=Nh(e)||e;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Nh(i){return"content"in i&&function A1(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var Ae=(()=>((Ae=Ae||{})[Ae.NONE=0]="NONE",Ae[Ae.HTML=1]="HTML",Ae[Ae.STYLE=2]="STYLE",Ae[Ae.SCRIPT=3]="SCRIPT",Ae[Ae.URL=4]="URL",Ae[Ae.RESOURCE_URL=5]="RESOURCE_URL",Ae))();function mv(i){const t=qa();return t?t.sanitize(Ae.URL,i)||"":Wi(i,"URL")?oi(i):Xc(oe(i))}function pv(i){const t=qa();if(t)return ov(t.sanitize(Ae.RESOURCE_URL,i)||"");if(Wi(i,"ResourceURL"))return ov(oi(i));throw new C(904,!1)}function qa(){const i=M();return i&&i[12]}const Jc=new y("ENVIRONMENT_INITIALIZER"),gv=new y("INJECTOR",-1),_v=new y("INJECTOR_DEF_TYPES");class bv{get(t,e=ka){if(e===ka){const n=new Error(`NullInjectorError: No provider for ${He(t)}!`);throw n.name="NullInjectorError",n}return e}}function B1(...i){return{\u0275providers:vv(0,i),\u0275fromNgModule:!0}}function vv(i,...t){const e=[],n=new Set;let r;return gr(t,o=>{const a=o;Lh(a,e,[],n)&&(r||(r=[]),r.push(a))}),void 0!==r&&yv(r,e),e}function yv(i,t){for(let e=0;e<i.length;e++){const{providers:r}=i[e];Bh(r,o=>{t.push(o)})}}function Lh(i,t,e,n){if(!(i=X(i)))return!1;let r=null,o=M_(i);const a=!o&&Le(i);if(o||a){if(a&&!a.standalone)return!1;r=i}else{const c=i.ngModule;if(o=M_(c),!o)return!1;r=c}const s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const l of c)Lh(l,t,e,n)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let l;n.add(r);try{gr(o.imports,d=>{Lh(d,t,e,n)&&(l||(l=[]),l.push(d))})}finally{}void 0!==l&&yv(l,t)}if(!s){const l=mr(r)||(()=>new r);t.push({provide:r,useFactory:l,deps:Ie},{provide:_v,useValue:r,multi:!0},{provide:Jc,useValue:()=>b(r),multi:!0})}const c=o.providers;null==c||s||Bh(c,d=>{t.push(d)})}}return r!==i&&void 0!==i.providers}function Bh(i,t){for(let e of i)Nu(e)&&(e=e.\u0275providers),Array.isArray(e)?Bh(e,t):t(e)}const V1=Ve({provide:String,useValue:Ve});function Vh(i){return null!==i&&"object"==typeof i&&V1 in i}function yr(i){return"function"==typeof i}const Hh=new y("Set Injector scope."),el={},j1={};let jh;function tl(){return void 0===jh&&(jh=new bv),jh}class gn{}class Cv extends gn{constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Uh(t,a=>this.processProvider(a)),this.records.set(gv,yo(void 0,this)),r.has("environment")&&this.records.set(gn,yo(void 0,this));const o=this.records.get(Hh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_v.multi,Ie,Z.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=io(this),n=ui(void 0);try{return t()}finally{io(e),ui(n)}}get(t,e=ka,n=Z.Default){this.assertNotDestroyed(),n=Cc(n);const r=io(this),o=ui(void 0);try{if(!(n&Z.SkipSelf)){let s=this.records.get(t);if(void 0===s){const c=function W1(i){return"function"==typeof i||"object"==typeof i&&i instanceof y}(t)&&yc(t);s=c&&this.injectableDefInScope(c)?yo(zh(t),el):null,this.records.set(t,s)}if(null!=s)return this.hydrate(t,s)}return(n&Z.Self?tl():this.parent).get(t,e=n&Z.Optional&&e===ka?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[wc]=a[wc]||[]).unshift(He(t)),r)throw a;return function _T(i,t,e,n){const r=i[wc];throw t[E_]&&r.unshift(t[E_]),i.message=function bT(i,t,e,n=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let r=He(t);if(Array.isArray(t))r=t.map(He).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):He(s)))}r=`{${o.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${i.replace(mT,"\n ")}`}("\n"+i.message,r,e,n),i.ngTokenPath=r,i[wc]=null,i}(a,t,"R3InjectorError",this.source)}throw a}finally{ui(o),io(r)}}resolveInjectorInitializers(){const t=io(this),e=ui(void 0);try{const n=this.get(Jc.multi,Ie,Z.Self);for(const r of n)r()}finally{io(t),ui(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(He(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let e=yr(t=X(t))?t:X(t&&t.provide);const n=function U1(i){return Vh(i)?yo(void 0,i.useValue):yo(Mv(i),el)}(t);if(yr(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=yo(void 0,el,!0),r.factory=()=>Hu(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){return e.value===el&&(e.value=j1,e.value=e.factory()),"object"==typeof e.value&&e.value&&function G1(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=X(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function zh(i){const t=yc(i),e=null!==t?t.factory:mr(i);if(null!==e)return e;if(i instanceof y)throw new C(204,!1);if(i instanceof Function)return function z1(i){const t=i.length;if(t>0)throw Ha(t,"?"),new C(204,!1);const e=function cT(i){const t=i&&(i[xc]||i[D_]);if(t){const e=function lT(i){if(i.hasOwnProperty("name"))return i.name;const t=(""+i).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(i);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" 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 "${e}" class.`),t}return null}(i);return null!==e?()=>e.factory(i):()=>new i}(i);throw new C(204,!1)}function Mv(i,t,e){let n;if(yr(i)){const r=X(i);return mr(r)||zh(r)}if(Vh(i))n=()=>X(i.useValue);else if(function wv(i){return!(!i||!i.useFactory)}(i))n=()=>i.useFactory(...Hu(i.deps||[]));else if(function xv(i){return!(!i||!i.useExisting)}(i))n=()=>b(X(i.useExisting));else{const r=X(i&&(i.useClass||i.provide));if(!function $1(i){return!!i.deps}(i))return mr(r)||zh(r);n=()=>new r(...Hu(i.deps))}return n}function yo(i,t,e=!1){return{factory:i,value:t,multi:e?[]:void 0}}function Uh(i,t){for(const e of i)Array.isArray(e)?Uh(e,t):e&&Nu(e)?Uh(e.\u0275providers,t):t(e)}class q1{}class Dv{}class Q1{resolveComponentFactory(t){throw function Y1(i){const t=Error(`No component factory found for ${He(i)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=i,t}(t)}}let xo=(()=>{class i{}return i.NULL=new Q1,i})();function K1(){return wo(wt(),M())}function wo(i,t){return new L(ii(i,t))}let L=(()=>{class i{constructor(e){this.nativeElement=e}}return i.__NG_ELEMENT_ID__=K1,i})();function X1(i){return i instanceof L?i.nativeElement:i}class Ya{}let _n=(()=>{class i{}return i.__NG_ELEMENT_ID__=()=>function Z1(){const i=M(),e=ni(wt().index,i);return(ti(e)?e:i)[11]}(),i})(),J1=(()=>{class i{}return i.\u0275prov=S({token:i,providedIn:"root",factory:()=>null}),i})();class xr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const eA=new xr("15.0.4"),$h={};function Wh(i){return i.ngOriginalError}class bn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Wh(t);for(;e&&Wh(e);)e=Wh(e);return e||null}}function vn(i){return i instanceof Function?i():i}function Sv(i,t,e){let n=i.length;for(;;){const r=i.indexOf(t,e);if(-1===r)return r;if(0===r||i.charCodeAt(r-1)<=32){const o=t.length;if(r+o===n||i.charCodeAt(r+o)<=32)return r}e=r+1}}const Tv="ng-template";function uA(i,t,e){let n=0;for(;n<i.length;){let r=i[n++];if(e&&"class"===r){if(r=i[n],-1!==Sv(r.toLowerCase(),t,0))return!0}else if(1===r){for(;n<i.length&&"string"==typeof(r=i[n++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Iv(i){return 4===i.type&&i.value!==Tv}function hA(i,t,e){return t===(4!==i.type||e?i.value:Tv)}function mA(i,t,e){let n=4;const r=i.attrs||[],o=function gA(i){for(let t=0;t<i.length;t++)if(rb(i[t]))return t;return i.length}(r);let a=!1;for(let s=0;s<t.length;s++){const c=t[s];if("number"!=typeof c){if(!a)if(4&n){if(n=2|1&n,""!==c&&!hA(i,c,e)||""===c&&1===t.length){if(Pi(n))return!1;a=!0}}else{const l=8&n?c:t[++s];if(8&n&&null!==i.attrs){if(!uA(i.attrs,l,e)){if(Pi(n))return!1;a=!0}continue}const u=pA(8&n?"class":c,r,Iv(i),e);if(-1===u){if(Pi(n))return!1;a=!0;continue}if(""!==l){let h;h=u>o?"":r[u+1].toLowerCase();const p=8&n?h:null;if(p&&-1!==Sv(p,l,0)||2&n&&l!==h){if(Pi(n))return!1;a=!0}}}}else{if(!a&&!Pi(n)&&!Pi(c))return!1;if(a&&Pi(c))continue;a=!1,n=c|1&n}}return Pi(n)||a}function Pi(i){return 0==(1&i)}function pA(i,t,e,n){if(null===t)return-1;let r=0;if(n||!e){let o=!1;for(;r<t.length;){const a=t[r];if(a===i)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let s=t[++r];for(;"string"==typeof s;)s=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function _A(i,t){let e=i.indexOf(4);if(e>-1)for(e++;e<i.length;){const n=i[e];if("number"==typeof n)return-1;if(n===t)return e;e++}return-1}(t,i)}function Av(i,t,e=!1){for(let n=0;n<t.length;n++)if(mA(i,t[n],e))return!0;return!1}function bA(i,t){e:for(let e=0;e<t.length;e++){const n=t[e];if(i.length===n.length){for(let r=0;r<i.length;r++)if(i[r]!==n[r])continue e;return!0}}return!1}function Rv(i,t){return i?":not("+t.trim()+")":t}function vA(i){let t=i[0],e=1,n=2,r="",o=!1;for(;e<i.length;){let a=i[e];if("string"==typeof a)if(2&n){const s=i[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&n?r+="."+a:4&n&&(r+=" "+a);else""!==r&&!Pi(a)&&(t+=Rv(o,r),r=""),n=a,o=o||!Pi(n);e++}return""!==r&&(t+=Rv(o,r)),t}const se={};function $(i){Fv(De(),M(),jt()+i,!1)}function Fv(i,t,e,n){if(!n)if(3==(3&t[2])){const o=i.preOrderCheckHooks;null!==o&&Oc(t,o,e)}else{const o=i.preOrderHooks;null!==o&&Pc(t,o,0,e)}pr(e)}function Lv(i,t=null,e=null,n){const r=Bv(i,t,e,n);return r.resolveInjectorInitializers(),r}function Bv(i,t=null,e=null,n,r=new Set){const o=[e||Ie,B1(i)];return n=n||("object"==typeof i?void 0:He(i)),new Cv(o,t||tl(),n||null,r)}let zt=(()=>{class i{static create(e,n){if(Array.isArray(e))return Lv({name:""},n,e,"");{const r=e.name??"";return Lv({name:r},e.parent,e.providers,r)}}}return i.THROW_IF_NOT_FOUND=ka,i.NULL=new bv,i.\u0275prov=S({token:i,providedIn:"any",factory:()=>b(gv)}),i.__NG_ELEMENT_ID__=-1,i})();function m(i,t=Z.Default){const e=M();return null===e?b(i,t):mb(wt(),e,X(i),t)}function Qa(){throw new Error("invalid")}function Gv(i,t){const e=i.contentQueries;if(null!==e)for(let n=0;n<e.length;n+=2){const r=e[n],o=e[n+1];if(-1!==o){const a=i.data[o];Zu(r),a.contentQueries(2,t[o],o)}}}function nl(i,t,e,n,r,o,a,s,c,l,d){const u=t.blueprint.slice();return u[0]=r,u[2]=76|n,(null!==d||i&&1024&i[2])&&(u[2]|=1024),$_(u),u[3]=u[15]=i,u[8]=e,u[10]=a||i&&i[10],u[11]=s||i&&i[11],u[12]=c||i&&i[12]||null,u[9]=l||i&&i[9]||null,u[6]=o,u[20]=function OI(){return FI++}(),u[21]=d,u[16]=2==t.type?i[16]:u,u}function Do(i,t,e,n,r){let o=i.data[t];if(null===o)o=function Xh(i,t,e,n,r){const o=q_(),a=Yu(),c=i.data[t]=function GA(i,t,e,n,r,o){return{type:e,index:n,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,e,t,n,r);return null===i.firstChild&&(i.firstChild=c),null!==o&&(a?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c)),c}(i,t,e,n,r),function HT(){return ae.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=n,o.attrs=r;const a=function Oa(){const i=ae.lFrame,t=i.currentTNode;return i.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return $i(o,!0),o}function Ka(i,t,e,n){if(0===e)return-1;const r=t.length;for(let o=0;o<e;o++)t.push(n),i.blueprint.push(n),i.data.push(null);return r}function Zh(i,t,e){Ju(t);try{const n=i.viewQuery;null!==n&&cm(1,n,e);const r=i.template;null!==r&&Wv(i,t,r,1,e),i.firstCreatePass&&(i.firstCreatePass=!1),i.staticContentQueries&&Gv(i,t),i.staticViewQueries&&cm(2,i.viewQuery,e);const o=i.components;null!==o&&function zA(i,t){for(let e=0;e<t.length;e++)dR(i,t[e])}(t,o)}catch(n){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),n}finally{t[2]&=-5,eh()}}function rl(i,t,e,n){const r=t[2];if(128!=(128&r)){Ju(t);try{$_(t),function Q_(i){return ae.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==e&&Wv(i,t,e,2,n);const a=3==(3&r);if(a){const l=i.preOrderCheckHooks;null!==l&&Oc(t,l,null)}else{const l=i.preOrderHooks;null!==l&&Pc(t,l,0,null),th(t,0)}if(function cR(i){for(let t=xh(i);null!==t;t=wh(t)){if(!t[2])continue;const e=t[9];for(let n=0;n<e.length;n++){const r=e[n],o=r[3];0==(512&r[2])&&qu(o,1),r[2]|=512}}}(t),function sR(i){for(let t=xh(i);null!==t;t=wh(t))for(let e=10;e<t.length;e++){const n=t[e],r=n[1];Ac(n)&&rl(r,n,r.template,n[8])}}(t),null!==i.contentQueries&&Gv(i,t),a){const l=i.contentCheckHooks;null!==l&&Oc(t,l)}else{const l=i.contentHooks;null!==l&&Pc(t,l,1),th(t,1)}!function HA(i,t){const e=i.hostBindingOpCodes;if(null!==e)try{for(let n=0;n<e.length;n++){const r=e[n];if(r<0)pr(~r);else{const o=r,a=e[++n],s=e[++n];jT(a,o),s(2,t[o])}}}finally{pr(-1)}}(i,t);const s=i.components;null!==s&&function jA(i,t){for(let e=0;e<t.length;e++)lR(i,t[e])}(t,s);const c=i.viewQuery;if(null!==c&&cm(2,c,n),a){const l=i.viewCheckHooks;null!==l&&Oc(t,l)}else{const l=i.viewHooks;null!==l&&Pc(t,l,2),th(t,2)}!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,qu(t[3],-1))}finally{eh()}}}function Wv(i,t,e,n,r){const o=jt(),a=2&n;try{pr(-1),a&&t.length>22&&Fv(i,t,22,!1),e(n,r)}finally{pr(o)}}function Jh(i,t,e){if(Gu(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const a=i.data[o];a.contentQueries&&a.contentQueries(1,e[o],o)}}}function em(i,t,e){!W_()||(function XA(i,t,e,n){const r=e.directiveStart,o=e.directiveEnd;Fa(e)&&function rR(i,t,e){const n=ii(t,i),r=qv(e),o=i[10],a=ol(i,nl(i,r,null,e.onPush?32:16,n,t,o,o.createRenderer(n,e),null,null,null));i[t.index]=a}(t,e,i.data[r+e.componentOffset]),i.firstCreatePass||Vc(e,t),Rt(n,t);const a=e.initialInputs;for(let s=r;s<o;s++){const c=i.data[s],l=fr(t,i,s,e);Rt(l,t),null!==a&&oR(0,s-r,l,c,0,a),Ai(c)&&(ni(e.index,t)[8]=fr(t,i,s,e))}}(i,t,e,ii(e,t)),64==(64&e.flags)&&Jv(i,t,e))}function tm(i,t,e=ii){const n=t.localNames;if(null!==n){let r=t.index+1;for(let o=0;o<n.length;o+=2){const a=n[o+1],s=-1===a?e(t,i):i[a];i[r++]=s}}}function qv(i){const t=i.tView;return null===t||t.incompleteFirstPass?i.tView=im(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts):t}function im(i,t,e,n,r,o,a,s,c,l){const d=22+n,u=d+r,h=function UA(i,t){const e=[];for(let n=0;n<t;n++)e.push(n<i?null:se);return e}(d,u),p="function"==typeof l?l():l;return h[1]={type:i,blueprint:h,template:e,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1}}function Yv(i,t,e,n){const r=ty(t);null===e?r.push(n):(r.push(e),i.firstCreatePass&&iy(i).push(n,r.length-1))}function Qv(i,t,e,n){for(let r in i)if(i.hasOwnProperty(r)){e=null===e?{}:e;const o=i[r];null===n?Kv(e,t,r,o):n.hasOwnProperty(r)&&Kv(e,t,n[r],o)}return e}function Kv(i,t,e,n){i.hasOwnProperty(e)?i[e].push(t,n):i[e]=[t,n]}function ai(i,t,e,n,r,o,a,s){const c=ii(t,e);let d,l=t.inputs;!s&&null!=l&&(d=l[n])?(lm(i,e,d,n,r),Fa(t)&&Xv(e,t.index)):3&t.type&&(n=function qA(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(n),r=null!=a?a(r,t.value||"",n):r,o.setProperty(c,n,r))}function Xv(i,t){const e=ni(t,i);16&e[2]||(e[2]|=32)}function nm(i,t,e,n){let r=!1;if(W_()){const o=null===n?null:{"":-1},a=function JA(i,t){const e=i.directiveRegistry;let n=null,r=null;if(e)for(let o=0;o<e.length;o++){const a=e[o];if(Av(t,a.selectors,!1))if(n||(n=[]),Ai(a))if(null!==a.findHostDirectiveDefs){const s=[];r=r||new Map,a.findHostDirectiveDefs(a,s,r),n.unshift(...s,a),rm(i,t,s.length)}else n.unshift(a),rm(i,t,0);else r=r||new Map,a.findHostDirectiveDefs?.(a,n,r),n.push(a)}return null===n?null:[n,r]}(i,e);let s,c;null===a?s=c=null:[s,c]=a,null!==s&&(r=!0,Zv(i,t,e,s,o,c)),o&&function eR(i,t,e){if(t){const n=i.localNames=[];for(let r=0;r<t.length;r+=2){const o=e[t[r+1]];if(null==o)throw new C(-301,!1);n.push(t[r],o)}}}(e,n,o)}return e.mergedAttrs=La(e.mergedAttrs,e.attrs),r}function Zv(i,t,e,n,r,o){for(let l=0;l<n.length;l++)sh(Vc(e,t),i,n[l].type);!function iR(i,t,e){i.flags|=1,i.directiveStart=t,i.directiveEnd=t+e,i.providerIndexes=t}(e,i.data.length,n.length);for(let l=0;l<n.length;l++){const d=n[l];d.providersResolver&&d.providersResolver(d)}let a=!1,s=!1,c=Ka(i,t,n.length,null);for(let l=0;l<n.length;l++){const d=n[l];e.mergedAttrs=La(e.mergedAttrs,d.hostAttrs),nR(i,e,t,c,d),tR(c,d,r),null!==d.contentQueries&&(e.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(e.flags|=64);const u=d.type.prototype;!a&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e.index),a=!0),!s&&(u.ngOnChanges||u.ngDoCheck)&&((i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e.index),s=!0),c++}!function WA(i,t,e){const r=t.directiveEnd,o=i.data,a=t.attrs,s=[];let c=null,l=null;for(let d=t.directiveStart;d<r;d++){const u=o[d],h=e?e.get(u):null,f=h?h.outputs:null;c=Qv(u.inputs,d,c,h?h.inputs:null),l=Qv(u.outputs,d,l,f);const g=null===c||null===a||Iv(t)?null:aR(c,d,a);s.push(g)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=s,t.inputs=c,t.outputs=l}(i,e,o)}function Jv(i,t,e){const n=e.directiveStart,r=e.directiveEnd,o=e.index,a=function zT(){return ae.lFrame.currentDirectiveIndex}();try{pr(o);for(let s=n;s<r;s++){const c=i.data[s],l=t[s];Ku(s),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&ZA(c,l)}}finally{pr(-1),Ku(a)}}function ZA(i,t){null!==i.hostBindings&&i.hostBindings(1,t)}function rm(i,t,e){t.componentOffset=e,(i.components||(i.components=[])).push(t.index)}function tR(i,t,e){if(e){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)e[t.exportAs[n]]=i;Ai(t)&&(e[""]=i)}}function nR(i,t,e,n,r){i.data[n]=r;const o=r.factory||(r.factory=mr(r.type)),a=new Na(o,Ai(r),m);i.blueprint[n]=a,e[n]=a,function QA(i,t,e,n,r){const o=r.hostBindings;if(o){let a=i.hostBindingOpCodes;null===a&&(a=i.hostBindingOpCodes=[]);const s=~t.index;(function KA(i){let t=i.length;for(;t>0;){const e=i[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,n,o)}}(i,t,n,Ka(i,e,r.hostVars,se),r)}function qi(i,t,e,n,r,o){const a=ii(i,t);!function om(i,t,e,n,r,o,a){if(null==o)i.removeAttribute(t,r,e);else{const s=null==a?oe(o):a(o,n||"",r);i.setAttribute(t,r,s,e)}}(t[11],a,o,i.value,e,n,r)}function oR(i,t,e,n,r,o){const a=o[t];if(null!==a){const s=n.setInput;for(let c=0;c<a.length;){const l=a[c++],d=a[c++],u=a[c++];null!==s?n.setInput(e,u,l,d):e[d]=u}}}function aR(i,t,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(i.hasOwnProperty(o)){null===n&&(n=[]);const a=i[o];for(let s=0;s<a.length;s+=2)if(a[s]===t){n.push(o,a[s+1],e[r+1]);break}}r+=2}else r+=2;else r+=4}return n}function ey(i,t,e,n){return[i,!0,!1,t,null,0,n,e,null,null]}function lR(i,t){const e=ni(t,i);if(Ac(e)){const n=e[1];48&e[2]?rl(n,e,n.template,e[8]):e[5]>0&&am(e)}}function am(i){for(let n=xh(i);null!==n;n=wh(n))for(let r=10;r<n.length;r++){const o=n[r];if(Ac(o))if(512&o[2]){const a=o[1];rl(a,o,a.template,o[8])}else o[5]>0&&am(o)}const e=i[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=ni(e[n],i);Ac(r)&&r[5]>0&&am(r)}}function dR(i,t){const e=ni(t,i),n=e[1];(function uR(i,t){for(let e=t.length;e<i.blueprint.length;e++)t.push(i.blueprint[e])})(n,e),Zh(n,e,e[8])}function ol(i,t){return i[13]?i[14][4]=t:i[13]=t,i[14]=t,t}function sm(i){for(;i;){i[2]|=32;const t=$a(i);if(wT(i)&&!t)return i;i=t}return null}function al(i,t,e,n=!0){const r=t[10];r.begin&&r.begin();try{rl(i,t,i.template,e)}catch(a){throw n&&ry(t,a),a}finally{r.end&&r.end()}}function cm(i,t,e){Zu(0),t(i,e)}function ty(i){return i[7]||(i[7]=[])}function iy(i){return i.cleanup||(i.cleanup=[])}function ny(i,t,e){return(null===i||Ai(i))&&(e=function IT(i){for(;Array.isArray(i);){if("object"==typeof i[1])return i;i=i[0]}return null}(e[t.index])),e[11]}function ry(i,t){const e=i[9],n=e?e.get(bn,null):null;n&&n.handleError(t)}function lm(i,t,e,n,r){for(let o=0;o<e.length;){const a=e[o++],s=e[o++],c=t[a],l=i.data[a];null!==l.setInput?l.setInput(c,r,n,s):c[s]=r}}function sl(i,t,e){let n=e?i.styles:null,r=e?i.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const s=t[a];"number"==typeof s?o=s:1==o?r=Ou(r,s):2==o&&(n=Ou(n,s+": "+t[++a]+";"))}e?i.styles=n:i.stylesWithoutHost=n,e?i.classes=r:i.classesWithoutHost=r}function cl(i,t,e,n,r=!1){for(;null!==e;){const o=t[e.index];if(null!==o&&n.push(xt(o)),Ii(o))for(let s=10;s<o.length;s++){const c=o[s],l=c[1].firstChild;null!==l&&cl(c[1],c,l,n)}const a=e.type;if(8&a)cl(i,t,e.child,n);else if(32&a){const s=yh(e,t);let c;for(;c=s();)n.push(c)}else if(16&a){const s=Zb(t,e);if(Array.isArray(s))n.push(...s);else{const c=$a(t[16]);cl(c[1],c,s,n,!0)}}e=r?e.projectionNext:e.next}return n}class Xa{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return cl(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Ii(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Dh(t,n),jc(e,n))}this._attachedToViewContainer=!1}Ub(this._lView[1],this._lView)}onDestroy(t){Yv(this._lView[1],this._lView,null,t)}markForCheck(){sm(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){al(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 QI(i,t){Ga(i,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class hR extends Xa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;al(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class oy extends xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Le(t);return new Za(e,this.ngModule)}}function ay(i){const t=[];for(let e in i)i.hasOwnProperty(e)&&t.push({propName:i[e],templateName:e});return t}class pR{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=Cc(n);const r=this.injector.get(t,$h,n);return r!==$h||e===$h?r:this.parentInjector.get(t,e,n)}}class Za extends Dv{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function yA(i){return i.map(vA).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ay(this.componentDef.inputs)}get outputs(){return ay(this.componentDef.outputs)}create(t,e,n,r){let o=(r=r||this.ngModule)instanceof gn?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new pR(t,o):t,s=a.get(Ya,null);if(null===s)throw new C(407,!1);const c=a.get(J1,null),l=s.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",u=n?function $A(i,t,e){return i.selectRootElement(t,e===Si.ShadowDom)}(l,n,this.componentDef.encapsulation):Mh(l,d,function mR(i){const t=i.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(d)),h=this.componentDef.onPush?288:272,p=im(0,null,null,1,0,null,null,null,null,null),f=nl(null,p,null,h,null,null,s,l,c,a,null);let g,_;Ju(f);try{const w=this.componentDef;let E,x=null;w.findHostDirectiveDefs?(E=[],x=new Map,w.findHostDirectiveDefs(w,E,x),E.push(w)):E=[w];const O=function gR(i,t){const e=i[1];return i[22]=t,Do(e,22,2,"#host",null)}(f,u),ke=function _R(i,t,e,n,r,o,a,s){const c=r[1];!function bR(i,t,e,n){for(const r of i)t.mergedAttrs=La(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(sl(t,t.mergedAttrs,!0),null!==e&&tv(n,e,t))}(n,i,t,a);const l=o.createRenderer(t,e),d=nl(r,qv(e),null,e.onPush?32:16,r[i.index],i,o,l,s||null,null,null);return c.firstCreatePass&&rm(c,i,n.length-1),ol(r,d),r[i.index]=d}(O,u,w,E,f,s,l);_=U_(p,22),u&&function yR(i,t,e,n){if(n)nh(i,e,["ng-version",eA.full]);else{const{attrs:r,classes:o}=function xA(i){const t=[],e=[];let n=1,r=2;for(;n<i.length;){let o=i[n];if("string"==typeof o)2===r?""!==o&&t.push(o,i[++n]):8===r&&e.push(o);else{if(!Pi(r))break;r=o}n++}return{attrs:t,classes:e}}(t.selectors[0]);r&&nh(i,e,r),o&&o.length>0&&ev(i,e,o.join(" "))}}(l,w,u,n),void 0!==e&&function xR(i,t,e){const n=i.projection=[];for(let r=0;r<t.length;r++){const o=e[r];n.push(null!=o?Array.from(o):null)}}(_,this.ngContentSelectors,e),g=function vR(i,t,e,n,r,o){const a=wt(),s=r[1],c=ii(a,r);Zv(s,r,a,e,null,n);for(let d=0;d<e.length;d++)Rt(fr(r,s,a.directiveStart+d,a),r);Jv(s,r,a),c&&Rt(c,r);const l=fr(r,s,a.directiveStart+a.componentOffset,a);if(i[8]=r[8]=l,null!==o)for(const d of o)d(l,t);return Jh(s,a,i),l}(ke,w,E,x,f,[wR]),Zh(p,f,null)}finally{eh()}return new fR(this.componentType,g,wo(_,f),f,_)}}class fR extends q1{constructor(t,e,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.instance=e,this.hostView=this.changeDetectorRef=new hR(r),this.componentType=t}setInput(t,e){const n=this._tNode.inputs;let r;if(null!==n&&(r=n[t])){const o=this._rootLView;lm(o[1],o,r,t,e),Xv(o,this._tNode.index)}}get injector(){return new ho(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function wR(){const i=wt();Fc(M()[1],i)}function D(i){let t=function sy(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),e=!0;const n=[i];for(;t;){let r;if(Ai(i))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);r=t.\u0275dir}if(r){if(e){n.push(r);const a=i;a.inputs=dm(i.inputs),a.declaredInputs=dm(i.declaredInputs),a.outputs=dm(i.outputs);const s=r.hostBindings;s&&kR(i,s);const c=r.viewQuery,l=r.contentQueries;if(c&&MR(i,c),l&&DR(i,l),Fu(i.inputs,r.inputs),Fu(i.declaredInputs,r.declaredInputs),Fu(i.outputs,r.outputs),Ai(r)&&r.data.animation){const d=i.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let a=0;a<o.length;a++){const s=o[a];s&&s.ngInherit&&s(i),s===D&&(e=!1)}}t=Object.getPrototypeOf(t)}!function CR(i){let t=0,e=null;for(let n=i.length-1;n>=0;n--){const r=i[n];r.hostVars=t+=r.hostVars,r.hostAttrs=La(r.hostAttrs,e=La(e,r.hostAttrs))}}(n)}function dm(i){return i===dn?{}:i===Ie?[]:i}function MR(i,t){const e=i.viewQuery;i.viewQuery=e?(n,r)=>{t(n,r),e(n,r)}:t}function DR(i,t){const e=i.contentQueries;i.contentQueries=e?(n,r,o)=>{t(n,r,o),e(n,r,o)}:t}function kR(i,t){const e=i.hostBindings;i.hostBindings=e?(n,r)=>{t(n,r),e(n,r)}:t}let ll=null;function wr(){if(!ll){const i=je.Symbol;if(i&&i.iterator)ll=i.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(ll=n)}}}return ll}function Ja(i){return!!um(i)&&(Array.isArray(i)||!(i instanceof Map)&&wr()in i)}function um(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function Yi(i,t,e){return i[t]=e}function Ft(i,t,e){return!Object.is(i[t],e)&&(i[t]=e,!0)}function ce(i,t,e,n){const r=M();return Ft(r,lo(),t)&&(De(),qi(Ke(),r,i,t,e,n)),ce}function xe(i,t,e,n,r,o,a,s){const c=M(),l=De(),d=i+22,u=l.firstCreatePass?function NR(i,t,e,n,r,o,a,s,c){const l=t.consts,d=Do(t,i,4,a||null,zn(l,s));nm(t,e,d,zn(l,c)),Fc(t,d);const u=d.tViews=im(2,d,n,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,l,c,t,e,n,r,o,a):l.data[d];$i(u,!1);const h=c[11].createComment("");qc(l,c,h,u),Rt(h,c),ol(c,c[d]=ey(h,c,h,u)),Tc(u)&&em(l,c,u),null!=a&&tm(c,u,s)}function Ni(i){return function co(i,t){return i[t]}(function VT(){return ae.lFrame.contextLView}(),22+i)}function j(i,t,e){const n=M();return Ft(n,lo(),t)&&ai(De(),Ke(),n,i,t,n[11],e,!1),j}function hm(i,t,e,n,r){const a=r?"class":"style";lm(i,e,t.inputs[a],a,n)}function k(i,t,e,n){const r=M(),o=De(),a=22+i,s=r[11],c=r[a]=Mh(s,t,function YT(){return ae.lFrame.currentNamespace}()),l=o.firstCreatePass?function BR(i,t,e,n,r,o,a){const s=t.consts,l=Do(t,i,2,r,zn(s,o));return nm(t,e,l,zn(s,a)),null!==l.attrs&&sl(l,l.attrs,!1),null!==l.mergedAttrs&&sl(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(a,o,r,0,t,e,n):o.data[a];return $i(l,!0),tv(s,c,l),32!=(32&l.flags)&&qc(o,r,c,l),0===function OT(){return ae.lFrame.elementDepthCount}()&&Rt(c,r),function PT(){ae.lFrame.elementDepthCount++}(),Tc(l)&&(em(o,r,l),Jh(o,l,r)),null!==n&&tm(r,l),k}function T(){let i=wt();Yu()?Qu():(i=i.parent,$i(i,!1));const t=i;!function NT(){ae.lFrame.elementDepthCount--}();const e=De();return e.firstCreatePass&&(Fc(e,i),Gu(i)&&e.queries.elementEnd(i)),null!=t.classesWithoutHost&&function ZT(i){return 0!=(8&i.flags)}(t)&&hm(e,t,M(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function JT(i){return 0!=(16&i.flags)}(t)&&hm(e,t,M(),t.stylesWithoutHost,!1),T}function Me(i,t,e,n){return k(i,t,e,n),T(),Me}function Mr(){return M()}function ts(i){return!!i&&"function"==typeof i.then}const mm=function yy(i){return!!i&&"function"==typeof i.subscribe};function ge(i,t,e,n){const r=M(),o=De(),a=wt();return xy(o,r,r[11],a,i,t,n),ge}function pm(i,t){const e=wt(),n=M(),r=De();return xy(r,n,ny(Xu(r.data),e,n),e,i,t),pm}function xy(i,t,e,n,r,o,a){const s=Tc(n),l=i.firstCreatePass&&iy(i),d=t[8],u=ty(t);let h=!0;if(3&n.type||a){const g=ii(n,t),_=a?a(g):g,w=u.length,E=a?O=>a(xt(O[n.index])):n.index;let x=null;if(!a&&s&&(x=function HR(i,t,e,n){const r=i.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const a=r[o];if(a===e&&r[o+1]===n){const s=t[7],c=r[o+2];return s.length>c?s[c]:null}"string"==typeof a&&(o+=2)}return null}(i,t,r,n.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=o,x.__ngLastListenerFn__=o,h=!1;else{o=Cy(n,t,d,o,!1);const O=e.listen(_,r,o);u.push(o,O),l&&l.push(r,E,w,w+1)}}else o=Cy(n,t,d,o,!1);const p=n.outputs;let f;if(h&&null!==p&&(f=p[r])){const g=f.length;if(g)for(let _=0;_<g;_+=2){const ke=t[f[_]][f[_+1]].subscribe(o),Te=u.length;u.push(o,ke),l&&l.push(r,n.index,Te,-(Te+1))}}}function wy(i,t,e,n){try{return!1!==e(n)}catch(r){return ry(i,r),!1}}function Cy(i,t,e,n,r){return function o(a){if(a===Function)return n;sm(i.componentOffset>-1?ni(i.index,t):t);let c=wy(t,0,n,a),l=o.__ngNextListenerFn__;for(;l;)c=wy(t,0,l,a)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&(a.preventDefault(),a.returnValue=!1),c}}function ze(i=1){return function $T(i){return(ae.lFrame.contextLView=function GT(i,t){for(;i>0;)t=t[15],i--;return t}(i,ae.lFrame.contextLView))[8]}(i)}function jR(i,t){let e=null;const n=function fA(i){const t=i.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(i);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===n?Av(i,o,!0):bA(n,o))return r}else e=r}return e}function Re(i){const t=M()[16][6];if(!t.projection){const n=t.projection=Ha(i?i.length:1,null),r=n.slice();let o=t.child;for(;null!==o;){const a=i?jR(o,i):0;null!==a&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o),o=o.next}}}function B(i,t=0,e){const n=M(),r=De(),o=Do(r,22+i,16,null,e||null);null===o.projection&&(o.projection=t),Qu(),32!=(32&o.flags)&&function r1(i,t,e){Jb(t[11],0,t,e,$b(i,e,t),Yb(e.parent||t[6],e,t))}(r,n,o)}function ul(i,t){return i<<17|t<<2}function Wn(i){return i>>17&32767}function gm(i){return 2|i}function Dr(i){return(131068&i)>>2}function _m(i,t){return-131069&i|t<<2}function bm(i){return 1|i}function Fy(i,t,e,n,r){const o=i[e+1],a=null===t;let s=n?Wn(o):Dr(o),c=!1;for(;0!==s&&(!1===c||a);){const d=i[s+1];qR(i[s],t)&&(c=!0,i[s+1]=n?bm(d):gm(d)),s=n?Wn(d):Dr(d)}c&&(i[e+1]=n?gm(o):bm(o))}function qR(i,t){return null===i||null==t||(Array.isArray(i)?i[1]:i)===t||!(!Array.isArray(i)||"string"!=typeof t)&&_o(i,t)>=0}function Qi(i,t,e){return Li(i,t,e,!1),Qi}function pe(i,t){return Li(i,t,null,!0),pe}function Li(i,t,e,n){const r=M(),o=De(),a=function pn(i){const t=ae.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+i,e}(2);o.firstUpdatePass&&function jy(i,t,e,n){const r=i.data;if(null===r[e+1]){const o=r[jt()],a=function Hy(i,t){return t>=i.expandoStartIndex}(i,e);(function Gy(i,t){return 0!=(i.flags&(t?8:16))})(o,n)&&null===t&&!a&&(t=!1),t=function iF(i,t,e,n){const r=Xu(i);let o=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(e=is(e=vm(null,i,t,e,n),t.attrs,n),o=null);else{const a=t.directiveStylingLast;if(-1===a||i[a]!==r)if(e=vm(r,i,t,e,n),null===o){let c=function nF(i,t,e){const n=e?t.classBindings:t.styleBindings;if(0!==Dr(n))return i[Wn(n)]}(i,t,n);void 0!==c&&Array.isArray(c)&&(c=vm(null,i,t,c[1],n),c=is(c,t.attrs,n),function rF(i,t,e,n){i[Wn(e?t.classBindings:t.styleBindings)]=n}(i,t,n,c))}else o=function oF(i,t,e){let n;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)n=is(n,i[o].hostAttrs,e);return is(n,t.attrs,e)}(i,t,n)}return void 0!==o&&(n?t.residualClasses=o:t.residualStyles=o),e}(r,o,t,n),function GR(i,t,e,n,r,o){let a=o?t.classBindings:t.styleBindings,s=Wn(a),c=Dr(a);i[n]=e;let d,l=!1;if(Array.isArray(e)){const u=e;d=u[1],(null===d||_o(u,d)>0)&&(l=!0)}else d=e;if(r)if(0!==c){const h=Wn(i[s+1]);i[n+1]=ul(h,s),0!==h&&(i[h+1]=_m(i[h+1],n)),i[s+1]=function UR(i,t){return 131071&i|t<<17}(i[s+1],n)}else i[n+1]=ul(s,0),0!==s&&(i[s+1]=_m(i[s+1],n)),s=n;else i[n+1]=ul(c,0),0===s?s=n:i[c+1]=_m(i[c+1],n),c=n;l&&(i[n+1]=gm(i[n+1])),Fy(i,d,n,!0),Fy(i,d,n,!1),function WR(i,t,e,n,r){const o=r?i.residualClasses:i.residualStyles;null!=o&&"string"==typeof t&&_o(o,t)>=0&&(e[n+1]=bm(e[n+1]))}(t,d,i,n,o),a=ul(s,c),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,n)}}(o,i,a,n),t!==se&&Ft(r,a,t)&&function Uy(i,t,e,n,r,o,a,s){if(!(3&t.type))return;const c=i.data,l=c[s+1],d=function $R(i){return 1==(1&i)}(l)?$y(c,t,e,r,Dr(l),a):void 0;hl(d)||(hl(o)||function zR(i){return 2==(2&i)}(l)&&(o=$y(c,null,e,r,s,a)),function a1(i,t,e,n,r){if(t)r?i.addClass(e,n):i.removeClass(e,n);else{let o=-1===n.indexOf("-")?void 0:qt.DashCase;null==r?i.removeStyle(e,n,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=qt.Important),i.setStyle(e,n,r,o))}}(n,a,Ic(jt(),e),r,o))}(o,o.data[jt()],r,r[11],i,r[a+1]=function cF(i,t){return null==i||("string"==typeof t?i+=t:"object"==typeof i&&(i=He(oi(i)))),i}(t,e),n,a)}function vm(i,t,e,n,r){let o=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s<a&&(o=t[s],n=is(n,o.hostAttrs,r),o!==i);)s++;return null!==i&&(e.directiveStylingLast=s),n}function is(i,t,e){const n=e?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?r=a:r===n&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),ri(i,a,!!e||t[++o]))}return void 0===i?null:i}function $y(i,t,e,n,r,o){const a=null===t;let s;for(;r>0;){const c=i[r],l=Array.isArray(c),d=l?c[1]:c,u=null===d;let h=e[r+1];h===se&&(h=u?Ie:void 0);let p=u?uh(h,n):d===n?h:void 0;if(l&&!hl(p)&&(p=uh(c,n)),hl(p)&&(s=p,a))return s;const f=i[r+1];r=a?Wn(f):Dr(f)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(s=uh(c,n))}return s}function hl(i){return void 0!==i}function fe(i,t=""){const e=M(),n=De(),r=i+22,o=n.firstCreatePass?Do(n,r,1,t,null):n.data[r],a=e[r]=function Ch(i,t){return i.createText(t)}(e[11],t);qc(n,e,a,o),$i(o,!1)}function ml(i){return kr("",i,""),ml}function kr(i,t,e){const n=M(),r=function Eo(i,t,e,n){return Ft(i,lo(),e)?t+oe(e)+n:se}(n,i,t,e);return r!==se&&function yn(i,t,e){const n=Ic(t,i);!function jb(i,t,e){i.setValue(t,e)}(i[11],n,e)}(n,jt(),r),kr}function ym(i,t,e){const n=M();if(Ft(n,lo(),t)){const o=De(),a=Ke();ai(o,a,n,i,t,ny(Xu(o.data),a,n),e,!0)}return ym}const Lo="en-US";let h0=Lo;function Cm(i,t,e,n,r){if(i=X(i),Array.isArray(i))for(let o=0;o<i.length;o++)Cm(i[o],t,e,n,r);else{const o=De(),a=M();let s=yr(i)?i:X(i.provide),c=Mv(i);const l=wt(),d=1048575&l.providerIndexes,u=l.directiveStart,h=l.providerIndexes>>20;if(yr(i)||!i.multi){const p=new Na(c,r,m),f=Dm(s,t,r?d:d+h,u);-1===f?(sh(Vc(l,a),o,s),Mm(o,i,t.length),t.push(s),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),e.push(p),a.push(p)):(e[f]=p,a[f]=p)}else{const p=Dm(s,t,d+h,u),f=Dm(s,t,d,d+h),g=p>=0&&e[p],_=f>=0&&e[f];if(r&&!_||!r&&!g){sh(Vc(l,a),o,s);const w=function kO(i,t,e,n,r){const o=new Na(i,e,m);return o.multi=[],o.index=t,o.componentProviders=0,L0(o,r,n&&!e),o}(r?DO:MO,e.length,r,n,c);!r&&_&&(e[f].providerFactory=w),Mm(o,i,t.length,0),t.push(s),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),e.push(w),a.push(w)}else Mm(o,i,p>-1?p:f,L0(e[r?f:p],c,!r&&n));!r&&n&&_&&e[f].componentProviders++}}}function Mm(i,t,e,n){const r=yr(t),o=function H1(i){return!!i.useClass}(t);if(r||o){const c=(o?X(t.useClass):t).prototype.ngOnDestroy;if(c){const l=i.destroyHooks||(i.destroyHooks=[]);if(!r&&t.multi){const d=l.indexOf(e);-1===d?l.push(e,[n,c]):l[d+1].push(n,c)}else l.push(e,c)}}}function L0(i,t,e){return e&&i.componentProviders++,i.multi.push(t)-1}function Dm(i,t,e,n){for(let r=e;r<n;r++)if(t[r]===i)return r;return-1}function MO(i,t,e,n){return km(this.multi,[])}function DO(i,t,e,n){const r=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,s=fr(e,e[1],this.providerFactory.index,n);o=s.slice(0,a),km(r,o);for(let c=a;c<s.length;c++)o.push(s[c])}else o=[],km(r,o);return o}function km(i,t){for(let e=0;e<i.length;e++)t.push((0,i[e])());return t}function F(i,t=[]){return e=>{e.providersResolver=(n,r)=>function CO(i,t,e){const n=De();if(n.firstCreatePass){const r=Ai(i);Cm(e,n.data,n.blueprint,r,!0),Cm(t,n.data,n.blueprint,r,!1)}}(n,r?r(i):i,t)}}class Bo{}class B0{}class V0 extends Bo{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new oy(this);const n=ei(t);this._bootstrapComponents=vn(n.bootstrap),this._r3Injector=Bv(t,e,[{provide:Bo,useValue:this},{provide:xo,useValue:this.componentFactoryResolver}],He(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Em extends B0{constructor(t){super(),this.moduleType=t}create(t){return new V0(this.moduleType,t)}}class SO extends Bo{constructor(t,e,n){super(),this.componentFactoryResolver=new oy(this),this.instance=null;const r=new Cv([...t,{provide:Bo,useValue:this},{provide:xo,useValue:this.componentFactoryResolver}],e||tl(),n,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function bl(i,t,e=null){return new SO(i,t,e).injector}let TO=(()=>{class i{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const n=vv(0,e.type),r=n.length>0?bl([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return i.\u0275prov=S({token:i,providedIn:"environment",factory:()=>new i(b(gn))}),i})();function Sm(i){i.getStandaloneInjector=t=>t.get(TO).getOrCreateStandaloneInjector(i)}function Sr(i,t,e){const n=Ht()+i,r=M();return r[n]===se?Yi(r,n,e?t.call(e):t()):function es(i,t){return i[t]}(r,n)}function W0(i,t,e,n){return function q0(i,t,e,n,r,o){const a=t+e;return Ft(i,a,r)?Yi(i,a+1,o?n.call(o,r):n(r)):function cs(i,t){const e=i[t];return e===se?void 0:e}(i,a+1)}(M(),Ht(),i,t,e,n)}function Im(i){return t=>{setTimeout(i,void 0,t)}}const re=class JO extends G{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r=t,o=e||(()=>null),a=n;if(t&&"object"==typeof t){const c=t;r=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=Im(o),r&&(r=Im(r)),a&&(a=Im(a)));const s=super.subscribe({next:r,error:o,complete:a});return t instanceof Qe&&t.add(s),s}};function eP(){return this._results[wr()]()}class qn{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=wr(),n=qn.prototype;n[e]||(n[e]=eP)}get changes(){return this._changes||(this._changes=new re)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const r=function pi(i){return i.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function lI(i,t,e){if(i.length!==t.length)return!1;for(let n=0;n<i.length;n++){let r=i[n],o=t[n];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(n._results,r,e))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let pt=(()=>{class i{}return i.__NG_ELEMENT_ID__=nP,i})();const tP=pt,iP=class extends tP{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t,e){const n=this._declarationTContainer.tViews,r=nl(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(r[19]=a.createEmbeddedView(n)),Zh(n,r,t),new Xa(r)}};function nP(){return vl(wt(),M())}function vl(i,t){return 4&i.type?new iP(t,i,wo(i,t)):null}let ft=(()=>{class i{}return i.__NG_ELEMENT_ID__=rP,i})();function rP(){return ex(wt(),M())}const oP=ft,Z0=class extends oP{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return wo(this._hostTNode,this._hostLView)}get injector(){return new ho(this._hostTNode,this._hostLView)}get parentInjector(){const t=ah(this._hostTNode,this._hostLView);if(sb(t)){const e=Lc(t,this._hostLView),n=Nc(t);return new ho(e[1].data[n+8],e)}return new ho(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=J0(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){let r,o;"number"==typeof n?r=n:null!=n&&(r=n.index,o=n.injector);const a=t.createEmbeddedView(e||{},o);return this.insert(a,r),a}createComponent(t,e,n,r,o){const a=t&&!function Va(i){return"function"==typeof i}(t);let s;if(a)s=e;else{const u=e||{};s=u.index,n=u.injector,r=u.projectableNodes,o=u.environmentInjector||u.ngModuleRef}const c=a?t:new Za(Le(t)),l=n||this.parentInjector;if(!o&&null==c.ngModule){const h=(a?l:this.parentInjector).get(gn,null);h&&(o=h)}const d=c.create(l,r,void 0,o);return this.insert(d.hostView,s),d}insert(t,e){const n=t._lView,r=n[1];if(function FT(i){return Ii(i[3])}(n)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const u=n[3],h=new Z0(u,u[6],u[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),a=this._lContainer;!function XI(i,t,e,n){const r=10+n,o=e.length;n>0&&(e[r-1][4]=t),n<o-10?(t[4]=e[r],vb(e,10+n,t)):(e.push(t),t[4]=null),t[3]=e;const a=t[17];null!==a&&e!==a&&function ZI(i,t){const e=i[9];t[16]!==t[3][3][16]&&(i[2]=!0),null===e?i[9]=[t]:e.push(t)}(a,t);const s=t[19];null!==s&&s.insertView(i),t[2]|=64}(r,n,a,o);const s=Sh(o,a),c=n[11],l=Wc(c,a[7]);return null!==l&&function YI(i,t,e,n,r,o){n[0]=r,n[6]=t,Ga(i,n,e,1,r,o)}(r,a[6],c,n,l,s),t.attachToViewContainerRef(),vb(Am(a),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=J0(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Dh(this._lContainer,e);n&&(jc(Am(this._lContainer),e),Ub(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Dh(this._lContainer,e);return n&&null!=jc(Am(this._lContainer),e)?new Xa(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function J0(i){return i[8]}function Am(i){return i[8]||(i[8]=[])}function ex(i,t){let e;const n=t[i.index];if(Ii(n))e=n;else{let r;if(8&i.type)r=xt(n);else{const o=t[11];r=o.createComment("");const a=ii(i,t);_r(o,Wc(o,a),r,function n1(i,t){return i.nextSibling(t)}(o,a),!1)}t[i.index]=e=ey(n,t,r,i),ol(t,e)}return new Z0(e,i,t)}class Rm{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rm(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let o=0;o<n;o++){const a=e.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new Fm(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==ox(t,e).matches&&this.queries[e].setDirty()}}class tx{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Om{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,o=this.getByIndex(n).embeddedTView(t,r);o&&(o.indexInDeclarationView=n,null!==e?e.push(o):e=[o])}return null!==e?new Om(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Pm{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Pm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(t,e,aP(e,o)),this.matchTNodeWithReadOption(t,e,Hc(e,t,o,!1,!1))}else n===pt?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Hc(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===L||r===ft||r===pt&&4&e.type)this.addMatch(e.index,-2);else{const o=Hc(e,t,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function aP(i,t){const e=i.localNames;if(null!==e)for(let n=0;n<e.length;n+=2)if(e[n]===t)return e[n+1];return null}function cP(i,t,e,n){return-1===e?function sP(i,t){return 11&i.type?wo(i,t):4&i.type?vl(i,t):null}(t,i):-2===e?function lP(i,t,e){return e===L?wo(t,i):e===pt?vl(t,i):e===ft?ex(t,i):void 0}(i,t,n):fr(i,i[1],e,t)}function ix(i,t,e,n){const r=t[19].queries[n];if(null===r.matches){const o=i.data,a=e.matches,s=[];for(let c=0;c<a.length;c+=2){const l=a[c];s.push(l<0?null:cP(t,o[l],a[c+1],e.metadata.read))}r.matches=s}return r.matches}function Nm(i,t,e,n){const r=i.queries.getByIndex(e),o=r.matches;if(null!==o){const a=ix(i,t,r,e);for(let s=0;s<o.length;s+=2){const c=o[s];if(c>0)n.push(a[s/2]);else{const l=o[s+1],d=t[-c];for(let u=10;u<d.length;u++){const h=d[u];h[17]===h[3]&&Nm(h[1],h,l,n)}if(null!==d[9]){const u=d[9];for(let h=0;h<u.length;h++){const p=u[h];Nm(p[1],p,l,n)}}}}}return n}function V(i){const t=M(),e=De(),n=X_();Zu(n+1);const r=ox(e,n);if(i.dirty&&function RT(i){return 4==(4&i[2])}(t)===(2==(2&r.metadata.flags))){if(null===r.matches)i.reset([]);else{const o=r.crossesNgTemplate?Nm(e,t,n,[]):ix(e,t,r,n);i.reset(o,X1),i.notifyOnChanges()}return!0}return!1}function We(i,t,e){const n=De();n.firstCreatePass&&(rx(n,new tx(i,t,e),-1),2==(2&t)&&(n.staticViewQueries=!0)),nx(n,M(),t)}function Ce(i,t,e,n){const r=De();if(r.firstCreatePass){const o=wt();rx(r,new tx(t,e,n),o.index),function uP(i,t){const e=i.contentQueries||(i.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(i.queries.length-1,t)}(r,i),2==(2&e)&&(r.staticContentQueries=!0)}nx(r,M(),e)}function H(){return function dP(i,t){return i[19].queries[t].queryList}(M(),X_())}function nx(i,t,e){const n=new qn(4==(4&e));Yv(i,t,n,n.destroy),null===t[19]&&(t[19]=new Fm),t[19].queries.push(new Rm(n))}function rx(i,t,e){null===i.queries&&(i.queries=new Om),i.queries.track(new Pm(t,e))}function ox(i,t){return i.queries.getByIndex(t)}function wl(...i){}const us=new y("Application Initializer");let Cl=(()=>{class i{constructor(e){this.appInits=e,this.resolve=wl,this.reject=wl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],n=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(ts(o))e.push(o);else if(mm(o)){const a=new Promise((s,c)=>{o.subscribe({complete:s,error:c})});e.push(a)}}Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),0===e.length&&n(),this.initialized=!0}}return i.\u0275fac=function(e){return new(e||i)(b(us,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const hs=new y("AppId",{providedIn:"root",factory:function Mx(){return`${jm()}${jm()}${jm()}`}});function jm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dx=new y("Platform Initializer"),ms=new y("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),kx=new y("appBootstrapListener"),Qt=new y("AnimationModuleType");let AP=(()=>{class i{log(e){console.log(e)}warn(e){console.warn(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();const Zi=new y("LocaleId",{providedIn:"root",factory:()=>he(Zi,Z.Optional|Z.SkipSelf)||function RP(){return typeof $localize<"u"&&$localize.locale||Lo}()});class OP{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let Ex=(()=>{class i{compileModuleSync(e){return new Em(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const n=this.compileModuleSync(e),o=vn(ei(e).declarations).reduce((a,s)=>{const c=Le(s);return c&&a.push(new Za(c)),a},[]);return new OP(n,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const LP=(()=>Promise.resolve(0))();function zm(i){typeof Zone>"u"?LP.then(()=>{i&&i.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",i)}class z{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new re(!1),this.onMicrotaskEmpty=new re(!1),this.onStable=new re(!1),this.onError=new re(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function BP(){let i=je.requestAnimationFrame,t=je.cancelAnimationFrame;if(typeof Zone<"u"&&i&&t){const e=i[Zone.__symbol__("OriginalDelegate")];e&&(i=e);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function jP(i){const t=()=>{!function HP(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(je,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,$m(i),i.isCheckStableRunning=!0,Um(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),$m(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,o,a,s)=>{try{return Ix(i),e.invokeTask(r,o,a,s)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||i.shouldCoalesceRunChangeDetection)&&t(),Ax(i)}},onInvoke:(e,n,r,o,a,s,c)=>{try{return Ix(i),e.invoke(r,o,a,s,c)}finally{i.shouldCoalesceRunChangeDetection&&t(),Ax(i)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(i._hasPendingMicrotasks=o.microTask,$m(i),Um(i)):"macroTask"==o.change&&(i.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),i.runOutsideAngular(()=>i.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!z.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(z.isInAngularZone())throw new C(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,VP,wl,wl);try{return o.runTask(a,e,n)}finally{o.cancelTask(a)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const VP={};function Um(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function $m(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function Ix(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function Ax(i){i._nesting--,Um(i)}class zP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new re,this.onMicrotaskEmpty=new re,this.onStable=new re,this.onError=new re}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}const Rx=new y(""),Ml=new y("");let qm,Gm=(()=>{class i{constructor(e,n,r){this._ngZone=e,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,qm||(function UP(i){qm=i}(r),r.addToWindow(n)),this._watchAngularEvents(),e.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:()=>{z.assertNotInAngularZone(),zm(()=>{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())zm(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let o=-1;n&&n>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,n,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(e,n,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}}return i.\u0275fac=function(e){return new(e||i)(b(z),b(Wm),b(Ml))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})(),Wm=(()=>{class i{constructor(){this._applications=new Map}registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return qm?.findTestabilityInTree(this,e,n)??null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})(),Yn=null;const Fx=new y("AllowMultipleToken"),Ym=new y("PlatformDestroyListeners");class Ox{constructor(t,e){this.name=t,this.token=e}}function Nx(i,t,e=[]){const n=`Platform: ${t}`,r=new y(n);return(o=[])=>{let a=Qm();if(!a||a.injector.get(Fx,!1)){const s=[...e,...o,{provide:r,useValue:!0}];i?i(s):function WP(i){if(Yn&&!Yn.get(Fx,!1))throw new C(400,!1);Yn=i;const t=i.get(Bx);(function Px(i){const t=i.get(Dx,null);t&&t.forEach(e=>e())})(i)}(function Lx(i=[],t){return zt.create({name:t,providers:[{provide:Hh,useValue:"platform"},{provide:Ym,useValue:new Set([()=>Yn=null])},...i]})}(s,n))}return function YP(i){const t=Qm();if(!t)throw new C(401,!1);return t}()}}function Qm(){return Yn?.get(Bx)??null}let Bx=(()=>{class i{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,n){const r=function Hx(i,t){let e;return e="noop"===i?new zP:("zone.js"===i?void 0:i)||new z(t),e}(n?.ngZone,function Vx(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!i||!i.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!i||!i.ngZoneRunCoalescing)||!1}}(n)),o=[{provide:z,useValue:r}];return r.run(()=>{const a=zt.create({providers:o,parent:this.injector,name:e.moduleType.name}),s=e.create(a),c=s.injector.get(bn,null);if(!c)throw new C(402,!1);return r.runOutsideAngular(()=>{const l=r.onError.subscribe({next:d=>{c.handleError(d)}});s.onDestroy(()=>{Dl(this._modules,s),l.unsubscribe()})}),function jx(i,t,e){try{const n=e();return ts(n)?n.catch(r=>{throw t.runOutsideAngular(()=>i.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>i.handleError(n)),n}}(c,r,()=>{const l=s.injector.get(Cl);return l.runInitializers(),l.donePromise.then(()=>(function m0(i){di(i,"Expected localeId to be defined"),"string"==typeof i&&(h0=i.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Zi,Lo)||Lo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,n=[]){const r=zx({},n);return function $P(i,t,e){const n=new Em(e);return Promise.resolve(n)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const n=e.injector.get(Tr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new C(403,!1);e.instance.ngDoBootstrap(n)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const e=this._injector.get(Ym,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return i.\u0275fac=function(e){return new(e||i)(b(zt))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();function zx(i,t){return Array.isArray(t)?t.reduce(zx,i):{...i,...t}}let Tr=(()=>{class i{constructor(e,n,r){this._zone=e,this._injector=n,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 Oe(s=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{s.next(this._stable),s.complete()})}),a=new Oe(s=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),zm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,s.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{s.next(!1)}))});return()=>{c.unsubscribe(),l.unsubscribe()}});this.isStable=ki(o,a.pipe(w_()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,n){const r=e instanceof Dv;if(!this._injector.get(Cl).done)throw!r&&function no(i){const t=Le(i)||Tt(i)||Bt(i);return null!==t&&t.standalone}(e),new C(405,false);let a;a=r?e:this._injector.get(xo).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function GP(i){return i.isBoundToModule}(a)?void 0:this._injector.get(Bo),l=a.create(zt.NULL,[],n||a.selector,s),d=l.location.nativeElement,u=l.injector.get(Rx,null);return u?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Dl(this.components,l),u?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){const n=e;Dl(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const n=this._injector.get(kx,[]);n.push(...this._bootstrapListeners),n.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Dl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new C(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return i.\u0275fac=function(e){return new(e||i)(b(z),b(gn),b(bn))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Dl(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}let nt=(()=>{class i{}return i.__NG_ELEMENT_ID__=XP,i})();function XP(i){return function ZP(i,t,e){if(Fa(i)&&!e){const n=ni(i.index,t);return new Xa(n,n)}return 47&i.type?new Xa(t[16],t):null}(wt(),M(),16==(16&i))}class qx{constructor(){}supports(t){return Ja(t)}create(t){return new rN(t)}}const nN=(i,t)=>t;class rN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||nN}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){const a=!n||e&&e.currentIndex<Qx(n,r,o)?e:n,s=Qx(a,r,o),c=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(e=e._next,null==a.previousIndex)r++;else{o||(o=[]);const l=s-r,d=c-r;if(l!=d){for(let h=0;h<l;h++){const p=h<o.length?o[h]:o[h]=0,f=p+h;d<=f&&f<l&&(o[h]=p+1)}o[a.previousIndex]=d-l}}s!==c&&t(a,s,c)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ja(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,a,e=this._itHead,n=!1;if(Array.isArray(t)){this.length=t.length;for(let s=0;s<this.length;s++)o=t[s],a=this._trackByFn(s,o),null!==e&&Object.is(e.trackById,a)?(n&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,a,s),n=!0),e=e._next}else r=0,function FR(i,t){if(Array.isArray(i))for(let e=0;e<i.length;e++)t(i[e]);else{const e=i[wr()]();let n;for(;!(n=e.next()).done;)t(n.value)}}(t,s=>{a=this._trackByFn(r,s),null!==e&&Object.is(e.trackById,a)?(n&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,r),n=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new oN(e,n),o,r),t}_verifyReinsertion(t,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yx),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yx),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class oN{constructor(t,e){this.item=t,this.trackById=e,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 aN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Yx{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new aN,this.map.set(e,n)),n.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Qx(i,t,e){const n=i.previousIndex;if(null===n)return n;let r=0;return e&&n<e.length&&(r=e[n]),n+t+r}class Kx{constructor(){}supports(t){return t instanceof Map||um(t)}create(){return new sN}}class sN{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||um(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(n,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const n=new cN(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class cN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Xx(){return new _i([new qx])}let _i=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(null!=n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||Xx()),deps:[[i,new Un,new Oi]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(null!=n)return n;throw new C(901,!1)}}return i.\u0275prov=S({token:i,providedIn:"root",factory:Xx}),i})();function Zx(){return new ps([new Kx])}let ps=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||Zx()),deps:[[i,new Un,new Oi]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n)return n;throw new C(901,!1)}}return i.\u0275prov=S({token:i,providedIn:"root",factory:Zx}),i})();const uN=Nx(null,"core",[]);let hN=(()=>{class i{constructor(e){}}return i.\u0275fac=function(e){return new(e||i)(b(Tr))},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})();function jo(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}let ep=null;function Ji(){return ep}class fN{}const le=new y("DocumentToken");let tp=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(){return function gN(){return b(Jx)}()},providedIn:"platform"}),i})();const _N=new y("Location Initialized");let Jx=(()=>{class i extends tp{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ji().getBaseHref(this._doc)}onPopState(e){const n=Ji().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){const n=Ji().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,n,r){ew()?this._history.pushState(e,n,r):this.location.hash=r}replaceState(e,n,r){ew()?this._history.replaceState(e,n,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:function(){return function bN(){return new Jx(b(le))}()},providedIn:"platform"}),i})();function ew(){return!!window.history.pushState}function ip(i,t){if(0==i.length)return t;if(0==t.length)return i;let e=0;return i.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?i+t.substring(1):1==e?i+t:i+"/"+t}function tw(i){const t=i.match(/#|\?|$/),e=t&&t.index||i.length;return i.slice(0,e-("/"===i[e-1]?1:0))+i.slice(e)}function Cn(i){return i&&"?"!==i[0]?"?"+i:i}let Ar=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(){return he(nw)},providedIn:"root"}),i})();const iw=new y("appBaseHref");let nw=(()=>{class i extends Ar{constructor(e,n){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??he(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ip(this._baseHref,e)}path(e=!1){const n=this._platformLocation.pathname+Cn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,o){const a=this.prepareExternalUrl(r+Cn(o));this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){const a=this.prepareExternalUrl(r+Cn(o));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(b(tp),b(iw,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),vN=(()=>{class i extends Ar{constructor(e,n){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(e){const n=ip(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Cn(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Cn(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(b(tp),b(iw,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})(),Sl=(()=>{class i{constructor(e){this._subject=new re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const n=this._locationStrategy.getBaseHref();this._basePath=function wN(i){if(new RegExp("^(https?:)?//").test(i)){const[,e]=i.split(/\/\/[^\/]+/);return e}return i}(tw(rw(n))),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(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+Cn(n))}normalize(e){return i.stripTrailingSlash(function xN(i,t){return i&&t.startsWith(i)?t.substring(i.length):t}(this._basePath,rw(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Cn(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Cn(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r})}}return i.normalizeQueryParams=Cn,i.joinWithSlash=ip,i.stripTrailingSlash=tw,i.\u0275fac=function(e){return new(e||i)(b(Ar))},i.\u0275prov=S({token:i,factory:function(){return function yN(){return new Sl(b(Ar))}()},providedIn:"root"}),i})();function rw(i){return i.replace(/\/index.html$/,"")}let mw=(()=>{class i{constructor(e,n,r,o){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Ja(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(n=>this._toggleClass(n.key,n.currentValue)),e.forEachChangedItem(n=>this._toggleClass(n.key,n.currentValue)),e.forEachRemovedItem(n=>{n.previousValue&&this._toggleClass(n.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(n=>{if("string"!=typeof n.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${He(n.item)}`);this._toggleClass(n.item,!0)}),e.forEachRemovedItem(n=>this._toggleClass(n.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(n=>this._toggleClass(n,!0)):Object.keys(e).forEach(n=>this._toggleClass(n,!!e[n])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(n=>this._toggleClass(n,!1)):Object.keys(e).forEach(n=>this._toggleClass(n,!1)))}_toggleClass(e,n){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return i.\u0275fac=function(e){return new(e||i)(m(_i),m(ps),m(L),m(_n))},i.\u0275dir=v({type:i,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),i})(),en=(()=>{class i{constructor(e,n){this._viewContainer=e,this._context=new dL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){_w("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){_w("ngIfElse",e),this._elseTemplateRef=e,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(e,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(m(ft),m(pt))},i.\u0275dir=v({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),i})();class dL{constructor(){this.$implicit=null,this.ngIf=null}}function _w(i,t){if(t&&!t.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${He(t)}'.`)}let Ot=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})();const ww="browser";function fp(i){return i===ww}let HL=(()=>{class i{}return i.\u0275prov=S({token:i,providedIn:"root",factory:()=>new jL(b(le),window)}),i})();class jL{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function zL(i,t){const e=i.getElementById(t)||i.getElementsByName(t)[0];if(e)return e;if("function"==typeof i.createTreeWalker&&i.body&&(i.body.createShadowRoot||i.body.attachShadow)){const n=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const o=r.shadowRoot;if(o){const a=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(a)return a}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Cw(this.window.history)||Cw(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Cw(i){return Object.getOwnPropertyDescriptor(i,"scrollRestoration")}class _2 extends fN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class bp extends _2{static makeCurrent(){!function pN(i){ep||(ep=i)}(new bp)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function b2(){return bs=bs||document.querySelector("base"),bs?bs.getAttribute("href"):null}();return null==e?null:function v2(i){Hl=Hl||document.createElement("a"),Hl.setAttribute("href",i);const t=Hl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){bs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function oL(i,t){t=encodeURIComponent(t);for(const e of i.split(";")){const n=e.indexOf("="),[r,o]=-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let Hl,bs=null;const Tw=new y("TRANSITION_ID"),x2=[{provide:us,useFactory:function y2(i,t,e){return()=>{e.get(Cl).donePromise.then(()=>{const n=Ji(),r=t.querySelectorAll(`style[ng-transition="${i}"]`);for(let o=0;o<r.length;o++)n.remove(r[o])})}},deps:[Tw,le,zt],multi:!0}];let C2=(()=>{class i{build(){return new XMLHttpRequest}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();const jl=new y("EventManagerPlugins");let zl=(()=>{class i{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}addGlobalEventListener(e,n,r){return this._findPluginFor(n).addGlobalEventListener(e,n,r)}getZone(){return this._zone}_findPluginFor(e){const n=this._eventNameToPlugin.get(e);if(n)return n;const r=this._plugins;for(let o=0;o<r.length;o++){const a=r[o];if(a.supports(e))return this._eventNameToPlugin.set(e,a),a}throw new Error(`No event manager plugin found for event ${e}`)}}return i.\u0275fac=function(e){return new(e||i)(b(jl),b(z))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();class Iw{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Ji().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Aw=(()=>{class i{constructor(){this._stylesSet=new Set}addStyles(e){const n=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),n.add(r))}),this.onStylesAdded(n)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})(),vs=(()=>{class i extends Aw{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,n,r){e.forEach(o=>{const a=this._doc.createElement("style");a.textContent=o,r.push(n.appendChild(a))})}addHost(e){const n=[];this._addStylesToHost(this._stylesSet,e,n),this._hostNodes.set(e,n)}removeHost(e){const n=this._hostNodes.get(e);n&&n.forEach(Rw),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((n,r)=>{this._addStylesToHost(e,r,n)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Rw))}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();function Rw(i){Ji().remove(i)}const vp={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/"},yp=/%COMP%/g;function xp(i,t){return t.flat(100).map(e=>e.replace(yp,i))}function Pw(i){return t=>{if("__ngUnwrap__"===t)return i;!1===i(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ul=(()=>{class i{constructor(e,n,r){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new wp(e)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;switch(n.encapsulation){case Si.Emulated:{let r=this.rendererByCompId.get(n.id);return r||(r=new T2(this.eventManager,this.sharedStylesHost,n,this.appId),this.rendererByCompId.set(n.id,r)),r.applyToHost(e),r}case 1:case Si.ShadowDom:return new I2(this.eventManager,this.sharedStylesHost,e,n);default:if(!this.rendererByCompId.has(n.id)){const r=xp(n.id,n.styles);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(n.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return i.\u0275fac=function(e){return new(e||i)(b(zl),b(vs),b(hs))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();class wp{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(vp[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(Lw(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Lw(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const o=vp[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=vp[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(qt.DashCase|qt.Important)?t.style.setProperty(e,n,r&qt.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&qt.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Pw(n)):this.eventManager.addEventListener(t,e,Pw(n))}}function Lw(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class T2 extends wp{constructor(t,e,n,r){super(t),this.component=n;const o=xp(r+"-"+n.id,n.styles);e.addStyles(o),this.contentAttr=function k2(i){return"_ngcontent-%COMP%".replace(yp,i)}(r+"-"+n.id),this.hostAttr=function E2(i){return"_nghost-%COMP%".replace(yp,i)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class I2 extends wp{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=xp(r.id,r.styles);for(let a=0;a<o.length;a++){const s=document.createElement("style");s.textContent=o[a],this.shadowRoot.appendChild(s)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let A2=(()=>{class i extends Iw{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r){return e.addEventListener(n,r,!1),()=>this.removeEventListener(e,n,r)}removeEventListener(e,n,r){return e.removeEventListener(n,r)}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();const Bw=["alt","control","meta","shift"],R2={"\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"},F2={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let O2=(()=>{class i extends Iw{constructor(e){super(e)}supports(e){return null!=i.parseEventName(e)}addEventListener(e,n,r){const o=i.parseEventName(n),a=i.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ji().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=i._normalizeKey(n.pop());let a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),Bw.forEach(l=>{const d=n.indexOf(l);d>-1&&(n.splice(d,1),a+=l+".")}),a+=o,0!=n.length||0===o.length)return null;const c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(e,n){let r=R2[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Bw.forEach(a=>{a!==r&&(0,F2[a])(e)&&(o+=a+".")}),o+=r,o===n)}static eventCallback(e,n,r){return o=>{i.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();const B2=Nx(uN,"browser",[{provide:ms,useValue:ww},{provide:Dx,useValue:function P2(){bp.makeCurrent()},multi:!0},{provide:le,useFactory:function L2(){return function u1(i){Rh=i}(document),document},deps:[]}]),jw=new y(""),zw=[{provide:Ml,useClass:class w2{addToWindow(t){je.getAngularTestability=(n,r=!0)=>{const o=t.findTestabilityInTree(n,r);if(null==o)throw new Error("Could not find testability for element.");return o},je.getAllAngularTestabilities=()=>t.getAllTestabilities(),je.getAllAngularRootElements=()=>t.getAllRootElements(),je.frameworkStabilizers||(je.frameworkStabilizers=[]),je.frameworkStabilizers.push(n=>{const r=je.getAllAngularTestabilities();let o=r.length,a=!1;const s=function(c){a=a||c,o--,0==o&&n(a)};r.forEach(function(c){c.whenStable(s)})})}findTestabilityInTree(t,e,n){return null==e?null:t.getTestability(e)??(n?Ji().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:Rx,useClass:Gm,deps:[z,Wm,Ml]},{provide:Gm,useClass:Gm,deps:[z,Wm,Ml]}],Uw=[{provide:Hh,useValue:"root"},{provide:bn,useFactory:function N2(){return new bn},deps:[]},{provide:jl,useClass:A2,multi:!0,deps:[le,z,ms]},{provide:jl,useClass:O2,multi:!0,deps:[le]},{provide:Ul,useClass:Ul,deps:[zl,vs,hs]},{provide:Ya,useExisting:Ul},{provide:Aw,useExisting:vs},{provide:vs,useClass:vs,deps:[le]},{provide:zl,useClass:zl,deps:[jl,z]},{provide:class UL{},useClass:C2,deps:[]},[]];let $w=(()=>{class i{constructor(e){}static withServerTransition(e){return{ngModule:i,providers:[{provide:hs,useValue:e.appId},{provide:Tw,useExisting:hs},x2]}}}return i.\u0275fac=function(e){return new(e||i)(b(jw,12))},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[...Uw,...zw],imports:[Ot,hN]}),i})(),Gw=(()=>{class i{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:function(e){let n=null;return n=e?new e:function H2(){return new Gw(b(le))}(),n},providedIn:"root"}),i})();typeof window<"u"&&window;let Dp=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(e){let n=null;return n=e?new(e||i):b(Yw),n},providedIn:"root"}),i})(),Yw=(()=>{class i extends Dp{constructor(e){super(),this._doc=e}sanitize(e,n){if(null==n)return null;switch(e){case Ae.NONE:return n;case Ae.HTML:return Wi(n,"HTML")?oi(n):hv(this._doc,String(n)).toString();case Ae.STYLE:return Wi(n,"Style")?oi(n):n;case Ae.SCRIPT:if(Wi(n,"Script"))return oi(n);throw new Error("unsafe value used in a script context");case Ae.URL:return Wi(n,"URL")?oi(n):Xc(String(n));case Ae.RESOURCE_URL:if(Wi(n,"ResourceURL"))return oi(n);throw new Error(`unsafe value used in a resource URL context (see ${_c})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${_c})`)}}bypassSecurityTrustHtml(e){return function b1(i){return new h1(i)}(e)}bypassSecurityTrustStyle(e){return function v1(i){return new m1(i)}(e)}bypassSecurityTrustScript(e){return function y1(i){return new p1(i)}(e)}bypassSecurityTrustUrl(e){return function x1(i){return new f1(i)}(e)}bypassSecurityTrustResourceUrl(e){return function w1(i){return new g1(i)}(e)}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:function(e){let n=null;return n=e?new e:function q2(i){return new Yw(i.get(le))}(b(zt)),n},providedIn:"root"}),i})();function P(...i){return tt(i,Da(i))}class Xt extends G{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}const $l=wa(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:Y2}=Array,{getPrototypeOf:Q2,prototype:K2,keys:X2}=Object;function Qw(i){if(1===i.length){const t=i[0];if(Y2(t))return{args:t,keys:null};if(function Z2(i){return i&&"object"==typeof i&&Q2(i)===K2}(t)){const e=X2(t);return{args:e.map(n=>t[n]),keys:e}}}return{args:i,keys:null}}const{isArray:J2}=Array;function kp(i){return U(t=>function eB(i,t){return J2(t)?i(...t):i(t)}(i,t))}function Kw(i,t){return i.reduce((e,n,r)=>(e[n]=t[r],e),{})}function Ep(...i){const t=Da(i),e=b_(i),{args:n,keys:r}=Qw(i);if(0===n.length)return tt([],t);const o=new Oe(function tB(i,t,e=Vn){return n=>{Xw(t,()=>{const{length:r}=i,o=new Array(r);let a=r,s=r;for(let c=0;c<r;c++)Xw(t,()=>{const l=tt(i[c],t);let d=!1;l.subscribe($e(n,u=>{o[c]=u,d||(d=!0,s--),s||n.next(e(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}(n,t,r?a=>Kw(r,a):Vn));return e?o.pipe(kp(e)):o}function Xw(i,t,e){i?cn(e,i,t):t()}function zo(...i){return function iB(){return to(1)}()(tt(i,Da(i)))}function Gl(i){return new Oe(t=>{Lt(i()).subscribe(t)})}function Rr(i,t){const e=ye(i)?i:()=>i,n=r=>r.error(e());return new Oe(t?r=>t.schedule(n,0,r):n)}function Sp(){return Ye((i,t)=>{let e=null;i._refCount++;const n=$e(t,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(e=null);const r=i._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});i.subscribe(n),n.closed||(e=i.connect())})}class Wl extends Oe{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,r_(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Qe;const e=this.getSubject();t.add(this.source.subscribe($e(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Qe.EMPTY)}return t}refCount(){return Sp()(this)}}function Ct(i,t){return Ye((e,n)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&n.complete();e.subscribe($e(n,c=>{r?.unsubscribe();let l=0;const d=o++;Lt(i(c,d)).subscribe(r=$e(n,u=>n.next(t?t(c,u,d,l++):u),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function qe(i){return i<=0?()=>ln:Ye((t,e)=>{let n=0;t.subscribe($e(e,r=>{++n<=i&&(e.next(r),i<=n&&e.complete())}))})}function yi(...i){const t=Da(i);return Ye((e,n)=>{(t?zo(i,e,t):zo(i,e)).subscribe(n)})}function Be(i,t){return Ye((e,n)=>{let r=0;e.subscribe($e(n,o=>i.call(t,o,r++)&&n.next(o)))})}function ql(i){return Ye((t,e)=>{let n=!1;t.subscribe($e(e,r=>{n=!0,e.next(r)},()=>{n||e.next(i),e.complete()}))})}function Zw(i=nB){return Ye((t,e)=>{let n=!1;t.subscribe($e(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(i())))})}function nB(){return new $l}function Kn(i,t){const e=arguments.length>=2;return n=>n.pipe(i?Be((r,o)=>i(r,o,n)):Vn,qe(1),e?ql(t):Zw(()=>new $l))}function Xn(i,t){return ye(t)?ut(i,t,1):ut(i,1)}function ot(i,t,e){const n=ye(i)||t||e?{next:i,error:t,complete:e}:i;return n?Ye((r,o)=>{var a;null===(a=n.subscribe)||void 0===a||a.call(n);let s=!0;r.subscribe($e(o,c=>{var l;null===(l=n.next)||void 0===l||l.call(n,c),o.next(c)},()=>{var c;s=!1,null===(c=n.complete)||void 0===c||c.call(n),o.complete()},c=>{var l;s=!1,null===(l=n.error)||void 0===l||l.call(n,c),o.error(c)},()=>{var c,l;s&&(null===(c=n.unsubscribe)||void 0===c||c.call(n)),null===(l=n.finalize)||void 0===l||l.call(n)}))}):Vn}function Dn(i){return Ye((t,e)=>{let o,n=null,r=!1;n=t.subscribe($e(e,void 0,void 0,a=>{o=Lt(i(a,Dn(i)(t))),n?(n.unsubscribe(),n=null,o.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(e))})}function rB(i,t,e,n,r){return(o,a)=>{let s=e,c=t,l=0;o.subscribe($e(a,d=>{const u=l++;c=s?i(c,d,u):(s=!0,d),n&&a.next(c)},r&&(()=>{s&&a.next(c),a.complete()})))}}function Jw(i,t){return Ye(rB(i,t,arguments.length>=2,!0))}function Tp(i){return i<=0?()=>ln:Ye((t,e)=>{let n=[];t.subscribe($e(e,r=>{n.push(r),i<n.length&&n.shift()},()=>{for(const r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function eC(i,t){const e=arguments.length>=2;return n=>n.pipe(i?Be((r,o)=>i(r,o,n)):Vn,Tp(1),e?ql(t):Zw(()=>new $l))}function Yl(i){return U(()=>i)}function Ql(i){return Ye((t,e)=>{try{t.subscribe(e)}finally{e.add(i)}})}const _e="primary",ys=Symbol("RouteTitle");class aB{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Uo(i){return new aB(i)}function sB(i,t,e){const n=e.path.split("/");if(n.length>i.length||"full"===e.pathMatch&&(t.hasChildren()||n.length<i.length))return null;const r={};for(let o=0;o<n.length;o++){const a=n[o],s=i[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:i.slice(0,n.length),posParams:r}}function tn(i,t){const e=i?Object.keys(i):void 0,n=t?Object.keys(t):void 0;if(!e||!n||e.length!=n.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!tC(i[r],t[r]))return!1;return!0}function tC(i,t){if(Array.isArray(i)&&Array.isArray(t)){if(i.length!==t.length)return!1;const e=[...i].sort(),n=[...t].sort();return e.every((r,o)=>n[o]===r)}return i===t}function iC(i){return Array.prototype.concat.apply([],i)}function nC(i){return i.length>0?i[i.length-1]:null}function Mt(i,t){for(const e in i)i.hasOwnProperty(e)&&t(i[e],e)}function Zn(i){return mm(i)?i:ts(i)?tt(Promise.resolve(i)):P(i)}const Kl=!1,lB={exact:function aC(i,t,e){if(!Or(i.segments,t.segments)||!Xl(i.segments,t.segments,e)||i.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!i.children[n]||!aC(i.children[n],t.children[n],e))return!1;return!0},subset:sC},rC={exact:function dB(i,t){return tn(i,t)},subset:function uB(i,t){return Object.keys(t).length<=Object.keys(i).length&&Object.keys(t).every(e=>tC(i[e],t[e]))},ignored:()=>!0};function oC(i,t,e){return lB[e.paths](i.root,t.root,e.matrixParams)&&rC[e.queryParams](i.queryParams,t.queryParams)&&!("exact"===e.fragment&&i.fragment!==t.fragment)}function sC(i,t,e){return cC(i,t,t.segments,e)}function cC(i,t,e,n){if(i.segments.length>e.length){const r=i.segments.slice(0,e.length);return!(!Or(r,e)||t.hasChildren()||!Xl(r,e,n))}if(i.segments.length===e.length){if(!Or(i.segments,e)||!Xl(i.segments,e,n))return!1;for(const r in t.children)if(!i.children[r]||!sC(i.children[r],t.children[r],n))return!1;return!0}{const r=e.slice(0,i.segments.length),o=e.slice(i.segments.length);return!!(Or(i.segments,r)&&Xl(i.segments,r,n)&&i.children[_e])&&cC(i.children[_e],t,o,n)}}function Xl(i,t,e){return t.every((n,r)=>rC[e](i[r].parameters,n.parameters))}class Fr{constructor(t=new be([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Uo(this.queryParams)),this._queryParamMap}toString(){return pB.serialize(this)}}class be{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Mt(e,(n,r)=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zl(this)}}class xs{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Uo(this.parameters)),this._parameterMap}toString(){return uC(this)}}function Or(i,t){return i.length===t.length&&i.every((e,n)=>e.path===t[n].path)}let ws=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(){return new Ip},providedIn:"root"}),i})();class Ip{parse(t){const e=new CB(t);return new Fr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Cs(t.root,!0)}`,n=function _B(i){const t=Object.keys(i).map(e=>{const n=i[e];return Array.isArray(n)?n.map(r=>`${Jl(e)}=${Jl(r)}`).join("&"):`${Jl(e)}=${Jl(n)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${function fB(i){return encodeURI(i)}(t.fragment)}`:""}`}}const pB=new Ip;function Zl(i){return i.segments.map(t=>uC(t)).join("/")}function Cs(i,t){if(!i.hasChildren())return Zl(i);if(t){const e=i.children[_e]?Cs(i.children[_e],!1):"",n=[];return Mt(i.children,(r,o)=>{o!==_e&&n.push(`${o}:${Cs(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function mB(i,t){let e=[];return Mt(i.children,(n,r)=>{r===_e&&(e=e.concat(t(n,r)))}),Mt(i.children,(n,r)=>{r!==_e&&(e=e.concat(t(n,r)))}),e}(i,(n,r)=>r===_e?[Cs(i.children[_e],!1)]:[`${r}:${Cs(n,!1)}`]);return 1===Object.keys(i.children).length&&null!=i.children[_e]?`${Zl(i)}/${e[0]}`:`${Zl(i)}/(${e.join("//")})`}}function lC(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Jl(i){return lC(i).replace(/%3B/gi,";")}function Ap(i){return lC(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ed(i){return decodeURIComponent(i)}function dC(i){return ed(i.replace(/\+/g,"%20"))}function uC(i){return`${Ap(i.path)}${function gB(i){return Object.keys(i).map(t=>`;${Ap(t)}=${Ap(i[t])}`).join("")}(i.parameters)}`}const bB=/^[^\/()?;=#]+/;function td(i){const t=i.match(bB);return t?t[0]:""}const vB=/^[^=?&#]+/,xB=/^[^&#]+/;class CB{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new be([],{}):new be([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[_e]=new be(t,e)),n}parseSegment(){const t=td(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,Kl);return this.capture(t),new xs(ed(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=td(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const r=td(this.remaining);r&&(n=r,this.capture(n))}t[ed(e)]=ed(n)}parseQueryParam(t){const e=function yB(i){const t=i.match(vB);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const a=function wB(i){const t=i.match(xB);return t?t[0]:""}(this.remaining);a&&(n=a,this.capture(n))}const r=dC(e),o=dC(n);if(t.hasOwnProperty(r)){let a=t[r];Array.isArray(a)||(a=[a],t[r]=a),a.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=td(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new C(4010,Kl);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=_e);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[_e]:new be([],a),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new C(4011,Kl)}}function Rp(i){return i.segments.length>0?new be([],{[_e]:i}):i}function id(i){const t={};for(const n of Object.keys(i.children)){const o=id(i.children[n]);(o.segments.length>0||o.hasChildren())&&(t[n]=o)}return function MB(i){if(1===i.numberOfChildren&&i.children[_e]){const t=i.children[_e];return new be(i.segments.concat(t.segments),t.children)}return i}(new be(i.segments,t))}function Pr(i){return i instanceof Fr}function EB(i,t,e,n,r){if(0===e.length)return $o(t.root,t.root,t.root,n,r);const o=function pC(i){if("string"==typeof i[0]&&1===i.length&&"/"===i[0])return new mC(!0,0,i);let t=0,e=!1;const n=i.reduce((r,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const s={};return Mt(o.outlets,(c,l)=>{s[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===a?(o.split("/").forEach((s,c)=>{0==c&&"."===s||(0==c&&""===s?e=!0:".."===s?t++:""!=s&&r.push(s))}),r):[...r,o]},[]);return new mC(e,t,n)}(e);return o.toRoot()?$o(t.root,t.root,new be([],{}),n,r):function a(c){const l=function TB(i,t,e,n){if(i.isAbsolute)return new Go(t.root,!0,0);if(-1===n)return new Go(e,e===t.root,0);return function fC(i,t,e){let n=i,r=t,o=e;for(;o>r;){if(o-=r,n=n.parent,!n)throw new C(4005,!1);r=n.segments.length}return new Go(n,!1,r-o)}(e,n+(Ms(i.commands[0])?0:1),i.numberOfDoubleDots)}(o,t,i.snapshot?._urlSegment,c),d=l.processChildren?ks(l.segmentGroup,l.index,o.commands):Op(l.segmentGroup,l.index,o.commands);return $o(t.root,l.segmentGroup,d,n,r)}(i.snapshot?._lastPathIndex)}function Ms(i){return"object"==typeof i&&null!=i&&!i.outlets&&!i.segmentPath}function Ds(i){return"object"==typeof i&&null!=i&&i.outlets}function $o(i,t,e,n,r){let a,o={};n&&Mt(n,(c,l)=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),a=i===t?e:hC(i,t,e);const s=Rp(id(a));return new Fr(s,o,r)}function hC(i,t,e){const n={};return Mt(i.children,(r,o)=>{n[o]=r===t?e:hC(r,t,e)}),new be(i.segments,n)}class mC{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Ms(n[0]))throw new C(4003,!1);const r=n.find(Ds);if(r&&r!==nC(n))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Go{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Op(i,t,e){if(i||(i=new be([],{})),0===i.segments.length&&i.hasChildren())return ks(i,t,e);const n=function AB(i,t,e){let n=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<i.segments.length;){if(n>=e.length)return o;const a=i.segments[r],s=e[n];if(Ds(s))break;const c=`${s}`,l=n<e.length-1?e[n+1]:null;if(r>0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!_C(c,l,a))return o;n+=2}else{if(!_C(c,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(i,t,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex<i.segments.length){const o=new be(i.segments.slice(0,n.pathIndex),{});return o.children[_e]=new be(i.segments.slice(n.pathIndex),i.children),ks(o,0,r)}return n.match&&0===r.length?new be(i.segments,{}):n.match&&!i.hasChildren()?Pp(i,t,e):n.match?ks(i,0,r):Pp(i,t,e)}function ks(i,t,e){if(0===e.length)return new be(i.segments,{});{const n=function IB(i){return Ds(i[0])?i[0].outlets:{[_e]:i}}(e),r={};return Mt(n,(o,a)=>{"string"==typeof o&&(o=[o]),null!==o&&(r[a]=Op(i.children[a],t,o))}),Mt(i.children,(o,a)=>{void 0===n[a]&&(r[a]=o)}),new be(i.segments,r)}}function Pp(i,t,e){const n=i.segments.slice(0,t);let r=0;for(;r<e.length;){const o=e[r];if(Ds(o)){const c=RB(o.outlets);return new be(n,c)}if(0===r&&Ms(e[0])){n.push(new xs(i.segments[t].path,gC(e[0]))),r++;continue}const a=Ds(o)?o.outlets[_e]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&Ms(s)?(n.push(new xs(a,gC(s))),r+=2):(n.push(new xs(a,{})),r++)}return new be(n,{})}function RB(i){const t={};return Mt(i,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=Pp(new be([],{}),0,e))}),t}function gC(i){const t={};return Mt(i,(e,n)=>t[n]=`${e}`),t}function _C(i,t,e){return i==e.path&&tn(t,e.parameters)}class kn{constructor(t,e){this.id=t,this.url=e}}class Np extends kn{constructor(t,e,n="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Nr extends kn{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class nd extends kn{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bC extends kn{constructor(t,e,n,r){super(t,e),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class FB extends kn{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class OB extends kn{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class PB extends kn{constructor(t,e,n,r,o){super(t,e),this.urlAfterRedirects=n,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 NB extends kn{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class LB extends kn{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BB{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class VB{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class HB{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jB{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zB{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class UB{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vC{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let GB=(()=>{class i{createUrlTree(e,n,r,o,a,s){return EB(e||n.root,r,o,a,s)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})(),WB=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(t){return GB.\u0275fac(t)},providedIn:"root"}),i})();class yC{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Lp(t,this._root);return e?e.children.map(n=>n.value):[]}firstChild(t){const e=Lp(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Bp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Bp(t,this._root).map(e=>e.value)}}function Lp(i,t){if(i===t.value)return t;for(const e of t.children){const n=Lp(i,e);if(n)return n}return null}function Bp(i,t){if(i===t.value)return[t];for(const e of t.children){const n=Bp(i,e);if(n.length)return n.unshift(t),n}return[]}class En{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Wo(i){const t={};return i&&i.children.forEach(e=>t[e.value.outlet]=e),t}class xC extends yC{constructor(t,e){super(t),this.snapshot=e,Vp(this,t)}toString(){return this.snapshot.toString()}}function wC(i,t){const e=function qB(i,t){const a=new rd([],{},{},"",{},_e,t,null,i.root,-1,{});return new MC("",new En(a,[]))}(i,t),n=new Xt([new xs("",{})]),r=new Xt({}),o=new Xt({}),a=new Xt({}),s=new Xt(""),c=new qo(n,r,a,s,o,_e,t,e.root);return c.snapshot=e.root,new xC(new En(c,[]),e)}class qo{constructor(t,e,n,r,o,a,s,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.title=this.data?.pipe(U(l=>l[ys]))??P(void 0),this._futureSnapshot=c}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(U(t=>Uo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(U(t=>Uo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function CC(i,t="emptyOnly"){const e=i.pathFromRoot;let n=0;if("always"!==t)for(n=e.length-1;n>=1;){const r=e[n],o=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return function YB(i){return i.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(n))}class rd{constructor(t,e,n,r,o,a,s,c,l,d,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=d,this._resolve=u}get title(){return this.data?.[ys]}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=Uo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Uo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class MC extends yC{constructor(t,e){super(e),this.url=t,Vp(this,e)}toString(){return DC(this._root)}}function Vp(i,t){t.value._routerState=i,t.children.forEach(e=>Vp(i,e))}function DC(i){const t=i.children.length>0?` { ${i.children.map(DC).join(", ")} } `:"";return`${i.value}${t}`}function Hp(i){if(i.snapshot){const t=i.snapshot,e=i._futureSnapshot;i.snapshot=e,tn(t.queryParams,e.queryParams)||i.queryParams.next(e.queryParams),t.fragment!==e.fragment&&i.fragment.next(e.fragment),tn(t.params,e.params)||i.params.next(e.params),function cB(i,t){if(i.length!==t.length)return!1;for(let e=0;e<i.length;++e)if(!tn(i[e],t[e]))return!1;return!0}(t.url,e.url)||i.url.next(e.url),tn(t.data,e.data)||i.data.next(e.data)}else i.snapshot=i._futureSnapshot,i.data.next(i._futureSnapshot.data)}function jp(i,t){const e=tn(i.params,t.params)&&function hB(i,t){return Or(i,t)&&i.every((e,n)=>tn(e.parameters,t[n].parameters))}(i.url,t.url);return e&&!(!i.parent!=!t.parent)&&(!i.parent||jp(i.parent,t.parent))}function Es(i,t,e){if(e&&i.shouldReuseRoute(t.value,e.value.snapshot)){const n=e.value;n._futureSnapshot=t.value;const r=function KB(i,t,e){return t.children.map(n=>{for(const r of e.children)if(i.shouldReuseRoute(n.value,r.value.snapshot))return Es(i,n,r);return Es(i,n)})}(i,t,e);return new En(n,r)}{if(i.shouldAttach(t.value)){const o=i.retrieve(t.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>Es(i,s)),a}}const n=function XB(i){return new qo(new Xt(i.url),new Xt(i.params),new Xt(i.queryParams),new Xt(i.fragment),new Xt(i.data),i.outlet,i.component,i)}(t.value),r=t.children.map(o=>Es(i,o));return new En(n,r)}}const zp="ngNavigationCancelingError";function kC(i,t){const{redirectTo:e,navigationBehaviorOptions:n}=Pr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=EC(!1,0,t);return r.url=e,r.navigationBehaviorOptions=n,r}function EC(i,t,e){const n=new Error("NavigationCancelingError: "+(i||""));return n[zp]=!0,n.cancellationCode=t,e&&(n.url=e),n}function SC(i){return TC(i)&&Pr(i.url)}function TC(i){return i&&i[zp]}class ZB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ss,this.attachRef=null}}let Ss=(()=>{class i{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new ZB,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const od=!1;let Up=(()=>{class i{constructor(){this.activated=null,this._activatedRoute=null,this.name=_e,this.activateEvents=new re,this.deactivateEvents=new re,this.attachEvents=new re,this.detachEvents=new re,this.parentContexts=he(Ss),this.location=he(ft),this.changeDetector=he(nt),this.environmentInjector=he(gn)}ngOnChanges(e){if(e.name){const{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,od);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,od);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,od);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new C(4013,od);this._activatedRoute=e;const r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new JB(e,s,r.injector);if(n&&function eV(i){return!!i.resolveComponentFactory}(n)){const l=n.resolveComponentFactory(a);this.activated=r.createComponent(l,r.length,c)}else this.activated=r.createComponent(a,{index:r.length,injector:c,environmentInjector:n??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=v({type:i,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yt]}),i})();class JB{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===qo?this.route:t===Ss?this.childContexts:this.parent.get(t,e)}}let $p=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=J({type:i,selectors:[["ng-component"]],standalone:!0,features:[Sm],decls:1,vars:0,template:function(e,n){1&e&&Me(0,"router-outlet")},dependencies:[Up],encapsulation:2}),i})();function IC(i,t){return i.providers&&!i._injector&&(i._injector=bl(i.providers,t,`Route: ${i.path}`)),i._injector??t}function Wp(i){const t=i.children&&i.children.map(Wp),e=t?{...i,children:t}:{...i};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==_e&&(e.component=$p),e}function xi(i){return i.outlet||_e}function AC(i,t){const e=i.filter(n=>xi(n)===t);return e.push(...i.filter(n=>xi(n)!==t)),e}function Ts(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let t=i.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class oV{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Hp(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Wo(e);t.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Mt(r,(o,a)=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,o=Wo(t);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);if(n&&n.outlet){const a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,o=Wo(t);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=Wo(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new UB(o.value.snapshot))}),t.children.length&&this.forwardEvent(new jB(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(Hp(r),r===o)if(r.component){const a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Hp(s.route.value),this.activateChildRoutes(t,null,a.children)}else{const s=Ts(r.snapshot),c=s?.get(xo)??null;a.attachRef=null,a.route=r,a.resolver=c,a.injector=s,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,n)}}class RC{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ad{constructor(t,e){this.component=t,this.route=e}}function aV(i,t,e){const n=i._root;return Is(n,t?t._root:null,e,[n.value])}function Yo(i,t){const e=Symbol(),n=t.get(i,e);return n===e?"function"!=typeof i||function sT(i){return null!==yc(i)}(i)?t.get(i):i:n}function Is(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Wo(t);return i.children.forEach(a=>{(function cV(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=i.value,a=t?t.value:null,s=e?e.getContext(i.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function lV(i,t,e){if("function"==typeof e)return e(i,t);switch(e){case"pathParamsChange":return!Or(i.url,t.url);case"pathParamsOrQueryParamsChange":return!Or(i.url,t.url)||!tn(i.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jp(i,t)||!tn(i.queryParams,t.queryParams);default:return!jp(i,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new RC(n)):(o.data=a.data,o._resolvedData=a._resolvedData),Is(i,t,o.component?s?s.children:null:e,n,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new ad(s.outlet.component,a))}else a&&As(t,s,r),r.canActivateChecks.push(new RC(n)),Is(i,null,o.component?s?s.children:null:e,n,r)})(a,o[a.value.outlet],e,n.concat([a.value]),r),delete o[a.value.outlet]}),Mt(o,(a,s)=>As(a,e.getContext(s),r)),r}function As(i,t,e){const n=Wo(i),r=i.value;Mt(n,(o,a)=>{As(o,r.component?t?t.children.getContext(a):null:t,e)}),e.canDeactivateChecks.push(new ad(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Rs(i){return"function"==typeof i}function qp(i){return i instanceof $l||"EmptyError"===i?.name}const sd=Symbol("INITIAL_VALUE");function Qo(){return Ct(i=>Ep(i.map(t=>t.pipe(qe(1),yi(sd)))).pipe(U(t=>{for(const e of t)if(!0!==e){if(e===sd)return sd;if(!1===e||e instanceof Fr)return e}return!0}),Be(t=>t!==sd),qe(1)))}function FC(i){return function TS(...i){return t_(i)}(ot(t=>{if(Pr(t))throw kC(0,t)}),U(t=>!0===t))}const Yp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function OC(i,t,e,n,r){const o=Qp(i,t,e);return o.matched?function kV(i,t,e,n){const r=t.canMatch;return r&&0!==r.length?P(r.map(a=>{const s=Yo(a,i);return Zn(function fV(i){return i&&Rs(i.canMatch)}(s)?s.canMatch(t,e):i.runInContext(()=>s(t,e)))})).pipe(Qo(),FC()):P(!0)}(n=IC(t,n),t,e).pipe(U(a=>!0===a?o:{...Yp})):P(o)}function Qp(i,t,e){if(""===t.path)return"full"===t.pathMatch&&(i.hasChildren()||e.length>0)?{...Yp}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||sB)(e,i,t);if(!r)return{...Yp};const o={};Mt(r.posParams,(s,c)=>{o[c]=s.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function cd(i,t,e,n){if(e.length>0&&function TV(i,t,e){return e.some(n=>ld(i,t,n)&&xi(n)!==_e)}(i,e,n)){const o=new be(t,function SV(i,t,e,n){const r={};r[_e]=n,n._sourceSegment=i,n._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&xi(o)!==_e){const a=new be([],{});a._sourceSegment=i,a._segmentIndexShift=t.length,r[xi(o)]=a}return r}(i,t,n,new be(e,i.children)));return o._sourceSegment=i,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function IV(i,t,e){return e.some(n=>ld(i,t,n))}(i,e,n)){const o=new be(i.segments,function EV(i,t,e,n,r){const o={};for(const a of n)if(ld(i,e,a)&&!r[xi(a)]){const s=new be([],{});s._sourceSegment=i,s._segmentIndexShift=t.length,o[xi(a)]=s}return{...r,...o}}(i,t,e,n,i.children));return o._sourceSegment=i,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const r=new be(i.segments,i.children);return r._sourceSegment=i,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function ld(i,t,e){return(!(i.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function PC(i,t,e,n){return!!(xi(i)===n||n!==_e&&ld(t,e,i))&&("**"===i.path||Qp(t,i,e).matched)}function NC(i,t,e){return 0===t.length&&!i.children[e]}const dd=!1;class ud{constructor(t){this.segmentGroup=t||null}}class LC{constructor(t){this.urlTree=t}}function Fs(i){return Rr(new ud(i))}function BC(i){return Rr(new LC(i))}class OV{constructor(t,e,n,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=cd(this.urlTree.root,[],[],this.config).segmentGroup,e=new be(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,_e).pipe(U(o=>this.createUrlTree(id(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Dn(o=>{if(o instanceof LC)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ud?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,_e).pipe(U(r=>this.createUrlTree(id(r),t.queryParams,t.fragment))).pipe(Dn(r=>{throw r instanceof ud?this.noMatchError(r):r}))}noMatchError(t){return new C(4002,dd)}createUrlTree(t,e,n){const r=Rp(t);return new Fr(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(U(o=>new be([],o))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const o of Object.keys(n.children))"primary"===o?r.unshift(o):r.push(o);return tt(r).pipe(Xn(o=>{const a=n.children[o],s=AC(e,o);return this.expandSegmentGroup(t,s,a,o).pipe(U(c=>({segment:c,outlet:o})))}),Jw((o,a)=>(o[a.outlet]=a.segment,o),{}),eC())}expandSegment(t,e,n,r,o,a){return tt(n).pipe(Xn(s=>this.expandSegmentAgainstRoute(t,e,n,s,r,o,a).pipe(Dn(l=>{if(l instanceof ud)return P(null);throw l}))),Kn(s=>!!s),Dn((s,c)=>{if(qp(s))return NC(e,r,o)?P(new be([],{})):Fs(e);throw s}))}expandSegmentAgainstRoute(t,e,n,r,o,a,s){return PC(r,e,o,a)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,a):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,a):Fs(e):Fs(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?BC(o):this.lineralizeSegments(n,o).pipe(ut(a=>{const s=new be(a,{});return this.expandSegment(t,s,e,a,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,a){const{matched:s,consumedSegments:c,remainingSegments:l,positionalParamSegments:d}=Qp(e,r,o);if(!s)return Fs(e);const u=this.applyRedirectCommands(c,r.redirectTo,d);return r.redirectTo.startsWith("/")?BC(u):this.lineralizeSegments(r,u).pipe(ut(h=>this.expandSegment(t,e,n,h.concat(l),a,!1)))}matchSegmentAgainstRoute(t,e,n,r,o){return"**"===n.path?(t=IC(n,t),n.loadChildren?(n._loadedRoutes?P({routes:n._loadedRoutes,injector:n._loadedInjector}):this.configLoader.loadChildren(t,n)).pipe(U(s=>(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,new be(r,{})))):P(new be(r,{}))):OC(e,n,r,t).pipe(Ct(({matched:a,consumedSegments:s,remainingSegments:c})=>a?this.getChildConfig(t=n._injector??t,n,r).pipe(ut(d=>{const u=d.injector??t,h=d.routes,{segmentGroup:p,slicedSegments:f}=cd(e,s,c,h),g=new be(p.segments,p.children);if(0===f.length&&g.hasChildren())return this.expandChildren(u,h,g).pipe(U(x=>new be(s,x)));if(0===h.length&&0===f.length)return P(new be(s,{}));const _=xi(n)===o;return this.expandSegment(u,g,h,f,_?_e:o,!0).pipe(U(E=>new be(s.concat(E.segments),E.children)))})):Fs(e)))}getChildConfig(t,e,n){return e.children?P({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?P({routes:e._loadedRoutes,injector:e._loadedInjector}):function DV(i,t,e,n){const r=t.canLoad;return void 0===r||0===r.length?P(!0):P(r.map(a=>{const s=Yo(a,i);return Zn(function uV(i){return i&&Rs(i.canLoad)}(s)?s.canLoad(t,e):i.runInContext(()=>s(t,e)))})).pipe(Qo(),FC())}(t,e,n).pipe(ut(r=>r?this.configLoader.loadChildren(t,e).pipe(ot(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function RV(i){return Rr(EC(dd,3))}())):P({routes:[],injector:t})}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return P(n);if(r.numberOfChildren>1||!r.children[_e])return Rr(new C(4e3,dd));r=r.children[_e]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,r){const o=this.createSegmentGroup(t,e.root,n,r);return new Fr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Mt(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const s=r.substring(1);n[o]=e[s]}else n[o]=r}),n}createSegmentGroup(t,e,n,r){const o=this.createSegments(t,e.segments,n,r);let a={};return Mt(e.children,(s,c)=>{a[c]=this.createSegmentGroup(t,s,n,r)}),new be(o,a)}createSegments(t,e,n,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new C(4001,dd);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}class NV{}class VV{constructor(t,e,n,r,o,a,s){this.injector=t,this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s}recognize(){const t=cd(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,_e).pipe(U(e=>{if(null===e)return null;const n=new rd([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},_e,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new En(n,e),o=new MC(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,n=CC(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,r)}processChildren(t,e,n){return tt(Object.keys(n.children)).pipe(Xn(r=>{const o=n.children[r],a=AC(e,r);return this.processSegmentGroup(t,a,o,r)}),Jw((r,o)=>r&&o?(r.push(...o),r):null),function oB(i,t=!1){return Ye((e,n)=>{let r=0;e.subscribe($e(n,o=>{const a=i(o,r++);(a||t)&&n.next(o),!a&&n.complete()}))})}(r=>null!==r),ql(null),eC(),U(r=>{if(null===r)return null;const o=HC(r);return function HV(i){i.sort((t,e)=>t.value.outlet===_e?-1:e.value.outlet===_e?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,n,r,o){return tt(e).pipe(Xn(a=>this.processSegmentAgainstRoute(a._injector??t,a,n,r,o)),Kn(a=>!!a),Dn(a=>{if(qp(a))return NC(n,r,o)?P([]):P(null);throw a}))}processSegmentAgainstRoute(t,e,n,r,o){if(e.redirectTo||!PC(e,n,r,o))return P(null);let a;if("**"===e.path){const s=r.length>0?nC(r).parameters:{},c=zC(n)+r.length;a=P({snapshot:new rd(r,s,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,UC(e),xi(e),e.component??e._loadedComponent??null,e,jC(n),c,$C(e)),consumedSegments:[],remainingSegments:[]})}else a=OC(n,e,r,t).pipe(U(({matched:s,consumedSegments:c,remainingSegments:l,parameters:d})=>{if(!s)return null;const u=zC(n)+c.length;return{snapshot:new rd(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,UC(e),xi(e),e.component??e._loadedComponent??null,e,jC(n),u,$C(e)),consumedSegments:c,remainingSegments:l}}));return a.pipe(Ct(s=>{if(null===s)return P(null);const{snapshot:c,consumedSegments:l,remainingSegments:d}=s;t=e._injector??t;const u=e._loadedInjector??t,h=function jV(i){return i.children?i.children:i.loadChildren?i._loadedRoutes:[]}(e),{segmentGroup:p,slicedSegments:f}=cd(n,l,d,h.filter(_=>void 0===_.redirectTo));if(0===f.length&&p.hasChildren())return this.processChildren(u,h,p).pipe(U(_=>null===_?null:[new En(c,_)]));if(0===h.length&&0===f.length)return P([new En(c,[])]);const g=xi(e)===o;return this.processSegment(u,h,p,f,g?_e:o).pipe(U(_=>null===_?null:[new En(c,_)]))}))}}function zV(i){const t=i.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function HC(i){const t=[],e=new Set;for(const n of i){if(!zV(n)){t.push(n);continue}const r=t.find(o=>n.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...n.children),e.add(r)):t.push(n)}for(const n of e){const r=HC(n.children);t.push(new En(n.value,r))}return t.filter(n=>!e.has(n))}function jC(i){let t=i;for(;t._sourceSegment;)t=t._sourceSegment;return t}function zC(i){let t=i,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function UC(i){return i.data||{}}function $C(i){return i.resolve||{}}function GC(i){return"string"==typeof i.title||null===i.title}function Kp(i){return Ct(t=>{const e=i(t);return e?tt(e).pipe(U(()=>t)):P(t)})}const Ko=new y("ROUTES");let Xp=(()=>{class i{constructor(e,n){this.injector=e,this.compiler=n,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return P(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=Zn(e.loadComponent()).pipe(U(qC),ot(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Ql(()=>{this.componentLoaders.delete(e)})),r=new Wl(n,()=>new G).pipe(Sp());return this.componentLoaders.set(e,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return P({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const o=this.loadModuleFactoryOrRoutes(n.loadChildren).pipe(U(s=>{this.onLoadEndListener&&this.onLoadEndListener(n);let c,l,d=!1;Array.isArray(s)?l=s:(c=s.create(e).injector,l=iC(c.get(Ko,[],Z.Self|Z.Optional)));return{routes:l.map(Wp),injector:c}}),Ql(()=>{this.childrenLoaders.delete(n)})),a=new Wl(o,()=>new G).pipe(Sp());return this.childrenLoaders.set(n,a),a}loadModuleFactoryOrRoutes(e){return Zn(e()).pipe(U(qC),ut(r=>r instanceof B0||Array.isArray(r)?P(r):tt(this.compiler.compileModuleAsync(r))))}}return i.\u0275fac=function(e){return new(e||i)(b(zt),b(Ex))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function qC(i){return function XV(i){return i&&"object"==typeof i&&"default"in i}(i)?i.default:i}let Zp=(()=>{class i{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new G,this.configLoader=he(Xp),this.environmentInjector=he(gn),this.urlSerializer=he(ws),this.rootContexts=he(Ss),this.navigationId=0,this.configLoader.onLoadEndListener=r=>this.events.next(new VB(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new BB(r))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(e){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:n})}setupNavigations(e){return this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Be(n=>0!==n.id),U(n=>({...n,extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})),Ct(n=>{let r=!1,o=!1;return P(n).pipe(ot(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}}),Ct(a=>{const s=e.browserUrlTree.toString(),c=!e.navigated||a.extractedUrl.toString()!==s||s!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||c)&&e.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return QC(a.source)&&(e.browserUrlTree=a.extractedUrl),P(a).pipe(Ct(d=>{const u=this.transitions?.getValue();return this.events.next(new Np(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),u!==this.transitions?.getValue()?ln:Promise.resolve(d)}),function PV(i,t,e,n){return Ct(r=>function FV(i,t,e,n,r){return new OV(i,t,e,n,r).apply()}(i,t,e,r.extractedUrl,n).pipe(U(o=>({...r,urlAfterRedirects:o}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),ot(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},n.urlAfterRedirects=d.urlAfterRedirects}),function $V(i,t,e,n,r){return ut(o=>function BV(i,t,e,n,r,o,a="emptyOnly"){return new VV(i,t,e,n,r,a,o).recognize().pipe(Ct(s=>null===s?function LV(i){return new Oe(t=>t.error(i))}(new NV):P(s)))}(i,t,e,o.urlAfterRedirects,n.serialize(o.urlAfterRedirects),n,r).pipe(U(a=>({...o,targetSnapshot:a}))))}(this.environmentInjector,e.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),ot(d=>{if(n.targetSnapshot=d.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);e.setBrowserUrl(h,d)}e.browserUrlTree=d.urlAfterRedirects}const u=new FB(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}));if(c&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:u,extractedUrl:h,source:p,restoredState:f,extras:g}=a,_=new Np(u,this.urlSerializer.serialize(h),p,f);this.events.next(_);const w=wC(h,e.rootComponentType).snapshot;return P(n={...a,targetSnapshot:w,urlAfterRedirects:h,extras:{...g,skipLocationChange:!1,replaceUrl:!1}})}return e.rawUrlTree=a.rawUrl,a.resolve(null),ln}),ot(a=>{const s=new OB(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),U(a=>n={...a,guards:aV(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function _V(i,t){return ut(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?P({...e,guardsResult:!0}):function bV(i,t,e,n){return tt(i).pipe(ut(r=>function MV(i,t,e,n,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?P(o.map(s=>{const c=Ts(t)??r,l=Yo(s,c);return Zn(function pV(i){return i&&Rs(i.canDeactivate)}(l)?l.canDeactivate(i,t,e,n):c.runInContext(()=>l(i,t,e,n))).pipe(Kn())})).pipe(Qo()):P(!0)}(r.component,r.route,e,t,n)),Kn(r=>!0!==r,!0))}(a,n,r,i).pipe(ut(s=>s&&function dV(i){return"boolean"==typeof i}(s)?function vV(i,t,e,n){return tt(t).pipe(Xn(r=>zo(function xV(i,t){return null!==i&&t&&t(new HB(i)),P(!0)}(r.route.parent,n),function yV(i,t){return null!==i&&t&&t(new zB(i)),P(!0)}(r.route,n),function CV(i,t,e){const n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>function sV(i){const t=i.routeConfig?i.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:i,guards:t}:null}(a)).filter(a=>null!==a).map(a=>Gl(()=>P(a.guards.map(c=>{const l=Ts(a.node)??e,d=Yo(c,l);return Zn(function mV(i){return i&&Rs(i.canActivateChild)}(d)?d.canActivateChild(n,i):l.runInContext(()=>d(n,i))).pipe(Kn())})).pipe(Qo())));return P(o).pipe(Qo())}(i,r.path,e),function wV(i,t,e){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return P(!0);const r=n.map(o=>Gl(()=>{const a=Ts(t)??e,s=Yo(o,a);return Zn(function hV(i){return i&&Rs(i.canActivate)}(s)?s.canActivate(t,i):a.runInContext(()=>s(t,i))).pipe(Kn())}));return P(r).pipe(Qo())}(i,r.route,e))),Kn(r=>!0!==r,!0))}(n,o,i,t):P(s)),U(s=>({...e,guardsResult:s})))})}(this.environmentInjector,a=>this.events.next(a)),ot(a=>{if(n.guardsResult=a.guardsResult,Pr(a.guardsResult))throw kC(0,a.guardsResult);const s=new PB(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),Be(a=>!!a.guardsResult||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",3,e),!1)),Kp(a=>{if(a.guards.canActivateChecks.length)return P(a).pipe(ot(s=>{const c=new NB(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}),Ct(s=>{let c=!1;return P(s).pipe(function GV(i,t){return ut(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return P(e);let o=0;return tt(r).pipe(Xn(a=>function WV(i,t,e,n){const r=i.routeConfig,o=i._resolve;return void 0!==r?.title&&!GC(r)&&(o[ys]=r.title),function qV(i,t,e,n){const r=function YV(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}(i);if(0===r.length)return P({});const o={};return tt(r).pipe(ut(a=>function QV(i,t,e,n){const r=Ts(t)??n,o=Yo(i,r);return Zn(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(i[a],t,e,n).pipe(Kn(),ot(s=>{o[a]=s}))),Tp(1),Yl(o),Dn(a=>qp(a)?ln:Rr(a)))}(o,i,t,n).pipe(U(a=>(i._resolvedData=a,i.data=CC(i,e).resolve,r&&GC(r)&&(i.data[ys]=r.title),null)))}(a.route,n,i,t)),ot(()=>o++),Tp(1),ut(a=>o===r.length?P(e):ln))})}(e.paramsInheritanceStrategy,this.environmentInjector),ot({next:()=>c=!0,complete:()=>{c||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",2,e))}}))}),ot(s=>{const c=new LB(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}))}),Kp(a=>{const s=c=>{const l=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(c.routeConfig).pipe(ot(d=>{c.component=d}),U(()=>{})));for(const d of c.children)l.push(...s(d));return l};return Ep(s(a.targetSnapshot.root)).pipe(ql(),qe(1))}),Kp(()=>e.afterPreactivation()),U(a=>{const s=function QB(i,t,e){const n=Es(i,t._root,e?e._root:void 0);return new xC(n,t)}(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return n={...a,targetRouterState:s}}),ot(a=>{e.currentUrlTree=a.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),e.routerState=a.targetRouterState,"deferred"===e.urlUpdateStrategy&&(a.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,a),e.browserUrlTree=a.urlAfterRedirects)}),((i,t,e)=>U(n=>(new oV(t,n.targetRouterState,n.currentRouterState,e).activate(i),n)))(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a)),ot({next:a=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Nr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{r=!0}}),Ql(()=>{r||o||this.cancelNavigationTransition(n,"",1,e),this.currentNavigation?.id===n.id&&(this.currentNavigation=null)}),Dn(a=>{if(o=!0,TC(a)){SC(a)||(e.navigated=!0,e.restoreHistory(n,!0));const s=new nd(n.id,this.urlSerializer.serialize(n.extractedUrl),a.message,a.cancellationCode);if(this.events.next(s),SC(a)){const c=e.urlHandlingStrategy.merge(a.url,e.rawUrlTree),l={skipLocationChange:n.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||QC(n.source)};e.scheduleNavigation(c,"imperative",null,l,{resolve:n.resolve,reject:n.reject,promise:n.promise})}else n.resolve(!1)}else{e.restoreHistory(n,!0);const s=new bC(n.id,this.urlSerializer.serialize(n.extractedUrl),a,n.targetSnapshot??void 0);this.events.next(s);try{n.resolve(e.errorHandler(a))}catch(c){n.reject(c)}}return ln}))}))}cancelNavigationTransition(e,n,r,o){const a=new nd(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(a),e.resolve(!1)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function QC(i){return"imperative"!==i}let KC=(()=>{class i{buildTitle(e){let n,r=e.root;for(;void 0!==r;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(o=>o.outlet===_e);return n}getResolvedTitleForRoute(e){return e.data[ys]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(){return he(ZV)},providedIn:"root"}),i})(),ZV=(()=>{class i extends KC{constructor(e){super(),this.title=e}updateTitle(e){const n=this.buildTitle(e);void 0!==n&&this.title.setTitle(n)}}return i.\u0275fac=function(e){return new(e||i)(b(Gw))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),JV=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(){return he(tH)},providedIn:"root"}),i})();class eH{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let tH=(()=>{class i extends eH{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const hd=new y("",{providedIn:"root",factory:()=>({})});let nH=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:function(){return he(rH)},providedIn:"root"}),i})(),rH=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function oH(i){throw i}function aH(i,t,e){return t.parse("/")}const sH={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cH={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Dt=(()=>{class i{constructor(){this.disposed=!1,this.currentPageId=0,this.console=he(AP),this.isNgZoneEnabled=!1,this.options=he(hd,{optional:!0})||{},this.errorHandler=this.options.errorHandler||oH,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||aH,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>P(void 0),this.urlHandlingStrategy=he(nH),this.routeReuseStrategy=he(JV),this.urlCreationStrategy=he(WB),this.titleStrategy=he(KC),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=iC(he(Ko,{optional:!0})??[]),this.navigationTransitions=he(Zp),this.urlSerializer=he(ws),this.location=he(Sl),this.rootComponentType=null,this.isNgZoneEnabled=he(z)instanceof z&&z.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Fr,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wC(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const n="popstate"===e.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{const r={replaceUrl:!0},o=e.state?.navigationId?e.state:null;if(e.state){const s={...e.state};delete s.navigationId,delete s.\u0275routerPageId,0!==Object.keys(s).length&&(r.state=s)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,n,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(Wp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,n={}){const{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:c}=n,l=c?this.currentUrlTree.fragment:a;let d=null;switch(s){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)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,d,l??null)}navigateByUrl(e,n={skipLocationChange:!1}){const r=Pr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,n)}navigate(e,n={skipLocationChange:!1}){return function lH(i){for(let t=0;t<i.length;t++){if(null==i[t])throw new C(4008,!1)}}(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let n;try{n=this.urlSerializer.parse(e)}catch(r){n=this.malformedUriErrorHandler(r,this.urlSerializer,e)}return n}isActive(e,n){let r;if(r=!0===n?{...sH}:!1===n?{...cH}:n,Pr(e))return oC(this.currentUrlTree,e,r);const o=this.parseUrl(e);return oC(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.keys(e).reduce((n,r)=>{const o=e[r];return null!=o&&(n[r]=o),n},{})}scheduleNavigation(e,n,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,c,l,d;return a?(s=a.resolve,c=a.reject,l=a.promise):l=new Promise((u,h)=>{s=u,c=h}),"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.navigationTransitions.handleNavigationRequest({targetPageId:d,source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(u=>Promise.reject(u))}setBrowserUrl(e,n){const r=this.urlSerializer.serialize(e),o={...n.extras.state,...this.generateNgRouterState(n.id,n.targetPageId)};this.location.isCurrentPathEqualTo(r)||n.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,n=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),md=(()=>{class i{constructor(e,n,r,o,a,s){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new G;const c=a.nativeElement.tagName;this.isAnchorElement="A"===c||"AREA"===c,this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof Nr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=jo(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=jo(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=jo(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,n,r,o,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||n||r||o||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function fv(i,t,e){return function L1(i,t){return"src"===t&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===t&&("base"===i||"link"===i)?pv:mv}(t,e)(i)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,n){const r=this.renderer,o=this.el.nativeElement;null!==n?r.setAttribute(o,e,n):r.removeAttribute(o,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return i.\u0275fac=function(e){return new(e||i)(m(Dt),m(qo),mi("tabindex"),m(_n),m(L),m(Ar))},i.\u0275dir=v({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,n){1&e&&ge("click",function(o){return n.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&ce("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[yt]}),i})(),ZC=(()=>{class i{constructor(e,n,r,o,a){this.router=e,this.element=n,this.renderer=r,this.cdr=o,this.link=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new re,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Nr&&this.update()})}ngAfterContentInit(){P(this.links.changes,P(null)).pipe(to()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=tt(e).pipe(to()).subscribe(n=>{this.isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){const n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const n=function dH(i){return!!i.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>!!r.urlTree&&e.isActive(r.urlTree,n)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}}return i.\u0275fac=function(e){return new(e||i)(m(Dt),m(L),m(_n),m(nt),m(md,8))},i.\u0275dir=v({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(e,n,r){if(1&e&&Ce(r,md,5),2&e){let o;V(o=H())&&(n.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[yt]}),i})();class JC{}let uH=(()=>{class i{constructor(e,n,r,o,a){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Be(e=>e instanceof Nr),Xn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){const r=[];for(const o of n){o.providers&&!o._injector&&(o._injector=bl(o.providers,e,`Route: ${o.path}`));const a=o._injector??e,s=o._loadedInjector??a;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(a,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return tt(r).pipe(to())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let r;r=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(e,n):P(null);const o=r.pipe(ut(a=>null===a?P(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return n.loadComponent&&!n._loadedComponent?tt([o,this.loader.loadComponent(n)]).pipe(to()):o})}}return i.\u0275fac=function(e){return new(e||i)(b(Dt),b(Ex),b(gn),b(JC),b(Xp))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Jp=new y("");let eM=(()=>{class i{constructor(e,n,r,o,a={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=r,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Np?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Nr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof vC&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new vC(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return i.\u0275fac=function(e){Qa()},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();function Zo(i,t){return{\u0275kind:i,\u0275providers:t}}function iM(){const i=he(zt);return t=>{const e=i.get(Tr);if(t!==e.components[0])return;const n=i.get(Dt),r=i.get(nM);1===i.get(tf)&&n.initialNavigation(),i.get(rM,null,Z.Optional)?.setUpPreloading(),i.get(Jp,null,Z.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const nM=new y("",{factory:()=>new G}),tf=new y("",{providedIn:"root",factory:()=>1});const rM=new y("");function gH(i){return Zo(0,[{provide:rM,useExisting:uH},{provide:JC,useExisting:i}])}const oM=new y("ROUTER_FORROOT_GUARD"),_H=[Sl,{provide:ws,useClass:Ip},Dt,Ss,{provide:qo,useFactory:function tM(i){return i.routerState.root},deps:[Dt]},Xp,[]];function bH(){return new Ox("Router",Dt)}let aM=(()=>{class i{constructor(e){}static forRoot(e,n){return{ngModule:i,providers:[_H,[],{provide:Ko,multi:!0,useValue:e},{provide:oM,useFactory:wH,deps:[[Dt,new Oi,new Un]]},{provide:hd,useValue:n||{}},n?.useHash?{provide:Ar,useClass:vN}:{provide:Ar,useClass:nw},{provide:Jp,useFactory:()=>{const i=he(HL),t=he(z),e=he(hd),n=he(Zp),r=he(ws);return e.scrollOffset&&i.setOffset(e.scrollOffset),new eM(r,n,i,t,e)}},n?.preloadingStrategy?gH(n.preloadingStrategy).\u0275providers:[],{provide:Ox,multi:!0,useFactory:bH},n?.initialNavigation?CH(n):[],[{provide:sM,useFactory:iM},{provide:kx,multi:!0,useExisting:sM}]]}}static forChild(e){return{ngModule:i,providers:[{provide:Ko,multi:!0,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)(b(oM,8))},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[$p]}),i})();function wH(i){return"guarded"}function CH(i){return["disabled"===i.initialNavigation?Zo(3,[{provide:us,multi:!0,useFactory:()=>{const t=he(Dt);return()=>{t.setUpLocationChangeListener()}}},{provide:tf,useValue:2}]).\u0275providers:[],"enabledBlocking"===i.initialNavigation?Zo(2,[{provide:tf,useValue:0},{provide:us,multi:!0,deps:[zt],useFactory:t=>{const e=t.get(_N,Promise.resolve());return()=>e.then(()=>new Promise(r=>{const o=t.get(Dt),a=t.get(nM);(function n(r){t.get(Dt).events.pipe(Be(a=>a instanceof Nr||a instanceof nd||a instanceof bC),U(a=>a instanceof Nr||a instanceof nd&&(0===a.code||1===a.code)&&null),Be(a=>null!==a),qe(1)).subscribe(()=>{r()})})(()=>{r(!0)}),o.afterPreactivation=()=>(r(!0),a.closed?P(void 0):a),o.initialNavigation()}))}}]).\u0275providers:[]]}const sM=new y("");class nn{constructor(){this.title="Blockcore Notes",this.authenticated=!1,this.goBack=!1,this.short="npub..."}}let nf;nn.\u0275fac=function(t){return new(t||nn)},nn.\u0275prov=S({token:nn,factory:nn.\u0275fac,providedIn:"root"});try{nf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{nf=!1}let Ps,pd,Lr,rf,lt=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?fp(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&&!nf)&&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 i.\u0275fac=function(e){return new(e||i)(b(ms))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Jn(i){return function DH(){if(null==Ps&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ps=!0}))}finally{Ps=Ps||!1}return Ps}()?i:!!i.capture}function lM(){if(null==Lr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Lr=!1,Lr;if("scrollBehavior"in document.documentElement.style)Lr=!0;else{const i=Element.prototype.scrollTo;Lr=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return Lr}function Ns(){if("object"!=typeof document||!document)return 0;if(null==pd){const i=document.createElement("div"),t=i.style;i.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",i.appendChild(e),document.body.appendChild(i),pd=0,0===i.scrollLeft&&(i.scrollLeft=1,pd=0===i.scrollLeft?1:2),i.remove()}return pd}function er(i){return i.composedPath?i.composedPath()[0]:i.target}function af(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ta(i,...t){return t.length?t.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}class zH extends Qe{constructor(t,e){super()}schedule(t,e=0){return this}}const gd={setInterval(i,t,...e){const{delegate:n}=gd;return n?.setInterval?n.setInterval(i,t,...e):setInterval(i,t,...e)},clearInterval(i){const{delegate:t}=gd;return(t?.clearInterval||clearInterval)(i)},delegate:void 0};class uf extends zH{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,n=0){return gd.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&gd.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,n=!1;try{this.work(t)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,eo(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const pM={now:()=>(pM.delegate||Date).now(),delegate:void 0};class Ls{constructor(t,e=Ls.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}Ls.now=pM.now;class hf extends Ls{constructor(t,e=Ls.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const _d=new hf(uf),UH=_d;function bd(i,t=_d){return Ye((e,n)=>{let r=null,o=null,a=null;const s=()=>{if(r){r.unsubscribe(),r=null;const l=o;o=null,n.next(l)}};function c(){const l=a+i,d=t.now();if(d<l)return r=this.schedule(void 0,l-d),void n.add(r);s()}e.subscribe($e(n,l=>{o=l,a=t.now(),r||(r=t.schedule(c,i),n.add(r))},()=>{s(),n.complete()},void 0,()=>{o=r=null}))})}function fM(i){return Be((t,e)=>i<=e)}function gM(i,t=Vn){return i=i??$H,Ye((e,n)=>{let r,o=!0;e.subscribe($e(n,a=>{const s=t(a);(o||!i(r,s))&&(o=!1,r=s,n.next(a))}))})}function $H(i,t){return i===t}function ve(i){return Ye((t,e)=>{Lt(i).subscribe($e(e,()=>e.complete(),Ca)),!e.closed&&t.subscribe(e)})}function K(i){return null!=i&&"false"!=`${i}`}function Sn(i,t=0){return function GH(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):t}function vd(i){return Array.isArray(i)?i:[i]}function dt(i){return null==i?"":"string"==typeof i?i:`${i}px`}function Br(i){return i instanceof L?i.nativeElement:i}let _M=(()=>{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),WH=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){const n=Br(e);return new Oe(r=>{const a=this._observeElement(n).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const n=new G,r=this._mutationObserverFactory.create(o=>n.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}return i.\u0275fac=function(e){return new(e||i)(b(_M))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),bM=(()=>{class i{constructor(e,n,r){this._contentObserver=e,this._elementRef=n,this._ngZone=r,this.event=new re,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=K(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Sn(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(bd(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(m(WH),m(L),m(z))},i.\u0275dir=v({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),i})(),yd=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[_M]}),i})();const vM=new Set;let ia,qH=(()=>{class i{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):QH}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function YH(i){if(!vM.has(i))try{ia||(ia=document.createElement("style"),ia.setAttribute("type","text/css"),document.head.appendChild(ia)),ia.sheet&&(ia.sheet.insertRule(`@media ${i} {body{ }}`,0),vM.add(i))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return i.\u0275fac=function(e){return new(e||i)(b(lt))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function QH(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let KH=(()=>{class i{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new G}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return yM(vd(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Ep(yM(vd(e)).map(a=>this._registerQuery(a).observable));return o=zo(o.pipe(qe(1)),o.pipe(fM(1),bd(0))),o.pipe(U(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const n=this._mediaMatcher.matchMedia(e),o={observable:new Oe(a=>{const s=c=>this._zone.run(()=>a.next(c));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(yi(n),U(({matches:a})=>({query:e,matches:a})),ve(this._destroySubject)),mql:n};return this._queries.set(e,o),o}}return i.\u0275fac=function(e){return new(e||i)(b(qH),b(z))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function yM(i){return i.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}class JH{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new G,this._typeaheadSubscription=Qe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new G,this.change=new G,t instanceof qn&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ot(e=>this._pressedLetters.push(e)),bd(t),Be(()=>this._pressedLetters.length>0),U(()=>this._pressedLetters.join(""))).subscribe(e=>{const n=this._getItemsArray();for(let r=1;r<n.length+1;r++){const o=(this._activeItemIndex+r)%n.length,a=n[o];if(!this._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}return;default:return void((r||ta(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItem=e[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof qn?this._items.toArray():this._items}}class mf extends JH{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let CM=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function tj(i){return!!(i.offsetWidth||i.offsetHeight||"function"==typeof i.getClientRects&&i.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const n=function ej(i){try{return i.frameElement}catch{return null}}(function lj(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}(e));if(n&&(-1===DM(n)||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),o=DM(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function sj(i){let t=i.nodeName.toLowerCase(),e="input"===t&&i.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,n){return function cj(i){return!function nj(i){return function oj(i){return"input"==i.nodeName.toLowerCase()}(i)&&"hidden"==i.type}(i)&&(function ij(i){let t=i.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(i)||function rj(i){return function aj(i){return"a"==i.nodeName.toLowerCase()}(i)&&i.hasAttribute("href")}(i)||i.hasAttribute("contenteditable")||MM(i))}(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}}return i.\u0275fac=function(e){return new(e||i)(b(lt))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function MM(i){if(!i.hasAttribute("tabindex")||void 0===i.tabIndex)return!1;let t=i.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function DM(i){if(!MM(i))return null;const t=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class dj{constructor(t,e,n,r,o=!1){this._element=t,this._checker=e,this._ngZone=n,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(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return n?.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let n=0;n<e.length;n++){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let n=e.length-1;n>=0;n--){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(qe(1)).subscribe(t)}}let uj=(()=>{class i{constructor(e,n,r){this._checker=e,this._ngZone=n,this._document=r}create(e,n=!1){return new dj(e,this._checker,this._ngZone,this._document,n)}}return i.\u0275fac=function(e){return new(e||i)(b(CM),b(z),b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function pf(i){return 0===i.buttons||0===i.offsetX&&0===i.offsetY}function ff(i){const t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const hj=new y("cdk-input-modality-detector-options"),mj={ignoreKeys:[18,17,224,91,16]},na=Jn({passive:!0,capture:!0});let pj=(()=>{class i{constructor(e,n,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Xt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=er(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(pf(a)?"keyboard":"mouse"),this._mostRecentTarget=er(a))},this._onTouchstart=a=>{ff(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=er(a))},this._options={...mj,...o},this.modalityDetected=this._modality.pipe(fM(1)),this.modalityChanged=this.modalityDetected.pipe(gM()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,na),r.addEventListener("mousedown",this._onMousedown,na),r.addEventListener("touchstart",this._onTouchstart,na)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,na),document.removeEventListener("mousedown",this._onMousedown,na),document.removeEventListener("touchstart",this._onTouchstart,na))}}return i.\u0275fac=function(e){return new(e||i)(b(lt),b(z),b(le),b(hj,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const gj=new y("cdk-focus-monitor-default-options"),xd=Jn({passive:!0,capture:!0});let Vr=(()=>{class i{constructor(e,n,r,o,a){this._ngZone=e,this._platform=n,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 G,this._rootNodeFocusAndBlurListener=s=>{for(let l=er(s);l;l=l.parentElement)"focus"===s.type?this._onFocus(s,l):this._onBlur(s,l)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,n=!1){const r=Br(e);if(!this._platform.isBrowser||1!==r.nodeType)return P(null);const o=function EH(i){if(function kH(){if(null==rf){const i=typeof document<"u"?document.head:null;rf=!(!i||!i.createShadowRoot&&!i.attachShadow)}return rf}()){const t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return n&&(a.checkChildren=!0),a.subject;const s={checkChildren:n,subject:new G,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const n=Br(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){const o=Br(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,n,c)):(this._setOrigin(n),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused","touch"===n),e.classList.toggle("cdk-keyboard-focused","keyboard"===n),e.classList.toggle("cdk-mouse-focused","mouse"===n),e.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,n){const r=this._elementInfo.get(n),o=er(e);!r||!r.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),r)}_onBlur(e,n){const r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,xd),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,xd)}),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,xd),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xd),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){const n=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&n.push([o,r])}),n}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!n||n===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a<o.length;a++)if(o[a].contains(n))return!0;return!1}}return i.\u0275fac=function(e){return new(e||i)(b(z),b(lt),b(pj),b(le,8),b(gj,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const EM="cdk-high-contrast-black-on-white",SM="cdk-high-contrast-white-on-black",gf="cdk-high-contrast-active";let TM=(()=>{class i{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=he(KH).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.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 e=this._document.body.classList;e.remove(gf,EM,SM),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?e.add(gf,EM):2===n&&e.add(gf,SM)}}}return i.\u0275fac=function(e){return new(e||i)(b(lt),b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),_f=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return i.\u0275fac=function(e){return new(e||i)(b(TM))},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[yd]}),i})();const _j=new y("cdk-dir-doc",{providedIn:"root",factory:function bj(){return he(le)}}),vj=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let rn=(()=>{class i{constructor(e){if(this.value="ltr",this.change=new re,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function yj(i){const t=i?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?vj.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return i.\u0275fac=function(e){return new(e||i)(b(_j,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),ra=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})();const wj=new y("mat-sanity-checks",{providedIn:"root",factory:function xj(){return!0}});let ie=(()=>{class i{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!af()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return i.\u0275fac=function(e){return new(e||i)(b(TM),b(wj,8),b(le))},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ra,ra]}),i})();function Bs(i){return class extends i{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=K(t)}}}function Vs(i,t){return class extends i{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const n=e||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}}}function Hs(i){return class extends i{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=K(t)}}}let bf=(()=>{class i{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Dj=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=v({type:i,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),i})(),RM=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,ie]}),i})();class kj{constructor(t,e,n,r=!1){this._renderer=t,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const FM=Jn({passive:!0,capture:!0});class Ej{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=er(t);e&&this._events.get(t.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,n,r){const o=this._events.get(e);if(o){const a=o.get(n);a?a.add(r):o.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,FM)})}removeHandler(t,e,n){const r=this._events.get(t);if(!r)return;const o=r.get(e);!o||(o.delete(n),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,FM)))}}const OM={enterDuration:225,exitDuration:150},PM=Jn({passive:!0,capture:!0}),NM=["mousedown","touchstart"],LM=["mouseup","mouseleave","touchend","touchcancel"];class aa{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Br(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...OM,...n.animation};n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=n.radius||function Tj(i,t,e){const n=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(n*n+r*r)}(t,e,r),s=t-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=s-a+"px",d.style.top=c-a+"px",d.style.height=2*a+"px",d.style.width=2*a+"px",null!=n.color&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),p=u.transitionDuration,f="none"===u.transitionProperty||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,g=new kj(this,d,n,f);d.style.transform="scale3d(1, 1, 1)",g.state=0,n.persistent||(this._mostRecentTransientRipple=g);let _=null;return!f&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const w=()=>this._finishRippleTransition(g),E=()=>this._destroyRipple(g);d.addEventListener("transitionend",w),d.addEventListener("transitioncancel",E),_={onTransitionEnd:w,onTransitionCancel:E}}),this._activeRipples.set(g,_),(f||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,n={...OM,...t.config.animation};e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Br(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,NM.forEach(n=>{aa._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{LM.forEach(e=>{this._triggerElement.addEventListener(e,this,PM)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=1,!n&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=pf(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ff(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(NM.forEach(e=>aa._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&LM.forEach(e=>t.removeEventListener(e,this,PM)))}}aa._eventManager=new Ej;const sa=new y("mat-ripple-global-options");let zi=(()=>{class i{constructor(e,n,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new aa(this,n,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,n,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(z),m(lt),m(sa,8),m(Qt,8))},i.\u0275dir=v({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){2&e&&pe("mat-ripple-unbounded",n.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),i})(),Tn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,ie]}),i})(),BM=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie]}),i})(),VM=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Tn,Ot,ie,BM]}),i})();const Ij=["mat-button",""],Aj=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Rj=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Oj=["mat-icon-button",""],Pj=["*"],Nj=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Lj=Vs(Bs(Hs(class{constructor(i){this._elementRef=i}})));let HM=(()=>{class i extends Lj{constructor(e,n,r,o){super(e),this._platform=n,this._ngZone=r,this._animationMode=o,this._focusMonitor=he(Vr),this._isFab=!1;const a=e.nativeElement.classList;for(const s of Nj)this._hasHostAttributes(s.selector)&&s.mdcClasses.forEach(c=>{a.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...e){return e.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return i.\u0275fac=function(e){Qa()},i.\u0275dir=v({type:i,viewQuery:function(e,n){if(1&e&&We(zi,5),2&e){let r;V(r=H())&&(n.ripple=r.first)}},features:[D]}),i})(),jM=(()=>{class i extends HM{constructor(e,n,r,o){super(e,n,r,o)}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(lt),m(z),m(Qt,8))},i.\u0275cmp=J({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(ce("disabled",n.disabled||null),pe("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[D],attrs:Ij,ngContentSelectors:Rj,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Re(Aj),Me(0,"span",0),B(1),k(2,"span",1),B(3,1),T(),B(4,2),Me(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(pe("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),$(6),j("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[zi],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),i})(),Hj=(()=>{class i extends HM{constructor(e,n,r,o){super(e,n,r,o)}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(lt),m(z),m(Qt,8))},i.\u0275cmp=J({type:i,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(ce("disabled",n.disabled||null),pe("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[D],attrs:Oj,ngContentSelectors:Pj,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Re(),Me(0,"span",0),B(1),Me(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&($(3),j("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[zi],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),i})(),zM=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,Tn,ie]}),i})();function jj(i,t){if(1&i){const e=Mr();k(0,"div")(1,"button",1),ge("click",function(){return Ri(e),Fi(ze().connect())}),fe(2,"Waiting for extension..."),T()()}}function zj(i,t){if(1&i){const e=Mr();k(0,"div")(1,"button",2),ge("click",function(){return Ri(e),Fi(ze().connect())}),fe(2,"Connect with extension"),T()()}}class zs{constructor(t,e,n){this.appState=t,this.router=e,this.ngZone=n,this.extensionDiscovered=!1}connect(){this.appState.authenticated=!0,this.router.navigateByUrl("/")}ngOnInit(){this.checkForExtension()}checkForExtension(){globalThis.nostr?this.extensionDiscovered=!0:setTimeout(()=>{this.ngZone.run(()=>{this.checkForExtension()})},250)}}function UM(i,t,e,n,r,o,a){try{var s=i[o](a),c=s.value}catch(l){return void e(l)}s.done?t(c):Promise.resolve(c).then(n,r)}zs.\u0275fac=function(t){return new(t||zs)(m(nn),m(Dt),m(z))},zs.\u0275cmp=J({type:zs,selectors:[["app-connect"]],decls:11,vars:2,consts:[[4,"ngIf"],["mat-raised-button","","color","primary","disabled","disabled",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,e){1&t&&(k(0,"p"),fe(1,"Hi, welcome to Blockcore Notes."),T(),k(2,"p"),fe(3,"To get started using notes and accessing the incredible world of nostr, you must first connect your browser extension with this website."),T(),k(4,"p"),fe(5,"Browser extension keeps your account safe and secret from everyone, including us."),T(),k(6,"p"),fe(7," Whenever we need you to perform a signing of a note, we'll notify your extension of choice to perform the signing. We suggest not approving a permanent permission, but instead accept each individual confirmation. This ensures you never sign anything you did not intend.\n"),T(),Me(8,"br"),xe(9,jj,3,0,"div",0),xe(10,zj,3,0,"div",0)),2&t&&($(9),j("ngIf",!e.extensionDiscovered),$(1),j("ngIf",e.extensionDiscovered))},dependencies:[en,jM],encapsulation:2});class Us{constructor(t,e){this.appState=t,this.router=e}ngOnInit(){var t=this;return function Uj(i){return function(){var t=this,e=arguments;return new Promise(function(n,r){var o=i.apply(t,e);function a(c){UM(o,n,r,a,s,"next",c)}function s(c){UM(o,n,r,a,s,"throw",c)}a(void 0)})}}(function*(){t.appState.authenticated||t.router.navigateByUrl("/connect")})()}}Us.\u0275fac=function(t){return new(t||Us)(m(nn),m(Dt))},Us.\u0275cmp=J({type:Us,selectors:[["app-home"]],decls:1,vars:0,template:function(t,e){1&t&&fe(0,"Notes!")},encapsulation:2});class $s{constructor(t,e){this.appState=t,this.router=e,this.appState.authenticated=!1}ngOnInit(){this.router.navigateByUrl("/connect")}}$s.\u0275fac=function(t){return new(t||$s)(m(nn),m(Dt))},$s.\u0275cmp=J({type:$s,selectors:[["app-logout"]],decls:1,vars:0,template:function(t,e){1&t&&fe(0,"Loading...")},encapsulation:2});class Gs{}Gs.\u0275fac=function(t){return new(t||Gs)},Gs.\u0275cmp=J({type:Gs,selectors:[["app-notes"]],decls:1,vars:0,template:function(t,e){1&t&&fe(0,"Notes!")},encapsulation:2});class Hr{constructor(t,e){this.appState=t,this.router=e}canActivate(){return!!this.appState.authenticated||(this.router.navigate(["connect"]),!1)}}Hr.\u0275fac=function(t){return new(t||Hr)(b(nn),b(Dt))},Hr.\u0275prov=S({token:Hr,factory:Hr.\u0275fac});const $j=[{path:"",component:Us,pathMatch:"full"},{path:"notes",component:Gs,canActivate:[Hr]},{path:"connect",component:zs},{path:"logout",component:$s}];class ca{}ca.\u0275fac=function(t){return new(t||ca)},ca.\u0275mod=Y({type:ca}),ca.\u0275inj=W({imports:[aM.forRoot($j,{enableTracing:!1,useHash:!1}),aM]});const Gj=["*",[["mat-toolbar-row"]]],Wj=["*","mat-toolbar-row"],qj=Vs(class{constructor(i){this._elementRef=i}});let Yj=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=v({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),i})(),Qj=(()=>{class i extends qj{constructor(e,n,r){super(e),this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(lt),m(le))},i.\u0275cmp=J({type:i,selectors:[["mat-toolbar"]],contentQueries:function(e,n,r){if(1&e&&Ce(r,Yj,5),2&e){let o;V(o=H())&&(n._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,n){2&e&&pe("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[D],ngContentSelectors:Wj,decls:2,vars:0,template:function(e,n){1&e&&(Re(Gj),B(0),B(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),i})(),Kj=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,ie]}),i})();const Xj=["addListener","removeListener"],Zj=["addEventListener","removeEventListener"],Jj=["on","off"];function jr(i,t,e,n){if(ye(e)&&(n=e,e=void 0),n)return jr(i,t,e).pipe(kp(n));const[r,o]=function iz(i){return ye(i.addEventListener)&&ye(i.removeEventListener)}(i)?Zj.map(a=>s=>i[a](t,s,e)):function ez(i){return ye(i.addListener)&&ye(i.removeListener)}(i)?Xj.map($M(i,t)):function tz(i){return ye(i.on)&&ye(i.off)}(i)?Jj.map($M(i,t)):[];if(!r&&Iu(i))return ut(a=>jr(a,t,e))(Lt(i));if(!r)throw new TypeError("Invalid event target");return new Oe(a=>{const s=(...c)=>a.next(1<c.length?c:c[0]);return r(s),()=>o(s)})}function $M(i,t){return e=>n=>i[e](t,n)}const Ws={schedule(i){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:n}=Ws;n&&(t=n.requestAnimationFrame,e=n.cancelAnimationFrame);const r=t(o=>{e=void 0,i(o)});return new Qe(()=>e?.(r))},requestAnimationFrame(...i){const{delegate:t}=Ws;return(t?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:t}=Ws;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0},oz=new class rz extends hf{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class nz extends uf{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=Ws.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Ws.cancelAnimationFrame(e),t._scheduled=void 0)}});let vf,az=1;const wd={};function GM(i){return i in wd&&(delete wd[i],!0)}const sz={setImmediate(i){const t=az++;return wd[t]=!0,vf||(vf=Promise.resolve()),vf.then(()=>GM(t)&&i()),t},clearImmediate(i){GM(i)}},{setImmediate:cz,clearImmediate:lz}=sz,Cd={setImmediate(...i){const{delegate:t}=Cd;return(t?.setImmediate||cz)(...i)},clearImmediate(i){const{delegate:t}=Cd;return(t?.clearImmediate||lz)(i)},delegate:void 0},yf=new class uz extends hf{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class dz extends uf{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=Cd.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Cd.clearImmediate(e),t._scheduled=void 0)}});function WM(i=0,t,e=UH){let n=-1;return null!=t&&(__(t)?e=t:n=t),new Oe(r=>{let o=function mz(i){return i instanceof Date&&!isNaN(i)}(i)?+i-e.now():i;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function xf(i,t=_d){return function hz(i){return Ye((t,e)=>{let n=!1,r=null,o=null,a=!1;const s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;const l=r;r=null,e.next(l)}a&&e.complete()},c=()=>{o=null,a&&e.complete()};t.subscribe($e(e,l=>{n=!0,r=l,o||Lt(i(l)).subscribe(o=$e(e,s,c))},()=>{a=!0,(!n||!o||o.closed)&&e.complete()}))})}(()=>WM(i,t))}const pz=["contentWrapper"],fz=["*"],gz=new y("VIRTUAL_SCROLL_STRATEGY");let la=(()=>{class i{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new G,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Oe(n=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(xf(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):P()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){const r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Be(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&n.push(o)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let r=Br(n),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>jr(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return i.\u0275fac=function(e){return new(e||i)(b(z),b(lt),b(le,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),zr=(()=>{class i{constructor(e,n,r,o){this.elementRef=e,this.scrollDispatcher=n,this.ngZone=r,this.dir=o,this._destroyed=new G,this._elementScrolled=new Oe(a=>this.ngZone.runOutsideAngular(()=>jr(this.elementRef.nativeElement,"scroll").pipe(ve(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const n=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&0!=Ns()?(null!=e.left&&(e.right=n.scrollWidth-n.clientWidth-e.left),2==Ns()?e.left=e.right:1==Ns()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const n=this.elementRef.nativeElement;lM()?n.scrollTo(e):(null!=e.top&&(n.scrollTop=e.top),null!=e.left&&(n.scrollLeft=e.left))}measureScrollOffset(e){const n="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:n:"end"==e&&(e=a?n:r),a&&2==Ns()?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==Ns()?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(la),m(z),m(rn,8))},i.\u0275dir=v({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),i})(),qs=(()=>{class i{constructor(e,n,r){this._platform=e,this._change=new G,this._changeListener=o=>{this._change.next(o)},this._document=r,n.runOutsideAngular(()=>{if(e.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 e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,n=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(xf(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return i.\u0275fac=function(e){return new(e||i)(b(lt),b(z),b(le,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const qM=new y("VIRTUAL_SCROLLABLE");let vz=(()=>{class i extends zr{constructor(e,n,r,o){super(e,n,r,o)}measureViewportSize(e){const n=this.elementRef.nativeElement;return"horizontal"===e?n.clientWidth:n.clientHeight}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(la),m(z),m(rn,8))},i.\u0275dir=v({type:i,features:[D]}),i})();const xz=typeof requestAnimationFrame<"u"?oz:yf;let wz=(()=>{class i extends vz{constructor(e,n,r,o,a,s,c,l){super(e,s,r,a),this.elementRef=e,this._changeDetectorRef=n,this._scrollStrategy=o,this.scrollable=l,this._platform=he(lt),this._detachedSubject=new G,this._renderedRangeSubject=new G,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new Oe(d=>this._scrollStrategy.scrolledIndexChange.subscribe(u=>Promise.resolve().then(()=>this.ngZone.run(()=>d.next(u))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Qe.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=K(e)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(yi(null),xf(0,xz)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(ve(this._detachedSubject)).subscribe(n=>{const r=n.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function yz(i,t){return i.start==t.start&&i.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,n="to-start"){e=this.appendOnly&&"to-start"===n?0:e;const o="horizontal"==this.orientation,a=o?"X":"Y";let c=`translate${a}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===n&&(c+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,n="auto"){const r={behavior:n};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,n="auto"){this._scrollStrategy.scrollToIndex(e,n)}measureScrollOffset(e){let n;return n=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,n(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let n;const r="left",o="right",a="rtl"==this.dir?.value;n="start"==e?a?o:r:"end"==e?a?r:o:e||("horizontal"===this.orientation?"left":"top");const s=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-s}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const n of e)n()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(nt),m(z),m(gz,8),m(rn,8),m(la),m(qs),m(qM,8))},i.\u0275cmp=J({type:i,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,n){if(1&e&&We(pz,7),2&e){let r;V(r=H())&&(n._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,n){2&e&&pe("cdk-virtual-scroll-orientation-horizontal","horizontal"===n.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==n.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[F([{provide:zr,useFactory:(t,e)=>t||e,deps:[[new Oi,new Uc(qM)],i]}]),D,Sm],ngContentSelectors:fz,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,n){1&e&&(Re(),k(0,"div",0,1),B(2),T(),Me(3,"div",2)),2&e&&($(3),Qi("width",n._totalContentWidth)("height",n._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),i})(),Ur=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})(),wf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ra,Ur,wz,ra,Ur]}),i})();class YM{}class Cz{}const In="*";function wi(i,t){return{type:7,name:i,definitions:t,options:{}}}function kt(i,t=null){return{type:4,styles:t,timings:i}}function QM(i,t=null){return{type:2,steps:i,options:t}}function Fe(i){return{type:6,styles:i,offset:null}}function at(i,t,e){return{type:0,name:i,styles:t,options:e}}function bt(i,t,e=null){return{type:1,expr:i,animation:t,options:e}}function KM(i){Promise.resolve().then(i)}class Ys{constructor(t=0,e=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){KM(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class XM{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const o=this.players.length;0==o?KM(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++n==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r)})}getPosition(){const t=this.players.reduce((e,n)=>null===e||n.totalTime>e.totalTime?n:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}const Md=["*"],kz=["content"];function Ez(i,t){if(1&i){const e=Mr();k(0,"div",2),ge("click",function(){return Ri(e),Fi(ze()._onBackdropClicked())}),T()}2&i&&pe("mat-drawer-shown",ze()._isShowingBackdrop())}function Sz(i,t){1&i&&(k(0,"mat-drawer-content"),B(1,2),T())}const Tz=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Iz=["mat-drawer","mat-drawer-content","*"];function Az(i,t){if(1&i){const e=Mr();k(0,"div",2),ge("click",function(){return Ri(e),Fi(ze()._onBackdropClicked())}),T()}2&i&&pe("mat-drawer-shown",ze()._isShowingBackdrop())}function Rz(i,t){1&i&&(k(0,"mat-sidenav-content"),B(1,2),T())}const Fz=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Oz=["mat-sidenav","mat-sidenav-content","*"],ZM={transformDrawer:wi("transform",[at("open, open-instant",Fe({transform:"none",visibility:"visible"})),at("void",Fe({"box-shadow":"none",visibility:"hidden"})),bt("void => open-instant",kt("0ms")),bt("void <=> open, open-instant => void",kt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Nz=new y("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Lz(){return!1}}),Mf=new y("MAT_DRAWER_CONTAINER");let Dd=(()=>{class i extends zr{constructor(e,n,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=n}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return i.\u0275fac=function(e){return new(e||i)(m(nt),m(Ee(()=>eD)),m(L),m(la),m(z))},i.\u0275cmp=J({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,n){2&e&&Qi("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[F([{provide:zr,useExisting:i}]),D],ngContentSelectors:Md,decls:1,vars:0,template:function(e,n){1&e&&(Re(),B(0))},encapsulation:2,changeDetection:0}),i})(),JM=(()=>{class i{constructor(e,n,r,o,a,s,c,l){this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=l,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new G,this._animationEnd=new G,this._animationState="void",this.openedChange=new re(!0),this._openedStream=this.openedChange.pipe(Be(d=>d),U(()=>{})),this.openedStart=this._animationStarted.pipe(Be(d=>d.fromState!==d.toState&&0===d.toState.indexOf("open")),Yl(void 0)),this._closedStream=this.openedChange.pipe(Be(d=>!d),U(()=>{})),this.closedStart=this._animationStarted.pipe(Be(d=>d.fromState!==d.toState&&"void"===d.toState),Yl(void 0)),this._destroyed=new G,this.onPositionChanged=new re,this._modeChanged=new G,this.openedChange.subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{jr(this._elementRef.nativeElement,"keydown").pipe(Be(d=>27===d.keyCode&&!this.disableClose&&!ta(d)),ve(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(gM((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{const{fromState:u,toState:h}=d;(0===h.indexOf("open")&&"void"===u||"void"===h&&0===u.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=K(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=K(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(K(e))}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{!n&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",n&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(qe(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const n=this._elementRef.nativeElement,r=n.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(uj),m(Vr),m(lt),m(z),m(CM),m(le,8),m(Mf,8))},i.\u0275cmp=J({type:i,selectors:[["mat-drawer"]],viewQuery:function(e,n){if(1&e&&We(kz,5),2&e){let r;V(r=H())&&(n._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,n){1&e&&pm("@transform.start",function(o){return n._animationStarted.next(o)})("@transform.done",function(o){return n._animationEnd.next(o)}),2&e&&(ce("align",null),ym("@transform",n._animationState),pe("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Md,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Re(),k(0,"div",0,1),B(2),T())},dependencies:[zr],encapsulation:2,data:{animation:[ZM.transformDrawer]},changeDetection:0}),i})(),eD=(()=>{class i{constructor(e,n,r,o,a,s=!1,c){this._dir=e,this._element=n,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=c,this._drawers=new qn,this.backdropClick=new re,this._destroyed=new G,this._doCheckSubject=new G,this._contentMargins={left:null,right:null},this._contentMarginChanges=new G,e&&e.change.pipe(ve(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe(ve(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=K(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:K(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(yi(this._allDrawers),ve(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(yi(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(bd(10),ve(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();n+=r,e-=r}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Be(n=>n.fromState!==n.toState),ve(this._drawers.changes)).subscribe(n=>{"open-instant"!==n.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(ve(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(ve(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(qe(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(ve(ki(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return i.\u0275fac=function(e){return new(e||i)(m(rn,8),m(L),m(z),m(nt),m(qs),m(Nz),m(Qt,8))},i.\u0275cmp=J({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(e,n,r){if(1&e&&(Ce(r,Dd,5),Ce(r,JM,5)),2&e){let o;V(o=H())&&(n._content=o.first),V(o=H())&&(n._allDrawers=o)}},viewQuery:function(e,n){if(1&e&&We(Dd,5),2&e){let r;V(r=H())&&(n._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,n){2&e&&pe("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[F([{provide:Mf,useExisting:i}])],ngContentSelectors:Iz,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Re(Tz),xe(0,Ez,1,2,"div",0),B(1),B(2,1),xe(3,Sz,2,0,"mat-drawer-content",1)),2&e&&(j("ngIf",n.hasBackdrop),$(3),j("ngIf",!n._content))},dependencies:[en,Dd],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),Df=(()=>{class i extends Dd{constructor(e,n,r,o,a){super(e,n,r,o,a)}}return i.\u0275fac=function(e){return new(e||i)(m(nt),m(Ee(()=>iD)),m(L),m(la),m(z))},i.\u0275cmp=J({type:i,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,n){2&e&&Qi("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[F([{provide:zr,useExisting:i}]),D],ngContentSelectors:Md,decls:1,vars:0,template:function(e,n){1&e&&(Re(),B(0))},encapsulation:2,changeDetection:0}),i})(),tD=(()=>{class i extends JM{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=K(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Sn(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Sn(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275cmp=J({type:i,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,n){2&e&&(ce("align",null),Qi("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),pe("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened)("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[D],ngContentSelectors:Md,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Re(),k(0,"div",0,1),B(2),T())},dependencies:[zr],encapsulation:2,data:{animation:[ZM.transformDrawer]},changeDetection:0}),i})(),iD=(()=>{class i extends eD{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275cmp=J({type:i,selectors:[["mat-sidenav-container"]],contentQueries:function(e,n,r){if(1&e&&(Ce(r,Df,5),Ce(r,tD,5)),2&e){let o;V(o=H())&&(n._content=o.first),V(o=H())&&(n._allDrawers=o)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,n){2&e&&pe("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[F([{provide:Mf,useExisting:i}]),D],ngContentSelectors:Oz,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Re(Fz),xe(0,Az,1,2,"div",0),B(1),B(2,1),xe(3,Rz,2,0,"mat-sidenav-content",1)),2&e&&(j("ngIf",n.hasBackdrop),$(3),j("ngIf",!n._content))},dependencies:[en,Df],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),Bz=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Ot,ie,Ur,Ur,ie]}),i})();class kf{}class tr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const n=e.indexOf(":");if(n>0){const r=e.slice(0,n),o=r.toLowerCase(),a=e.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof tr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new tr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof tr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===o.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Vz{encodeKey(t){return oD(t)}encodeValue(t){return oD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const jz=/%(\d[a-f0-9])/gi,zz={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function oD(i){return encodeURIComponent(i).replace(jz,(t,e)=>zz[e]??t)}function kd(i){return`${i}`}class ir{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Vz,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Hz(i,t){const e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,s]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e],r=Array.isArray(n)?n.map(kd):[kd(n)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new ir({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(kd(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const r=n.indexOf(kd(t.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Uz{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function aD(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function sD(i){return typeof Blob<"u"&&i instanceof Blob}function cD(i){return typeof FormData<"u"&&i instanceof FormData}class Qs{constructor(t,e,n,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function $z(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,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 tr),this.context||(this.context=new Uz),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+a}}else this.params=new ir,this.urlWithParams=e}serializeBody(){return null===this.body?null:aD(this.body)||sD(this.body)||cD(this.body)||function Gz(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ir?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||cD(this.body)?null:sD(this.body)?this.body.type||null:aD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ir?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let c=t.headers||this.headers,l=t.params||this.params;const d=t.context??this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((u,h)=>u.set(h,t.setHeaders[h]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((u,h)=>u.set(h,t.setParams[h]),l)),new Qs(e,n,o,{params:l,headers:c,context:d,reportProgress:s,responseType:r,withCredentials:a})}}var Et=(()=>((Et=Et||{})[Et.Sent=0]="Sent",Et[Et.UploadProgress=1]="UploadProgress",Et[Et.ResponseHeader=2]="ResponseHeader",Et[Et.DownloadProgress=3]="DownloadProgress",Et[Et.Response=4]="Response",Et[Et.User=5]="User",Et))();class Wz{constructor(t,e=200,n="OK"){this.headers=t.headers||new tr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Ef extends Wz{constructor(t={}){super(t),this.type=Et.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ef({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}function Sf(i,t){return{body:t,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials}}let Tf=(()=>{class i{constructor(e){this.handler=e}request(e,n,r={}){let o;if(e instanceof Qs)o=e;else{let c,l;c=r.headers instanceof tr?r.headers:new tr(r.headers),r.params&&(l=r.params instanceof ir?r.params:new ir({fromObject:r.params})),o=new Qs(e,n,void 0!==r.body?r.body:null,{headers:c,context:r.context,params:l,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=P(o).pipe(Xn(c=>this.handler.handle(c)));if(e instanceof Qs||"events"===r.observe)return a;const s=a.pipe(Be(c=>c instanceof Ef));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(U(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return s.pipe(U(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return s.pipe(U(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return s.pipe(U(c=>c.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:(new ir).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Sf(r,n))}post(e,n,r={}){return this.request("POST",e,Sf(r,n))}put(e,n,r={}){return this.request("PUT",e,Sf(r,n))}}return i.\u0275fac=function(e){return new(e||i)(b(kf))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();const a8=["*"];let Sd;function Ks(i){return function s8(){if(void 0===Sd&&(Sd=null,typeof window<"u")){const i=window;void 0!==i.trustedTypes&&(Sd=i.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Sd}()?.createHTML(i)||i}function gD(i){return Error(`Unable to find icon with the name "${i}"`)}function _D(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function bD(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}class $r{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Td=(()=>{class i{constructor(e,n,r,o){this._httpClient=e,this._sanitizer=n,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(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,o){return this._addSvgIconConfig(e,n,new $r(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,o){const a=this._sanitizer.sanitize(Ae.HTML,r);if(!a)throw bD(r);const s=Ks(a);return this._addSvgIconConfig(e,n,new $r("",s,o))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new $r(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){const o=this._sanitizer.sanitize(Ae.HTML,n);if(!o)throw bD(n);const a=Ks(o);return this._addSvgIconSetConfig(e,new $r("",a,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const n=this._sanitizer.sanitize(Ae.RESOURCE_URL,e);if(!n)throw _D(e);const r=this._cachedIconsByUrl.get(n);return r?P(Id(r)):this._loadSvgIconFromConfig(new $r(e,null)).pipe(ot(o=>this._cachedIconsByUrl.set(n,o)),U(o=>Id(o)))}getNamedSvgIcon(e,n=""){const r=vD(n,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(n,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(e,a):Rr(gD(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?P(Id(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(U(n=>Id(n)))}_getSvgFromIconSetConfigs(e,n){const r=this._extractIconWithNameFromAnySet(e,n);return r?P(r):function nD(...i){const t=b_(i),{args:e,keys:n}=Qw(i),r=new Oe(o=>{const{length:a}=e;if(!a)return void o.complete();const s=new Array(a);let c=a,l=a;for(let d=0;d<a;d++){let u=!1;Lt(e[d]).subscribe($e(o,h=>{u||(u=!0,l--),s[d]=h},()=>c--,void 0,()=>{(!c||!u)&&(l||o.next(n?Kw(n,s):s),o.complete())}))}});return t?r.pipe(kp(t)):r}(n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Dn(s=>{const l=`Loading icon set URL: ${this._sanitizer.sanitize(Ae.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),P(null)})))).pipe(U(()=>{const a=this._extractIconWithNameFromAnySet(e,n);if(!a)throw gD(e);return a}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){const o=n[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ot(n=>e.svgText=n),U(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?P(null):this._fetchIcon(e).pipe(ot(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){const o=e.querySelector(`[id="${n}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const s=this._svgElementFromString(Ks("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){const n=this._document.createElement("DIV");n.innerHTML=e;const r=n.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){const n=this._svgElementFromString(Ks("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){const{name:a,value:s}=r[o];"id"!==a&&n.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&n.appendChild(e.childNodes[o].cloneNode(!0));return n}_setSvgAttributes(e,n){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),n&&n.viewBox&&e.setAttribute("viewBox",n.viewBox),e}_fetchIcon(e){const{url:n,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw function c8(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const a=this._sanitizer.sanitize(Ae.RESOURCE_URL,n);if(!a)throw _D(n);const s=this._inProgressUrlFetches.get(a);if(s)return s;const c=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(U(l=>Ks(l)),Ql(()=>this._inProgressUrlFetches.delete(a)),w_());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(vD(e,n),r),this}_addSvgIconSetConfig(e,n){const r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){const n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](n,e);if(o)return d8(o)?new $r(o.url,null,o.options):new $r(o,null)}}}return i.\u0275fac=function(e){return new(e||i)(b(Tf,8),b(Dp),b(le,8),b(bn))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Id(i){return i.cloneNode(!0)}function vD(i,t){return i+":"+t}function d8(i){return!(!i.url||!i.options)}const u8=Vs(class{constructor(i){this._elementRef=i}}),h8=new y("MAT_ICON_DEFAULT_OPTIONS"),m8=new y("mat-icon-location",{providedIn:"root",factory:function p8(){const i=he(le),t=i?i.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),yD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],f8=yD.map(i=>`[${i}]`).join(", "),g8=/^url\(['"]?#(.*?)['"]?\)$/;let _8=(()=>{class i extends u8{constructor(e,n,r,o,a,s){super(e),this._iconRegistry=n,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Qe.EMPTY,s&&(s.color&&(this.color=this.defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=K(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const r=e.childNodes[n];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const n=this._elementsWithExternalReferences;n&&n.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const n=e.querySelectorAll(f8),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<n.length;o++)yD.forEach(a=>{const s=n[o],c=s.getAttribute(a),l=c?c.match(g8):null;if(l){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(qe(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${r}! ${o.message}`))})}}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(Td),mi("aria-hidden"),m(m8),m(bn),m(h8,8))},i.\u0275cmp=J({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,n){2&e&&(ce("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),pe("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[D],ngContentSelectors:a8,decls:1,vars:0,template:function(e,n){1&e&&(Re(),B(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}),i})(),xD=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,ie]}),i})(),b8=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=K(e)}get inset(){return this._inset}set inset(e){this._inset=K(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=J({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,n){2&e&&(ce("aria-orientation",n.vertical?"vertical":"horizontal"),pe("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,n){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),i})(),v8=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,ie]}),i})();const Sk=["*"],Ik=["unscopedContent"],D4=["text"],k4=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],E4=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Ak=new y("ListOption");let Rk=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(m(L))},i.\u0275dir=v({type:i,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),i})(),Fk=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(m(L))},i.\u0275dir=v({type:i,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),i})(),H4=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=v({type:i,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),i})(),Ok=(()=>{class i{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}return i.\u0275fac=function(e){return new(e||i)(m(Ak,8))},i.\u0275dir=v({type:i,hostVars:4,hostBindings:function(e,n){2&e&&pe("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())}}),i})(),j4=(()=>{class i extends Ok{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275dir=v({type:i,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[D]}),i})(),z4=(()=>{class i extends Ok{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275dir=v({type:i,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[D]}),i})(),ma=(()=>{class i{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=K(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=K(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=v({type:i,hostVars:1,hostBindings:function(e,n){2&e&&ce("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),i})(),Xf=(()=>{class i{constructor(e,n,r,o,a,s){this._elementRef=e,this._ngZone=n,this._listBase=r,this._platform=o,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new Qe,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=a||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===s,r&&!r._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines(e){this._explicitLines=Sn(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=K(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=K(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new aa(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(ki(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const n=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===n),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===n),this._hasUnscopedTextContent){const o=0===this._titles.length&&1===n;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(z),m(ma,8),m(lt),m(sa,8),m(Qt,8))},i.\u0275dir=v({type:i,contentQueries:function(e,n,r){if(1&e&&(Ce(r,j4,4),Ce(r,z4,4)),2&e){let o;V(o=H())&&(n._avatars=o),V(o=H())&&(n._icons=o)}},hostVars:3,hostBindings:function(e,n){2&e&&(ce("aria-disabled",n.disabled),pe("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),i})(),U4=(()=>{class i extends Xf{constructor(e,n,r,o,a,s){super(e,n,r,o,a,s),this._activated=!1}get activated(){return this._activated}set activated(e){this._activated=K(e)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(z),m(ma,8),m(lt),m(sa,8),m(Qt,8))},i.\u0275cmp=J({type:i,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,n,r){if(1&e&&(Ce(r,Fk,5),Ce(r,Rk,5),Ce(r,H4,5)),2&e){let o;V(o=H())&&(n._lines=o),V(o=H())&&(n._titles=o),V(o=H())&&(n._meta=o)}},viewQuery:function(e,n){if(1&e&&(We(Ik,5),We(D4,5)),2&e){let r;V(r=H())&&(n._unscopedContent=r.first),V(r=H())&&(n._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(e,n){2&e&&(ce("aria-current",n._getAriaCurrent()),pe("mdc-list-item--activated",n.activated)("mdc-list-item--with-leading-avatar",0!==n._avatars.length)("mdc-list-item--with-leading-icon",0!==n._icons.length)("mdc-list-item--with-trailing-meta",0!==n._meta.length)("_mat-animation-noopable",n._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[D],ngContentSelectors:E4,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(e,n){1&e&&(Re(k4),B(0),k(1,"span",0),B(2,1),B(3,2),k(4,"span",1,2),ge("cdkObserveContent",function(){return n._updateItemLines(!0)}),B(6,3),T()(),B(7,4),B(8,5),Me(9,"div",3))},dependencies:[bM],encapsulation:2,changeDetection:0}),i})(),G4=(()=>{class i extends ma{constructor(){super(...arguments),this._isNonInteractive=!1}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275cmp=J({type:i,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[F([{provide:ma,useExisting:i}]),D],ngContentSelectors:Sk,decls:1,vars:0,template:function(e,n){1&e&&(Re(),B(0))},styles:['.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0}),i})(),Q4=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[yd,Ot,ie,Tn,BM,v8]}),i})();function Nk(i,t){return t?e=>zo(t.pipe(qe(1),function K4(){return Ye((i,t)=>{i.subscribe($e(t,Ca))})}()),e.pipe(Nk(i))):ut((e,n)=>i(e,n).pipe(qe(1),Yl(e)))}function Zf(i,t=_d){const e=WM(i,t);return Nk(()=>e)}class Jf{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class X4 extends Jf{constructor(t,e,n,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}}class Lk extends Jf{constructor(t,e,n,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Z4 extends Jf{constructor(t){super(),this.element=t instanceof L?t.nativeElement:t}}class J4{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof X4?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Lk?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Z4?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class e3 extends J4{constructor(t,e,n,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=a=>{const s=a.element,c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(t){const n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(n,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(t.injector||this._defaultInjector||zt.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=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);-1!==r&&e.remove(r)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let $d=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})();const Bk=lM();class t3{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=dt(-this._previousScrollPosition.left),t.style.top=dt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,n=t.style,r=this._document.body.style,o=n.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Bk&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Bk&&(n.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}}class n3{constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Vk{enable(){}disable(){}attach(){}}function eg(i,t){return t.some(e=>i.bottom<e.top||i.top>e.bottom||i.right<e.left||i.left>e.right)}function Hk(i,t){return t.some(e=>i.top<e.top||i.bottom>e.bottom||i.left<e.left||i.right>e.right)}class r3{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();eg(e,[{width:n,height:r,bottom:r,right:n,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 o3=(()=>{class i{constructor(e,n,r,o){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new Vk,this.close=a=>new n3(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new t3(this._viewportRuler,this._document),this.reposition=a=>new r3(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return i.\u0275fac=function(e){return new(e||i)(b(la),b(qs),b(z),b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class jk{constructor(t){if(this.scrollStrategy=new Vk,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class a3{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let zk=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}}return i.\u0275fac=function(e){return new(e||i)(b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),s3=(()=>{class i extends zk{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),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 i.\u0275fac=function(e){return new(e||i)(b(le),b(z,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),c3=(()=>{class i extends zk{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=er(o)},this._clickListener=o=>{const a=er(o),s="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){const d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(s))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return i.\u0275fac=function(e){return new(e||i)(b(le),b(lt),b(z,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Uk=(()=>{class i{constructor(e,n){this._platform=n,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||af()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const n=this._document.createElement("div");n.classList.add(e),af()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return i.\u0275fac=function(e){return new(e||i)(b(le),b(lt))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class l3{constructor(t,e,n,r,o,a,s,c,l,d=!1){this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new G,this._attachments=new G,this._detachments=new G,this._locationChanges=Qe.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new G,this._outsidePointerEvents=new G,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(qe(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 e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=dt(this._config.width),t.height=dt(this._config.height),t.minWidth=dt(this._config.minWidth),t.minHeight=dt(this._config.minHeight),t.maxWidth=dt(this._config.maxWidth),t.maxHeight=dt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,n){const r=vd(e||[]).filter(o=>!!o);r.length&&(n?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ve(ki(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $k="cdk-overlay-connected-position-bounding-box",d3=/([A-Za-z%]+)$/;class u3{constructor(t,e,n,r,o){this._viewportRuler=e,this._document=n,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 G,this._resizeSubscription=Qe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add($k),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[];let a;for(let s of this._preferredPositions){let c=this._getOriginPoint(t,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,n,s);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,c);this._canFitWithFlexibleDimensions(d,l,n)?o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)}):(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:l,originPoint:c,position:s,overlayRect:e})}if(o.length){let s=null,c=-1;for(const l of o){const d=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);d>c&&(c=d,s=l)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&qr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($k),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,n){let r,o;if("center"==n.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;r="start"==n.originX?a:s}return e.left<0&&(r-=e.left),o="center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,n){let r,o;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,n,r){const o=Wk(e);let{x:a,y:s}=t,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let h=0-s,p=s+o.height-n.height,f=this._subtractOverflows(o.width,0-a,a+o.width-n.width),g=this._subtractOverflows(o.height,h,p),_=f*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,o=n.right-e.x,a=Gk(this._overlayRef.getConfig().minHeight),s=Gk(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportHorizontally||null!=s&&s<=o;return(t.fitsInViewportVertically||null!=a&&a<=r)&&l}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=Wk(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),s=Math.max(t.y+r.height-o.height,0),c=Math.max(o.top-n.top-t.y,0),l=Math.max(o.left-n.left-t.x,0);let d=0,u=0;return d=r.width<=o.width?l||-a:t.x<this._viewportMargin?o.left-n.left-t.x:0,u=r.height<=o.height?c||-s:t.y<this._viewportMargin?o.top-n.top-t.y:0,this._previousPushAmount={x:d,y:u},{x:t.x+d,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const n=this._getScrollVisibility(),r=new a3(t,n);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,r=this._isRtl();let o,a,s,d,u,h;if("top"===e.overlayY)a=t.y,o=n.height-a+this._viewportMargin;else if("bottom"===e.overlayY)s=n.height-t.y+2*this._viewportMargin,o=n.height-s+this._viewportMargin;else{const p=Math.min(n.bottom-t.y+n.top,t.y),f=this._lastBoundingBoxSize.height;o=2*p,a=t.y-p,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-f/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=n.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=t.x,d=n.right-t.x;else{const p=Math.min(n.right-t.x+n.left,t.x),f=this._lastBoundingBoxSize.width;d=2*p,u=t.x-p,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-f/2)}return{top:a,left:u,bottom:s,right:h,width:d,height:o}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.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,a=this._overlayRef.getConfig().maxWidth;r.height=dt(n.height),r.top=dt(n.top),r.bottom=dt(n.bottom),r.width=dt(n.width),r.left=dt(n.left),r.right=dt(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=dt(o)),a&&(r.maxWidth=dt(a))}this._lastBoundingBoxSize=n,qr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){qr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){qr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();qr(n,this._getExactOverlayY(e,t,d)),qr(n,this._getExactOverlayX(e,t,d))}else n.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),n.transform=s.trim(),a.maxHeight&&(r?n.maxHeight=dt(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(r?n.maxWidth=dt(a.maxWidth):o&&(n.maxWidth="")),qr(this._pane.style,n)}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=dt(o.y),r}_getExactOverlayX(t,e,n){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=dt(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Hk(t,n),isOriginOutsideView:eg(t,n),isOverlayClipped:Hk(e,n),isOverlayOutsideView:eg(e,n)}}_subtractOverflows(t,...e){return e.reduce((n,r)=>n-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&vd(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof L)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function qr(i,t){for(let e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i}function Gk(i){if("number"!=typeof i&&null!=i){const[t,e]=i.split(d3);return e&&"px"!==e?null:parseFloat(t)}return i||null}function Wk(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}const qk="cdk-global-overlay-wrapper";class h3{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(qk),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=n,c=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==o&&"100vh"!==o||s&&"100%"!==s&&"100vh"!==s),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",f="",g="";c?g="flex-start":"center"===d?(g="center",h?f=u:p=u):h?"left"===d||"end"===d?(g="flex-end",p=u):("right"===d||"start"===d)&&(g="flex-start",f=u):"left"===d||"start"===d?(g="flex-start",p=u):("right"===d||"end"===d)&&(g="flex-end",f=u),t.position=this._cssPosition,t.marginLeft=c?"0":p,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":f,e.justifyContent=g,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(qk),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let m3=(()=>{class i{constructor(e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o}global(){return new h3}flexibleConnectedTo(e){return new u3(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return i.\u0275fac=function(e){return new(e||i)(b(qs),b(le),b(lt),b(Uk))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),p3=0,pa=(()=>{class i{constructor(e,n,r,o,a,s,c,l,d,u,h,p){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(e){const n=this._createHostElement(),r=this._createPaneElement(n),o=this._createPortalOutlet(r),a=new jk(e);return a.direction=a.direction||this._directionality.value,new l3(o,n,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const n=this._document.createElement("div");return n.id="cdk-overlay-"+p3++,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Tr)),new e3(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return i.\u0275fac=function(e){return new(e||i)(b(o3),b(Uk),b(xo),b(m3),b(s3),b(zt),b(z),b(le),b(rn),b(Sl),b(c3),b(Qt,8))},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const _3={provide:new y("cdk-connected-overlay-scroll-strategy"),deps:[pa],useFactory:function g3(i){return()=>i.scrollStrategies.reposition()}};let tg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[pa,_3],imports:[ra,$d,wf,wf]}),i})();const b3=["mat-menu-item",""];function v3(i,t){1&i&&(function Pa(){ae.lFrame.currentNamespace="svg"}(),k(0,"svg",3),Me(1,"polygon",4),T())}const y3=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],x3=["mat-icon, [matMenuItemIcon]","*"];function w3(i,t){if(1&i){const e=Mr();k(0,"div",0),ge("keydown",function(r){return Ri(e),Fi(ze()._handleKeydown(r))})("click",function(){return Ri(e),Fi(ze().closed.emit("click"))})("@transformMenu.start",function(r){return Ri(e),Fi(ze()._onAnimationStart(r))})("@transformMenu.done",function(r){return Ri(e),Fi(ze()._onAnimationDone(r))}),k(1,"div",1),B(2),T()()}if(2&i){const e=ze();j("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),ce("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const C3=["*"],ig=new y("MAT_MENU_PANEL"),M3=Hs(Bs(class{}));let Gd=(()=>{class i extends M3{constructor(e,n,r,o,a){super(),this._elementRef=e,this._document=n,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new G,this._focused=new G,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<n.length;r++)n[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(le),m(Vr),m(ig,8),m(nt))},i.\u0275cmp=J({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(e,n){1&e&&ge("click",function(o){return n._checkDisabled(o)})("mouseenter",function(){return n._handleMouseEnter()}),2&e&&(ce("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),pe("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[D],attrs:b3,ngContentSelectors:x3,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){1&e&&(Re(y3),B(0),k(1,"span",0),B(2,1),T(),Me(3,"div",1),xe(4,v3,2,0,"svg",2)),2&e&&($(3),j("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),$(1),j("ngIf",n._triggersSubmenu))},dependencies:[en,zi],encapsulation:2,changeDetection:0}),i})();const D3=new y("MatMenuContent"),Wd={transformMenu:wi("transformMenu",[at("void",Fe({opacity:0,transform:"scale(0.8)"})),bt("void => enter",kt("120ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:1,transform:"scale(1)"}))),bt("* => void",kt("100ms 25ms linear",Fe({opacity:0})))]),fadeInItems:wi("fadeInItems",[at("showing",Fe({opacity:1})),bt("void => *",[Fe({opacity:0}),kt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let k3=0;const Yk=new y("mat-menu-default-options",{providedIn:"root",factory:function E3(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ic=(()=>{class i{constructor(e,n,r,o){this._elementRef=e,this._ngZone=n,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new qn,this._classList={},this._panelAnimationState="void",this._animationDone=new G,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new re,this.close=this.closed,this.panelId="mat-menu-panel-"+k3++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=K(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=K(e)}set panelClass(e){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new mf(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(yi(this._directDescendantItems),Ct(e=>ki(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[o]&&!r[o].disabled?n.setActiveItem(o):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(yi(this._directDescendantItems),Ct(n=>ki(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const n=e.keyCode,r=this._keyManager;switch(n){case 27:ta(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===n||40===n)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(qe(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const n=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${n}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,n=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===n,r["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(yi(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(z),m(Yk),m(nt))},i.\u0275dir=v({type:i,contentQueries:function(e,n,r){if(1&e&&(Ce(r,D3,5),Ce(r,Gd,5),Ce(r,Gd,4)),2&e){let o;V(o=H())&&(n.lazyContent=o.first),V(o=H())&&(n._allItems=o),V(o=H())&&(n.items=o)}},viewQuery:function(e,n){if(1&e&&We(pt,5),2&e){let r;V(r=H())&&(n.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),i})(),S3=(()=>{class i extends ic{constructor(e,n,r,o){super(e,n,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return i.\u0275fac=function(e){return new(e||i)(m(L),m(z),m(Yk),m(nt))},i.\u0275cmp=J({type:i,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,n){2&e&&ce("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[F([{provide:ig,useExisting:i}]),D],ngContentSelectors:C3,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,n){1&e&&(Re(),xe(0,w3,3,6,"ng-template"))},dependencies:[mw],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Wd.transformMenu,Wd.fadeInItems]},changeDetection:0}),i})();const Qk=new y("mat-menu-scroll-strategy"),I3={provide:Qk,deps:[pa],useFactory:function T3(i){return()=>i.scrollStrategies.reposition()}},Kk=Jn({passive:!0});let A3=(()=>{class i{constructor(e,n,r,o,a,s,c,l,d){this._overlay=e,this._element=n,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Qe.EMPTY,this._hoverSubscription=Qe.EMPTY,this._menuCloseSubscription=Qe.EMPTY,this._handleTouchStart=u=>{ff(u)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new re,this.onMenuOpen=this.menuOpened,this.menuClosed=new re,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof ic?a:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Kk)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Kk),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const n=this._createOverlay(e),r=n.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,n.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof ic&&(e._startAnimation(),e._directDescendantItems.changes.pipe(ve(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof ic?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(Be(r=>"void"===r.toState),qe(1),ve(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let n=0,r=e.parentMenu;for(;r;)n++,r=r.parentMenu;e.setElevation(n)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new jk({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,n){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,s]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[c,l]=[a,s],[d,u]=[r,o],h=0;if(this.triggersSubmenu()){if(u=r="before"===e.xPosition?"start":"end",o=d="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}h="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c="top"===a?"bottom":"top",l="top"===s?"bottom":"top");n.withPositions([{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:h},{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:h},{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:-h},{originX:o,originY:l,overlayX:u,overlayY:s,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return ki(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:P(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Be(a=>a!==this._menuItemInstance),Be(()=>this._menuOpen)):P(),n)}_handleMousedown(e){pf(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const n=e.keyCode;(13===n||32===n)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===n&&"ltr"===this.dir||37===n&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Be(e=>e===this._menuItemInstance&&!e.disabled),Zf(0,yf)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ic&&this.menu._isAnimating?this.menu._animationDone.pipe(qe(1),Zf(0,yf),ve(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Lk(e.templateRef,this._viewContainerRef)),this._portal}}return i.\u0275fac=function(e){return new(e||i)(m(pa),m(L),m(ft),m(Qk),m(ig,8),m(Gd,10),m(rn,8),m(Vr),m(z))},i.\u0275dir=v({type:i,hostVars:3,hostBindings:function(e,n){1&e&&ge("click",function(o){return n._handleClick(o)})("mousedown",function(o){return n._handleMousedown(o)})("keydown",function(o){return n._handleKeydown(o)}),2&e&&ce("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),i})(),R3=(()=>{class i extends A3{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ee(i)))(n||i)}}(),i.\u0275dir=v({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[D]}),i})(),F3=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[I3],imports:[Ot,Tn,ie,tg,Ur,ie]}),i})();function O3(i,t){1&i&&(k(0,"div"),Me(1,"router-outlet"),T())}const P3=function(i){return[i]};function N3(i,t){if(1&i&&(k(0,"button",29)(1,"mat-icon"),fe(2,"arrow_back"),T()()),2&i){const e=ze(2);j("routerLink",W0(1,P3,e.appState.goBack))}}function L3(i,t){if(1&i&&(k(0,"span"),fe(1),T()),2&i){const e=ze(2);$(1),ml(e.appState.short)}}const B3=function(){return["/dashboard"]},V3=function(){return["/events"]},H3=function(){return["/identities"]},j3=function(){return["/servers"]},z3=function(){return["/settings"]},U3=function(){return["/help"]};function $3(i,t){if(1&i){const e=Mr();k(0,"mat-sidenav-container",2)(1,"mat-sidenav",3,4)(3,"mat-toolbar",5),Me(4,"img",6),k(5,"div"),fe(6,"Blockcore Notes"),T()(),k(7,"mat-menu",7,8)(9,"a",9),fe(10,"Blockcore DID Server"),T(),k(11,"a",10),fe(12,"did:is DID Method"),T(),k(13,"a",11),fe(14,"City Chain Identity"),T(),k(15,"a",12),fe(16,"City Chain Registry"),T()(),k(17,"mat-menu",null,13)(19,"button",14),fe(20,"John"),T(),k(21,"button",14),fe(22,"John Doe"),T()(),k(23,"mat-nav-list",15)(24,"a",16)(25,"mat-icon",17),fe(26,"dashboard"),T(),k(27,"div",18),fe(28,"Dashboard"),T()(),k(29,"a",16)(30,"mat-icon",17),fe(31,"category"),T(),k(32,"div",18),fe(33,"Events"),T()(),k(34,"a",16)(35,"mat-icon",17),fe(36,"people"),T(),k(37,"div",18),fe(38,"Identities"),T()(),k(39,"a",16)(40,"mat-icon",17),fe(41,"computer"),T(),k(42,"div",18),fe(43,"Relays"),T()(),Me(44,"mat-divider"),k(45,"a",16)(46,"mat-icon",19),fe(47,"settings"),T(),k(48,"div",18),fe(49,"Settings"),T()(),k(50,"a",16)(51,"mat-icon",19),fe(52,"help_outline"),T(),k(53,"div",18),fe(54,"Help"),T()(),k(55,"a",20)(56,"mat-icon",19),fe(57,"logout"),T(),k(58,"div",18),fe(59,"Logout"),T()()()(),k(60,"mat-sidenav",21,22)(62,"button",23),ge("click",function(){return Ri(e),Fi(Ni(61).toggle())}),fe(63,"Close"),T()(),k(64,"mat-sidenav-content")(65,"mat-toolbar",24)(66,"button",25),ge("click",function(){return Ri(e),Fi(Ni(2).toggle())}),k(67,"mat-icon",26),fe(68,"menu"),T()(),Me(69,"span"),xe(70,N3,3,3,"button",27),k(71,"span",28),fe(72),T(),xe(73,L3,2,1,"span",0),T(),Me(74,"router-outlet"),T()()}if(2&i){const e=Ni(8),n=ze();$(1),j("mode","over"),ce("role","navigation"),$(2),j("matMenuTriggerFor",e),$(21),j("routerLink",Sr(14,B3)),$(5),j("routerLink",Sr(15,V3)),$(5),j("routerLink",Sr(16,H3)),$(5),j("routerLink",Sr(17,j3)),$(6),j("routerLink",Sr(18,z3)),$(5),j("routerLink",Sr(19,U3)),$(10),j("mode","over"),ce("role","navigation"),$(10),j("ngIf",n.appState.goBack),$(2),ml(n.appState.title),$(1),j("ngIf",n.appState.authenticated)}}class nc{constructor(t){this.appState=t,t.title="Blockcore Notes"}}function Xk(i){return new C(3e3,!1)}function DU(){return typeof window<"u"&&typeof window.document<"u"}function ng(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function or(i){switch(i.length){case 0:return new Ys;case 1:return i[0];default:return new XM(i)}}function Zk(i,t,e,n,r=new Map,o=new Map){const a=[],s=[];let c=-1,l=null;if(n.forEach(d=>{const u=d.get("offset"),h=u==c,p=h&&l||new Map;d.forEach((f,g)=>{let _=g,w=f;if("offset"!==g)switch(_=t.normalizePropertyName(_,a),w){case"!":w=r.get(g);break;case In:w=o.get(g);break;default:w=t.normalizeStyleValue(g,_,w,a)}p.set(_,w)}),h||s.push(p),l=p,c=u}),a.length)throw function mU(i){return new C(3502,!1)}();return s}function rg(i,t,e,n){switch(t){case"start":i.onStart(()=>n(e&&og(e,"start",i)));break;case"done":i.onDone(()=>n(e&&og(e,"done",i)));break;case"destroy":i.onDestroy(()=>n(e&&og(e,"destroy",i)))}}function og(i,t,e){const o=ag(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,e.totalTime??i.totalTime,!!e.disabled),a=i._data;return null!=a&&(o._data=a),o}function ag(i,t,e,n,r="",o=0,a){return{element:i,triggerName:t,fromState:e,toState:n,phaseName:r,totalTime:o,disabled:!!a}}function si(i,t,e){let n=i.get(t);return n||i.set(t,n=e),n}function Jk(i){const t=i.indexOf(":");return[i.substring(1,t),i.slice(t+1)]}nc.\u0275fac=function(t){return new(t||nc)(m(nn))},nc.\u0275cmp=J({type:nc,selectors:[["app-root"]],decls:2,vars:2,consts:[[4,"ngIf"],["class","sidenav-container",4,"ngIf"],[1,"sidenav-container"],["fixedInViewport","",1,"sidenav","print-hidden",3,"mode"],["drawer",""],[1,"logo-icon",3,"matMenuTriggerFor"],["src","assets/blockcore-light-small.png"],["hasBackdrop","true","backdropClass","menu-mode-backdrop","overlapTrigger","false"],["animals","matMenu"],["mat-menu-item","","target","_blank","href","https://id.blockcore.net/"],["mat-menu-item","","target","_blank","href","https://did.is/"],["mat-menu-item","","target","_blank","href","https://identity.city-chain.org/"],["mat-menu-item","","target","_blank","href","https://registry.city-chain.org/"],["accounts","matMenu"],["mat-menu-item",""],[1,"menu-options"],["mat-list-item","","routerLinkActive","active-link",3,"routerLink"],["mat-list-icon",""],["mat-line",""],["mat-list-icon","","mat-list-icon",""],["mat-list-item","","routerLink","/logout","routerLinkActive","active-link"],["fixedInViewport","","position","end",1,"sidenav","print-hidden",3,"mode"],["draweraccount",""],["mat-button","",3,"click"],["color","primary",1,"print-hidden"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["aria-label","Side nav toggle icon"],["mat-icon-button","",3,"routerLink",4,"ngIf"],[1,"example-spacer"],["mat-icon-button","",3,"routerLink"]],template:function(t,e){1&t&&(xe(0,O3,2,0,"div",0),xe(1,$3,75,20,"mat-sidenav-container",1)),2&t&&(j("ngIf",!e.appState.authenticated),$(1),j("ngIf",e.appState.authenticated))},dependencies:[en,Up,md,ZC,jM,Hj,Qj,tD,iD,Df,_8,G4,U4,b8,Dj,S3,Gd,R3]});let sg=(i,t)=>!1,eE=(i,t,e)=>[],tE=null;function cg(i){const t=i.parentNode||i.host;return t===tE?null:t}(ng()||typeof Element<"u")&&(DU()?(tE=(()=>document.documentElement)(),sg=(i,t)=>{for(;t;){if(t===i)return!0;t=cg(t)}return!1}):sg=(i,t)=>i.contains(t),eE=(i,t,e)=>{if(e)return Array.from(i.querySelectorAll(t));const n=i.querySelector(t);return n?[n]:[]});let Yr=null,iE=!1;const nE=sg,rE=eE;let oE=(()=>{class i{validateStyleProperty(e){return function EU(i){Yr||(Yr=function SU(){return typeof document<"u"?document.body:null}()||{},iE=!!Yr.style&&"WebkitAppearance"in Yr.style);let t=!0;return Yr.style&&!function kU(i){return"ebkit"==i.substring(1,6)}(i)&&(t=i in Yr.style,!t&&iE&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Yr.style)),t}(e)}matchesElement(e,n){return!1}containsElement(e,n){return nE(e,n)}getParentElement(e){return cg(e)}query(e,n,r){return rE(e,n,r)}computeStyle(e,n,r){return r||""}animate(e,n,r,o,a,s=[],c){return new Ys(r,o)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})(),lg=(()=>{class i{}return i.NOOP=new oE,i})();const dg="ng-enter",qd="ng-leave",Yd="ng-trigger",Qd=".ng-trigger",sE="ng-animating",ug=".ng-animating";function Rn(i){if("number"==typeof i)return i;const t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:hg(parseFloat(t[1]),t[2])}function hg(i,t){return"s"===t?1e3*i:i}function Kd(i,t,e){return i.hasOwnProperty("duration")?i:function AU(i,t,e){let r,o=0,a="";if("string"==typeof i){const s=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push(Xk()),{duration:0,delay:0,easing:""};r=hg(parseFloat(s[1]),s[2]);const c=s[3];null!=c&&(o=hg(parseFloat(c),s[4]));const l=s[5];l&&(a=l)}else r=i;if(!e){let s=!1,c=t.length;r<0&&(t.push(function G3(){return new C(3100,!1)}()),s=!0),o<0&&(t.push(function W3(){return new C(3101,!1)}()),s=!0),s&&t.splice(c,0,Xk())}return{duration:r,delay:o,easing:a}}(i,t,e)}function rc(i,t={}){return Object.keys(i).forEach(e=>{t[e]=i[e]}),t}function cE(i){const t=new Map;return Object.keys(i).forEach(e=>{t.set(e,i[e])}),t}function ar(i,t=new Map,e){if(e)for(let[n,r]of e)t.set(n,r);for(let[n,r]of i)t.set(n,r);return t}function dE(i,t,e){return e?t+":"+e+";":""}function uE(i){let t="";for(let e=0;e<i.style.length;e++){const n=i.style.item(e);t+=dE(0,n,i.style.getPropertyValue(n))}for(const e in i.style)i.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=dE(0,PU(e),i.style[e]));i.setAttribute("style",t)}function on(i,t,e){i.style&&(t.forEach((n,r)=>{const o=pg(r);e&&!e.has(r)&&e.set(r,i.style[o]),i.style[o]=n}),ng()&&uE(i))}function Qr(i,t){i.style&&(t.forEach((e,n)=>{const r=pg(n);i.style[r]=""}),ng()&&uE(i))}function oc(i){return Array.isArray(i)?1==i.length?i[0]:QM(i):i}const mg=new RegExp("{{\\s*(.+?)\\s*}}","g");function hE(i){let t=[];if("string"==typeof i){let e;for(;e=mg.exec(i);)t.push(e[1]);mg.lastIndex=0}return t}function ac(i,t,e){const n=i.toString(),r=n.replace(mg,(o,a)=>{let s=t[a];return null==s&&(e.push(function Y3(i){return new C(3003,!1)}()),s=""),s.toString()});return r==n?i:r}function Xd(i){const t=[];let e=i.next();for(;!e.done;)t.push(e.value),e=i.next();return t}const OU=/-+([a-z0-9])/g;function pg(i){return i.replace(OU,(...t)=>t[1].toUpperCase())}function PU(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ci(i,t,e){switch(t.type){case 7:return i.visitTrigger(t,e);case 0:return i.visitState(t,e);case 1:return i.visitTransition(t,e);case 2:return i.visitSequence(t,e);case 3:return i.visitGroup(t,e);case 4:return i.visitAnimate(t,e);case 5:return i.visitKeyframes(t,e);case 6:return i.visitStyle(t,e);case 8:return i.visitReference(t,e);case 9:return i.visitAnimateChild(t,e);case 10:return i.visitAnimateRef(t,e);case 11:return i.visitQuery(t,e);case 12:return i.visitStagger(t,e);default:throw function Q3(i){return new C(3004,!1)}()}}function mE(i,t){return window.getComputedStyle(i)[t]}function jU(i,t){const e=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(n=>function zU(i,t,e){if(":"==i[0]){const c=function UU(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n)<parseFloat(e);default:return t.push(function lU(i){return new C(3016,!1)}()),"* => *"}}(i,e);if("function"==typeof c)return void t.push(c);i=c}const n=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return e.push(function cU(i){return new C(3015,!1)}()),t;const r=n[1],o=n[2],a=n[3];t.push(pE(r,a));"<"==o[0]&&!("*"==r&&"*"==a)&&t.push(pE(a,r))}(n,e,t)):e.push(i),e}const tu=new Set(["true","1"]),iu=new Set(["false","0"]);function pE(i,t){const e=tu.has(i)||iu.has(i),n=tu.has(t)||iu.has(t);return(r,o)=>{let a="*"==i||i==r,s="*"==t||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?tu.has(i):iu.has(i)),!s&&n&&"boolean"==typeof o&&(s=o?tu.has(t):iu.has(t)),a&&s}}const $U=new RegExp("s*:selfs*,?","g");function fg(i,t,e,n){return new GU(i).build(t,e,n)}class GU{constructor(t){this._driver=t}build(t,e,n){const r=new YU(e);return this._resetContextStyleTimingState(r),ci(this,oc(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function X3(){return new C(3006,!1)}()),t.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const c=s,l=c.name;l.toString().split(/\s*,\s*/).forEach(d=>{c.name=d,o.push(this.visitState(c,e))}),c.name=l}else if(1==s.type){const c=this.visitTransition(s,e);n+=c.queryCount,r+=c.depCount,a.push(c)}else e.errors.push(function Z3(){return new C(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,a=r||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(c=>{hE(c).forEach(l=>{a.hasOwnProperty(l)||o.add(l)})})}),o.size&&(Xd(o.values()),e.errors.push(function J3(i,t){return new C(3008,!1)}()))}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=ci(this,oc(t.animation),e);return{type:1,matchers:jU(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Kr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(n=>ci(this,n,e)),options:Kr(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=n;const s=ci(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:o,options:Kr(t.options)}}visitAnimate(t,e){const n=function KU(i,t){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return gg(Kd(i,t).duration,0,"");const e=i;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=gg(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Kd(e,t);return gg(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,o=t.styles?t.styles:Fe({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,s=!1;if(!a){s=!0;const l={};n.easing&&(l.easing=n.easing),a=Fe(l)}e.currentTime+=n.duration+n.delay;const c=this.visitStyle(a,e);c.isEmptyStep=s,r=c}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let s of r)"string"==typeof s?s===In?n.push(s):e.errors.push(new C(3002,!1)):n.push(cE(s));let o=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o))for(let c of s.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,c)=>{const l=e.collectedStyles.get(e.currentQuerySelector),d=l.get(c);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function tU(i,t,e,n,r){return new C(3010,!1)}()),u=!1),o=d.startTime),u&&l.set(c,{startTime:o,endTime:r}),e.options&&function FU(i,t,e){const n=t.params||{},r=hE(i);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||e.push(function q3(i){return new C(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function iU(){return new C(3011,!1)}()),n;let o=0;const a=[];let s=!1,c=!1,l=0;const d=t.steps.map(w=>{const E=this._makeStyleAst(w,e);let x=null!=E.offset?E.offset:function QU(i){if("string"==typeof i)return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(E.styles),O=0;return null!=x&&(o++,O=E.offset=x),c=c||O<0||O>1,s=s||O<l,l=O,a.push(O),E});c&&e.errors.push(function nU(){return new C(3012,!1)}()),s&&e.errors.push(function rU(){return new C(3200,!1)}());const u=t.steps.length;let h=0;o>0&&o<u?e.errors.push(function oU(){return new C(3202,!1)}()):0==o&&(h=1/(u-1));const p=u-1,f=e.currentTime,g=e.currentAnimateTimings,_=g.duration;return d.forEach((w,E)=>{const x=h>0?E==p?1:h*E:a[E],O=x*_;e.currentTime=f+g.delay+O,g.duration=O,this._validateStyleAst(w,e),w.offset=x,n.styles.push(w)}),n}visitReference(t,e){return{type:8,animation:ci(this,oc(t.animation),e),options:Kr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Kr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Kr(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function WU(i){const t=!!i.split(/\s*,\s*/).find(e=>":self"==e);return t&&(i=i.replace($U,"")),i=i.replace(/@\*/g,Qd).replace(/@\w+/g,e=>Qd+"-"+e.slice(1)).replace(/:animating/g,ug),[i,t]}(t.selector);e.currentQuerySelector=n.length?n+" "+o:o,si(e.collectedStyles,e.currentQuerySelector,new Map);const s=ci(this,oc(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Kr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function aU(){return new C(3013,!1)}());const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Kd(t.timings,e.errors,!0);return{type:12,animation:ci(this,oc(t.animation),e),timings:n,options:null}}}class YU{constructor(t){this.errors=t,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 Kr(i){return i?(i=rc(i)).params&&(i.params=function qU(i){return i?rc(i):null}(i.params)):i={},i}function gg(i,t,e){return{duration:i,delay:t,easing:e}}function _g(i,t,e,n,r,o,a=null,s=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}class nu{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const JU=new RegExp(":enter","g"),t5=new RegExp(":leave","g");function bg(i,t,e,n,r,o=new Map,a=new Map,s,c,l=[]){return(new n5).buildKeyframes(i,t,e,n,r,o,a,s,c,l)}class n5{buildKeyframes(t,e,n,r,o,a,s,c,l,d=[]){l=l||new nu;const u=new vg(t,e,l,r,o,d,[]);u.options=c;const h=c.delay?Rn(c.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([a],null,u.errors,c),ci(this,n,u);const p=u.timelines.filter(f=>f.containsAnimation());if(p.length&&s.size){let f;for(let g=p.length-1;g>=0;g--){const _=p[g];if(_.element===e){f=_;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([s],null,u.errors,c)}return p.length?p.map(f=>f.buildKeyframes()):[_g(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:Rn(ac(o,r?.params??{},e.errors));n.delayNextStep(a)}}}_visitSubInstructions(t,e,n){let o=e.currentTimeline.currentTime;const a=null!=n.duration?Rn(n.duration):null,s=null!=n.delay?Rn(n.delay):null;return 0!==a&&t.forEach(c=>{const l=e.appendInstructionToTimeline(c,a,s);o=Math.max(o,l.duration+l.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),ci(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ru);const a=Rn(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>ci(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Rn(t.options.delay):0;t.steps.forEach(a=>{const s=e.createSubContext(t.options);o&&s.delayNextStep(o),ci(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return Kd(e.params?ac(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(c=>{s.forwardTime((c.offset||0)*o),s.setStyles(c.styles,c.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Rn(r.delay):0;o&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ru);let a=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let c=null;s.forEach((l,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(t.options,l);o&&u.delayNextStep(o),l===e.element&&(c=u.currentTimeline),ci(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=s-c;break;case"full":c=n.currentStaggerTime}const d=e.currentTimeline;c&&d.delayNextStep(c);const u=d.currentTime;ci(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const ru={};class vg{constructor(t,e,n,r,o,a,s,c){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ru,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new ou(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=Rn(n.duration)),null!=n.delay&&(r.delay=Rn(n.delay));const o=n.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=ac(o[s],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(r=>{n[r]=e[r]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,o=new vg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=ru,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},o=new r5(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,o,a){let s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(JU,"."+this._enterClassName)).replace(t5,"."+this._leaveClassName);let l=this._driver.query(this.element,t,1!=n);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),s.push(...l)}return!o&&0==s.length&&a.push(function sU(i){return new C(3014,!1)}()),s}}class ou{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ou(this._driver,t,e||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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||In),this._currentKeyframe.set(e,In);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function o5(i,t){const e=new Map;let n;return i.forEach(r=>{if("*"===r){n=n||t.keys();for(let o of n)e.set(o,In)}else ar(r,e)}),e}(t,this._globalTimelineStyles);for(let[s,c]of a){const l=ac(c,o,n);this._pendingStyles.set(s,l),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??In),this._updateStyle(s,l)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,n)=>{const r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,c)=>{const l=ar(s,new Map,this._backFill);l.forEach((d,u)=>{"!"===d?t.add(u):d===In&&e.add(u)}),n||l.set("offset",c/this.duration),r.push(l)});const o=t.size?Xd(t.values()):[],a=e.size?Xd(e.values()):[];if(n){const s=r[0],c=new Map(s);s.set("offset",0),c.set("offset",1),r=[s,c]}return _g(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class r5 extends ou{constructor(t,e,n,r,o,a,s=!1){super(t,e,a.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=n+e,s=e/a,c=ar(t[0]);c.set("offset",0),o.push(c);const l=ar(t[0]);l.set("offset",_E(s)),o.push(l);const d=t.length-1;for(let u=1;u<=d;u++){let h=ar(t[u]);const p=h.get("offset");h.set("offset",_E((e+p*n)/a)),o.push(h)}n=a,e=0,r="",t=o}return _g(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function _E(i,t=3){const e=Math.pow(10,t-1);return Math.round(i*e)/e}class yg{}const a5=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 s5 extends yg{normalizePropertyName(t,e){return pg(t)}normalizeStyleValue(t,e,n,r){let o="";const a=n.toString().trim();if(a5.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(function K3(i,t){return new C(3005,!1)}())}return a+o}}function bE(i,t,e,n,r,o,a,s,c,l,d,u,h){return{type:0,element:i,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:h}}const xg={};class vE{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function c5(i,t,e,n,r){return i.some(o=>o(t,e,n,r))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,n):new Map}build(t,e,n,r,o,a,s,c,l,d){const u=[],h=this.ast.options&&this.ast.options.params||xg,f=this.buildStyles(n,s&&s.params||xg,u),g=c&&c.params||xg,_=this.buildStyles(r,g,u),w=new Set,E=new Map,x=new Map,O="void"===r,ke={params:l5(g,h),delay:this.ast.options?.delay},Te=d?[]:bg(t,e,this.ast.animation,o,a,f,_,ke,l,u);let Pt=0;if(Te.forEach(Ln=>{Pt=Math.max(Ln.duration+Ln.delay,Pt)}),u.length)return bE(e,this._triggerName,n,r,O,f,_,[],[],E,x,Pt,u);Te.forEach(Ln=>{const Bn=Ln.element,_S=si(E,Bn,new Set);Ln.preStyleProps.forEach(Zr=>_S.add(Zr));const hc=si(x,Bn,new Set);Ln.postStyleProps.forEach(Zr=>hc.add(Zr)),Bn!==e&&w.add(Bn)});const Nn=Xd(w.values());return bE(e,this._triggerName,n,r,O,f,_,Te,Nn,E,x,Pt)}}function l5(i,t){const e=rc(t);for(const n in i)i.hasOwnProperty(n)&&null!=i[n]&&(e[n]=i[n]);return e}class d5{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,r=rc(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,s)=>{a&&(a=ac(a,r,e));const c=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,c,a,e),n.set(s,a)})}),n}}class h5{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new d5(r.style,r.options&&r.options.params||{},n))}),yE(this.states,"true","1"),yE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new vE(t,r,this.states))}),this.fallbackTransition=function m5(i,t,e){return new vE(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(a=>a.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function yE(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e))}const p5=new nu;class f5{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],o=fg(this._driver,e,n,[]);if(n.length)throw function pU(i){return new C(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,n){const r=t.element,o=Zk(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],o=this._animations.get(t);let a;const s=new Map;if(o?(a=bg(this._driver,e,o,dg,qd,new Map,new Map,n,p5,r),a.forEach(d=>{const u=si(s,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function fU(){return new C(3300,!1)}()),a=[]),r.length)throw function gU(i){return new C(3504,!1)}();s.forEach((d,u)=>{d.forEach((h,p)=>{d.set(p,this._driver.computeStyle(u,p,In))})});const l=or(a.map(d=>{const u=s.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,l),l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function _U(i){return new C(3301,!1)}();return e}listen(t,e,n,r){const o=ag(e,"","","");return rg(this._getPlayer(t),n,o,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(n){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(t)}}}const xE="ng-animate-queued",wg="ng-animate-disabled",y5=[],wE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},x5={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ci="__ng_removed";class Cg{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function D5(i){return i??null}(n?t.value:t),n){const o=rc(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const n=this.options.params;Object.keys(e).forEach(r=>{null==n[r]&&(n[r]=e[r])})}}}const sc="void",Mg=new Cg(sc);class w5{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Mi(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.has(e))throw function bU(i,t){return new C(3302,!1)}();if(null==n||0==n.length)throw function vU(i){return new C(3303,!1)}();if(!function k5(i){return"start"==i||"done"==i}(n))throw function yU(i,t){return new C(3400,!1)}();const o=si(this._elementListeners,t,[]),a={name:e,phase:n,callback:r};o.push(a);const s=si(this._engine.statesByElement,t,new Map);return s.has(e)||(Mi(t,Yd),Mi(t,Yd+"-"+e),s.set(e,Mg)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(a);c>=0&&o.splice(c,1),this._triggers.has(e)||s.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function xU(i){return new C(3401,!1)}();return e}trigger(t,e,n,r=!0){const o=this._getTrigger(e),a=new Dg(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Mi(t,Yd),Mi(t,Yd+"-"+e),this._engine.statesByElement.set(t,s=new Map));let c=s.get(e);const l=new Cg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s.set(e,l),c||(c=Mg),l.value!==sc&&c.value===l.value){if(!function T5(i,t){const e=Object.keys(i),n=Object.keys(t);if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!t.hasOwnProperty(o)||i[o]!==t[o])return!1}return!0}(c.params,l.params)){const g=[],_=o.matchStyles(c.value,c.params,g),w=o.matchStyles(l.value,l.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Qr(t,_),on(t,w)})}return}const h=si(this._engine.playersByElement,t,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let p=o.matchTransition(c.value,l.value,t,l.params),f=!1;if(!p){if(!r)return;p=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:c,toState:l,player:a,isFallbackTransition:f}),f||(Mi(t,xE),a.onStart(()=>{fa(t,xE)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(t);if(_){let w=_.indexOf(a);w>=0&&_.splice(w,1)}}),this.players.push(a),h.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,Qd,!0);n.forEach(r=>{if(r[Ci])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,n,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const s=[];if(o.forEach((c,l)=>{if(a.set(l,c.value),this._triggers.has(l)){const d=this.trigger(t,l,sc,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),n&&or(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const c=this._triggers.get(a).fallbackTransition,l=n.get(a)||Mg,d=new Cg(sc),u=new Dg(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:c,fromState:l,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const o=n.players.length?n.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(n.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Ci];(!o||o===wE)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Mi(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const o=n.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==n.triggerName){const c=ag(o,n.triggerName,n.fromState.value,n.toState.value);c._data=t,rg(n.player,s.phase,c,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((n,r)=>{const o=n.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(n=>n.element===t)||e,e}}class C5{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n)})}),t}createNamespace(t,e){const n=new w5(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const c=r.get(s);if(c){const l=n.indexOf(c);n.splice(l+1,0,t),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(t)}else n.push(t);return r.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let r of n.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,n,r){if(au(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!au(e))return;const o=e[Ci];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Mi(t,wg)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),fa(t,wg))}removeNode(t,e,n,r){if(au(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r,o){this.collectedLeaveElements.push(e),e[Ci]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,n,r,o){return au(e)?this._fetchNamespace(t).listen(e,n,r,o):()=>{}}_buildInstruction(t,e,n,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Qd,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,ug,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return or(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Ci];if(e&&e.setForRemoval){if(t[Ci]=wE,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(wg)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Mi(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],e.length?or(e).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(t){throw function wU(i){return new C(3402,!1)}()}_flushAnimations(t,e){const n=new nu,r=[],o=new Map,a=[],s=new Map,c=new Map,l=new Map,d=new Set;this.disabledNodes.forEach(N=>{d.add(N);const q=this.driver.query(N,".ng-animate-queued",!0);for(let ne=0;ne<q.length;ne++)d.add(q[ne])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),p=DE(h,this.collectedEnterElements),f=new Map;let g=0;p.forEach((N,q)=>{const ne=dg+g++;f.set(q,ne),N.forEach(Se=>Mi(Se,ne))});const _=[],w=new Set,E=new Set;for(let N=0;N<this.collectedLeaveElements.length;N++){const q=this.collectedLeaveElements[N],ne=q[Ci];ne&&ne.setForRemoval&&(_.push(q),w.add(q),ne.hasAnimation?this.driver.query(q,".ng-star-inserted",!0).forEach(Se=>w.add(Se)):E.add(q))}const x=new Map,O=DE(h,Array.from(w));O.forEach((N,q)=>{const ne=qd+g++;x.set(q,ne),N.forEach(Se=>Mi(Se,ne))}),t.push(()=>{p.forEach((N,q)=>{const ne=f.get(q);N.forEach(Se=>fa(Se,ne))}),O.forEach((N,q)=>{const ne=x.get(q);N.forEach(Se=>fa(Se,ne))}),_.forEach(N=>{this.processLeaveNode(N)})});const ke=[],Te=[];for(let N=this._namespaceList.length-1;N>=0;N--)this._namespaceList[N].drainQueuedTransitions(e).forEach(ne=>{const Se=ne.player,vt=ne.element;if(ke.push(Se),this.collectedEnterElements.length){const Nt=vt[Ci];if(Nt&&Nt.setForMove){if(Nt.previousTriggersValues&&Nt.previousTriggersValues.has(ne.triggerName)){const Jr=Nt.previousTriggersValues.get(ne.triggerName),Di=this.statesByElement.get(ne.element);if(Di&&Di.has(ne.triggerName)){const Cu=Di.get(ne.triggerName);Cu.value=Jr,Di.set(ne.triggerName,Cu)}}return void Se.destroy()}}const sn=!u||!this.driver.containsElement(u,vt),li=x.get(vt),cr=f.get(vt),Ze=this._buildInstruction(ne,n,cr,li,sn);if(Ze.errors&&Ze.errors.length)return void Te.push(Ze);if(sn)return Se.onStart(()=>Qr(vt,Ze.fromStyles)),Se.onDestroy(()=>on(vt,Ze.toStyles)),void r.push(Se);if(ne.isFallbackTransition)return Se.onStart(()=>Qr(vt,Ze.fromStyles)),Se.onDestroy(()=>on(vt,Ze.toStyles)),void r.push(Se);const yS=[];Ze.timelines.forEach(Nt=>{Nt.stretchStartingKeyframe=!0,this.disabledNodes.has(Nt.element)||yS.push(Nt)}),Ze.timelines=yS,n.append(vt,Ze.timelines),a.push({instruction:Ze,player:Se,element:vt}),Ze.queriedElements.forEach(Nt=>si(s,Nt,[]).push(Se)),Ze.preStyleProps.forEach((Nt,Jr)=>{if(Nt.size){let Di=c.get(Jr);Di||c.set(Jr,Di=new Set),Nt.forEach((Cu,Kg)=>Di.add(Kg))}}),Ze.postStyleProps.forEach((Nt,Jr)=>{let Di=l.get(Jr);Di||l.set(Jr,Di=new Set),Nt.forEach((Cu,Kg)=>Di.add(Kg))})});if(Te.length){const N=[];Te.forEach(q=>{N.push(function CU(i,t){return new C(3505,!1)}())}),ke.forEach(q=>q.destroy()),this.reportError(N)}const Pt=new Map,Nn=new Map;a.forEach(N=>{const q=N.element;n.has(q)&&(Nn.set(q,q),this._beforeAnimationBuild(N.player.namespaceId,N.instruction,Pt))}),r.forEach(N=>{const q=N.element;this._getPreviousPlayers(q,!1,N.namespaceId,N.triggerName,null).forEach(Se=>{si(Pt,q,[]).push(Se),Se.destroy()})});const Ln=_.filter(N=>EE(N,c,l)),Bn=new Map;ME(Bn,this.driver,E,l,In).forEach(N=>{EE(N,c,l)&&Ln.push(N)});const hc=new Map;p.forEach((N,q)=>{ME(hc,this.driver,new Set(N),c,"!")}),Ln.forEach(N=>{const q=Bn.get(N),ne=hc.get(N);Bn.set(N,new Map([...Array.from(q?.entries()??[]),...Array.from(ne?.entries()??[])]))});const Zr=[],bS=[],vS={};a.forEach(N=>{const{element:q,player:ne,instruction:Se}=N;if(n.has(q)){if(d.has(q))return ne.onDestroy(()=>on(q,Se.toStyles)),ne.disabled=!0,ne.overrideTotalTime(Se.totalTime),void r.push(ne);let vt=vS;if(Nn.size>1){let li=q;const cr=[];for(;li=li.parentNode;){const Ze=Nn.get(li);if(Ze){vt=Ze;break}cr.push(li)}cr.forEach(Ze=>Nn.set(Ze,vt))}const sn=this._buildAnimation(ne.namespaceId,Se,Pt,o,hc,Bn);if(ne.setRealPlayer(sn),vt===vS)Zr.push(ne);else{const li=this.playersByElement.get(vt);li&&li.length&&(ne.parentPlayer=or(li)),r.push(ne)}}else Qr(q,Se.fromStyles),ne.onDestroy(()=>on(q,Se.toStyles)),bS.push(ne),d.has(q)&&r.push(ne)}),bS.forEach(N=>{const q=o.get(N.element);if(q&&q.length){const ne=or(q);N.setRealPlayer(ne)}}),r.forEach(N=>{N.parentPlayer?N.syncPlayerEvents(N.parentPlayer):N.destroy()});for(let N=0;N<_.length;N++){const q=_[N],ne=q[Ci];if(fa(q,qd),ne&&ne.hasAnimation)continue;let Se=[];if(s.size){let sn=s.get(q);sn&&sn.length&&Se.push(...sn);let li=this.driver.query(q,ug,!0);for(let cr=0;cr<li.length;cr++){let Ze=s.get(li[cr]);Ze&&Ze.length&&Se.push(...Ze)}}const vt=Se.filter(sn=>!sn.destroyed);vt.length?E5(this,q,vt):this.processLeaveNode(q)}return _.length=0,Zr.forEach(N=>{this.players.push(N),N.onDone(()=>{N.destroy();const q=this.players.indexOf(N);this.players.splice(q,1)}),N.play()}),Zr}elementContainsData(t,e){let n=!1;const r=e[Ci];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,o){let a=[];if(e){const s=this.playersByQueriedElement.get(t);s&&(a=s)}else{const s=this.playersByElement.get(t);if(s){const c=!o||o==sc;s.forEach(l=>{l.queued||!c&&l.triggerName!=r||a.push(l)})}}return(n||r)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(t,e,n){const o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const l=c.element,d=l!==o,u=si(n,l,[]);this._getPreviousPlayers(l,d,a,s,e.toState).forEach(p=>{const f=p.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),p.destroy(),u.push(p)})}Qr(o,e.fromStyles)}_buildAnimation(t,e,n,r,o,a){const s=e.triggerName,c=e.element,l=[],d=new Set,u=new Set,h=e.timelines.map(f=>{const g=f.element;d.add(g);const _=g[Ci];if(_&&_.removedBeforeQueried)return new Ys(f.duration,f.delay);const w=g!==c,E=function S5(i){const t=[];return kE(i,t),t}((n.get(g)||y5).map(Pt=>Pt.getRealPlayer())).filter(Pt=>!!Pt.element&&Pt.element===g),x=o.get(g),O=a.get(g),ke=Zk(0,this._normalizer,0,f.keyframes,x,O),Te=this._buildPlayer(f,ke,E);if(f.subTimeline&&r&&u.add(g),w){const Pt=new Dg(t,s,g);Pt.setRealPlayer(Te),l.push(Pt)}return Te});l.forEach(f=>{si(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>function M5(i,t,e){let n=i.get(t);if(n){if(n.length){const r=n.indexOf(e);n.splice(r,1)}0==n.length&&i.delete(t)}return n}(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>Mi(f,sE));const p=or(h);return p.onDestroy(()=>{d.forEach(f=>fa(f,sE)),on(c,e.toStyles)}),u.forEach(f=>{si(r,f,[]).push(p)}),p}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Ys(t.duration,t.delay)}}class Dg{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Ys,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>rg(t,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){si(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function au(i){return i&&1===i.nodeType}function CE(i,t){const e=i.style.display;return i.style.display=t??"none",e}function ME(i,t,e,n,r){const o=[];e.forEach(c=>o.push(CE(c)));const a=[];n.forEach((c,l)=>{const d=new Map;c.forEach(u=>{const h=t.computeStyle(l,u,r);d.set(u,h),(!h||0==h.length)&&(l[Ci]=x5,a.push(l))}),i.set(l,d)});let s=0;return e.forEach(c=>CE(c,o[s++])),a}function DE(i,t){const e=new Map;if(i.forEach(s=>e.set(s,[])),0==t.length)return e;const r=new Set(t),o=new Map;function a(s){if(!s)return 1;let c=o.get(s);if(c)return c;const l=s.parentNode;return c=e.has(l)?l:r.has(l)?1:a(l),o.set(s,c),c}return t.forEach(s=>{const c=a(s);1!==c&&e.get(c).push(s)}),e}function Mi(i,t){i.classList?.add(t)}function fa(i,t){i.classList?.remove(t)}function E5(i,t,e){or(e).onDone(()=>i.processLeaveNode(t))}function kE(i,t){for(let e=0;e<i.length;e++){const n=i[e];n instanceof XM?kE(n.players,t):t.push(n)}}function EE(i,t,e){const n=e.get(i);if(!n)return!1;let r=t.get(i);return r?n.forEach(o=>r.add(o)):t.set(i,n),e.delete(i),!0}class su{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new C5(t,e,n),this._timelineEngine=new f5(t,e,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,n,r,o){const a=t+"-"+r;let s=this._triggerCache[a];if(!s){const c=[],d=fg(this._driver,o,c,[]);if(c.length)throw function hU(i,t){return new C(3404,!1)}();s=function u5(i,t,e){return new h5(i,t,e)}(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[o,a]=Jk(n);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,o){if("@"==n.charAt(0)){const[a,s]=Jk(n);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(t,e,n,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let A5=(()=>{class i{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let o=i.initialStylesByElement.get(e);o||i.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(Qr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Qr(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function kg(i){let t=null;return i.forEach((e,n)=>{(function R5(i){return"display"===i||"position"===i})(n)&&(t=t||new Map,t.set(n,e))}),t}class SE{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&t.set(r,this._finished?n:mE(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class F5{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return nE(t,e)}getParentElement(t){return cg(t)}query(t,e,n){return rE(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,r,o,a=[]){const c={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(c.easing=o);const l=new Map,d=a.filter(p=>p instanceof SE);(function NU(i,t){return 0===i||0===t})(n,r)&&d.forEach(p=>{p.currentSnapshot.forEach((f,g)=>l.set(g,f))});let u=function RU(i){return i.length?i[0]instanceof Map?i:i.map(t=>cE(t)):[]}(e).map(p=>ar(p));u=function LU(i,t,e){if(e.size&&t.length){let n=t[0],r=[];if(e.forEach((o,a)=>{n.has(a)||r.push(a),n.set(a,o)}),r.length)for(let o=1;o<t.length;o++){let a=t[o];r.forEach(s=>a.set(s,mE(i,s)))}}return t}(t,u,l);const h=function I5(i,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=kg(t[0]),t.length>1&&(n=kg(t[t.length-1]))):t instanceof Map&&(e=kg(t)),e||n?new A5(i,e,n):null}(t,u);return new SE(t,u,c,h)}}let O5=(()=>{class i extends YM{constructor(e,n){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Si.None,styles:[],data:{animation:[]}})}build(e){const n=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?QM(e):e;return TE(this._renderer,null,n,"register",[r]),new P5(n,this._renderer)}}return i.\u0275fac=function(e){return new(e||i)(b(Ya),b(le))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();class P5 extends Cz{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new N5(this._id,t,e||{},this._renderer)}}class N5{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return TE(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function TE(i,t,e,n,r){return i.setProperty(t,`@@${e}:${n}`,r)}const IE="@.disabled";let L5=(()=>{class i{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=(o,a)=>{const s=a?.parentNode(o);s&&a.removeChild(s,o)}}createRenderer(e,n){const o=this.delegate.createRenderer(e,n);if(!(e&&n&&n.data&&n.data.animation)){let d=this._rendererCache.get(o);return d||(d=new AE("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const a=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const c=d=>{Array.isArray(d)?d.forEach(c):this.engine.registerTrigger(a,s,e,d.name,d)};return n.data.animation.forEach(c),new B5(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){e>=0&&e<this._microtaskId?this._zone.run(()=>n(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,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 i.\u0275fac=function(e){return new(e||i)(b(Ya),b(su),b(z))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();class AE{constructor(t,e,n,r){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==IE?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class B5 extends AE{constructor(t,e,n,r,o){super(e,n,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==IE?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function V5(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function H5(i){const t=i.indexOf(".");return[i.substring(0,t),i.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,n,s)})}return this.delegate.listen(t,e,n)}}const RE=[{provide:YM,useClass:O5},{provide:yg,useFactory:function z5(){return new s5}},{provide:su,useClass:(()=>{class i extends su{constructor(e,n,r,o){super(e.body,n,r)}ngOnDestroy(){this.flush()}}return i.\u0275fac=function(e){return new(e||i)(b(le),b(lg),b(yg),b(Tr))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})()},{provide:Ya,useFactory:function U5(i,t,e){return new L5(i,t,e)},deps:[Ul,su,z]}],Eg=[{provide:lg,useFactory:()=>new F5},{provide:Qt,useValue:"BrowserAnimations"},...RE],FE=[{provide:lg,useClass:oE},{provide:Qt,useValue:"NoopAnimations"},...RE];let $5=(()=>{class i{static withConfig(e){return{ngModule:i,providers:e.disableAnimations?FE:Eg}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:Eg,imports:[$w]}),i})();const sr=new Oe(Ca),W5={connector:()=>new G};function OE(i,t=W5){const{connector:e}=t;return Ye((n,r)=>{const o=e();Lt(i(function G5(i){return new Oe(t=>i.subscribe(t))}(o))).subscribe(r),r.add(n.subscribe(o))})}const cc="Service workers are disabled or not supported by this browser";class lu{constructor(t){if(this.serviceWorker=t,t){const n=jr(t,"controllerchange").pipe(U(()=>t.controller)),o=zo(Gl(()=>P(t.controller)),n);this.worker=o.pipe(Be(d=>!!d)),this.registration=this.worker.pipe(Ct(()=>t.getRegistration()));const l=jr(t,"message").pipe(U(d=>d.data)).pipe(Be(d=>d&&d.type)).pipe(function Y5(i){return i?t=>OE(i)(t):t=>function q5(i,t){const e=ye(i)?i:()=>i;return ye(t)?OE(t,{connector:e}):n=>new Wl(n,e)}(new G)(t)}());l.connect(),this.events=l}else this.worker=this.events=this.registration=function Q5(i){return Gl(()=>Rr(new Error(i)))}(cc)}postMessage(t,e){return this.worker.pipe(qe(1),ot(n=>{n.postMessage({action:t,...e})})).toPromise().then(()=>{})}postMessageWithOperation(t,e,n){const r=this.waitForOperationCompleted(n),o=this.postMessage(t,e);return Promise.all([o,r]).then(([,a])=>a)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){let e;return e="string"==typeof t?n=>n.type===t:n=>t.includes(n.type),this.events.pipe(Be(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(qe(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(Be(e=>e.nonce===t),qe(1),U(e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let K5=(()=>{class i{constructor(e){if(this.sw=e,this.subscriptionChanges=new G,!e.isEnabled)return this.messages=sr,this.notificationClicks=sr,void(this.subscription=sr);this.messages=this.sw.eventsOfType("PUSH").pipe(U(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(U(r=>r.data)),this.pushManager=this.sw.registration.pipe(U(r=>r.pushManager));const n=this.pushManager.pipe(Ct(r=>r.getSubscription()));this.subscription=ki(n,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(e){if(!this.sw.isEnabled)return Promise.reject(new Error(cc));const n={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length));for(let a=0;a<r.length;a++)o[a]=r.charCodeAt(a);return n.applicationServerKey=o,this.pushManager.pipe(Ct(a=>a.subscribe(n)),qe(1)).toPromise().then(a=>(this.subscriptionChanges.next(a),a))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(qe(1),Ct(n=>{if(null===n)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(cc))}decodeBase64(e){return atob(e)}}return i.\u0275fac=function(e){return new(e||i)(b(lu))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})(),X5=(()=>{class i{constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=sr,this.available=sr,this.activated=sr,void(this.unrecoverable=sr);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(Be(n=>"VERSION_READY"===n.type),U(n=>({type:"UPDATE_AVAILABLE",current:n.currentVersion,available:n.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(cc));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(cc));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}}return i.\u0275fac=function(e){return new(e||i)(b(lu))},i.\u0275prov=S({token:i,factory:i.\u0275fac}),i})();class Sg{}const PE=new y("NGSW_REGISTER_SCRIPT");function Z5(i,t,e,n){return()=>{if(!fp(n)||!("serviceWorker"in navigator)||!1===e.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof e.registrationStrategy)r=e.registrationStrategy();else{const[a,...s]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":r=P(null);break;case"registerWithDelay":r=NE(+s[0]||0);break;case"registerWhenStable":r=s[0]?ki(LE(i),NE(+s[0])):LE(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}i.get(z).runOutsideAngular(()=>r.pipe(qe(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function NE(i){return P(null).pipe(Zf(i))}function LE(i){return i.get(Tr).isStable.pipe(Be(e=>e))}function J5(i,t){return new lu(fp(t)&&!1!==i.enabled?navigator.serviceWorker:void 0)}let e$=(()=>{class i{static register(e,n={}){return{ngModule:i,providers:[{provide:PE,useValue:e},{provide:Sg,useValue:n},{provide:lu,useFactory:J5,deps:[Sg,ms]},{provide:us,useFactory:Z5,deps:[zt,PE,Sg,ms],multi:!0}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[K5,X5]}),i})(),t$=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})(),Tg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,Ot,yd,ie]}),i})(),d$=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,Tg,Tg,t$,ie]}),i})();const f$={provide:new y("mat-select-scroll-strategy"),deps:[pa],useFactory:function p$(i){return()=>i.scrollStrategies.reposition()}};let BE=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[f$],imports:[Ot,tg,VM,ie,Ur,Tg,VM,ie]}),i})(),E$=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,Ot,Tn,ie]}),i})(),Y$=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,Ot,ie]}),i})(),X$=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[RM,ie,RM,ie]}),i})(),n6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})(),u6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[n6,ie,ie]}),i})(),h6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[_f,ie,ie]}),i})(),_6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Ot,ie,$d,Tn,yd,_f,ie]}),i})();const x6={provide:new y("mat-tooltip-scroll-strategy"),deps:[pa],useFactory:function y6(i){return()=>i.scrollStrategies.reposition({scrollThrottle:20})}};let $E=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[x6],imports:[_f,Ot,tg,ie,ie,Ur]}),i})(),C6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})(),M6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Ot,ie,C6,$d]}),i})(),B6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[wf]}),i})(),tG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,B6,ie]}),i})(),rS=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({}),i})(),fG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ie,Tn,rS,ie,rS]}),i})(),gG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[ra]}),i})(),Wg=(()=>{class i{constructor(){this.changes=new G,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const EG={provide:Wg,deps:[[new Oi,new Un,Wg]],useFactory:function kG(i){return i||new Wg}};let SG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[EG,bf],imports:[ie,Ot,$d,gG,xD,Tn,ie]}),i})(),AG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Ot,ie]}),i})();const dS=new y("mat-chips-default-options");let uW=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[bf,{provide:dS,useValue:{separatorKeyCodes:[13]}}],imports:[ie,Ot,Tn,ie]}),i})(),Qg=(()=>{class i{constructor(){this.changes=new G,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,n,r)=>{if(0==r||0==n)return`0 of ${r}`;const o=e*n;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+n,r):o+n} of ${r}`}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const gW={provide:Qg,deps:[[new Oi,new Un,Qg]],useFactory:function fW(i){return i||new Qg}};let _W=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[gW],imports:[Ot,zM,BE,$E]}),i})();class xa{}xa.\u0275fac=function(t){return new(t||xa)},xa.\u0275mod=Y({type:xa,bootstrap:[nc]}),xa.\u0275inj=W({providers:[Hr],imports:[$w,ca,$5,fG,d$,zM,BE,E$,Y$,Kj,Bz,xD,Q4,X$,F3,u6,h6,_6,$E,M6,tG,SG,AG,uW,_W,e$.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"})]}),B2().bootstrapModule(xa).catch(i=>console.error(i))}},ye=>{ye(ye.s=854)}]);