diff --git a/main.js b/main.js index 2bc09f9..91617f2 100644 --- a/main.js +++ b/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebui=self.webpackChunkwebui||[]).push([[792],{344:()=>{function _a(e,n,t,i,r,o,s){try{var a=e[o](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(i,r)}function ri(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var o=e.apply(n,t);function s(l){_a(o,i,r,s,a,"next",l)}function a(l){_a(o,i,r,s,a,"throw",l)}s(void 0)})}}let Je=null,va=!1,qf=1;const vt=Symbol("SIGNAL");function X(e){const n=Je;return Je=e,n}const Po={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ya(e){if(va)throw new Error("");if(null===Je)return;Je.consumerOnSignalRead(e);const n=Je.nextProducerIndex++;zc(Je),n<Je.producerNode.length&&Je.producerNode[n]!==e&&Ea(Je)&&Uc(Je.producerNode[n],Je.producerIndexOfThis[n]),Je.producerNode[n]!==e&&(Je.producerNode[n]=e,Je.producerIndexOfThis[n]=Ea(Je)?qb(e,Je,n):0),Je.producerLastReadVersion[n]=e.version}function Hb(e){if((!Ea(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==qf)){if(!e.producerMustRecompute(e)&&!wa(e))return void Gb(e);e.producerRecomputeValue(e),Gb(e)}}function Ub(e){if(void 0===e.liveConsumerNode)return;const n=va;va=!0;try{for(const t of e.liveConsumerNode)t.dirty||$b(t)}finally{va=n}}function zb(){return!1!==Je?.consumerAllowSignalWrites}function $b(e){e.dirty=!0,Ub(e),e.consumerMarkedDirty?.(e)}function Gb(e){e.dirty=!1,e.lastCleanEpoch=qf}function Lo(e){return e&&(e.nextProducerIndex=0),X(e)}function ba(e,n){if(X(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ea(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Uc(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function wa(e){zc(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Hb(t),i!==t.version))return!0}return!1}function Ca(e){if(zc(e),Ea(e))for(let n=0;n<e.producerNode.length;n++)Uc(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function qb(e,n,t){if(Wb(e),0===e.liveConsumerNode.length&&Zb(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=qb(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Uc(e,n){if(Wb(e),1===e.liveConsumerNode.length&&Zb(e))for(let i=0;i<e.producerNode.length;i++)Uc(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];zc(r),r.producerIndexOfThis[i]=n}}function Ea(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function zc(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wb(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Zb(e){return void 0!==e.producerNode}let Yb=function HF(){throw new Error};function Kb(){Yb()}function Kf(e,n){zb()||Kb(),e.equal(e.value,n)||(e.value=n,function GF(e){e.version++,function VF(){qf++}(),Ub(e)}(e))}const Qf={...Po,equal:function Gf(e,n){return Object.is(e,n)},value:void 0};const Xf=()=>{};function ue(e){return"function"==typeof e}function Jf(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ep=Jf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function qc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Ge{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ue(i))try{i()}catch(o){n=o instanceof ep?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Jb(o)}catch(s){n=n??[],s instanceof ep?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ep(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jb(n);else{if(n instanceof Ge){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&qc(t,n)}remove(n){const{_finalizers:t}=this;t&&qc(t,n),n instanceof Ge&&n._removeParent(this)}}Ge.EMPTY=(()=>{const e=new Ge;return e.closed=!0,e})();const Qb=Ge.EMPTY;function Xb(e){return e instanceof Ge||e&&"closed"in e&&ue(e.remove)&&ue(e.add)&&ue(e.unsubscribe)}function Jb(e){ue(e)?e():e.unsubscribe()}const Rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wc={setTimeout(e,n,...t){const{delegate:i}=Wc;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Wc;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ew(e){Wc.setTimeout(()=>{const{onUnhandledError:n}=Rr;if(!n)throw e;n(e)})}function tp(){}const ZF=np("C",void 0,void 0);function np(e,n,t){return{kind:e,value:n,error:t}}let Nr=null;function Zc(e){if(Rr.useDeprecatedSynchronousErrorHandling){const n=!Nr;if(n&&(Nr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Nr;if(Nr=null,t)throw i}}else e()}class ip extends Ge{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Xb(n)&&n.add(this)):this.destination=tO}static create(n,t,i){return new Da(n,t,i)}next(n){this.isStopped?op(function KF(e){return np("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?op(function YF(e){return np("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?op(ZF,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const XF=Function.prototype.bind;function rp(e,n){return XF.call(e,n)}class JF{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Yc(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Yc(i)}else Yc(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Yc(t)}}}class Da extends ip{constructor(n,t,i){let r;if(super(),ue(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Rr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&rp(n.next,o),error:n.error&&rp(n.error,o),complete:n.complete&&rp(n.complete,o)}):r=n}this.destination=new JF(r)}}function Yc(e){Rr.useDeprecatedSynchronousErrorHandling?function QF(e){Rr.useDeprecatedSynchronousErrorHandling&&Nr&&(Nr.errorThrown=!0,Nr.error=e)}(e):ew(e)}function op(e,n){const{onStoppedNotification:t}=Rr;t&&Wc.setTimeout(()=>t(e,n))}const tO={closed:!0,next:tp,error:function eO(e){throw e},complete:tp},sp="function"==typeof Symbol&&Symbol.observable||"@@observable";function Qi(e){return e}function tw(e){return 0===e.length?Qi:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let Ve=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function rO(e){return e&&e instanceof ip||function iO(e){return e&&ue(e.next)&&ue(e.error)&&ue(e.complete)}(e)&&Xb(e)}(t)?t:new Da(t,i,r);return Zc(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=nw(i))((r,o)=>{const s=new Da({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[sp](){return this}pipe(...t){return tw(t)(this)}toPromise(t){return new(t=nw(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function nw(e){var n;return null!==(n=e??Rr.Promise)&&void 0!==n?n:Promise}const oO=Jf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Q=(()=>{class e extends Ve{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new iw(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new oO}next(t){Zc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Zc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Zc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Qb:(this.currentObservers=null,o.push(t),new Ge(()=>{this.currentObservers=null,qc(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ve;return t.source=this,t}}return e.create=(n,t)=>new iw(n,t),e})();class iw extends Q{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Qb}}class an extends Q{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function rw(e){return ue(e?.lift)}function et(e){return n=>{if(rw(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ue(e,n,t,i,r){return new sO(e,n,t,i,r)}class sO extends ip{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function K(e,n){return et((t,i)=>{let r=0;t.subscribe(Ue(i,o=>{i.next(e.call(n,o,r++))}))})}const ow="https://g.co/ng/security#xss";class b extends Error{code;constructor(n,t){super(function Vo(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Kc=Symbol("InputSignalNode#UNSET"),sw={...Qf,transformFn:void 0,applyValueToInputSignal(e,n){Kf(e,n)}};function aw(e,n){const t=Object.create(sw);function i(){if(ya(t),t.value===Kc)throw new b(-950,!1);return t.value}return t.value=e,t.transformFn=n?.transform,i[vt]=t,i}function Ti(e){return{toString:e}.toString()}const jo="__parameters__";function Uo(e,n,t){return Ti(()=>{const i=function ap(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(jo)?l[jo]:Object.defineProperty(l,jo,{value:[]})[jo];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Pe=globalThis;function be(e){for(let n in e)if(e[n]===be)return n;throw Error("Could not find renamed property on target object.")}function aO(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function dt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(dt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function lp(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const lO=be({__forward_ref__:be});function Se(e){return e.__forward_ref__=Se,e.toString=function(){return dt(this())},e}function j(e){return Qc(e)?e():e}function Qc(e){return"function"==typeof e&&e.hasOwnProperty(lO)&&e.__forward_ref__===Se}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ie(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xc(e){return cw(e,ed)||cw(e,dw)}function cw(e,n){return e.hasOwnProperty(n)?e[n]:null}function Jc(e){return e&&(e.hasOwnProperty(cp)||e.hasOwnProperty(pO))?e[cp]:null}const ed=be({\u0275prov:be}),cp=be({\u0275inj:be}),dw=be({ngInjectableDef:be}),pO=be({ngInjectorDef:be});class C{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=S({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function pp(e){return e&&!!e.\u0275providers}const xa=be({\u0275cmp:be}),mp=be({\u0275dir:be}),gp=be({\u0275pipe:be}),hw=be({\u0275mod:be}),Ai=be({\u0275fac:be}),Sa=be({__NG_ELEMENT_ID__:be}),fw=be({__NG_ENV_ID__:be});function Z(e){return"string"==typeof e?e:null==e?"":String(e)}function _p(e,n){throw new b(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let vp;function pw(){return vp}function Xt(e){const n=vp;return vp=e,n}function mw(e,n,t){const i=Xc(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void _p()}const Ia={},yp="__NG_DI_FLAG__",td="ngTempTokenPath",bO=/\n/gm,gw="__source";let zo;function Ji(e){const n=zo;return zo=e,n}function EO(e,n=ie.Default){if(void 0===zo)throw new b(-203,!1);return null===zo?mw(e,void 0,n):zo.get(e,n&ie.Optional?null:void 0,n)}function M(e,n=ie.Default){return(pw()||EO)(j(e),n)}function g(e,n=ie.Default){return M(e,nd(n))}function nd(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bp(e){const n=[];for(let t=0;t<e.length;t++){const i=j(e[t]);if(Array.isArray(i)){if(0===i.length)throw new b(900,!1);let r,o=ie.Default;for(let s=0;s<i.length;s++){const a=i[s],l=DO(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(M(r,o))}else n.push(M(i))}return n}function Ma(e,n){return e[yp]=n,e.prototype[yp]=n,e}function DO(e){return e[yp]}const Fr=Ma(Uo("Optional"),8),Ta=Ma(Uo("SkipSelf"),4);function Or(e,n){return e.hasOwnProperty(Ai)?e[Ai]:null}function $o(e,n){e.forEach(t=>Array.isArray(t)?$o(t,n):n(t))}function vw(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function id(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function cn(e,n,t){let i=Go(e,n);return i>=0?e[1|i]=t:(i=~i,function yw(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Cp(e,n){const t=Go(e,n);if(t>=0)return e[1|t]}function Go(e,n){return function bw(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<t];if(n===s)return o<<t;s>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const oi={},he=[],xn=new C(""),ww=new C("",-1),Ep=new C("");class od{get(n,t=Ia){if(t===Ia){const i=new Error(`NullInjectorError: No provider for ${dt(n)}!`);throw i.name="NullInjectorError",i}return t}}function At(e,n){const t=e[hw]||null;if(!t&&!0===n)throw new Error(`Type ${dt(e)} does not have '\u0275mod' property.`);return t}function ee(e){return e[xa]||null}function ut(e){return e[mp]||null}function Et(e){return e[gp]||null}function kO(...e){return{\u0275providers:Dp(0,e),\u0275fromNgModule:!0}}function Dp(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return $o(n,s=>{const a=s;sd(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Cw(r,o),t}function Cw(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];xp(r,o=>{n(o,i)})}}function sd(e,n,t,i){if(!(e=j(e)))return!1;let r=null,o=Jc(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Jc(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)sd(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{$o(o.imports,d=>{sd(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Cw(c,n)}if(!a){const c=Or(r)||(()=>new r);n({provide:r,useFactory:c,deps:he},r),n({provide:Ep,useValue:r,multi:!0},r),n({provide:xn,useValue:()=>M(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;xp(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function xp(e,n){for(let t of e)pp(t)&&(t=t.\u0275providers),Array.isArray(t)?xp(t,n):n(t)}const RO=be({provide:String,useValue:be});function Sp(e){return null!==e&&"object"==typeof e&&RO in e}function Pr(e){return"function"==typeof e}const Ip=new C(""),ad={},FO={};let Mp;function ld(){return void 0===Mp&&(Mp=new od),Mp}class Dt{}class qo extends Dt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,Ap(n,s=>this.processProvider(s)),this.records.set(ww,Wo(void 0,this)),r.has("environment")&&this.records.set(Dt,Wo(void 0,this));const o=this.records.get(Ip);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ep,he,ie.Self))}destroy(){Aa(this),this._destroyed=!0;const n=X(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),X(n)}}onDestroy(n){return Aa(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Aa(this);const t=Ji(this),i=Xt(void 0);try{return n()}finally{Ji(t),Xt(i)}}get(n,t=Ia,i=ie.Default){if(Aa(this),n.hasOwnProperty(fw))return n[fw](this);i=nd(i);const o=Ji(this),s=Xt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function BO(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&Xc(n);l=c&&this.injectableDefInScope(c)?Wo(Tp(n),ad):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ld():this.parent).get(n,t=i&ie.Optional&&t===Ia?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[td]=a[td]||[]).unshift(dt(n)),o)throw a;return function xO(e,n,t,i){const r=e[td];throw n[gw]&&r.unshift(n[gw]),e.message=function SO(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=dt(n);if(Array.isArray(n))r=n.map(dt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):dt(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(bO,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[td]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Xt(s),Ji(o)}}resolveInjectorInitializers(){const n=X(null),t=Ji(this),i=Xt(void 0);try{const o=this.get(xn,he,ie.Self);for(const s of o)s()}finally{Ji(t),Xt(i),X(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(dt(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=Pr(n=j(n))?n:j(n&&n.provide);const i=function PO(e){return Sp(e)?Wo(void 0,e.useValue):Wo(xw(e),ad)}(n);if(!Pr(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Wo(void 0,ad,!0),r.factory=()=>bp(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=X(null);try{return t.value===ad&&(t.value=FO,t.value=t.factory()),"object"==typeof t.value&&t.value&&function VO(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{X(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Tp(e){const n=Xc(e),t=null!==n?n.factory:Or(e);if(null!==t)return t;if(e instanceof C)throw new b(204,!1);if(e instanceof Function)return function OO(e){if(e.length>0)throw new b(204,!1);const t=function fO(e){return e&&(e[ed]||e[dw])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new b(204,!1)}function xw(e,n,t){let i;if(Pr(e)){const r=j(e);return Or(r)||Tp(r)}if(Sp(e))i=()=>j(e.useValue);else if(function Dw(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...bp(e.deps||[]));else if(function Ew(e){return!(!e||!e.useExisting)}(e))i=()=>M(j(e.useExisting));else{const r=j(e&&(e.useClass||e.provide));if(!function LO(e){return!!e.deps}(e))return Or(r)||Tp(r);i=()=>new r(...bp(e.deps))}return i}function Aa(e){if(e.destroyed)throw new b(205,!1)}function Wo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Ap(e,n){for(const t of e)Array.isArray(t)?Ap(t,n):t&&pp(t)?Ap(t.\u0275providers,n):n(t)}function Sn(e,n){e instanceof qo&&Aa(e);const i=Ji(e),r=Xt(void 0);try{return n()}finally{Ji(i),Xt(r)}}function Sw(){return void 0!==pw()||null!=function CO(){return zo}()}function Zo(e){if(!Sw())throw new b(-203,!1)}const U=11,T=25;var fd=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(fd||{});function Ze(e){return Array.isArray(e)&&"object"==typeof e[1]}function ft(e){return Array.isArray(e)&&!0===e[1]}function Np(e){return!!(4&e.flags)}function ir(e){return e.componentOffset>-1}function pd(e){return!(1&~e.flags)}function Hn(e){return!!e.template}function Ra(e){return!!(512&e[2])}class QO{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Nw(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}const un=(()=>{const e=()=>Fw;return e.ngInherit=!0,e})();function Fw(e){return e.type.prototype.ngOnChanges&&(e.setInput=JO),XO}function XO(){const e=Pw(this),n=e?.current;if(n){const t=e.previous;if(t===oi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JO(e,n,t,i,r){const o=this.declaredInputs[i],s=Pw(e)||function eP(e,n){return e[Ow]=n}(e,{previous:oi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new QO(c&&c.currentValue,t,l===oi),Nw(e,n,r,t)}const Ow="__ngSimpleChanges__";function Pw(e){return e[Ow]||null}function ce(e){for(;Array.isArray(e);)e=e[0];return e}function Na(e,n){return ce(n[e])}function Ht(e,n){return ce(n[e.index])}function ts(e,n){return e.data[n]}function hn(e,n){const t=n[e];return Ze(t)?t:t[0]}function Vp(e){return!(128&~e[2])}function In(e,n){return null==n?null:e[n]}function Bw(e){e[17]=0}function Bp(e){1024&e[2]||(e[2]|=1024,Vp(e)&&Fa(e))}function md(e){return!!(9216&e[2]||e[24]?.dirty)}function jp(e){e[10].changeDetectionScheduler?.notify(9),64&e[2]&&(e[2]|=1024),md(e)&&Fa(e)}function Fa(e){e[10].changeDetectionScheduler?.notify(0);let n=Ri(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,Vp(n));)n=Ri(n)}function gd(e,n){if(!(256&~e[2]))throw new b(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function Ri(e){const n=e[3];return ft(n)?n[3]:n}const z={lFrame:Kw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let zp=!1;function Hw(){return z.bindingsEnabled}function Hr(){return null!==z.skipHydrationRootTNode}function w(){return z.lFrame.lView}function $(){return z.lFrame.tView}function vd(e){return z.lFrame.contextLView=e,e[8]}function yd(e){return z.lFrame.contextLView=null,e}function te(){let e=Uw();for(;null!==e&&64===e.type;)e=e.parent;return e}function Uw(){return z.lFrame.currentTNode}function Un(e,n){const t=z.lFrame;t.currentTNode=e,t.isParent=n}function $p(){return z.lFrame.isParent}function Gp(){z.lFrame.isParent=!1}function Gw(){return zp}function bd(e){const n=zp;return zp=e,n}function Mn(){return z.lFrame.bindingIndex++}function Fi(e){const n=z.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function pP(e,n){const t=z.lFrame;t.bindingIndex=t.bindingRootIndex=e,qp(n)}function qp(e){z.lFrame.currentDirectiveIndex=e}function Zp(){return z.lFrame.currentQueryIndex}function wd(e){z.lFrame.currentQueryIndex=e}function gP(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function Zw(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=gP(o),null===r||(o=o[14],10&r.type))););if(null===r)return!1;n=r,e=o}const i=z.lFrame=Yw();return i.currentTNode=n,i.lView=e,!0}function Yp(e){const n=Yw(),t=e[1];z.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Yw(){const e=z.lFrame,n=null===e?null:e.child;return null===n?Kw(e):n}function Kw(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Qw(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xw=Qw;function Kp(){const e=Qw();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function xt(){return z.lFrame.selectedIndex}function Ur(e){z.lFrame.selectedIndex=e}function Ce(){const e=z.lFrame;return ts(e.tView,e.selectedIndex)}let tC=!0;function Pa(){return tC}function ci(e){tC=e}function Cd(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function Ed(e,n,t){nC(e,n,3,t)}function Dd(e,n,t,i){(3&e[2])===t&&nC(e,n,t,i)}function Qp(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function nC(e,n,t,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[17]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(CP(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function iC(e,n){const t=X(null);try{n.call(e)}finally{X(t)}}function CP(e,n,t,i){const r=t[i]<0,o=t[i+1],a=e[r?-t[i]:t[i]];r?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,iC(a,o)):iC(a,o)}class La{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=i}}function em(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,o)}else{const o=r,s=t[++i];oC(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}return i}function rC(e){return 3===e||4===e||6===e}function oC(e){return 64===e.charCodeAt(0)}function Va(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||sC(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function sC(e,n,t,i,r){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const tm={};class zr{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=nd(i);const r=this.injector.get(n,tm,i);return r!==tm||t===tm?r:this.parentInjector.get(n,t,i)}}function nm(e){return-1!==e}function Ba(e){return 32767&e}function ja(e,n){let t=function IP(e){return e>>16}(e),i=n;for(;t>0;)i=i[14],t--;return i}let im=!0;function xd(e){const n=im;return im=e,n}let TP=0;const di={};function Sd(e,n){const t=cC(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,rm(i.data,e),rm(n,null),rm(i.blueprint,null));const r=Id(e,n),o=e.injectorIndex;if(nm(r)){const s=Ba(r),a=ja(r,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function rm(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cC(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Id(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=gC(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function om(e,n,t){!function AP(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Sa)&&(i=t[Sa]),null==i&&(i=t[Sa]=TP++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function dC(e,n,t){if(t&ie.Optional||void 0!==e)return e;_p()}function uC(e,n,t,i){if(t&ie.Optional&&void 0===i&&(i=null),!(t&(ie.Self|ie.Host))){const r=e[9],o=Xt(void 0);try{return r?r.get(n,i,t&ie.Optional):mw(n,i,t&ie.Optional)}finally{Xt(o)}}return dC(i,0,t)}function hC(e,n,t,i=ie.Default,r){if(null!==e){if(2048&n[2]&&!(i&ie.Self)){const s=function OP(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[2]&&!(512&s[2]);){const a=fC(o,s,t,i|ie.Self,di);if(a!==di)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(t,di,i);if(d!==di)return d}l=gC(s),s=s[14]}o=l}return r}(e,n,t,i,di);if(s!==di)return s}const o=fC(e,n,t,i,di);if(o!==di)return o}return uC(n,t,i,r)}function fC(e,n,t,i,r){const o=function NP(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Sa)?e[Sa]:void 0;return"number"==typeof n?n>=0?255&n:FP:n}(t);if("function"==typeof o){if(!Zw(n,e,i))return i&ie.Host?dC(r,0,i):uC(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;_p()}finally{Xw()}}else if("number"==typeof o){let s=null,a=cC(e,n),l=-1,c=i&ie.Host?n[15][5]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Id(e,n):n[a+8],-1!==l&&mC(i,!1)?(s=n[1],a=Ba(l),n=ja(l,n)):a=-1);-1!==a;){const d=n[1];if(pC(o,a,d.data)){const u=RP(a,n,t,s,i,c);if(u!==di)return u}l=n[a+8],-1!==l&&mC(i,n[1].data[a+8]===c)&&pC(o,a,n)?(s=d,a=Ba(l),n=ja(l,n)):a=-1}}return r}function RP(e,n,t,i,r,o){const s=n[1],a=s.data[e+8],d=Md(a,s,t,null==i?ir(a)&&im:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==d?$r(n,s,d,a):di}function Md(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,f=r?a+d:e.directiveEnd;for(let h=i?a:a+d;h<f;h++){const p=s[h];if(h<l&&t===p||h>=l&&p.type===t)return h}if(r){const h=s[l];if(h&&Hn(h)&&h.type===t)return l}return null}function $r(e,n,t,i){let r=e[t];const o=n.data;if(function EP(e){return e instanceof La}(r)){const s=r;s.resolving&&function _O(e,n){throw n&&n.join(" > "),new b(-200,e)}(function ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Z(e)}(o[t]));const a=xd(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Xt(s.injectImpl):null;Zw(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function wP(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=Fw(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Xt(c),xd(a),s.resolving=!1,Xw()}}return r}function pC(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function mC(e,n){return!(e&ie.Self||e&ie.Host&&n)}class pt{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return hC(this._tNode,this._lView,n,nd(i),t)}}function FP(){return new pt(te(),w())}function Le(e){return Ti(()=>{const n=e.prototype.constructor,t=n[Ai]||sm(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Ai]||sm(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function sm(e){return Qc(e)?()=>{const n=sm(j(e));return n&&n()}:Or(e)}function gC(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function Ha(e){return function kP(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(rC(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===n)return t[r+1];r+=2}}}return null}(te(),e)}function wC(e,n=null,t=null,i){const r=CC(e,n,t,i);return r.resolveInjectorInitializers(),r}function CC(e,n=null,t=null,i,r=new Set){const o=[t||he,kO(e)];return i=i||("object"==typeof e?void 0:dt(e)),new qo(o,n||ld(),i||null,r)}class Ee{static THROW_IF_NOT_FOUND=Ia;static NULL=new od;static create(n,t){if(Array.isArray(n))return wC({name:""},t,n,"");{const i=n.name??"";return wC({name:i},n.parent,n.providers,i)}}static \u0275prov=S({token:Ee,providedIn:"any",factory:()=>M(ww)});static __NG_ELEMENT_ID__=-1}class zP{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ha(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}new C("").__NG_ELEMENT_ID__=e=>{const n=te();if(null===n)throw new b(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new b(204,!1)};const EC=!1;let rr=(()=>class e{static __NG_ELEMENT_ID__=GP;static __NG_ENV_ID__=t=>t})();class DC extends rr{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return gd(this._lView,n),()=>function Hp(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(this._lView,n)}}function GP(){return new DC(w())}class Oi{}const Ua=new C("",{providedIn:"root",factory:()=>!1}),xC=new C(""),lm=new C("");let zn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new an(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();const fe=class WP extends Q{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Sw()&&(this.destroyRef=g(rr,{optional:!0})??void 0,this.pendingTasks=g(zn,{optional:!0})??void 0)}emit(n){const t=X(null);try{super.next(n)}finally{X(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ge&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function za(...e){}function SC(e){let n,t;function i(){e=za;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function IC(e){return queueMicrotask(()=>e()),()=>{e=za}}const cm="isAngularZone",Ad=cm+"_ID";let ZP=0;class q{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new fe(!1);onMicrotaskEmpty=new fe(!1);onStable=new fe(!1);onError=new fe(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=EC}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function QP(e){const n=()=>{!function KP(e){function n(){SC(()=>{e.callbackScheduled=!1,um(e),e.isCheckStableRunning=!0,dm(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),um(e))}(e)},t=ZP++;e._inner=e._inner.fork({name:"angular",properties:{[cm]:!0,[Ad]:t,[Ad+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function XP(e){return AC(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return MC(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),TC(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return MC(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function JP(e){return AC(e,"__scheduler_tick__")}(l)&&n(),TC(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,um(e),dm(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(cm)}static assertInAngularZone(){if(!q.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(q.isInAngularZone())throw new b(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,YP,za,za);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const YP={};function dm(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function um(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function MC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function TC(e){e._nesting--,dm(e)}class hm{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new fe;onMicrotaskEmpty=new fe;onStable=new fe;onError=new fe;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function AC(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class fn{_console=console;handleError(n){this._console.error("ERROR",n)}}const t1=new C("",{providedIn:"root",factory:()=>{const e=g(q),n=g(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function RC(e,n){return aw(e,n)}const i1=(RC.required=function n1(e){return aw(Kc,e)},RC);function r1(){return os(te(),w())}function os(e,n){return new we(Ht(e,n))}let we=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=r1})();function NC(e){return e instanceof we?e.nativeElement:e}function o1(){return this._results[Symbol.iterator]()}class $a{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Q}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Jt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function AO(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=o1}function qa(e){return!(128&~e.flags)}var kd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(kd||{});const Rd=new Map;let a1=0;function pm(e){Rd.delete(e[19])}const Nd="__ngContext__";function Rt(e,n){Ze(n)?(e[Nd]=n[19],function c1(e){Rd.set(e[19],e)}(n)):e[Nd]=n}function UC(e){return $C(e[12])}function zC(e){return $C(e[4])}function $C(e){for(;null!==e&&!ft(e);)e=e[4];return e}let _m;const or=new C("",{providedIn:"root",factory:()=>I1}),I1="ng",vm=new C(""),hi=new C("",{providedIn:"platform",factory:()=>"unknown"}),Gr=new C(""),ym=new C("",{providedIn:"root",factory:()=>function ui(){if(void 0!==_m)return _m;if(typeof document<"u")return document;throw new b(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),eE=new C("",{providedIn:"root",factory:()=>!1});var Tm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Tm||{});const Ka=new C(""),rE=new Set;function bt(e){rE.has(e)||(rE.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ds=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ds||{});let Am=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();const oE=[ds.EarlyRead,ds.Write,ds.MixedReadWrite,ds.Read];let sE=(()=>{class e{ngZone=g(q);scheduler=g(Oi);errorHandler=g(fn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Ka,{optional:!0})}execute(){this.executing=!0;for(const t of oE)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[t])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[t](i.pipelinedValue),i.snapshot))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(7))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,i){return i?.run(Tm.AFTER_NEXT_RENDER,t)??t()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();class aE{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,o=null){this.impl=n,this.hooks=t,this.once=i,this.snapshot=o,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function fi(e,n){!n?.injector&&Zo();const t=n?.injector??g(Ee);return bt("NgAfterNextRender"),cE(e,t,n,!0)}function cE(e,n,t,i){const r=n.get(Am);r.impl??=n.get(sE);const o=n.get(Ka,null,{optional:!0}),s=t?.phase??ds.MixedReadWrite,a=!0!==t?.manualCleanup?n.get(rr):null,l=new aE(r.impl,function R1(e,n){if(e instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[n]=e,t}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,s),i,a,o?.snapshot(null));return r.impl.register(l),l}var $n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}($n||{});let Zd,Yd;function gs(e){return function zm(){if(void 0===Zd&&(Zd=null,Pe.trustedTypes))try{Zd=Pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zd}()?.createHTML(e)||e}function NE(e){return function $m(){if(void 0===Yd&&(Yd=null,Pe.trustedTypes))try{Yd=Pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yd}()?.createScriptURL(e)||e}class Yr{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ow})`}}class mL extends Yr{getTypeName(){return"HTML"}}class gL extends Yr{getTypeName(){return"Style"}}class _L extends Yr{getTypeName(){return"Script"}}class vL extends Yr{getTypeName(){return"URL"}}class yL extends Yr{getTypeName(){return"ResourceURL"}}function mn(e){return e instanceof Yr?e.changingThisBreaksApplicationSecurity:e}function pi(e,n){const t=function bL(e){return e instanceof Yr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ow})`)}return t===n}class SL{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(gs(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class IL{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=gs(n),t}}const TL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Kd(e){return(e=String(e)).match(TL)?e:"unsafe:"+e}function Pi(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function ol(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const OE=Pi("area,br,col,hr,img,wbr"),PE=Pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),LE=Pi("rp,rt"),Gm=ol(OE,ol(PE,Pi("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")),ol(LE,Pi("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")),ol(LE,PE)),qm=Pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VE=ol(qm,Pi("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"),Pi("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")),AL=Pi("script,style,template");class kL{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=FL(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=NL(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=BE(n).toLowerCase();if(!Gm.hasOwnProperty(t))return this.sanitizedSomething=!0,!AL.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!VE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;qm[a]&&(l=Kd(l)),this.buf.push(" ",s,'="',HE(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=BE(n).toLowerCase();Gm.hasOwnProperty(t)&&!OE.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(HE(n))}}function NL(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw jE(n);return n}function FL(e){const n=e.firstChild;if(n&&function RL(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw jE(n);return n}function BE(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function jE(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const OL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,PL=/([^\#-~ |!])/g;function HE(e){return e.replace(/&/g,"&").replace(OL,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(PL,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Qd;function UE(e,n){let t=null;try{Qd=Qd||function FE(e){const n=new IL(e);return function ML(){try{return!!(new window.DOMParser).parseFromString(gs(""),"text/html")}catch{return!1}}()?new SL(n):n}(e);let i=n?String(n):"";t=Qd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Qd.getInertBodyElement(i)}while(i!==o);return gs((new kL).sanitizeChildren(Wm(t)||t))}finally{if(t){const i=Wm(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function Wm(e){return"content"in e&&function LL(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(wt||{});function _s(e){const n=sl();return n?n.sanitize(wt.URL,e)||"":pi(e,"URL")?mn(e):Kd(Z(e))}function zE(e){const n=sl();if(n)return NE(n.sanitize(wt.RESOURCE_URL,e)||"");if(pi(e,"ResourceURL"))return NE(mn(e));throw new b(904,!1)}function sl(){const e=w();return e&&e[10].sanitizer}const $L=/^>|^->|<!--|-->|--!>|<!-$/g,GL=/(<|>)/g;function gn(e){return e instanceof Function?e():e}var ar=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ar||{}),lr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(lr||{});function Qm(e,n){return undefined(e,n)}function ys(e,n,t,i,r){if(null!=i){let o,s=!1;ft(i)?o=i:Ze(i)&&(s=!0,i=i[0]);const a=ce(i);0===e&&null!==t?null==r?rD(n,t,a):Kr(n,t,a,r||null,!0):1===e&&null!==t?Kr(n,t,a,r||null,!0):2===e?function cl(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function uV(e,n,t,i,r){const o=t[7];o!==ce(t)&&ys(n,e,i,o,r);for(let a=10;a<t.length;a++){const l=t[a];nu(l[1],l,e,n,i,o)}}(n,e,o,t,r)}}function Jm(e,n){return e.createComment(function GE(e){return e.replace($L,n=>n.replace(GL,"\u200b$1\u200b"))}(n))}function eu(e,n,t){return e.createElement(n,t)}function tD(e,n){n[10].changeDetectionScheduler?.notify(10),nu(e,n,n[U],2,null,null)}function nD(e,n){const t=e[9],i=n[3];(Ze(i)||n[15]!==i[3][15])&&(e[2]|=fd.HasTransplantedViews),null===t?e[9]=[n]:t.push(n)}function eg(e,n){const t=e[9],i=t.indexOf(n);t.splice(i,1)}function al(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[16];null!==r&&r!==e&&eg(r,i),n>0&&(e[t-1][4]=i[4]);const o=id(e,10+n);!function eD(e,n){tD(e,n),n[0]=null,n[5]=null}(i[1],i);const s=o[18];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ll(e,n){if(!(256&n[2])){const t=n[U];t.destroyNode&&nu(e,n,t,3,null,null),function oV(e){let n=e[12];if(!n)return tg(e[1],e);for(;n;){let t=null;if(Ze(n))t=n[12];else{const i=n[10];i&&(t=i)}if(!t){for(;n&&!n[4]&&n!==e;)Ze(n)&&tg(n[1],n),n=n[3];null===n&&(n=e),Ze(n)&&tg(n[1],n),t=n&&n[4]}n=t}}(n)}}function tg(e,n){if(256&n[2])return;const t=X(null);try{n[2]&=-129,n[2]|=256,n[24]&&Ca(n[24]),function lV(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof La)){const o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(e,n),function aV(e,n){const t=e.cleanup,i=n[7];if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const a=t[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else t[s].call(i[t[s+1]]);null!==i&&(n[7]=null);const r=n[21];if(null!==r){n[21]=null;for(let s=0;s<r.length;s++)(0,r[s])()}const o=n[23];if(null!==o){n[23]=null;for(const s of o)s.destroy()}}(e,n),1===n[1].type&&n[U].destroy();const i=n[16];if(null!==i&&ft(n[3])){i!==n[3]&&eg(i,n);const r=n[18];null!==r&&r.detachView(e)}pm(n)}finally{X(t)}}function ng(e,n,t){return function iD(e,n,t){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return t[0];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===$n.None||o===$n.Emulated)return null}return Ht(i,t)}}(e,n.parent,t)}function Kr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function rD(e,n,t){e.appendChild(n,t)}function oD(e,n,t,i,r){null!==i?Kr(e,n,t,i,r):rD(e,n,t)}function ig(e,n){return e.parentNode(n)}function sD(e,n,t){return lD(e,n,t)}let lD=function aD(e,n,t){return 40&e.type?Ht(e,t):null};function tu(e,n,t,i){const r=ng(e,i,n),o=n[U],a=sD(i.parent||n[5],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)oD(o,r,t[l],a,!1);else oD(o,r,t,a,!1)}function Qr(e,n){if(null!==n){const t=n.type;if(3&t)return Ht(n,e);if(4&t)return og(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Qr(e,i);{const r=e[n.index];return ft(r)?og(-1,r):ce(r)}}if(128&t)return Qr(e,n.next);if(32&t)return Qm(n,e)()||ce(e[n.index]);{const i=dD(e,n);return null!==i?Array.isArray(i)?i[0]:Qr(Ri(e[15]),i):Qr(e,n.next)}}return null}function dD(e,n){return null!==n?e[15][5].projection[n.projection]:null}function og(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return Qr(i,r)}return n[7]}function sg(e,n,t,i,r,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const a=i[t.index],l=t.type;if(s&&0===n&&(a&&Rt(ce(a),i),t.flags|=2),32&~t.flags)if(8&l)sg(e,n,t.child,i,r,o,!1),ys(n,e,r,a,o);else if(32&l){const c=Qm(t,i);let d;for(;d=c();)ys(n,e,r,d,o);ys(n,e,r,a,o)}else 16&l?hD(e,n,i,t,r,o):ys(n,e,r,a,o);t=s?t.projectionNext:t.next}}function nu(e,n,t,i,r,o){sg(t,i,e.firstChild,n,r,o,!1)}function hD(e,n,t,i,r,o){const s=t[15],l=s[5].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)ys(n,e,r,l[c],o);else{let c=l;const d=s[3];qa(i)&&(c.flags|=128),sg(e,n,c,d,r,o,!0)}}function fD(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function pD(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&em(e,n,i),null!==r&&fD(e,n,r),null!==o&&function fV(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}function pV(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}const mD="ng-template";function mV(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==pV(n[r+1].toLowerCase(),t,0))return!0}else if(ag(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function ag(e){return 4===e.type&&e.value!==mD}function gV(e,n,t){return n===(4!==e.type||t?e.value:mD)}function _V(e,n,t){let i=4;const r=e.attrs,o=null!==r?function bV(e){for(let n=0;n<e.length;n++)if(rC(e[n]))return n;return e.length}(r):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!gV(e,l,t)||""===l&&1===n.length){if(Gn(i))return!1;s=!0}}else if(8&i){if(null===r||!mV(e,r,l,t)){if(Gn(i))return!1;s=!0}}else{const c=n[++a],d=vV(l,r,ag(e),t);if(-1===d){if(Gn(i))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":r[d+1].toLowerCase(),2&i&&c!==u){if(Gn(i))return!1;s=!0}}}}else{if(!s&&!Gn(i)&&!Gn(l))return!1;if(s&&Gn(l))continue;s=!1,i=l|1&i}}return Gn(i)||s}function Gn(e){return!(1&e)}function vV(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const s=n[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function wV(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function gD(e,n,t=!1){for(let i=0;i<n.length;i++)if(_V(e,n[i],t))return!0;return!1}function CV(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function _D(e,n){return e?":not("+n.trim()+")":n}function EV(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Gn(s)&&(n+=_D(o,r),r=""),i=s,o=o||!Gn(i);t++}return""!==r&&(n+=_D(o,r)),n}const Y={};function L(e=1){vD($(),w(),xt()+e,!1)}function vD(e,n,t,i){if(!i)if(3&~n[2]){const o=e.preOrderHooks;null!==o&&Dd(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&Ed(n,o,t)}Ur(t)}function D(e,n=ie.Default){const t=w();return null===t?M(e,n):hC(te(),t,j(e),n)}function bD(e,n,t,i,r,o){const s=X(null);try{let a=null;r&ar.SignalBased&&(a=n[i][vt]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&ar.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,i):Nw(n,a,i,o)}finally{X(s)}}function dl(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[0]=r,u[2]=1228|i,(null!==c||e&&2048&e[2])&&(u[2]|=2048),Bw(u),u[3]=u[14]=e,u[8]=t,u[10]=s||e&&e[10],u[U]=a||e&&e[U],u[9]=l||e&&e[9]||null,u[5]=o,u[19]=function l1(){return a1++}(),u[6]=d,u[20]=c,u[15]=2==n.type?e[15]:u,u}function Xr(e,n,t,i,r){let o=e.data[n];if(null===o)o=function lg(e,n,t,i,r){const o=Uw(),s=$p(),l=e.data[n]=function NV(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Hr()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,i,r),function fP(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function Oa(){const e=z.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Un(o,!0),o}function ul(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function wD(e,n,t,i,r){const o=xt(),s=2&i;try{Ur(-1),s&&n.length>T&&vD(e,n,T,!1),t(i,r)}finally{Ur(o)}}function cg(e,n,t){if(Np(n)){const i=X(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{X(i)}}}function dg(e,n,t){Hw()&&(function jV(e,n,t,i){const r=t.directiveStart,o=t.directiveEnd;ir(t)&&function WV(e,n,t){const i=Ht(n,e),r=hg(t),o=e[10].rendererFactory,s=iu(e,dl(e,r,null,gg(t),i,n,null,o.createRenderer(i,t),null,null,null));e[n.index]=s}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Sd(t,n),Rt(i,n);const s=t.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],c=$r(n,e,a,t);Rt(c,n),null!==s&&ZV(0,a-r,c,l,0,s),Hn(l)&&(hn(t.index,n)[8]=$r(n,e,a,t))}}(e,n,t,Ht(t,n)),!(64&~t.flags)&&SD(e,n,t))}function ug(e,n,t=Ht){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?t(n,e):e[s];e[r++]=a}}}function hg(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=fg(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function fg(e,n,t,i,r,o,s,a,l,c,d){const u=T+i,f=u+r,h=function IV(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:Y);return t}(u,f),p="function"==typeof c?c():c;return h[1]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,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 s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:d}}let CD=()=>null;function ED(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=ar.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?DD(i,t,c,a,l):DD(i,t,c,a)}return i}function DD(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function tn(e,n,t,i,r,o,s,a){const l=Ht(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(yg(e,t,d,i,r),ir(n)&&function PV(e,n){const t=hn(n,e);16&t[2]||(t[2]|=64)}(t,n.index)):3&n.type&&(i=function OV(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function pg(e,n,t,i){if(Hw()){const r=null===i?null:{"":-1},o=function UV(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(gD(n,s.selectors,!1))if(i||(i=[]),Hn(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),mg(e,n,a.length)}else i.unshift(s),mg(e,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,t);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&xD(e,n,t,s,r,a),r&&function zV(e,n,t){if(n){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const o=t[n[r+1]];if(null==o)throw new b(-301,!1);i.push(n[r],o)}}}(t,i,r)}t.mergedAttrs=Va(t.mergedAttrs,t.attrs)}function xD(e,n,t,i,r,o){for(let c=0;c<i.length;c++)om(Sd(t,n),e,i[c].type);!function GV(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=ul(e,n,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];t.mergedAttrs=Va(t.mergedAttrs,d.hostAttrs),qV(e,t,n,l,d),$V(l,d,r),null!==d.contentQueries&&(t.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function FV(e,n,t){const r=n.directiveEnd,o=e.data,s=n.attrs,a=[];let l=null,c=null;for(let d=n.directiveStart;d<r;d++){const u=o[d],f=t?t.get(u):null,p=f?f.outputs:null;l=ED(0,u.inputs,d,l,f?f.inputs:null),c=ED(1,u.outputs,d,c,p);const m=null===l||null===s||ag(n)?null:YV(l,d,s);a.push(m)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,o)}function SD(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function mP(){return z.lFrame.currentDirectiveIndex}();try{Ur(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];qp(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&HV(l,c)}}finally{Ur(-1),qp(s)}}function HV(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function mg(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function $V(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;Hn(n)&&(t[""]=e)}}function qV(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=Or(r.type)),s=new La(o,Hn(r),D);e.blueprint[i]=s,t[i]=s,function VV(e,n,t,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function BV(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ul(e,t,r.hostVars,Y),r)}function gg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function mi(e,n,t,i,r,o){const s=Ht(e,n);!function _g(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Z(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[U],s,o,e.value,t,i,r)}function ZV(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;)bD(i,t,s[a++],s[a++],s[a++],s[a++])}function YV(e,n,t){let i=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function ID(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function MD(e,n){const t=e.contentQueries;if(null!==t){const i=X(null);try{for(let r=0;r<t.length;r+=2){const s=t[r+1];if(-1!==s){const a=e.data[s];wd(t[r]),a.contentQueries(2,n[s],s)}}}finally{X(i)}}}function iu(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function vg(e,n,t){wd(0);const i=X(null);try{n(e,t)}finally{X(i)}}function TD(e){return e[7]??=[]}function AD(e){return e.cleanup??=[]}function ru(e,n){const t=e[9],i=t?t.get(fn,null):null;i&&i.handleError(n)}function yg(e,n,t,i,r){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=t[o++];bD(e.data[s],n[s],i,a,l,r)}}function KV(e,n){const t=hn(n,e),i=t[1];!function QV(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[0];null!==r&&null===t[6]&&(t[6]=null),ou(i,t,t[8])}function ou(e,n,t){Yp(n);try{const i=e.viewQuery;null!==i&&vg(1,i,t);const r=e.template;null!==r&&wD(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[18]?.finishViewCreation(e),e.staticContentQueries&&MD(e,n),e.staticViewQueries&&vg(2,e.viewQuery,t);const o=e.components;null!==o&&function XV(e,n){for(let t=0;t<n.length;t++)KV(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[2]&=-5,Kp()}}function bs(e,n,t,i){const r=X(null);try{const o=n.tView,l=dl(e,o,t,4096&e[2]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[16]=e[n.index];const d=e[18];return null!==d&&(l[18]=d.createEmbeddedView(o)),ou(o,l,t),l}finally{X(r)}}function Jr(e,n){return!n||null===n.firstChild||qa(e)}function ws(e,n,t,i=!0){const r=n[1];if(function sV(e,n,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=n),i<o-10?(n[4]=t[r],vw(t,10+i,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[16];null!==s&&t!==s&&nD(s,n);const a=n[18];null!==a&&a.insertView(e),jp(n),n[2]|=128}(r,n,e,t),i){const s=og(t,e),a=n[U],l=ig(a,e[7]);null!==l&&function rV(e,n,t,i,r,o){i[0]=r,i[5]=n,nu(e,i,t,1,r,o)}(r,e[5],a,n,l,s)}const o=n[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function hl(e,n,t,i,r=!1){for(;null!==t;){if(128===t.type){t=r?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&i.push(ce(o)),ft(o)&&wg(o,i);const s=t.type;if(8&s)hl(e,n,t.child,i);else if(32&s){const a=Qm(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=dD(n,t);if(Array.isArray(a))i.push(...a);else{const l=Ri(n[15]);hl(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function wg(e,n){for(let t=10;t<e.length;t++){const i=e[t],r=i[1].firstChild;null!==r&&hl(i[1],i,r,n)}e[7]!==e[0]&&n.push(e[7])}let ND=[];const nB={...Po,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Fa(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},rB={...Po,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Ri(e.lView);for(;n&&!FD(n[1]);)n=Ri(n);n&&Bp(n)},consumerOnSignalRead(){this.lView[24]=this}};function FD(e){return 2!==e.type}function OD(e){if(null===e[23])return;let n=!0;for(;n;){let t=!1;for(const i of e[23])i.dirty&&(t=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(8192&e[2])}}function su(e,n=!0,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function sB(e,n){const t=Gw();try{bd(!0),Cg(e,n);let i=0;for(;md(e);){if(100===i)throw new b(103,!1);i++,Cg(e,1)}}finally{bd(t)}}(e,t)}catch(s){throw n&&ru(e,s),s}finally{r.end?.()}}function LD(e,n,t,i){const r=n[2];if(!(256&~r))return;Yp(n);let a=!0,l=null,c=null;FD(e)?(c=function JV(e){return e[24]??function eB(e){const n=ND.pop()??Object.create(nB);return n.lView=e,n}(e)}(n),l=Lo(c)):null===function Wf(){return Je}()?(a=!1,c=function iB(e){const n=e[24]??Object.create(rB);return n.lView=e,n}(n),l=Lo(c)):n[24]&&(Ca(n[24]),n[24]=null);try{Bw(n),function qw(e){return z.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&wD(e,n,t,2,i);const d=!(3&~r);if(d){const h=e.preOrderCheckHooks;null!==h&&Ed(n,h,null)}else{const h=e.preOrderHooks;null!==h&&Dd(n,h,0,null),Qp(n,0)}if(function aB(e){for(let n=UC(e);null!==n;n=zC(n)){if(!(n[2]&fd.HasTransplantedViews))continue;const t=n[9];for(let i=0;i<t.length;i++)Bp(t[i])}}(n),OD(n),VD(n,0),null!==e.contentQueries&&MD(e,n),d){const h=e.contentCheckHooks;null!==h&&Ed(n,h)}else{const h=e.contentHooks;null!==h&&Dd(n,h,1),Qp(n,1)}!function SV(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)Ur(~r);else{const o=r,s=t[++i],a=t[++i];pP(s,o),a(2,n[o])}}}finally{Ur(-1)}}(e,n);const u=e.components;null!==u&&jD(n,u,0);const f=e.viewQuery;if(null!==f&&vg(2,f,i),d){const h=e.viewCheckHooks;null!==h&&Ed(n,h)}else{const h=e.viewHooks;null!==h&&Dd(n,h,2),Qp(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const h of n[22])h();n[22]=null}n[2]&=-73}catch(d){throw Fa(n),d}finally{null!==c&&(ba(c,l),a&&function tB(e){e.lView[24]!==e&&(e.lView=null,ND.push(e))}(c)),Kp()}}function VD(e,n){for(let t=UC(e);null!==t;t=zC(t))for(let i=10;i<t.length;i++)BD(t[i],n)}function lB(e,n,t){BD(hn(n,e),t)}function BD(e,n){Vp(e)&&Cg(e,n)}function Cg(e,n){const i=e[1],r=e[2],o=e[24];let s=!!(0===n&&16&r);if(s||=!!(64&r&&0===n),s||=!!(1024&r),s||=!(!o?.dirty||!wa(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)LD(i,e,i.template,e[8]);else if(8192&r){OD(e),VD(e,1);const a=i.components;null!==a&&jD(e,a,1)}}function jD(e,n,t){for(let i=0;i<n.length;i++)lB(e,n[i],t)}function fl(e,n){const t=Gw()?64:1088;for(e[10].changeDetectionScheduler?.notify(n);e;){e[2]|=t;const i=Ri(e);if(Ra(e)&&!i)return e;e=i}return null}class pl{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const n=this._lView,t=n[1];return hl(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get context(){return this._lView[8]}get dirty(){return!!(9280&this._lView[2])||!!this._lView[24]?.dirty}set context(n){this._lView[8]=n}get destroyed(){return!(256&~this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(ft(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(al(n,i),id(t,i))}this._attachedToViewContainer=!1}ll(this._lView[1],this._lView)}onDestroy(n){gd(this._lView,n)}markForCheck(){fl(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Bp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){jp(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,su(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Ra(this._lView),t=this._lView[16];null!==t&&!n&&eg(t,this._lView),tD(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;const t=Ra(this._lView),i=this._lView[16];null!==i&&!t&&nD(i,this._lView),jp(this._lView)}}let Vi=(()=>class e{static __NG_ELEMENT_ID__=uB})();const cB=Vi,dB=class extends cB{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=bs(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new pl(r)}};function uB(){return au(te(),w())}function au(e,n){return 4&e.type?new dB(n,e,os(e,n)):null}class o2{}class lx{}class s2{resolveComponentFactory(n){throw Error(`No component factory found for ${dt(n)}.`)}}class fu{static NULL=new s2}class pu{}let Bi=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function a2(){const e=w(),t=hn(te().index,e);return(Ze(t)?t:e)[U]}()})(),l2=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();function gu(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=lp(r,a):2==o&&(i=lp(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}class ux extends fu{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ee(n);return new Dl(t,this.ngModule)}}function hx(e,n){const t=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const r=e[i];if(void 0===r)continue;const o=Array.isArray(r),s=o?r[0]:r;t.push(n?{propName:s,templateName:i,isSignal:!!((o?r[1]:ar.None)&ar.SignalBased)}:{propName:s,templateName:i})}return t}class Dl extends lx{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){const n=this.componentDef,t=n.inputTransforms,i=hx(n.inputs,!0);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return hx(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function DV(e){return e.map(EV).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){const o=X(null);try{let s=(r=r||this.ngModule)instanceof Dt?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new zr(n,s):n,l=a.get(pu,null);if(null===l)throw new b(407,!1);const u={rendererFactory:l,sanitizer:a.get(l2,null),changeDetectionScheduler:a.get(Oi,null)},f=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function MV(e,n,t,i){const o=i.get(eE,!1)||t===$n.ShadowDom,s=e.selectRootElement(n,o);return function TV(e){CD(e)}(s),s}(f,i,this.componentDef.encapsulation,a):eu(f,h,function u2(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(h));let m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let _=null;null!==p&&(_=null);const y=fg(0,null,null,1,0,null,null,null,null,null,null),v=dl(null,y,null,m,null,null,u,f,a,null,_);Yp(v);let E,I,P=null;try{const W=this.componentDef;let J,ye=null;W.findHostDirectiveDefs?(J=[],ye=new Map,W.findHostDirectiveDefs(W,J,ye),J.push(W)):J=[W];const Ii=function f2(e,n){const t=e[1];return e[25]=n,Xr(t,25,2,"#host",null)}(v,p);P=function p2(e,n,t,i,r,o,s){const a=r[1];!function m2(e,n,t,i){for(const r of e)n.mergedAttrs=Va(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(gu(n,n.mergedAttrs,!0),null!==t&&pD(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=null);const c=o.rendererFactory.createRenderer(n,t),d=dl(r,hg(t),null,gg(t),r[e.index],e,o,c,null,null,l);return a.firstCreatePass&&mg(a,e,i.length-1),iu(r,d),r[e.index]=d}(Ii,p,W,J,v,u,f),I=ts(y,T),p&&function _2(e,n,t,i){if(i)em(e,t,["ng-version","19.0.3"]);else{const{attrs:r,classes:o}=function xV(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&n.push(o,e[++i]):8===r&&t.push(o);else{if(!Gn(r))break;r=o}i++}return{attrs:n,classes:t}}(n.selectors[0]);r&&em(e,t,r),o&&o.length>0&&fD(e,t,o.join(" "))}}(f,W,p,i),void 0!==t&&function v2(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const o=t[r];i.push(null!=o&&o.length?Array.from(o):null)}}(I,this.ngContentSelectors,t),E=function g2(e,n,t,i,r,o){const s=te(),a=r[1],l=Ht(s,r);xD(a,r,s,t,null,i);for(let d=0;d<t.length;d++)Rt($r(r,a,s.directiveStart+d,s),r);SD(a,r,s),l&&Rt(l,r);const c=$r(r,a,s.directiveStart+s.componentOffset,s);if(e[8]=r[8]=c,null!==o)for(const d of o)d(c,n);return cg(a,s,r),c}(P,W,J,ye,v,[y2]),ou(y,v,null)}catch(W){throw null!==P&&pm(P),pm(v),W}finally{Kp()}return new h2(this.componentType,E,os(I,v),v,I)}finally{X(o)}}}class h2 extends o2{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(n,t,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new pl(r,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;yg(o[1],o,r,n,t),this.previousInputValues.set(n,t),fl(hn(this._tNode.index,o),1)}}get injector(){return new pt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function y2(){const e=te();Cd(w()[1],e)}let nn=(()=>class e{static __NG_ELEMENT_ID__=b2})();function b2(){return mx(te(),w())}const w2=nn,fx=class extends w2{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return os(this._hostTNode,this._hostLView)}get injector(){return new pt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Id(this._hostTNode,this._hostLView);if(nm(n)){const t=ja(n,this._hostLView),i=Ba(n);return new pt(t[1].data[i+8],t)}return new pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=px(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Jr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function ka(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new Dl(ee(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(Dt,null);m&&(o=m)}ee(l.componentType??{});const h=l.create(c,r,null,o);return this.insertImpl(h.hostView,a,Jr(this._hostTNode,null)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function rP(e){return ft(e[3])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[3],c=new fx(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ws(s,r,o,i),n.attachToViewContainerRef(),vw(Pg(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=px(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=al(this._lContainer,t);i&&(id(Pg(this._lContainer),t),ll(i[1],i))}detach(n){const t=this._adjustIndex(n,-1),i=al(this._lContainer,t);return i&&null!=id(Pg(this._lContainer),t)?new pl(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function px(e){return e[8]}function Pg(e){return e[8]||(e[8]=[])}function mx(e,n){let t;const i=n[e.index];return ft(i)?t=i:(t=ID(i,n,null,e),n[e.index]=t,iu(n,t)),gx(t,n,e,i),new fx(t,e,n)}let gx=function vx(e,n,t,i){if(e[7])return;let r;r=8&t.type?ce(i):function C2(e,n){const t=e[U],i=t.createComment(""),r=Ht(n,e);return Kr(t,ig(t,r),i,function cV(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[7]=r};class Vg{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new Vg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bg{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const s=t.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new Bg(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==$g(n,t).matches&&this.queries[t].setDirty()}}class yx{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function A2(e){return e.split(",").map(n=>n.trim())}(n):n}}class jg{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new jg(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Hg{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Hg(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,t,S2(t,o)),this.matchTNodeWithReadOption(n,t,Md(t,n,o,!1,!1))}else i===Vi?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Md(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===we||r===nn||r===Vi&&4&t.type)this.addMatch(t.index,-2);else{const o=Md(t,n,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function S2(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function M2(e,n,t,i){return-1===t?function I2(e,n){return 11&e.type?os(e,n):4&e.type?au(e,n):null}(n,e):-2===t?function T2(e,n,t){return t===we?os(n,e):t===Vi?au(n,e):t===nn?mx(n,e):void 0}(e,n,i):$r(e,e[1],t,n)}function bx(e,n,t,i){const r=n[18].queries[i];if(null===r.matches){const o=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:M2(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function Ug(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=bx(e,n,r,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=10;u<d.length;u++){const f=d[u];f[16]===f[3]&&Ug(f[1],f,c,i)}if(null!==d[9]){const u=d[9];for(let f=0;f<u.length;f++){const h=u[f];Ug(h[1],h,c,i)}}}}}return i}function wx(e,n,t){const i=new $a(!(4&~t));return function RV(e,n,t,i){const r=TD(n);r.push(t),e.firstCreatePass&&AD(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[18]??=new Bg).queries.push(new Vg(i))-1}function Dx(e,n,t){null===e.queries&&(e.queries=new jg),e.queries.track(new Hg(n,t))}function $g(e,n){return e.queries.getByIndex(n)}function xx(e,n){const t=e[1],i=$g(t,n);return i.crossesNgTemplate?Ug(t,e,n,[]):bx(t,e,i,n)}function _u(e){return"function"==typeof e&&void 0!==e[vt]}function qn(e,n){bt("NgSignals");const t=function zF(e){const n=Object.create(Qf);n.value=e;const t=()=>(ya(n),n.value);return t[vt]=n,t}(e),i=t[vt];return n?.equal&&(i.equal=n.equal),t.set=r=>Kf(i,r),t.update=r=>function $F(e,n){zb()||Kb(),Kf(e,n(e.value))}(i,r),t.asReadonly=Gg.bind(t),t}function Gg(){const e=this[vt];if(void 0===e.readonlyFn){const n=()=>this();n[vt]=e,e.readonlyFn=n}return e.readonlyFn}class ur{}class Lx{}class Wg extends ur{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ux(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;const o=At(n);this._bootstrapComponents=gn(o.bootstrap),this._r3Injector=CC(n,t,[{provide:ur,useValue:this},{provide:fu,useValue:this.componentFactoryResolver},...i],dt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Zg extends Lx{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Wg(this.moduleType,n,[])}}class Vx extends ur{injector;componentFactoryResolver=new ux(this);instance=null;constructor(n){super();const t=new qo([...n.providers,{provide:ur,useValue:this},{provide:fu,useValue:this.componentFactoryResolver}],n.parent||ld(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function yu(e,n,t=null){return new Vx({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let z2=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=Dp(0,t.type),r=i.length>0?yu([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(M(Dt))})}return e})();function it(e){return Ti(()=>{const n=jx(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===kd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(z2).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$n.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&bt("NgStandalone"),Hx(t);const i=e.dependencies;return t.directiveDefs=bu(i,!1),t.pipeDefs=bu(i,!0),t.id=function W2(e){let n=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function $2(e){return ee(e)||ut(e)}function G2(e){return null!==e}function Ne(e){return Ti(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bx(e,n){if(null==e)return oi;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=ar.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==ar.None?[i,a]:i,n[o]=s):t[o]=i}return t}function O(e){return Ti(()=>{const n=jx(e);return Hx(n),n})}function Nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function jx(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||oi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bx(e.inputs,n),outputs:Bx(e.outputs),debugInfo:null}}function Hx(e){e.features?.forEach(n=>n(e))}function bu(e,n){if(!e)return null;const t=n?Et:$2;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(G2)}function oe(e){let n=function Ux(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Hn(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new b(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=wu(e.inputs),s.inputTransforms=wu(e.inputTransforms),s.declaredInputs=wu(e.declaredInputs),s.outputs=wu(e.outputs);const a=r.hostBindings;a&&X2(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&K2(e,l),c&&Q2(e,c),Z2(e,r),aO(e.outputs,r.outputs),Hn(r)&&r.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===oe&&(t=!1)}}n=Object.getPrototypeOf(n)}!function Y2(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Va(r.hostAttrs,t=Va(t,r.hostAttrs))}}(i)}function Z2(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function wu(e){return e===oi?{}:e===he?[]:e}function K2(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function Q2(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function X2(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function Wn(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}function Cu(e){return!!Kg(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Kg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ke(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Il(e,n,t,i,r,o,s,a,l,c){const d=t+T,u=n.firstCreatePass?function aj(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Xr(n,e,4,s||null,a||null);pg(n,t,d,In(c,l)),Cd(n,d);const u=d.tView=fg(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,n,e,i,r,o,s,a,l):n.data[d];Un(u,!1);const f=Wx(n,e,u,t);Pa()&&tu(n,e,f,u),Rt(f,e);const h=ID(f,e,f,u);return e[d]=h,iu(e,h),pd(u)&&dg(n,e,u),null!=l&&ug(e,u,c),u}function rt(e,n,t,i,r,o,s,a){const l=w(),c=$();return Il(l,c,e,n,t,i,r,In(c.consts,o),s,a),rt}let Wx=function Zx(e,n,t,i){return ci(!0),n[U].createComment("")};let t0=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const l0=new C(""),Mu=new C("");let n_,e_=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(t,i,r){this._ngZone=t,this.registry=i,n_||(function Wj(e){n_=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static \u0275fac=function(i){return new(i||e)(M(q),M(t_),M(Mu))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),t_=(()=>{class e{_applications=new Map;registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return n_?.findTestabilityInTree(this,t,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tl(e){return!!e&&"function"==typeof e.then}function c0(e){return!!e&&"function"==typeof e.subscribe}const Tu=new C("");let d0=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=g(Tu,{optional:!0})??[];injector=g(Ee);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=Sn(this.injector,r);if(Tl(o))t.push(o);else if(c0(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),i_=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new u0})}return e})();class u0{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){const t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}const Al=new C("");function f0(e,n){return Array.isArray(n)?n.reduce(f0,e):{...e,...n}}let rn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(t1);afterRenderManager=g(Am);zonelessEnabled=g(Ua);rootEffectScheduler=g(i_);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Q;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(zn).hasPendingTasks.pipe(K(t=>!t));constructor(){g(Ka,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=g(Dt);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){const r=t instanceof lx;if(!this._injector.get(d0).done)throw!r&&function er(e){const n=ee(e)||ut(e)||Et(e);return null!==n&&n.standalone}(t),new b(405,!1);let s;s=r?t:this._injector.get(fu).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Zj(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ur),c=s.create(Ee.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(l0,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Au(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(null!==this.tracingSnapshot){const i=this.tracingSnapshot;return this.tracingSnapshot=null,i.run(Tm.CHANGE_DETECTION,this._tick),void i.dispose()}if(this._runningTick)throw new b(101,!1);const t=X(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,X(t),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(pu,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;0!==this.dirtyFlags&&t++<10;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)Qj(i,r,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>md(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Au(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Al,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Au(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Au(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Qj(e,n,t,i){(t||md(e))&&su(e,n,t&&!i?0:1)}function ze(e,n,t,i){const r=w();return Ke(r,Mn(),n)&&($(),mi(Ce(),r,e,n,t,i)),ze}function Ms(e,n,t,i){return Ke(e,Mn(),t)?n+Z(t)+i:Y}function ku(e,n){return e<<17|n<<2}function mr(e){return e>>17&32767}function s_(e){return 2|e}function io(e){return(131068&e)>>2}function a_(e,n){return-131069&e|n<<2}function l_(e){return 1|e}function I0(e,n,t,i){const r=e[t+1],o=null===n;let s=i?mr(r):io(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];PH(e[s],n)&&(a=!0,e[s+1]=i?l_(c):s_(c)),s=i?mr(c):io(c)}a&&(e[t+1]=i?s_(r):l_(r))}function PH(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Go(e,n)>=0}const mt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function M0(e){return e.substring(mt.key,mt.keyEnd)}function T0(e,n){const t=mt.textEnd;return t===n?-1:(n=mt.keyEnd=function jH(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,mt.key=n,t),Ps(e,n,t))}function Ps(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function re(e,n,t){const i=w();return Ke(i,Mn(),n)&&tn($(),Ce(),i,e,n,i[U],t,!1),re}function c_(e,n,t,i,r){const s=r?"class":"style";yg(e,t,n.inputs[s],s,i)}function zt(e,n,t){return Zn(e,n,t,!1),zt}function It(e,n){return Zn(e,n,null,!0),It}function Rl(e){!function Yn(e,n,t,i){const r=$(),o=Fi(2);r.firstUpdatePass&&O0(r,null,o,i);const s=w();if(t!==Y&&Ke(s,o,t)){const a=r.data[xt()];if(B0(a,i)&&!F0(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=lp(l,t||"")),c_(r,a,s,t,i)}else!function KH(e,n,t,i,r,o,s,a){r===Y&&(r=he);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const f=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,f!==h&&(p=u,m=h)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=h),null!==p&&L0(e,n,t,i,p,m,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}(r,a,s,s[U],s[o+1],s[o+1]=function ZH(e,n,t){if(null==t||""===t)return he;const i=[],r=mn(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,o)}}(YH,vi,e,!0)}function vi(e,n){for(let t=function VH(e){return function k0(e){mt.key=0,mt.keyEnd=0,mt.value=0,mt.valueEnd=0,mt.textEnd=e.length}(e),T0(e,Ps(e,0,mt.textEnd))}(n);t>=0;t=T0(n,t))cn(e,M0(n),!0)}function Zn(e,n,t,i){const r=w(),o=$(),s=Fi(2);o.firstUpdatePass&&O0(o,e,s,i),n!==Y&&Ke(r,s,n)&&L0(o,o.data[xt()],r,r[U],e,r[s+1]=function QH(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=dt(mn(e)))),e}(n,t),i,s)}function F0(e,n){return n>=e.expandoStartIndex}function O0(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[xt()],s=F0(e,t);B0(o,i)&&null===n&&!s&&(n=!1),n=function $H(e,n,t,i){const r=function Wp(e){const n=z.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Nl(t=d_(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=d_(r,e,n,t,i),null===o){let l=function GH(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==io(i))return e[mr(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=d_(null,e,n,l[1],i),l=Nl(l,n.attrs,i),function qH(e,n,t,i){e[mr(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function WH(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Nl(i,e[o].hostAttrs,t);return Nl(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function FH(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=mr(s),l=io(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||Go(t,d)>0)&&(c=!0)):d=t,r)if(0!==l){const f=mr(e[a+1]);e[i+1]=ku(f,a),0!==f&&(e[f+1]=a_(e[f+1],i)),e[a+1]=function RH(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=ku(a,0),0!==a&&(e[a+1]=a_(e[a+1],i)),a=i;else e[i+1]=ku(l,0),0===a?a=i:e[l+1]=a_(e[l+1],i),l=i;c&&(e[i+1]=s_(e[i+1])),I0(e,d,i,!0),I0(e,d,i,!1),function OH(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Go(o,n)>=0&&(t[i+1]=l_(t[i+1]))}(n,d,e,i,o),s=ku(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function d_(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],i=Nl(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function Nl(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),cn(e,s,!!t||n[++o]))}return void 0===e?null:e}function YH(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&cn(e,i,t)}function L0(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function NH(e){return!(1&~e)}(c)?V0(l,n,t,r,io(c),s):void 0;Ru(d)||(Ru(o)||function kH(e){return!(2&~e)}(c)&&(o=V0(l,null,t,r,a,s)),function hV(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:lr.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=lr.Important),e.setStyle(t,i,r,o))}}(i,s,Na(xt(),t),r,o))}function V0(e,n,t,i,r,o){const s=null===n;let a;for(;r>0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[r+1];f===Y&&(f=u?he:void 0);let h=u?Cp(f,i):d===i?f:void 0;if(c&&!Ru(h)&&(h=Cp(l,i)),Ru(h)&&(a=h,s))return a;const p=e[r+1];r=s?mr(p):io(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Cp(l,i))}return a}function Ru(e){return void 0!==e}function B0(e,n){return!!(e.flags&(n?8:16))}function yi(e,n){bt("NgControlFlow");const t=w(),i=Mn(),r=t[i]!==Y?t[i]:-1,o=-1!==r?Nu(t,T+r):void 0;if(Ke(t,i,e)){const a=X(null);try{if(void 0!==o&&function bg(e,n){const t=al(e,n);return void 0!==t&&ll(t[1],t),t}(o,0),-1!==e){const l=T+e,c=Nu(t,l),d=function f_(e,n){return ts(e,n)}(t[1],l),u=null;ws(c,bs(t,d,n,{dehydratedView:u}),0,Jr(d,u))}}finally{X(a)}}else if(void 0!==o){const a=function RD(e,n){const t=10+n;if(t<e.length)return e[t]}(o,0);void 0!==a&&(a[8]=n)}}function Nu(e,n){return e[n]}function A(e,n,t,i){const r=w(),o=$(),s=T+e,a=r[U],l=o.firstCreatePass?function yU(e,n,t,i,r,o){const s=n.consts,l=Xr(n,e,2,i,In(s,r));return pg(n,t,l,In(s,o)),null!==l.attrs&&gu(l,l.attrs,!1),null!==l.mergedAttrs&&gu(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,t,i):o.data[s],c=z0(o,r,l,a,n,e);r[s]=c;const d=pd(l);return Un(l,!0),pD(a,c,l),!function xs(e){return!(32&~e.flags)}(l)&&Pa()&&tu(o,r,c,l),0===function oP(){return z.lFrame.elementDepthCount}()&&Rt(c,r),function sP(){z.lFrame.elementDepthCount++}(),d&&(dg(o,r,l),cg(o,l,r)),null!==i&&ug(r,l),A}function N(){let e=te();$p()?Gp():(e=e.parent,Un(e,!1));const n=e;(function lP(e){return z.skipHydrationRootTNode===e})(n)&&function hP(){z.skipHydrationRootTNode=null}(),function aP(){z.lFrame.elementDepthCount--}();const t=$();return t.firstCreatePass&&(Cd(t,e),Np(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function xP(e){return!!(8&e.flags)}(n)&&c_(t,n,w(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function SP(e){return!!(16&e.flags)}(n)&&c_(t,n,w(),n.stylesWithoutHost,!1),N}function Ft(e,n,t,i){return A(e,n,t,i),N(),Ft}let z0=(e,n,t,i,r,o)=>(ci(!0),eu(i,r,function eC(){return z.lFrame.currentNamespace}()));function Ls(e,n,t){const i=w(),r=$(),o=e+T,s=r.firstCreatePass?function CU(e,n,t,i,r){const o=n.consts,s=In(o,i),a=Xr(n,e,8,"ng-container",s);return null!==s&&gu(a,s,!0),pg(n,t,a,In(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Un(s,!0);const a=G0(r,i,s,e);return i[o]=a,Pa()&&tu(r,i,a,s),Rt(a,i),pd(s)&&(dg(r,i,s),cg(r,s,i)),null!=t&&ug(i,s),Ls}function Vs(){let e=te();const n=$();return $p()?Gp():(e=e.parent,Un(e,!1)),n.firstCreatePass&&(Cd(n,e),Np(e)&&n.queries.elementEnd(e)),Vs}let G0=(e,n,t,i)=>(ci(!0),Jm(n[U],""));function Fu(){return w()}function ro(e,n,t){const i=w();return Ke(i,Mn(),n)&&tn($(),Ce(),i,e,n,i[U],t,!0),ro}const Ou="en-US";let Y0=Ou;function je(e,n,t,i){const r=w(),o=$(),s=te();return function g_(e,n,t,i,r,o,s){const a=pd(i),c=e.firstCreatePass&&AD(e),d=n[8],u=TD(n);let f=!0;if(3&i.type||s){const m=Ht(i,n),_=s?s(m):m,y=u.length,v=s?I=>s(ce(I[i.index])):i.index;let E=null;if(!s&&a&&(E=function gz(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===t&&r[o+1]===i){const a=n[7],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,f=!1;else{o=gS(i,n,d,o);const I=t.listen(_,r,o);u.push(o,I),c&&c.push(r,v,y,y+1)}}else o=gS(i,n,d,o);const h=i.outputs;let p;if(f&&null!==h&&(p=h[r])){const m=p.length;if(m)for(let _=0;_<m;_+=2){const P=n[p[_]][p[_+1]].subscribe(o),W=u.length;u.push(o,P),c&&c.push(r,i.index,W,-(W+1))}}}(o,r,r[U],s,e,n,i),je}function mS(e,n,t,i){const r=X(null);try{return!1!==t(i)}catch(o){return ru(e,o),!1}finally{X(r)}}function gS(e,n,t,i){return function r(o){if(o===Function)return i;fl(e.componentOffset>-1?hn(e.index,n):n,5);let a=mS(n,0,i,o),l=r.__ngNextListenerFn__;for(;l;)a=mS(n,0,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function He(e=1){return function _P(e){return(z.lFrame.contextLView=function jw(e,n){for(;e>0;)n=n[14],e--;return n}(e,z.lFrame.contextLView))[8]}(e)}function _z(e,n){let t=null;const i=function yV(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?gD(e,o,!0):CV(i,o))return r}else t=r}return t}function Kn(e){const n=w()[15][5];if(!n.projection){const i=n.projection=function rd(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?_z(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function ot(e,n=0,t,i,r,o){const s=w(),a=$(),l=i?e+1:null;null!==l&&Il(s,a,l,i,r,o,null,t);const c=Xr(a,T+e,16,null,t||null);null===c.projection&&(c.projection=n),Gp();const u=!s[6]||Hr();null===s[15][5].projection[c.projection]&&null!==l?function vz(e,n,t){const i=T+t,r=n.data[i],o=e[i];ws(o,bs(e,r,void 0,{dehydratedView:null}),0,Jr(r,null))}(s,a,l):u&&32&~c.flags&&function dV(e,n,t){hD(n[U],0,n,t,ng(e,t,n),sD(t.parent||n[5],t,n))}(a,s,c)}function __(e,n,t){return v_(e,"",n,"",t),__}function v_(e,n,t,i,r){const o=w(),s=Ms(o,n,t,i);return s!==Y&&tn($(),Ce(),o,e,s,o[U],r,!1),v_}function _n(e,n,t,i){!function Ex(e,n,t,i){const r=$();if(r.firstCreatePass){const o=te();Dx(r,new yx(n,t,i),o.index),function k2(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return wx(r,w(),t)}(e,n,t,i)}function Bu(e,n,t){!function Cx(e,n,t){const i=$();return i.firstCreatePass&&(Dx(i,new yx(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),wx(i,w(),n)}(e,n,t)}function Ot(e){const n=w(),t=$(),i=Zp();wd(i+1);const r=$g(t,i);if(e.dirty&&function iP(e){return!(4&~e[2])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=xx(n,i);e.reset(o,NC),e.notifyOnChanges()}return!0}return!1}function Pt(){return function zg(e,n){return e[18].queries[n].queryList}(w(),Zp())}function se(e,n=""){const t=w(),i=$(),r=e+T,o=i.firstCreatePass?Xr(i,r,1,n,null):i.data[r],s=FS(i,t,o,n,e);t[r]=s,Pa()&&tu(i,t,s,o),Un(o,!1)}let FS=(e,n,t,i,r)=>(ci(!0),function Xm(e,n){return e.createText(n)}(n[U],i));function so(e){return An("",e,""),so}function An(e,n,t){const i=w(),r=Ms(i,e,n,t);return r!==Y&&function Li(e,n,t){const i=Na(n,e);!function JE(e,n,t){e.setValue(n,t)}(e[U],i,t)}(i,xt(),r),An}function b_(e,n,t,i,r){if(e=j(e),Array.isArray(e))for(let o=0;o<e.length;o++)b_(e[o],n,t,i,r);else{const o=$(),s=w(),a=te();let l=Pr(e)?e:j(e.provide);const c=xw(e),d=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Pr(e)||!e.multi){const h=new La(c,r,D),p=C_(l,n,r?d:d+f,u);-1===p?(om(Sd(a,s),o,l),w_(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=C_(l,n,d+f,u),p=C_(l,n,d,d+f),_=p>=0&&t[p];if(r&&!_||!r&&!(h>=0&&t[h])){om(Sd(a,s),o,l);const y=function jz(e,n,t,i,r){const o=new La(e,t,D);return o.multi=[],o.index=n,o.componentProviders=0,WS(o,r,i&&!t),o}(r?Bz:Vz,t.length,r,i,c);!r&&_&&(t[p].providerFactory=y),w_(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(y),s.push(y)}else w_(o,e,h>-1?h:p,WS(t[r?p:h],c,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function w_(e,n,t,i){const r=Pr(n),o=function NO(e){return!!e.useClass}(n);if(r||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function WS(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function C_(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function Vz(e,n,t,i){return E_(this.multi,[])}function Bz(e,n,t,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=$r(t,t[1],this.providerFactory.index,i);o=a.slice(0,s),E_(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],E_(r,o);return o}function E_(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function pe(e,n=[]){return t=>{t.providersResolver=(i,r)=>function Lz(e,n,t){const i=$();if(i.firstCreatePass){const r=Hn(e);b_(t,i.data,i.blueprint,r,!0),b_(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function YS(e,n,t,i,r,o){const s=n+t;return Ke(e,s,r)?function gi(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function Bl(e,n){const t=e[n];return t===Y?void 0:t}(e,s+1)}function Hu(e,n){const t=$();let i;const r=e+T;t.firstCreatePass?(i=function e$(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=Or(i.type)),a=Xt(D);try{const l=xd(!1),c=o();return xd(l),function y_(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{Xt(a)}}function Uu(e,n,t){const i=e+T,r=w(),o=function jr(e,n){return e[n]}(r,i);return function jl(e,n){return e[1].data[n].pure}(r,i)?YS(r,function Ut(){const e=z.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}class R${ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let mI=(()=>{class e{compileModuleSync(t){return new Zg(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=gn(At(t).declarations).reduce((s,a)=>{const l=ee(a);return l&&s.push(new Dl(l)),s},[]);return new R$(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),O$=(()=>{class e{zone=g(q);changeDetectionScheduler=g(Oi);applicationRef=g(rn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function T_({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new q({...A_(),scheduleInRootZone:t}),[{provide:q,useFactory:e},{provide:xn,multi:!0,useFactory:()=>{const i=g(O$,{optional:!0});return()=>i.initialize()}},{provide:xn,multi:!0,useFactory:()=>{const i=g(L$);return()=>{i.initialize()}}},!0===n?{provide:xC,useValue:!0}:[],{provide:lm,useValue:t??EC}]}function A_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let L$=(()=>{class e{subscription=new Ge;initialized=!1;zone=g(q);pendingTasks=g(zn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ul=(()=>{class e{appRef=g(rn);taskService=g(zn);ngZone=g(q);zonelessEnabled=g(Ua);tracing=g(Ka,{optional:!0});disableScheduling=g(xC,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ge;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ad):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(lm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof hm||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let i=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,i=!0;break;case 13:this.appRef.dirtyFlags|=16,i=!0;break;case 12:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const r=this.useMicrotaskScheduler?IC:SC;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ad+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,IC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ji=new C("",{providedIn:"root",factory:()=>g(ji,ie.Optional|ie.SkipSelf)||function V$(){return typeof $localize<"u"&&$localize.locale||Ou}()}),$u=new C("");function Gu(e){return!e.moduleRef}let wI=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[T_({ngZoneFactory:()=>function e1(e="zone.js",n){return"noop"===e?new hm:"zone.js"===e?new q(n):e}(i?.ngZone,{...A_({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:Oi,useExisting:Ul}],l=function U2(e,n,t){return new Wg(e,n,t,!1)}(t.moduleType,this.injector,a);return function bI(e){const n=Gu(e)?e.r3Injector:e.moduleRef.injector,t=n.get(q);return t.run(()=>{Gu(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(fn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Gu(e)){const o=()=>n.destroy(),s=e.platformInjector.get($u);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get($u);s.add(o),e.moduleRef.onDestroy(()=>{Au(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function Kj(e,n,t){try{const i=t();return Tl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(d0);return o.runInitializers(),o.donePromise.then(()=>{if(function kU(e){"string"==typeof e&&(Y0=e.toLowerCase().replace(/_/g,"-"))}(n.get(ji,Ou)||Ou),Gu(e)){const a=n.get(rn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function $$(e,n){const t=e.injector.get(rn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new b(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=f0({},i);return function F$(e,n,t){const i=new Zg(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get($u,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||e)(M(Ee))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),gr=null;const CI=new C("");function EI(e,n,t=[]){const i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let s=R_();if(!s||s.injector.get(CI,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function G$(e){if(gr&&!gr.get(CI,!1))throw new b(400,!1);(function h0(){!function UF(e){Yb=e}(()=>{throw new b(600,!1)})})(),gr=e;const n=e.get(wI);(function xI(e){const n=e.get(vm,null);Sn(e,()=>{n?.forEach(t=>t())})})(e)}(function DI(e=[],n){return Ee.create({name:n,providers:[{provide:Ip,useValue:"platform"},{provide:$u,useValue:new Set([()=>gr=null])},...e]})}(a,i))}return function q$(){const n=R_();if(!n)throw new b(401,!1);return n}()}}function R_(){return gr?.get(wI)??null}let _r=(()=>class e{static __NG_ELEMENT_ID__=Z$})();function Z$(e){return function Y$(e,n,t){if(ir(e)&&!t){const i=hn(e.index,n);return new pl(i,i)}return 175&e.type?new pl(n[15],n):null}(te(),w(),!(16&~e))}class AI{constructor(){}supports(n){return Cu(n)}create(n){return new e3(n)}}const J$=(e,n)=>n;class e3{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||J$}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex<RI(i,r,o)?t:i,a=RI(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,d=l-r;if(c!=d){for(let f=0;f<c;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;d<=p&&p<c&&(o[f]=h+1)}o[s.previousIndex]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!Cu(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),i=!0),t=t._next}else r=0,function oj(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new t3(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new kI),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new kI),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class t3{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}}class n3{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class kI{map=new Map;put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new n3,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function RI(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}class NI{constructor(){}supports(n){return n instanceof Map||Kg(n)}create(){return new i3}}class i3{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||Kg(n)))throw new b(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new r3(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class r3{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}}function FI(){return new L_([new AI])}let L_=(()=>{class e{factories;static \u0275prov=S({token:e,providedIn:"root",factory:FI});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||FI()),deps:[[e,new Ta,new Fr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new b(901,!1)}}return e})();function OI(){return new Zu([new NI])}let Zu=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:OI});factories;constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||OI()),deps:[[e,new Ta,new Fr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new b(901,!1)}}return e})();const a3=EI(null,"core",[]);let l3=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(M(rn))};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();function Te(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function aM(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function Lt(e){const n=X(null);try{return e()}finally{X(n)}}let dM=(()=>class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=W3})();function W3(){return new dM(w(),te())}class J3{[vt];constructor(n){this[vt]=n}destroy(){this[vt].destroy()}}const uM={...Po,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:za,run(){if(this.dirty=!1,this.hasRun&&!wa(this))return;this.hasRun=!0;const e=i=>(this.cleanupFns??=[]).push(i),n=Lo(this),t=bd(!1);try{this.maybeCleanup(),this.fn(e)}finally{bd(t),ba(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},e8={...uM,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ca(this),this.onDestroyFn(),this.maybeCleanup()}},t8={...uM,consumerMarkedDirty(){this.view[2]|=8192,Fa(this.view),this.notifier.notify(14)},destroy(){Ca(this),this.onDestroyFn(),this.maybeCleanup(),this.view[23]?.delete(this)}};function fM(e,n){const t=ee(e),i=n.elementInjector||ld();return new Dl(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let pM=null;function vr(){return pM}class f8{}const ae=new C("");let $_=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(m8),providedIn:"platform"})}return e})();const p8=new C("");let m8=(()=>{class e extends $_{_location;_history;_doc=g(ae);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return vr().getBaseHref(this._doc)}onPopState(t){const i=vr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=vr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function G_(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function mM(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Hi(e){return e&&"?"!==e[0]?"?"+e:e}let co=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(_M),providedIn:"root"})}return e})();const gM=new C("");let _M=(()=>{class e extends co{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return G_(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Hi(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Hi(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Hi(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(M($_),M(gM,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),g8=(()=>{class e extends co{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=G_(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+Hi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+Hi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(M($_),M(gM,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),zs=(()=>{class e{_subject=new Q;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function y8(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(mM(vM(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Hi(i))}normalize(t){return e.stripTrailingSlash(function v8(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,vM(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Hi(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Hi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Hi;static joinWithSlash=G_;static stripTrailingSlash=mM;static \u0275fac=function(i){return new(i||e)(M(co))};static \u0275prov=S({token:e,factory:()=>function _8(){return new zs(M(co))}(),providedIn:"root"})}return e})();function vM(e){return e.replace(/\/index.html$/,"")}function IM(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}const tv=/\s+/,MM=[];let TM=(()=>{class e{_ngEl;_renderer;initialClasses=MM;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=null!=t?t.trim().split(tv):MM}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(tv):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(tv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(D(we),D(Bi))};static \u0275dir=O({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class r4{$implicit;ngForOf;index;count;constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let kM=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new r4(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),RM(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{RM(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(D(nn),D(Vi),D(L_))};static \u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function RM(e,n){e.context.$implicit=n.item}let NM=(()=>{class e{_viewContainer;_context=new o4;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,i){this._viewContainer=t,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){FM("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){FM("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(D(nn),D(Vi))};static \u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class o4{$implicit=null;ngIf=null}function FM(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${dt(n)}'.`)}class l4{createSubscription(n,t){return Lt(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){Lt(()=>n.unsubscribe())}}class c4{createSubscription(n,t){return n.then(t,i=>{throw i})}dispose(n){}}const d4=new c4,u4=new l4;let PM=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(Tl(t))return d4;if(c0(t))return u4;throw function Xn(e,n){return new b(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||e)(D(_r,16))};static \u0275pipe=Nt({name:"async",type:e,pure:!1})}return e})(),LM=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=VM;transform(t,i=VM){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ??=this.differs.find(t).create();const r=this.differ.diff(t),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function D4(e,n){return{key:e,value:n}}(s.key,s.currentValue))})),(r||o)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||e)(D(Zu,16))};static \u0275pipe=Nt({name:"keyvalue",type:e,pure:!1})}return e})();function VM(e,n){const t=e.key,i=n.key;if(t===i)return 0;if(void 0===t)return 1;if(void 0===i)return-1;if(null===t)return 1;if(null===i)return-1;if("string"==typeof t&&"string"==typeof i)return t<i?-1:1;if("number"==typeof t&&"number"==typeof i)return t-i;if("boolean"==typeof t&&"boolean"==typeof i)return t<i?-1:1;const r=String(t),o=String(i);return r==o?0:r<o?-1:1}let BM=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();const jM="browser";function yr(e){return e===jM}function HM(e){return"server"===e}let T4=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>yr(g(hi))?new A4(g(ae),window):new R4})}return e})();class A4{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function k4(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}}class R4{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class UM{}class sG extends f8{supportsDOMEvents=!0}class cv extends sG{static makeCurrent(){!function h8(e){pM??=e}(new cv)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function aG(){return Yl=Yl||document.querySelector("base"),Yl?Yl.getAttribute("href"):null}();return null==t?null:function lG(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Yl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return IM(document.cookie,n)}}let Yl=null,dG=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const dv=new C("");let JM=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new b(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(M(dv),M(q))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class eT{_doc;constructor(n){this._doc=n}manager}const uv="ng-app-id";function tT(e){for(const n of e)n.remove()}function nT(e,n){const t=n.createElement("style");return t.textContent=e,t}function hv(e,n){const t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}let iT=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.isServer=HM(o),function uG(e,n,t){const i=e.head?.querySelectorAll(`style[${uv}="${n}"]`);if(i)for(const r of i)r.textContent&&(r.removeAttribute(uv),t.set(r.textContent,{usage:0,elements:[r]}))}(t,i,this.inline),this.hosts.add(t.head)}addStyles(t,i){for(const r of t)this.addUsage(r,this.inline,nT);i?.forEach(r=>this.addUsage(r,this.external,hv))}removeStyles(t,i){for(const r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){const o=i.get(t);o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(t,this.doc)))})}removeUsage(t,i){const r=i.get(t);r&&(r.usage--,r.usage<=0&&(tT(r.elements),i.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])tT(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[i,{elements:r}]of this.inline)r.push(this.addElement(t,nT(i,this.doc)));for(const[i,{elements:r}]of this.external)r.push(this.addElement(t,hv(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(uv,this.appId),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(M(ae),M(or),M(ym,8),M(hi))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const fv={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/Math/MathML"},pv=/%COMP%/g,mG=new C("",{providedIn:"root",factory:()=>!0});function oT(e,n){return n.map(t=>t.replace(pv,e))}let mv=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=HM(a),this.defaultRenderer=new gv(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===$n.ShadowDom&&(i={...i,encapsulation:$n.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof aT?r.applyToHost(t):r instanceof _v&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case $n.Emulated:o=new aT(l,c,i,this.appId,d,s,a,u);break;case $n.ShadowDom:return new yG(l,c,t,i,s,a,this.nonce,u);default:o=new _v(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(i){return new(i||e)(M(JM),M(iT),M(or),M(mG),M(ae),M(hi),M(q),M(ym))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class gv{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(fv[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(sT(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(sT(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new b(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=fv[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=fv[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(lr.DashCase|lr.Important)?n.style.setProperty(t,i,r&lr.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&lr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=vr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function sT(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class yG extends gv{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=oT(r.id,r.styles);for(const u of c){const f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=u,this.shadowRoot.appendChild(f)}const d=r.getExternalStyles?.();if(d)for(const u of d){const f=hv(u,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class _v extends gv{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?oT(l,i.styles):i.styles,this.styleUrls=i.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class aT extends _v{contentAttr;hostAttr;constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function gG(e){return"_ngcontent-%COMP%".replace(pv,e)}(c),this.hostAttr=function _G(e){return"_nghost-%COMP%".replace(pv,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let bG=(()=>{class e extends eT{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const lT=["alt","control","meta","shift"],wG={"\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"},CG={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let EG=(()=>{class e extends eT{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),lT.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=wG[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),lT.forEach(s=>{s!==r&&(0,CG[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const IG=EI(a3,"browser",[{provide:hi,useValue:jM},{provide:vm,useValue:function DG(){cv.makeCurrent()},multi:!0},{provide:ae,useFactory:function SG(){return function S1(e){_m=e}(document),document},deps:[]}]),MG=new C(""),uT=[{provide:Mu,useClass:class cG{addToWindow(n){Pe.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new b(5103,!1);return o},Pe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Pe.getAllAngularRootElements=()=>n.getAllRootElements(),Pe.frameworkStabilizers||(Pe.frameworkStabilizers=[]),Pe.frameworkStabilizers.push(i=>{const r=Pe.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?vr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:l0,useClass:e_,deps:[q,t_,Mu]},{provide:e_,useClass:e_,deps:[q,t_,Mu]}],hT=[{provide:Ip,useValue:"root"},{provide:fn,useFactory:function xG(){return new fn},deps:[]},{provide:dv,useClass:bG,multi:!0,deps:[ae,q,hi]},{provide:dv,useClass:EG,multi:!0,deps:[ae]},mv,iT,JM,{provide:pu,useExisting:mv},{provide:UM,useClass:dG,deps:[]},[]];let fT=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(M(MG,12))};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[...hT,...uT],imports:[BM,l3]})}return e})(),TG=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Kl=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:function(i){let r=null;return r=i?new(i||e):M(NG),r},providedIn:"root"})}return e})(),NG=(()=>{class e extends Kl{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case wt.NONE:return i;case wt.HTML:return pi(i,"HTML")?mn(i):UE(this._doc,String(i)).toString();case wt.STYLE:return pi(i,"Style")?mn(i):i;case wt.SCRIPT:if(pi(i,"Script"))return mn(i);throw new b(5200,!1);case wt.URL:return pi(i,"URL")?mn(i):Kd(String(i));case wt.RESOURCE_URL:if(pi(i,"ResourceURL"))return mn(i);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(t){return function wL(e){return new mL(e)}(t)}bypassSecurityTrustStyle(t){return function CL(e){return new gL(e)}(t)}bypassSecurityTrustScript(t){return function EL(e){return new _L(e)}(t)}bypassSecurityTrustUrl(t){return function DL(e){return new vL(e)}(t)}bypassSecurityTrustResourceUrl(t){return function xL(e){return new yL(e)}(t)}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wr(e){return this instanceof wr?(this.v=e,this):new wr(e)}function yT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Cv(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Dv=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bT(e){return ue(e?.then)}function wT(e){return ue(e[sp])}function CT(e){return Symbol.asyncIterator&&ue(e?.[Symbol.asyncIterator])}function ET(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const DT=function s5(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function xT(e){return ue(e?.[DT])}function ST(e){return function vT(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(h,p){i[h]&&(r[h]=function(m){return new Promise(function(_,y){o.push([h,m,_,y])>1||l(h,m)})},p&&(r[h]=p(r[h])))}function l(h,p){try{!function c(h){h.value instanceof wr?Promise.resolve(h.value.v).then(d,u):f(o[0][2],h)}(i[h](p))}catch(m){f(o[0][3],m)}}function d(h){l("next",h)}function u(h){l("throw",h)}function f(h,p){h(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield wr(t.read());if(r)return yield wr(void 0);yield yield wr(i)}}finally{t.releaseLock()}})}function IT(e){return ue(e?.getReader)}function Wt(e){if(e instanceof Ve)return e;if(null!=e){if(wT(e))return function a5(e){return new Ve(n=>{const t=e[sp]();if(ue(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Dv(e))return function l5(e){return new Ve(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(bT(e))return function c5(e){return new Ve(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ew)})}(e);if(CT(e))return MT(e);if(xT(e))return function d5(e){return new Ve(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(IT(e))return function u5(e){return MT(ST(e))}(e)}throw ET(e)}function MT(e){return new Ve(n=>{(function h5(e,n){var t,i,r,o;return function gT(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=yT(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function $i(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function TT(e,n=0){return et((t,i)=>{t.subscribe(Ue(i,r=>$i(i,e,()=>i.next(r),n),()=>$i(i,e,()=>i.complete(),n),r=>$i(i,e,()=>i.error(r),n)))})}function AT(e,n=0){return et((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function kT(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ve(t=>{$i(t,n,()=>{const i=e[Symbol.asyncIterator]();$i(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function lt(e,n){return n?function v5(e,n){if(null!=e){if(wT(e))return function f5(e,n){return Wt(e).pipe(AT(n),TT(n))}(e,n);if(Dv(e))return function m5(e,n){return new Ve(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(bT(e))return function p5(e,n){return Wt(e).pipe(AT(n),TT(n))}(e,n);if(CT(e))return kT(e,n);if(xT(e))return function g5(e,n){return new Ve(t=>{let i;return $i(t,n,()=>{i=e[DT](),$i(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ue(i?.return)&&i.return()})}(e,n);if(IT(e))return function _5(e,n){return kT(ST(e),n)}(e,n)}throw ET(e)}(e,n):Wt(e)}function RT(e){return e&&ue(e.schedule)}function xv(e){return e[e.length-1]}function NT(e){return ue(xv(e))?e.pop():void 0}function Xl(e){return RT(xv(e))?e.pop():void 0}function F(...e){return lt(e,Xl(e))}const{isArray:b5}=Array,{getPrototypeOf:w5,prototype:C5,keys:E5}=Object;function FT(e){if(1===e.length){const n=e[0];if(b5(n))return{args:n,keys:null};if(function D5(e){return e&&"object"==typeof e&&w5(e)===C5}(n)){const t=E5(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:x5}=Array;function Sv(e){return K(n=>function S5(e,n){return x5(n)?e(...n):e(n)}(e,n))}function OT(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function _h(...e){const n=Xl(e),t=NT(e),{args:i,keys:r}=FT(e);if(0===i.length)return lt([],n);const o=new Ve(function I5(e,n,t=Qi){return i=>{PT(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)PT(n,()=>{const c=lt(e[l],n);let d=!1;c.subscribe(Ue(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>OT(r,s):Qi));return t?o.pipe(Sv(t)):o}function PT(e,n,t){e?$i(t,e,n):n()}const vh=Jf(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Tt(e,n,t=1/0){return ue(n)?Tt((i,r)=>K((o,s)=>n(i,o,r,s))(Wt(e(i,r))),t):("number"==typeof n&&(t=n),et((i,r)=>function M5(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=m=>c<i?p(m):l.push(m),p=m=>{o&&n.next(m),c++;let _=!1;Wt(t(m,d++)).subscribe(Ue(n,y=>{r?.(y),o?h(y):n.next(y)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const y=l.shift();s?$i(n,s,()=>p(y)):p(y)}f()}catch(y){n.error(y)}}))};return e.subscribe(Ue(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,r,e,t)))}function qs(e=1/0){return Tt(Qi,e)}function yh(...e){return function T5(){return qs(1)}()(lt(e,Xl(e)))}function LT(e){return new Ve(n=>{Wt(e()).subscribe(n)})}function Jl(e,n){const t=ue(e)?e:()=>e,i=r=>r.error(t());return new Ve(n?r=>n.schedule(i,0,r):i)}const Jn=new Ve(e=>e.complete());function Iv(){return et((e,n)=>{let t=null;e._refCount++;const i=Ue(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class VT extends Ve{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,rw(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Ge;const t=this.getSubject();n.add(this.source.subscribe(Ue(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ge.EMPTY)}return n}refCount(){return Iv()(this)}}function yn(e,n){return et((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(Ue(i,l=>{r?.unsubscribe();let c=0;const d=o++;Wt(e(l,d)).subscribe(r=Ue(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function bi(e){return e<=0?()=>Jn:et((n,t)=>{let i=0;n.subscribe(Ue(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function uo(...e){const n=Xl(e);return et((t,i)=>{(n?yh(e,t,n):yh(e,t)).subscribe(i)})}function bn(e,n){return et((t,i)=>{let r=0;t.subscribe(Ue(i,o=>e.call(n,o,r++)&&i.next(o)))})}function bh(e){return et((n,t)=>{let i=!1;n.subscribe(Ue(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function BT(e=k5){return et((n,t)=>{let i=!1;n.subscribe(Ue(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function k5(){return new vh}function Cr(e,n){const t=arguments.length>=2;return i=>i.pipe(e?bn((r,o)=>e(r,o,i)):Qi,bi(1),t?bh(n):BT(()=>new vh))}function Ws(e,n){return ue(n)?Tt(e,n,1):Tt(e,1)}function _t(e,n,t){const i=ue(e)||n||t?{next:e,error:n,complete:t}:e;return i?et((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ue(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Qi}function ho(e){return et((n,t)=>{let o,i=null,r=!1;i=n.subscribe(Ue(t,void 0,void 0,s=>{o=Wt(e(s,ho(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Mv(e){return e<=0?()=>Jn:et((n,t)=>{let i=[];n.subscribe(Ue(t,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function jT(e){return K(()=>e)}function Zs(e){return et((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Xe(e){return et((n,t)=>{Wt(e).subscribe(Ue(t,()=>t.complete(),tp)),!t.closed&&n.subscribe(t)})}const ne="primary",ec=Symbol("RouteTitle");class O5{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Ys(e){return new O5(e)}function P5(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=e[o];if(":"===s[0])r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function wi(e,n){const t=e?Tv(e):void 0,i=n?Tv(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!HT(e[r],n[r]))return!1;return!0}function Tv(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function HT(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((r,o)=>i[o]===r)}return e===n}function UT(e){return e.length>0?e[e.length-1]:null}function Er(e){return function vv(e){return!!e&&(e instanceof Ve||ue(e.lift)&&ue(e.subscribe))}(e)?e:Tl(e)?lt(Promise.resolve(e)):F(e)}const V5={exact:function GT(e,n,t){if(!po(e.segments,n.segments)||!wh(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!GT(e.children[i],n.children[i],t))return!1;return!0},subset:qT},zT={exact:function B5(e,n){return wi(e,n)},subset:function j5(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>HT(e[t],n[t]))},ignored:()=>!0};function $T(e,n,t){return V5[t.paths](e.root,n.root,t.matrixParams)&&zT[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function qT(e,n,t){return WT(e,n,n.segments,t)}function WT(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!po(r,t)||n.hasChildren()||!wh(r,t,i))}if(e.segments.length===t.length){if(!po(e.segments,t)||!wh(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!qT(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(po(e.segments,r)&&wh(e.segments,r,i)&&e.children[ne])&&WT(e.children[ne],n,o,i)}}function wh(e,n,t){return n.every((i,r)=>zT[t](e[r].parameters,i.parameters))}class fo{root;queryParams;fragment;_queryParamMap;constructor(n=new De([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ys(this.queryParams),this._queryParamMap}toString(){return z5.serialize(this)}}class De{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Eh(this)}}class tc{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Ys(this.parameters),this._parameterMap}toString(){return KT(this)}}function po(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let Ks=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>new Ch,providedIn:"root"})}return e})();class Ch{parse(n){const t=new eq(n);return new fo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${nc(n.root,!0)}`,i=function q5(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${Dh(t)}=${Dh(r)}`).join("&"):`${Dh(t)}=${Dh(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function $5(e){return encodeURI(e)}(n.fragment)}`:""}`}}const z5=new Ch;function Eh(e){return e.segments.map(n=>KT(n)).join("/")}function nc(e,n){if(!e.hasChildren())return Eh(e);if(n){const t=e.children[ne]?nc(e.children[ne],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==ne&&i.push(`${r}:${nc(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function U5(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===ne&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==ne&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===ne?[nc(e.children[ne],!1)]:[`${r}:${nc(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ne]?`${Eh(e)}/${t[0]}`:`${Eh(e)}/(${t.join("//")})`}}function ZT(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dh(e){return ZT(e).replace(/%3B/gi,";")}function Av(e){return ZT(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xh(e){return decodeURIComponent(e)}function YT(e){return xh(e.replace(/\+/g,"%20"))}function KT(e){return`${Av(e.path)}${function G5(e){return Object.entries(e).map(([n,t])=>`;${Av(n)}=${Av(t)}`).join("")}(e.parameters)}`}const W5=/^[^\/()?;#]+/;function kv(e){const n=e.match(W5);return n?n[0]:""}const Z5=/^[^\/()?;=#]+/,K5=/^[^=?&#]+/,X5=/^[^&#]+/;class eq{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new De([],{}):new De([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[ne]=new De(n,t)),i}parseSegment(){const n=kv(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new tc(xh(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function Y5(e){const n=e.match(Z5);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=kv(this.remaining);r&&(i=r,this.capture(i))}n[xh(t)]=xh(i)}parseQueryParam(n){const t=function Q5(e){const n=e.match(K5);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function J5(e){const n=e.match(X5);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=YT(t),o=YT(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=kv(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new b(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ne);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[ne]:new De([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new b(4011,!1)}}function QT(e){return e.segments.length>0?new De([],{[ne]:e}):e}function XT(e){const n={};for(const[i,r]of Object.entries(e.children)){const o=XT(r);if(i===ne&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function tq(e){if(1===e.numberOfChildren&&e.children[ne]){const n=e.children[ne];return new De(e.segments.concat(n.segments),n.children)}return e}(new De(e.segments,n))}function mo(e){return e instanceof fo}function JT(e){let n;const r=QT(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new De(o.url,s);return o===e&&(n=a),a}(e.root));return n??r}function eA(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Rv(r,r,r,t,i);const o=function iq(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new nA(!0,0,e);let n=0,t=!1;const i=e.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new nA(t,n,i)}(n);if(o.toRoot())return Rv(r,r,new De([],{}),t,i);const s=function rq(e,n,t){if(e.isAbsolute)return new Ih(n,!0,0);if(!t)return new Ih(n,!1,NaN);if(null===t.parent)return new Ih(t,!0,0);const i=Sh(e.commands[0])?0:1;return function oq(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new b(4005,!1);r=i.segments.length}return new Ih(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?rc(s.segmentGroup,s.index,o.commands):iA(s.segmentGroup,s.index,o.commands);return Rv(r,s.segmentGroup,a,t,i)}function Sh(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ic(e){return"object"==typeof e&&null!=e&&e.outlets}function Rv(e,n,t,i,r){let s,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),s=e===n?t:tA(e,n,t);const a=QT(XT(s));return new fo(a,o,r)}function tA(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:tA(o,n,t)}),new De(e.segments,i)}class nA{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&Sh(i[0]))throw new b(4003,!1);const r=i.find(ic);if(r&&r!==UT(i))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ih{segmentGroup;processChildren;index;constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function iA(e,n,t){if(e??=new De([],{}),0===e.segments.length&&e.hasChildren())return rc(e,n,t);const i=function aq(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return o;const s=e.segments[r],a=t[i];if(ic(a))break;const l=`${a}`,c=i<t.length-1?t[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!oA(l,c,s))return o;i+=2}else{if(!oA(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const o=new De(e.segments.slice(0,i.pathIndex),{});return o.children[ne]=new De(e.segments.slice(i.pathIndex),e.children),rc(o,0,r)}return i.match&&0===r.length?new De(e.segments,{}):i.match&&!e.hasChildren()?Nv(e,n,t):i.match?rc(e,0,r):Nv(e,n,t)}function rc(e,n,t){if(0===t.length)return new De(e.segments,{});{const i=function sq(e){return ic(e[0])?e[0].outlets:{[ne]:e}}(t),r={};if(Object.keys(i).some(o=>o!==ne)&&e.children[ne]&&1===e.numberOfChildren&&0===e.children[ne].segments.length){const o=rc(e.children[ne],n,t);return new De(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=iA(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new De(e.segments,r)}}function Nv(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const o=t[r];if(ic(o)){const l=lq(o.outlets);return new De(i,l)}if(0===r&&Sh(t[0])){i.push(new tc(e.segments[n].path,rA(t[0]))),r++;continue}const s=ic(o)?o.outlets[ne]:`${o}`,a=r<t.length-1?t[r+1]:null;s&&a&&Sh(a)?(i.push(new tc(s,rA(a))),r+=2):(i.push(new tc(s,{})),r++)}return new De(i,{})}function lq(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Nv(new De([],{}),0,i))}),n}function rA(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function oA(e,n,t){return e==t.path&&wi(n,t.parameters)}const oc="imperative";var le=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(le||{});class Ci{id;url;constructor(n,t){this.id=n,this.url=t}}class Mh extends Ci{type=le.NavigationStart;navigationTrigger;restoredState;constructor(n,t,i="imperative",r=null){super(n,t),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gi extends Ci{urlAfterRedirects;type=le.NavigationEnd;constructor(n,t,i){super(n,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var wn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(wn||{}),Th=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Th||{});class go extends Ci{reason;code;type=le.NavigationCancel;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qs extends Ci{reason;code;type=le.NavigationSkipped;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}}class Fv extends Ci{error;target;type=le.NavigationError;constructor(n,t,i,r){super(n,t),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sA extends Ci{urlAfterRedirects;state;type=le.RoutesRecognized;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cq extends Ci{urlAfterRedirects;state;type=le.GuardsCheckStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dq extends Ci{urlAfterRedirects;state;shouldActivate;type=le.GuardsCheckEnd;constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class uq extends Ci{urlAfterRedirects;state;type=le.ResolveStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hq extends Ci{urlAfterRedirects;state;type=le.ResolveEnd;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fq{route;type=le.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pq{route;type=le.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mq{snapshot;type=le.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gq{snapshot;type=le.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _q{snapshot;type=le.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vq{snapshot;type=le.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aA{routerEvent;position;anchor;type=le.Scroll;constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ov{}class Ah{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}}function ei(e){return e.outlet||ne}function sc(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Dq{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return sc(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ac(this.rootInjector)}}let ac=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new Dq(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(i){return new(i||e)(M(Dt))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class lA{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Pv(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=Pv(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Lv(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Lv(n,this._root).map(t=>t.value)}}function Pv(e,n){if(e===n.value)return n;for(const t of n.children){const i=Pv(e,t);if(i)return i}return null}function Lv(e,n){if(e===n.value)return[n];for(const t of n.children){const i=Lv(e,t);if(i.length)return i.unshift(n),i}return[]}class ti{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Xs(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class cA extends lA{snapshot;constructor(n,t){super(n),this.snapshot=t,Vv(this,n)}toString(){return this.snapshot.toString()}}function dA(e){const n=function xq(e){const o=new Rh([],{},{},"",{},ne,e,null,{});return new uA("",new ti(o,[]))}(e),t=new an([new tc("",{})]),i=new an({}),r=new an({}),o=new an({}),s=new an(""),a=new Js(t,i,o,s,r,ne,e,n.root);return a.snapshot=n.root,new cA(new ti(a,[]),n)}class Js{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(K(c=>c[ec]))??F(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o}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.params.pipe(K(n=>Ys(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(K(n=>Ys(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function kh(e,n,t="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===n||"always"!==t&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...r?.data,...e._resolvedData}},r&&fA(r)&&(i.resolve[ec]=r.title),i}class Rh{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ec]}constructor(n,t,i,r,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Ys(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ys(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uA extends lA{url;constructor(n,t){super(t),this.url=n,Vv(this,t)}toString(){return hA(this._root)}}function Vv(e,n){n.value._routerState=e,n.children.forEach(t=>Vv(e,t))}function hA(e){const n=e.children.length>0?` { ${e.children.map(hA).join(", ")} } `:"";return`${e.value}${n}`}function Bv(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,wi(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),wi(n.params,t.params)||e.paramsSubject.next(t.params),function L5(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!wi(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),wi(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function jv(e,n){const t=wi(e.params,n.params)&&function H5(e,n){return po(e,n)&&e.every((t,i)=>wi(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||jv(e.parent,n.parent))}function fA(e){return"string"==typeof e.title||null===e.title}const Sq=new C("");let Hv=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ne;activateEvents=new fe;deactivateEvents=new fe;attachEvents=new fe;detachEvents=new fe;routerOutletData=i1(void 0);parentContexts=g(ac);location=g(nn);changeDetector=g(_r);inputBinder=g(Nh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Uv(t,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[un]})}return e})();class Uv{route;childContexts;parent;outletData;__ngOutletInjector(n){return new Uv(this.route,this.childContexts,n,this.outletData)}constructor(n,t,i,r){this.route=n,this.childContexts=t,this.parent=i,this.outletData=r}get(n,t){return n===Js?this.route:n===ac?this.childContexts:n===Sq?this.outletData:this.parent.get(n,t)}}const Nh=new C("");let pA=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:i}=t,r=_h([i.queryParams,i.params,i.data]).pipe(yn(([o,s,a],l)=>(a={...o,...s,...a},0===l?F(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const s=function u8(e){const n=ee(e);if(!n)return null;const t=new Dl(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,r)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function lc(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function Mq(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return lc(e,i,r);return lc(e,i)})}(e,n,t);return new ti(i,r)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>lc(e,a)),s}}const i=function Tq(e){return new Js(new an(e.url),new an(e.params),new an(e.queryParams),new an(e.fragment),new an(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>lc(e,o));return new ti(i,r)}}class zv{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}}const mA="ngNavigationCancelingError";function Fh(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=mo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=gA(!1,wn.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function gA(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[mA]=!0,t.cancellationCode=n,t}function _A(e){return!!e&&e[mA]}class Rq{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),Bv(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=Xs(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Xs(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Xs(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=Xs(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new vq(o.value.snapshot))}),n.children.length&&this.forwardEvent(new gq(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(Bv(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Bv(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}}class vA{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Oh{component;route;constructor(n,t){this.component=n,this.route=t}}function Nq(e,n,t){const i=e._root;return cc(i,n?n._root:null,t,[i.value])}function ea(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function hO(e){return null!==Xc(e)}(e)?n.get(e):e:i}function cc(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Xs(n);return e.children.forEach(s=>{(function Oq(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function Pq(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!po(e.url,n.url);case"pathParamsOrQueryParamsChange":return!po(e.url,n.url)||!wi(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jv(e,n)||!wi(e.queryParams,n.queryParams);default:return!jv(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new vA(i)):(o.data=s.data,o._resolvedData=s._resolvedData),cc(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Oh(a.outlet.component,s))}else s&&dc(n,a,r),r.canActivateChecks.push(new vA(i)),cc(e,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>dc(a,t.getContext(s),r)),r}function dc(e,n,t){const i=Xs(e),r=e.value;Object.entries(i).forEach(([o,s])=>{dc(s,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Oh(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function uc(e){return"function"==typeof e}function yA(e){return e instanceof vh||"EmptyError"===e?.name}const Ph=Symbol("INITIAL_VALUE");function ta(){return yn(e=>_h(e.map(n=>n.pipe(bi(1),uo(Ph)))).pipe(K(n=>{for(const t of n)if(!0!==t){if(t===Ph)return Ph;if(!1===t||zq(t))return t}return!0}),bn(n=>n!==Ph),bi(1)))}function zq(e){return mo(e)||e instanceof zv}function bA(e){return function nO(...e){return tw(e)}(_t(n=>{if("boolean"!=typeof n)throw Fh(0,n)}),K(n=>!0===n))}class $v{segmentGroup;constructor(n){this.segmentGroup=n||null}}class Lh extends Error{urlTree;constructor(n){super(),this.urlTree=n}}function na(e){return Jl(new $v(e))}class nW{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return F(i);if(r.numberOfChildren>1||!r.children[ne])return Jl(new b(4e3,!1));r=r.children[ne]}}applyRedirectCommands(n,t,i,r,o){if("string"!=typeof t){const a=t,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,params:h,data:p,title:m}=r,_=Sn(o,()=>a({params:h,data:p,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,title:m}));if(_ instanceof fo)throw new Lh(_);t=_}const s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if("/"===t[0])throw new Lh(s);return s}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new fo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const a=o.substring(1);i[r]=t[a]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){const o=this.createSegments(n,t.segments,i,r);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new De(o,s)}createSegments(n,t,i,r){return t.map(o=>":"===o.path[0]?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new b(4001,!1);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}const Gv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function iW(e,n,t,i,r){const o=wA(e,n,t);return o.matched?(i=function yq(e,n){return e.providers&&!e._injector&&(e._injector=yu(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function Jq(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?F(r.map(s=>{const a=ea(s,e);return Er(function Uq(e){return e&&uc(e.canMatch)}(a)?a.canMatch(n,t):Sn(e,()=>a(n,t)))})).pipe(ta(),bA()):F(!0)}(i,n,t).pipe(K(s=>!0===s?o:{...Gv}))):F(o)}function wA(e,n,t){if("**"===n.path)return function rW(e){return{matched:!0,parameters:e.length>0?UT(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Gv}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||P5)(t,e,n);if(!r)return{...Gv};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function CA(e,n,t,i){return t.length>0&&function aW(e,n,t){return t.some(i=>Vh(e,n,i)&&ei(i)!==ne)}(e,t,i)?{segmentGroup:new De(n,sW(i,new De(t,e.children))),slicedSegments:[]}:0===t.length&&function lW(e,n,t){return t.some(i=>Vh(e,n,i))}(e,t,i)?{segmentGroup:new De(e.segments,oW(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new De(e.segments,e.children),slicedSegments:t}}function oW(e,n,t,i){const r={};for(const o of t)if(Vh(e,n,o)&&!i[ei(o)]){const s=new De([],{});r[ei(o)]=s}return{...i,...r}}function sW(e,n){const t={};t[ne]=n;for(const i of e)if(""===i.path&&ei(i)!==ne){const r=new De([],{});t[ei(i)]=r}return t}function Vh(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class dW{}class fW{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,i,r,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new nW(this.urlSerializer,this.urlTree)}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}recognize(){const n=CA(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(K(({children:t,rootSnapshot:i})=>{const r=new ti(i,t),o=new uA("",r),s=function nq(e,n,t=null,i=null){return eA(JT(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){const t=new Rh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ne,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ne,t).pipe(K(i=>({children:i,rootSnapshot:t})),ho(i=>{if(i instanceof Lh)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof $v?this.noMatchError(i):i}))}processSegmentGroup(n,t,i,r,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i,o):this.processSegment(n,t,i,i.segments,r,!0,o).pipe(K(s=>s instanceof ti?[s]:[]))}processChildren(n,t,i,r){const o=[];for(const s of Object.keys(i.children))"primary"===s?o.unshift(s):o.push(s);return lt(o).pipe(Ws(s=>{const a=i.children[s],l=function Eq(e,n){const t=e.filter(i=>ei(i)===n);return t.push(...e.filter(i=>ei(i)!==n)),t}(t,s);return this.processSegmentGroup(n,l,a,s,r)}),function N5(e,n){return et(function R5(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Ue(s,d=>{const u=c++;l=a?e(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((s,a)=>(s.push(...a),s)),bh(null),function F5(e,n){const t=arguments.length>=2;return i=>i.pipe(e?bn((r,o)=>e(r,o,i)):Qi,Mv(1),t?bh(n):BT(()=>new vh))}(),Tt(s=>{if(null===s)return na(i);const a=EA(s);return function pW(e){e.sort((n,t)=>n.value.outlet===ne?-1:t.value.outlet===ne?1:n.value.outlet.localeCompare(t.value.outlet))}(a),F(a)}))}processSegment(n,t,i,r,o,s,a){return lt(t).pipe(Ws(l=>this.processSegmentAgainstRoute(l._injector??n,t,l,i,r,o,s,a).pipe(ho(c=>{if(c instanceof $v)return F(null);throw c}))),Cr(l=>!!l),ho(l=>{if(yA(l))return function cW(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?F(new dW):na(i);throw l}))}processSegmentAgainstRoute(n,t,i,r,o,s,a,l){return ei(i)===s||s!==ne&&Vh(r,o,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s,l):na(r):na(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s,a){const{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:f}=wA(t,r,o);if(!l)return na(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const h=new Rh(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,DA(r),ei(r),r.component??r._loadedComponent??null,r,xA(r)),p=kh(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);const m=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,h,n);return this.applyRedirects.lineralizeSegments(r,m).pipe(Tt(_=>this.processSegment(n,i,t,_.concat(f),s,!1,a)))}matchSegmentAgainstRoute(n,t,i,r,o,s){const a=iW(t,i,r,n);return"**"===i.path&&(t.children={}),a.pipe(yn(l=>l.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(yn(({routes:c})=>{const d=i._loadedInjector??n,{parameters:u,consumedSegments:f,remainingSegments:h}=l,p=new Rh(f,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,DA(i),ei(i),i.component??i._loadedComponent??null,i,xA(i)),m=kh(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);const{segmentGroup:_,slicedSegments:y}=CA(t,f,h,c);if(0===y.length&&_.hasChildren())return this.processChildren(d,c,_,p).pipe(K(E=>new ti(p,E)));if(0===c.length&&0===y.length)return F(new ti(p,[]));const v=ei(i)===o;return this.processSegment(d,c,_,y,v?ne:o,!0,p).pipe(K(E=>new ti(p,E instanceof ti?[E]:[])))})):na(t)))}getChildConfig(n,t,i){return t.children?F({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?F({routes:t._loadedRoutes,injector:t._loadedInjector}):function Xq(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?F(!0):F(r.map(s=>{const a=ea(s,e);return Er(function Vq(e){return e&&uc(e.canLoad)}(a)?a.canLoad(n,t):Sn(e,()=>a(n,t)))})).pipe(ta(),bA())}(n,t,i).pipe(Tt(r=>r?this.configLoader.loadChildren(n,t).pipe(_t(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function tW(){return Jl(gA(!1,wn.GuardRejected))}())):F({routes:[],injector:n})}}function mW(e){const n=e.value.routeConfig;return n&&""===n.path}function EA(e){const n=[],t=new Set;for(const i of e){if(!mW(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=EA(i.children);n.push(new ti(i.value,r))}return n.filter(i=>!t.has(i))}function DA(e){return e.data||{}}function xA(e){return e.resolve||{}}function SA(e){const n=e.children.map(t=>SA(t)).flat();return[e,...n]}function qv(e){return yn(n=>{const t=e(n);return t?lt(t).pipe(K(()=>n)):F(n)})}let IA=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ne);return i}getResolvedTitleForRoute(t){return t.data[ec]}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(wW),providedIn:"root"})}return e})(),wW=(()=>{class e extends IA{title;constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||e)(M(TG))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ia=new C("",{providedIn:"root",factory:()=>({})});let MA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(i,r){1&i&&Ft(0,"router-outlet")},dependencies:[Hv],encapsulation:2})}return e})();function Wv(e){const n=e.children&&e.children.map(Wv),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ne&&(t.component=MA),t}const ra=new C("");let Zv=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(mI);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return F(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=Er(t.loadComponent()).pipe(K(TA),_t(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Zs(()=>{this.componentLoaders.delete(t)})),r=new VT(i,()=>new Q).pipe(Iv());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return F({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function CW(e,n,t,i){return Er(e.loadChildren()).pipe(K(TA),Tt(r=>r instanceof Lx||Array.isArray(r)?F(r):lt(n.compileModuleAsync(r))),K(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(t).injector,s=o.get(ra,[],{optional:!0,self:!0}).flat()),{routes:s.map(Wv),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(Zs(()=>{this.childrenLoaders.delete(i)})),s=new VT(o,()=>new Q).pipe(Iv());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function TA(e){return function EW(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Yv=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(DW),providedIn:"root"})}return e})(),DW=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const AA=new C(""),kA=new C("");function xW(e,n,t){const i=e.get(kA),r=e.get(ae);return e.get(q).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o;const s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),function SW(e){return new Promise(n=>{fi({read:()=>setTimeout(n)},{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&Sn(e,()=>l({transition:a,from:n,to:t})),s})}const Kv=new C("");let Bh=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Q;transitionAbortSubject=new Q;configLoader=g(Zv);environmentInjector=g(Dt);urlSerializer=g(Ks);rootContexts=g(ac);location=g(zs);inputBindingEnabled=null!==g(Nh,{optional:!0});titleStrategy=g(IA);options=g(ia,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Yv);createViewTransition=g(AA,{optional:!0});navigationErrorHandler=g(Kv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>F(void 0);rootComponentType=null;constructor(){this.configLoader.onLoadEndListener=r=>this.events.next(new pq(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new fq(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,r){return this.transitions=new an({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:oc,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(bn(o=>0!==o.id),K(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),yn(o=>{let s=!1,a=!1;return F(o).pipe(yn(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",wn.SupersededByNewNavigation),Jn;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:"string"==typeof l.extras.browserUrl?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Qs(l.id,this.urlSerializer.serialize(l.rawUrl),u,Th.IgnoredSameUrlNavigation)),l.resolve(!1),Jn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return F(l).pipe(yn(u=>{const f=this.transitions?.getValue();return this.events.next(new Mh(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions?.getValue()?Jn:Promise.resolve(u)}),function gW(e,n,t,i,r,o){return Tt(s=>function uW(e,n,t,i,r,o,s="emptyOnly"){return new fW(e,n,t,i,r,s,o).recognize()}(e,n,t,i,s.extractedUrl,r,o).pipe(K(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),_t(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects};const f=new sA(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:u,extractedUrl:f,source:h,restoredState:p,extras:m}=l,_=new Mh(u,this.urlSerializer.serialize(f),h,p);this.events.next(_);const y=dA(this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:y,urlAfterRedirects:f,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,F(o)}{const u="";return this.events.next(new Qs(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Th.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Jn}}),_t(l=>{const c=new cq(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),K(l=>(this.currentTransition=o={...l,guards:Nq(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function $q(e,n){return Tt(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?F({...t,guardsResult:!0}):function Gq(e,n,t,i){return lt(e).pipe(Tt(r=>function Qq(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?F(o.map(a=>{const l=sc(n)??r,c=ea(a,l);return Er(function Hq(e){return e&&uc(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):Sn(l,()=>c(e,n,t,i))).pipe(Cr())})).pipe(ta()):F(!0)}(r.component,r.route,t,n,i)),Cr(r=>!0!==r,!0))}(s,i,r,e).pipe(Tt(a=>a&&function Lq(e){return"boolean"==typeof e}(a)?function qq(e,n,t,i){return lt(n).pipe(Ws(r=>yh(function Zq(e,n){return null!==e&&n&&n(new mq(e)),F(!0)}(r.route.parent,i),function Wq(e,n){return null!==e&&n&&n(new _q(e)),F(!0)}(r.route,i),function Kq(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function Fq(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>LT(()=>F(s.guards.map(l=>{const c=sc(s.node)??t,d=ea(l,c);return Er(function jq(e){return e&&uc(e.canActivateChild)}(d)?d.canActivateChild(i,e):Sn(c,()=>d(i,e))).pipe(Cr())})).pipe(ta())));return F(o).pipe(ta())}(e,r.path,t),function Yq(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return F(!0);const r=i.map(o=>LT(()=>{const s=sc(n)??t,a=ea(o,s);return Er(function Bq(e){return e&&uc(e.canActivate)}(a)?a.canActivate(n,e):Sn(s,()=>a(n,e))).pipe(Cr())}));return F(r).pipe(ta())}(e,r.route,t))),Cr(r=>!0!==r,!0))}(i,o,e,n):F(a)),K(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),_t(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&"boolean"!=typeof l.guardsResult)throw Fh(0,l.guardsResult);const c=new dq(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),bn(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",wn.GuardRejected),!1)),qv(l=>{if(l.guards.canActivateChecks.length)return F(l).pipe(_t(c=>{const d=new uq(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),yn(c=>{let d=!1;return F(c).pipe(function _W(e,n){return Tt(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return F(t);const o=new Set(r.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const c of SA(l))s.add(c);let a=0;return lt(s).pipe(Ws(l=>o.has(l)?function vW(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!fA(r)&&(o[ec]=r.title),function yW(e,n,t,i){const r=Tv(e);if(0===r.length)return F({});const o={};return lt(r).pipe(Tt(s=>function bW(e,n,t,i){const r=sc(n)??i,o=ea(e,r);return Er(o.resolve?o.resolve(n,t):Sn(r,()=>o(n,t)))}(e[s],n,t,i).pipe(Cr(),_t(a=>{if(a instanceof zv)throw Fh(new Ch,a);o[s]=a}))),Mv(1),jT(o),ho(s=>yA(s)?Jn:Jl(s)))}(o,e,n,i).pipe(K(s=>(e._resolvedData=s,e.data=kh(e,e.parent,t).resolve,null)))}(l,i,e,n):(l.data=kh(l,l.parent,e).resolve,F(void 0))),_t(()=>a++),Mv(1),Tt(l=>a===s.size?F(t):Jn))})}(this.paramsInheritanceStrategy,this.environmentInjector),_t({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",wn.NoDataFromResolver)}}))}),_t(c=>{const d=new hq(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),qv(l=>{const c=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(_t(f=>{d.component=f}),K(()=>{})));for(const f of d.children)u.push(...c(f));return u};return _h(c(l.targetSnapshot.root)).pipe(bh(null),bi(1))}),qv(()=>this.afterPreactivation()),yn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?lt(d).pipe(K(()=>o)):F(o)}),K(l=>{const c=function Iq(e,n,t){const i=lc(e,n._root,t?t._root:void 0);return new cA(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),_t(()=>{this.events.next(new Ov)}),((e,n,t,i)=>K(r=>(new Rq(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),bi(1),_t({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Gi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Xe(this.transitionAbortSubject.pipe(_t(l=>{throw l}))),Zs(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",wn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ho(l=>{if(a=!0,_A(l))this.events.next(new go(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function Aq(e){return _A(e)&&mo(e.url)}(l)?this.events.next(new Ah(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{const c=new Fv(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{const d=Sn(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(!(d instanceof zv))throw this.events.next(c),l;{const{message:u,cancellationCode:f}=Fh(0,d);this.events.next(new go(o.id,this.urlSerializer.serialize(o.extractedUrl),u,f)),this.events.next(new Ah(d.redirectTo,d.navigationBehaviorOptions))}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return Jn}))}))}cancelNavigationTransition(t,i,r){const o=new go(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function IW(e){return e!==oc}let MW=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(AW),providedIn:"root"})}return e})();class TW{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let AW=(()=>{class e extends TW{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(kW),providedIn:"root"})}return e})(),kW=(()=>{class e extends RA{location=g(zs);urlSerializer=g(Ks);options=g(ia,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(Yv);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new fo;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=dA(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof Mh)this.stateMemento=this.createStateMemento();else if(t instanceof Qs)this.rawUrlTree=i.initialUrl;else if(t instanceof sA){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else t instanceof Ov?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):t instanceof go&&(t.code===wn.GuardRejected||t.code===wn.NoDataFromResolver)?this.restoreHistory(i):t instanceof Fv?this.restoreHistory(i,!0):t instanceof Gi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=t instanceof fo?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(r,"",o)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hc=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(hc||{});function NA(e,n){e.events.pipe(bn(t=>t instanceof Gi||t instanceof go||t instanceof Fv||t instanceof Qs),K(t=>t instanceof Gi||t instanceof Qs?hc.COMPLETE:t instanceof go&&(t.code===wn.Redirect||t.code===wn.SupersededByNewNavigation)?hc.REDIRECTING:hc.FAILED),bn(t=>t!==hc.REDIRECTING),bi(1)).subscribe(()=>{n()})}const RW={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NW={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ei=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(t0);stateManager=g(RA);options=g(ia,{optional:!0})||{};pendingTasks=g(zn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Bh);urlSerializer=g(Ks);location=g(zs);urlHandlingStrategy=g(Yv);_events=new Q;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(MW);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(ra,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Nh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ge;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==r&&null!==o)if(this.stateManager.handleRouterEvent(i,o),i instanceof go&&i.code!==wn.Redirect&&i.code!==wn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Gi)this.navigated=!0;else if(i instanceof Ah){const s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l={browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||"eager"===this.urlUpdateStrategy||IW(r.source),...s};this.scheduleNavigation(a,oc,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function OW(e){return!(e instanceof Ov||e instanceof Ah)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),oc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Wv),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{u=JT(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),u=this.currentUrlTree.root}return eA(u,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=mo(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,oc,null,i)}navigate(t,i={skipLocationChange:!1}){return function FW(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new b(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(r=!0===i?{...RW}:!1===i?{...NW}:i,mo(t))return $T(this.currentUrlTree,t,r);const o=this.parseUrl(t);return $T(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,o])=>(null!=o&&(i[r]=o),i),{})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,f)=>{a=u,l=f});const d=this.pendingTasks.add();return NA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jh=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Q;constructor(t,i,r,o,s,a){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Gi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){null==t?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=mo(t)||Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,i,r,o,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==t||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.href=null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;const i=null===this.href?null:function $E(e,n,t){return function zL(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?zE:_s}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,t,i):r.removeAttribute(o,t)}get urlTree(){return null===this.routerLinkInput?null:mo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||e)(D(Ei),D(Js),Ha("tabindex"),D(Bi),D(we),D(co))};static \u0275dir=O({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){1&i&&je("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&i&&ze("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Te],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Te],replaceUrl:[2,"replaceUrl","replaceUrl",Te],routerLink:"routerLink"},features:[Wn,un]})}return e})();class FA{}let VW=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(bn(t=>t instanceof Gi),Ws(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=yu(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return lt(r).pipe(qs())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):F(null);const o=r.pipe(Tt(s=>null===s?F(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?lt([o,this.loader.loadComponent(i)]).pipe(qs()):o})}static \u0275fac=function(i){return new(i||e)(M(Ei),M(mI),M(Dt),M(FA),M(Zv))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Qv=new C("");let OA=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.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(t=>{t instanceof Mh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Gi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qs&&t.code===Th.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof aA&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new aA(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){!function yD(){throw new Error("invalid")}()};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Di(e,n){return{\u0275kind:e,\u0275providers:n}}function LA(){const e=g(Ee);return n=>{const t=e.get(rn);if(n!==t.components[0])return;const i=e.get(Ei),r=e.get(VA);1===e.get(Xv)&&i.initialNavigation(),e.get(BA,null,ie.Optional)?.setUpPreloading(),e.get(Qv,null,ie.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const VA=new C("",{factory:()=>new Q}),Xv=new C("",{providedIn:"root",factory:()=>1}),BA=new C("");function UW(e){return Di(0,[{provide:BA,useExisting:VW},{provide:FA,useExisting:e}])}function $W(e){return Di(9,[{provide:AA,useValue:xW},{provide:kA,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const jA=new C("ROUTER_FORROOT_GUARD"),GW=[zs,{provide:Ks,useClass:Ch},Ei,ac,{provide:Js,useFactory:function PA(e){return e.routerState.root},deps:[Ei]},Zv,[]];let HA=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[GW,[],{provide:ra,multi:!0,useValue:t},{provide:jA,useFactory:YW,deps:[[Ei,new Fr,new Ta]]},i?.errorHandler?{provide:Kv,useValue:i.errorHandler}:[],{provide:ia,useValue:i||{}},i?.useHash?{provide:co,useClass:g8}:{provide:co,useClass:_M},{provide:Qv,useFactory:()=>{const e=g(T4),n=g(q),t=g(ia),i=g(Bh),r=g(Ks);return t.scrollOffset&&e.setOffset(t.scrollOffset),new OA(r,i,e,n,t)}},i?.preloadingStrategy?UW(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?KW(i):[],i?.bindToComponentInputs?Di(8,[pA,{provide:Nh,useExisting:pA}]).\u0275providers:[],i?.enableViewTransitions?$W().\u0275providers:[],[{provide:UA,useFactory:LA},{provide:Al,multi:!0,useExisting:UA}]]}}static forChild(t){return{ngModule:e,providers:[{provide:ra,multi:!0,useValue:t}]}}static \u0275fac=function(i){return new(i||e)(M(jA,8))};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();function YW(e){return"guarded"}function KW(e){return["disabled"===e.initialNavigation?Di(3,[{provide:Tu,multi:!0,useFactory:()=>{const n=g(Ei);return()=>{n.setUpLocationChangeListener()}}},{provide:Xv,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Di(2,[{provide:Xv,useValue:0},{provide:Tu,multi:!0,deps:[Ee],useFactory:n=>{const t=n.get(p8,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(Ei),o=n.get(VA);NA(r,()=>{i(!0)}),n.get(Bh).afterPreactivation=()=>(i(!0),o.closed?F(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const UA=new C("");let Jv;try{Jv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jv=!1}let fc,_o,ey,sn=(()=>{class e{_platformId=g(hi);isBrowser=this._platformId?yr(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!Jv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pc(e){return function JW(){if(null==fc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fc=!0}))}finally{fc=fc||!1}return fc}()?e:!!e.capture}function e6(){if(null==_o){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _o=!1,_o;if("scrollBehavior"in document.documentElement.style)_o=!0;else{const e=Element.prototype.scrollTo;_o=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return _o}function qi(e){return e.composedPath?e.composedPath()[0]:e.target}function $A(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const Uh=new WeakMap;let Dr=(()=>{class e{_appRef;_injector=g(Ee);_environmentInjector=g(Dt);load(t){const i=this._appRef=this._appRef||this._injector.get(rn);let r=Uh.get(i);r||(r={loaders:new Set,refs:[]},Uh.set(i,r),i.onDestroy(()=>{Uh.get(i)?.refs.forEach(o=>o.destroy()),Uh.delete(i)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(fM(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return e})();function zh(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class b6 extends Ge{constructor(n,t){super()}schedule(n,t=0){return this}}const $h={setInterval(e,n,...t){const{delegate:i}=$h;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=$h;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class iy extends b6{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return $h.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&$h.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,qc(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const ry={now:()=>(ry.delegate||Date).now(),delegate:void 0};class _c{constructor(n,t=_c.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_c.now=ry.now;class oy extends _c{constructor(n,t=_c.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const sy=new oy(iy),w6=sy;function YA(e,n=sy){return et((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}t.subscribe(Ue(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function KA(e){return bn((n,t)=>e<=t)}function QA(e,n=Qi){return e=e??C6,et((t,i)=>{let r,o=!0;t.subscribe(Ue(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function C6(e,n){return e===n}let E6=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),D6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[E6]})}return e})();function JA(e){return null!=e&&"false"!=`${e}`}function ek(e,n=0){return function x6(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):2===arguments.length?n:0}function Gh(e){return Array.isArray(e)?e:[e]}function ct(e){return null==e?"":"string"==typeof e?e:`${e}px`}function sa(e){return e instanceof we?e.nativeElement:e}const tk=new Set;let vo,S6=(()=>{class e{_platform=g(sn);_nonce=g(ym,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):M6}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function I6(e,n){if(!tk.has(e))try{vo||(vo=document.createElement("style"),n&&vo.setAttribute("nonce",n),vo.setAttribute("type","text/css"),document.head.appendChild(vo)),vo.sheet&&(vo.sheet.insertRule(`@media ${e} {body{ }}`,0),tk.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function M6(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let T6=(()=>{class e{_mediaMatcher=g(S6);_zone=g(q);_queries=new Map;_destroySubject=new Q;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return nk(Gh(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=_h(nk(Gh(t)).map(s=>this._registerQuery(s).observable));return o=yh(o.pipe(bi(1)),o.pipe(KA(1),YA(0))),o.pipe(K(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new Ve(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(uo(i),K(({matches:s})=>({query:t,matches:s})),Xe(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nk(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function qh(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}const rk="cdk-describedby-message",Wh="cdk-describedby-host";let ay=0,R6=(()=>{class e{_platform=g(sn);_document=g(ae);_messageRegistry=new Map;_messagesContainer=null;_id=""+ay++;constructor(){g(Dr).load(GA),this._id=g(or)+"-"+ay++}describe(t,i,r){if(!this._canBeDescribed(t,i))return;const o=ly(i,r);"string"!=typeof i?(ok(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,i,r){if(!i||!this._isElementNode(t))return;const o=ly(i,r);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const t=this._document.querySelectorAll(`[${Wh}="${this._id}"]`);for(let i=0;i<t.length;i++)this._removeCdkDescribedByReferenceIds(t[i]),t[i].removeAttribute(Wh);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,i){const r=this._document.createElement("div");ok(r,this._id),r.textContent=t,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(ly(t,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;const t="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();const r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(t),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(t){const i=qh(t,"aria-describedby").filter(r=>0!=r.indexOf(rk));t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){const r=this._messageRegistry.get(i);(function A6(e,n,t){const i=qh(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))})(t,"aria-describedby",r.messageElement.id),t.setAttribute(Wh,this._id),r.referenceCount++}_removeMessageReference(t,i){const r=this._messageRegistry.get(i);r.referenceCount--,function k6(e,n,t){const i=qh(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}(t,"aria-describedby",r.messageElement.id),t.removeAttribute(Wh)}_isElementDescribedByMessage(t,i){const r=qh(t,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=t.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ly(e,n){return"string"==typeof e?`${n||""}/${e}`:e}function ok(e,n){e.id||(e.id=`${rk}-${n}-${ay++}`)}class sk{_letterKeyStream=new Q;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new Q;selectedItem=this._selectedItem;constructor(n,t){const i="number"==typeof t?.debounceInterval?t.debounceInterval:200;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){const t=n.keyCode;n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(_t(t=>this._pressedLetters.push(t)),YA(n),bn(()=>this._pressedLetters.length>0),K(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let i=1;i<this._items.length+1;i++){const o=this._items[(this._selectedItemIndex+i)%this._items.length];if(!this._skipPredicateFn?.(o)&&0===o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}class F6{_items;_activeItemIndex=-1;_activeItem=qn(null);_wrap=!1;_typeaheadSubscription=Ge.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof $a?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):_u(n)&&(this._effectRef=function U_(e,n){bt("NgSignals"),!n?.injector&&Zo();const t=n?.injector??g(Ee);let r,i=!0!==n?.manualCleanup?t.get(rr):null;const o=t.get(dM,null,{optional:!0}),s=t.get(Oi);return null===o||n?.forceRoot?r=function i8(e,n,t){const i=Object.create(e8);return i.fn=e,i.scheduler=n,i.notifier=t,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(13),i}(e,t.get(i_),s):(r=function n8(e,n,t){const i=Object.create(t8);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=t,e[23]??=new Set,e[23].add(i),i.consumerMarkedDirty(i),i}(o.view,s,e),i instanceof DC&&i._lView===o.view&&(i=null)),r.injector=t,null!==i&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new J3(r)}(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new Q;change=new Q;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();const t=this._getItemsArray();return this._typeahead=new sk(t,{debounceInterval:"number"==typeof n?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){const t=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){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,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||zh(n,"shiftKey"))&&this._typeahead?.handleKey(n))}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem.set(t[i]??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return _u(this._items)?this._items():this._items instanceof $a?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);const t=this._activeItem();if(t){const i=n.indexOf(t);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}}class O6 extends F6{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}function dk(e){return 0===e.buttons||0===e.detail}function uk(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const G6=new C("cdk-input-modality-detector-options"),q6={ignoreKeys:[18,17,224,91,16]},aa=pc({passive:!0,capture:!0});let W6=(()=>{class e{_platform=g(sn);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new an(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(i=>i===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=qi(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(dk(t)?"keyboard":"mouse"),this._mostRecentTarget=qi(t))};_onTouchstart=t=>{uk(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=qi(t))};constructor(){const t=g(q),i=g(ae),r=g(G6,{optional:!0});this._options={...q6,...r},this.modalityDetected=this._modality.pipe(KA(1)),this.modalityChanged=this.modalityDetected.pipe(QA()),this._platform.isBrowser&&t.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,aa),i.addEventListener("mousedown",this._onMousedown,aa),i.addEventListener("touchstart",this._onTouchstart,aa)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,aa),document.removeEventListener("mousedown",this._onMousedown,aa),document.removeEventListener("touchstart",this._onTouchstart,aa))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zh=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Zh||{});const Y6=new C("cdk-focus-monitor-default-options"),Yh=pc({passive:!0,capture:!0});let cy=(()=>{class e{_ngZone=g(q);_platform=g(sn);_inputModalityDetector=g(W6);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=g(ae,{optional:!0});_stopInputModalityDetector=new Q;constructor(){const t=g(Y6,{optional:!0});this._detectionMode=t?.detectionMode||Zh.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{for(let r=qi(t);r;r=r.parentElement)"focus"===t.type?this._onFocus(t,r):this._onBlur(t,r)};monitor(t,i=!1){const r=sa(t);if(!this._platform.isBrowser||1!==r.nodeType)return F();const o=function n6(e){if(function t6(){if(null==ey){const e=typeof document<"u"?document.head:null;ey=!(!e||!e.createShadowRoot&&!e.attachShadow)}return ey}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new Q,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=sa(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=sa(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Zh.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===Zh.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=qi(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Yh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Yh)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Xe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Yh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Yh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0;return!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yo=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(yo||{});const fk="cdk-high-contrast-black-on-white",pk="cdk-high-contrast-white-on-black",dy="cdk-high-contrast-active";let mk=(()=>{class e{_platform=g(sn);_hasCheckedHighContrastMode;_document=g(ae);_breakpointSubscription;constructor(){this._breakpointSubscription=g(T6).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return yo.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return yo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return yo.BLACK_ON_WHITE}return yo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(dy,fk,pk),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===yo.BLACK_ON_WHITE?t.add(dy,fk):i===yo.WHITE_ON_BLACK&&t.add(dy,pk)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),K6=(()=>{class e{constructor(){g(mk)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[D6]})}return e})();const uy={};let hy=(()=>{class e{_appId=g(or);getId(t){return"ng"!==this._appId&&(t+=this._appId),uy.hasOwnProperty(t)||(uy[t]=0),`${t}${uy[t]++}`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Q6=new C("cdk-dir-doc",{providedIn:"root",factory:function X6(){return g(ae)}}),J6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let fy=(()=>{class e{value="ltr";change=new fe;constructor(){const t=g(Q6,{optional:!0});t&&(this.value=function e9(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?J6.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vc=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})(),Zt=(()=>{class e{constructor(){g(mk)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[vc,vc]})}return e})(),gk=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),py=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return e})();var Nn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Nn||{});class a9{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Nn.HIDDEN;constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}}const _k=pc({passive:!0,capture:!0});class l9{_events=new Map;addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,_k)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,_k)))}_delegateEventHandler=n=>{const t=qi(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}const Kh={enterDuration:225,exitDuration:150},vk=pc({passive:!0,capture:!0}),yk=["mousedown","touchstart"],bk=["mouseup","mouseleave","touchend","touchcancel"];let d9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return e})();class Qh{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new l9;constructor(n,t,i,r,o){this._target=n,this._ngZone=t,this._platform=r,r.isBrowser&&(this._containerElement=sa(i)),o&&o.get(Dr).load(d9)}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...Kh,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function u9(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,p="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,m=new a9(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=Nn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const y=()=>{_&&(_.fallbackTimer=null),clearTimeout(E),this._finishRippleTransition(m)},v=()=>this._destroyRipple(m),E=setTimeout(v,c+100);d.addEventListener("transitionend",y),d.addEventListener("transitioncancel",v),_={onTransitionEnd:y,onTransitionCancel:v,fallbackTimer:E}}),this._activeRipples.set(m,_),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===Nn.FADING_OUT||n.state===Nn.HIDDEN)return;const t=n.element,i={...Kh,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=Nn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=sa(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,yk.forEach(i=>{Qh._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{bk.forEach(t=>{this._triggerElement.addEventListener(t,this,vk)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Nn.FADING_IN?this._startFadeOutTransition(n):n.state===Nn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Nn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Nn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),null!==t.fallbackTimer&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){const t=dk(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!uk(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(n.state===Nn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Nn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(yk.forEach(t=>Qh._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(bk.forEach(t=>n.removeEventListener(t,this,vk)),this._pointerUpEventsRegistered=!1))}}const wk=new C("mat-ripple-global-options");let Ck=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Zt]})}return e})();const Ek={capture:!0},Dk=["focus","mousedown","mouseenter","touchstart"],my="mat-ripple-loader-uninitialized",gy="mat-ripple-loader-class-name",xk="mat-ripple-loader-centered",Xh="mat-ripple-loader-disabled";let Sk=(()=>{class e{_document=g(ae,{optional:!0});_animationMode=g(Gr,{optional:!0});_globalRippleOptions=g(wk,{optional:!0});_platform=g(sn);_ngZone=g(q);_injector=g(Ee);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(const t of Dk)this._document?.addEventListener(t,this._onInteraction,Ek)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of Dk)this._document?.removeEventListener(i,this._onInteraction,Ek)}configureRipple(t,i){t.setAttribute(my,this._globalRippleOptions?.namespace??""),(i.className||!t.hasAttribute(gy))&&t.setAttribute(gy,i.className||""),i.centered&&t.setAttribute(xk,""),i.disabled&&t.setAttribute(Xh,"")}setDisabled(t,i){const r=this._hosts.get(t);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(t))):i?t.setAttribute(Xh,""):t.removeAttribute(Xh)}_onInteraction=t=>{const i=qi(t);if(i instanceof HTMLElement){const r=i.closest(`[${my}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(t){if(!this._document||this._hosts.has(t))return;t.querySelector(".mat-ripple")?.remove();const i=this._document.createElement("span");i.classList.add("mat-ripple",t.getAttribute(gy)),t.append(i);const r="NoopAnimations"===this._animationMode,o=this._globalRippleOptions,s=r?0:o?.animation?.enterDuration??Kh.enterDuration,a=r?0:o?.animation?.exitDuration??Kh.exitDuration,l={rippleDisabled:r||o?.disabled||t.hasAttribute(Xh),rippleConfig:{centered:t.hasAttribute(xk),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},c=new Qh(l,this._ngZone,i,this._platform,this._injector),d=!l.rippleDisabled;d&&c.setupTriggerEvents(t),this._hosts.set(t,{target:l,renderer:c,hasSetUpEvents:d}),t.removeAttribute(my)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(t))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Mk(e={}){const{connector:n=()=>new Q,resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return et((m,_)=>{c++,!u&&!d&&f();const y=l=l??n();_.add(()=>{c--,0===c&&!u&&!d&&(a=_y(p,r))}),y.subscribe(_),!s&&c>0&&(s=new Da({next:v=>y.next(v),error:v=>{u=!0,f(),a=_y(h,t,v),y.error(v)},complete:()=>{d=!0,f(),a=_y(h,i),y.complete()}}),Wt(m).subscribe(s))})(o)}}function _y(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Da({next:()=>{i.unsubscribe(),e()}});return Wt(n(...t)).subscribe(i)}class Jh{}class ef{}class Fn{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Fn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Fn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Fn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(n,t){const i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class h9{encodeKey(n){return Tk(n)}encodeValue(n){return Tk(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const p9=/%(\d[a-f0-9])/gi,m9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Tk(e){return encodeURIComponent(e).replace(p9,(n,t)=>m9[t]??n)}function tf(e){return`${e}`}class xr{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new h9,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function f9(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(tf):[tf(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new xr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(tf(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(tf(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class g9{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Ak(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function kk(e){return typeof Blob<"u"&&e instanceof Blob}function Rk(e){return typeof FormData<"u"&&e instanceof FormData}class bc{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,i,r){let o;if(this.url=t,this.method=n.toUpperCase(),function _9(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Fn,this.context??=new g9,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new xr,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ak(this.body)||kk(this.body)||Rk(this.body)||function v9(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof xr?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||Rk(this.body)?null:kk(this.body)?this.body.type||null:Ak(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof xr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,d=n.params||this.params;const u=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((f,h)=>f.set(h,n.setHeaders[h]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((f,h)=>f.set(h,n.setParams[h]),d)),new bc(t,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var Sr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Sr||{});class vy{headers;status;statusText;url;ok;type;constructor(n,t=200,i="OK"){this.headers=n.headers||new Fn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class nf extends vy{constructor(n={}){super(n)}type=Sr.ResponseHeader;clone(n={}){return new nf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class bo extends vy{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=Sr.Response;clone(n={}){return new bo({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ca extends vy{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function yy(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let wc=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof bc)o=t;else{let l,c;l=r.headers instanceof Fn?r.headers:new Fn(r.headers),r.params&&(c=r.params instanceof xr?r.params:new xr({fromObject:r.params})),o=new bc(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=F(o).pipe(Ws(l=>this.handler.handle(l)));if(t instanceof bc||"events"===r.observe)return s;const a=s.pipe(bn(l=>l instanceof bo));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(K(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(K(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(K(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(K(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new xr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,yy(r,i))}post(t,i,r={}){return this.request("POST",t,yy(r,i))}put(t,i,r={}){return this.request("PUT",t,yy(r,i))}static \u0275fac=function(i){return new(i||e)(M(Jh))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const w9=/^\)\]\}',?\n/;function Fk(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let by=(()=>{class e{fetchImpl=g(E9,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(q);handle(t){return new Ve(i=>{const r=new AbortController;return this.doRequest(t,r.signal,i).then(wy,o=>i.error(new ca({error:o}))),()=>r.abort()})}doRequest(t,i,r){var o=this;return ri(function*(){const s=o.createRequestInit(t);let a;try{const p=o.ngZone.runOutsideAngular(()=>o.fetchImpl(t.urlWithParams,{signal:i,...s}));(function D9(e){e.then(wy,wy)})(p),r.next({type:Sr.Sent}),a=yield p}catch(p){return void r.error(new ca({error:p,status:p.status??0,statusText:p.statusText,url:t.urlWithParams,headers:p.headers}))}const l=new Fn(a.headers),c=a.statusText,d=Fk(a)??t.urlWithParams;let u=a.status,f=null;if(t.reportProgress&&r.next(new nf({headers:l,status:u,statusText:c,url:d})),a.body){const p=a.headers.get("content-length"),m=[],_=a.body.getReader();let v,E,y=0;const I=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(ri(function*(){for(;;){const{done:W,value:J}=yield _.read();if(W)break;if(m.push(J),y+=J.length,t.reportProgress){E="text"===t.responseType?(E??"")+(v??=new TextDecoder).decode(J,{stream:!0}):void 0;const ye=()=>r.next({type:Sr.DownloadProgress,total:p?+p:void 0,loaded:y,partialText:E});I?I.run(ye):ye()}}}));const P=o.concatChunks(m,y);try{const W=a.headers.get("Content-Type")??"";f=o.parseBody(t,P,W)}catch(W){return void r.error(new ca({error:W,headers:new Fn(a.headers),status:a.status,statusText:a.statusText,url:Fk(a)??t.urlWithParams}))}}0===u&&(u=f?200:0),u>=200&&u<300?(r.next(new bo({body:f,headers:l,status:u,statusText:c,url:d})),r.complete()):r.error(new ca({error:f,headers:l,status:u,statusText:c,url:d}))})()}parseBody(t,i,r){switch(t.responseType){case"json":const o=(new TextDecoder).decode(i).replace(w9,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(t){const i={},r=t.withCredentials?"include":void 0;if(t.headers.forEach((o,s)=>i[o]=s.join(",")),t.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const o=t.detectContentTypeHeader();null!==o&&(i["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:r}}concatChunks(t,i){const r=new Uint8Array(i);let o=0;for(const s of t)r.set(s,o),o+=s.length;return r}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class E9{}function wy(){}function Ok(e,n){return n(e)}function x9(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const I9=new C(""),Cc=new C(""),Pk=new C(""),Lk=new C("",{providedIn:"root",factory:()=>!0});function M9(){let e=null;return(n,t)=>{null===e&&(e=(g(I9,{optional:!0})??[]).reduceRight(x9,Ok));const i=g(zn);if(g(Lk)){const o=i.add();return e(n,t).pipe(Zs(()=>i.remove(o)))}return e(n,t)}}let Vk=(()=>{class e extends Jh{backend;injector;chain=null;pendingTasks=g(zn);contributeToStability=g(Lk);constructor(t,i){super(),this.backend=t,this.injector=i}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Cc),...this.injector.get(Pk,[])]));this.chain=i.reduceRight((r,o)=>function S9(e,n,t){return(i,r)=>Sn(t,()=>n(i,o=>e(o,r)))}(r,o,this.injector),Ok)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Zs(()=>this.pendingTasks.remove(i)))}return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(M(ef),M(Dt))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const N9=/^\)\]\}',?\n/;let jk=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new b(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?lt(i.\u0275loadImpl()):F(null)).pipe(yn(()=>new Ve(o=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,_)=>s.setRequestHeader(m,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(t.responseType){const m=t.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",_=new Fn(s.getAllResponseHeaders()),y=function F9(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new nf({headers:_,status:s.status,statusText:m,url:y}),l},d=()=>{let{headers:m,status:_,statusText:y,url:v}=c(),E=null;204!==_&&(E=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=E?200:0);let I=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof E){const P=E;E=E.replace(N9,"");try{E=""!==E?JSON.parse(E):null}catch(W){E=P,I&&(I=!1,E={error:W,text:E})}}I?(o.next(new bo({body:E,headers:m,status:_,statusText:y,url:v||void 0})),o.complete()):o.error(new ca({error:E,headers:m,status:_,statusText:y,url:v||void 0}))},u=m=>{const{url:_}=c(),y=new ca({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(y)};let f=!1;const h=m=>{f||(o.next(c()),f=!0);let _={type:Sr.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),o.next(_)},p=m=>{let _={type:Sr.UploadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),o.next(_)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Sr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||e)(M(UM))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Cy=new C(""),Hk=new C("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Uk=new C("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zk{}let L9=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,i,r){this.doc=t,this.platform=i,this.cookieName=r}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=IM(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(M(ae),M(hi),M(Hk))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function V9(e,n){const t=e.url.toLowerCase();if(!g(Cy)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=g(zk).getToken(),r=g(Uk);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var Ir=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Ir||{});function wo(e,n){return{\u0275kind:e,\u0275providers:n}}function B9(...e){const n=[wc,jk,Vk,{provide:Jh,useExisting:Vk},{provide:ef,useFactory:()=>g(by,{optional:!0})??g(jk)},{provide:Cc,useValue:V9,multi:!0},{provide:Cy,useValue:!0},{provide:zk,useClass:L9}];for(const t of e)n.push(...t.\u0275providers);return function tr(e){return{\u0275providers:e}}(n)}const $k=new C(""),Y9=["*"];let sf;function Ec(e){return function K9(){if(void 0===sf&&(sf=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(sf=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return sf}()?.createHTML(e)||e}function Xk(e){return Error(`Unable to find icon with the name "${e}"`)}function Jk(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function eR(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Co{url;svgText;options;svgElement;constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let af=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Co(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(wt.HTML,r);if(!s)throw eR(r);const a=Ec(s);return this._addSvgIconConfig(t,i,new Co("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new Co(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(wt.HTML,i);if(!o)throw eR(i);const s=Ec(o);return this._addSvgIconSetConfig(t,new Co("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(wt.RESOURCE_URL,t);if(!i)throw Jk(t);const r=this._cachedIconsByUrl.get(i);return r?F(lf(r)):this._loadSvgIconFromConfig(new Co(t,null)).pipe(_t(o=>this._cachedIconsByUrl.set(i,o)),K(o=>lf(o)))}getNamedSvgIcon(t,i=""){const r=tR(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):Jl(Xk(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?F(lf(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(K(i=>lf(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?F(r):function Ik(...e){const n=NT(e),{args:t,keys:i}=FT(e),r=new Ve(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Wt(t[d]).subscribe(Ue(o,f=>{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?OT(i,a):a),o.complete())}))}});return n?r.pipe(Sv(n)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ho(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(wt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),F(null)})))).pipe(K(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw Xk(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(_t(i=>t.svgText=i),K(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?F(null):this._fetchIcon(t).pipe(_t(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Ec("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(Ec("<svg></svg>")),r=t.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(t.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(t,i){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),i&&i.viewBox&&t.setAttribute("viewBox",i.viewBox),t}_fetchIcon(t){const{url:i,options:r}=t,o=r?.withCredentials??!1;if(!this._httpClient)throw function Q9(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(wt.RESOURCE_URL,i);if(!s)throw Jk(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(K(c=>Ec(c)),Zs(()=>this._inProgressUrlFetches.delete(s)),Mk());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(tR(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,t);if(o)return J9(o)?new Co(o.url,null,o.options):new Co(o,null)}}static \u0275fac=function(i){return new(i||e)(M(wc,8),M(Kl),M(ae,8),M(fn))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lf(e){return e.cloneNode(!0)}function tR(e,n){return e+":"+n}function J9(e){return!(!e.url||!e.options)}const eZ=new C("MAT_ICON_DEFAULT_OPTIONS"),tZ=new C("mat-icon-location",{providedIn:"root",factory:function nZ(){const e=g(ae),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),nR=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],iZ=nR.map(e=>`[${e}]`).join(", "),rZ=/^url\(['"]?#(.*?)['"]?\)$/;let oZ=(()=>{class e{_elementRef=g(we);_iconRegistry=g(af);_location=g(tZ);_errorHandler=g(fn);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ge.EMPTY;constructor(){const t=g(new zP("aria-hidden"),{optional:!0}),i=g(eZ,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(iZ),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)nR.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(rZ):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(bi(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(ze("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Rl(r.color?"mat-"+r.color:""),It("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[2,"inline","inline",Te],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Wn],ngContentSelectors:Y9,decls:1,vars:0,template:function(i,r){1&i&&(Kn(),ot(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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})}return e})(),sZ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Zt]})}return e})();function Dc(...e){const n=Xl(e),t=function y5(e,n){return"number"==typeof xv(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Wt(i[0]):qs(t)(lt(i,n)):Jn}const ni=new C("");Promise.resolve(),Promise.resolve();var G=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(G||{});const Zi="*";function On(e){return{type:G.Style,styles:e,offset:null}}class kc{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class sN{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}const aN=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],lN=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function wY(e,n){1&e&&(A(0,"span",3),ot(1,1),N())}function CY(e,n){1&e&&(A(0,"span",6),ot(1,2),N())}function EY(e,n){1&e&&(A(0,"span",3),ot(1,1),A(2,"span",8),function Jw(){z.lFrame.currentNamespace="svg"}(),A(3,"svg",9),Ft(4,"path",10),N()()())}function DY(e,n){1&e&&(A(0,"span",6),ot(1,2),N())}const qy=["*"],wf=new C("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Wy=new C("MatChipAvatar"),Zy=new C("MatChipTrailingIcon"),Yy=new C("MatChipRemove"),Cf=new C("MatChip");let ha=(()=>{class e{_elementRef=g(we);_parentChip=g(Cf);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(t){this._disabled=t}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){g(Dr).load(py),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,r){1&i&&je("click",function(s){return r._handleClick(s)})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(ze("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),It("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",Te],tabIndex:[2,"tabIndex","tabIndex",t=>null==t?-1:aM(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[Wn]})}return e})(),fa=(()=>{class e{_changeDetectorRef=g(_r);_elementRef=g(we);_ngZone=g(q);_focusMonitor=g(cy);_globalRippleOptions=g(wk,{optional:!0});_document=g(ae);_onFocus=new Q;_onBlur=new Q;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=g(hy).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(t){this._disabled=t}_disabled=!1;removed=new fe;destroyed=new fe;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=g(Sk);_injector=g(Ee);constructor(){g(Dr).load(py),g(Dr).load(GA);const t=g(Gr,{optional:!0});this._animationsDisabled="NoopAnimations"===t,this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const t=this._elementRef.nativeElement;this._isBasicChip=t.hasAttribute(this.basicChipAttrName)||t.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Dc(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(t){(8===t.keyCode&&!t.repeat||46===t.keyCode)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===t||r.contains(t)})}_getActions(){const t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const i=null!==t;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):fi(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,o){if(1&i&&(_n(o,Wy,5),_n(o,Zy,5),_n(o,Yy,5),_n(o,Wy,5),_n(o,Zy,5),_n(o,Yy,5)),2&i){let s;Ot(s=Pt())&&(r.leadingIcon=s.first),Ot(s=Pt())&&(r.trailingIcon=s.first),Ot(s=Pt())&&(r.removeIcon=s.first),Ot(s=Pt())&&(r._allLeadingIcons=s),Ot(s=Pt())&&(r._allTrailingIcons=s),Ot(s=Pt())&&(r._allRemoveIcons=s)}},viewQuery:function(i,r){if(1&i&&Bu(ha,5),2&i){let o;Ot(o=Pt())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,r){1&i&&je("keydown",function(s){return r._handleKeydown(s)}),2&i&&(ro("id",r.id),ze("role",r.role)("aria-label",r.ariaLabel),Rl("mat-"+(r.color||"primary")),It("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",Te],highlighted:[2,"highlighted","highlighted",Te],disableRipple:[2,"disableRipple","disableRipple",Te],disabled:[2,"disabled","disabled",Te]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[pe([{provide:Cf,useExisting:e}]),Wn],ngContentSelectors:lN,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(Kn(aN),Ft(0,"span",0),A(1,"span",1)(2,"span",2),rt(3,wY,2,0,"span",3),A(4,"span",4),ot(5),Ft(6,"span",5),N()()(),rt(7,CY,2,0,"span",6)),2&i&&(L(2),re("isInteractive",!1),L(),yi(r.leadingIcon?3:-1),L(4),yi(r._hasTrailingIcon()?7:-1))},dependencies:[ha],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),Ky=(()=>{class e extends fa{_defaultOptions=g(wf,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=t,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(t){this._setSelectedState(t,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new fe;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(t=!1){return this._setSelectedState(!this.selected,t,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(t,i,r){t!==this.selected&&(this._selected=t,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275cmp=it({type:e,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(i,r){2&i&&(ro("id",r.id),ze("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),It("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--filter",!r._isBasicChip)("mdc-evolution-chip--selectable",!r._isBasicChip)("mat-mdc-chip-selected",r.selected)("mat-mdc-chip-multiple",r._chipListMultiple)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-with-avatar",r.leadingIcon)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--selected",r.selected)("mdc-evolution-chip--selecting",!r._animationsDisabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-primary-graphic",r._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",Te],selected:[2,"selected","selected",Te]},outputs:{selectionChange:"selectionChange"},features:[pe([{provide:fa,useExisting:e},{provide:Cf,useExisting:e}]),Wn,oe],ngContentSelectors:lN,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(i,r){1&i&&(Kn(aN),Ft(0,"span",0),A(1,"span",1)(2,"button",2),rt(3,EY,5,0,"span",3),A(4,"span",4),ot(5),Ft(6,"span",5),N()()(),rt(7,DY,2,0,"span",6),A(8,"span",7),se(9),N()),2&i&&(L(2),re("_allowFocusWhenDisabled",!0),ze("aria-selected",r.ariaSelected)("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),L(),yi(r._hasLeadingGraphic()?3:-1),L(4),yi(r._hasTrailingIcon()?7:-1),L(),re("id",r._ariaDescriptionId),L(),so(r.ariaDescription))},dependencies:[ha],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),Qy=(()=>{class e{_elementRef=g(we);_changeDetectorRef=g(_r);_dir=g(fy,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new Q;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get chipRemovedChanges(){return this._getChipStream(t=>t.removed)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(t){this._explicitRole=t}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new $a;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(t=>t._hasFocus())}_syncChipsState(){this._chips?.forEach(t=>{t._chipListDisabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&t<this._chips.length}_allowFocusEscape(){const t=this._elementRef.nativeElement.tabIndex;-1!==t&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=t))}_getChipStream(t){return this._chips.changes.pipe(uo(null),yn(()=>Dc(...this._chips.map(t))))}_originatesFromChip(t){let i=t.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(uo(this._chips)).subscribe(t=>{const i=[];t.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new O6(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(Xe(this._destroyed)).subscribe(({chip:t})=>{const i=t._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(Xe(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(uo(null),Xe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Xe(this._destroyed)).subscribe(t=>{const r=this._chips.toArray().indexOf(t.chip);this._isValidIndex(r)&&t.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[t];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-chip-set"]],contentQueries:function(i,r,o){if(1&i&&_n(o,fa,5),2&i){let s;Ot(s=Pt())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,r){1&i&&je("keydown",function(s){return r._handleKeydown(s)}),2&i&&ze("role",r.role)},inputs:{disabled:[2,"disabled","disabled",Te],role:"role",tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:aM(t)]},features:[Wn],ngContentSelectors:qy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Kn(),A(0,"div",0),ot(1),N())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return e})();class LY{source;value;constructor(n,t){this.source=n,this.value=t}}const VY={provide:ni,useExisting:Se(()=>Xy),multi:!0};let Xy=(()=>{class e extends Qy{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_pendingInitialValue;_defaultOptions=g(wf,{optional:!0});get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._syncListboxProperties()}_multiple=!1;get selected(){const t=this._chips.toArray().filter(i=>i.selected);return this.multiple?t:t[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(t){this._selectable=t,this._syncListboxProperties()}_selectable=!0;compareWith=(t,i)=>t===i;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(t=>t.selectionChange)}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}_value;change=new fe;_chips=void 0;ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(uo(null),Xe(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(Xe(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Xe(this._destroyed)).subscribe(t=>{this.multiple||this._chips.forEach(i=>{i!==t.source&&i._setSelectedState(!1,!1,!1)}),t.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const t=this._getFirstSelectedChip();t&&!t.disabled?t.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(t){this._chips?this._setSelectionByValue(t,!1):null!=t&&(this._pendingInitialValue=t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_setSelectionByValue(t,i=!0){this._clearSelection(),Array.isArray(t)?t.forEach(r=>this._selectValue(r,i)):this._selectValue(t,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(t){9===t.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let t=null;t=Array.isArray(this.selected)?this.selected.map(i=>i.value):this.selected?this.selected.value:void 0,this._value=t,this.change.emit(new LY(this,t)),this._onChange(t),this._changeDetectorRef.markForCheck()}_clearSelection(t){this._chips.forEach(i=>{i!==t&&i.deselect()})}_selectValue(t,i){const r=this._chips.find(o=>null!=o.value&&this.compareWith(o.value,t));return r&&(i?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(t=>{t._chipListMultiple=this.multiple,t.chipListSelectable=this._selectable,t._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,t._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(t){return!t.isInteractive}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275cmp=it({type:e,selectors:[["mat-chip-listbox"]],contentQueries:function(i,r,o){if(1&i&&_n(o,Ky,5),2&i){let s;Ot(s=Pt())&&(r._chips=s)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(i,r){1&i&&je("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(s){return r._keydown(s)}),2&i&&(ro("tabIndex",r.disabled||r.empty?-1:r.tabIndex),ze("role",r.role)("aria-describedby",r._ariaDescribedby||null)("aria-required",r.role?r.required:null)("aria-disabled",r.disabled.toString())("aria-multiselectable",r.multiple)("aria-orientation",r.ariaOrientation),It("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[2,"multiple","multiple",Te],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",Te],compareWith:"compareWith",required:[2,"required","required",Te],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Te],value:"value"},outputs:{change:"change"},features:[pe([VY]),Wn,oe],ngContentSelectors:qy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Kn(),A(0,"div",0),ot(1),N())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return e})(),jY=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[gk,{provide:wf,useValue:{separatorKeyCodes:[13]}}],imports:[Zt,Ck,Zt]})}return e})();const HY=["addListener","removeListener"],UY=["addEventListener","removeEventListener"],zY=["on","off"];function Jy(e,n,t,i){if(ue(t)&&(i=t,t=void 0),i)return Jy(e,n,t).pipe(Sv(i));const[r,o]=function qY(e){return ue(e.addEventListener)&&ue(e.removeEventListener)}(e)?UY.map(s=>a=>e[s](n,a,t)):function $Y(e){return ue(e.addListener)&&ue(e.removeListener)}(e)?HY.map(hN(e,n)):function GY(e){return ue(e.on)&&ue(e.off)}(e)?zY.map(hN(e,n)):[];if(!r&&Dv(e))return Tt(s=>Jy(s,n,t))(Wt(e));if(!r)throw new TypeError("Invalid event target");return new Ve(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function hN(e,n){return t=>i=>e[t](n,i)}const Rc={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Rc;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Ge(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Rc;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Rc;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class ZY extends oy{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class WY extends iy{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Rc.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Rc.cancelAnimationFrame(t),n._scheduled=void 0)}});let eb,KY=1;const Df={};function fN(e){return e in Df&&(delete Df[e],!0)}const QY={setImmediate(e){const n=KY++;return Df[n]=!0,eb||(eb=Promise.resolve()),eb.then(()=>fN(n)&&e()),n},clearImmediate(e){fN(e)}},{setImmediate:XY,clearImmediate:JY}=QY,xf={setImmediate(...e){const{delegate:n}=xf;return(n?.setImmediate||XY)(...e)},clearImmediate(e){const{delegate:n}=xf;return(n?.clearImmediate||JY)(e)},delegate:void 0};new class tK extends oy{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class eK extends iy{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=xf.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(xf.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function pN(e=0,n,t=w6){let i=-1;return null!=n&&(RT(n)?t=n:i=n),new Ve(r=>{let o=function rK(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function mN(e,n=sy){return function iK(e){return et((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(Ue(t,c=>{i=!0,r=c,o||Wt(e(c)).subscribe(o=Ue(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>pN(e,n))}let gN=(()=>{class e{_ngZone=g(q);_platform=g(sn);_document=g(ae,{optional:!0});constructor(){}_scrolled=new Q;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ve(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(mN(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):F()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(bn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=sa(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Jy(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_N=(()=>{class e{_platform=g(sn);_viewportSize;_change=new Q;_changeListener=t=>{this._change.next(t)};_document=g(ae,{optional:!0});constructor(){g(q).runOutsideAngular(()=>{if(this._platform.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(mN(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nc=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})(),vN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[vc,Nc,vc,Nc]})}return e})();class tb{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class yN extends tb{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.projectableNodes=o}}class aK extends tb{templateRef;viewContainerRef;context;injector;constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class lK extends tb{element;constructor(n){super(),this.element=n instanceof we?n.nativeElement:n}}class cK{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof yN?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof aK?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof lK?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class dK extends cK{outletElement;_appRef;_defaultInjector;_document;constructor(n,t,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let t;if(n.viewContainerRef){const i=n.injector||n.viewContainerRef.injector,r=i.get(ur,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else t=fM(n.component,{elementInjector:n.injector||this._defaultInjector||Ee.NULL,environmentInjector:this._appRef.injector,projectableNodes:n.projectableNodes||void 0}),this._appRef.attachView(t.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(t.hostView),t.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{const t=n.element,i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let bN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();const wN=e6();class uK{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ct(-this._previousScrollPosition.left),n.style.top=ct(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wN&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wN&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class hK{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(bn(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class CN{enable(){}disable(){}attach(){}}function nb(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function EN(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class fK{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();nb(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let pK=(()=>{class e{_scrollDispatcher=g(gN);_viewportRuler=g(_N);_ngZone=g(q);_document=g(ae);constructor(){}noop=()=>new CN;close=t=>new hK(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new uK(this._viewportRuler,this._document);reposition=t=>new fK(this._scrollDispatcher,this._viewportRuler,this._ngZone,t);static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class mK{positionStrategy;scrollStrategy=new CN;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class gK{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let DN=(()=>{class e{_attachedOverlays=[];_document=g(ae);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_K=(()=>{class e extends DN{_ngZone=g(q,{optional:!0});add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=t=>{const i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){const o=i[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>o.next(t)):o.next(t);break}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vK=(()=>{class e extends DN{_platform=g(sn);_ngZone=g(q,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=t=>{this._pointerDownEventTarget=qi(t)};_clickListener=t=>{const i=qi(t),r="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){const a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(xN(a.overlayElement,i)||xN(a.overlayElement,r))break;const l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xN(e,n){const t=typeof ShadowRoot<"u"&&ShadowRoot;let i=n;for(;i;){if(i===e)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let SN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return e})(),IN=(()=>{class e{_platform=g(sn);_containerElement;_document=g(ae);_styleLoader=g(Dr);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||$A()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(t),$A()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(SN)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class yK{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_backdropElement=null;_backdropTimeout;_backdropClick=new Q;_attachments=new Q;_detachments=new Q;_positionStrategy;_scrollStrategy;_locationChanges=Ge.EMPTY;_backdropClickHandler=n=>this._backdropClick.next(n);_backdropTransitionendHandler=n=>{this._disposeBackdrop(n.target)};_previousHostParent;_keydownEvents=new Q;_outsidePointerEvents=new Q;_renders=new Q;_afterRenderRef;_afterNextRenderRef;constructor(n,t,i,r,o,s,a,l,c,d=!1,u){this._portalOutlet=n,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Lt(()=>function lE(e,n){!n?.injector&&Zo();const t=n?.injector??g(Ee);return bt("NgAfterRender"),cE(e,t,n,!1)}(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=fi(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=ct(this._config.width),n.height=ct(this._config.height),n.minWidth=ct(this._config.minWidth),n.minHeight=ct(this._config.minHeight),n.maxWidth=ct(this._config.maxWidth),n.maxHeight=ct(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const r=Gh(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const n=this._renders.pipe(Xe(Dc(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const MN="cdk-overlay-connected-position-bounding-box",bK=/([A-Za-z%]+)$/;class wK{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new Q;_resizeSubscription=Ge.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(MN),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Io(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(MN),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=AN(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,f,h),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=TN(this._overlayRef.getConfig().minHeight),a=TN(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=AN(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.x<this._viewportMargin?o.left-i.left-n.x:0,u=r.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function CK(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new gK(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,r=this._isRtl();let o,s,a,d,u,f;if("top"===t.overlayY)s=n.y,o=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-n.y+i.top,n.y),p=this._lastBoundingBoxSize.height;o=2*h,s=n.y-h,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=ct(i.height),r.top=ct(i.top),r.bottom=ct(i.bottom),r.width=ct(i.width),r.left=ct(i.left),r.right=ct(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=ct(o)),s&&(r.maxWidth=ct(s))}this._lastBoundingBoxSize=i,Io(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Io(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Io(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Io(i,this._getExactOverlayY(t,n,d)),Io(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ct(s.maxWidth):o&&(i.maxWidth="")),Io(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=ct(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=ct(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:EN(n,i),isOriginOutsideView:nb(n,i),isOverlayClipped:EN(t,i),isOverlayOutsideView:nb(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Gh(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof we)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function Io(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function TN(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(bK);return t&&"px"!==t?null:parseFloat(n)}return e||null}function AN(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const kN="cdk-global-overlay-wrapper";class EK{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(kN),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",m="";l?m="flex-start":"center"===d?(m="center",f?p=u:h=u):f?"left"===d||"end"===d?(m="flex-end",h=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",h=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(kN),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let DK=(()=>{class e{_viewportRuler=g(_N);_document=g(ae);_platform=g(sn);_overlayContainer=g(IN);constructor(){}global(){return new EK}flexibleConnectedTo(t){return new wK(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pa=(()=>{class e{scrollStrategies=g(pK);_overlayContainer=g(IN);_positionBuilder=g(DK);_keyboardDispatcher=g(_K);_injector=g(Ee);_ngZone=g(q);_document=g(ae);_directionality=g(fy);_location=g(zs);_outsideClickDispatcher=g(vK);_animationsModuleType=g(Gr,{optional:!0});_idGenerator=g(hy);_appRef;_styleLoader=g(Dr);constructor(){}create(t){this._styleLoader.load(SN);const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new mK(t);return s.direction=s.direction||this._directionality.value,new yK(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(Dt))}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(rn)),new dK(t,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const IK={provide:new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(pa);return()=>e.scrollStrategies.reposition()}}),deps:[pa],useFactory:function SK(e){return()=>e.scrollStrategies.reposition()}};let MK=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[pa,IK],imports:[vc,bN,vN,vN]})}return e})();const TK=["tooltip"],NN=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(pa);return()=>e.scrollStrategies.reposition({scrollThrottle:20})}}),kK={provide:NN,deps:[pa],useFactory:function AK(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},NK=new C("mat-tooltip-default-options",{providedIn:"root",factory:function RK(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),FN="tooltip-panel",ON=pc({passive:!0});let VK=(()=>{class e{_overlay=g(pa);_elementRef=g(we);_scrollDispatcher=g(gN);_viewContainerRef=g(nn);_ngZone=g(q);_platform=g(sn);_ariaDescriber=g(R6);_focusMonitor=g(cy);_dir=g(fy);_injector=g(Ee);_defaultOptions=g(NK,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=g(NN);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=BK;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=JA(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){const i=JA(t);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=ek(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=ek(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){const i=this._message;this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=g(ae);_touchstartTimeout=null;_destroyed=new Q;constructor(){const t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._dir.change.pipe(Xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Xe(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{t.removeEventListener(i,r,ON)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new yN(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof we)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(Xe(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${FN}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Xe(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!zh(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(t){const r=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=r?-8:8:"end"===t.originX&&(t.offsetX=r?8:-8),t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),fi(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:r,originY:o}=t;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${FN}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(i=t),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const i=t.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,ON)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,r=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===t||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){2&i&&It("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return e})(),BK=(()=>{class e{_changeDetectorRef=g(_r);_elementRef=g(we);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new Q;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){const t=g(Gr,{optional:!0});this._animationsDisabled="NoopAnimations"===t}show(t){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:r),i.classList.add(t?r:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(1&i&&Bu(TK,7),2&i){let o;Ot(o=Pt())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){1&i&&je("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(1&i){const o=Fu();A(0,"div",1,0),je("animationend",function(a){return vd(o),yd(r._handleAnimationEnd(a))}),A(2,"div",2),se(3),N()()}2&i&&(It("mdc-tooltip--multiline",r._isMultiline),re("ngClass",r.tooltipClass),L(3),so(r.message))},dependencies:[TM],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return e})(),jK=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[kK],imports:[K6,MK,Zt,Zt,Nc]})}return e})();function HK(e,n){if(1&e){const t=Fu();A(0,"a",10),je("click",function(r){return vd(t),yd(r.stopPropagation())}),se(1),N()}if(2&e){const t=He().$implicit;__("href","https://store.steampowered.com/app/"+t.titleId,_s),L(),An(" ",t.game_name," ")}}function UK(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit;L(),An(" ",t.game_name," ")}}function zK(e,n){if(1&e){const t=Fu();A(0,"mat-chip-option",11),je("click",function(r){const o=vd(t).$implicit,s=He().$implicit;return yd(He().onEngineClicked(r,s,o.key))}),se(1),N()}if(2&e){const t=n.$implicit,i=He().$implicit;re("selected",He().titleEnginePicked[i.titleId]==t.key)("value",t.key),L(),An(" ",t.key," ")}}function $K(e,n){1&e&&(A(0,"mat-icon",29),se(1," sports_esports "),N()),2&e&&zt("color","darkgray")}function GK(e,n){1&e&&(A(0,"mat-icon",30),se(1," sports_esports "),N()),2&e&&zt("color","red")}function qK(e,n){1&e&&(A(0,"mat-icon",31),se(1," sports_esports "),N()),2&e&&zt("color","green")}function WK(e,n){1&e&&(A(0,"mat-icon",32),se(1," sports_esports "),N()),2&e&&zt("color","yellow")}function ZK(e,n){1&e&&(A(0,"mat-icon",33),se(1," sports_esports "),N()),2&e&&zt("color","yellow")}function YK(e,n){1&e&&(A(0,"mat-icon",34),se(1," sports_esports "),N()),2&e&&zt("color","yellow")}function KK(e,n){1&e&&(A(0,"mat-icon",35),se(1," cloud_off "),N()),2&e&&zt("color","darkgray")}function QK(e,n){if(1&e&&(A(0,"mat-icon",14),se(1," cloud "),N()),2&e){const t=He(2).$implicit,i=He();zt("color","red"),re("matTooltip","Game Has Cloud Saves But Not Supported Due to "+i.translate_key(t.cloudIssueReason))}}function XK(e,n){1&e&&(A(0,"mat-icon",36),se(1," cloud "),N()),2&e&&zt("color","darkgray")}function JK(e,n){1&e&&(A(0,"mat-icon",37),se(1," cloud "),N()),2&e&&zt("color","green")}function eQ(e,n){if(1&e&&(A(0,"div",9)(1,"div",25),se(2,"Version"),N(),A(3,"div",26),se(4),N()()),2&e){const t=He(2).$implicit,i=He();L(4),An(" ",t.engines[i.titleEnginePicked[t.titleId]].version," ")}}function tQ(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit;L(),An(" ",t.label," ")}}function nQ(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit,i=He(5);L(),An(" ",i.NOTICE_MAP[t.value]," ")}}function iQ(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit,i=He(5);L(),An(" ",i.NOTICE_MAP[t.key]," ")}}function rQ(e,n){if(1&e&&(A(0,"li"),rt(1,tQ,2,1,"div",6)(2,nQ,2,1,"div",6)(3,iQ,2,1,"div",6),N()),2&e){const t=n.$implicit;L(),re("ngIf",t.label),L(),re("ngIf",t.value),L(),re("ngIf",t.key&&!t.value&&!t.label)}}function oQ(e,n){if(1&e&&(Ls(0),rt(1,rQ,4,3,"li",38),Vs()),2&e){const t=He(3).$implicit,i=He();L(),re("ngForOf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function sQ(e,n){if(1&e&&(Ls(0),A(1,"div",12)(2,"ul"),rt(3,oQ,2,1,"ng-container",6),N()(),Vs()),2&e){const t=He(2).$implicit,i=He();L(3),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function aQ(e,n){if(1&e&&(Ls(0),A(1,"div",12)(2,"div",9)(3,"div",13)(4,"mat-icon",14),se(5," install_desktop "),N(),A(6,"mat-icon",14),se(7," desktop_windows "),N(),A(8,"mat-icon",14),se(9," construction "),N(),rt(10,$K,2,2,"mat-icon",15)(11,GK,2,2,"mat-icon",16)(12,qK,2,2,"mat-icon",17)(13,WK,2,2,"mat-icon",18)(14,ZK,2,2,"mat-icon",19)(15,YK,2,2,"mat-icon",20)(16,KK,2,2,"mat-icon",21)(17,QK,2,3,"mat-icon",22)(18,XK,2,2,"mat-icon",23)(19,JK,2,2,"mat-icon",24),N()(),A(20,"div",9)(21,"div",25),se(22,"Engine"),N(),A(23,"div",26)(24,"a",27),se(25),N()()(),A(26,"div",9)(27,"div",25),se(28,"License"),N(),A(29,"div",26)(30,"a",27),se(31),N()()(),rt(32,eQ,5,1,"div",28),A(33,"div",9)(34,"div",25),se(35,"Contributor"),N(),A(36,"div",26)(37,"a",27),se(38),N()()()(),rt(39,sQ,4,1,"ng-container",6),Vs()),2&e){const t=He().$implicit,i=He();L(4),zt("color",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"yellow":"green"),re("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"Manual Steps Required":"Automatic Installation"),L(2),zt("color",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"red":"green"),re("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"Steam Overlay Disabled":"Steam Overlay Enabled"),L(2),zt("color",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"yellow":"green"),re("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"Engine May Have Missing Features":"Engine Considered Feature Complete"),L(2),re("ngIf",!(t.engines[i.titleEnginePicked[t.titleId]].controllerNotSupported||t.engines[i.titleEnginePicked[t.titleId]].controllerSupported||t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedSteamChanges||t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame||t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGameAndSteam)),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerNotSupported),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&t.controllerSteamDefault),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&t.controllerSteamDefault),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&!t.controllerSteamDefault),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&!t.controllerSteamDefault),L(),re("ngIf",t.cloudNotAvailable),L(),re("ngIf",t.cloudAvailable&&t.cloudIssue),L(),re("ngIf",t.cloudAvailable&&!t.cloudSupported&&!t.cloudIssue),L(),re("ngIf",t.cloudAvailable&&t.cloudSupported),L(5),re("href",t.engines[i.titleEnginePicked[t.titleId]].engine_link,_s),L(),so(i.titleEnginePicked[t.titleId]),L(5),re("href",t.engines[i.titleEnginePicked[t.titleId]].license_link,_s),L(),An(" ",t.engines[i.titleEnginePicked[t.titleId]].license," "),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].version),L(5),re("href",t.engines[i.titleEnginePicked[t.titleId]].author_link,_s),L(),An(" ",t.engines[i.titleEnginePicked[t.titleId]].author," "),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices||t.notices)}}function lQ(e,n){if(1&e&&(A(0,"div",2)(1,"div",3)(2,"div",4),rt(3,HK,2,2,"a",5)(4,UK,2,1,"div",6),N(),A(5,"div",7)(6,"mat-chip-listbox"),rt(7,zK,2,3,"mat-chip-option",8),Hu(8,"keyvalue"),N()()(),A(9,"div",9),rt(10,aQ,40,27,"ng-container",6),N()()),2&e){const t=n.$implicit,i=He();L(3),re("ngIf",!t.isDefault),L(),re("ngIf",t.isDefault),L(3),re("ngForOf",Uu(8,4,t.engines)),L(3),re("ngIf",i.titleEnginePicked[t.titleId])}}let cQ=(()=>{class e{constructor(){this.titles=[],this.titleEnginePicked={},this.NOTICE_MAP={},this.runControllerCheck=!0}ngOnInit(){var t=this;return ri(function*(){const i=yield fetch("/packagessniper_v2.json");t.titles=yield i.json(),t.enginesToMap(),t.noticeTranslationToMap(),t.sortTitles()})()}noticeTranslationToMap(){for(let t of this.titles.notice_translation)this.NOTICE_MAP[t.key]=t.value}enginesToMap(){const t={};for(let i of this.titles.engines)t[i.engine_name]=i;this.titles.engines=t}translate_key(t){return this.NOTICE_MAP[t]}processTitle(t){const i=t.app_id;if(t.engines={},t.cloudAvailable&&!t.cloudSupported&&!t.cloudIssue&&console.error(`title of ${t.game_name} has unknown cloud save feature state`),t.engine_name){const o=t.engine_name;this.titles.engines[o]?t.engines[o]=this.titles.engines[o]:console.error(`engineName of ${o} not found from title of ${i}`)}else if(t.engine_names)for(let o of t.engine_names)this.titles.engines[o]?t.engines[o]=this.titles.engines[o]:console.error(`engineName of ${o} not found from title of ${i}`);else if(t.choices)for(let o of t.choices){const s=o.name;this.titles.engines[s]?t.engines[s]=this.titles.engines[s]:o.engine_name&&this.titles.engines[o.engine_name]?t.engines[o.engine_name]=this.titles.engines[o.engine_name]:console.error(`engineName of ${s} not found from title of ${i}`)}else console.error(`missing information for ${i}`);const r=Object.keys(t.engines);r.sort(),this.titleEnginePicked[i]=r[0];for(let o in t.engines){const s=JSON.parse(JSON.stringify(t.engines[o]));if(t.notices){s.notices||(s.notices=[]);for(let a of t.notices)s.notices.push(a)}if(t.removeNotices){const a=[];for(let l of s.notices){let c=!0;for(let d of t.removeNotices)if(l.key===d){c=!1;break}c&&a.push(l)}s.notices=a}if(s.notices)for(let a of s.notices)"manual_steps"===a.key&&(s.manualSteps=!0),"steam_overlay_disabled"===a.key&&(s.steamOverlayDisabled=!0),"in_progress"===a.key&&(s.inProgress=!0);t.engines[o]=s}return t}sortTitles(){const t=[];let i=this.titles.default_engine;if(this.runControllerCheck)for(const r in this.titles.engines){const o=this.titles.engines[r];let s=!1;for(let a of Object.keys(o))if(-1!==a.indexOf("controller")){s=!0;break}s||console.error(`missing controller data for ${o.engine_name}`)}for(let r of this.titles.games)r.titleId=r.app_id,r=this.processTitle(r),t.push(r);t.sort(function(r,o){return r.game_name<o.game_name?-1:r.game_name>o.game_name?1:0}),i&&(i.isDefault=!0,i.titleId="default",i.app_id="default",i=this.processTitle(i),t.unshift(i)),this.titles=t}onEngineClicked(t,i,r){this.titleEnginePicked[i.titleId]=r}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["app-packages"]],standalone:!1,decls:2,vars:1,consts:[[1,"container-fluid","page-wrapper"],["class","row game-row",4,"ngFor","ngForOf"],[1,"row","game-row"],[1,"row","header-wrapper"],[1,"col-sm-6","game-title"],["target","_blank",3,"href","click",4,"ngIf"],[4,"ngIf"],[1,"col-sm-6","game-choices"],[3,"selected","value","click",4,"ngFor","ngForOf"],[1,"row"],["target","_blank",3,"click","href"],[3,"click","selected","value"],[1,"col-12","col-md-6"],[1,"col-12","status-icons"],[3,"matTooltip"],["matTooltip","Unknown Controller Support",3,"color",4,"ngIf"],["matTooltip","Engine Does Not Have Native Controller Support",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support And Works Out of the Box",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game Settings",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support But Needs Manual Steam Settings",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game and Steam Settings",3,"color",4,"ngIf"],["matTooltip","Game Does Not Have Cloud Saves",3,"color",4,"ngIf"],[3,"matTooltip","color",4,"ngIf"],["matTooltip","Game Has Cloud Saves But Unknown Status",3,"color",4,"ngIf"],["matTooltip","Cloud Saves Supported",3,"color",4,"ngIf"],[1,"col-5","col-md-4","col-lg-3"],[1,"col-7","col-md-8"],["target","_blank",3,"href"],["class","row",4,"ngIf"],["matTooltip","Unknown Controller Support"],["matTooltip","Engine Does Not Have Native Controller Support"],["matTooltip","Engine Has Native Controller Support And Works Out of the Box"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game Settings"],["matTooltip","Engine Has Native Controller Support But Needs Manual Steam Settings"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game and Steam Settings"],["matTooltip","Game Does Not Have Cloud Saves"],["matTooltip","Game Has Cloud Saves But Unknown Status"],["matTooltip","Cloud Saves Supported"],[4,"ngFor","ngForOf"]],template:function(i,r){1&i&&(A(0,"div",0),rt(1,lQ,11,6,"div",1),N()),2&i&&(L(),re("ngForOf",r.titles))},dependencies:[kM,NM,oZ,Xy,Ky,VK,LM],styles:[".packages-wrapper[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .packages-wrapper[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.packages-wrapper[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.packages-wrapper[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%]{margin-left:8px}.mat-chip[_ngcontent-%COMP%]{cursor:pointer!important}.page-wrapper[_ngcontent-%COMP%]{padding-top:1rem;color:#fff;max-width:1200px}.header-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6;padding-bottom:.5rem;margin-bottom:.5rem;padding-top:.5rem}.game-row[_ngcontent-%COMP%]{background:#424242;padding:0 0 0 24px;margin-bottom:1rem;margin-left:15px;margin-right:15px;padding-bottom:.5rem}.game-title[_ngcontent-%COMP%], .engine-choices[_ngcontent-%COMP%]{align-self:center;margin-bottom:.5rem}div[_ngcontent-%COMP%]{word-break:break-word}.status-icons[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:.625rem}"]})}}return e})();class dQ extends Q{constructor(n=1/0,t=1/0,i=ry){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}let Mo={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function PN(e){Mo=e}const Fc={exec:()=>null};function xe(e,n=""){let t="string"==typeof e?e:e.source;const i={replace:(r,o)=>{let s="string"==typeof o?o:o.source;return s=s.replace(Kt.caret,"$1"),t=t.replace(r,s),i},getRegex:()=>new RegExp(t,n)};return i}const Kt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Oc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,LN=/(?:[*+-]|\d{1,9}[.)])/,VN=xe(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,LN).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),rb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ob=/(?!\s*\])(?:\\.|[^\[\]\\])+/,_Q=xe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ob).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vQ=xe(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,LN).getRegex(),Sf="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",sb=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,yQ=xe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",sb).replace("tag",Sf).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),BN=xe(rb).replace("hr",Oc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sf).getRegex(),ab={blockquote:xe(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",BN).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:_Q,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Oc,html:yQ,lheading:VN,list:vQ,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:BN,table:Fc,text:/^[^\n]+/},jN=xe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Oc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sf).getRegex(),bQ={...ab,table:jN,paragraph:xe(rb).replace("hr",Oc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",jN).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sf).getRegex()},wQ={...ab,html:xe("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",sb).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Fc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:xe(rb).replace("hr",Oc).replace("heading"," *#{1,6} *[^\n]").replace("lheading",VN).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},HN=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,UN=/^( {2,}|\\)\n(?!\s*$)/,If=/[\p{P}\p{S}]/u,lb=/[\s\p{P}\p{S}]/u,zN=/[^\s\p{P}\p{S}]/u,DQ=xe(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,lb).getRegex(),SQ=xe(/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,"u").replace(/punct/g,If).getRegex(),IQ=xe("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,zN).replace(/punctSpace/g,lb).replace(/punct/g,If).getRegex(),MQ=xe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,zN).replace(/punctSpace/g,lb).replace(/punct/g,If).getRegex(),TQ=xe(/\\(punct)/,"gu").replace(/punct/g,If).getRegex(),AQ=xe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),kQ=xe(sb).replace("(?:--\x3e|$)","--\x3e").getRegex(),RQ=xe("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",kQ).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Mf=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,NQ=xe(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Mf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),$N=xe(/^!?\[(label)\]\[(ref)\]/).replace("label",Mf).replace("ref",ob).getRegex(),GN=xe(/^!?\[(ref)\](?:\[\])?/).replace("ref",ob).getRegex(),cb={_backpedal:Fc,anyPunctuation:TQ,autolink:AQ,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:UN,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Fc,emStrongLDelim:SQ,emStrongRDelimAst:IQ,emStrongRDelimUnd:MQ,escape:HN,link:NQ,nolink:GN,punctuation:DQ,reflink:$N,reflinkSearch:xe("reflink|nolink(?!\\()","g").replace("reflink",$N).replace("nolink",GN).getRegex(),tag:RQ,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Fc},OQ={...cb,link:xe(/^!?\[(label)\]\((.*?)\)/).replace("label",Mf).getRegex(),reflink:xe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Mf).getRegex()},db={...cb,escape:xe(HN).replace("])","~|])").getRegex(),url:xe(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},PQ={...db,br:xe(UN).replace("{2,}","*").getRegex(),text:xe(db.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Tf={normal:ab,gfm:bQ,pedantic:wQ},Pc={normal:cb,gfm:db,breaks:PQ,pedantic:OQ},LQ={"&":"&","<":"<",">":">",'"':""","'":"'"},qN=e=>LQ[e];function xi(e,n){if(n){if(Kt.escapeTest.test(e))return e.replace(Kt.escapeReplace,qN)}else if(Kt.escapeTestNoEncode.test(e))return e.replace(Kt.escapeReplaceNoEncode,qN);return e}function WN(e){try{e=encodeURI(e).replace(Kt.percentDecode,"%")}catch{return null}return e}function ZN(e,n){const i=e.replace(Kt.findPipe,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&"\\"===a[c];)l=!l;return l?"|":" |"}).split(Kt.splitPipe);let r=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(Kt.slashPipe,"|");return i}function Lc(e,n,t){const i=e.length;if(0===i)return"";let r=0;for(;r<i;){const o=e.charAt(i-r-1);if(o!==n||t){if(o===n||!t)break;r++}else r++}return e.slice(0,i-r)}function YN(e,n,t,i,r){const o=n.href,s=n.title||null,a=e[1].replace(r.other.outputLinkReplace,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const l={type:"link",raw:t,href:o,title:s,text:a,tokens:i.inlineTokens(a)};return i.state.inLink=!1,l}return{type:"image",raw:t,href:o,title:s,text:a}}class Af{options;rules;lexer;constructor(n){this.options=n||Mo}space(n){const t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const i=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Lc(i,"\n")}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const i=t[0],r=function BQ(e,n,t){const i=e.match(t.other.indentCodeCompensation);if(null===i)return n;const r=i[1];return n.split("\n").map(o=>{const s=o.match(t.other.beginningSpace);if(null===s)return o;const[a]=s;return a.length>=r.length?o.slice(r.length):o}).join("\n")}(i,t[3]||"",this.rules);return{type:"code",raw:i,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let i=t[2].trim();if(this.rules.other.endingHash.test(i)){const r=Lc(i,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(i=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:Lc(t[0],"\n")}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){let i=Lc(t[0],"\n").split("\n"),r="",o="";const s=[];for(;i.length>0;){let a=!1;const l=[];let c;for(c=0;c<i.length;c++)if(this.rules.other.blockquoteStart.test(i[c]))l.push(i[c]),a=!0;else{if(a)break;l.push(i[c])}i=i.slice(c);const d=l.join("\n"),u=d.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}\n${d}`:d,o=o?`${o}\n${u}`:u;const f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,s,!0),this.lexer.state.top=f,0===i.length)break;const h=s.at(-1);if("code"===h?.type)break;if("blockquote"===h?.type){const p=h,m=p.raw+"\n"+i.join("\n"),_=this.blockquote(m);s[s.length-1]=_,r=r.substring(0,r.length-p.raw.length)+_.raw,o=o.substring(0,o.length-p.text.length)+_.text;break}if("list"!==h?.type);else{const p=h,m=p.raw+"\n"+i.join("\n"),_=this.list(m);s[s.length-1]=_,r=r.substring(0,r.length-h.raw.length)+_.raw,o=o.substring(0,o.length-p.raw.length)+_.raw,i=m.substring(s.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:s,text:o}}}list(n){let t=this.rules.block.list.exec(n);if(t){let i=t[1].trim();const r=i.length>1,o={type:"list",raw:"",ordered:r,start:r?+i.slice(0,-1):"",loose:!1,items:[]};i=r?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=r?i:"[*+-]");const s=this.rules.other.listItemRegex(i);let a=!1;for(;n;){let c=!1,d="",u="";if(!(t=s.exec(n))||this.rules.block.hr.test(n))break;d=t[0],n=n.substring(d.length);let f=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,v=>" ".repeat(3*v.length)),h=n.split("\n",1)[0],p=!f.trim(),m=0;if(this.options.pedantic?(m=2,u=f.trimStart()):p?m=t[1].length+1:(m=t[2].search(this.rules.other.nonSpaceChar),m=m>4?1:m,u=f.slice(m),m+=t[1].length),p&&this.rules.other.blankLine.test(h)&&(d+=h+"\n",n=n.substring(h.length+1),c=!0),!c){const v=this.rules.other.nextBulletRegex(m),E=this.rules.other.hrRegex(m),I=this.rules.other.fencesBeginRegex(m),P=this.rules.other.headingBeginRegex(m),W=this.rules.other.htmlBeginRegex(m);for(;n;){const J=n.split("\n",1)[0];let ye;if(h=J,this.options.pedantic?(h=h.replace(this.rules.other.listReplaceNesting," "),ye=h):ye=h.replace(this.rules.other.tabCharGlobal," "),I.test(h)||P.test(h)||W.test(h)||v.test(h)||E.test(h))break;if(ye.search(this.rules.other.nonSpaceChar)>=m||!h.trim())u+="\n"+ye.slice(m);else{if(p||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||I.test(f)||P.test(f)||E.test(f))break;u+="\n"+h}!p&&!h.trim()&&(p=!0),d+=J+"\n",n=n.substring(J.length+1),f=ye.slice(m)}}o.loose||(a?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(a=!0));let y,_=null;this.options.gfm&&(_=this.rules.other.listIsTask.exec(u),_&&(y="[ ] "!==_[0],u=u.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:d,task:!!_,checked:y,loose:!1,text:u,tokens:[]}),o.raw+=d}const l=o.items.at(-1);l&&(l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd()),o.raw=o.raw.trimEnd();for(let c=0;c<o.items.length;c++)if(this.lexer.state.top=!1,o.items[c].tokens=this.lexer.blockTokens(o.items[c].text,[]),!o.loose){const d=o.items[c].tokens.filter(f=>"space"===f.type),u=d.length>0&&d.some(f=>this.rules.other.anyLine.test(f.raw));o.loose=u}if(o.loose)for(let c=0;c<o.items.length;c++)o.items[c].loose=!0;return o}}html(n){const t=this.rules.block.html.exec(n);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(n){const t=this.rules.block.def.exec(n);if(t){const i=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:i,raw:t[0],href:r,title:o}}}table(n){const t=this.rules.block.table.exec(n);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;const i=ZN(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(i.length===r.length){for(const a of r)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<i.length;a++)s.header.push({text:i[a],tokens:this.lexer.inline(i[a]),header:!0,align:s.align[a]});for(const a of o)s.rows.push(ZN(a,s.header.length).map((l,c)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[c]})));return s}}lheading(n){const t=this.rules.block.lheading.exec(n);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(n){const t=this.rules.block.paragraph.exec(n);if(t){const i="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:i,tokens:this.lexer.inline(i)}}}text(n){const t=this.rules.block.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(n){const t=this.rules.inline.escape.exec(n);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(n){const t=this.rules.inline.tag.exec(n);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const i=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(i)){if(!this.rules.other.endAngleBracket.test(i))return;const s=Lc(i.slice(0,-1),"\\");if((i.length-s.length)%2==0)return}else{const s=function VQ(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===n[0])t++;else if(e[i]===n[1]&&(t--,t<0))return i;return-1}(t[2],"()");if(s>-1){const l=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let r=t[2],o="";if(this.options.pedantic){const s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],o=s[3])}else o=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(i)?r.slice(1):r.slice(1,-1)),YN(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(n,t){let i;if((i=this.rules.inline.reflink.exec(n))||(i=this.rules.inline.nolink.exec(n))){const o=t[(i[2]||i[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!o){const s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return YN(i,o,i[0],this.lexer,this.rules)}}emStrong(n,t,i=""){let r=this.rules.inline.emStrongLDelim.exec(n);if(!(!r||r[3]&&i.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[2]||!i||this.rules.inline.punctuation.exec(i))){const s=[...r[0]].length-1;let a,l,c=s,d=0;const u="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*n.length+s);null!=(r=u.exec(t));){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=[...a].length,r[3]||r[4]){c+=l;continue}if((r[5]||r[6])&&s%3&&!((s+l)%3)){d+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+d);const f=[...r[0]][0].length,h=n.slice(0,s+r.index+f+l);if(Math.min(s,l)%2){const m=h.slice(1,-1);return{type:"em",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}const p=h.slice(2,-2);return{type:"strong",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let i=t[2].replace(this.rules.other.newLineCharGlobal," ");const r=this.rules.other.nonSpaceChar.test(i),o=this.rules.other.startingSpaceChar.test(i)&&this.rules.other.endingSpaceChar.test(i);return r&&o&&(i=i.substring(1,i.length-1)),{type:"codespan",raw:t[0],text:i}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let i,r;return"@"===t[2]?(i=t[1],r="mailto:"+i):(i=t[1],r=i),{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}url(n){let t;if(t=this.rules.inline.url.exec(n)){let i,r;if("@"===t[2])i=t[0],r="mailto:"+i;else{let o;do{o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(o!==t[0]);i=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],escaped:this.lexer.state.inRawBlock}}}class Pn{tokens;options;state;tokenizer;inlineQueue;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Mo,this.options.tokenizer=this.options.tokenizer||new Af,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:Kt,block:Tf.normal,inline:Pc.normal};this.options.pedantic?(t.block=Tf.pedantic,t.inline=Pc.pedantic):this.options.gfm&&(t.block=Tf.gfm,t.inline=this.options.breaks?Pc.breaks:Pc.gfm),this.tokenizer.rules=t}static get rules(){return{block:Tf,inline:Pc}}static lex(n,t){return new Pn(t).lex(n)}static lexInline(n,t){return new Pn(t).inlineTokens(n)}lex(n){n=n.replace(Kt.carriageReturn,"\n"),this.blockTokens(n,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const i=this.inlineQueue[t];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(n,t=[],i=!1){for(this.options.pedantic&&(n=n.replace(Kt.tabCharGlobal," ").replace(Kt.spaceLine,""));n;){let r;if(this.options.extensions?.block?.some(s=>!!(r=s.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length);const s=t.at(-1);1===r.raw.length&&void 0!==s?s.raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length);const s=t.at(-1);"paragraph"===s?.type||"text"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.at(-1).src=s.text):t.push(r);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length);const s=t.at(-1);"paragraph"===s?.type||"text"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),t.push(r);continue}let o=n;if(this.options.extensions?.startBlock){let s=1/0;const a=n.slice(1);let l;this.options.extensions.startBlock.forEach(c=>{l=c.call({lexer:this},a),"number"==typeof l&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(o=n.substring(0,s+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){const s=t.at(-1);i&&"paragraph"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(r),i=o.length!==n.length,n=n.substring(r.raw.length)}else if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length);const s=t.at(-1);"text"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(r)}else if(n){const s="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let i=n,r=null;if(this.tokens.links){const a=Object.keys(this.tokens.links);if(a.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(i));)a.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(i));)i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(i));)i=i.slice(0,r.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,s="";for(;n;){let a;if(o||(s=""),o=!1,this.options.extensions?.inline?.some(c=>!!(a=c.call({lexer:this},n,t))&&(n=n.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.escape(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(a.raw.length);const c=t.at(-1);"text"===a.type&&"text"===c?.type?(c.raw+=a.raw,c.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(n,i,s)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(n)){n=n.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(n))){n=n.substring(a.raw.length),t.push(a);continue}let l=n;if(this.options.extensions?.startInline){let c=1/0;const d=n.slice(1);let u;this.options.extensions.startInline.forEach(f=>{u=f.call({lexer:this},d),"number"==typeof u&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(l=n.substring(0,c+1))}if(a=this.tokenizer.inlineText(l)){n=n.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(s=a.raw.slice(-1)),o=!0;const c=t.at(-1);"text"===c?.type?(c.raw+=a.raw,c.text+=a.text):t.push(a)}else if(n){const c="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}return t}}class To{options;parser;constructor(n){this.options=n||Mo}space(n){return""}code({text:n,lang:t,escaped:i}){const r=(t||"").match(Kt.notSpaceStart)?.[0],o=n.replace(Kt.endingNewline,"")+"\n";return r?'<pre><code class="language-'+xi(r)+'">'+(i?o:xi(o,!0))+"</code></pre>\n":"<pre><code>"+(i?o:xi(o,!0))+"</code></pre>\n"}blockquote({tokens:n}){return`<blockquote>\n${this.parser.parse(n)}</blockquote>\n`}html({text:n}){return n}heading({tokens:n,depth:t}){return`<h${t}>${this.parser.parseInline(n)}</h${t}>\n`}hr(n){return"<hr>\n"}list(n){const t=n.ordered,i=n.start;let r="";for(let a=0;a<n.items.length;a++)r+=this.listitem(n.items[a]);const o=t?"ol":"ul";return"<"+o+(t&&1!==i?' start="'+i+'"':"")+">\n"+r+"</"+o+">\n"}listitem(n){let t="";if(n.task){const i=this.checkbox({checked:!!n.checked});n.loose?"paragraph"===n.tokens[0]?.type?(n.tokens[0].text=i+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=i+" "+xi(n.tokens[0].tokens[0].text),n.tokens[0].tokens[0].escaped=!0)):n.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):t+=i+" "}return t+=this.parser.parse(n.tokens,!!n.loose),`<li>${t}</li>\n`}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>\n`}table(n){let t="",i="";for(let o=0;o<n.header.length;o++)i+=this.tablecell(n.header[o]);t+=this.tablerow({text:i});let r="";for(let o=0;o<n.rows.length;o++){const s=n.rows[o];i="";for(let a=0;a<s.length;a++)i+=this.tablecell(s[a]);r+=this.tablerow({text:i})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:n}){return`<tr>\n${n}</tr>\n`}tablecell(n){const t=this.parser.parseInline(n.tokens),i=n.header?"th":"td";return(n.align?`<${i} align="${n.align}">`:`<${i}>`)+t+`</${i}>\n`}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${xi(n,!0)}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:t,tokens:i}){const r=this.parser.parseInline(i),o=WN(n);if(null===o)return r;let s='<a href="'+(n=o)+'"';return t&&(s+=' title="'+xi(t)+'"'),s+=">"+r+"</a>",s}image({href:n,title:t,text:i}){const r=WN(n);if(null===r)return xi(i);let o=`<img src="${n=r}" alt="${i}"`;return t&&(o+=` title="${xi(t)}"`),o+=">",o}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):"escaped"in n&&n.escaped?n.text:xi(n.text)}}class ub{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}}class Ln{options;renderer;textRenderer;constructor(n){this.options=n||Mo,this.options.renderer=this.options.renderer||new To,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ub}static parse(n,t){return new Ln(t).parse(n)}static parseInline(n,t){return new Ln(t).parseInline(n)}parse(n,t=!0){let i="";for(let r=0;r<n.length;r++){const o=n[r];if(this.options.extensions?.renderers?.[o.type]){const a=o,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==l||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){i+=l||"";continue}}const s=o;switch(s.type){case"space":i+=this.renderer.space(s);continue;case"hr":i+=this.renderer.hr(s);continue;case"heading":i+=this.renderer.heading(s);continue;case"code":i+=this.renderer.code(s);continue;case"table":i+=this.renderer.table(s);continue;case"blockquote":i+=this.renderer.blockquote(s);continue;case"list":i+=this.renderer.list(s);continue;case"html":i+=this.renderer.html(s);continue;case"paragraph":i+=this.renderer.paragraph(s);continue;case"text":{let a=s,l=this.renderer.text(a);for(;r+1<n.length&&"text"===n[r+1].type;)a=n[++r],l+="\n"+this.renderer.text(a);i+=t?this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):l;continue}default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}parseInline(n,t=this.renderer){let i="";for(let r=0;r<n.length;r++){const o=n[r];if(this.options.extensions?.renderers?.[o.type]){const a=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==a||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){i+=a||"";continue}}const s=o;switch(s.type){case"escape":case"text":i+=t.text(s);break;case"html":i+=t.html(s);break;case"link":i+=t.link(s);break;case"image":i+=t.image(s);break;case"strong":i+=t.strong(s);break;case"em":i+=t.em(s);break;case"codespan":i+=t.codespan(s);break;case"br":i+=t.br(s);break;case"del":i+=t.del(s);break;default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}}class kf{options;block;constructor(n){this.options=n||Mo}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}provideLexer(){return this.block?Pn.lex:Pn.lexInline}provideParser(){return this.block?Ln.parse:Ln.parseInline}}const Ao=new class jQ{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Ln;Renderer=To;TextRenderer=ub;Lexer=Pn;Tokenizer=Af;Hooks=kf;constructor(...n){this.use(...n)}walkTokens(n,t){let i=[];for(const r of n)switch(i=i.concat(t.call(this,r)),r.type){case"table":{const o=r;for(const s of o.header)i=i.concat(this.walkTokens(s.tokens,t));for(const s of o.rows)for(const a of s)i=i.concat(this.walkTokens(a.tokens,t));break}case"list":i=i.concat(this.walkTokens(r.items,t));break;default:{const o=r;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(s=>{const a=o[s].flat(1/0);i=i.concat(this.walkTokens(a,t))}):o.tokens&&(i=i.concat(this.walkTokens(o.tokens,t)))}}return i}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(i=>{const r={...i};if(r.async=this.defaults.async||r.async||!1,i.extensions&&(i.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const s=t.renderers[o.name];t.renderers[o.name]=s?function(...a){let l=o.renderer.apply(this,a);return!1===l&&(l=s.apply(this,a)),l}:o.renderer}if("tokenizer"in o){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");const s=t[o.level];s?s.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&("block"===o.level?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:"inline"===o.level&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),r.extensions=t),i.renderer){const o=this.defaults.renderer||new To(this.defaults);for(const s in i.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const l=i.renderer[s],c=o[s];o[s]=(...d)=>{let u=l.apply(o,d);return!1===u&&(u=c.apply(o,d)),u||""}}r.renderer=o}if(i.tokenizer){const o=this.defaults.tokenizer||new Af(this.defaults);for(const s in i.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const l=i.tokenizer[s],c=o[s];o[s]=(...d)=>{let u=l.apply(o,d);return!1===u&&(u=c.apply(o,d)),u}}r.tokenizer=o}if(i.hooks){const o=this.defaults.hooks||new kf;for(const s in i.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;const l=i.hooks[s],c=o[s];o[s]=kf.passThroughHooks.has(s)?d=>{if(this.defaults.async)return Promise.resolve(l.call(o,d)).then(f=>c.call(o,f));const u=l.call(o,d);return c.call(o,u)}:(...d)=>{let u=l.apply(o,d);return!1===u&&(u=c.apply(o,d)),u}}r.hooks=o}if(i.walkTokens){const o=this.defaults.walkTokens,s=i.walkTokens;r.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...r}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Pn.lex(n,t??this.defaults)}parser(n,t){return Ln.parse(n,t??this.defaults)}parseMarkdown(n){return(i,r)=>{const o={...r},s={...this.defaults,...o},a=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===o.async)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof i>"u"||null===i)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=n);const l=s.hooks?s.hooks.provideLexer():n?Pn.lex:Pn.lexInline,c=s.hooks?s.hooks.provideParser():n?Ln.parse:Ln.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(i):i).then(d=>l(d,s)).then(d=>s.hooks?s.hooks.processAllTokens(d):d).then(d=>s.walkTokens?Promise.all(this.walkTokens(d,s.walkTokens)).then(()=>d):d).then(d=>c(d,s)).then(d=>s.hooks?s.hooks.postprocess(d):d).catch(a);try{s.hooks&&(i=s.hooks.preprocess(i));let d=l(i,s);s.hooks&&(d=s.hooks.processAllTokens(d)),s.walkTokens&&this.walkTokens(d,s.walkTokens);let u=c(d,s);return s.hooks&&(u=s.hooks.postprocess(u)),u}catch(d){return a(d)}}}onError(n,t){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const r="<p>An error occurred:</p><pre>"+xi(i.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(i);throw i}}};function me(e,n){return Ao.parse(e,n)}me.options=me.setOptions=function(e){return Ao.setOptions(e),PN(me.defaults=Ao.defaults),me},me.getDefaults=function ib(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},me.defaults=Mo,me.use=function(...e){return Ao.use(...e),PN(me.defaults=Ao.defaults),me},me.walkTokens=function(e,n){return Ao.walkTokens(e,n)},me.parseInline=Ao.parseInline,me.Parser=Ln,me.parser=Ln.parse,me.Renderer=To,me.TextRenderer=ub,me.Lexer=Pn,me.lexer=Pn.lex,me.Tokenizer=Af,me.Hooks=kf,me.parse=me;const HQ=["*"];let KN=(()=>{class e{constructor(){this._buttonClick$=new Q,this.copied$=this._buttonClick$.pipe(yn(()=>Dc(F(!0),pN(3e3).pipe(jT(!1)))),QA(),function uQ(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,Mk({connector:()=>new dQ(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}(1)),this.copiedText$=this.copied$.pipe(uo(!1),K(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,r){1&i&&(A(0,"button",0),Hu(1,"async"),je("click",function(){return r.onCopyToClipboardClick()}),se(2),Hu(3,"async"),N()),2&i&&(It("copied",Uu(1,3,r.copied$)),L(2),so(Uu(3,5,r.copiedText$)))},dependencies:[PM],encapsulation:2,changeDetection:0})}}return e})();const $Q=new C("CLIPBOARD_OPTIONS");var hb=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(hb||{});const QN=new C("MARKED_EXTENSIONS"),qQ=new C("MARKED_OPTIONS"),WQ=new C("MERMAID_OPTIONS"),XN=new C("SECURITY_CONTEXT");let fb=(()=>{class e{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,i,r,o,s,a,l,c){this.clipboardOptions=t,this.extensions=i,this.mermaidOptions=o,this.platform=s,this.securityContext=a,this.http=l,this.sanitizer=c,this.DEFAULT_MARKED_OPTIONS={renderer:new To},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new Q,this.reload$=this._reload$.asObservable(),this.options=r}parse(t,i=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:r,inline:o,emoji:s,mermaid:a,disableSanitizer:l}=i,c={...this.options,...i.markedOptions},d=c.renderer||this.renderer||new To;this.extensions&&(this.renderer=this.extendsRendererForExtensions(d)),a&&(this.renderer=this.extendsRendererForMermaid(d));const u=this.trimIndentation(t),f=r?this.decodeHtml(u):u,h=s?this.parseEmoji(f):f,p=this.parseMarked(h,c,o);return(l?p:this.sanitizer.sanitize(this.securityContext,p))||""}render(t,i=this.DEFAULT_RENDER_OPTIONS,r){const{clipboard:o,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:d}=i;a&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...l}),c&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...this.mermaidOptions,...d}),o&&this.renderClipboard(t,r,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(K(i=>this.handleExtension(t,i)))}highlight(t){if(!yr(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const i=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!yr(this.platform))return t;const i=document.createElement("textarea");return i.innerHTML=t,i.value}extendsRendererForExtensions(t){const i=t;return!0===i.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&me.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const i=t;if(!0===i.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const r=t.code;return t.code=o=>"mermaid"===o.lang?`<div class="mermaid">${o.text}</div>`:r(o),i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,i){const r=t.lastIndexOf("://"),o=r>-1?t.substring(r+4):t,s=o.lastIndexOf("/"),a=s>-1?o.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&"md"!==c?"```"+c+"\n"+i+"\n```":i}parseMarked(t,i,r=!1){if(i.renderer){const o={...i.renderer};delete o.\u0275NgxMarkdownRendererExtendedForExtensions,delete o.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,me.use({renderer:o})}return r?me.parseInline(t,i):me.parse(t,i)}parseEmoji(t){if(!yr(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,i){if(yr(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,i)}}renderClipboard(t,i,r){if(!yr(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!i)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:o,buttonTemplate:s}=r,a=t.querySelectorAll("pre");for(let l=0;l<a.length;l++){const c=a.item(l),d=document.createElement("div");d.style.position="relative",c.parentNode.insertBefore(d,c),d.appendChild(c);const u=document.createElement("div");let f,h;if(u.classList.add("markdown-clipboard-toolbar"),u.style.position="absolute",u.style.top=".5em",u.style.right=".5em",u.style.zIndex="1",d.insertAdjacentElement("beforeend",u),d.onmouseenter=()=>u.classList.add("hover"),d.onmouseleave=()=>u.classList.remove("hover"),o){const p=i.createComponent(o);f=p.hostView,p.changeDetectorRef.markForCheck()}else if(s)f=i.createEmbeddedView(s);else{const p=i.createComponent(KN);f=p.hostView,p.changeDetectorRef.markForCheck()}f.rootNodes.forEach(p=>{u.appendChild(p),h=new ClipboardJS(p,{text:()=>c.innerText})}),f.onDestroy(()=>h.destroy())}}renderMermaid(t,i=this.DEFAULT_MERMAID_OPTIONS){if(!yr(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const r=t.querySelectorAll(".mermaid");0!==r.length&&(mermaid.initialize(i),mermaid.run({nodes:r}))}trimIndentation(t){if(!t)return"";let i;return t.split("\n").map(r=>{let o=i;return r.length>0&&(o=isNaN(o)?r.search(/\S|$/):Math.min(r.search(/\S|$/),o)),isNaN(i)&&(i=o),o?r.substring(o):r}).join("\n")}static{this.\u0275fac=function(i){return new(i||e)(M($Q,8),M(QN,8),M(qQ,8),M(WQ,8),M(hi),M(XN),M(wc,8),M(Kl))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),JN=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,r){this.element=t,this.markdownService=i,this.viewContainerRef=r,this.error=new fe,this.load=new fe,this.ready=new fe,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new Q}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Xe(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){var r=this;return ri(function*(){const o={decodeHtml:i,inline:r.inline,emoji:r.emoji,mermaid:r.mermaid,disableSanitizer:r.disableSanitizer},s={clipboard:r.clipboard,clipboardOptions:r.getClipboardOptions(),katex:r.katex,katexOptions:r.katexOptions,mermaid:r.mermaid,mermaidOptions:r.mermaidOptions},a=yield r.markdownService.parse(t,o);r.element.nativeElement.innerHTML=a,r.handlePlugins(),r.markdownService.render(r.element.nativeElement,s,r.viewContainerRef),r.ready.emit()})()}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,hb.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,hb.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){const r=t.querySelectorAll("pre");for(let o=0;o<r.length;o++){const s=i instanceof Array?i:[i];r.item(o).classList.add(...s)}}setPluginOptions(t,i){const r=t.querySelectorAll("pre");for(let o=0;o<r.length;o++)Object.keys(i).forEach(s=>{const a=i[s];if(a){const l=this.toLispCase(s);r.item(o).setAttribute(l,a.toString())}})}toLispCase(t){const i=t.match(/([A-Z])/g);if(!i)return t;let r=t.toString();for(let o=0,s=i.length;o<s;o++)r=r.replace(new RegExp(i[o]),"-"+i[o].toLowerCase());return"-"===r.slice(0,1)&&(r=r.slice(1)),r}static{this.\u0275fac=function(i){return new(i||e)(D(we),D(fb),D(nn))}}static{this.\u0275cmp=it({type:e,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[un],ngContentSelectors:HQ,decls:1,vars:0,template:function(i,r){1&i&&(Kn(),ot(0))},encapsulation:2})}}return e})();function t7(e){return[fb,e?.loader??[],e?.clipboardOptions??[],e?.markedOptions??[],e?.mermaidOptions??[],{provide:QN,useValue:e?.markedExtensions??[]},{provide:XN,useValue:e?.sanitize??wt.HTML}]}let n7=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[t7(t)]}}static forChild(){return{ngModule:e}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ne({type:e})}static{this.\u0275inj=Ie({imports:[BM]})}}return e})();const i7=[{path:"packages",component:cQ},{path:"**",component:(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["app-home"]],standalone:!1,decls:3,vars:0,consts:[[1,"container-fluid","page-wrapper"],[1,"content"],["src","README.md"]],template:function(i,r){1&i&&(A(0,"div",0)(1,"div",1),Ft(2,"markdown",2),N()())},dependencies:[JN],styles:[".content[_ngcontent-%COMP%]{background:#424242;padding:0 0 0 16px;margin-top:1rem;margin-bottom:1rem;padding-bottom:.5rem;color:#fff}"]})}}return e})()}];let r7=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ne({type:e})}static{this.\u0275inj=Ie({imports:[HA.forRoot(i7),HA]})}}return e})();const o7=["*",[["mat-toolbar-row"]]],s7=["*","mat-toolbar-row"];let a7=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return e})(),l7=(()=>{class e{_elementRef=g(we);_platform=g(sn);_document=g(ae);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(1&i&&_n(o,a7,5),2&i){let s;Ot(s=Pt())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){2&i&&(Rl(r.color?"mat-"+r.color:""),It("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",0===r._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:s7,decls:2,vars:0,template:function(i,r){1&i&&(Kn(o7),ot(0),ot(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return e})(),c7=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Zt]})}return e})();const d7=["mat-button",""],u7=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],h7=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],f7=new C("MAT_BUTTON_CONFIG"),p7=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let m7=(()=>{class e{_elementRef=g(we);_platform=g(sn);_ngZone=g(q);_animationMode=g(Gr,{optional:!0});_focusMonitor=g(cy);_rippleLoader=g(Sk);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){g(Dr).load(py);const t=g(f7,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=t?.disabledInteractive??!1,this.color=t?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(const{attribute:o,mdcClasses:s}of p7)i.hasAttribute(o)&&r.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Te],disabled:[2,"disabled","disabled",Te],ariaDisabled:[2,"aria-disabled","ariaDisabled",Te],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Te]},features:[Wn]})}return e})(),g7=(()=>{class e extends m7{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275cmp=it({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){2&i&&(ze("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Rl(r.color?"mat-"+r.color:""),It("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[oe],attrs:d7,ngContentSelectors:h7,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){1&i&&(Kn(u7),Ft(0,"span",0),ot(1),A(2,"span",1),ot(3,1),N(),ot(4,2),Ft(5,"span",2)(6,"span",3)),2&i&&It("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.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-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.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}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return e})(),v7=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Ck,Zt]})}return e})(),y7=(()=>{class e{constructor(){this.title="webui"}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["app-root"]],standalone:!1,decls:9,vars:0,consts:[[1,"example-spacer"],["color","primary","routerLink","/","mat-raised-button","","aria-label","Client",1,"client-button"],["color","primary","routerLink","/packages","mat-raised-button","","aria-label","Packages"]],template:function(i,r){1&i&&(A(0,"mat-toolbar")(1,"span"),se(2,"Luxtorpeda"),N(),Ft(3,"span",0),A(4,"button",1),se(5," Client "),N(),A(6,"button",2),se(7," Packages "),N()(),Ft(8,"router-outlet"))},dependencies:[Hv,jh,l7,g7],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}mat-toolbar[_ngcontent-%COMP%]{background:#303030!important;border-bottom:1px solid gray}.client-button[_ngcontent-%COMP%]{margin-right:.625rem}"]})}}return e})();function eF(e){return new b(3e3,!1)}function Ar(e){switch(e.length){case 0:return new kc;case 1:return e[0];default:return new sN(e)}}function tF(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let p=h,m=f;if("offset"!==h)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(h);break;case Zi:m=i.get(h);break;default:m=e.normalizeStyleValue(h,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function U7(){return new b(3502,!1)}();return o}function pb(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&mb(t,"start",e)));break;case"done":e.onDone(()=>i(t&&mb(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&mb(t,"destroy",e)))}}function mb(e,n,t){const o=gb(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function gb(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Cn(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function nF(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const eX=typeof document>"u"?null:document.documentElement;function _b(e){const n=e.parentNode||e.host||null;return n===eX?null:n}let ko=null,iF=!1;function rF(e,n){for(;n;){if(n===e)return!0;n=_b(n)}return!1}function oF(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let vb=(()=>{class e{validateStyleProperty(t){return function nX(e){ko||(ko=function iX(){return typeof document<"u"?document.body:null}()||{},iF=!!ko.style&&"WebkitAppearance"in ko.style);let n=!0;return ko.style&&!function tX(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in ko.style,!n&&iF&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in ko.style)),n}(t)}containsElement(t,i){return rF(t,i)}getParentElement(t){return _b(t)}query(t,i,r){return oF(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new kc(r,o)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class yb{static NOOP=new vb}class bb{}const wb="ng-enter",Rf="ng-leave",Nf="ng-trigger",Ff=".ng-trigger",aF="ng-animating",Cb=".ng-animating";function Ki(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Eb(parseFloat(n[1]),n[2])}function Eb(e,n){return"s"===n?1e3*e:e}function Of(e,n,t){return e.hasOwnProperty("duration")?e:function aX(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(eF()),{duration:0,delay:0,easing:""};r=Eb(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Eb(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function b7(){return new b(3100,!1)}()),a=!0),o<0&&(n.push(function w7(){return new b(3101,!1)}()),a=!0),a&&n.splice(l,0,eF())}return{duration:r,delay:o,easing:s}}(e,n,t)}function Si(e,n,t){n.forEach((i,r)=>{const o=xb(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Ro(e,n){n.forEach((t,i)=>{const r=xb(i);e.style[r]=""})}function Vc(e){return Array.isArray(e)?1==e.length?e[0]:function lY(e,n=null){return{type:G.Sequence,steps:e,options:n}}(e):e}const Db=new RegExp("{{\\s*(.+?)\\s*}}","g");function cF(e){let n=[];if("string"==typeof e){let t;for(;t=Db.exec(e);)n.push(t[1]);Db.lastIndex=0}return n}function Bc(e,n,t){const i=`${e}`,r=i.replace(Db,(o,s)=>{let a=n[s];return null==a&&(t.push(function E7(){return new b(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const dX=/-+([a-z0-9])/g;function xb(e){return e.replace(dX,(...n)=>n[1].toUpperCase())}function En(e,n,t){switch(n.type){case G.Trigger:return e.visitTrigger(n,t);case G.State:return e.visitState(n,t);case G.Transition:return e.visitTransition(n,t);case G.Sequence:return e.visitSequence(n,t);case G.Group:return e.visitGroup(n,t);case G.Animate:return e.visitAnimate(n,t);case G.Keyframes:return e.visitKeyframes(n,t);case G.Style:return e.visitStyle(n,t);case G.Reference:return e.visitReference(n,t);case G.AnimateChild:return e.visitAnimateChild(n,t);case G.AnimateRef:return e.visitAnimateRef(n,t);case G.Query:return e.visitQuery(n,t);case G.Stagger:return e.visitStagger(n,t);default:throw function D7(){return new b(3004,!1)}()}}function Sb(e,n){return window.getComputedStyle(e)[n]}const fX=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 dF extends bb{normalizePropertyName(n,t){return xb(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(fX.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function x7(){return new b(3005,!1)}())}return s+o}}const Lf=new Set(["true","1"]),Vf=new Set(["false","0"]);function uF(e,n){const t=Lf.has(e)||Vf.has(e),i=Lf.has(n)||Vf.has(n);return(r,o)=>{let s="*"==e||e==r,a="*"==n||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?Lf.has(e):Vf.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Lf.has(n):Vf.has(n)),s&&a}}const _X=new RegExp("s*:selfs*,?","g");function Ib(e,n,t,i){return new vX(e).build(n,t,i)}class vX{_driver;constructor(n){this._driver=n}build(n,t,i){const r=new wX(t);return this._resetContextStyleTimingState(r),En(this,Vc(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function S7(){return new b(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==G.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==G.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function I7(){return new b(3007,!1)}())}),{type:G.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{cF(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function M7(){return new b(3008,!1)}(0,o.values()))}return{type:G.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=En(this,Vc(n.animation),t),r=function pX(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function mX(e,n,t){if(":"==e[0]){const l=function gX(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function V7(){return new b(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function L7(){return new b(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(uF(r,s)),"<"==o[0]&&("*"!=r||"*"!=s)&&n.push(uF(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:G.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:No(n.options)}}visitSequence(n,t){return{type:G.Sequence,steps:n.steps.map(i=>En(this,i,t)),options:No(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=En(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:G.Group,steps:o,options:No(n.options)}}visitAnimate(n,t){const i=function EX(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Mb(Of(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Mb(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Of(t,n);return Mb(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:On({});if(o.type==G.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=On(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:G.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Zi?i.push(a):t.errors.push(new b(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:G.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function A7(){return new b(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function cX(e,n,t){const i=n.params||{},r=cF(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function C7(){return new b(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:G.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function k7(){return new b(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(y=>{const v=this._makeStyleAst(y,t);let E=null!=v.offset?v.offset:function CX(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(v.styles),I=0;return null!=E&&(o++,I=v.offset=E),l=l||I<0||I>1,a=a||I<c,c=I,s.push(I),v});l&&t.errors.push(function R7(){return new b(3012,!1)}()),a&&t.errors.push(function N7(){return new b(3200,!1)}());const u=n.steps.length;let f=0;o>0&&o<u?t.errors.push(function F7(){return new b(3202,!1)}()):0==o&&(f=1/(u-1));const h=u-1,p=t.currentTime,m=t.currentAnimateTimings,_=m.duration;return d.forEach((y,v)=>{const E=f>0?v==h?1:f*v:s[v],I=E*_;t.currentTime=p+m.delay+I,m.duration=I,this._validateStyleAst(y,t),y.offset=E,i.styles.push(y)}),i}visitReference(n,t){return{type:G.Reference,animation:En(this,Vc(n.animation),t),options:No(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:G.AnimateChild,options:No(n.options)}}visitAnimateRef(n,t){return{type:G.AnimateRef,animation:this.visitReference(n.animation,t),options:No(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function yX(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(_X,"")),e=e.replace(/@\*/g,Ff).replace(/@\w+/g,t=>Ff+"-"+t.slice(1)).replace(/:animating/g,Cb),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Cn(t.collectedStyles,t.currentQuerySelector,new Map);const a=En(this,Vc(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:G.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:No(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function O7(){return new b(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Of(n.timings,t.errors,!0);return{type:G.Stagger,animation:En(this,Vc(n.animation),t),timings:i,options:null}}}class wX{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}}function No(e){return e?(e={...e}).params&&(e.params=function bX(e){return e?{...e}:null}(e.params)):e={},e}function Mb(e,n,t){return{duration:e,delay:n,easing:t}}function Tb(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Bf{_map=new Map;get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const SX=new RegExp(":enter","g"),MX=new RegExp(":leave","g");function Ab(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new TX).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class TX{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new Bf;const u=new kb(n,t,c,r,o,d,[]);u.options=l;const f=l.delay?Ki(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),En(this,i,u);const h=u.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let m=h.length-1;m>=0;m--){const _=h[m];if(_.element===t){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Tb(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Ki(Bc(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Ki(i.duration):null,a=null!=i.delay?Ki(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),En(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==G.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=jf);const s=Ki(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>En(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Ki(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),En(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Of(t.params?Bc(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==G.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?Ki(r.delay):0;o&&(t.previousNode.type===G.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=jf);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),En(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;En(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const jf={};class kb{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=jf;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Hf(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Ki(i.duration)),null!=i.delay&&(r.delay=Ki(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Bc(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new kb(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=jf,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new AX(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(SX,"."+this._enterClassName)).replace(MX,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function P7(){return new b(3014,!1)}()),a}}class Hf{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new Hf(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Zi),this._currentKeyframe.set(t,Zi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function kX(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,Zi)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Bc(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Zi),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===Zi&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Tb(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class AX extends Hf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",pF(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",pF((t+h*i)/s)),o.push(f)}i=s,t=0,r="",n=o}return Tb(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function pF(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function mF(e,n,t,i,r,o,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const Rb={};class gF{_triggerName;ast;_stateStyles;constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function RX(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||Rb,p=this.buildStyles(i,a&&a.params||Rb,u),m=l&&l.params||Rb,_=this.buildStyles(r,m,u),y=new Set,v=new Map,E=new Map,I="void"===r,P={params:_F(m,f),delay:this.ast.options?.delay},W=d?[]:Ab(n,t,this.ast.animation,o,s,p,_,P,c,u);let J=0;return W.forEach(ye=>{J=Math.max(ye.duration+ye.delay,J)}),u.length?mF(t,this._triggerName,i,r,I,p,_,[],[],v,E,J,u):(W.forEach(ye=>{const Ii=ye.element,ga=Cn(v,Ii,new Set);ye.preStyleProps.forEach(Fo=>ga.add(Fo));const NF=Cn(E,Ii,new Set);ye.postStyleProps.forEach(Fo=>NF.add(Fo)),Ii!==t&&y.add(Ii)}),mF(t,this._triggerName,i,r,I,p,_,W,[...y.values()],v,E,J))}}function _F(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class NX{styles;defaultParams;normalizer;constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=_F(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Bc(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class OX{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,t.states.forEach(r=>{this.states.set(r.name,new NX(r.style,r.options&&r.options.params||{},i))}),vF(this.states,"true","1"),vF(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new gF(n,r,this.states))}),this.fallbackTransition=function PX(e,n){return new gF(e,{type:G.Transition,animation:{type:G.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function vF(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const LX=new Bf;class VX{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i}register(n,t){const i=[],o=Ib(this._driver,t,i,[]);if(i.length)throw function z7(){return new b(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=tF(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=Ab(this._driver,t,o,wb,Rf,new Map,new Map,i,LX,r),s.forEach(d=>{const u=Cn(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function $7(){return new b(3300,!1)}()),s=[]),r.length)throw function G7(){return new b(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,Zi))})});const c=Ar(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function q7(){return new b(3301,!1)}();return t}listen(n,t,i,r){const o=gb(t,"","","");return pb(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const yF="ng-animate-queued",Nb="ng-animate-disabled",zX=[],bF={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$X={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ii="__ng_removed";class Fb{namespaceId;value;options;get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function ZX(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const jc="void",Ob=new Fb(jc);class GX{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+n,Vn(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function W7(){return new b(3302,!1)}();if(null==i||0==i.length)throw function Z7(){return new b(3303,!1)}();if(!function YX(e){return"start"==e||"done"==e}(i))throw function Y7(){return new b(3400,!1)}();const o=Cn(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Cn(this._engine.statesByElement,n,new Map);return a.has(t)||(Vn(n,Nf),Vn(n,Nf+"-"+t),a.set(t,Ob)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function K7(){return new b(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new Pb(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(Vn(n,Nf),Vn(n,Nf+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new Fb(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Ob),c.value!==jc&&l.value===c.value){if(!function XX(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const m=[],_=o.matchStyles(l.value,l.params,m),y=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Ro(n,_),Si(n,y)})}return}const f=Cn(this._engine.playersByElement,n,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(Vn(n,yF),s.onStart(()=>{ma(n,yF)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(n);if(_){let y=_.indexOf(s);y>=0&&_.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,Ff,!0);i.forEach(r=>{if(r[ii])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,jc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Ar(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Ob,d=new Fb(jc),u=new Pb(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[ii];(!o||o===bF)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){Vn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=gb(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,pb(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class qX{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,t)=>{};_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new GX(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(Uf(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!Uf(t))return;const o=t[ii];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Vn(n,Nb)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),ma(n,Nb))}removeNode(n,t,i){if(Uf(t)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[ii]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return Uf(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Ff,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,Cb,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Ar(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[ii];if(t&&t.setForRemoval){if(n[ii]=bF,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(Nb)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Vn(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ar(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Q7(){return new b(3402,!1)}()}_flushAnimations(n,t){const i=new Bf,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(k=>{d.add(k);const V=this.driver.query(k,".ng-animate-queued",!0);for(let H=0;H<V.length;H++)d.add(V[H])});const u=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=EF(f,this.collectedEnterElements),p=new Map;let m=0;h.forEach((k,V)=>{const H=wb+m++;p.set(V,H),k.forEach(de=>Vn(de,H))});const _=[],y=new Set,v=new Set;for(let k=0;k<this.collectedLeaveElements.length;k++){const V=this.collectedLeaveElements[k],H=V[ii];H&&H.setForRemoval&&(_.push(V),y.add(V),H.hasAnimation?this.driver.query(V,".ng-star-inserted",!0).forEach(de=>y.add(de)):v.add(V))}const E=new Map,I=EF(f,Array.from(y));I.forEach((k,V)=>{const H=Rf+m++;E.set(V,H),k.forEach(de=>Vn(de,H))}),n.push(()=>{h.forEach((k,V)=>{const H=p.get(V);k.forEach(de=>ma(de,H))}),I.forEach((k,V)=>{const H=E.get(V);k.forEach(de=>ma(de,H))}),_.forEach(k=>{this.processLeaveNode(k)})});const P=[],W=[];for(let k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(t).forEach(H=>{const de=H.player,Ct=H.element;if(P.push(de),this.collectedEnterElements.length){const Bt=Ct[ii];if(Bt&&Bt.setForMove){if(Bt.previousTriggersValues&&Bt.previousTriggersValues.has(H.triggerName)){const Oo=Bt.previousTriggersValues.get(H.triggerName),Bn=this.statesByElement.get(H.element);if(Bn&&Bn.has(H.triggerName)){const $f=Bn.get(H.triggerName);$f.value=Oo,Bn.set(H.triggerName,$f)}}return void de.destroy()}}const Mi=!u||!this.driver.containsElement(u,Ct),Dn=E.get(Ct),kr=p.get(Ct),$e=this._buildInstruction(H,i,kr,Dn,Mi);if($e.errors&&$e.errors.length)return void W.push($e);if(Mi)return de.onStart(()=>Ro(Ct,$e.fromStyles)),de.onDestroy(()=>Si(Ct,$e.toStyles)),void r.push(de);if(H.isFallbackTransition)return de.onStart(()=>Ro(Ct,$e.fromStyles)),de.onDestroy(()=>Si(Ct,$e.toStyles)),void r.push(de);const PF=[];$e.timelines.forEach(Bt=>{Bt.stretchStartingKeyframe=!0,this.disabledNodes.has(Bt.element)||PF.push(Bt)}),$e.timelines=PF,i.append(Ct,$e.timelines),s.push({instruction:$e,player:de,element:Ct}),$e.queriedElements.forEach(Bt=>Cn(a,Bt,[]).push(de)),$e.preStyleProps.forEach((Bt,Oo)=>{if(Bt.size){let Bn=l.get(Oo);Bn||l.set(Oo,Bn=new Set),Bt.forEach(($f,jb)=>Bn.add(jb))}}),$e.postStyleProps.forEach((Bt,Oo)=>{let Bn=c.get(Oo);Bn||c.set(Oo,Bn=new Set),Bt.forEach(($f,jb)=>Bn.add(jb))})});if(W.length){const k=[];W.forEach(V=>{k.push(function X7(){return new b(3505,!1)}())}),P.forEach(V=>V.destroy()),this.reportError(k)}const J=new Map,ye=new Map;s.forEach(k=>{const V=k.element;i.has(V)&&(ye.set(V,V),this._beforeAnimationBuild(k.player.namespaceId,k.instruction,J))}),r.forEach(k=>{const V=k.element;this._getPreviousPlayers(V,!1,k.namespaceId,k.triggerName,null).forEach(de=>{Cn(J,V,[]).push(de),de.destroy()})});const Ii=_.filter(k=>xF(k,l,c)),ga=new Map;CF(ga,this.driver,v,c,Zi).forEach(k=>{xF(k,l,c)&&Ii.push(k)});const Fo=new Map;h.forEach((k,V)=>{CF(Fo,this.driver,new Set(k),l,"!")}),Ii.forEach(k=>{const V=ga.get(k),H=Fo.get(k);ga.set(k,new Map([...V?.entries()??[],...H?.entries()??[]]))});const Bb=[],FF=[],OF={};s.forEach(k=>{const{element:V,player:H,instruction:de}=k;if(i.has(V)){if(d.has(V))return H.onDestroy(()=>Si(V,de.toStyles)),H.disabled=!0,H.overrideTotalTime(de.totalTime),void r.push(H);let Ct=OF;if(ye.size>1){let Dn=V;const kr=[];for(;Dn=Dn.parentNode;){const $e=ye.get(Dn);if($e){Ct=$e;break}kr.push(Dn)}kr.forEach($e=>ye.set($e,Ct))}const Mi=this._buildAnimation(H.namespaceId,de,J,o,Fo,ga);if(H.setRealPlayer(Mi),Ct===OF)Bb.push(H);else{const Dn=this.playersByElement.get(Ct);Dn&&Dn.length&&(H.parentPlayer=Ar(Dn)),r.push(H)}}else Ro(V,de.fromStyles),H.onDestroy(()=>Si(V,de.toStyles)),FF.push(H),d.has(V)&&r.push(H)}),FF.forEach(k=>{const V=o.get(k.element);if(V&&V.length){const H=Ar(V);k.setRealPlayer(H)}}),r.forEach(k=>{k.parentPlayer?k.syncPlayerEvents(k.parentPlayer):k.destroy()});for(let k=0;k<_.length;k++){const V=_[k],H=V[ii];if(ma(V,Rf),H&&H.hasAnimation)continue;let de=[];if(a.size){let Mi=a.get(V);Mi&&Mi.length&&de.push(...Mi);let Dn=this.driver.query(V,Cb,!0);for(let kr=0;kr<Dn.length;kr++){let $e=a.get(Dn[kr]);$e&&$e.length&&de.push(...$e)}}const Ct=de.filter(Mi=>!Mi.destroyed);Ct.length?KX(this,V,Ct):this.processLeaveNode(V)}return _.length=0,Bb.forEach(k=>{this.players.push(k),k.onDone(()=>{k.destroy();const V=this.players.indexOf(k);this.players.splice(V,1)}),k.play()}),Bb}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==jc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=Cn(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),u.push(h)})}Ro(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(p=>{const m=p.element;d.add(m);const _=m[ii];if(_&&_.removedBeforeQueried)return new kc(p.duration,p.delay);const y=m!==l,v=function QX(e){const n=[];return DF(e,n),n}((i.get(m)||zX).map(J=>J.getRealPlayer())).filter(J=>!!J.element&&J.element===m),E=o.get(m),I=s.get(m),P=tF(this._normalizer,p.keyframes,E,I),W=this._buildPlayer(p,P,v);if(p.subTimeline&&r&&u.add(m),y){const J=new Pb(n,a,m);J.setRealPlayer(W),c.push(J)}return W});c.forEach(p=>{Cn(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function WX(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Vn(p,aF));const h=Ar(f);return h.onDestroy(()=>{d.forEach(p=>ma(p,aF)),Si(l,t.toStyles)}),u.forEach(p=>{Cn(r,p,[]).push(h)}),h}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new kc(n.duration,n.delay)}}class Pb{namespaceId;triggerName;element;_player=new kc;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>pb(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Cn(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Uf(e){return e&&1===e.nodeType}function wF(e,n){const t=e.style.display;return e.style.display=n??"none",t}function CF(e,n,t,i,r){const o=[];t.forEach(l=>o.push(wF(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[ii]=$X,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>wF(l,o[a++])),s}function EF(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function Vn(e,n){e.classList?.add(n)}function ma(e,n){e.classList?.remove(n)}function KX(e,n,t){Ar(t).onDone(()=>e.processLeaveNode(n))}function DF(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof sN?DF(i.players,n):n.push(i)}}function xF(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(o=>r.add(o)):n.set(e,i),t.delete(e),!0}class Hc{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new qX(n.body,t,i),this._timelineEngine=new VX(n.body,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=Ib(this._driver,o,l,[]);if(l.length)throw function H7(){return new b(3404,!1)}();a=function FX(e,n,t){return new OX(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=nF(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=nF(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let eJ=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Si(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Si(this._element,this._initialStyles),this._endStyles&&(Si(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ro(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ro(this._element,this._endStyles),this._endStyles=null),Si(this._element,this._initialStyles),this._state=3)}}return e})();function Lb(e){let n=null;return e.forEach((t,i)=>{(function tJ(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class SF{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:Sb(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class IF{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return rF(n,t)}getParentElement(n){return _b(n)}query(n,t,i){return oF(n,t,i)}computeStyle(n,t,i){return Sb(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof SF);(function uX(e,n){return 0===e||0===n})(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function lX(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function hX(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Sb(e,a)))}}return n}(n,u,c);const f=function JX(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=Lb(n[0]),n.length>1&&(i=Lb(n[n.length-1]))):n instanceof Map&&(t=Lb(n)),t||i?new eJ(e,t,i):null}(n,u);return new SF(n,u,l,f)}}const MF="@.disabled";class TF{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==MF?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class nJ extends TF{factory;constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==MF?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function iJ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function rJ(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class oJ{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new TF("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new nJ(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}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()}}const AF=[{provide:bb,useFactory:function aJ(){return new dF}},{provide:Hc,useClass:(()=>{class e extends Hc{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||e)(M(ae),M(yb),M(bb))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})()},{provide:pu,useFactory:function lJ(e,n,t){return new oJ(e,n,t)},deps:[mv,Hc,q]}],Vb=[{provide:yb,useFactory:()=>new IF},{provide:Gr,useValue:"BrowserAnimations"},...AF],kF=[{provide:yb,useClass:vb},{provide:Gr,useValue:"NoopAnimations"},...AF];let cJ=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?kF:Vb}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:Vb,imports:[fT]})}return e})(),dJ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})(),uJ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,dJ,bN]})}return e})(),fJ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Nc,Nc,Zt]})}return e})(),pJ=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ne({type:e,bootstrap:[y7]})}static{this.\u0275inj=Ie({providers:[B9(wo(Ir.LegacyInterceptors,[{provide:$k,useFactory:M9},{provide:Cc,useExisting:$k,multi:!0}]))],imports:[fT,r7,cJ,uJ,sZ,jY,fJ,jK,n7.forRoot({loader:wc}),c7,v7]})}}return e})();IG().bootstrapModule(pJ).catch(e=>console.error(e))}},_a=>{_a(_a.s=344)}]); \ No newline at end of file +"use strict";(self.webpackChunkwebui=self.webpackChunkwebui||[]).push([[792],{344:()=>{function _a(e,n,t,i,r,o,s){try{var a=e[o](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(i,r)}function ri(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var o=e.apply(n,t);function s(l){_a(o,i,r,s,a,"next",l)}function a(l){_a(o,i,r,s,a,"throw",l)}s(void 0)})}}let Je=null,va=!1,Wf=1;const vt=Symbol("SIGNAL");function X(e){const n=Je;return Je=e,n}const Po={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ya(e){if(va)throw new Error("");if(null===Je)return;Je.consumerOnSignalRead(e);const n=Je.nextProducerIndex++;zc(Je),n<Je.producerNode.length&&Je.producerNode[n]!==e&&Ea(Je)&&Uc(Je.producerNode[n],Je.producerIndexOfThis[n]),Je.producerNode[n]!==e&&(Je.producerNode[n]=e,Je.producerIndexOfThis[n]=Ea(Je)?qb(e,Je,n):0),Je.producerLastReadVersion[n]=e.version}function Hb(e){if((!Ea(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Wf)){if(!e.producerMustRecompute(e)&&!wa(e))return void Gb(e);e.producerRecomputeValue(e),Gb(e)}}function Ub(e){if(void 0===e.liveConsumerNode)return;const n=va;va=!0;try{for(const t of e.liveConsumerNode)t.dirty||$b(t)}finally{va=n}}function zb(){return!1!==Je?.consumerAllowSignalWrites}function $b(e){e.dirty=!0,Ub(e),e.consumerMarkedDirty?.(e)}function Gb(e){e.dirty=!1,e.lastCleanEpoch=Wf}function Lo(e){return e&&(e.nextProducerIndex=0),X(e)}function ba(e,n){if(X(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ea(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Uc(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function wa(e){zc(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Hb(t),i!==t.version))return!0}return!1}function Ca(e){if(zc(e),Ea(e))for(let n=0;n<e.producerNode.length;n++)Uc(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function qb(e,n,t){if(Wb(e),0===e.liveConsumerNode.length&&Zb(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=qb(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Uc(e,n){if(Wb(e),1===e.liveConsumerNode.length&&Zb(e))for(let i=0;i<e.producerNode.length;i++)Uc(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];zc(r),r.producerIndexOfThis[i]=n}}function Ea(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function zc(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wb(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Zb(e){return void 0!==e.producerNode}let Yb=function HF(){throw new Error};function Kb(){Yb()}function Qf(e,n){zb()||Kb(),e.equal(e.value,n)||(e.value=n,function GF(e){e.version++,function VF(){Wf++}(),Ub(e)}(e))}const Xf={...Po,equal:function qf(e,n){return Object.is(e,n)},value:void 0};const Jf=()=>{};function ue(e){return"function"==typeof e}function ep(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const tp=ep(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function qc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Ge{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ue(i))try{i()}catch(o){n=o instanceof tp?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Jb(o)}catch(s){n=n??[],s instanceof tp?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tp(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jb(n);else{if(n instanceof Ge){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&qc(t,n)}remove(n){const{_finalizers:t}=this;t&&qc(t,n),n instanceof Ge&&n._removeParent(this)}}Ge.EMPTY=(()=>{const e=new Ge;return e.closed=!0,e})();const Qb=Ge.EMPTY;function Xb(e){return e instanceof Ge||e&&"closed"in e&&ue(e.remove)&&ue(e.add)&&ue(e.unsubscribe)}function Jb(e){ue(e)?e():e.unsubscribe()}const Rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wc={setTimeout(e,n,...t){const{delegate:i}=Wc;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Wc;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ew(e){Wc.setTimeout(()=>{const{onUnhandledError:n}=Rr;if(!n)throw e;n(e)})}function np(){}const ZF=ip("C",void 0,void 0);function ip(e,n,t){return{kind:e,value:n,error:t}}let Nr=null;function Zc(e){if(Rr.useDeprecatedSynchronousErrorHandling){const n=!Nr;if(n&&(Nr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Nr;if(Nr=null,t)throw i}}else e()}class rp extends Ge{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Xb(n)&&n.add(this)):this.destination=tO}static create(n,t,i){return new Da(n,t,i)}next(n){this.isStopped?sp(function KF(e){return ip("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sp(function YF(e){return ip("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sp(ZF,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const XF=Function.prototype.bind;function op(e,n){return XF.call(e,n)}class JF{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Yc(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Yc(i)}else Yc(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Yc(t)}}}class Da extends rp{constructor(n,t,i){let r;if(super(),ue(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Rr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&op(n.next,o),error:n.error&&op(n.error,o),complete:n.complete&&op(n.complete,o)}):r=n}this.destination=new JF(r)}}function Yc(e){Rr.useDeprecatedSynchronousErrorHandling?function QF(e){Rr.useDeprecatedSynchronousErrorHandling&&Nr&&(Nr.errorThrown=!0,Nr.error=e)}(e):ew(e)}function sp(e,n){const{onStoppedNotification:t}=Rr;t&&Wc.setTimeout(()=>t(e,n))}const tO={closed:!0,next:np,error:function eO(e){throw e},complete:np},ap="function"==typeof Symbol&&Symbol.observable||"@@observable";function Qi(e){return e}function tw(e){return 0===e.length?Qi:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let Ve=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function rO(e){return e&&e instanceof rp||function iO(e){return e&&ue(e.next)&&ue(e.error)&&ue(e.complete)}(e)&&Xb(e)}(t)?t:new Da(t,i,r);return Zc(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=nw(i))((r,o)=>{const s=new Da({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ap](){return this}pipe(...t){return tw(t)(this)}toPromise(t){return new(t=nw(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function nw(e){var n;return null!==(n=e??Rr.Promise)&&void 0!==n?n:Promise}const oO=ep(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Q=(()=>{class e extends Ve{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new iw(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new oO}next(t){Zc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Zc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Zc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Qb:(this.currentObservers=null,o.push(t),new Ge(()=>{this.currentObservers=null,qc(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ve;return t.source=this,t}}return e.create=(n,t)=>new iw(n,t),e})();class iw extends Q{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Qb}}class an extends Q{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function rw(e){return ue(e?.lift)}function et(e){return n=>{if(rw(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ue(e,n,t,i,r){return new sO(e,n,t,i,r)}class sO extends rp{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function K(e,n){return et((t,i)=>{let r=0;t.subscribe(Ue(i,o=>{i.next(e.call(n,o,r++))}))})}const ow="https://g.co/ng/security#xss";class b extends Error{code;constructor(n,t){super(function Vo(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Kc=Symbol("InputSignalNode#UNSET"),sw={...Xf,transformFn:void 0,applyValueToInputSignal(e,n){Qf(e,n)}};function aw(e,n){const t=Object.create(sw);function i(){if(ya(t),t.value===Kc)throw new b(-950,!1);return t.value}return t.value=e,t.transformFn=n?.transform,i[vt]=t,i}function Ti(e){return{toString:e}.toString()}const jo="__parameters__";function Uo(e,n,t){return Ti(()=>{const i=function lp(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(jo)?l[jo]:Object.defineProperty(l,jo,{value:[]})[jo];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Pe=globalThis;function be(e){for(let n in e)if(e[n]===be)return n;throw Error("Could not find renamed property on target object.")}function aO(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function dt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(dt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function cp(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const lO=be({__forward_ref__:be});function Se(e){return e.__forward_ref__=Se,e.toString=function(){return dt(this())},e}function j(e){return Qc(e)?e():e}function Qc(e){return"function"==typeof e&&e.hasOwnProperty(lO)&&e.__forward_ref__===Se}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ie(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xc(e){return cw(e,ed)||cw(e,dw)}function cw(e,n){return e.hasOwnProperty(n)?e[n]:null}function Jc(e){return e&&(e.hasOwnProperty(dp)||e.hasOwnProperty(pO))?e[dp]:null}const ed=be({\u0275prov:be}),dp=be({\u0275inj:be}),dw=be({ngInjectableDef:be}),pO=be({ngInjectorDef:be});class C{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=S({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function mp(e){return e&&!!e.\u0275providers}const xa=be({\u0275cmp:be}),gp=be({\u0275dir:be}),_p=be({\u0275pipe:be}),hw=be({\u0275mod:be}),Ai=be({\u0275fac:be}),Sa=be({__NG_ELEMENT_ID__:be}),fw=be({__NG_ENV_ID__:be});function Z(e){return"string"==typeof e?e:null==e?"":String(e)}function vp(e,n){throw new b(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let yp;function pw(){return yp}function Xt(e){const n=yp;return yp=e,n}function mw(e,n,t){const i=Xc(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void vp()}const Ia={},bp="__NG_DI_FLAG__",td="ngTempTokenPath",bO=/\n/gm,gw="__source";let zo;function Ji(e){const n=zo;return zo=e,n}function EO(e,n=ie.Default){if(void 0===zo)throw new b(-203,!1);return null===zo?mw(e,void 0,n):zo.get(e,n&ie.Optional?null:void 0,n)}function M(e,n=ie.Default){return(pw()||EO)(j(e),n)}function g(e,n=ie.Default){return M(e,nd(n))}function nd(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function wp(e){const n=[];for(let t=0;t<e.length;t++){const i=j(e[t]);if(Array.isArray(i)){if(0===i.length)throw new b(900,!1);let r,o=ie.Default;for(let s=0;s<i.length;s++){const a=i[s],l=DO(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(M(r,o))}else n.push(M(i))}return n}function Ma(e,n){return e[bp]=n,e.prototype[bp]=n,e}function DO(e){return e[bp]}const Fr=Ma(Uo("Optional"),8),Ta=Ma(Uo("SkipSelf"),4);function Or(e,n){return e.hasOwnProperty(Ai)?e[Ai]:null}function $o(e,n){e.forEach(t=>Array.isArray(t)?$o(t,n):n(t))}function vw(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function id(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function cn(e,n,t){let i=Go(e,n);return i>=0?e[1|i]=t:(i=~i,function yw(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Ep(e,n){const t=Go(e,n);if(t>=0)return e[1|t]}function Go(e,n){return function bw(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<t];if(n===s)return o<<t;s>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const oi={},he=[],xn=new C(""),ww=new C("",-1),Dp=new C("");class od{get(n,t=Ia){if(t===Ia){const i=new Error(`NullInjectorError: No provider for ${dt(n)}!`);throw i.name="NullInjectorError",i}return t}}function At(e,n){const t=e[hw]||null;if(!t&&!0===n)throw new Error(`Type ${dt(e)} does not have '\u0275mod' property.`);return t}function ee(e){return e[xa]||null}function ut(e){return e[gp]||null}function Et(e){return e[_p]||null}function kO(...e){return{\u0275providers:xp(0,e),\u0275fromNgModule:!0}}function xp(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return $o(n,s=>{const a=s;sd(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Cw(r,o),t}function Cw(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];Sp(r,o=>{n(o,i)})}}function sd(e,n,t,i){if(!(e=j(e)))return!1;let r=null,o=Jc(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Jc(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)sd(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{$o(o.imports,d=>{sd(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Cw(c,n)}if(!a){const c=Or(r)||(()=>new r);n({provide:r,useFactory:c,deps:he},r),n({provide:Dp,useValue:r,multi:!0},r),n({provide:xn,useValue:()=>M(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Sp(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function Sp(e,n){for(let t of e)mp(t)&&(t=t.\u0275providers),Array.isArray(t)?Sp(t,n):n(t)}const RO=be({provide:String,useValue:be});function Ip(e){return null!==e&&"object"==typeof e&&RO in e}function Pr(e){return"function"==typeof e}const Mp=new C(""),ad={},FO={};let Tp;function ld(){return void 0===Tp&&(Tp=new od),Tp}class Dt{}class qo extends Dt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,kp(n,s=>this.processProvider(s)),this.records.set(ww,Wo(void 0,this)),r.has("environment")&&this.records.set(Dt,Wo(void 0,this));const o=this.records.get(Mp);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Dp,he,ie.Self))}destroy(){Aa(this),this._destroyed=!0;const n=X(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),X(n)}}onDestroy(n){return Aa(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Aa(this);const t=Ji(this),i=Xt(void 0);try{return n()}finally{Ji(t),Xt(i)}}get(n,t=Ia,i=ie.Default){if(Aa(this),n.hasOwnProperty(fw))return n[fw](this);i=nd(i);const o=Ji(this),s=Xt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function BO(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&Xc(n);l=c&&this.injectableDefInScope(c)?Wo(Ap(n),ad):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ld():this.parent).get(n,t=i&ie.Optional&&t===Ia?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[td]=a[td]||[]).unshift(dt(n)),o)throw a;return function xO(e,n,t,i){const r=e[td];throw n[gw]&&r.unshift(n[gw]),e.message=function SO(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=dt(n);if(Array.isArray(n))r=n.map(dt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):dt(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(bO,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[td]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Xt(s),Ji(o)}}resolveInjectorInitializers(){const n=X(null),t=Ji(this),i=Xt(void 0);try{const o=this.get(xn,he,ie.Self);for(const s of o)s()}finally{Ji(t),Xt(i),X(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(dt(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=Pr(n=j(n))?n:j(n&&n.provide);const i=function PO(e){return Ip(e)?Wo(void 0,e.useValue):Wo(xw(e),ad)}(n);if(!Pr(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Wo(void 0,ad,!0),r.factory=()=>wp(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=X(null);try{return t.value===ad&&(t.value=FO,t.value=t.factory()),"object"==typeof t.value&&t.value&&function VO(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{X(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Ap(e){const n=Xc(e),t=null!==n?n.factory:Or(e);if(null!==t)return t;if(e instanceof C)throw new b(204,!1);if(e instanceof Function)return function OO(e){if(e.length>0)throw new b(204,!1);const t=function fO(e){return e&&(e[ed]||e[dw])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new b(204,!1)}function xw(e,n,t){let i;if(Pr(e)){const r=j(e);return Or(r)||Ap(r)}if(Ip(e))i=()=>j(e.useValue);else if(function Dw(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...wp(e.deps||[]));else if(function Ew(e){return!(!e||!e.useExisting)}(e))i=()=>M(j(e.useExisting));else{const r=j(e&&(e.useClass||e.provide));if(!function LO(e){return!!e.deps}(e))return Or(r)||Ap(r);i=()=>new r(...wp(e.deps))}return i}function Aa(e){if(e.destroyed)throw new b(205,!1)}function Wo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function kp(e,n){for(const t of e)Array.isArray(t)?kp(t,n):t&&mp(t)?kp(t.\u0275providers,n):n(t)}function Sn(e,n){e instanceof qo&&Aa(e);const i=Ji(e),r=Xt(void 0);try{return n()}finally{Ji(i),Xt(r)}}function Sw(){return void 0!==pw()||null!=function CO(){return zo}()}function Zo(e){if(!Sw())throw new b(-203,!1)}const U=11,T=25;var fd=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(fd||{});function Ze(e){return Array.isArray(e)&&"object"==typeof e[1]}function ft(e){return Array.isArray(e)&&!0===e[1]}function Fp(e){return!!(4&e.flags)}function ir(e){return e.componentOffset>-1}function pd(e){return!(1&~e.flags)}function Hn(e){return!!e.template}function Ra(e){return!!(512&e[2])}class QO{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Nw(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}const un=(()=>{const e=()=>Fw;return e.ngInherit=!0,e})();function Fw(e){return e.type.prototype.ngOnChanges&&(e.setInput=JO),XO}function XO(){const e=Pw(this),n=e?.current;if(n){const t=e.previous;if(t===oi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JO(e,n,t,i,r){const o=this.declaredInputs[i],s=Pw(e)||function eP(e,n){return e[Ow]=n}(e,{previous:oi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new QO(c&&c.currentValue,t,l===oi),Nw(e,n,r,t)}const Ow="__ngSimpleChanges__";function Pw(e){return e[Ow]||null}function ce(e){for(;Array.isArray(e);)e=e[0];return e}function Na(e,n){return ce(n[e])}function Ht(e,n){return ce(n[e.index])}function ts(e,n){return e.data[n]}function hn(e,n){const t=n[e];return Ze(t)?t:t[0]}function Bp(e){return!(128&~e[2])}function In(e,n){return null==n?null:e[n]}function Bw(e){e[17]=0}function jp(e){1024&e[2]||(e[2]|=1024,Bp(e)&&Fa(e))}function md(e){return!!(9216&e[2]||e[24]?.dirty)}function Hp(e){e[10].changeDetectionScheduler?.notify(9),64&e[2]&&(e[2]|=1024),md(e)&&Fa(e)}function Fa(e){e[10].changeDetectionScheduler?.notify(0);let n=Ri(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,Bp(n));)n=Ri(n)}function gd(e,n){if(!(256&~e[2]))throw new b(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function Ri(e){const n=e[3];return ft(n)?n[3]:n}const z={lFrame:Kw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let $p=!1;function Hw(){return z.bindingsEnabled}function Hr(){return null!==z.skipHydrationRootTNode}function w(){return z.lFrame.lView}function $(){return z.lFrame.tView}function vd(e){return z.lFrame.contextLView=e,e[8]}function yd(e){return z.lFrame.contextLView=null,e}function te(){let e=Uw();for(;null!==e&&64===e.type;)e=e.parent;return e}function Uw(){return z.lFrame.currentTNode}function Un(e,n){const t=z.lFrame;t.currentTNode=e,t.isParent=n}function Gp(){return z.lFrame.isParent}function qp(){z.lFrame.isParent=!1}function Gw(){return $p}function bd(e){const n=$p;return $p=e,n}function Mn(){return z.lFrame.bindingIndex++}function Fi(e){const n=z.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function pP(e,n){const t=z.lFrame;t.bindingIndex=t.bindingRootIndex=e,Wp(n)}function Wp(e){z.lFrame.currentDirectiveIndex=e}function Yp(){return z.lFrame.currentQueryIndex}function wd(e){z.lFrame.currentQueryIndex=e}function gP(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function Zw(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=gP(o),null===r||(o=o[14],10&r.type))););if(null===r)return!1;n=r,e=o}const i=z.lFrame=Yw();return i.currentTNode=n,i.lView=e,!0}function Kp(e){const n=Yw(),t=e[1];z.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Yw(){const e=z.lFrame,n=null===e?null:e.child;return null===n?Kw(e):n}function Kw(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Qw(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xw=Qw;function Qp(){const e=Qw();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function xt(){return z.lFrame.selectedIndex}function Ur(e){z.lFrame.selectedIndex=e}function Ce(){const e=z.lFrame;return ts(e.tView,e.selectedIndex)}let tC=!0;function Pa(){return tC}function ci(e){tC=e}function Cd(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function Ed(e,n,t){nC(e,n,3,t)}function Dd(e,n,t,i){(3&e[2])===t&&nC(e,n,t,i)}function Xp(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function nC(e,n,t,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[17]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(CP(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function iC(e,n){const t=X(null);try{n.call(e)}finally{X(t)}}function CP(e,n,t,i){const r=t[i]<0,o=t[i+1],a=e[r?-t[i]:t[i]];r?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,iC(a,o)):iC(a,o)}class La{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=i}}function tm(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,o)}else{const o=r,s=t[++i];oC(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}return i}function rC(e){return 3===e||4===e||6===e}function oC(e){return 64===e.charCodeAt(0)}function Va(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||sC(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function sC(e,n,t,i,r){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const nm={};class zr{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=nd(i);const r=this.injector.get(n,nm,i);return r!==nm||t===nm?r:this.parentInjector.get(n,t,i)}}function im(e){return-1!==e}function Ba(e){return 32767&e}function ja(e,n){let t=function IP(e){return e>>16}(e),i=n;for(;t>0;)i=i[14],t--;return i}let rm=!0;function xd(e){const n=rm;return rm=e,n}let TP=0;const di={};function Sd(e,n){const t=cC(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,om(i.data,e),om(n,null),om(i.blueprint,null));const r=Id(e,n),o=e.injectorIndex;if(im(r)){const s=Ba(r),a=ja(r,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function om(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cC(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Id(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=gC(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function sm(e,n,t){!function AP(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Sa)&&(i=t[Sa]),null==i&&(i=t[Sa]=TP++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function dC(e,n,t){if(t&ie.Optional||void 0!==e)return e;vp()}function uC(e,n,t,i){if(t&ie.Optional&&void 0===i&&(i=null),!(t&(ie.Self|ie.Host))){const r=e[9],o=Xt(void 0);try{return r?r.get(n,i,t&ie.Optional):mw(n,i,t&ie.Optional)}finally{Xt(o)}}return dC(i,0,t)}function hC(e,n,t,i=ie.Default,r){if(null!==e){if(2048&n[2]&&!(i&ie.Self)){const s=function OP(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[2]&&!(512&s[2]);){const a=fC(o,s,t,i|ie.Self,di);if(a!==di)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(t,di,i);if(d!==di)return d}l=gC(s),s=s[14]}o=l}return r}(e,n,t,i,di);if(s!==di)return s}const o=fC(e,n,t,i,di);if(o!==di)return o}return uC(n,t,i,r)}function fC(e,n,t,i,r){const o=function NP(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Sa)?e[Sa]:void 0;return"number"==typeof n?n>=0?255&n:FP:n}(t);if("function"==typeof o){if(!Zw(n,e,i))return i&ie.Host?dC(r,0,i):uC(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;vp()}finally{Xw()}}else if("number"==typeof o){let s=null,a=cC(e,n),l=-1,c=i&ie.Host?n[15][5]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Id(e,n):n[a+8],-1!==l&&mC(i,!1)?(s=n[1],a=Ba(l),n=ja(l,n)):a=-1);-1!==a;){const d=n[1];if(pC(o,a,d.data)){const u=RP(a,n,t,s,i,c);if(u!==di)return u}l=n[a+8],-1!==l&&mC(i,n[1].data[a+8]===c)&&pC(o,a,n)?(s=d,a=Ba(l),n=ja(l,n)):a=-1}}return r}function RP(e,n,t,i,r,o){const s=n[1],a=s.data[e+8],d=Md(a,s,t,null==i?ir(a)&&rm:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==d?$r(n,s,d,a):di}function Md(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,f=r?a+d:e.directiveEnd;for(let h=i?a:a+d;h<f;h++){const p=s[h];if(h<l&&t===p||h>=l&&p.type===t)return h}if(r){const h=s[l];if(h&&Hn(h)&&h.type===t)return l}return null}function $r(e,n,t,i){let r=e[t];const o=n.data;if(function EP(e){return e instanceof La}(r)){const s=r;s.resolving&&function _O(e,n){throw n&&n.join(" > "),new b(-200,e)}(function ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Z(e)}(o[t]));const a=xd(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Xt(s.injectImpl):null;Zw(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function wP(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=Fw(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Xt(c),xd(a),s.resolving=!1,Xw()}}return r}function pC(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function mC(e,n){return!(e&ie.Self||e&ie.Host&&n)}class pt{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return hC(this._tNode,this._lView,n,nd(i),t)}}function FP(){return new pt(te(),w())}function Le(e){return Ti(()=>{const n=e.prototype.constructor,t=n[Ai]||am(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Ai]||am(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function am(e){return Qc(e)?()=>{const n=am(j(e));return n&&n()}:Or(e)}function gC(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function Ha(e){return function kP(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(rC(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===n)return t[r+1];r+=2}}}return null}(te(),e)}function wC(e,n=null,t=null,i){const r=CC(e,n,t,i);return r.resolveInjectorInitializers(),r}function CC(e,n=null,t=null,i,r=new Set){const o=[t||he,kO(e)];return i=i||("object"==typeof e?void 0:dt(e)),new qo(o,n||ld(),i||null,r)}class Ee{static THROW_IF_NOT_FOUND=Ia;static NULL=new od;static create(n,t){if(Array.isArray(n))return wC({name:""},t,n,"");{const i=n.name??"";return wC({name:i},n.parent,n.providers,i)}}static \u0275prov=S({token:Ee,providedIn:"any",factory:()=>M(ww)});static __NG_ELEMENT_ID__=-1}class zP{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ha(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}new C("").__NG_ELEMENT_ID__=e=>{const n=te();if(null===n)throw new b(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new b(204,!1)};const EC=!1;let rr=(()=>class e{static __NG_ELEMENT_ID__=GP;static __NG_ENV_ID__=t=>t})();class DC extends rr{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return gd(this._lView,n),()=>function Up(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(this._lView,n)}}function GP(){return new DC(w())}class Oi{}const Ua=new C("",{providedIn:"root",factory:()=>!1}),xC=new C(""),cm=new C("");let zn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new an(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();const fe=class WP extends Q{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Sw()&&(this.destroyRef=g(rr,{optional:!0})??void 0,this.pendingTasks=g(zn,{optional:!0})??void 0)}emit(n){const t=X(null);try{super.next(n)}finally{X(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ge&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function za(...e){}function SC(e){let n,t;function i(){e=za;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function IC(e){return queueMicrotask(()=>e()),()=>{e=za}}const dm="isAngularZone",Ad=dm+"_ID";let ZP=0;class q{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new fe(!1);onMicrotaskEmpty=new fe(!1);onStable=new fe(!1);onError=new fe(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=EC}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function QP(e){const n=()=>{!function KP(e){function n(){SC(()=>{e.callbackScheduled=!1,hm(e),e.isCheckStableRunning=!0,um(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),hm(e))}(e)},t=ZP++;e._inner=e._inner.fork({name:"angular",properties:{[dm]:!0,[Ad]:t,[Ad+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function XP(e){return AC(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return MC(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),TC(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return MC(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function JP(e){return AC(e,"__scheduler_tick__")}(l)&&n(),TC(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,hm(e),um(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(dm)}static assertInAngularZone(){if(!q.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(q.isInAngularZone())throw new b(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,YP,za,za);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const YP={};function um(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function hm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function MC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function TC(e){e._nesting--,um(e)}class fm{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new fe;onMicrotaskEmpty=new fe;onStable=new fe;onError=new fe;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function AC(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class fn{_console=console;handleError(n){this._console.error("ERROR",n)}}const t1=new C("",{providedIn:"root",factory:()=>{const e=g(q),n=g(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function RC(e,n){return aw(e,n)}const i1=(RC.required=function n1(e){return aw(Kc,e)},RC);function r1(){return os(te(),w())}function os(e,n){return new we(Ht(e,n))}let we=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=r1})();function NC(e){return e instanceof we?e.nativeElement:e}function o1(){return this._results[Symbol.iterator]()}class $a{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Q}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Jt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function AO(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=o1}function qa(e){return!(128&~e.flags)}var kd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(kd||{});const Rd=new Map;let a1=0;function mm(e){Rd.delete(e[19])}const Nd="__ngContext__";function Rt(e,n){Ze(n)?(e[Nd]=n[19],function c1(e){Rd.set(e[19],e)}(n)):e[Nd]=n}function UC(e){return $C(e[12])}function zC(e){return $C(e[4])}function $C(e){for(;null!==e&&!ft(e);)e=e[4];return e}let vm;const or=new C("",{providedIn:"root",factory:()=>I1}),I1="ng",ym=new C(""),hi=new C("",{providedIn:"platform",factory:()=>"unknown"}),Gr=new C(""),bm=new C("",{providedIn:"root",factory:()=>function ui(){if(void 0!==vm)return vm;if(typeof document<"u")return document;throw new b(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),eE=new C("",{providedIn:"root",factory:()=>!1});var Am=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Am||{});const Ka=new C(""),rE=new Set;function bt(e){rE.has(e)||(rE.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ds=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ds||{});let km=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();const oE=[ds.EarlyRead,ds.Write,ds.MixedReadWrite,ds.Read];let sE=(()=>{class e{ngZone=g(q);scheduler=g(Oi);errorHandler=g(fn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Ka,{optional:!0})}execute(){this.executing=!0;for(const t of oE)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[t])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[t](i.pipelinedValue),i.snapshot))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(7))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,i){return i?i.run(Am.AFTER_NEXT_RENDER,t):t()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();class aE{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,o=null){this.impl=n,this.hooks=t,this.once=i,this.snapshot=o,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function fi(e,n){!n?.injector&&Zo();const t=n?.injector??g(Ee);return bt("NgAfterNextRender"),cE(e,t,n,!0)}function cE(e,n,t,i){const r=n.get(km);r.impl??=n.get(sE);const o=n.get(Ka,null,{optional:!0}),s=t?.phase??ds.MixedReadWrite,a=!0!==t?.manualCleanup?n.get(rr):null,l=new aE(r.impl,function R1(e,n){if(e instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[n]=e,t}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,s),i,a,o?.snapshot(null));return r.impl.register(l),l}var $n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}($n||{});let Zd,Yd;function gs(e){return function $m(){if(void 0===Zd&&(Zd=null,Pe.trustedTypes))try{Zd=Pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zd}()?.createHTML(e)||e}function NE(e){return function Gm(){if(void 0===Yd&&(Yd=null,Pe.trustedTypes))try{Yd=Pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yd}()?.createScriptURL(e)||e}class Yr{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ow})`}}class mL extends Yr{getTypeName(){return"HTML"}}class gL extends Yr{getTypeName(){return"Style"}}class _L extends Yr{getTypeName(){return"Script"}}class vL extends Yr{getTypeName(){return"URL"}}class yL extends Yr{getTypeName(){return"ResourceURL"}}function mn(e){return e instanceof Yr?e.changingThisBreaksApplicationSecurity:e}function pi(e,n){const t=function bL(e){return e instanceof Yr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ow})`)}return t===n}class SL{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(gs(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class IL{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=gs(n),t}}const TL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Kd(e){return(e=String(e)).match(TL)?e:"unsafe:"+e}function Pi(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function ol(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const OE=Pi("area,br,col,hr,img,wbr"),PE=Pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),LE=Pi("rp,rt"),qm=ol(OE,ol(PE,Pi("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")),ol(LE,Pi("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")),ol(LE,PE)),Wm=Pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VE=ol(Wm,Pi("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"),Pi("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")),AL=Pi("script,style,template");class kL{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=FL(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=NL(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=BE(n).toLowerCase();if(!qm.hasOwnProperty(t))return this.sanitizedSomething=!0,!AL.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!VE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Wm[a]&&(l=Kd(l)),this.buf.push(" ",s,'="',HE(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=BE(n).toLowerCase();qm.hasOwnProperty(t)&&!OE.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(HE(n))}}function NL(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw jE(n);return n}function FL(e){const n=e.firstChild;if(n&&function RL(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw jE(n);return n}function BE(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function jE(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const OL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,PL=/([^\#-~ |!])/g;function HE(e){return e.replace(/&/g,"&").replace(OL,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(PL,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Qd;function UE(e,n){let t=null;try{Qd=Qd||function FE(e){const n=new IL(e);return function ML(){try{return!!(new window.DOMParser).parseFromString(gs(""),"text/html")}catch{return!1}}()?new SL(n):n}(e);let i=n?String(n):"";t=Qd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Qd.getInertBodyElement(i)}while(i!==o);return gs((new kL).sanitizeChildren(Zm(t)||t))}finally{if(t){const i=Zm(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function Zm(e){return"content"in e&&function LL(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(wt||{});function _s(e){const n=sl();return n?n.sanitize(wt.URL,e)||"":pi(e,"URL")?mn(e):Kd(Z(e))}function zE(e){const n=sl();if(n)return NE(n.sanitize(wt.RESOURCE_URL,e)||"");if(pi(e,"ResourceURL"))return NE(mn(e));throw new b(904,!1)}function sl(){const e=w();return e&&e[10].sanitizer}const $L=/^>|^->|<!--|-->|--!>|<!-$/g,GL=/(<|>)/g;function gn(e){return e instanceof Function?e():e}var ar=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ar||{}),lr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(lr||{});function Xm(e,n){return undefined(e,n)}function ys(e,n,t,i,r){if(null!=i){let o,s=!1;ft(i)?o=i:Ze(i)&&(s=!0,i=i[0]);const a=ce(i);0===e&&null!==t?null==r?rD(n,t,a):Kr(n,t,a,r||null,!0):1===e&&null!==t?Kr(n,t,a,r||null,!0):2===e?function cl(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function uV(e,n,t,i,r){const o=t[7];o!==ce(t)&&ys(n,e,i,o,r);for(let a=10;a<t.length;a++){const l=t[a];nu(l[1],l,e,n,i,o)}}(n,e,o,t,r)}}function eg(e,n){return e.createComment(function GE(e){return e.replace($L,n=>n.replace(GL,"\u200b$1\u200b"))}(n))}function eu(e,n,t){return e.createElement(n,t)}function tD(e,n){n[10].changeDetectionScheduler?.notify(10),nu(e,n,n[U],2,null,null)}function nD(e,n){const t=e[9],i=n[3];(Ze(i)||n[15]!==i[3][15])&&(e[2]|=fd.HasTransplantedViews),null===t?e[9]=[n]:t.push(n)}function tg(e,n){const t=e[9],i=t.indexOf(n);t.splice(i,1)}function al(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[16];null!==r&&r!==e&&tg(r,i),n>0&&(e[t-1][4]=i[4]);const o=id(e,10+n);!function eD(e,n){tD(e,n),n[0]=null,n[5]=null}(i[1],i);const s=o[18];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ll(e,n){if(!(256&n[2])){const t=n[U];t.destroyNode&&nu(e,n,t,3,null,null),function oV(e){let n=e[12];if(!n)return ng(e[1],e);for(;n;){let t=null;if(Ze(n))t=n[12];else{const i=n[10];i&&(t=i)}if(!t){for(;n&&!n[4]&&n!==e;)Ze(n)&&ng(n[1],n),n=n[3];null===n&&(n=e),Ze(n)&&ng(n[1],n),t=n&&n[4]}n=t}}(n)}}function ng(e,n){if(256&n[2])return;const t=X(null);try{n[2]&=-129,n[2]|=256,n[24]&&Ca(n[24]),function lV(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof La)){const o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(e,n),function aV(e,n){const t=e.cleanup,i=n[7];if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const a=t[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else t[s].call(i[t[s+1]]);null!==i&&(n[7]=null);const r=n[21];if(null!==r){n[21]=null;for(let s=0;s<r.length;s++)(0,r[s])()}const o=n[23];if(null!==o){n[23]=null;for(const s of o)s.destroy()}}(e,n),1===n[1].type&&n[U].destroy();const i=n[16];if(null!==i&&ft(n[3])){i!==n[3]&&tg(i,n);const r=n[18];null!==r&&r.detachView(e)}mm(n)}finally{X(t)}}function ig(e,n,t){return function iD(e,n,t){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return t[0];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===$n.None||o===$n.Emulated)return null}return Ht(i,t)}}(e,n.parent,t)}function Kr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function rD(e,n,t){e.appendChild(n,t)}function oD(e,n,t,i,r){null!==i?Kr(e,n,t,i,r):rD(e,n,t)}function rg(e,n){return e.parentNode(n)}function sD(e,n,t){return lD(e,n,t)}let lD=function aD(e,n,t){return 40&e.type?Ht(e,t):null};function tu(e,n,t,i){const r=ig(e,i,n),o=n[U],a=sD(i.parent||n[5],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)oD(o,r,t[l],a,!1);else oD(o,r,t,a,!1)}function Qr(e,n){if(null!==n){const t=n.type;if(3&t)return Ht(n,e);if(4&t)return sg(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Qr(e,i);{const r=e[n.index];return ft(r)?sg(-1,r):ce(r)}}if(128&t)return Qr(e,n.next);if(32&t)return Xm(n,e)()||ce(e[n.index]);{const i=dD(e,n);return null!==i?Array.isArray(i)?i[0]:Qr(Ri(e[15]),i):Qr(e,n.next)}}return null}function dD(e,n){return null!==n?e[15][5].projection[n.projection]:null}function sg(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return Qr(i,r)}return n[7]}function ag(e,n,t,i,r,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const a=i[t.index],l=t.type;if(s&&0===n&&(a&&Rt(ce(a),i),t.flags|=2),32&~t.flags)if(8&l)ag(e,n,t.child,i,r,o,!1),ys(n,e,r,a,o);else if(32&l){const c=Xm(t,i);let d;for(;d=c();)ys(n,e,r,d,o);ys(n,e,r,a,o)}else 16&l?hD(e,n,i,t,r,o):ys(n,e,r,a,o);t=s?t.projectionNext:t.next}}function nu(e,n,t,i,r,o){ag(t,i,e.firstChild,n,r,o,!1)}function hD(e,n,t,i,r,o){const s=t[15],l=s[5].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)ys(n,e,r,l[c],o);else{let c=l;const d=s[3];qa(i)&&(c.flags|=128),ag(e,n,c,d,r,o,!0)}}function fD(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function pD(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&tm(e,n,i),null!==r&&fD(e,n,r),null!==o&&function fV(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}function pV(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}const mD="ng-template";function mV(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==pV(n[r+1].toLowerCase(),t,0))return!0}else if(lg(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function lg(e){return 4===e.type&&e.value!==mD}function gV(e,n,t){return n===(4!==e.type||t?e.value:mD)}function _V(e,n,t){let i=4;const r=e.attrs,o=null!==r?function bV(e){for(let n=0;n<e.length;n++)if(rC(e[n]))return n;return e.length}(r):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!gV(e,l,t)||""===l&&1===n.length){if(Gn(i))return!1;s=!0}}else if(8&i){if(null===r||!mV(e,r,l,t)){if(Gn(i))return!1;s=!0}}else{const c=n[++a],d=vV(l,r,lg(e),t);if(-1===d){if(Gn(i))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":r[d+1].toLowerCase(),2&i&&c!==u){if(Gn(i))return!1;s=!0}}}}else{if(!s&&!Gn(i)&&!Gn(l))return!1;if(s&&Gn(l))continue;s=!1,i=l|1&i}}return Gn(i)||s}function Gn(e){return!(1&e)}function vV(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const s=n[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function wV(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function gD(e,n,t=!1){for(let i=0;i<n.length;i++)if(_V(e,n[i],t))return!0;return!1}function CV(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function _D(e,n){return e?":not("+n.trim()+")":n}function EV(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Gn(s)&&(n+=_D(o,r),r=""),i=s,o=o||!Gn(i);t++}return""!==r&&(n+=_D(o,r)),n}const Y={};function L(e=1){vD($(),w(),xt()+e,!1)}function vD(e,n,t,i){if(!i)if(3&~n[2]){const o=e.preOrderHooks;null!==o&&Dd(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&Ed(n,o,t)}Ur(t)}function D(e,n=ie.Default){const t=w();return null===t?M(e,n):hC(te(),t,j(e),n)}function bD(e,n,t,i,r,o){const s=X(null);try{let a=null;r&ar.SignalBased&&(a=n[i][vt]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&ar.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,i):Nw(n,a,i,o)}finally{X(s)}}function dl(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[0]=r,u[2]=1228|i,(null!==c||e&&2048&e[2])&&(u[2]|=2048),Bw(u),u[3]=u[14]=e,u[8]=t,u[10]=s||e&&e[10],u[U]=a||e&&e[U],u[9]=l||e&&e[9]||null,u[5]=o,u[19]=function l1(){return a1++}(),u[6]=d,u[20]=c,u[15]=2==n.type?e[15]:u,u}function Xr(e,n,t,i,r){let o=e.data[n];if(null===o)o=function cg(e,n,t,i,r){const o=Uw(),s=Gp(),l=e.data[n]=function NV(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Hr()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,i,r),function fP(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function Oa(){const e=z.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Un(o,!0),o}function ul(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function wD(e,n,t,i,r){const o=xt(),s=2&i;try{Ur(-1),s&&n.length>T&&vD(e,n,T,!1),t(i,r)}finally{Ur(o)}}function dg(e,n,t){if(Fp(n)){const i=X(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{X(i)}}}function ug(e,n,t){Hw()&&(function jV(e,n,t,i){const r=t.directiveStart,o=t.directiveEnd;ir(t)&&function WV(e,n,t){const i=Ht(n,e),r=fg(t),o=e[10].rendererFactory,s=iu(e,dl(e,r,null,_g(t),i,n,null,o.createRenderer(i,t),null,null,null));e[n.index]=s}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Sd(t,n),Rt(i,n);const s=t.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],c=$r(n,e,a,t);Rt(c,n),null!==s&&ZV(0,a-r,c,l,0,s),Hn(l)&&(hn(t.index,n)[8]=$r(n,e,a,t))}}(e,n,t,Ht(t,n)),!(64&~t.flags)&&SD(e,n,t))}function hg(e,n,t=Ht){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?t(n,e):e[s];e[r++]=a}}}function fg(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=pg(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function pg(e,n,t,i,r,o,s,a,l,c,d){const u=T+i,f=u+r,h=function IV(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:Y);return t}(u,f),p="function"==typeof c?c():c;return h[1]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,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 s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:d}}let CD=()=>null;function ED(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=ar.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?DD(i,t,c,a,l):DD(i,t,c,a)}return i}function DD(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function tn(e,n,t,i,r,o,s,a){const l=Ht(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(bg(e,t,d,i,r),ir(n)&&function PV(e,n){const t=hn(n,e);16&t[2]||(t[2]|=64)}(t,n.index)):3&n.type&&(i=function OV(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function mg(e,n,t,i){if(Hw()){const r=null===i?null:{"":-1},o=function UV(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(gD(n,s.selectors,!1))if(i||(i=[]),Hn(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),gg(e,n,a.length)}else i.unshift(s),gg(e,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,t);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&xD(e,n,t,s,r,a),r&&function zV(e,n,t){if(n){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const o=t[n[r+1]];if(null==o)throw new b(-301,!1);i.push(n[r],o)}}}(t,i,r)}t.mergedAttrs=Va(t.mergedAttrs,t.attrs)}function xD(e,n,t,i,r,o){for(let c=0;c<i.length;c++)sm(Sd(t,n),e,i[c].type);!function GV(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=ul(e,n,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];t.mergedAttrs=Va(t.mergedAttrs,d.hostAttrs),qV(e,t,n,l,d),$V(l,d,r),null!==d.contentQueries&&(t.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function FV(e,n,t){const r=n.directiveEnd,o=e.data,s=n.attrs,a=[];let l=null,c=null;for(let d=n.directiveStart;d<r;d++){const u=o[d],f=t?t.get(u):null,p=f?f.outputs:null;l=ED(0,u.inputs,d,l,f?f.inputs:null),c=ED(1,u.outputs,d,c,p);const m=null===l||null===s||lg(n)?null:YV(l,d,s);a.push(m)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,o)}function SD(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function mP(){return z.lFrame.currentDirectiveIndex}();try{Ur(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];Wp(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&HV(l,c)}}finally{Ur(-1),Wp(s)}}function HV(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function gg(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function $V(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;Hn(n)&&(t[""]=e)}}function qV(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=Or(r.type)),s=new La(o,Hn(r),D);e.blueprint[i]=s,t[i]=s,function VV(e,n,t,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function BV(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ul(e,t,r.hostVars,Y),r)}function _g(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function mi(e,n,t,i,r,o){const s=Ht(e,n);!function vg(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Z(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[U],s,o,e.value,t,i,r)}function ZV(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;)bD(i,t,s[a++],s[a++],s[a++],s[a++])}function YV(e,n,t){let i=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function ID(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function MD(e,n){const t=e.contentQueries;if(null!==t){const i=X(null);try{for(let r=0;r<t.length;r+=2){const s=t[r+1];if(-1!==s){const a=e.data[s];wd(t[r]),a.contentQueries(2,n[s],s)}}}finally{X(i)}}}function iu(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function yg(e,n,t){wd(0);const i=X(null);try{n(e,t)}finally{X(i)}}function TD(e){return e[7]??=[]}function AD(e){return e.cleanup??=[]}function ru(e,n){const t=e[9],i=t?t.get(fn,null):null;i&&i.handleError(n)}function bg(e,n,t,i,r){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=t[o++];bD(e.data[s],n[s],i,a,l,r)}}function KV(e,n){const t=hn(n,e),i=t[1];!function QV(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[0];null!==r&&null===t[6]&&(t[6]=null),ou(i,t,t[8])}function ou(e,n,t){Kp(n);try{const i=e.viewQuery;null!==i&&yg(1,i,t);const r=e.template;null!==r&&wD(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[18]?.finishViewCreation(e),e.staticContentQueries&&MD(e,n),e.staticViewQueries&&yg(2,e.viewQuery,t);const o=e.components;null!==o&&function XV(e,n){for(let t=0;t<n.length;t++)KV(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[2]&=-5,Qp()}}function bs(e,n,t,i){const r=X(null);try{const o=n.tView,l=dl(e,o,t,4096&e[2]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[16]=e[n.index];const d=e[18];return null!==d&&(l[18]=d.createEmbeddedView(o)),ou(o,l,t),l}finally{X(r)}}function Jr(e,n){return!n||null===n.firstChild||qa(e)}function ws(e,n,t,i=!0){const r=n[1];if(function sV(e,n,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=n),i<o-10?(n[4]=t[r],vw(t,10+i,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[16];null!==s&&t!==s&&nD(s,n);const a=n[18];null!==a&&a.insertView(e),Hp(n),n[2]|=128}(r,n,e,t),i){const s=sg(t,e),a=n[U],l=rg(a,e[7]);null!==l&&function rV(e,n,t,i,r,o){i[0]=r,i[5]=n,nu(e,i,t,1,r,o)}(r,e[5],a,n,l,s)}const o=n[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function hl(e,n,t,i,r=!1){for(;null!==t;){if(128===t.type){t=r?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&i.push(ce(o)),ft(o)&&Cg(o,i);const s=t.type;if(8&s)hl(e,n,t.child,i);else if(32&s){const a=Xm(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=dD(n,t);if(Array.isArray(a))i.push(...a);else{const l=Ri(n[15]);hl(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function Cg(e,n){for(let t=10;t<e.length;t++){const i=e[t],r=i[1].firstChild;null!==r&&hl(i[1],i,r,n)}e[7]!==e[0]&&n.push(e[7])}let ND=[];const nB={...Po,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Fa(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},rB={...Po,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Ri(e.lView);for(;n&&!FD(n[1]);)n=Ri(n);n&&jp(n)},consumerOnSignalRead(){this.lView[24]=this}};function FD(e){return 2!==e.type}function OD(e){if(null===e[23])return;let n=!0;for(;n;){let t=!1;for(const i of e[23])i.dirty&&(t=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(8192&e[2])}}function su(e,n=!0,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function sB(e,n){const t=Gw();try{bd(!0),Eg(e,n);let i=0;for(;md(e);){if(100===i)throw new b(103,!1);i++,Eg(e,1)}}finally{bd(t)}}(e,t)}catch(s){throw n&&ru(e,s),s}finally{r.end?.()}}function LD(e,n,t,i){const r=n[2];if(!(256&~r))return;Kp(n);let a=!0,l=null,c=null;FD(e)?(c=function JV(e){return e[24]??function eB(e){const n=ND.pop()??Object.create(nB);return n.lView=e,n}(e)}(n),l=Lo(c)):null===function Zf(){return Je}()?(a=!1,c=function iB(e){const n=e[24]??Object.create(rB);return n.lView=e,n}(n),l=Lo(c)):n[24]&&(Ca(n[24]),n[24]=null);try{Bw(n),function qw(e){return z.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&wD(e,n,t,2,i);const d=!(3&~r);if(d){const h=e.preOrderCheckHooks;null!==h&&Ed(n,h,null)}else{const h=e.preOrderHooks;null!==h&&Dd(n,h,0,null),Xp(n,0)}if(function aB(e){for(let n=UC(e);null!==n;n=zC(n)){if(!(n[2]&fd.HasTransplantedViews))continue;const t=n[9];for(let i=0;i<t.length;i++)jp(t[i])}}(n),OD(n),VD(n,0),null!==e.contentQueries&&MD(e,n),d){const h=e.contentCheckHooks;null!==h&&Ed(n,h)}else{const h=e.contentHooks;null!==h&&Dd(n,h,1),Xp(n,1)}!function SV(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)Ur(~r);else{const o=r,s=t[++i],a=t[++i];pP(s,o),a(2,n[o])}}}finally{Ur(-1)}}(e,n);const u=e.components;null!==u&&jD(n,u,0);const f=e.viewQuery;if(null!==f&&yg(2,f,i),d){const h=e.viewCheckHooks;null!==h&&Ed(n,h)}else{const h=e.viewHooks;null!==h&&Dd(n,h,2),Xp(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const h of n[22])h();n[22]=null}n[2]&=-73}catch(d){throw Fa(n),d}finally{null!==c&&(ba(c,l),a&&function tB(e){e.lView[24]!==e&&(e.lView=null,ND.push(e))}(c)),Qp()}}function VD(e,n){for(let t=UC(e);null!==t;t=zC(t))for(let i=10;i<t.length;i++)BD(t[i],n)}function lB(e,n,t){BD(hn(n,e),t)}function BD(e,n){Bp(e)&&Eg(e,n)}function Eg(e,n){const i=e[1],r=e[2],o=e[24];let s=!!(0===n&&16&r);if(s||=!!(64&r&&0===n),s||=!!(1024&r),s||=!(!o?.dirty||!wa(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)LD(i,e,i.template,e[8]);else if(8192&r){OD(e),VD(e,1);const a=i.components;null!==a&&jD(e,a,1)}}function jD(e,n,t){for(let i=0;i<n.length;i++)lB(e,n[i],t)}function fl(e,n){const t=Gw()?64:1088;for(e[10].changeDetectionScheduler?.notify(n);e;){e[2]|=t;const i=Ri(e);if(Ra(e)&&!i)return e;e=i}return null}class pl{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const n=this._lView,t=n[1];return hl(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get context(){return this._lView[8]}get dirty(){return!!(9280&this._lView[2])||!!this._lView[24]?.dirty}set context(n){this._lView[8]=n}get destroyed(){return!(256&~this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(ft(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(al(n,i),id(t,i))}this._attachedToViewContainer=!1}ll(this._lView[1],this._lView)}onDestroy(n){gd(this._lView,n)}markForCheck(){fl(this._cdRefInjectingView||this._lView,4)}markForRefresh(){jp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){Hp(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,su(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Ra(this._lView),t=this._lView[16];null!==t&&!n&&tg(t,this._lView),tD(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;const t=Ra(this._lView),i=this._lView[16];null!==i&&!t&&nD(i,this._lView),Hp(this._lView)}}let Vi=(()=>class e{static __NG_ELEMENT_ID__=uB})();const cB=Vi,dB=class extends cB{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=bs(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new pl(r)}};function uB(){return au(te(),w())}function au(e,n){return 4&e.type?new dB(n,e,os(e,n)):null}class o2{}class lx{}class s2{resolveComponentFactory(n){throw Error(`No component factory found for ${dt(n)}.`)}}class fu{static NULL=new s2}class pu{}let Bi=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function a2(){const e=w(),t=hn(te().index,e);return(Ze(t)?t:e)[U]}()})(),l2=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();function gu(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=cp(r,a):2==o&&(i=cp(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}class ux extends fu{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ee(n);return new Dl(t,this.ngModule)}}function hx(e,n){const t=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const r=e[i];if(void 0===r)continue;const o=Array.isArray(r),s=o?r[0]:r;t.push(n?{propName:s,templateName:i,isSignal:!!((o?r[1]:ar.None)&ar.SignalBased)}:{propName:s,templateName:i})}return t}class Dl extends lx{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){const n=this.componentDef,t=n.inputTransforms,i=hx(n.inputs,!0);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return hx(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function DV(e){return e.map(EV).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){const o=X(null);try{let s=(r=r||this.ngModule)instanceof Dt?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new zr(n,s):n,l=a.get(pu,null);if(null===l)throw new b(407,!1);const u={rendererFactory:l,sanitizer:a.get(l2,null),changeDetectionScheduler:a.get(Oi,null)},f=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function MV(e,n,t,i){const o=i.get(eE,!1)||t===$n.ShadowDom,s=e.selectRootElement(n,o);return function TV(e){CD(e)}(s),s}(f,i,this.componentDef.encapsulation,a):eu(f,h,function u2(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(h));let m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let _=null;null!==p&&(_=null);const y=pg(0,null,null,1,0,null,null,null,null,null,null),v=dl(null,y,null,m,null,null,u,f,a,null,_);Kp(v);let E,I,P=null;try{const W=this.componentDef;let J,ye=null;W.findHostDirectiveDefs?(J=[],ye=new Map,W.findHostDirectiveDefs(W,J,ye),J.push(W)):J=[W];const Ii=function f2(e,n){const t=e[1];return e[25]=n,Xr(t,25,2,"#host",null)}(v,p);P=function p2(e,n,t,i,r,o,s){const a=r[1];!function m2(e,n,t,i){for(const r of e)n.mergedAttrs=Va(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(gu(n,n.mergedAttrs,!0),null!==t&&pD(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=null);const c=o.rendererFactory.createRenderer(n,t),d=dl(r,fg(t),null,_g(t),r[e.index],e,o,c,null,null,l);return a.firstCreatePass&&gg(a,e,i.length-1),iu(r,d),r[e.index]=d}(Ii,p,W,J,v,u,f),I=ts(y,T),p&&function _2(e,n,t,i){if(i)tm(e,t,["ng-version","19.0.4"]);else{const{attrs:r,classes:o}=function xV(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&n.push(o,e[++i]):8===r&&t.push(o);else{if(!Gn(r))break;r=o}i++}return{attrs:n,classes:t}}(n.selectors[0]);r&&tm(e,t,r),o&&o.length>0&&fD(e,t,o.join(" "))}}(f,W,p,i),void 0!==t&&function v2(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const o=t[r];i.push(null!=o&&o.length?Array.from(o):null)}}(I,this.ngContentSelectors,t),E=function g2(e,n,t,i,r,o){const s=te(),a=r[1],l=Ht(s,r);xD(a,r,s,t,null,i);for(let d=0;d<t.length;d++)Rt($r(r,a,s.directiveStart+d,s),r);SD(a,r,s),l&&Rt(l,r);const c=$r(r,a,s.directiveStart+s.componentOffset,s);if(e[8]=r[8]=c,null!==o)for(const d of o)d(c,n);return dg(a,s,r),c}(P,W,J,ye,v,[y2]),ou(y,v,null)}catch(W){throw null!==P&&mm(P),mm(v),W}finally{Qp()}return new h2(this.componentType,E,os(I,v),v,I)}finally{X(o)}}}class h2 extends o2{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(n,t,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new pl(r,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;bg(o[1],o,r,n,t),this.previousInputValues.set(n,t),fl(hn(this._tNode.index,o),1)}}get injector(){return new pt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function y2(){const e=te();Cd(w()[1],e)}let nn=(()=>class e{static __NG_ELEMENT_ID__=b2})();function b2(){return mx(te(),w())}const w2=nn,fx=class extends w2{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return os(this._hostTNode,this._hostLView)}get injector(){return new pt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Id(this._hostTNode,this._hostLView);if(im(n)){const t=ja(n,this._hostLView),i=Ba(n);return new pt(t[1].data[i+8],t)}return new pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=px(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Jr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function ka(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new Dl(ee(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(Dt,null);m&&(o=m)}ee(l.componentType??{});const h=l.create(c,r,null,o);return this.insertImpl(h.hostView,a,Jr(this._hostTNode,null)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function rP(e){return ft(e[3])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[3],c=new fx(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ws(s,r,o,i),n.attachToViewContainerRef(),vw(Lg(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=px(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=al(this._lContainer,t);i&&(id(Lg(this._lContainer),t),ll(i[1],i))}detach(n){const t=this._adjustIndex(n,-1),i=al(this._lContainer,t);return i&&null!=id(Lg(this._lContainer),t)?new pl(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function px(e){return e[8]}function Lg(e){return e[8]||(e[8]=[])}function mx(e,n){let t;const i=n[e.index];return ft(i)?t=i:(t=ID(i,n,null,e),n[e.index]=t,iu(n,t)),gx(t,n,e,i),new fx(t,e,n)}let gx=function vx(e,n,t,i){if(e[7])return;let r;r=8&t.type?ce(i):function C2(e,n){const t=e[U],i=t.createComment(""),r=Ht(n,e);return Kr(t,rg(t,r),i,function cV(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[7]=r};class Bg{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new Bg(this.queryList)}setDirty(){this.queryList.setDirty()}}class jg{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const s=t.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new jg(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==Gg(n,t).matches&&this.queries[t].setDirty()}}class yx{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function A2(e){return e.split(",").map(n=>n.trim())}(n):n}}class Hg{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new Hg(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Ug{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Ug(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,t,S2(t,o)),this.matchTNodeWithReadOption(n,t,Md(t,n,o,!1,!1))}else i===Vi?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Md(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===we||r===nn||r===Vi&&4&t.type)this.addMatch(t.index,-2);else{const o=Md(t,n,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function S2(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function M2(e,n,t,i){return-1===t?function I2(e,n){return 11&e.type?os(e,n):4&e.type?au(e,n):null}(n,e):-2===t?function T2(e,n,t){return t===we?os(n,e):t===Vi?au(n,e):t===nn?mx(n,e):void 0}(e,n,i):$r(e,e[1],t,n)}function bx(e,n,t,i){const r=n[18].queries[i];if(null===r.matches){const o=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:M2(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function zg(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=bx(e,n,r,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=10;u<d.length;u++){const f=d[u];f[16]===f[3]&&zg(f[1],f,c,i)}if(null!==d[9]){const u=d[9];for(let f=0;f<u.length;f++){const h=u[f];zg(h[1],h,c,i)}}}}}return i}function wx(e,n,t){const i=new $a(!(4&~t));return function RV(e,n,t,i){const r=TD(n);r.push(t),e.firstCreatePass&&AD(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[18]??=new jg).queries.push(new Bg(i))-1}function Dx(e,n,t){null===e.queries&&(e.queries=new Hg),e.queries.track(new Ug(n,t))}function Gg(e,n){return e.queries.getByIndex(n)}function xx(e,n){const t=e[1],i=Gg(t,n);return i.crossesNgTemplate?zg(t,e,n,[]):bx(t,e,i,n)}function _u(e){return"function"==typeof e&&void 0!==e[vt]}function qn(e,n){bt("NgSignals");const t=function zF(e){const n=Object.create(Xf);n.value=e;const t=()=>(ya(n),n.value);return t[vt]=n,t}(e),i=t[vt];return n?.equal&&(i.equal=n.equal),t.set=r=>Qf(i,r),t.update=r=>function $F(e,n){zb()||Kb(),Qf(e,n(e.value))}(i,r),t.asReadonly=qg.bind(t),t}function qg(){const e=this[vt];if(void 0===e.readonlyFn){const n=()=>this();n[vt]=e,e.readonlyFn=n}return e.readonlyFn}class ur{}class Lx{}class Zg extends ur{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ux(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;const o=At(n);this._bootstrapComponents=gn(o.bootstrap),this._r3Injector=CC(n,t,[{provide:ur,useValue:this},{provide:fu,useValue:this.componentFactoryResolver},...i],dt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Yg extends Lx{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Zg(this.moduleType,n,[])}}class Vx extends ur{injector;componentFactoryResolver=new ux(this);instance=null;constructor(n){super();const t=new qo([...n.providers,{provide:ur,useValue:this},{provide:fu,useValue:this.componentFactoryResolver}],n.parent||ld(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function yu(e,n,t=null){return new Vx({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let z2=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=xp(0,t.type),r=i.length>0?yu([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(M(Dt))})}return e})();function it(e){return Ti(()=>{const n=jx(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===kd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(z2).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$n.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&bt("NgStandalone"),Hx(t);const i=e.dependencies;return t.directiveDefs=bu(i,!1),t.pipeDefs=bu(i,!0),t.id=function W2(e){let n=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function $2(e){return ee(e)||ut(e)}function G2(e){return null!==e}function Ne(e){return Ti(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bx(e,n){if(null==e)return oi;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=ar.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==ar.None?[i,a]:i,n[o]=s):t[o]=i}return t}function O(e){return Ti(()=>{const n=jx(e);return Hx(n),n})}function Nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function jx(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||oi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bx(e.inputs,n),outputs:Bx(e.outputs),debugInfo:null}}function Hx(e){e.features?.forEach(n=>n(e))}function bu(e,n){if(!e)return null;const t=n?Et:$2;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(G2)}function oe(e){let n=function Ux(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Hn(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new b(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=wu(e.inputs),s.inputTransforms=wu(e.inputTransforms),s.declaredInputs=wu(e.declaredInputs),s.outputs=wu(e.outputs);const a=r.hostBindings;a&&X2(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&K2(e,l),c&&Q2(e,c),Z2(e,r),aO(e.outputs,r.outputs),Hn(r)&&r.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===oe&&(t=!1)}}n=Object.getPrototypeOf(n)}!function Y2(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Va(r.hostAttrs,t=Va(t,r.hostAttrs))}}(i)}function Z2(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function wu(e){return e===oi?{}:e===he?[]:e}function K2(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function Q2(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function X2(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function Wn(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}function Cu(e){return!!Qg(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Qg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ke(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Il(e,n,t,i,r,o,s,a,l,c){const d=t+T,u=n.firstCreatePass?function aj(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Xr(n,e,4,s||null,a||null);mg(n,t,d,In(c,l)),Cd(n,d);const u=d.tView=pg(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,n,e,i,r,o,s,a,l):n.data[d];Un(u,!1);const f=Wx(n,e,u,t);Pa()&&tu(n,e,f,u),Rt(f,e);const h=ID(f,e,f,u);return e[d]=h,iu(e,h),pd(u)&&ug(n,e,u),null!=l&&hg(e,u,c),u}function rt(e,n,t,i,r,o,s,a){const l=w(),c=$();return Il(l,c,e,n,t,i,r,In(c.consts,o),s,a),rt}let Wx=function Zx(e,n,t,i){return ci(!0),n[U].createComment("")};let t0=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const l0=new C(""),Mu=new C("");let i_,t_=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(t,i,r){this._ngZone=t,this.registry=i,i_||(function Wj(e){i_=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static \u0275fac=function(i){return new(i||e)(M(q),M(n_),M(Mu))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),n_=(()=>{class e{_applications=new Map;registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return i_?.findTestabilityInTree(this,t,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tl(e){return!!e&&"function"==typeof e.then}function c0(e){return!!e&&"function"==typeof e.subscribe}const Tu=new C("");let d0=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=g(Tu,{optional:!0})??[];injector=g(Ee);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=Sn(this.injector,r);if(Tl(o))t.push(o);else if(c0(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),r_=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new u0})}return e})();class u0{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){const t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}const Al=new C("");function f0(e,n){return Array.isArray(n)?n.reduce(f0,e):{...e,...n}}let rn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(t1);afterRenderManager=g(km);zonelessEnabled=g(Ua);rootEffectScheduler=g(r_);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Q;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(zn).hasPendingTasks.pipe(K(t=>!t));constructor(){g(Ka,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=g(Dt);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){const r=t instanceof lx;if(!this._injector.get(d0).done)throw!r&&function er(e){const n=ee(e)||ut(e)||Et(e);return null!==n&&n.standalone}(t),new b(405,!1);let s;s=r?t:this._injector.get(fu).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Zj(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ur),c=s.create(Ee.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(l0,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Au(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(null!==this.tracingSnapshot){const i=this.tracingSnapshot;return this.tracingSnapshot=null,i.run(Am.CHANGE_DETECTION,this._tick),void i.dispose()}if(this._runningTick)throw new b(101,!1);const t=X(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,X(t),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(pu,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;0!==this.dirtyFlags&&t++<10;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)Qj(i,r,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>md(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Au(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Al,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Au(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Au(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Qj(e,n,t,i){(t||md(e))&&su(e,n,t&&!i?0:1)}function ze(e,n,t,i){const r=w();return Ke(r,Mn(),n)&&($(),mi(Ce(),r,e,n,t,i)),ze}function Ms(e,n,t,i){return Ke(e,Mn(),t)?n+Z(t)+i:Y}function ku(e,n){return e<<17|n<<2}function mr(e){return e>>17&32767}function a_(e){return 2|e}function io(e){return(131068&e)>>2}function l_(e,n){return-131069&e|n<<2}function c_(e){return 1|e}function I0(e,n,t,i){const r=e[t+1],o=null===n;let s=i?mr(r):io(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];PH(e[s],n)&&(a=!0,e[s+1]=i?c_(c):a_(c)),s=i?mr(c):io(c)}a&&(e[t+1]=i?a_(r):c_(r))}function PH(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Go(e,n)>=0}const mt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function M0(e){return e.substring(mt.key,mt.keyEnd)}function T0(e,n){const t=mt.textEnd;return t===n?-1:(n=mt.keyEnd=function jH(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,mt.key=n,t),Ps(e,n,t))}function Ps(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function re(e,n,t){const i=w();return Ke(i,Mn(),n)&&tn($(),Ce(),i,e,n,i[U],t,!1),re}function d_(e,n,t,i,r){const s=r?"class":"style";bg(e,t,n.inputs[s],s,i)}function zt(e,n,t){return Zn(e,n,t,!1),zt}function It(e,n){return Zn(e,n,null,!0),It}function Rl(e){!function Yn(e,n,t,i){const r=$(),o=Fi(2);r.firstUpdatePass&&O0(r,null,o,i);const s=w();if(t!==Y&&Ke(s,o,t)){const a=r.data[xt()];if(B0(a,i)&&!F0(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=cp(l,t||"")),d_(r,a,s,t,i)}else!function KH(e,n,t,i,r,o,s,a){r===Y&&(r=he);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const f=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,f!==h&&(p=u,m=h)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=h),null!==p&&L0(e,n,t,i,p,m,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}(r,a,s,s[U],s[o+1],s[o+1]=function ZH(e,n,t){if(null==t||""===t)return he;const i=[],r=mn(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,o)}}(YH,vi,e,!0)}function vi(e,n){for(let t=function VH(e){return function k0(e){mt.key=0,mt.keyEnd=0,mt.value=0,mt.valueEnd=0,mt.textEnd=e.length}(e),T0(e,Ps(e,0,mt.textEnd))}(n);t>=0;t=T0(n,t))cn(e,M0(n),!0)}function Zn(e,n,t,i){const r=w(),o=$(),s=Fi(2);o.firstUpdatePass&&O0(o,e,s,i),n!==Y&&Ke(r,s,n)&&L0(o,o.data[xt()],r,r[U],e,r[s+1]=function QH(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=dt(mn(e)))),e}(n,t),i,s)}function F0(e,n){return n>=e.expandoStartIndex}function O0(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[xt()],s=F0(e,t);B0(o,i)&&null===n&&!s&&(n=!1),n=function $H(e,n,t,i){const r=function Zp(e){const n=z.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Nl(t=u_(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=u_(r,e,n,t,i),null===o){let l=function GH(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==io(i))return e[mr(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=u_(null,e,n,l[1],i),l=Nl(l,n.attrs,i),function qH(e,n,t,i){e[mr(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function WH(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Nl(i,e[o].hostAttrs,t);return Nl(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function FH(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=mr(s),l=io(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||Go(t,d)>0)&&(c=!0)):d=t,r)if(0!==l){const f=mr(e[a+1]);e[i+1]=ku(f,a),0!==f&&(e[f+1]=l_(e[f+1],i)),e[a+1]=function RH(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=ku(a,0),0!==a&&(e[a+1]=l_(e[a+1],i)),a=i;else e[i+1]=ku(l,0),0===a?a=i:e[l+1]=l_(e[l+1],i),l=i;c&&(e[i+1]=a_(e[i+1])),I0(e,d,i,!0),I0(e,d,i,!1),function OH(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Go(o,n)>=0&&(t[i+1]=c_(t[i+1]))}(n,d,e,i,o),s=ku(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function u_(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],i=Nl(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function Nl(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),cn(e,s,!!t||n[++o]))}return void 0===e?null:e}function YH(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&cn(e,i,t)}function L0(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function NH(e){return!(1&~e)}(c)?V0(l,n,t,r,io(c),s):void 0;Ru(d)||(Ru(o)||function kH(e){return!(2&~e)}(c)&&(o=V0(l,null,t,r,a,s)),function hV(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:lr.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=lr.Important),e.setStyle(t,i,r,o))}}(i,s,Na(xt(),t),r,o))}function V0(e,n,t,i,r,o){const s=null===n;let a;for(;r>0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[r+1];f===Y&&(f=u?he:void 0);let h=u?Ep(f,i):d===i?f:void 0;if(c&&!Ru(h)&&(h=Ep(l,i)),Ru(h)&&(a=h,s))return a;const p=e[r+1];r=s?mr(p):io(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Ep(l,i))}return a}function Ru(e){return void 0!==e}function B0(e,n){return!!(e.flags&(n?8:16))}function yi(e,n){bt("NgControlFlow");const t=w(),i=Mn(),r=t[i]!==Y?t[i]:-1,o=-1!==r?Nu(t,T+r):void 0;if(Ke(t,i,e)){const a=X(null);try{if(void 0!==o&&function wg(e,n){const t=al(e,n);return void 0!==t&&ll(t[1],t),t}(o,0),-1!==e){const l=T+e,c=Nu(t,l),d=function p_(e,n){return ts(e,n)}(t[1],l),u=null;ws(c,bs(t,d,n,{dehydratedView:u}),0,Jr(d,u))}}finally{X(a)}}else if(void 0!==o){const a=function RD(e,n){const t=10+n;if(t<e.length)return e[t]}(o,0);void 0!==a&&(a[8]=n)}}function Nu(e,n){return e[n]}function A(e,n,t,i){const r=w(),o=$(),s=T+e,a=r[U],l=o.firstCreatePass?function yU(e,n,t,i,r,o){const s=n.consts,l=Xr(n,e,2,i,In(s,r));return mg(n,t,l,In(s,o)),null!==l.attrs&&gu(l,l.attrs,!1),null!==l.mergedAttrs&&gu(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,t,i):o.data[s],c=z0(o,r,l,a,n,e);r[s]=c;const d=pd(l);return Un(l,!0),pD(a,c,l),!function xs(e){return!(32&~e.flags)}(l)&&Pa()&&tu(o,r,c,l),0===function oP(){return z.lFrame.elementDepthCount}()&&Rt(c,r),function sP(){z.lFrame.elementDepthCount++}(),d&&(ug(o,r,l),dg(o,l,r)),null!==i&&hg(r,l),A}function N(){let e=te();Gp()?qp():(e=e.parent,Un(e,!1));const n=e;(function lP(e){return z.skipHydrationRootTNode===e})(n)&&function hP(){z.skipHydrationRootTNode=null}(),function aP(){z.lFrame.elementDepthCount--}();const t=$();return t.firstCreatePass&&(Cd(t,e),Fp(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function xP(e){return!!(8&e.flags)}(n)&&d_(t,n,w(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function SP(e){return!!(16&e.flags)}(n)&&d_(t,n,w(),n.stylesWithoutHost,!1),N}function Ft(e,n,t,i){return A(e,n,t,i),N(),Ft}let z0=(e,n,t,i,r,o)=>(ci(!0),eu(i,r,function eC(){return z.lFrame.currentNamespace}()));function Ls(e,n,t){const i=w(),r=$(),o=e+T,s=r.firstCreatePass?function CU(e,n,t,i,r){const o=n.consts,s=In(o,i),a=Xr(n,e,8,"ng-container",s);return null!==s&&gu(a,s,!0),mg(n,t,a,In(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Un(s,!0);const a=G0(r,i,s,e);return i[o]=a,Pa()&&tu(r,i,a,s),Rt(a,i),pd(s)&&(ug(r,i,s),dg(r,s,i)),null!=t&&hg(i,s),Ls}function Vs(){let e=te();const n=$();return Gp()?qp():(e=e.parent,Un(e,!1)),n.firstCreatePass&&(Cd(n,e),Fp(e)&&n.queries.elementEnd(e)),Vs}let G0=(e,n,t,i)=>(ci(!0),eg(n[U],""));function Fu(){return w()}function ro(e,n,t){const i=w();return Ke(i,Mn(),n)&&tn($(),Ce(),i,e,n,i[U],t,!0),ro}const Ou="en-US";let Y0=Ou;function je(e,n,t,i){const r=w(),o=$(),s=te();return function __(e,n,t,i,r,o,s){const a=pd(i),c=e.firstCreatePass&&AD(e),d=n[8],u=TD(n);let f=!0;if(3&i.type||s){const m=Ht(i,n),_=s?s(m):m,y=u.length,v=s?I=>s(ce(I[i.index])):i.index;let E=null;if(!s&&a&&(E=function gz(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===t&&r[o+1]===i){const a=n[7],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,f=!1;else{o=gS(i,n,d,o);const I=t.listen(_,r,o);u.push(o,I),c&&c.push(r,v,y,y+1)}}else o=gS(i,n,d,o);const h=i.outputs;let p;if(f&&null!==h&&(p=h[r])){const m=p.length;if(m)for(let _=0;_<m;_+=2){const P=n[p[_]][p[_+1]].subscribe(o),W=u.length;u.push(o,P),c&&c.push(r,i.index,W,-(W+1))}}}(o,r,r[U],s,e,n,i),je}function mS(e,n,t,i){const r=X(null);try{return!1!==t(i)}catch(o){return ru(e,o),!1}finally{X(r)}}function gS(e,n,t,i){return function r(o){if(o===Function)return i;fl(e.componentOffset>-1?hn(e.index,n):n,5);let a=mS(n,0,i,o),l=r.__ngNextListenerFn__;for(;l;)a=mS(n,0,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function He(e=1){return function _P(e){return(z.lFrame.contextLView=function jw(e,n){for(;e>0;)n=n[14],e--;return n}(e,z.lFrame.contextLView))[8]}(e)}function _z(e,n){let t=null;const i=function yV(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?gD(e,o,!0):CV(i,o))return r}else t=r}return t}function Kn(e){const n=w()[15][5];if(!n.projection){const i=n.projection=function rd(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?_z(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function ot(e,n=0,t,i,r,o){const s=w(),a=$(),l=i?e+1:null;null!==l&&Il(s,a,l,i,r,o,null,t);const c=Xr(a,T+e,16,null,t||null);null===c.projection&&(c.projection=n),qp();const u=!s[6]||Hr();null===s[15][5].projection[c.projection]&&null!==l?function vz(e,n,t){const i=T+t,r=n.data[i],o=e[i];ws(o,bs(e,r,void 0,{dehydratedView:null}),0,Jr(r,null))}(s,a,l):u&&32&~c.flags&&function dV(e,n,t){hD(n[U],0,n,t,ig(e,t,n),sD(t.parent||n[5],t,n))}(a,s,c)}function v_(e,n,t){return y_(e,"",n,"",t),v_}function y_(e,n,t,i,r){const o=w(),s=Ms(o,n,t,i);return s!==Y&&tn($(),Ce(),o,e,s,o[U],r,!1),y_}function _n(e,n,t,i){!function Ex(e,n,t,i){const r=$();if(r.firstCreatePass){const o=te();Dx(r,new yx(n,t,i),o.index),function k2(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return wx(r,w(),t)}(e,n,t,i)}function Bu(e,n,t){!function Cx(e,n,t){const i=$();return i.firstCreatePass&&(Dx(i,new yx(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),wx(i,w(),n)}(e,n,t)}function Ot(e){const n=w(),t=$(),i=Yp();wd(i+1);const r=Gg(t,i);if(e.dirty&&function iP(e){return!(4&~e[2])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=xx(n,i);e.reset(o,NC),e.notifyOnChanges()}return!0}return!1}function Pt(){return function $g(e,n){return e[18].queries[n].queryList}(w(),Yp())}function se(e,n=""){const t=w(),i=$(),r=e+T,o=i.firstCreatePass?Xr(i,r,1,n,null):i.data[r],s=FS(i,t,o,n,e);t[r]=s,Pa()&&tu(i,t,s,o),Un(o,!1)}let FS=(e,n,t,i,r)=>(ci(!0),function Jm(e,n){return e.createText(n)}(n[U],i));function so(e){return An("",e,""),so}function An(e,n,t){const i=w(),r=Ms(i,e,n,t);return r!==Y&&function Li(e,n,t){const i=Na(n,e);!function JE(e,n,t){e.setValue(n,t)}(e[U],i,t)}(i,xt(),r),An}function w_(e,n,t,i,r){if(e=j(e),Array.isArray(e))for(let o=0;o<e.length;o++)w_(e[o],n,t,i,r);else{const o=$(),s=w(),a=te();let l=Pr(e)?e:j(e.provide);const c=xw(e),d=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Pr(e)||!e.multi){const h=new La(c,r,D),p=E_(l,n,r?d:d+f,u);-1===p?(sm(Sd(a,s),o,l),C_(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=E_(l,n,d+f,u),p=E_(l,n,d,d+f),_=p>=0&&t[p];if(r&&!_||!r&&!(h>=0&&t[h])){sm(Sd(a,s),o,l);const y=function jz(e,n,t,i,r){const o=new La(e,t,D);return o.multi=[],o.index=n,o.componentProviders=0,WS(o,r,i&&!t),o}(r?Bz:Vz,t.length,r,i,c);!r&&_&&(t[p].providerFactory=y),C_(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(y),s.push(y)}else C_(o,e,h>-1?h:p,WS(t[r?p:h],c,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function C_(e,n,t,i){const r=Pr(n),o=function NO(e){return!!e.useClass}(n);if(r||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function WS(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function E_(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function Vz(e,n,t,i){return D_(this.multi,[])}function Bz(e,n,t,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=$r(t,t[1],this.providerFactory.index,i);o=a.slice(0,s),D_(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],D_(r,o);return o}function D_(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function pe(e,n=[]){return t=>{t.providersResolver=(i,r)=>function Lz(e,n,t){const i=$();if(i.firstCreatePass){const r=Hn(e);w_(t,i.data,i.blueprint,r,!0),w_(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function YS(e,n,t,i,r,o){const s=n+t;return Ke(e,s,r)?function gi(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function Bl(e,n){const t=e[n];return t===Y?void 0:t}(e,s+1)}function Hu(e,n){const t=$();let i;const r=e+T;t.firstCreatePass?(i=function e$(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=Or(i.type)),a=Xt(D);try{const l=xd(!1),c=o();return xd(l),function b_(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{Xt(a)}}function Uu(e,n,t){const i=e+T,r=w(),o=function jr(e,n){return e[n]}(r,i);return function jl(e,n){return e[1].data[n].pure}(r,i)?YS(r,function Ut(){const e=z.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}class R${ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let mI=(()=>{class e{compileModuleSync(t){return new Yg(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=gn(At(t).declarations).reduce((s,a)=>{const l=ee(a);return l&&s.push(new Dl(l)),s},[]);return new R$(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),O$=(()=>{class e{zone=g(q);changeDetectionScheduler=g(Oi);applicationRef=g(rn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function A_({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new q({...k_(),scheduleInRootZone:t}),[{provide:q,useFactory:e},{provide:xn,multi:!0,useFactory:()=>{const i=g(O$,{optional:!0});return()=>i.initialize()}},{provide:xn,multi:!0,useFactory:()=>{const i=g(L$);return()=>{i.initialize()}}},!0===n?{provide:xC,useValue:!0}:[],{provide:cm,useValue:t??EC}]}function k_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let L$=(()=>{class e{subscription=new Ge;initialized=!1;zone=g(q);pendingTasks=g(zn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ul=(()=>{class e{appRef=g(rn);taskService=g(zn);ngZone=g(q);zonelessEnabled=g(Ua);tracing=g(Ka,{optional:!0});disableScheduling=g(xC,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ge;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ad):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(cm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof fm||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let i=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,i=!0;break;case 13:this.appRef.dirtyFlags|=16,i=!0;break;case 12:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const r=this.useMicrotaskScheduler?IC:SC;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ad+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,IC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ji=new C("",{providedIn:"root",factory:()=>g(ji,ie.Optional|ie.SkipSelf)||function V$(){return typeof $localize<"u"&&$localize.locale||Ou}()}),$u=new C("");function Gu(e){return!e.moduleRef}let wI=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[A_({ngZoneFactory:()=>function e1(e="zone.js",n){return"noop"===e?new fm:"zone.js"===e?new q(n):e}(i?.ngZone,{...k_({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:Oi,useExisting:Ul}],l=function U2(e,n,t){return new Zg(e,n,t,!1)}(t.moduleType,this.injector,a);return function bI(e){const n=Gu(e)?e.r3Injector:e.moduleRef.injector,t=n.get(q);return t.run(()=>{Gu(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(fn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Gu(e)){const o=()=>n.destroy(),s=e.platformInjector.get($u);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get($u);s.add(o),e.moduleRef.onDestroy(()=>{Au(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function Kj(e,n,t){try{const i=t();return Tl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(d0);return o.runInitializers(),o.donePromise.then(()=>{if(function kU(e){"string"==typeof e&&(Y0=e.toLowerCase().replace(/_/g,"-"))}(n.get(ji,Ou)||Ou),Gu(e)){const a=n.get(rn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function $$(e,n){const t=e.injector.get(rn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new b(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=f0({},i);return function F$(e,n,t){const i=new Yg(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get($u,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||e)(M(Ee))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),gr=null;const CI=new C("");function EI(e,n,t=[]){const i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let s=N_();if(!s||s.injector.get(CI,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function G$(e){if(gr&&!gr.get(CI,!1))throw new b(400,!1);(function h0(){!function UF(e){Yb=e}(()=>{throw new b(600,!1)})})(),gr=e;const n=e.get(wI);(function xI(e){const n=e.get(ym,null);Sn(e,()=>{n?.forEach(t=>t())})})(e)}(function DI(e=[],n){return Ee.create({name:n,providers:[{provide:Mp,useValue:"platform"},{provide:$u,useValue:new Set([()=>gr=null])},...e]})}(a,i))}return function q$(){const n=N_();if(!n)throw new b(401,!1);return n}()}}function N_(){return gr?.get(wI)??null}let _r=(()=>class e{static __NG_ELEMENT_ID__=Z$})();function Z$(e){return function Y$(e,n,t){if(ir(e)&&!t){const i=hn(e.index,n);return new pl(i,i)}return 175&e.type?new pl(n[15],n):null}(te(),w(),!(16&~e))}class AI{constructor(){}supports(n){return Cu(n)}create(n){return new e3(n)}}const J$=(e,n)=>n;class e3{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||J$}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex<RI(i,r,o)?t:i,a=RI(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,d=l-r;if(c!=d){for(let f=0;f<c;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;d<=p&&p<c&&(o[f]=h+1)}o[s.previousIndex]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!Cu(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),i=!0),t=t._next}else r=0,function oj(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new t3(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new kI),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new kI),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class t3{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}}class n3{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class kI{map=new Map;put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new n3,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function RI(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}class NI{constructor(){}supports(n){return n instanceof Map||Qg(n)}create(){return new i3}}class i3{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||Qg(n)))throw new b(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new r3(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class r3{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}}function FI(){return new V_([new AI])}let V_=(()=>{class e{factories;static \u0275prov=S({token:e,providedIn:"root",factory:FI});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||FI()),deps:[[e,new Ta,new Fr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new b(901,!1)}}return e})();function OI(){return new Zu([new NI])}let Zu=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:OI});factories;constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||OI()),deps:[[e,new Ta,new Fr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new b(901,!1)}}return e})();const a3=EI(null,"core",[]);let l3=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(M(rn))};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();function Te(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function aM(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function Lt(e){const n=X(null);try{return e()}finally{X(n)}}let dM=(()=>class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=W3})();function W3(){return new dM(w(),te())}class J3{[vt];constructor(n){this[vt]=n}destroy(){this[vt].destroy()}}const uM={...Po,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:za,run(){if(this.dirty=!1,this.hasRun&&!wa(this))return;this.hasRun=!0;const e=i=>(this.cleanupFns??=[]).push(i),n=Lo(this),t=bd(!1);try{this.maybeCleanup(),this.fn(e)}finally{bd(t),ba(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},e8={...uM,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ca(this),this.onDestroyFn(),this.maybeCleanup()}},t8={...uM,consumerMarkedDirty(){this.view[2]|=8192,Fa(this.view),this.notifier.notify(14)},destroy(){Ca(this),this.onDestroyFn(),this.maybeCleanup(),this.view[23]?.delete(this)}};function fM(e,n){const t=ee(e),i=n.elementInjector||ld();return new Dl(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let pM=null;function vr(){return pM}class f8{}const ae=new C("");let G_=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(m8),providedIn:"platform"})}return e})();const p8=new C("");let m8=(()=>{class e extends G_{_location;_history;_doc=g(ae);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return vr().getBaseHref(this._doc)}onPopState(t){const i=vr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=vr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function q_(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function mM(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Hi(e){return e&&"?"!==e[0]?"?"+e:e}let co=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(_M),providedIn:"root"})}return e})();const gM=new C("");let _M=(()=>{class e extends co{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return q_(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Hi(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Hi(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Hi(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(M(G_),M(gM,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),g8=(()=>{class e extends co{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=q_(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+Hi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+Hi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(M(G_),M(gM,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),zs=(()=>{class e{_subject=new Q;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function y8(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(mM(vM(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Hi(i))}normalize(t){return e.stripTrailingSlash(function v8(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,vM(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Hi(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Hi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Hi;static joinWithSlash=q_;static stripTrailingSlash=mM;static \u0275fac=function(i){return new(i||e)(M(co))};static \u0275prov=S({token:e,factory:()=>function _8(){return new zs(M(co))}(),providedIn:"root"})}return e})();function vM(e){return e.replace(/\/index.html$/,"")}function IM(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}const nv=/\s+/,MM=[];let TM=(()=>{class e{_ngEl;_renderer;initialClasses=MM;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=null!=t?t.trim().split(nv):MM}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(nv):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(nv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(D(we),D(Bi))};static \u0275dir=O({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class r4{$implicit;ngForOf;index;count;constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let kM=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new r4(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),RM(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{RM(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(D(nn),D(Vi),D(V_))};static \u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function RM(e,n){e.context.$implicit=n.item}let NM=(()=>{class e{_viewContainer;_context=new o4;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,i){this._viewContainer=t,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){FM("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){FM("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(D(nn),D(Vi))};static \u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class o4{$implicit=null;ngIf=null}function FM(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${dt(n)}'.`)}class l4{createSubscription(n,t){return Lt(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){Lt(()=>n.unsubscribe())}}class c4{createSubscription(n,t){return n.then(t,i=>{throw i})}dispose(n){}}const d4=new c4,u4=new l4;let PM=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(Tl(t))return d4;if(c0(t))return u4;throw function Xn(e,n){return new b(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||e)(D(_r,16))};static \u0275pipe=Nt({name:"async",type:e,pure:!1})}return e})(),LM=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=VM;transform(t,i=VM){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ??=this.differs.find(t).create();const r=this.differ.diff(t),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function D4(e,n){return{key:e,value:n}}(s.key,s.currentValue))})),(r||o)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||e)(D(Zu,16))};static \u0275pipe=Nt({name:"keyvalue",type:e,pure:!1})}return e})();function VM(e,n){const t=e.key,i=n.key;if(t===i)return 0;if(void 0===t)return 1;if(void 0===i)return-1;if(null===t)return 1;if(null===i)return-1;if("string"==typeof t&&"string"==typeof i)return t<i?-1:1;if("number"==typeof t&&"number"==typeof i)return t-i;if("boolean"==typeof t&&"boolean"==typeof i)return t<i?-1:1;const r=String(t),o=String(i);return r==o?0:r<o?-1:1}let BM=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();const jM="browser";function yr(e){return e===jM}function HM(e){return"server"===e}let T4=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>yr(g(hi))?new A4(g(ae),window):new R4})}return e})();class A4{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function k4(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}}class R4{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class UM{}class sG extends f8{supportsDOMEvents=!0}class dv extends sG{static makeCurrent(){!function h8(e){pM??=e}(new dv)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function aG(){return Yl=Yl||document.querySelector("base"),Yl?Yl.getAttribute("href"):null}();return null==t?null:function lG(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Yl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return IM(document.cookie,n)}}let Yl=null,dG=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const uv=new C("");let JM=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new b(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(M(uv),M(q))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class eT{_doc;constructor(n){this._doc=n}manager}const _h="ng-app-id";function tT(e){for(const n of e)n.remove()}function nT(e,n){const t=n.createElement("style");return t.textContent=e,t}function hv(e,n){const t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}let iT=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.isServer=HM(o),function uG(e,n,t,i){const r=e.head?.querySelectorAll(`style[${_h}="${n}"],link[${_h}="${n}"]`);if(r)for(const o of r)o.removeAttribute(_h),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}(t,i,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,i){for(const r of t)this.addUsage(r,this.inline,nT);i?.forEach(r=>this.addUsage(r,this.external,hv))}removeStyles(t,i){for(const r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){const o=i.get(t);o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(t,this.doc)))})}removeUsage(t,i){const r=i.get(t);r&&(r.usage--,r.usage<=0&&(tT(r.elements),i.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])tT(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[i,{elements:r}]of this.inline)r.push(this.addElement(t,nT(i,this.doc)));for(const[i,{elements:r}]of this.external)r.push(this.addElement(t,hv(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(_h,this.appId),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(M(ae),M(or),M(bm,8),M(hi))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const fv={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/Math/MathML"},pv=/%COMP%/g,mG=new C("",{providedIn:"root",factory:()=>!0});function oT(e,n){return n.map(t=>t.replace(pv,e))}let mv=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=HM(a),this.defaultRenderer=new gv(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===$n.ShadowDom&&(i={...i,encapsulation:$n.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof aT?r.applyToHost(t):r instanceof _v&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case $n.Emulated:o=new aT(l,c,i,this.appId,d,s,a,u);break;case $n.ShadowDom:return new yG(l,c,t,i,s,a,this.nonce,u);default:o=new _v(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(i){return new(i||e)(M(JM),M(iT),M(or),M(mG),M(ae),M(hi),M(q),M(bm))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class gv{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(fv[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(sT(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(sT(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new b(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=fv[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=fv[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(lr.DashCase|lr.Important)?n.style.setProperty(t,i,r&lr.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&lr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=vr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function sT(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class yG extends gv{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=oT(r.id,r.styles);for(const u of c){const f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=u,this.shadowRoot.appendChild(f)}const d=r.getExternalStyles?.();if(d)for(const u of d){const f=hv(u,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class _v extends gv{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?oT(l,i.styles):i.styles,this.styleUrls=i.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class aT extends _v{contentAttr;hostAttr;constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function gG(e){return"_ngcontent-%COMP%".replace(pv,e)}(c),this.hostAttr=function _G(e){return"_nghost-%COMP%".replace(pv,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let bG=(()=>{class e extends eT{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const lT=["alt","control","meta","shift"],wG={"\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"},CG={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let EG=(()=>{class e extends eT{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),lT.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=wG[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),lT.forEach(s=>{s!==r&&(0,CG[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const IG=EI(a3,"browser",[{provide:hi,useValue:jM},{provide:ym,useValue:function DG(){dv.makeCurrent()},multi:!0},{provide:ae,useFactory:function SG(){return function S1(e){vm=e}(document),document},deps:[]}]),MG=new C(""),uT=[{provide:Mu,useClass:class cG{addToWindow(n){Pe.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new b(5103,!1);return o},Pe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Pe.getAllAngularRootElements=()=>n.getAllRootElements(),Pe.frameworkStabilizers||(Pe.frameworkStabilizers=[]),Pe.frameworkStabilizers.push(i=>{const r=Pe.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?vr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:l0,useClass:t_,deps:[q,n_,Mu]},{provide:t_,useClass:t_,deps:[q,n_,Mu]}],hT=[{provide:Mp,useValue:"root"},{provide:fn,useFactory:function xG(){return new fn},deps:[]},{provide:uv,useClass:bG,multi:!0,deps:[ae,q,hi]},{provide:uv,useClass:EG,multi:!0,deps:[ae]},mv,iT,JM,{provide:pu,useExisting:mv},{provide:UM,useClass:dG,deps:[]},[]];let fT=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(M(MG,12))};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[...hT,...uT],imports:[BM,l3]})}return e})(),TG=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Kl=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:function(i){let r=null;return r=i?new(i||e):M(NG),r},providedIn:"root"})}return e})(),NG=(()=>{class e extends Kl{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case wt.NONE:return i;case wt.HTML:return pi(i,"HTML")?mn(i):UE(this._doc,String(i)).toString();case wt.STYLE:return pi(i,"Style")?mn(i):i;case wt.SCRIPT:if(pi(i,"Script"))return mn(i);throw new b(5200,!1);case wt.URL:return pi(i,"URL")?mn(i):Kd(String(i));case wt.RESOURCE_URL:if(pi(i,"ResourceURL"))return mn(i);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(t){return function wL(e){return new mL(e)}(t)}bypassSecurityTrustStyle(t){return function CL(e){return new gL(e)}(t)}bypassSecurityTrustScript(t){return function EL(e){return new _L(e)}(t)}bypassSecurityTrustUrl(t){return function DL(e){return new vL(e)}(t)}bypassSecurityTrustResourceUrl(t){return function xL(e){return new yL(e)}(t)}static \u0275fac=function(i){return new(i||e)(M(ae))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wr(e){return this instanceof wr?(this.v=e,this):new wr(e)}function yT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Cv(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Dv=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bT(e){return ue(e?.then)}function wT(e){return ue(e[ap])}function CT(e){return Symbol.asyncIterator&&ue(e?.[Symbol.asyncIterator])}function ET(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const DT=function s5(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function xT(e){return ue(e?.[DT])}function ST(e){return function vT(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(h,p){i[h]&&(r[h]=function(m){return new Promise(function(_,y){o.push([h,m,_,y])>1||l(h,m)})},p&&(r[h]=p(r[h])))}function l(h,p){try{!function c(h){h.value instanceof wr?Promise.resolve(h.value.v).then(d,u):f(o[0][2],h)}(i[h](p))}catch(m){f(o[0][3],m)}}function d(h){l("next",h)}function u(h){l("throw",h)}function f(h,p){h(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield wr(t.read());if(r)return yield wr(void 0);yield yield wr(i)}}finally{t.releaseLock()}})}function IT(e){return ue(e?.getReader)}function Wt(e){if(e instanceof Ve)return e;if(null!=e){if(wT(e))return function a5(e){return new Ve(n=>{const t=e[ap]();if(ue(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Dv(e))return function l5(e){return new Ve(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(bT(e))return function c5(e){return new Ve(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ew)})}(e);if(CT(e))return MT(e);if(xT(e))return function d5(e){return new Ve(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(IT(e))return function u5(e){return MT(ST(e))}(e)}throw ET(e)}function MT(e){return new Ve(n=>{(function h5(e,n){var t,i,r,o;return function gT(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=yT(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function $i(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function TT(e,n=0){return et((t,i)=>{t.subscribe(Ue(i,r=>$i(i,e,()=>i.next(r),n),()=>$i(i,e,()=>i.complete(),n),r=>$i(i,e,()=>i.error(r),n)))})}function AT(e,n=0){return et((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function kT(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ve(t=>{$i(t,n,()=>{const i=e[Symbol.asyncIterator]();$i(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function lt(e,n){return n?function v5(e,n){if(null!=e){if(wT(e))return function f5(e,n){return Wt(e).pipe(AT(n),TT(n))}(e,n);if(Dv(e))return function m5(e,n){return new Ve(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(bT(e))return function p5(e,n){return Wt(e).pipe(AT(n),TT(n))}(e,n);if(CT(e))return kT(e,n);if(xT(e))return function g5(e,n){return new Ve(t=>{let i;return $i(t,n,()=>{i=e[DT](),$i(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ue(i?.return)&&i.return()})}(e,n);if(IT(e))return function _5(e,n){return kT(ST(e),n)}(e,n)}throw ET(e)}(e,n):Wt(e)}function RT(e){return e&&ue(e.schedule)}function xv(e){return e[e.length-1]}function NT(e){return ue(xv(e))?e.pop():void 0}function Xl(e){return RT(xv(e))?e.pop():void 0}function F(...e){return lt(e,Xl(e))}const{isArray:b5}=Array,{getPrototypeOf:w5,prototype:C5,keys:E5}=Object;function FT(e){if(1===e.length){const n=e[0];if(b5(n))return{args:n,keys:null};if(function D5(e){return e&&"object"==typeof e&&w5(e)===C5}(n)){const t=E5(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:x5}=Array;function Sv(e){return K(n=>function S5(e,n){return x5(n)?e(...n):e(n)}(e,n))}function OT(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function vh(...e){const n=Xl(e),t=NT(e),{args:i,keys:r}=FT(e);if(0===i.length)return lt([],n);const o=new Ve(function I5(e,n,t=Qi){return i=>{PT(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)PT(n,()=>{const c=lt(e[l],n);let d=!1;c.subscribe(Ue(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>OT(r,s):Qi));return t?o.pipe(Sv(t)):o}function PT(e,n,t){e?$i(t,e,n):n()}const yh=ep(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Tt(e,n,t=1/0){return ue(n)?Tt((i,r)=>K((o,s)=>n(i,o,r,s))(Wt(e(i,r))),t):("number"==typeof n&&(t=n),et((i,r)=>function M5(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=m=>c<i?p(m):l.push(m),p=m=>{o&&n.next(m),c++;let _=!1;Wt(t(m,d++)).subscribe(Ue(n,y=>{r?.(y),o?h(y):n.next(y)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const y=l.shift();s?$i(n,s,()=>p(y)):p(y)}f()}catch(y){n.error(y)}}))};return e.subscribe(Ue(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,r,e,t)))}function qs(e=1/0){return Tt(Qi,e)}function bh(...e){return function T5(){return qs(1)}()(lt(e,Xl(e)))}function LT(e){return new Ve(n=>{Wt(e()).subscribe(n)})}function Jl(e,n){const t=ue(e)?e:()=>e,i=r=>r.error(t());return new Ve(n?r=>n.schedule(i,0,r):i)}const Jn=new Ve(e=>e.complete());function Iv(){return et((e,n)=>{let t=null;e._refCount++;const i=Ue(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class VT extends Ve{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,rw(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Ge;const t=this.getSubject();n.add(this.source.subscribe(Ue(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ge.EMPTY)}return n}refCount(){return Iv()(this)}}function yn(e,n){return et((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(Ue(i,l=>{r?.unsubscribe();let c=0;const d=o++;Wt(e(l,d)).subscribe(r=Ue(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function bi(e){return e<=0?()=>Jn:et((n,t)=>{let i=0;n.subscribe(Ue(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function uo(...e){const n=Xl(e);return et((t,i)=>{(n?bh(e,t,n):bh(e,t)).subscribe(i)})}function bn(e,n){return et((t,i)=>{let r=0;t.subscribe(Ue(i,o=>e.call(n,o,r++)&&i.next(o)))})}function wh(e){return et((n,t)=>{let i=!1;n.subscribe(Ue(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function BT(e=k5){return et((n,t)=>{let i=!1;n.subscribe(Ue(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function k5(){return new yh}function Cr(e,n){const t=arguments.length>=2;return i=>i.pipe(e?bn((r,o)=>e(r,o,i)):Qi,bi(1),t?wh(n):BT(()=>new yh))}function Ws(e,n){return ue(n)?Tt(e,n,1):Tt(e,1)}function _t(e,n,t){const i=ue(e)||n||t?{next:e,error:n,complete:t}:e;return i?et((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ue(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Qi}function ho(e){return et((n,t)=>{let o,i=null,r=!1;i=n.subscribe(Ue(t,void 0,void 0,s=>{o=Wt(e(s,ho(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Mv(e){return e<=0?()=>Jn:et((n,t)=>{let i=[];n.subscribe(Ue(t,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function jT(e){return K(()=>e)}function Zs(e){return et((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Xe(e){return et((n,t)=>{Wt(e).subscribe(Ue(t,()=>t.complete(),np)),!t.closed&&n.subscribe(t)})}const ne="primary",ec=Symbol("RouteTitle");class O5{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Ys(e){return new O5(e)}function P5(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=e[o];if(":"===s[0])r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function wi(e,n){const t=e?Tv(e):void 0,i=n?Tv(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!HT(e[r],n[r]))return!1;return!0}function Tv(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function HT(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((r,o)=>i[o]===r)}return e===n}function UT(e){return e.length>0?e[e.length-1]:null}function Er(e){return function vv(e){return!!e&&(e instanceof Ve||ue(e.lift)&&ue(e.subscribe))}(e)?e:Tl(e)?lt(Promise.resolve(e)):F(e)}const V5={exact:function GT(e,n,t){if(!po(e.segments,n.segments)||!Ch(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!GT(e.children[i],n.children[i],t))return!1;return!0},subset:qT},zT={exact:function B5(e,n){return wi(e,n)},subset:function j5(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>HT(e[t],n[t]))},ignored:()=>!0};function $T(e,n,t){return V5[t.paths](e.root,n.root,t.matrixParams)&&zT[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function qT(e,n,t){return WT(e,n,n.segments,t)}function WT(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!po(r,t)||n.hasChildren()||!Ch(r,t,i))}if(e.segments.length===t.length){if(!po(e.segments,t)||!Ch(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!qT(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(po(e.segments,r)&&Ch(e.segments,r,i)&&e.children[ne])&&WT(e.children[ne],n,o,i)}}function Ch(e,n,t){return n.every((i,r)=>zT[t](e[r].parameters,i.parameters))}class fo{root;queryParams;fragment;_queryParamMap;constructor(n=new De([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ys(this.queryParams),this._queryParamMap}toString(){return z5.serialize(this)}}class De{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dh(this)}}class tc{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Ys(this.parameters),this._parameterMap}toString(){return KT(this)}}function po(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let Ks=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>new Eh,providedIn:"root"})}return e})();class Eh{parse(n){const t=new eq(n);return new fo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${nc(n.root,!0)}`,i=function q5(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${xh(t)}=${xh(r)}`).join("&"):`${xh(t)}=${xh(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function $5(e){return encodeURI(e)}(n.fragment)}`:""}`}}const z5=new Eh;function Dh(e){return e.segments.map(n=>KT(n)).join("/")}function nc(e,n){if(!e.hasChildren())return Dh(e);if(n){const t=e.children[ne]?nc(e.children[ne],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==ne&&i.push(`${r}:${nc(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function U5(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===ne&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==ne&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===ne?[nc(e.children[ne],!1)]:[`${r}:${nc(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ne]?`${Dh(e)}/${t[0]}`:`${Dh(e)}/(${t.join("//")})`}}function ZT(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xh(e){return ZT(e).replace(/%3B/gi,";")}function Av(e){return ZT(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Sh(e){return decodeURIComponent(e)}function YT(e){return Sh(e.replace(/\+/g,"%20"))}function KT(e){return`${Av(e.path)}${function G5(e){return Object.entries(e).map(([n,t])=>`;${Av(n)}=${Av(t)}`).join("")}(e.parameters)}`}const W5=/^[^\/()?;#]+/;function kv(e){const n=e.match(W5);return n?n[0]:""}const Z5=/^[^\/()?;=#]+/,K5=/^[^=?&#]+/,X5=/^[^&#]+/;class eq{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new De([],{}):new De([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[ne]=new De(n,t)),i}parseSegment(){const n=kv(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new tc(Sh(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function Y5(e){const n=e.match(Z5);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=kv(this.remaining);r&&(i=r,this.capture(i))}n[Sh(t)]=Sh(i)}parseQueryParam(n){const t=function Q5(e){const n=e.match(K5);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function J5(e){const n=e.match(X5);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=YT(t),o=YT(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=kv(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new b(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ne);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[ne]:new De([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new b(4011,!1)}}function QT(e){return e.segments.length>0?new De([],{[ne]:e}):e}function XT(e){const n={};for(const[i,r]of Object.entries(e.children)){const o=XT(r);if(i===ne&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function tq(e){if(1===e.numberOfChildren&&e.children[ne]){const n=e.children[ne];return new De(e.segments.concat(n.segments),n.children)}return e}(new De(e.segments,n))}function mo(e){return e instanceof fo}function JT(e){let n;const r=QT(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new De(o.url,s);return o===e&&(n=a),a}(e.root));return n??r}function eA(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Rv(r,r,r,t,i);const o=function iq(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new nA(!0,0,e);let n=0,t=!1;const i=e.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new nA(t,n,i)}(n);if(o.toRoot())return Rv(r,r,new De([],{}),t,i);const s=function rq(e,n,t){if(e.isAbsolute)return new Mh(n,!0,0);if(!t)return new Mh(n,!1,NaN);if(null===t.parent)return new Mh(t,!0,0);const i=Ih(e.commands[0])?0:1;return function oq(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new b(4005,!1);r=i.segments.length}return new Mh(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?rc(s.segmentGroup,s.index,o.commands):iA(s.segmentGroup,s.index,o.commands);return Rv(r,s.segmentGroup,a,t,i)}function Ih(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ic(e){return"object"==typeof e&&null!=e&&e.outlets}function Rv(e,n,t,i,r){let s,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),s=e===n?t:tA(e,n,t);const a=QT(XT(s));return new fo(a,o,r)}function tA(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:tA(o,n,t)}),new De(e.segments,i)}class nA{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&Ih(i[0]))throw new b(4003,!1);const r=i.find(ic);if(r&&r!==UT(i))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Mh{segmentGroup;processChildren;index;constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function iA(e,n,t){if(e??=new De([],{}),0===e.segments.length&&e.hasChildren())return rc(e,n,t);const i=function aq(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return o;const s=e.segments[r],a=t[i];if(ic(a))break;const l=`${a}`,c=i<t.length-1?t[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!oA(l,c,s))return o;i+=2}else{if(!oA(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const o=new De(e.segments.slice(0,i.pathIndex),{});return o.children[ne]=new De(e.segments.slice(i.pathIndex),e.children),rc(o,0,r)}return i.match&&0===r.length?new De(e.segments,{}):i.match&&!e.hasChildren()?Nv(e,n,t):i.match?rc(e,0,r):Nv(e,n,t)}function rc(e,n,t){if(0===t.length)return new De(e.segments,{});{const i=function sq(e){return ic(e[0])?e[0].outlets:{[ne]:e}}(t),r={};if(Object.keys(i).some(o=>o!==ne)&&e.children[ne]&&1===e.numberOfChildren&&0===e.children[ne].segments.length){const o=rc(e.children[ne],n,t);return new De(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=iA(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new De(e.segments,r)}}function Nv(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const o=t[r];if(ic(o)){const l=lq(o.outlets);return new De(i,l)}if(0===r&&Ih(t[0])){i.push(new tc(e.segments[n].path,rA(t[0]))),r++;continue}const s=ic(o)?o.outlets[ne]:`${o}`,a=r<t.length-1?t[r+1]:null;s&&a&&Ih(a)?(i.push(new tc(s,rA(a))),r+=2):(i.push(new tc(s,{})),r++)}return new De(i,{})}function lq(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Nv(new De([],{}),0,i))}),n}function rA(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function oA(e,n,t){return e==t.path&&wi(n,t.parameters)}const oc="imperative";var le=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(le||{});class Ci{id;url;constructor(n,t){this.id=n,this.url=t}}class Th extends Ci{type=le.NavigationStart;navigationTrigger;restoredState;constructor(n,t,i="imperative",r=null){super(n,t),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gi extends Ci{urlAfterRedirects;type=le.NavigationEnd;constructor(n,t,i){super(n,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var wn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(wn||{}),Ah=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Ah||{});class go extends Ci{reason;code;type=le.NavigationCancel;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qs extends Ci{reason;code;type=le.NavigationSkipped;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}}class Fv extends Ci{error;target;type=le.NavigationError;constructor(n,t,i,r){super(n,t),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sA extends Ci{urlAfterRedirects;state;type=le.RoutesRecognized;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cq extends Ci{urlAfterRedirects;state;type=le.GuardsCheckStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dq extends Ci{urlAfterRedirects;state;shouldActivate;type=le.GuardsCheckEnd;constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class uq extends Ci{urlAfterRedirects;state;type=le.ResolveStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hq extends Ci{urlAfterRedirects;state;type=le.ResolveEnd;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fq{route;type=le.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pq{route;type=le.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mq{snapshot;type=le.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gq{snapshot;type=le.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _q{snapshot;type=le.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vq{snapshot;type=le.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aA{routerEvent;position;anchor;type=le.Scroll;constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ov{}class kh{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}}function ei(e){return e.outlet||ne}function sc(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Dq{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return sc(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ac(this.rootInjector)}}let ac=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new Dq(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(i){return new(i||e)(M(Dt))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class lA{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Pv(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=Pv(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Lv(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Lv(n,this._root).map(t=>t.value)}}function Pv(e,n){if(e===n.value)return n;for(const t of n.children){const i=Pv(e,t);if(i)return i}return null}function Lv(e,n){if(e===n.value)return[n];for(const t of n.children){const i=Lv(e,t);if(i.length)return i.unshift(n),i}return[]}class ti{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Xs(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class cA extends lA{snapshot;constructor(n,t){super(n),this.snapshot=t,Vv(this,n)}toString(){return this.snapshot.toString()}}function dA(e){const n=function xq(e){const o=new Nh([],{},{},"",{},ne,e,null,{});return new uA("",new ti(o,[]))}(e),t=new an([new tc("",{})]),i=new an({}),r=new an({}),o=new an({}),s=new an(""),a=new Js(t,i,o,s,r,ne,e,n.root);return a.snapshot=n.root,new cA(new ti(a,[]),n)}class Js{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(K(c=>c[ec]))??F(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o}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.params.pipe(K(n=>Ys(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(K(n=>Ys(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Rh(e,n,t="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===n||"always"!==t&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...r?.data,...e._resolvedData}},r&&fA(r)&&(i.resolve[ec]=r.title),i}class Nh{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ec]}constructor(n,t,i,r,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Ys(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ys(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uA extends lA{url;constructor(n,t){super(t),this.url=n,Vv(this,t)}toString(){return hA(this._root)}}function Vv(e,n){n.value._routerState=e,n.children.forEach(t=>Vv(e,t))}function hA(e){const n=e.children.length>0?` { ${e.children.map(hA).join(", ")} } `:"";return`${e.value}${n}`}function Bv(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,wi(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),wi(n.params,t.params)||e.paramsSubject.next(t.params),function L5(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!wi(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),wi(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function jv(e,n){const t=wi(e.params,n.params)&&function H5(e,n){return po(e,n)&&e.every((t,i)=>wi(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||jv(e.parent,n.parent))}function fA(e){return"string"==typeof e.title||null===e.title}const Sq=new C("");let Hv=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ne;activateEvents=new fe;deactivateEvents=new fe;attachEvents=new fe;detachEvents=new fe;routerOutletData=i1(void 0);parentContexts=g(ac);location=g(nn);changeDetector=g(_r);inputBinder=g(Fh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Uv(t,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[un]})}return e})();class Uv{route;childContexts;parent;outletData;__ngOutletInjector(n){return new Uv(this.route,this.childContexts,n,this.outletData)}constructor(n,t,i,r){this.route=n,this.childContexts=t,this.parent=i,this.outletData=r}get(n,t){return n===Js?this.route:n===ac?this.childContexts:n===Sq?this.outletData:this.parent.get(n,t)}}const Fh=new C("");let pA=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:i}=t,r=vh([i.queryParams,i.params,i.data]).pipe(yn(([o,s,a],l)=>(a={...o,...s,...a},0===l?F(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const s=function u8(e){const n=ee(e);if(!n)return null;const t=new Dl(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,r)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function lc(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function Mq(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return lc(e,i,r);return lc(e,i)})}(e,n,t);return new ti(i,r)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>lc(e,a)),s}}const i=function Tq(e){return new Js(new an(e.url),new an(e.params),new an(e.queryParams),new an(e.fragment),new an(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>lc(e,o));return new ti(i,r)}}class zv{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}}const mA="ngNavigationCancelingError";function Oh(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=mo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=gA(!1,wn.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function gA(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[mA]=!0,t.cancellationCode=n,t}function _A(e){return!!e&&e[mA]}class Rq{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),Bv(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=Xs(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Xs(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Xs(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=Xs(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new vq(o.value.snapshot))}),n.children.length&&this.forwardEvent(new gq(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(Bv(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Bv(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}}class vA{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Ph{component;route;constructor(n,t){this.component=n,this.route=t}}function Nq(e,n,t){const i=e._root;return cc(i,n?n._root:null,t,[i.value])}function ea(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function hO(e){return null!==Xc(e)}(e)?n.get(e):e:i}function cc(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Xs(n);return e.children.forEach(s=>{(function Oq(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function Pq(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!po(e.url,n.url);case"pathParamsOrQueryParamsChange":return!po(e.url,n.url)||!wi(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jv(e,n)||!wi(e.queryParams,n.queryParams);default:return!jv(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new vA(i)):(o.data=s.data,o._resolvedData=s._resolvedData),cc(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ph(a.outlet.component,s))}else s&&dc(n,a,r),r.canActivateChecks.push(new vA(i)),cc(e,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>dc(a,t.getContext(s),r)),r}function dc(e,n,t){const i=Xs(e),r=e.value;Object.entries(i).forEach(([o,s])=>{dc(s,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Ph(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function uc(e){return"function"==typeof e}function yA(e){return e instanceof yh||"EmptyError"===e?.name}const Lh=Symbol("INITIAL_VALUE");function ta(){return yn(e=>vh(e.map(n=>n.pipe(bi(1),uo(Lh)))).pipe(K(n=>{for(const t of n)if(!0!==t){if(t===Lh)return Lh;if(!1===t||zq(t))return t}return!0}),bn(n=>n!==Lh),bi(1)))}function zq(e){return mo(e)||e instanceof zv}function bA(e){return function nO(...e){return tw(e)}(_t(n=>{if("boolean"!=typeof n)throw Oh(0,n)}),K(n=>!0===n))}class $v{segmentGroup;constructor(n){this.segmentGroup=n||null}}class Vh extends Error{urlTree;constructor(n){super(),this.urlTree=n}}function na(e){return Jl(new $v(e))}class nW{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return F(i);if(r.numberOfChildren>1||!r.children[ne])return Jl(new b(4e3,!1));r=r.children[ne]}}applyRedirectCommands(n,t,i,r,o){if("string"!=typeof t){const a=t,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,params:h,data:p,title:m}=r,_=Sn(o,()=>a({params:h,data:p,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,title:m}));if(_ instanceof fo)throw new Vh(_);t=_}const s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if("/"===t[0])throw new Vh(s);return s}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new fo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const a=o.substring(1);i[r]=t[a]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){const o=this.createSegments(n,t.segments,i,r);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new De(o,s)}createSegments(n,t,i,r){return t.map(o=>":"===o.path[0]?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new b(4001,!1);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}const Gv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function iW(e,n,t,i,r){const o=wA(e,n,t);return o.matched?(i=function yq(e,n){return e.providers&&!e._injector&&(e._injector=yu(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function Jq(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?F(r.map(s=>{const a=ea(s,e);return Er(function Uq(e){return e&&uc(e.canMatch)}(a)?a.canMatch(n,t):Sn(e,()=>a(n,t)))})).pipe(ta(),bA()):F(!0)}(i,n,t).pipe(K(s=>!0===s?o:{...Gv}))):F(o)}function wA(e,n,t){if("**"===n.path)return function rW(e){return{matched:!0,parameters:e.length>0?UT(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Gv}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||P5)(t,e,n);if(!r)return{...Gv};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function CA(e,n,t,i){return t.length>0&&function aW(e,n,t){return t.some(i=>Bh(e,n,i)&&ei(i)!==ne)}(e,t,i)?{segmentGroup:new De(n,sW(i,new De(t,e.children))),slicedSegments:[]}:0===t.length&&function lW(e,n,t){return t.some(i=>Bh(e,n,i))}(e,t,i)?{segmentGroup:new De(e.segments,oW(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new De(e.segments,e.children),slicedSegments:t}}function oW(e,n,t,i){const r={};for(const o of t)if(Bh(e,n,o)&&!i[ei(o)]){const s=new De([],{});r[ei(o)]=s}return{...i,...r}}function sW(e,n){const t={};t[ne]=n;for(const i of e)if(""===i.path&&ei(i)!==ne){const r=new De([],{});t[ei(i)]=r}return t}function Bh(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class dW{}class fW{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,i,r,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new nW(this.urlSerializer,this.urlTree)}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}recognize(){const n=CA(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(K(({children:t,rootSnapshot:i})=>{const r=new ti(i,t),o=new uA("",r),s=function nq(e,n,t=null,i=null){return eA(JT(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){const t=new Nh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ne,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ne,t).pipe(K(i=>({children:i,rootSnapshot:t})),ho(i=>{if(i instanceof Vh)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof $v?this.noMatchError(i):i}))}processSegmentGroup(n,t,i,r,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i,o):this.processSegment(n,t,i,i.segments,r,!0,o).pipe(K(s=>s instanceof ti?[s]:[]))}processChildren(n,t,i,r){const o=[];for(const s of Object.keys(i.children))"primary"===s?o.unshift(s):o.push(s);return lt(o).pipe(Ws(s=>{const a=i.children[s],l=function Eq(e,n){const t=e.filter(i=>ei(i)===n);return t.push(...e.filter(i=>ei(i)!==n)),t}(t,s);return this.processSegmentGroup(n,l,a,s,r)}),function N5(e,n){return et(function R5(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Ue(s,d=>{const u=c++;l=a?e(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((s,a)=>(s.push(...a),s)),wh(null),function F5(e,n){const t=arguments.length>=2;return i=>i.pipe(e?bn((r,o)=>e(r,o,i)):Qi,Mv(1),t?wh(n):BT(()=>new yh))}(),Tt(s=>{if(null===s)return na(i);const a=EA(s);return function pW(e){e.sort((n,t)=>n.value.outlet===ne?-1:t.value.outlet===ne?1:n.value.outlet.localeCompare(t.value.outlet))}(a),F(a)}))}processSegment(n,t,i,r,o,s,a){return lt(t).pipe(Ws(l=>this.processSegmentAgainstRoute(l._injector??n,t,l,i,r,o,s,a).pipe(ho(c=>{if(c instanceof $v)return F(null);throw c}))),Cr(l=>!!l),ho(l=>{if(yA(l))return function cW(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?F(new dW):na(i);throw l}))}processSegmentAgainstRoute(n,t,i,r,o,s,a,l){return ei(i)===s||s!==ne&&Bh(r,o,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s,l):na(r):na(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s,a){const{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:f}=wA(t,r,o);if(!l)return na(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const h=new Nh(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,DA(r),ei(r),r.component??r._loadedComponent??null,r,xA(r)),p=Rh(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);const m=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,h,n);return this.applyRedirects.lineralizeSegments(r,m).pipe(Tt(_=>this.processSegment(n,i,t,_.concat(f),s,!1,a)))}matchSegmentAgainstRoute(n,t,i,r,o,s){const a=iW(t,i,r,n);return"**"===i.path&&(t.children={}),a.pipe(yn(l=>l.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(yn(({routes:c})=>{const d=i._loadedInjector??n,{parameters:u,consumedSegments:f,remainingSegments:h}=l,p=new Nh(f,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,DA(i),ei(i),i.component??i._loadedComponent??null,i,xA(i)),m=Rh(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);const{segmentGroup:_,slicedSegments:y}=CA(t,f,h,c);if(0===y.length&&_.hasChildren())return this.processChildren(d,c,_,p).pipe(K(E=>new ti(p,E)));if(0===c.length&&0===y.length)return F(new ti(p,[]));const v=ei(i)===o;return this.processSegment(d,c,_,y,v?ne:o,!0,p).pipe(K(E=>new ti(p,E instanceof ti?[E]:[])))})):na(t)))}getChildConfig(n,t,i){return t.children?F({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?F({routes:t._loadedRoutes,injector:t._loadedInjector}):function Xq(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?F(!0):F(r.map(s=>{const a=ea(s,e);return Er(function Vq(e){return e&&uc(e.canLoad)}(a)?a.canLoad(n,t):Sn(e,()=>a(n,t)))})).pipe(ta(),bA())}(n,t,i).pipe(Tt(r=>r?this.configLoader.loadChildren(n,t).pipe(_t(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function tW(){return Jl(gA(!1,wn.GuardRejected))}())):F({routes:[],injector:n})}}function mW(e){const n=e.value.routeConfig;return n&&""===n.path}function EA(e){const n=[],t=new Set;for(const i of e){if(!mW(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=EA(i.children);n.push(new ti(i.value,r))}return n.filter(i=>!t.has(i))}function DA(e){return e.data||{}}function xA(e){return e.resolve||{}}function SA(e){const n=e.children.map(t=>SA(t)).flat();return[e,...n]}function qv(e){return yn(n=>{const t=e(n);return t?lt(t).pipe(K(()=>n)):F(n)})}let IA=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ne);return i}getResolvedTitleForRoute(t){return t.data[ec]}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(wW),providedIn:"root"})}return e})(),wW=(()=>{class e extends IA{title;constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||e)(M(TG))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ia=new C("",{providedIn:"root",factory:()=>({})});let MA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(i,r){1&i&&Ft(0,"router-outlet")},dependencies:[Hv],encapsulation:2})}return e})();function Wv(e){const n=e.children&&e.children.map(Wv),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ne&&(t.component=MA),t}const ra=new C("");let Zv=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(mI);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return F(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=Er(t.loadComponent()).pipe(K(TA),_t(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Zs(()=>{this.componentLoaders.delete(t)})),r=new VT(i,()=>new Q).pipe(Iv());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return F({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function CW(e,n,t,i){return Er(e.loadChildren()).pipe(K(TA),Tt(r=>r instanceof Lx||Array.isArray(r)?F(r):lt(n.compileModuleAsync(r))),K(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(t).injector,s=o.get(ra,[],{optional:!0,self:!0}).flat()),{routes:s.map(Wv),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(Zs(()=>{this.childrenLoaders.delete(i)})),s=new VT(o,()=>new Q).pipe(Iv());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function TA(e){return function EW(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Yv=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(DW),providedIn:"root"})}return e})(),DW=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const AA=new C(""),kA=new C("");function xW(e,n,t){const i=e.get(kA),r=e.get(ae);return e.get(q).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o;const s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),function SW(e){return new Promise(n=>{fi({read:()=>setTimeout(n)},{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&Sn(e,()=>l({transition:a,from:n,to:t})),s})}const Kv=new C("");let jh=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Q;transitionAbortSubject=new Q;configLoader=g(Zv);environmentInjector=g(Dt);urlSerializer=g(Ks);rootContexts=g(ac);location=g(zs);inputBindingEnabled=null!==g(Fh,{optional:!0});titleStrategy=g(IA);options=g(ia,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Yv);createViewTransition=g(AA,{optional:!0});navigationErrorHandler=g(Kv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>F(void 0);rootComponentType=null;constructor(){this.configLoader.onLoadEndListener=r=>this.events.next(new pq(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new fq(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,r){return this.transitions=new an({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:oc,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(bn(o=>0!==o.id),K(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),yn(o=>{let s=!1,a=!1;return F(o).pipe(yn(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",wn.SupersededByNewNavigation),Jn;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:"string"==typeof l.extras.browserUrl?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Qs(l.id,this.urlSerializer.serialize(l.rawUrl),u,Ah.IgnoredSameUrlNavigation)),l.resolve(!1),Jn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return F(l).pipe(yn(u=>{const f=this.transitions?.getValue();return this.events.next(new Th(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions?.getValue()?Jn:Promise.resolve(u)}),function gW(e,n,t,i,r,o){return Tt(s=>function uW(e,n,t,i,r,o,s="emptyOnly"){return new fW(e,n,t,i,r,s,o).recognize()}(e,n,t,i,s.extractedUrl,r,o).pipe(K(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),_t(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects};const f=new sA(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:u,extractedUrl:f,source:h,restoredState:p,extras:m}=l,_=new Th(u,this.urlSerializer.serialize(f),h,p);this.events.next(_);const y=dA(this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:y,urlAfterRedirects:f,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,F(o)}{const u="";return this.events.next(new Qs(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Ah.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Jn}}),_t(l=>{const c=new cq(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),K(l=>(this.currentTransition=o={...l,guards:Nq(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function $q(e,n){return Tt(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?F({...t,guardsResult:!0}):function Gq(e,n,t,i){return lt(e).pipe(Tt(r=>function Qq(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?F(o.map(a=>{const l=sc(n)??r,c=ea(a,l);return Er(function Hq(e){return e&&uc(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):Sn(l,()=>c(e,n,t,i))).pipe(Cr())})).pipe(ta()):F(!0)}(r.component,r.route,t,n,i)),Cr(r=>!0!==r,!0))}(s,i,r,e).pipe(Tt(a=>a&&function Lq(e){return"boolean"==typeof e}(a)?function qq(e,n,t,i){return lt(n).pipe(Ws(r=>bh(function Zq(e,n){return null!==e&&n&&n(new mq(e)),F(!0)}(r.route.parent,i),function Wq(e,n){return null!==e&&n&&n(new _q(e)),F(!0)}(r.route,i),function Kq(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function Fq(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>LT(()=>F(s.guards.map(l=>{const c=sc(s.node)??t,d=ea(l,c);return Er(function jq(e){return e&&uc(e.canActivateChild)}(d)?d.canActivateChild(i,e):Sn(c,()=>d(i,e))).pipe(Cr())})).pipe(ta())));return F(o).pipe(ta())}(e,r.path,t),function Yq(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return F(!0);const r=i.map(o=>LT(()=>{const s=sc(n)??t,a=ea(o,s);return Er(function Bq(e){return e&&uc(e.canActivate)}(a)?a.canActivate(n,e):Sn(s,()=>a(n,e))).pipe(Cr())}));return F(r).pipe(ta())}(e,r.route,t))),Cr(r=>!0!==r,!0))}(i,o,e,n):F(a)),K(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),_t(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&"boolean"!=typeof l.guardsResult)throw Oh(0,l.guardsResult);const c=new dq(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),bn(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",wn.GuardRejected),!1)),qv(l=>{if(l.guards.canActivateChecks.length)return F(l).pipe(_t(c=>{const d=new uq(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),yn(c=>{let d=!1;return F(c).pipe(function _W(e,n){return Tt(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return F(t);const o=new Set(r.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const c of SA(l))s.add(c);let a=0;return lt(s).pipe(Ws(l=>o.has(l)?function vW(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!fA(r)&&(o[ec]=r.title),function yW(e,n,t,i){const r=Tv(e);if(0===r.length)return F({});const o={};return lt(r).pipe(Tt(s=>function bW(e,n,t,i){const r=sc(n)??i,o=ea(e,r);return Er(o.resolve?o.resolve(n,t):Sn(r,()=>o(n,t)))}(e[s],n,t,i).pipe(Cr(),_t(a=>{if(a instanceof zv)throw Oh(new Eh,a);o[s]=a}))),Mv(1),jT(o),ho(s=>yA(s)?Jn:Jl(s)))}(o,e,n,i).pipe(K(s=>(e._resolvedData=s,e.data=Rh(e,e.parent,t).resolve,null)))}(l,i,e,n):(l.data=Rh(l,l.parent,e).resolve,F(void 0))),_t(()=>a++),Mv(1),Tt(l=>a===s.size?F(t):Jn))})}(this.paramsInheritanceStrategy,this.environmentInjector),_t({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",wn.NoDataFromResolver)}}))}),_t(c=>{const d=new hq(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),qv(l=>{const c=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(_t(f=>{d.component=f}),K(()=>{})));for(const f of d.children)u.push(...c(f));return u};return vh(c(l.targetSnapshot.root)).pipe(wh(null),bi(1))}),qv(()=>this.afterPreactivation()),yn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?lt(d).pipe(K(()=>o)):F(o)}),K(l=>{const c=function Iq(e,n,t){const i=lc(e,n._root,t?t._root:void 0);return new cA(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),_t(()=>{this.events.next(new Ov)}),((e,n,t,i)=>K(r=>(new Rq(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),bi(1),_t({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Gi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Xe(this.transitionAbortSubject.pipe(_t(l=>{throw l}))),Zs(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",wn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ho(l=>{if(a=!0,_A(l))this.events.next(new go(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function Aq(e){return _A(e)&&mo(e.url)}(l)?this.events.next(new kh(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{const c=new Fv(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{const d=Sn(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(!(d instanceof zv))throw this.events.next(c),l;{const{message:u,cancellationCode:f}=Oh(0,d);this.events.next(new go(o.id,this.urlSerializer.serialize(o.extractedUrl),u,f)),this.events.next(new kh(d.redirectTo,d.navigationBehaviorOptions))}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return Jn}))}))}cancelNavigationTransition(t,i,r){const o=new go(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function IW(e){return e!==oc}let MW=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(AW),providedIn:"root"})}return e})();class TW{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let AW=(()=>{class e extends TW{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:()=>g(kW),providedIn:"root"})}return e})(),kW=(()=>{class e extends RA{location=g(zs);urlSerializer=g(Ks);options=g(ia,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(Yv);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new fo;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=dA(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof Th)this.stateMemento=this.createStateMemento();else if(t instanceof Qs)this.rawUrlTree=i.initialUrl;else if(t instanceof sA){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else t instanceof Ov?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):t instanceof go&&(t.code===wn.GuardRejected||t.code===wn.NoDataFromResolver)?this.restoreHistory(i):t instanceof Fv?this.restoreHistory(i,!0):t instanceof Gi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=t instanceof fo?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(r,"",o)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hc=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(hc||{});function NA(e,n){e.events.pipe(bn(t=>t instanceof Gi||t instanceof go||t instanceof Fv||t instanceof Qs),K(t=>t instanceof Gi||t instanceof Qs?hc.COMPLETE:t instanceof go&&(t.code===wn.Redirect||t.code===wn.SupersededByNewNavigation)?hc.REDIRECTING:hc.FAILED),bn(t=>t!==hc.REDIRECTING),bi(1)).subscribe(()=>{n()})}const RW={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NW={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ei=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(t0);stateManager=g(RA);options=g(ia,{optional:!0})||{};pendingTasks=g(zn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(jh);urlSerializer=g(Ks);location=g(zs);urlHandlingStrategy=g(Yv);_events=new Q;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(MW);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(ra,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Fh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ge;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==r&&null!==o)if(this.stateManager.handleRouterEvent(i,o),i instanceof go&&i.code!==wn.Redirect&&i.code!==wn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Gi)this.navigated=!0;else if(i instanceof kh){const s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l={browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||"eager"===this.urlUpdateStrategy||IW(r.source),...s};this.scheduleNavigation(a,oc,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function OW(e){return!(e instanceof Ov||e instanceof kh)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),oc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Wv),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{u=JT(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),u=this.currentUrlTree.root}return eA(u,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=mo(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,oc,null,i)}navigate(t,i={skipLocationChange:!1}){return function FW(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new b(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(r=!0===i?{...RW}:!1===i?{...NW}:i,mo(t))return $T(this.currentUrlTree,t,r);const o=this.parseUrl(t);return $T(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,o])=>(null!=o&&(i[r]=o),i),{})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,f)=>{a=u,l=f});const d=this.pendingTasks.add();return NA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hh=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Q;constructor(t,i,r,o,s,a){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Gi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){null==t?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=mo(t)||Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,i,r,o,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==t||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.href=null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;const i=null===this.href?null:function $E(e,n,t){return function zL(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?zE:_s}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,t,i):r.removeAttribute(o,t)}get urlTree(){return null===this.routerLinkInput?null:mo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||e)(D(Ei),D(Js),Ha("tabindex"),D(Bi),D(we),D(co))};static \u0275dir=O({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){1&i&&je("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&i&&ze("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Te],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Te],replaceUrl:[2,"replaceUrl","replaceUrl",Te],routerLink:"routerLink"},features:[Wn,un]})}return e})();class FA{}let VW=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(bn(t=>t instanceof Gi),Ws(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=yu(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return lt(r).pipe(qs())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):F(null);const o=r.pipe(Tt(s=>null===s?F(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?lt([o,this.loader.loadComponent(i)]).pipe(qs()):o})}static \u0275fac=function(i){return new(i||e)(M(Ei),M(mI),M(Dt),M(FA),M(Zv))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Qv=new C("");let OA=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.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(t=>{t instanceof Th?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Gi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qs&&t.code===Ah.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof aA&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new aA(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){!function yD(){throw new Error("invalid")}()};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Di(e,n){return{\u0275kind:e,\u0275providers:n}}function LA(){const e=g(Ee);return n=>{const t=e.get(rn);if(n!==t.components[0])return;const i=e.get(Ei),r=e.get(VA);1===e.get(Xv)&&i.initialNavigation(),e.get(BA,null,ie.Optional)?.setUpPreloading(),e.get(Qv,null,ie.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const VA=new C("",{factory:()=>new Q}),Xv=new C("",{providedIn:"root",factory:()=>1}),BA=new C("");function UW(e){return Di(0,[{provide:BA,useExisting:VW},{provide:FA,useExisting:e}])}function $W(e){return Di(9,[{provide:AA,useValue:xW},{provide:kA,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const jA=new C("ROUTER_FORROOT_GUARD"),GW=[zs,{provide:Ks,useClass:Eh},Ei,ac,{provide:Js,useFactory:function PA(e){return e.routerState.root},deps:[Ei]},Zv,[]];let HA=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[GW,[],{provide:ra,multi:!0,useValue:t},{provide:jA,useFactory:YW,deps:[[Ei,new Fr,new Ta]]},i?.errorHandler?{provide:Kv,useValue:i.errorHandler}:[],{provide:ia,useValue:i||{}},i?.useHash?{provide:co,useClass:g8}:{provide:co,useClass:_M},{provide:Qv,useFactory:()=>{const e=g(T4),n=g(q),t=g(ia),i=g(jh),r=g(Ks);return t.scrollOffset&&e.setOffset(t.scrollOffset),new OA(r,i,e,n,t)}},i?.preloadingStrategy?UW(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?KW(i):[],i?.bindToComponentInputs?Di(8,[pA,{provide:Fh,useExisting:pA}]).\u0275providers:[],i?.enableViewTransitions?$W().\u0275providers:[],[{provide:UA,useFactory:LA},{provide:Al,multi:!0,useExisting:UA}]]}}static forChild(t){return{ngModule:e,providers:[{provide:ra,multi:!0,useValue:t}]}}static \u0275fac=function(i){return new(i||e)(M(jA,8))};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();function YW(e){return"guarded"}function KW(e){return["disabled"===e.initialNavigation?Di(3,[{provide:Tu,multi:!0,useFactory:()=>{const n=g(Ei);return()=>{n.setUpLocationChangeListener()}}},{provide:Xv,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Di(2,[{provide:Xv,useValue:0},{provide:Tu,multi:!0,deps:[Ee],useFactory:n=>{const t=n.get(p8,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(Ei),o=n.get(VA);NA(r,()=>{i(!0)}),n.get(jh).afterPreactivation=()=>(i(!0),o.closed?F(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const UA=new C("");let Jv;try{Jv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jv=!1}let fc,_o,ey,sn=(()=>{class e{_platformId=g(hi);isBrowser=this._platformId?yr(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!Jv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pc(e){return function JW(){if(null==fc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fc=!0}))}finally{fc=fc||!1}return fc}()?e:!!e.capture}function e6(){if(null==_o){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return _o=!1,_o;if("scrollBehavior"in document.documentElement.style)_o=!0;else{const e=Element.prototype.scrollTo;_o=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return _o}function qi(e){return e.composedPath?e.composedPath()[0]:e.target}function $A(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const zh=new WeakMap;let Dr=(()=>{class e{_appRef;_injector=g(Ee);_environmentInjector=g(Dt);load(t){const i=this._appRef=this._appRef||this._injector.get(rn);let r=zh.get(i);r||(r={loaders:new Set,refs:[]},zh.set(i,r),i.onDestroy(()=>{zh.get(i)?.refs.forEach(o=>o.destroy()),zh.delete(i)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(fM(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return e})();function $h(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class b6 extends Ge{constructor(n,t){super()}schedule(n,t=0){return this}}const Gh={setInterval(e,n,...t){const{delegate:i}=Gh;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Gh;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class iy extends b6{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return Gh.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Gh.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,qc(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const ry={now:()=>(ry.delegate||Date).now(),delegate:void 0};class _c{constructor(n,t=_c.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_c.now=ry.now;class oy extends _c{constructor(n,t=_c.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const sy=new oy(iy),w6=sy;function YA(e,n=sy){return et((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}t.subscribe(Ue(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function KA(e){return bn((n,t)=>e<=t)}function QA(e,n=Qi){return e=e??C6,et((t,i)=>{let r,o=!0;t.subscribe(Ue(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function C6(e,n){return e===n}let E6=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),D6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[E6]})}return e})();function JA(e){return null!=e&&"false"!=`${e}`}function ek(e,n=0){return function x6(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):2===arguments.length?n:0}function qh(e){return Array.isArray(e)?e:[e]}function ct(e){return null==e?"":"string"==typeof e?e:`${e}px`}function sa(e){return e instanceof we?e.nativeElement:e}const tk=new Set;let vo,S6=(()=>{class e{_platform=g(sn);_nonce=g(bm,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):M6}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function I6(e,n){if(!tk.has(e))try{vo||(vo=document.createElement("style"),n&&vo.setAttribute("nonce",n),vo.setAttribute("type","text/css"),document.head.appendChild(vo)),vo.sheet&&(vo.sheet.insertRule(`@media ${e} {body{ }}`,0),tk.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function M6(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let T6=(()=>{class e{_mediaMatcher=g(S6);_zone=g(q);_queries=new Map;_destroySubject=new Q;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return nk(qh(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=vh(nk(qh(t)).map(s=>this._registerQuery(s).observable));return o=bh(o.pipe(bi(1)),o.pipe(KA(1),YA(0))),o.pipe(K(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new Ve(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(uo(i),K(({matches:s})=>({query:t,matches:s})),Xe(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nk(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function Wh(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}const rk="cdk-describedby-message",Zh="cdk-describedby-host";let ay=0,R6=(()=>{class e{_platform=g(sn);_document=g(ae);_messageRegistry=new Map;_messagesContainer=null;_id=""+ay++;constructor(){g(Dr).load(GA),this._id=g(or)+"-"+ay++}describe(t,i,r){if(!this._canBeDescribed(t,i))return;const o=ly(i,r);"string"!=typeof i?(ok(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,i,r){if(!i||!this._isElementNode(t))return;const o=ly(i,r);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const t=this._document.querySelectorAll(`[${Zh}="${this._id}"]`);for(let i=0;i<t.length;i++)this._removeCdkDescribedByReferenceIds(t[i]),t[i].removeAttribute(Zh);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,i){const r=this._document.createElement("div");ok(r,this._id),r.textContent=t,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(ly(t,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;const t="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();const r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(t),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(t){const i=Wh(t,"aria-describedby").filter(r=>0!=r.indexOf(rk));t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){const r=this._messageRegistry.get(i);(function A6(e,n,t){const i=Wh(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))})(t,"aria-describedby",r.messageElement.id),t.setAttribute(Zh,this._id),r.referenceCount++}_removeMessageReference(t,i){const r=this._messageRegistry.get(i);r.referenceCount--,function k6(e,n,t){const i=Wh(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}(t,"aria-describedby",r.messageElement.id),t.removeAttribute(Zh)}_isElementDescribedByMessage(t,i){const r=Wh(t,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=t.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ly(e,n){return"string"==typeof e?`${n||""}/${e}`:e}function ok(e,n){e.id||(e.id=`${rk}-${n}-${ay++}`)}class sk{_letterKeyStream=new Q;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new Q;selectedItem=this._selectedItem;constructor(n,t){const i="number"==typeof t?.debounceInterval?t.debounceInterval:200;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){const t=n.keyCode;n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(_t(t=>this._pressedLetters.push(t)),YA(n),bn(()=>this._pressedLetters.length>0),K(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let i=1;i<this._items.length+1;i++){const o=this._items[(this._selectedItemIndex+i)%this._items.length];if(!this._skipPredicateFn?.(o)&&0===o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}class F6{_items;_activeItemIndex=-1;_activeItem=qn(null);_wrap=!1;_typeaheadSubscription=Ge.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof $a?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):_u(n)&&(this._effectRef=function z_(e,n){bt("NgSignals"),!n?.injector&&Zo();const t=n?.injector??g(Ee);let r,i=!0!==n?.manualCleanup?t.get(rr):null;const o=t.get(dM,null,{optional:!0}),s=t.get(Oi);return null===o||n?.forceRoot?r=function i8(e,n,t){const i=Object.create(e8);return i.fn=e,i.scheduler=n,i.notifier=t,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(13),i}(e,t.get(r_),s):(r=function n8(e,n,t){const i=Object.create(t8);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=t,e[23]??=new Set,e[23].add(i),i.consumerMarkedDirty(i),i}(o.view,s,e),i instanceof DC&&i._lView===o.view&&(i=null)),r.injector=t,null!==i&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new J3(r)}(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new Q;change=new Q;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();const t=this._getItemsArray();return this._typeahead=new sk(t,{debounceInterval:"number"==typeof n?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){const t=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){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,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||$h(n,"shiftKey"))&&this._typeahead?.handleKey(n))}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem.set(t[i]??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return _u(this._items)?this._items():this._items instanceof $a?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);const t=this._activeItem();if(t){const i=n.indexOf(t);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}}class O6 extends F6{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}function dk(e){return 0===e.buttons||0===e.detail}function uk(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const G6=new C("cdk-input-modality-detector-options"),q6={ignoreKeys:[18,17,224,91,16]},aa=pc({passive:!0,capture:!0});let W6=(()=>{class e{_platform=g(sn);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new an(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(i=>i===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=qi(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(dk(t)?"keyboard":"mouse"),this._mostRecentTarget=qi(t))};_onTouchstart=t=>{uk(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=qi(t))};constructor(){const t=g(q),i=g(ae),r=g(G6,{optional:!0});this._options={...q6,...r},this.modalityDetected=this._modality.pipe(KA(1)),this.modalityChanged=this.modalityDetected.pipe(QA()),this._platform.isBrowser&&t.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,aa),i.addEventListener("mousedown",this._onMousedown,aa),i.addEventListener("touchstart",this._onTouchstart,aa)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,aa),document.removeEventListener("mousedown",this._onMousedown,aa),document.removeEventListener("touchstart",this._onTouchstart,aa))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yh=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Yh||{});const Y6=new C("cdk-focus-monitor-default-options"),Kh=pc({passive:!0,capture:!0});let cy=(()=>{class e{_ngZone=g(q);_platform=g(sn);_inputModalityDetector=g(W6);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=g(ae,{optional:!0});_stopInputModalityDetector=new Q;constructor(){const t=g(Y6,{optional:!0});this._detectionMode=t?.detectionMode||Yh.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{for(let r=qi(t);r;r=r.parentElement)"focus"===t.type?this._onFocus(t,r):this._onBlur(t,r)};monitor(t,i=!1){const r=sa(t);if(!this._platform.isBrowser||1!==r.nodeType)return F();const o=function n6(e){if(function t6(){if(null==ey){const e=typeof document<"u"?document.head:null;ey=!(!e||!e.createShadowRoot&&!e.attachShadow)}return ey}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new Q,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=sa(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=sa(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Yh.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===Yh.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=qi(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Kh),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Kh)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Xe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Kh),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Kh),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0;return!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yo=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(yo||{});const fk="cdk-high-contrast-black-on-white",pk="cdk-high-contrast-white-on-black",dy="cdk-high-contrast-active";let mk=(()=>{class e{_platform=g(sn);_hasCheckedHighContrastMode;_document=g(ae);_breakpointSubscription;constructor(){this._breakpointSubscription=g(T6).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return yo.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return yo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return yo.BLACK_ON_WHITE}return yo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(dy,fk,pk),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===yo.BLACK_ON_WHITE?t.add(dy,fk):i===yo.WHITE_ON_BLACK&&t.add(dy,pk)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),K6=(()=>{class e{constructor(){g(mk)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[D6]})}return e})();const uy={};let hy=(()=>{class e{_appId=g(or);getId(t){return"ng"!==this._appId&&(t+=this._appId),uy.hasOwnProperty(t)||(uy[t]=0),`${t}${uy[t]++}`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Q6=new C("cdk-dir-doc",{providedIn:"root",factory:function X6(){return g(ae)}}),J6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let fy=(()=>{class e{value="ltr";change=new fe;constructor(){const t=g(Q6,{optional:!0});t&&(this.value=function e9(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?J6.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vc=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})(),Zt=(()=>{class e{constructor(){g(mk)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[vc,vc]})}return e})(),gk=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),py=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return e})();var Nn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Nn||{});class a9{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Nn.HIDDEN;constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}}const _k=pc({passive:!0,capture:!0});class l9{_events=new Map;addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,_k)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,_k)))}_delegateEventHandler=n=>{const t=qi(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}const Qh={enterDuration:225,exitDuration:150},vk=pc({passive:!0,capture:!0}),yk=["mousedown","touchstart"],bk=["mouseup","mouseleave","touchend","touchcancel"];let d9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return e})();class Xh{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new l9;constructor(n,t,i,r,o){this._target=n,this._ngZone=t,this._platform=r,r.isBrowser&&(this._containerElement=sa(i)),o&&o.get(Dr).load(d9)}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...Qh,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function u9(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,p="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,m=new a9(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=Nn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const y=()=>{_&&(_.fallbackTimer=null),clearTimeout(E),this._finishRippleTransition(m)},v=()=>this._destroyRipple(m),E=setTimeout(v,c+100);d.addEventListener("transitionend",y),d.addEventListener("transitioncancel",v),_={onTransitionEnd:y,onTransitionCancel:v,fallbackTimer:E}}),this._activeRipples.set(m,_),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===Nn.FADING_OUT||n.state===Nn.HIDDEN)return;const t=n.element,i={...Qh,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=Nn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=sa(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,yk.forEach(i=>{Xh._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{bk.forEach(t=>{this._triggerElement.addEventListener(t,this,vk)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Nn.FADING_IN?this._startFadeOutTransition(n):n.state===Nn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Nn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Nn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),null!==t.fallbackTimer&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){const t=dk(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!uk(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(n.state===Nn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Nn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(yk.forEach(t=>Xh._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(bk.forEach(t=>n.removeEventListener(t,this,vk)),this._pointerUpEventsRegistered=!1))}}const wk=new C("mat-ripple-global-options");let Ck=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Zt]})}return e})();const Ek={capture:!0},Dk=["focus","mousedown","mouseenter","touchstart"],my="mat-ripple-loader-uninitialized",gy="mat-ripple-loader-class-name",xk="mat-ripple-loader-centered",Jh="mat-ripple-loader-disabled";let Sk=(()=>{class e{_document=g(ae,{optional:!0});_animationMode=g(Gr,{optional:!0});_globalRippleOptions=g(wk,{optional:!0});_platform=g(sn);_ngZone=g(q);_injector=g(Ee);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(const t of Dk)this._document?.addEventListener(t,this._onInteraction,Ek)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of Dk)this._document?.removeEventListener(i,this._onInteraction,Ek)}configureRipple(t,i){t.setAttribute(my,this._globalRippleOptions?.namespace??""),(i.className||!t.hasAttribute(gy))&&t.setAttribute(gy,i.className||""),i.centered&&t.setAttribute(xk,""),i.disabled&&t.setAttribute(Jh,"")}setDisabled(t,i){const r=this._hosts.get(t);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(t))):i?t.setAttribute(Jh,""):t.removeAttribute(Jh)}_onInteraction=t=>{const i=qi(t);if(i instanceof HTMLElement){const r=i.closest(`[${my}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(t){if(!this._document||this._hosts.has(t))return;t.querySelector(".mat-ripple")?.remove();const i=this._document.createElement("span");i.classList.add("mat-ripple",t.getAttribute(gy)),t.append(i);const r="NoopAnimations"===this._animationMode,o=this._globalRippleOptions,s=r?0:o?.animation?.enterDuration??Qh.enterDuration,a=r?0:o?.animation?.exitDuration??Qh.exitDuration,l={rippleDisabled:r||o?.disabled||t.hasAttribute(Jh),rippleConfig:{centered:t.hasAttribute(xk),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},c=new Xh(l,this._ngZone,i,this._platform,this._injector),d=!l.rippleDisabled;d&&c.setupTriggerEvents(t),this._hosts.set(t,{target:l,renderer:c,hasSetUpEvents:d}),t.removeAttribute(my)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(t))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Mk(e={}){const{connector:n=()=>new Q,resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return et((m,_)=>{c++,!u&&!d&&f();const y=l=l??n();_.add(()=>{c--,0===c&&!u&&!d&&(a=_y(p,r))}),y.subscribe(_),!s&&c>0&&(s=new Da({next:v=>y.next(v),error:v=>{u=!0,f(),a=_y(h,t,v),y.error(v)},complete:()=>{d=!0,f(),a=_y(h,i),y.complete()}}),Wt(m).subscribe(s))})(o)}}function _y(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Da({next:()=>{i.unsubscribe(),e()}});return Wt(n(...t)).subscribe(i)}class ef{}class tf{}class Fn{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Fn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Fn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Fn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(n,t){const i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class h9{encodeKey(n){return Tk(n)}encodeValue(n){return Tk(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const p9=/%(\d[a-f0-9])/gi,m9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Tk(e){return encodeURIComponent(e).replace(p9,(n,t)=>m9[t]??n)}function nf(e){return`${e}`}class xr{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new h9,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function f9(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(nf):[nf(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new xr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(nf(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(nf(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class g9{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Ak(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function kk(e){return typeof Blob<"u"&&e instanceof Blob}function Rk(e){return typeof FormData<"u"&&e instanceof FormData}class bc{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,i,r){let o;if(this.url=t,this.method=n.toUpperCase(),function _9(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Fn,this.context??=new g9,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new xr,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ak(this.body)||kk(this.body)||Rk(this.body)||function v9(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof xr?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||Rk(this.body)?null:kk(this.body)?this.body.type||null:Ak(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof xr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,d=n.params||this.params;const u=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((f,h)=>f.set(h,n.setHeaders[h]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((f,h)=>f.set(h,n.setParams[h]),d)),new bc(t,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var Sr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Sr||{});class vy{headers;status;statusText;url;ok;type;constructor(n,t=200,i="OK"){this.headers=n.headers||new Fn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class rf extends vy{constructor(n={}){super(n)}type=Sr.ResponseHeader;clone(n={}){return new rf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class bo extends vy{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=Sr.Response;clone(n={}){return new bo({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ca extends vy{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function yy(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let wc=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof bc)o=t;else{let l,c;l=r.headers instanceof Fn?r.headers:new Fn(r.headers),r.params&&(c=r.params instanceof xr?r.params:new xr({fromObject:r.params})),o=new bc(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=F(o).pipe(Ws(l=>this.handler.handle(l)));if(t instanceof bc||"events"===r.observe)return s;const a=s.pipe(bn(l=>l instanceof bo));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(K(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(K(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(K(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(K(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new xr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,yy(r,i))}post(t,i,r={}){return this.request("POST",t,yy(r,i))}put(t,i,r={}){return this.request("PUT",t,yy(r,i))}static \u0275fac=function(i){return new(i||e)(M(ef))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const w9=/^\)\]\}',?\n/;function Fk(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let by=(()=>{class e{fetchImpl=g(E9,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(q);handle(t){return new Ve(i=>{const r=new AbortController;return this.doRequest(t,r.signal,i).then(wy,o=>i.error(new ca({error:o}))),()=>r.abort()})}doRequest(t,i,r){var o=this;return ri(function*(){const s=o.createRequestInit(t);let a;try{const p=o.ngZone.runOutsideAngular(()=>o.fetchImpl(t.urlWithParams,{signal:i,...s}));(function D9(e){e.then(wy,wy)})(p),r.next({type:Sr.Sent}),a=yield p}catch(p){return void r.error(new ca({error:p,status:p.status??0,statusText:p.statusText,url:t.urlWithParams,headers:p.headers}))}const l=new Fn(a.headers),c=a.statusText,d=Fk(a)??t.urlWithParams;let u=a.status,f=null;if(t.reportProgress&&r.next(new rf({headers:l,status:u,statusText:c,url:d})),a.body){const p=a.headers.get("content-length"),m=[],_=a.body.getReader();let v,E,y=0;const I=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(ri(function*(){for(;;){const{done:W,value:J}=yield _.read();if(W)break;if(m.push(J),y+=J.length,t.reportProgress){E="text"===t.responseType?(E??"")+(v??=new TextDecoder).decode(J,{stream:!0}):void 0;const ye=()=>r.next({type:Sr.DownloadProgress,total:p?+p:void 0,loaded:y,partialText:E});I?I.run(ye):ye()}}}));const P=o.concatChunks(m,y);try{const W=a.headers.get("Content-Type")??"";f=o.parseBody(t,P,W)}catch(W){return void r.error(new ca({error:W,headers:new Fn(a.headers),status:a.status,statusText:a.statusText,url:Fk(a)??t.urlWithParams}))}}0===u&&(u=f?200:0),u>=200&&u<300?(r.next(new bo({body:f,headers:l,status:u,statusText:c,url:d})),r.complete()):r.error(new ca({error:f,headers:l,status:u,statusText:c,url:d}))})()}parseBody(t,i,r){switch(t.responseType){case"json":const o=(new TextDecoder).decode(i).replace(w9,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(t){const i={},r=t.withCredentials?"include":void 0;if(t.headers.forEach((o,s)=>i[o]=s.join(",")),t.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const o=t.detectContentTypeHeader();null!==o&&(i["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:r}}concatChunks(t,i){const r=new Uint8Array(i);let o=0;for(const s of t)r.set(s,o),o+=s.length;return r}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class E9{}function wy(){}function Ok(e,n){return n(e)}function x9(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const I9=new C(""),Cc=new C(""),Pk=new C(""),Lk=new C("",{providedIn:"root",factory:()=>!0});function M9(){let e=null;return(n,t)=>{null===e&&(e=(g(I9,{optional:!0})??[]).reduceRight(x9,Ok));const i=g(zn);if(g(Lk)){const o=i.add();return e(n,t).pipe(Zs(()=>i.remove(o)))}return e(n,t)}}let Vk=(()=>{class e extends ef{backend;injector;chain=null;pendingTasks=g(zn);contributeToStability=g(Lk);constructor(t,i){super(),this.backend=t,this.injector=i}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Cc),...this.injector.get(Pk,[])]));this.chain=i.reduceRight((r,o)=>function S9(e,n,t){return(i,r)=>Sn(t,()=>n(i,o=>e(o,r)))}(r,o,this.injector),Ok)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Zs(()=>this.pendingTasks.remove(i)))}return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(M(tf),M(Dt))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const N9=/^\)\]\}',?\n/;let jk=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new b(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?lt(i.\u0275loadImpl()):F(null)).pipe(yn(()=>new Ve(o=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,_)=>s.setRequestHeader(m,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(t.responseType){const m=t.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",_=new Fn(s.getAllResponseHeaders()),y=function F9(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new rf({headers:_,status:s.status,statusText:m,url:y}),l},d=()=>{let{headers:m,status:_,statusText:y,url:v}=c(),E=null;204!==_&&(E=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=E?200:0);let I=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof E){const P=E;E=E.replace(N9,"");try{E=""!==E?JSON.parse(E):null}catch(W){E=P,I&&(I=!1,E={error:W,text:E})}}I?(o.next(new bo({body:E,headers:m,status:_,statusText:y,url:v||void 0})),o.complete()):o.error(new ca({error:E,headers:m,status:_,statusText:y,url:v||void 0}))},u=m=>{const{url:_}=c(),y=new ca({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(y)};let f=!1;const h=m=>{f||(o.next(c()),f=!0);let _={type:Sr.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),o.next(_)},p=m=>{let _={type:Sr.UploadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),o.next(_)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Sr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||e)(M(UM))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Cy=new C(""),Hk=new C("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Uk=new C("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zk{}let L9=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,i,r){this.doc=t,this.platform=i,this.cookieName=r}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=IM(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(M(ae),M(hi),M(Hk))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function V9(e,n){const t=e.url.toLowerCase();if(!g(Cy)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=g(zk).getToken(),r=g(Uk);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var Ir=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Ir||{});function wo(e,n){return{\u0275kind:e,\u0275providers:n}}function B9(...e){const n=[wc,jk,Vk,{provide:ef,useExisting:Vk},{provide:tf,useFactory:()=>g(by,{optional:!0})??g(jk)},{provide:Cc,useValue:V9,multi:!0},{provide:Cy,useValue:!0},{provide:zk,useClass:L9}];for(const t of e)n.push(...t.\u0275providers);return function tr(e){return{\u0275providers:e}}(n)}const $k=new C(""),Y9=["*"];let af;function Ec(e){return function K9(){if(void 0===af&&(af=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(af=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return af}()?.createHTML(e)||e}function Xk(e){return Error(`Unable to find icon with the name "${e}"`)}function Jk(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function eR(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Co{url;svgText;options;svgElement;constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let lf=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Co(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(wt.HTML,r);if(!s)throw eR(r);const a=Ec(s);return this._addSvgIconConfig(t,i,new Co("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new Co(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(wt.HTML,i);if(!o)throw eR(i);const s=Ec(o);return this._addSvgIconSetConfig(t,new Co("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(wt.RESOURCE_URL,t);if(!i)throw Jk(t);const r=this._cachedIconsByUrl.get(i);return r?F(cf(r)):this._loadSvgIconFromConfig(new Co(t,null)).pipe(_t(o=>this._cachedIconsByUrl.set(i,o)),K(o=>cf(o)))}getNamedSvgIcon(t,i=""){const r=tR(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):Jl(Xk(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?F(cf(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(K(i=>cf(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?F(r):function Ik(...e){const n=NT(e),{args:t,keys:i}=FT(e),r=new Ve(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Wt(t[d]).subscribe(Ue(o,f=>{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?OT(i,a):a),o.complete())}))}});return n?r.pipe(Sv(n)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ho(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(wt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),F(null)})))).pipe(K(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw Xk(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(_t(i=>t.svgText=i),K(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?F(null):this._fetchIcon(t).pipe(_t(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Ec("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(Ec("<svg></svg>")),r=t.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(t.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(t,i){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),i&&i.viewBox&&t.setAttribute("viewBox",i.viewBox),t}_fetchIcon(t){const{url:i,options:r}=t,o=r?.withCredentials??!1;if(!this._httpClient)throw function Q9(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(wt.RESOURCE_URL,i);if(!s)throw Jk(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(K(c=>Ec(c)),Zs(()=>this._inProgressUrlFetches.delete(s)),Mk());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(tR(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,t);if(o)return J9(o)?new Co(o.url,null,o.options):new Co(o,null)}}static \u0275fac=function(i){return new(i||e)(M(wc,8),M(Kl),M(ae,8),M(fn))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cf(e){return e.cloneNode(!0)}function tR(e,n){return e+":"+n}function J9(e){return!(!e.url||!e.options)}const eZ=new C("MAT_ICON_DEFAULT_OPTIONS"),tZ=new C("mat-icon-location",{providedIn:"root",factory:function nZ(){const e=g(ae),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),nR=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],iZ=nR.map(e=>`[${e}]`).join(", "),rZ=/^url\(['"]?#(.*?)['"]?\)$/;let oZ=(()=>{class e{_elementRef=g(we);_iconRegistry=g(lf);_location=g(tZ);_errorHandler=g(fn);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ge.EMPTY;constructor(){const t=g(new zP("aria-hidden"),{optional:!0}),i=g(eZ,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(iZ),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)nR.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(rZ):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(bi(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(ze("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Rl(r.color?"mat-"+r.color:""),It("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[2,"inline","inline",Te],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Wn],ngContentSelectors:Y9,decls:1,vars:0,template:function(i,r){1&i&&(Kn(),ot(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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})}return e})(),sZ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Zt]})}return e})();function Dc(...e){const n=Xl(e),t=function y5(e,n){return"number"==typeof xv(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Wt(i[0]):qs(t)(lt(i,n)):Jn}const ni=new C("");Promise.resolve(),Promise.resolve();var G=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(G||{});const Zi="*";function On(e){return{type:G.Style,styles:e,offset:null}}class kc{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class sN{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}const aN=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],lN=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function wY(e,n){1&e&&(A(0,"span",3),ot(1,1),N())}function CY(e,n){1&e&&(A(0,"span",6),ot(1,2),N())}function EY(e,n){1&e&&(A(0,"span",3),ot(1,1),A(2,"span",8),function Jw(){z.lFrame.currentNamespace="svg"}(),A(3,"svg",9),Ft(4,"path",10),N()()())}function DY(e,n){1&e&&(A(0,"span",6),ot(1,2),N())}const qy=["*"],Cf=new C("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Wy=new C("MatChipAvatar"),Zy=new C("MatChipTrailingIcon"),Yy=new C("MatChipRemove"),Ef=new C("MatChip");let ha=(()=>{class e{_elementRef=g(we);_parentChip=g(Ef);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(t){this._disabled=t}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){g(Dr).load(py),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,r){1&i&&je("click",function(s){return r._handleClick(s)})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(ze("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),It("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",Te],tabIndex:[2,"tabIndex","tabIndex",t=>null==t?-1:aM(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[Wn]})}return e})(),fa=(()=>{class e{_changeDetectorRef=g(_r);_elementRef=g(we);_ngZone=g(q);_focusMonitor=g(cy);_globalRippleOptions=g(wk,{optional:!0});_document=g(ae);_onFocus=new Q;_onBlur=new Q;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=g(hy).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(t){this._disabled=t}_disabled=!1;removed=new fe;destroyed=new fe;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=g(Sk);_injector=g(Ee);constructor(){g(Dr).load(py),g(Dr).load(GA);const t=g(Gr,{optional:!0});this._animationsDisabled="NoopAnimations"===t,this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const t=this._elementRef.nativeElement;this._isBasicChip=t.hasAttribute(this.basicChipAttrName)||t.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Dc(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(t){(8===t.keyCode&&!t.repeat||46===t.keyCode)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===t||r.contains(t)})}_getActions(){const t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const i=null!==t;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):fi(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,o){if(1&i&&(_n(o,Wy,5),_n(o,Zy,5),_n(o,Yy,5),_n(o,Wy,5),_n(o,Zy,5),_n(o,Yy,5)),2&i){let s;Ot(s=Pt())&&(r.leadingIcon=s.first),Ot(s=Pt())&&(r.trailingIcon=s.first),Ot(s=Pt())&&(r.removeIcon=s.first),Ot(s=Pt())&&(r._allLeadingIcons=s),Ot(s=Pt())&&(r._allTrailingIcons=s),Ot(s=Pt())&&(r._allRemoveIcons=s)}},viewQuery:function(i,r){if(1&i&&Bu(ha,5),2&i){let o;Ot(o=Pt())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,r){1&i&&je("keydown",function(s){return r._handleKeydown(s)}),2&i&&(ro("id",r.id),ze("role",r.role)("aria-label",r.ariaLabel),Rl("mat-"+(r.color||"primary")),It("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",Te],highlighted:[2,"highlighted","highlighted",Te],disableRipple:[2,"disableRipple","disableRipple",Te],disabled:[2,"disabled","disabled",Te]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[pe([{provide:Ef,useExisting:e}]),Wn],ngContentSelectors:lN,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(Kn(aN),Ft(0,"span",0),A(1,"span",1)(2,"span",2),rt(3,wY,2,0,"span",3),A(4,"span",4),ot(5),Ft(6,"span",5),N()()(),rt(7,CY,2,0,"span",6)),2&i&&(L(2),re("isInteractive",!1),L(),yi(r.leadingIcon?3:-1),L(4),yi(r._hasTrailingIcon()?7:-1))},dependencies:[ha],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),Ky=(()=>{class e extends fa{_defaultOptions=g(Cf,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=t,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(t){this._setSelectedState(t,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new fe;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(t=!1){return this._setSelectedState(!this.selected,t,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(t,i,r){t!==this.selected&&(this._selected=t,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275cmp=it({type:e,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(i,r){2&i&&(ro("id",r.id),ze("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),It("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--filter",!r._isBasicChip)("mdc-evolution-chip--selectable",!r._isBasicChip)("mat-mdc-chip-selected",r.selected)("mat-mdc-chip-multiple",r._chipListMultiple)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-with-avatar",r.leadingIcon)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--selected",r.selected)("mdc-evolution-chip--selecting",!r._animationsDisabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-primary-graphic",r._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",Te],selected:[2,"selected","selected",Te]},outputs:{selectionChange:"selectionChange"},features:[pe([{provide:fa,useExisting:e},{provide:Ef,useExisting:e}]),Wn,oe],ngContentSelectors:lN,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(i,r){1&i&&(Kn(aN),Ft(0,"span",0),A(1,"span",1)(2,"button",2),rt(3,EY,5,0,"span",3),A(4,"span",4),ot(5),Ft(6,"span",5),N()()(),rt(7,DY,2,0,"span",6),A(8,"span",7),se(9),N()),2&i&&(L(2),re("_allowFocusWhenDisabled",!0),ze("aria-selected",r.ariaSelected)("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),L(),yi(r._hasLeadingGraphic()?3:-1),L(4),yi(r._hasTrailingIcon()?7:-1),L(),re("id",r._ariaDescriptionId),L(),so(r.ariaDescription))},dependencies:[ha],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),Qy=(()=>{class e{_elementRef=g(we);_changeDetectorRef=g(_r);_dir=g(fy,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new Q;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get chipRemovedChanges(){return this._getChipStream(t=>t.removed)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(t){this._explicitRole=t}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new $a;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(t=>t._hasFocus())}_syncChipsState(){this._chips?.forEach(t=>{t._chipListDisabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&t<this._chips.length}_allowFocusEscape(){const t=this._elementRef.nativeElement.tabIndex;-1!==t&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=t))}_getChipStream(t){return this._chips.changes.pipe(uo(null),yn(()=>Dc(...this._chips.map(t))))}_originatesFromChip(t){let i=t.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(uo(this._chips)).subscribe(t=>{const i=[];t.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new O6(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(Xe(this._destroyed)).subscribe(({chip:t})=>{const i=t._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(Xe(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(uo(null),Xe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Xe(this._destroyed)).subscribe(t=>{const r=this._chips.toArray().indexOf(t.chip);this._isValidIndex(r)&&t.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[t];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-chip-set"]],contentQueries:function(i,r,o){if(1&i&&_n(o,fa,5),2&i){let s;Ot(s=Pt())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,r){1&i&&je("keydown",function(s){return r._handleKeydown(s)}),2&i&&ze("role",r.role)},inputs:{disabled:[2,"disabled","disabled",Te],role:"role",tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:aM(t)]},features:[Wn],ngContentSelectors:qy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Kn(),A(0,"div",0),ot(1),N())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return e})();class LY{source;value;constructor(n,t){this.source=n,this.value=t}}const VY={provide:ni,useExisting:Se(()=>Xy),multi:!0};let Xy=(()=>{class e extends Qy{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_pendingInitialValue;_defaultOptions=g(Cf,{optional:!0});get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._syncListboxProperties()}_multiple=!1;get selected(){const t=this._chips.toArray().filter(i=>i.selected);return this.multiple?t:t[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(t){this._selectable=t,this._syncListboxProperties()}_selectable=!0;compareWith=(t,i)=>t===i;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(t=>t.selectionChange)}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}_value;change=new fe;_chips=void 0;ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(uo(null),Xe(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(Xe(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Xe(this._destroyed)).subscribe(t=>{this.multiple||this._chips.forEach(i=>{i!==t.source&&i._setSelectedState(!1,!1,!1)}),t.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const t=this._getFirstSelectedChip();t&&!t.disabled?t.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(t){this._chips?this._setSelectionByValue(t,!1):null!=t&&(this._pendingInitialValue=t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_setSelectionByValue(t,i=!0){this._clearSelection(),Array.isArray(t)?t.forEach(r=>this._selectValue(r,i)):this._selectValue(t,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(t){9===t.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let t=null;t=Array.isArray(this.selected)?this.selected.map(i=>i.value):this.selected?this.selected.value:void 0,this._value=t,this.change.emit(new LY(this,t)),this._onChange(t),this._changeDetectorRef.markForCheck()}_clearSelection(t){this._chips.forEach(i=>{i!==t&&i.deselect()})}_selectValue(t,i){const r=this._chips.find(o=>null!=o.value&&this.compareWith(o.value,t));return r&&(i?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(t=>{t._chipListMultiple=this.multiple,t.chipListSelectable=this._selectable,t._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,t._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(t){return!t.isInteractive}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275cmp=it({type:e,selectors:[["mat-chip-listbox"]],contentQueries:function(i,r,o){if(1&i&&_n(o,Ky,5),2&i){let s;Ot(s=Pt())&&(r._chips=s)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(i,r){1&i&&je("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(s){return r._keydown(s)}),2&i&&(ro("tabIndex",r.disabled||r.empty?-1:r.tabIndex),ze("role",r.role)("aria-describedby",r._ariaDescribedby||null)("aria-required",r.role?r.required:null)("aria-disabled",r.disabled.toString())("aria-multiselectable",r.multiple)("aria-orientation",r.ariaOrientation),It("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[2,"multiple","multiple",Te],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",Te],compareWith:"compareWith",required:[2,"required","required",Te],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Te],value:"value"},outputs:{change:"change"},features:[pe([VY]),Wn,oe],ngContentSelectors:qy,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Kn(),A(0,"div",0),ot(1),N())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return e})(),jY=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[gk,{provide:Cf,useValue:{separatorKeyCodes:[13]}}],imports:[Zt,Ck,Zt]})}return e})();const HY=["addListener","removeListener"],UY=["addEventListener","removeEventListener"],zY=["on","off"];function Jy(e,n,t,i){if(ue(t)&&(i=t,t=void 0),i)return Jy(e,n,t).pipe(Sv(i));const[r,o]=function qY(e){return ue(e.addEventListener)&&ue(e.removeEventListener)}(e)?UY.map(s=>a=>e[s](n,a,t)):function $Y(e){return ue(e.addListener)&&ue(e.removeListener)}(e)?HY.map(hN(e,n)):function GY(e){return ue(e.on)&&ue(e.off)}(e)?zY.map(hN(e,n)):[];if(!r&&Dv(e))return Tt(s=>Jy(s,n,t))(Wt(e));if(!r)throw new TypeError("Invalid event target");return new Ve(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function hN(e,n){return t=>i=>e[t](n,i)}const Rc={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Rc;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Ge(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Rc;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Rc;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class ZY extends oy{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class WY extends iy{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Rc.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Rc.cancelAnimationFrame(t),n._scheduled=void 0)}});let eb,KY=1;const xf={};function fN(e){return e in xf&&(delete xf[e],!0)}const QY={setImmediate(e){const n=KY++;return xf[n]=!0,eb||(eb=Promise.resolve()),eb.then(()=>fN(n)&&e()),n},clearImmediate(e){fN(e)}},{setImmediate:XY,clearImmediate:JY}=QY,Sf={setImmediate(...e){const{delegate:n}=Sf;return(n?.setImmediate||XY)(...e)},clearImmediate(e){const{delegate:n}=Sf;return(n?.clearImmediate||JY)(e)},delegate:void 0};new class tK extends oy{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class eK extends iy{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Sf.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Sf.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function pN(e=0,n,t=w6){let i=-1;return null!=n&&(RT(n)?t=n:i=n),new Ve(r=>{let o=function rK(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function mN(e,n=sy){return function iK(e){return et((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(Ue(t,c=>{i=!0,r=c,o||Wt(e(c)).subscribe(o=Ue(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>pN(e,n))}let gN=(()=>{class e{_ngZone=g(q);_platform=g(sn);_document=g(ae,{optional:!0});constructor(){}_scrolled=new Q;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ve(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(mN(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):F()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(bn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=sa(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Jy(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_N=(()=>{class e{_platform=g(sn);_viewportSize;_change=new Q;_changeListener=t=>{this._change.next(t)};_document=g(ae,{optional:!0});constructor(){g(q).runOutsideAngular(()=>{if(this._platform.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(mN(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nc=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})(),vN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[vc,Nc,vc,Nc]})}return e})();class tb{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class yN extends tb{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.projectableNodes=o}}class aK extends tb{templateRef;viewContainerRef;context;injector;constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class lK extends tb{element;constructor(n){super(),this.element=n instanceof we?n.nativeElement:n}}class cK{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof yN?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof aK?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof lK?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class dK extends cK{outletElement;_appRef;_defaultInjector;_document;constructor(n,t,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let t;if(n.viewContainerRef){const i=n.injector||n.viewContainerRef.injector,r=i.get(ur,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else t=fM(n.component,{elementInjector:n.injector||this._defaultInjector||Ee.NULL,environmentInjector:this._appRef.injector,projectableNodes:n.projectableNodes||void 0}),this._appRef.attachView(t.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(t.hostView),t.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{const t=n.element,i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let bN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})();const wN=e6();class uK{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ct(-this._previousScrollPosition.left),n.style.top=ct(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wN&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wN&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class hK{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(bn(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class CN{enable(){}disable(){}attach(){}}function nb(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function EN(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class fK{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();nb(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let pK=(()=>{class e{_scrollDispatcher=g(gN);_viewportRuler=g(_N);_ngZone=g(q);_document=g(ae);constructor(){}noop=()=>new CN;close=t=>new hK(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new uK(this._viewportRuler,this._document);reposition=t=>new fK(this._scrollDispatcher,this._viewportRuler,this._ngZone,t);static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class mK{positionStrategy;scrollStrategy=new CN;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class gK{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let DN=(()=>{class e{_attachedOverlays=[];_document=g(ae);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_K=(()=>{class e extends DN{_ngZone=g(q,{optional:!0});add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=t=>{const i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){const o=i[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>o.next(t)):o.next(t);break}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vK=(()=>{class e extends DN{_platform=g(sn);_ngZone=g(q,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=t=>{this._pointerDownEventTarget=qi(t)};_clickListener=t=>{const i=qi(t),r="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){const a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(xN(a.overlayElement,i)||xN(a.overlayElement,r))break;const l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xN(e,n){const t=typeof ShadowRoot<"u"&&ShadowRoot;let i=n;for(;i;){if(i===e)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let SN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return e})(),IN=(()=>{class e{_platform=g(sn);_containerElement;_document=g(ae);_styleLoader=g(Dr);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||$A()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(t),$A()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(SN)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class yK{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_backdropElement=null;_backdropTimeout;_backdropClick=new Q;_attachments=new Q;_detachments=new Q;_positionStrategy;_scrollStrategy;_locationChanges=Ge.EMPTY;_backdropClickHandler=n=>this._backdropClick.next(n);_backdropTransitionendHandler=n=>{this._disposeBackdrop(n.target)};_previousHostParent;_keydownEvents=new Q;_outsidePointerEvents=new Q;_renders=new Q;_afterRenderRef;_afterNextRenderRef;constructor(n,t,i,r,o,s,a,l,c,d=!1,u){this._portalOutlet=n,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Lt(()=>function lE(e,n){!n?.injector&&Zo();const t=n?.injector??g(Ee);return bt("NgAfterRender"),cE(e,t,n,!1)}(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=fi(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=ct(this._config.width),n.height=ct(this._config.height),n.minWidth=ct(this._config.minWidth),n.minHeight=ct(this._config.minHeight),n.maxWidth=ct(this._config.maxWidth),n.maxHeight=ct(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const r=qh(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const n=this._renders.pipe(Xe(Dc(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const MN="cdk-overlay-connected-position-bounding-box",bK=/([A-Za-z%]+)$/;class wK{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new Q;_resizeSubscription=Ge.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(MN),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Io(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(MN),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=AN(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,f,h),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=TN(this._overlayRef.getConfig().minHeight),a=TN(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=AN(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.x<this._viewportMargin?o.left-i.left-n.x:0,u=r.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function CK(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new gK(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,r=this._isRtl();let o,s,a,d,u,f;if("top"===t.overlayY)s=n.y,o=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-n.y+i.top,n.y),p=this._lastBoundingBoxSize.height;o=2*h,s=n.y-h,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=ct(i.height),r.top=ct(i.top),r.bottom=ct(i.bottom),r.width=ct(i.width),r.left=ct(i.left),r.right=ct(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=ct(o)),s&&(r.maxWidth=ct(s))}this._lastBoundingBoxSize=i,Io(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Io(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Io(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Io(i,this._getExactOverlayY(t,n,d)),Io(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ct(s.maxWidth):o&&(i.maxWidth="")),Io(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=ct(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=ct(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:EN(n,i),isOriginOutsideView:nb(n,i),isOverlayClipped:EN(t,i),isOverlayOutsideView:nb(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&qh(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof we)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function Io(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function TN(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(bK);return t&&"px"!==t?null:parseFloat(n)}return e||null}function AN(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const kN="cdk-global-overlay-wrapper";class EK{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(kN),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",m="";l?m="flex-start":"center"===d?(m="center",f?p=u:h=u):f?"left"===d||"end"===d?(m="flex-end",h=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",h=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(kN),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let DK=(()=>{class e{_viewportRuler=g(_N);_document=g(ae);_platform=g(sn);_overlayContainer=g(IN);constructor(){}global(){return new EK}flexibleConnectedTo(t){return new wK(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pa=(()=>{class e{scrollStrategies=g(pK);_overlayContainer=g(IN);_positionBuilder=g(DK);_keyboardDispatcher=g(_K);_injector=g(Ee);_ngZone=g(q);_document=g(ae);_directionality=g(fy);_location=g(zs);_outsideClickDispatcher=g(vK);_animationsModuleType=g(Gr,{optional:!0});_idGenerator=g(hy);_appRef;_styleLoader=g(Dr);constructor(){}create(t){this._styleLoader.load(SN);const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new mK(t);return s.direction=s.direction||this._directionality.value,new yK(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(Dt))}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(rn)),new dK(t,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const IK={provide:new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(pa);return()=>e.scrollStrategies.reposition()}}),deps:[pa],useFactory:function SK(e){return()=>e.scrollStrategies.reposition()}};let MK=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[pa,IK],imports:[vc,bN,vN,vN]})}return e})();const TK=["tooltip"],NN=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(pa);return()=>e.scrollStrategies.reposition({scrollThrottle:20})}}),kK={provide:NN,deps:[pa],useFactory:function AK(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},NK=new C("mat-tooltip-default-options",{providedIn:"root",factory:function RK(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),FN="tooltip-panel",ON=pc({passive:!0});let VK=(()=>{class e{_overlay=g(pa);_elementRef=g(we);_scrollDispatcher=g(gN);_viewContainerRef=g(nn);_ngZone=g(q);_platform=g(sn);_ariaDescriber=g(R6);_focusMonitor=g(cy);_dir=g(fy);_injector=g(Ee);_defaultOptions=g(NK,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=g(NN);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=BK;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=JA(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){const i=JA(t);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=ek(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=ek(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){const i=this._message;this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=g(ae);_touchstartTimeout=null;_destroyed=new Q;constructor(){const t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._dir.change.pipe(Xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Xe(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{t.removeEventListener(i,r,ON)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new yN(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof we)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(Xe(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${FN}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Xe(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!$h(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(t){const r=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=r?-8:8:"end"===t.originX&&(t.offsetX=r?8:-8),t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),fi(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:r,originY:o}=t;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${FN}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(i=t),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const i=t.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,ON)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,r=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===t||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){2&i&&It("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return e})(),BK=(()=>{class e{_changeDetectorRef=g(_r);_elementRef=g(we);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new Q;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){const t=g(Gr,{optional:!0});this._animationsDisabled="NoopAnimations"===t}show(t){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:r),i.classList.add(t?r:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(1&i&&Bu(TK,7),2&i){let o;Ot(o=Pt())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){1&i&&je("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(1&i){const o=Fu();A(0,"div",1,0),je("animationend",function(a){return vd(o),yd(r._handleAnimationEnd(a))}),A(2,"div",2),se(3),N()()}2&i&&(It("mdc-tooltip--multiline",r._isMultiline),re("ngClass",r.tooltipClass),L(3),so(r.message))},dependencies:[TM],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return e})(),jK=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:[kK],imports:[K6,MK,Zt,Zt,Nc]})}return e})();function HK(e,n){if(1&e){const t=Fu();A(0,"a",10),je("click",function(r){return vd(t),yd(r.stopPropagation())}),se(1),N()}if(2&e){const t=He().$implicit;v_("href","https://store.steampowered.com/app/"+t.titleId,_s),L(),An(" ",t.game_name," ")}}function UK(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit;L(),An(" ",t.game_name," ")}}function zK(e,n){if(1&e){const t=Fu();A(0,"mat-chip-option",11),je("click",function(r){const o=vd(t).$implicit,s=He().$implicit;return yd(He().onEngineClicked(r,s,o.key))}),se(1),N()}if(2&e){const t=n.$implicit,i=He().$implicit;re("selected",He().titleEnginePicked[i.titleId]==t.key)("value",t.key),L(),An(" ",t.key," ")}}function $K(e,n){1&e&&(A(0,"mat-icon",29),se(1," sports_esports "),N()),2&e&&zt("color","darkgray")}function GK(e,n){1&e&&(A(0,"mat-icon",30),se(1," sports_esports "),N()),2&e&&zt("color","red")}function qK(e,n){1&e&&(A(0,"mat-icon",31),se(1," sports_esports "),N()),2&e&&zt("color","green")}function WK(e,n){1&e&&(A(0,"mat-icon",32),se(1," sports_esports "),N()),2&e&&zt("color","yellow")}function ZK(e,n){1&e&&(A(0,"mat-icon",33),se(1," sports_esports "),N()),2&e&&zt("color","yellow")}function YK(e,n){1&e&&(A(0,"mat-icon",34),se(1," sports_esports "),N()),2&e&&zt("color","yellow")}function KK(e,n){1&e&&(A(0,"mat-icon",35),se(1," cloud_off "),N()),2&e&&zt("color","darkgray")}function QK(e,n){if(1&e&&(A(0,"mat-icon",14),se(1," cloud "),N()),2&e){const t=He(2).$implicit,i=He();zt("color","red"),re("matTooltip","Game Has Cloud Saves But Not Supported Due to "+i.translate_key(t.cloudIssueReason))}}function XK(e,n){1&e&&(A(0,"mat-icon",36),se(1," cloud "),N()),2&e&&zt("color","darkgray")}function JK(e,n){1&e&&(A(0,"mat-icon",37),se(1," cloud "),N()),2&e&&zt("color","green")}function eQ(e,n){if(1&e&&(A(0,"div",9)(1,"div",25),se(2,"Version"),N(),A(3,"div",26),se(4),N()()),2&e){const t=He(2).$implicit,i=He();L(4),An(" ",t.engines[i.titleEnginePicked[t.titleId]].version," ")}}function tQ(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit;L(),An(" ",t.label," ")}}function nQ(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit,i=He(5);L(),An(" ",i.NOTICE_MAP[t.value]," ")}}function iQ(e,n){if(1&e&&(A(0,"div"),se(1),N()),2&e){const t=He().$implicit,i=He(5);L(),An(" ",i.NOTICE_MAP[t.key]," ")}}function rQ(e,n){if(1&e&&(A(0,"li"),rt(1,tQ,2,1,"div",6)(2,nQ,2,1,"div",6)(3,iQ,2,1,"div",6),N()),2&e){const t=n.$implicit;L(),re("ngIf",t.label),L(),re("ngIf",t.value),L(),re("ngIf",t.key&&!t.value&&!t.label)}}function oQ(e,n){if(1&e&&(Ls(0),rt(1,rQ,4,3,"li",38),Vs()),2&e){const t=He(3).$implicit,i=He();L(),re("ngForOf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function sQ(e,n){if(1&e&&(Ls(0),A(1,"div",12)(2,"ul"),rt(3,oQ,2,1,"ng-container",6),N()(),Vs()),2&e){const t=He(2).$implicit,i=He();L(3),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function aQ(e,n){if(1&e&&(Ls(0),A(1,"div",12)(2,"div",9)(3,"div",13)(4,"mat-icon",14),se(5," install_desktop "),N(),A(6,"mat-icon",14),se(7," desktop_windows "),N(),A(8,"mat-icon",14),se(9," construction "),N(),rt(10,$K,2,2,"mat-icon",15)(11,GK,2,2,"mat-icon",16)(12,qK,2,2,"mat-icon",17)(13,WK,2,2,"mat-icon",18)(14,ZK,2,2,"mat-icon",19)(15,YK,2,2,"mat-icon",20)(16,KK,2,2,"mat-icon",21)(17,QK,2,3,"mat-icon",22)(18,XK,2,2,"mat-icon",23)(19,JK,2,2,"mat-icon",24),N()(),A(20,"div",9)(21,"div",25),se(22,"Engine"),N(),A(23,"div",26)(24,"a",27),se(25),N()()(),A(26,"div",9)(27,"div",25),se(28,"License"),N(),A(29,"div",26)(30,"a",27),se(31),N()()(),rt(32,eQ,5,1,"div",28),A(33,"div",9)(34,"div",25),se(35,"Contributor"),N(),A(36,"div",26)(37,"a",27),se(38),N()()()(),rt(39,sQ,4,1,"ng-container",6),Vs()),2&e){const t=He().$implicit,i=He();L(4),zt("color",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"yellow":"green"),re("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"Manual Steps Required":"Automatic Installation"),L(2),zt("color",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"red":"green"),re("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"Steam Overlay Disabled":"Steam Overlay Enabled"),L(2),zt("color",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"yellow":"green"),re("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"Engine May Have Missing Features":"Engine Considered Feature Complete"),L(2),re("ngIf",!(t.engines[i.titleEnginePicked[t.titleId]].controllerNotSupported||t.engines[i.titleEnginePicked[t.titleId]].controllerSupported||t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedSteamChanges||t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame||t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGameAndSteam)),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerNotSupported),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&t.controllerSteamDefault),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&t.controllerSteamDefault),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&!t.controllerSteamDefault),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&!t.controllerSteamDefault),L(),re("ngIf",t.cloudNotAvailable),L(),re("ngIf",t.cloudAvailable&&t.cloudIssue),L(),re("ngIf",t.cloudAvailable&&!t.cloudSupported&&!t.cloudIssue),L(),re("ngIf",t.cloudAvailable&&t.cloudSupported),L(5),re("href",t.engines[i.titleEnginePicked[t.titleId]].engine_link,_s),L(),so(i.titleEnginePicked[t.titleId]),L(5),re("href",t.engines[i.titleEnginePicked[t.titleId]].license_link,_s),L(),An(" ",t.engines[i.titleEnginePicked[t.titleId]].license," "),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].version),L(5),re("href",t.engines[i.titleEnginePicked[t.titleId]].author_link,_s),L(),An(" ",t.engines[i.titleEnginePicked[t.titleId]].author," "),L(),re("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices||t.notices)}}function lQ(e,n){if(1&e&&(A(0,"div",2)(1,"div",3)(2,"div",4),rt(3,HK,2,2,"a",5)(4,UK,2,1,"div",6),N(),A(5,"div",7)(6,"mat-chip-listbox"),rt(7,zK,2,3,"mat-chip-option",8),Hu(8,"keyvalue"),N()()(),A(9,"div",9),rt(10,aQ,40,27,"ng-container",6),N()()),2&e){const t=n.$implicit,i=He();L(3),re("ngIf",!t.isDefault),L(),re("ngIf",t.isDefault),L(3),re("ngForOf",Uu(8,4,t.engines)),L(3),re("ngIf",i.titleEnginePicked[t.titleId])}}let cQ=(()=>{class e{constructor(){this.titles=[],this.titleEnginePicked={},this.NOTICE_MAP={},this.runControllerCheck=!0}ngOnInit(){var t=this;return ri(function*(){const i=yield fetch("/packagessniper_v2.json");t.titles=yield i.json(),t.enginesToMap(),t.noticeTranslationToMap(),t.sortTitles()})()}noticeTranslationToMap(){for(let t of this.titles.notice_translation)this.NOTICE_MAP[t.key]=t.value}enginesToMap(){const t={};for(let i of this.titles.engines)t[i.engine_name]=i;this.titles.engines=t}translate_key(t){return this.NOTICE_MAP[t]}processTitle(t){const i=t.app_id;if(t.engines={},t.cloudAvailable&&!t.cloudSupported&&!t.cloudIssue&&console.error(`title of ${t.game_name} has unknown cloud save feature state`),t.engine_name){const o=t.engine_name;this.titles.engines[o]?t.engines[o]=this.titles.engines[o]:console.error(`engineName of ${o} not found from title of ${i}`)}else if(t.engine_names)for(let o of t.engine_names)this.titles.engines[o]?t.engines[o]=this.titles.engines[o]:console.error(`engineName of ${o} not found from title of ${i}`);else if(t.choices)for(let o of t.choices){const s=o.name;this.titles.engines[s]?t.engines[s]=this.titles.engines[s]:o.engine_name&&this.titles.engines[o.engine_name]?t.engines[o.engine_name]=this.titles.engines[o.engine_name]:console.error(`engineName of ${s} not found from title of ${i}`)}else console.error(`missing information for ${i}`);const r=Object.keys(t.engines);r.sort(),this.titleEnginePicked[i]=r[0];for(let o in t.engines){const s=JSON.parse(JSON.stringify(t.engines[o]));if(t.notices){s.notices||(s.notices=[]);for(let a of t.notices)s.notices.push(a)}if(t.removeNotices){const a=[];for(let l of s.notices){let c=!0;for(let d of t.removeNotices)if(l.key===d){c=!1;break}c&&a.push(l)}s.notices=a}if(s.notices)for(let a of s.notices)"manual_steps"===a.key&&(s.manualSteps=!0),"steam_overlay_disabled"===a.key&&(s.steamOverlayDisabled=!0),"in_progress"===a.key&&(s.inProgress=!0);t.engines[o]=s}return t}sortTitles(){const t=[];let i=this.titles.default_engine;if(this.runControllerCheck)for(const r in this.titles.engines){const o=this.titles.engines[r];let s=!1;for(let a of Object.keys(o))if(-1!==a.indexOf("controller")){s=!0;break}s||console.error(`missing controller data for ${o.engine_name}`)}for(let r of this.titles.games)r.titleId=r.app_id,r=this.processTitle(r),t.push(r);t.sort(function(r,o){return r.game_name<o.game_name?-1:r.game_name>o.game_name?1:0}),i&&(i.isDefault=!0,i.titleId="default",i.app_id="default",i=this.processTitle(i),t.unshift(i)),this.titles=t}onEngineClicked(t,i,r){this.titleEnginePicked[i.titleId]=r}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["app-packages"]],standalone:!1,decls:2,vars:1,consts:[[1,"container-fluid","page-wrapper"],["class","row game-row",4,"ngFor","ngForOf"],[1,"row","game-row"],[1,"row","header-wrapper"],[1,"col-sm-6","game-title"],["target","_blank",3,"href","click",4,"ngIf"],[4,"ngIf"],[1,"col-sm-6","game-choices"],[3,"selected","value","click",4,"ngFor","ngForOf"],[1,"row"],["target","_blank",3,"click","href"],[3,"click","selected","value"],[1,"col-12","col-md-6"],[1,"col-12","status-icons"],[3,"matTooltip"],["matTooltip","Unknown Controller Support",3,"color",4,"ngIf"],["matTooltip","Engine Does Not Have Native Controller Support",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support And Works Out of the Box",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game Settings",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support But Needs Manual Steam Settings",3,"color",4,"ngIf"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game and Steam Settings",3,"color",4,"ngIf"],["matTooltip","Game Does Not Have Cloud Saves",3,"color",4,"ngIf"],[3,"matTooltip","color",4,"ngIf"],["matTooltip","Game Has Cloud Saves But Unknown Status",3,"color",4,"ngIf"],["matTooltip","Cloud Saves Supported",3,"color",4,"ngIf"],[1,"col-5","col-md-4","col-lg-3"],[1,"col-7","col-md-8"],["target","_blank",3,"href"],["class","row",4,"ngIf"],["matTooltip","Unknown Controller Support"],["matTooltip","Engine Does Not Have Native Controller Support"],["matTooltip","Engine Has Native Controller Support And Works Out of the Box"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game Settings"],["matTooltip","Engine Has Native Controller Support But Needs Manual Steam Settings"],["matTooltip","Engine Has Native Controller Support But Needs Manual In-Game and Steam Settings"],["matTooltip","Game Does Not Have Cloud Saves"],["matTooltip","Game Has Cloud Saves But Unknown Status"],["matTooltip","Cloud Saves Supported"],[4,"ngFor","ngForOf"]],template:function(i,r){1&i&&(A(0,"div",0),rt(1,lQ,11,6,"div",1),N()),2&i&&(L(),re("ngForOf",r.titles))},dependencies:[kM,NM,oZ,Xy,Ky,VK,LM],styles:[".packages-wrapper[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .packages-wrapper[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.packages-wrapper[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.packages-wrapper[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%]{margin-left:8px}.mat-chip[_ngcontent-%COMP%]{cursor:pointer!important}.page-wrapper[_ngcontent-%COMP%]{padding-top:1rem;color:#fff;max-width:1200px}.header-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6;padding-bottom:.5rem;margin-bottom:.5rem;padding-top:.5rem}.game-row[_ngcontent-%COMP%]{background:#424242;padding:0 0 0 24px;margin-bottom:1rem;margin-left:15px;margin-right:15px;padding-bottom:.5rem}.game-title[_ngcontent-%COMP%], .engine-choices[_ngcontent-%COMP%]{align-self:center;margin-bottom:.5rem}div[_ngcontent-%COMP%]{word-break:break-word}.status-icons[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:.625rem}"]})}}return e})();class dQ extends Q{constructor(n=1/0,t=1/0,i=ry){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}let Mo={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function PN(e){Mo=e}const Fc={exec:()=>null};function xe(e,n=""){let t="string"==typeof e?e:e.source;const i={replace:(r,o)=>{let s="string"==typeof o?o:o.source;return s=s.replace(Kt.caret,"$1"),t=t.replace(r,s),i},getRegex:()=>new RegExp(t,n)};return i}const Kt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Oc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,LN=/(?:[*+-]|\d{1,9}[.)])/,VN=xe(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,LN).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),rb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ob=/(?!\s*\])(?:\\.|[^\[\]\\])+/,_Q=xe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ob).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vQ=xe(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,LN).getRegex(),If="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",sb=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,yQ=xe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",sb).replace("tag",If).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),BN=xe(rb).replace("hr",Oc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",If).getRegex(),ab={blockquote:xe(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",BN).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:_Q,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Oc,html:yQ,lheading:VN,list:vQ,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:BN,table:Fc,text:/^[^\n]+/},jN=xe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Oc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",If).getRegex(),bQ={...ab,table:jN,paragraph:xe(rb).replace("hr",Oc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",jN).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",If).getRegex()},wQ={...ab,html:xe("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",sb).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Fc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:xe(rb).replace("hr",Oc).replace("heading"," *#{1,6} *[^\n]").replace("lheading",VN).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},HN=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,UN=/^( {2,}|\\)\n(?!\s*$)/,Mf=/[\p{P}\p{S}]/u,lb=/[\s\p{P}\p{S}]/u,zN=/[^\s\p{P}\p{S}]/u,DQ=xe(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,lb).getRegex(),SQ=xe(/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,"u").replace(/punct/g,Mf).getRegex(),IQ=xe("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,zN).replace(/punctSpace/g,lb).replace(/punct/g,Mf).getRegex(),MQ=xe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,zN).replace(/punctSpace/g,lb).replace(/punct/g,Mf).getRegex(),TQ=xe(/\\(punct)/,"gu").replace(/punct/g,Mf).getRegex(),AQ=xe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),kQ=xe(sb).replace("(?:--\x3e|$)","--\x3e").getRegex(),RQ=xe("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",kQ).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Tf=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,NQ=xe(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Tf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),$N=xe(/^!?\[(label)\]\[(ref)\]/).replace("label",Tf).replace("ref",ob).getRegex(),GN=xe(/^!?\[(ref)\](?:\[\])?/).replace("ref",ob).getRegex(),cb={_backpedal:Fc,anyPunctuation:TQ,autolink:AQ,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:UN,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Fc,emStrongLDelim:SQ,emStrongRDelimAst:IQ,emStrongRDelimUnd:MQ,escape:HN,link:NQ,nolink:GN,punctuation:DQ,reflink:$N,reflinkSearch:xe("reflink|nolink(?!\\()","g").replace("reflink",$N).replace("nolink",GN).getRegex(),tag:RQ,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Fc},OQ={...cb,link:xe(/^!?\[(label)\]\((.*?)\)/).replace("label",Tf).getRegex(),reflink:xe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Tf).getRegex()},db={...cb,escape:xe(HN).replace("])","~|])").getRegex(),url:xe(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},PQ={...db,br:xe(UN).replace("{2,}","*").getRegex(),text:xe(db.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Af={normal:ab,gfm:bQ,pedantic:wQ},Pc={normal:cb,gfm:db,breaks:PQ,pedantic:OQ},LQ={"&":"&","<":"<",">":">",'"':""","'":"'"},qN=e=>LQ[e];function xi(e,n){if(n){if(Kt.escapeTest.test(e))return e.replace(Kt.escapeReplace,qN)}else if(Kt.escapeTestNoEncode.test(e))return e.replace(Kt.escapeReplaceNoEncode,qN);return e}function WN(e){try{e=encodeURI(e).replace(Kt.percentDecode,"%")}catch{return null}return e}function ZN(e,n){const i=e.replace(Kt.findPipe,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&"\\"===a[c];)l=!l;return l?"|":" |"}).split(Kt.splitPipe);let r=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(Kt.slashPipe,"|");return i}function Lc(e,n,t){const i=e.length;if(0===i)return"";let r=0;for(;r<i;){const o=e.charAt(i-r-1);if(o!==n||t){if(o===n||!t)break;r++}else r++}return e.slice(0,i-r)}function YN(e,n,t,i,r){const o=n.href,s=n.title||null,a=e[1].replace(r.other.outputLinkReplace,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const l={type:"link",raw:t,href:o,title:s,text:a,tokens:i.inlineTokens(a)};return i.state.inLink=!1,l}return{type:"image",raw:t,href:o,title:s,text:a}}class kf{options;rules;lexer;constructor(n){this.options=n||Mo}space(n){const t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const i=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Lc(i,"\n")}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const i=t[0],r=function BQ(e,n,t){const i=e.match(t.other.indentCodeCompensation);if(null===i)return n;const r=i[1];return n.split("\n").map(o=>{const s=o.match(t.other.beginningSpace);if(null===s)return o;const[a]=s;return a.length>=r.length?o.slice(r.length):o}).join("\n")}(i,t[3]||"",this.rules);return{type:"code",raw:i,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let i=t[2].trim();if(this.rules.other.endingHash.test(i)){const r=Lc(i,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(i=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:Lc(t[0],"\n")}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){let i=Lc(t[0],"\n").split("\n"),r="",o="";const s=[];for(;i.length>0;){let a=!1;const l=[];let c;for(c=0;c<i.length;c++)if(this.rules.other.blockquoteStart.test(i[c]))l.push(i[c]),a=!0;else{if(a)break;l.push(i[c])}i=i.slice(c);const d=l.join("\n"),u=d.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}\n${d}`:d,o=o?`${o}\n${u}`:u;const f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,s,!0),this.lexer.state.top=f,0===i.length)break;const h=s.at(-1);if("code"===h?.type)break;if("blockquote"===h?.type){const p=h,m=p.raw+"\n"+i.join("\n"),_=this.blockquote(m);s[s.length-1]=_,r=r.substring(0,r.length-p.raw.length)+_.raw,o=o.substring(0,o.length-p.text.length)+_.text;break}if("list"!==h?.type);else{const p=h,m=p.raw+"\n"+i.join("\n"),_=this.list(m);s[s.length-1]=_,r=r.substring(0,r.length-h.raw.length)+_.raw,o=o.substring(0,o.length-p.raw.length)+_.raw,i=m.substring(s.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:s,text:o}}}list(n){let t=this.rules.block.list.exec(n);if(t){let i=t[1].trim();const r=i.length>1,o={type:"list",raw:"",ordered:r,start:r?+i.slice(0,-1):"",loose:!1,items:[]};i=r?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=r?i:"[*+-]");const s=this.rules.other.listItemRegex(i);let a=!1;for(;n;){let c=!1,d="",u="";if(!(t=s.exec(n))||this.rules.block.hr.test(n))break;d=t[0],n=n.substring(d.length);let f=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,v=>" ".repeat(3*v.length)),h=n.split("\n",1)[0],p=!f.trim(),m=0;if(this.options.pedantic?(m=2,u=f.trimStart()):p?m=t[1].length+1:(m=t[2].search(this.rules.other.nonSpaceChar),m=m>4?1:m,u=f.slice(m),m+=t[1].length),p&&this.rules.other.blankLine.test(h)&&(d+=h+"\n",n=n.substring(h.length+1),c=!0),!c){const v=this.rules.other.nextBulletRegex(m),E=this.rules.other.hrRegex(m),I=this.rules.other.fencesBeginRegex(m),P=this.rules.other.headingBeginRegex(m),W=this.rules.other.htmlBeginRegex(m);for(;n;){const J=n.split("\n",1)[0];let ye;if(h=J,this.options.pedantic?(h=h.replace(this.rules.other.listReplaceNesting," "),ye=h):ye=h.replace(this.rules.other.tabCharGlobal," "),I.test(h)||P.test(h)||W.test(h)||v.test(h)||E.test(h))break;if(ye.search(this.rules.other.nonSpaceChar)>=m||!h.trim())u+="\n"+ye.slice(m);else{if(p||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||I.test(f)||P.test(f)||E.test(f))break;u+="\n"+h}!p&&!h.trim()&&(p=!0),d+=J+"\n",n=n.substring(J.length+1),f=ye.slice(m)}}o.loose||(a?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(a=!0));let y,_=null;this.options.gfm&&(_=this.rules.other.listIsTask.exec(u),_&&(y="[ ] "!==_[0],u=u.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:d,task:!!_,checked:y,loose:!1,text:u,tokens:[]}),o.raw+=d}const l=o.items.at(-1);l&&(l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd()),o.raw=o.raw.trimEnd();for(let c=0;c<o.items.length;c++)if(this.lexer.state.top=!1,o.items[c].tokens=this.lexer.blockTokens(o.items[c].text,[]),!o.loose){const d=o.items[c].tokens.filter(f=>"space"===f.type),u=d.length>0&&d.some(f=>this.rules.other.anyLine.test(f.raw));o.loose=u}if(o.loose)for(let c=0;c<o.items.length;c++)o.items[c].loose=!0;return o}}html(n){const t=this.rules.block.html.exec(n);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(n){const t=this.rules.block.def.exec(n);if(t){const i=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:i,raw:t[0],href:r,title:o}}}table(n){const t=this.rules.block.table.exec(n);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;const i=ZN(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(i.length===r.length){for(const a of r)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<i.length;a++)s.header.push({text:i[a],tokens:this.lexer.inline(i[a]),header:!0,align:s.align[a]});for(const a of o)s.rows.push(ZN(a,s.header.length).map((l,c)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[c]})));return s}}lheading(n){const t=this.rules.block.lheading.exec(n);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(n){const t=this.rules.block.paragraph.exec(n);if(t){const i="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:i,tokens:this.lexer.inline(i)}}}text(n){const t=this.rules.block.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(n){const t=this.rules.inline.escape.exec(n);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(n){const t=this.rules.inline.tag.exec(n);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const i=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(i)){if(!this.rules.other.endAngleBracket.test(i))return;const s=Lc(i.slice(0,-1),"\\");if((i.length-s.length)%2==0)return}else{const s=function VQ(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===n[0])t++;else if(e[i]===n[1]&&(t--,t<0))return i;return-1}(t[2],"()");if(s>-1){const l=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let r=t[2],o="";if(this.options.pedantic){const s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],o=s[3])}else o=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(i)?r.slice(1):r.slice(1,-1)),YN(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(n,t){let i;if((i=this.rules.inline.reflink.exec(n))||(i=this.rules.inline.nolink.exec(n))){const o=t[(i[2]||i[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!o){const s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return YN(i,o,i[0],this.lexer,this.rules)}}emStrong(n,t,i=""){let r=this.rules.inline.emStrongLDelim.exec(n);if(!(!r||r[3]&&i.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[2]||!i||this.rules.inline.punctuation.exec(i))){const s=[...r[0]].length-1;let a,l,c=s,d=0;const u="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*n.length+s);null!=(r=u.exec(t));){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=[...a].length,r[3]||r[4]){c+=l;continue}if((r[5]||r[6])&&s%3&&!((s+l)%3)){d+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+d);const f=[...r[0]][0].length,h=n.slice(0,s+r.index+f+l);if(Math.min(s,l)%2){const m=h.slice(1,-1);return{type:"em",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}const p=h.slice(2,-2);return{type:"strong",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let i=t[2].replace(this.rules.other.newLineCharGlobal," ");const r=this.rules.other.nonSpaceChar.test(i),o=this.rules.other.startingSpaceChar.test(i)&&this.rules.other.endingSpaceChar.test(i);return r&&o&&(i=i.substring(1,i.length-1)),{type:"codespan",raw:t[0],text:i}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let i,r;return"@"===t[2]?(i=t[1],r="mailto:"+i):(i=t[1],r=i),{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}url(n){let t;if(t=this.rules.inline.url.exec(n)){let i,r;if("@"===t[2])i=t[0],r="mailto:"+i;else{let o;do{o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(o!==t[0]);i=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],escaped:this.lexer.state.inRawBlock}}}class Pn{tokens;options;state;tokenizer;inlineQueue;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Mo,this.options.tokenizer=this.options.tokenizer||new kf,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:Kt,block:Af.normal,inline:Pc.normal};this.options.pedantic?(t.block=Af.pedantic,t.inline=Pc.pedantic):this.options.gfm&&(t.block=Af.gfm,t.inline=this.options.breaks?Pc.breaks:Pc.gfm),this.tokenizer.rules=t}static get rules(){return{block:Af,inline:Pc}}static lex(n,t){return new Pn(t).lex(n)}static lexInline(n,t){return new Pn(t).inlineTokens(n)}lex(n){n=n.replace(Kt.carriageReturn,"\n"),this.blockTokens(n,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const i=this.inlineQueue[t];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(n,t=[],i=!1){for(this.options.pedantic&&(n=n.replace(Kt.tabCharGlobal," ").replace(Kt.spaceLine,""));n;){let r;if(this.options.extensions?.block?.some(s=>!!(r=s.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length);const s=t.at(-1);1===r.raw.length&&void 0!==s?s.raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length);const s=t.at(-1);"paragraph"===s?.type||"text"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.at(-1).src=s.text):t.push(r);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length);const s=t.at(-1);"paragraph"===s?.type||"text"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),t.push(r);continue}let o=n;if(this.options.extensions?.startBlock){let s=1/0;const a=n.slice(1);let l;this.options.extensions.startBlock.forEach(c=>{l=c.call({lexer:this},a),"number"==typeof l&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(o=n.substring(0,s+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){const s=t.at(-1);i&&"paragraph"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(r),i=o.length!==n.length,n=n.substring(r.raw.length)}else if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length);const s=t.at(-1);"text"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(r)}else if(n){const s="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let i=n,r=null;if(this.tokens.links){const a=Object.keys(this.tokens.links);if(a.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(i));)a.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(i));)i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(i));)i=i.slice(0,r.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,s="";for(;n;){let a;if(o||(s=""),o=!1,this.options.extensions?.inline?.some(c=>!!(a=c.call({lexer:this},n,t))&&(n=n.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.escape(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(a.raw.length);const c=t.at(-1);"text"===a.type&&"text"===c?.type?(c.raw+=a.raw,c.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(n,i,s)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(n)){n=n.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(n))){n=n.substring(a.raw.length),t.push(a);continue}let l=n;if(this.options.extensions?.startInline){let c=1/0;const d=n.slice(1);let u;this.options.extensions.startInline.forEach(f=>{u=f.call({lexer:this},d),"number"==typeof u&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(l=n.substring(0,c+1))}if(a=this.tokenizer.inlineText(l)){n=n.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(s=a.raw.slice(-1)),o=!0;const c=t.at(-1);"text"===c?.type?(c.raw+=a.raw,c.text+=a.text):t.push(a)}else if(n){const c="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}return t}}class To{options;parser;constructor(n){this.options=n||Mo}space(n){return""}code({text:n,lang:t,escaped:i}){const r=(t||"").match(Kt.notSpaceStart)?.[0],o=n.replace(Kt.endingNewline,"")+"\n";return r?'<pre><code class="language-'+xi(r)+'">'+(i?o:xi(o,!0))+"</code></pre>\n":"<pre><code>"+(i?o:xi(o,!0))+"</code></pre>\n"}blockquote({tokens:n}){return`<blockquote>\n${this.parser.parse(n)}</blockquote>\n`}html({text:n}){return n}heading({tokens:n,depth:t}){return`<h${t}>${this.parser.parseInline(n)}</h${t}>\n`}hr(n){return"<hr>\n"}list(n){const t=n.ordered,i=n.start;let r="";for(let a=0;a<n.items.length;a++)r+=this.listitem(n.items[a]);const o=t?"ol":"ul";return"<"+o+(t&&1!==i?' start="'+i+'"':"")+">\n"+r+"</"+o+">\n"}listitem(n){let t="";if(n.task){const i=this.checkbox({checked:!!n.checked});n.loose?"paragraph"===n.tokens[0]?.type?(n.tokens[0].text=i+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=i+" "+xi(n.tokens[0].tokens[0].text),n.tokens[0].tokens[0].escaped=!0)):n.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):t+=i+" "}return t+=this.parser.parse(n.tokens,!!n.loose),`<li>${t}</li>\n`}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>\n`}table(n){let t="",i="";for(let o=0;o<n.header.length;o++)i+=this.tablecell(n.header[o]);t+=this.tablerow({text:i});let r="";for(let o=0;o<n.rows.length;o++){const s=n.rows[o];i="";for(let a=0;a<s.length;a++)i+=this.tablecell(s[a]);r+=this.tablerow({text:i})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:n}){return`<tr>\n${n}</tr>\n`}tablecell(n){const t=this.parser.parseInline(n.tokens),i=n.header?"th":"td";return(n.align?`<${i} align="${n.align}">`:`<${i}>`)+t+`</${i}>\n`}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${xi(n,!0)}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:t,tokens:i}){const r=this.parser.parseInline(i),o=WN(n);if(null===o)return r;let s='<a href="'+(n=o)+'"';return t&&(s+=' title="'+xi(t)+'"'),s+=">"+r+"</a>",s}image({href:n,title:t,text:i}){const r=WN(n);if(null===r)return xi(i);let o=`<img src="${n=r}" alt="${i}"`;return t&&(o+=` title="${xi(t)}"`),o+=">",o}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):"escaped"in n&&n.escaped?n.text:xi(n.text)}}class ub{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}}class Ln{options;renderer;textRenderer;constructor(n){this.options=n||Mo,this.options.renderer=this.options.renderer||new To,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ub}static parse(n,t){return new Ln(t).parse(n)}static parseInline(n,t){return new Ln(t).parseInline(n)}parse(n,t=!0){let i="";for(let r=0;r<n.length;r++){const o=n[r];if(this.options.extensions?.renderers?.[o.type]){const a=o,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==l||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){i+=l||"";continue}}const s=o;switch(s.type){case"space":i+=this.renderer.space(s);continue;case"hr":i+=this.renderer.hr(s);continue;case"heading":i+=this.renderer.heading(s);continue;case"code":i+=this.renderer.code(s);continue;case"table":i+=this.renderer.table(s);continue;case"blockquote":i+=this.renderer.blockquote(s);continue;case"list":i+=this.renderer.list(s);continue;case"html":i+=this.renderer.html(s);continue;case"paragraph":i+=this.renderer.paragraph(s);continue;case"text":{let a=s,l=this.renderer.text(a);for(;r+1<n.length&&"text"===n[r+1].type;)a=n[++r],l+="\n"+this.renderer.text(a);i+=t?this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):l;continue}default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}parseInline(n,t=this.renderer){let i="";for(let r=0;r<n.length;r++){const o=n[r];if(this.options.extensions?.renderers?.[o.type]){const a=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==a||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){i+=a||"";continue}}const s=o;switch(s.type){case"escape":case"text":i+=t.text(s);break;case"html":i+=t.html(s);break;case"link":i+=t.link(s);break;case"image":i+=t.image(s);break;case"strong":i+=t.strong(s);break;case"em":i+=t.em(s);break;case"codespan":i+=t.codespan(s);break;case"br":i+=t.br(s);break;case"del":i+=t.del(s);break;default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}}class Rf{options;block;constructor(n){this.options=n||Mo}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}provideLexer(){return this.block?Pn.lex:Pn.lexInline}provideParser(){return this.block?Ln.parse:Ln.parseInline}}const Ao=new class jQ{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Ln;Renderer=To;TextRenderer=ub;Lexer=Pn;Tokenizer=kf;Hooks=Rf;constructor(...n){this.use(...n)}walkTokens(n,t){let i=[];for(const r of n)switch(i=i.concat(t.call(this,r)),r.type){case"table":{const o=r;for(const s of o.header)i=i.concat(this.walkTokens(s.tokens,t));for(const s of o.rows)for(const a of s)i=i.concat(this.walkTokens(a.tokens,t));break}case"list":i=i.concat(this.walkTokens(r.items,t));break;default:{const o=r;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(s=>{const a=o[s].flat(1/0);i=i.concat(this.walkTokens(a,t))}):o.tokens&&(i=i.concat(this.walkTokens(o.tokens,t)))}}return i}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(i=>{const r={...i};if(r.async=this.defaults.async||r.async||!1,i.extensions&&(i.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const s=t.renderers[o.name];t.renderers[o.name]=s?function(...a){let l=o.renderer.apply(this,a);return!1===l&&(l=s.apply(this,a)),l}:o.renderer}if("tokenizer"in o){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");const s=t[o.level];s?s.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&("block"===o.level?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:"inline"===o.level&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),r.extensions=t),i.renderer){const o=this.defaults.renderer||new To(this.defaults);for(const s in i.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const l=i.renderer[s],c=o[s];o[s]=(...d)=>{let u=l.apply(o,d);return!1===u&&(u=c.apply(o,d)),u||""}}r.renderer=o}if(i.tokenizer){const o=this.defaults.tokenizer||new kf(this.defaults);for(const s in i.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const l=i.tokenizer[s],c=o[s];o[s]=(...d)=>{let u=l.apply(o,d);return!1===u&&(u=c.apply(o,d)),u}}r.tokenizer=o}if(i.hooks){const o=this.defaults.hooks||new Rf;for(const s in i.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;const l=i.hooks[s],c=o[s];o[s]=Rf.passThroughHooks.has(s)?d=>{if(this.defaults.async)return Promise.resolve(l.call(o,d)).then(f=>c.call(o,f));const u=l.call(o,d);return c.call(o,u)}:(...d)=>{let u=l.apply(o,d);return!1===u&&(u=c.apply(o,d)),u}}r.hooks=o}if(i.walkTokens){const o=this.defaults.walkTokens,s=i.walkTokens;r.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...r}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Pn.lex(n,t??this.defaults)}parser(n,t){return Ln.parse(n,t??this.defaults)}parseMarkdown(n){return(i,r)=>{const o={...r},s={...this.defaults,...o},a=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===o.async)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof i>"u"||null===i)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=n);const l=s.hooks?s.hooks.provideLexer():n?Pn.lex:Pn.lexInline,c=s.hooks?s.hooks.provideParser():n?Ln.parse:Ln.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(i):i).then(d=>l(d,s)).then(d=>s.hooks?s.hooks.processAllTokens(d):d).then(d=>s.walkTokens?Promise.all(this.walkTokens(d,s.walkTokens)).then(()=>d):d).then(d=>c(d,s)).then(d=>s.hooks?s.hooks.postprocess(d):d).catch(a);try{s.hooks&&(i=s.hooks.preprocess(i));let d=l(i,s);s.hooks&&(d=s.hooks.processAllTokens(d)),s.walkTokens&&this.walkTokens(d,s.walkTokens);let u=c(d,s);return s.hooks&&(u=s.hooks.postprocess(u)),u}catch(d){return a(d)}}}onError(n,t){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const r="<p>An error occurred:</p><pre>"+xi(i.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(i);throw i}}};function me(e,n){return Ao.parse(e,n)}me.options=me.setOptions=function(e){return Ao.setOptions(e),PN(me.defaults=Ao.defaults),me},me.getDefaults=function ib(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},me.defaults=Mo,me.use=function(...e){return Ao.use(...e),PN(me.defaults=Ao.defaults),me},me.walkTokens=function(e,n){return Ao.walkTokens(e,n)},me.parseInline=Ao.parseInline,me.Parser=Ln,me.parser=Ln.parse,me.Renderer=To,me.TextRenderer=ub,me.Lexer=Pn,me.lexer=Pn.lex,me.Tokenizer=kf,me.Hooks=Rf,me.parse=me;const HQ=["*"];let KN=(()=>{class e{constructor(){this._buttonClick$=new Q,this.copied$=this._buttonClick$.pipe(yn(()=>Dc(F(!0),pN(3e3).pipe(jT(!1)))),QA(),function uQ(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,Mk({connector:()=>new dQ(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}(1)),this.copiedText$=this.copied$.pipe(uo(!1),K(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,r){1&i&&(A(0,"button",0),Hu(1,"async"),je("click",function(){return r.onCopyToClipboardClick()}),se(2),Hu(3,"async"),N()),2&i&&(It("copied",Uu(1,3,r.copied$)),L(2),so(Uu(3,5,r.copiedText$)))},dependencies:[PM],encapsulation:2,changeDetection:0})}}return e})();const $Q=new C("CLIPBOARD_OPTIONS");var hb=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(hb||{});const QN=new C("MARKED_EXTENSIONS"),qQ=new C("MARKED_OPTIONS"),WQ=new C("MERMAID_OPTIONS"),XN=new C("SECURITY_CONTEXT");let fb=(()=>{class e{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,i,r,o,s,a,l,c){this.clipboardOptions=t,this.extensions=i,this.mermaidOptions=o,this.platform=s,this.securityContext=a,this.http=l,this.sanitizer=c,this.DEFAULT_MARKED_OPTIONS={renderer:new To},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new Q,this.reload$=this._reload$.asObservable(),this.options=r}parse(t,i=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:r,inline:o,emoji:s,mermaid:a,disableSanitizer:l}=i,c={...this.options,...i.markedOptions},d=c.renderer||this.renderer||new To;this.extensions&&(this.renderer=this.extendsRendererForExtensions(d)),a&&(this.renderer=this.extendsRendererForMermaid(d));const u=this.trimIndentation(t),f=r?this.decodeHtml(u):u,h=s?this.parseEmoji(f):f,p=this.parseMarked(h,c,o);return(l?p:this.sanitizer.sanitize(this.securityContext,p))||""}render(t,i=this.DEFAULT_RENDER_OPTIONS,r){const{clipboard:o,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:d}=i;a&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...l}),c&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...this.mermaidOptions,...d}),o&&this.renderClipboard(t,r,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(K(i=>this.handleExtension(t,i)))}highlight(t){if(!yr(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const i=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!yr(this.platform))return t;const i=document.createElement("textarea");return i.innerHTML=t,i.value}extendsRendererForExtensions(t){const i=t;return!0===i.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&me.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const i=t;if(!0===i.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const r=t.code;return t.code=o=>"mermaid"===o.lang?`<div class="mermaid">${o.text}</div>`:r(o),i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,i){const r=t.lastIndexOf("://"),o=r>-1?t.substring(r+4):t,s=o.lastIndexOf("/"),a=s>-1?o.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&"md"!==c?"```"+c+"\n"+i+"\n```":i}parseMarked(t,i,r=!1){if(i.renderer){const o={...i.renderer};delete o.\u0275NgxMarkdownRendererExtendedForExtensions,delete o.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,me.use({renderer:o})}return r?me.parseInline(t,i):me.parse(t,i)}parseEmoji(t){if(!yr(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,i){if(yr(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,i)}}renderClipboard(t,i,r){if(!yr(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!i)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:o,buttonTemplate:s}=r,a=t.querySelectorAll("pre");for(let l=0;l<a.length;l++){const c=a.item(l),d=document.createElement("div");d.style.position="relative",c.parentNode.insertBefore(d,c),d.appendChild(c);const u=document.createElement("div");let f,h;if(u.classList.add("markdown-clipboard-toolbar"),u.style.position="absolute",u.style.top=".5em",u.style.right=".5em",u.style.zIndex="1",d.insertAdjacentElement("beforeend",u),d.onmouseenter=()=>u.classList.add("hover"),d.onmouseleave=()=>u.classList.remove("hover"),o){const p=i.createComponent(o);f=p.hostView,p.changeDetectorRef.markForCheck()}else if(s)f=i.createEmbeddedView(s);else{const p=i.createComponent(KN);f=p.hostView,p.changeDetectorRef.markForCheck()}f.rootNodes.forEach(p=>{u.appendChild(p),h=new ClipboardJS(p,{text:()=>c.innerText})}),f.onDestroy(()=>h.destroy())}}renderMermaid(t,i=this.DEFAULT_MERMAID_OPTIONS){if(!yr(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const r=t.querySelectorAll(".mermaid");0!==r.length&&(mermaid.initialize(i),mermaid.run({nodes:r}))}trimIndentation(t){if(!t)return"";let i;return t.split("\n").map(r=>{let o=i;return r.length>0&&(o=isNaN(o)?r.search(/\S|$/):Math.min(r.search(/\S|$/),o)),isNaN(i)&&(i=o),o?r.substring(o):r}).join("\n")}static{this.\u0275fac=function(i){return new(i||e)(M($Q,8),M(QN,8),M(qQ,8),M(WQ,8),M(hi),M(XN),M(wc,8),M(Kl))}}static{this.\u0275prov=S({token:e,factory:e.\u0275fac})}}return e})(),JN=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,r){this.element=t,this.markdownService=i,this.viewContainerRef=r,this.error=new fe,this.load=new fe,this.ready=new fe,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new Q}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Xe(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){var r=this;return ri(function*(){const o={decodeHtml:i,inline:r.inline,emoji:r.emoji,mermaid:r.mermaid,disableSanitizer:r.disableSanitizer},s={clipboard:r.clipboard,clipboardOptions:r.getClipboardOptions(),katex:r.katex,katexOptions:r.katexOptions,mermaid:r.mermaid,mermaidOptions:r.mermaidOptions},a=yield r.markdownService.parse(t,o);r.element.nativeElement.innerHTML=a,r.handlePlugins(),r.markdownService.render(r.element.nativeElement,s,r.viewContainerRef),r.ready.emit()})()}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,hb.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,hb.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){const r=t.querySelectorAll("pre");for(let o=0;o<r.length;o++){const s=i instanceof Array?i:[i];r.item(o).classList.add(...s)}}setPluginOptions(t,i){const r=t.querySelectorAll("pre");for(let o=0;o<r.length;o++)Object.keys(i).forEach(s=>{const a=i[s];if(a){const l=this.toLispCase(s);r.item(o).setAttribute(l,a.toString())}})}toLispCase(t){const i=t.match(/([A-Z])/g);if(!i)return t;let r=t.toString();for(let o=0,s=i.length;o<s;o++)r=r.replace(new RegExp(i[o]),"-"+i[o].toLowerCase());return"-"===r.slice(0,1)&&(r=r.slice(1)),r}static{this.\u0275fac=function(i){return new(i||e)(D(we),D(fb),D(nn))}}static{this.\u0275cmp=it({type:e,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},features:[un],ngContentSelectors:HQ,decls:1,vars:0,template:function(i,r){1&i&&(Kn(),ot(0))},encapsulation:2})}}return e})();function t7(e){return[fb,e?.loader??[],e?.clipboardOptions??[],e?.markedOptions??[],e?.mermaidOptions??[],{provide:QN,useValue:e?.markedExtensions??[]},{provide:XN,useValue:e?.sanitize??wt.HTML}]}let n7=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[t7(t)]}}static forChild(){return{ngModule:e}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ne({type:e})}static{this.\u0275inj=Ie({imports:[BM]})}}return e})();const i7=[{path:"packages",component:cQ},{path:"**",component:(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["app-home"]],standalone:!1,decls:3,vars:0,consts:[[1,"container-fluid","page-wrapper"],[1,"content"],["src","README.md"]],template:function(i,r){1&i&&(A(0,"div",0)(1,"div",1),Ft(2,"markdown",2),N()())},dependencies:[JN],styles:[".content[_ngcontent-%COMP%]{background:#424242;padding:0 0 0 16px;margin-top:1rem;margin-bottom:1rem;padding-bottom:.5rem;color:#fff}"]})}}return e})()}];let r7=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ne({type:e})}static{this.\u0275inj=Ie({imports:[HA.forRoot(i7),HA]})}}return e})();const o7=["*",[["mat-toolbar-row"]]],s7=["*","mat-toolbar-row"];let a7=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return e})(),l7=(()=>{class e{_elementRef=g(we);_platform=g(sn);_document=g(ae);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=it({type:e,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(1&i&&_n(o,a7,5),2&i){let s;Ot(s=Pt())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){2&i&&(Rl(r.color?"mat-"+r.color:""),It("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",0===r._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:s7,decls:2,vars:0,template:function(i,r){1&i&&(Kn(o7),ot(0),ot(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return e})(),c7=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Zt]})}return e})();const d7=["mat-button",""],u7=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],h7=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],f7=new C("MAT_BUTTON_CONFIG"),p7=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let m7=(()=>{class e{_elementRef=g(we);_platform=g(sn);_ngZone=g(q);_animationMode=g(Gr,{optional:!0});_focusMonitor=g(cy);_rippleLoader=g(Sk);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){g(Dr).load(py);const t=g(f7,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=t?.disabledInteractive??!1,this.color=t?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(const{attribute:o,mdcClasses:s}of p7)i.hasAttribute(o)&&r.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=O({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Te],disabled:[2,"disabled","disabled",Te],ariaDisabled:[2,"aria-disabled","ariaDisabled",Te],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Te]},features:[Wn]})}return e})(),g7=(()=>{class e extends m7{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Le(e)))(r||e)}})();static \u0275cmp=it({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){2&i&&(ze("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Rl(r.color?"mat-"+r.color:""),It("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[oe],attrs:d7,ngContentSelectors:h7,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){1&i&&(Kn(u7),Ft(0,"span",0),ot(1),A(2,"span",1),ot(3,1),N(),ot(4,2),Ft(5,"span",2)(6,"span",3)),2&i&&It("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.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-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.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}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return e})(),v7=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Ck,Zt]})}return e})(),y7=(()=>{class e{constructor(){this.title="webui"}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=it({type:e,selectors:[["app-root"]],standalone:!1,decls:9,vars:0,consts:[[1,"example-spacer"],["color","primary","routerLink","/","mat-raised-button","","aria-label","Client",1,"client-button"],["color","primary","routerLink","/packages","mat-raised-button","","aria-label","Packages"]],template:function(i,r){1&i&&(A(0,"mat-toolbar")(1,"span"),se(2,"Luxtorpeda"),N(),Ft(3,"span",0),A(4,"button",1),se(5," Client "),N(),A(6,"button",2),se(7," Packages "),N()(),Ft(8,"router-outlet"))},dependencies:[Hv,Hh,l7,g7],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}mat-toolbar[_ngcontent-%COMP%]{background:#303030!important;border-bottom:1px solid gray}.client-button[_ngcontent-%COMP%]{margin-right:.625rem}"]})}}return e})();function eF(e){return new b(3e3,!1)}function Ar(e){switch(e.length){case 0:return new kc;case 1:return e[0];default:return new sN(e)}}function tF(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let p=h,m=f;if("offset"!==h)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(h);break;case Zi:m=i.get(h);break;default:m=e.normalizeStyleValue(h,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function U7(){return new b(3502,!1)}();return o}function pb(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&mb(t,"start",e)));break;case"done":e.onDone(()=>i(t&&mb(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&mb(t,"destroy",e)))}}function mb(e,n,t){const o=gb(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function gb(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Cn(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function nF(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const eX=typeof document>"u"?null:document.documentElement;function _b(e){const n=e.parentNode||e.host||null;return n===eX?null:n}let ko=null,iF=!1;function rF(e,n){for(;n;){if(n===e)return!0;n=_b(n)}return!1}function oF(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let vb=(()=>{class e{validateStyleProperty(t){return function nX(e){ko||(ko=function iX(){return typeof document<"u"?document.body:null}()||{},iF=!!ko.style&&"WebkitAppearance"in ko.style);let n=!0;return ko.style&&!function tX(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in ko.style,!n&&iF&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in ko.style)),n}(t)}containsElement(t,i){return rF(t,i)}getParentElement(t){return _b(t)}query(t,i,r){return oF(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new kc(r,o)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class yb{static NOOP=new vb}class bb{}const wb="ng-enter",Nf="ng-leave",Ff="ng-trigger",Of=".ng-trigger",aF="ng-animating",Cb=".ng-animating";function Ki(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Eb(parseFloat(n[1]),n[2])}function Eb(e,n){return"s"===n?1e3*e:e}function Pf(e,n,t){return e.hasOwnProperty("duration")?e:function aX(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(eF()),{duration:0,delay:0,easing:""};r=Eb(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Eb(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function b7(){return new b(3100,!1)}()),a=!0),o<0&&(n.push(function w7(){return new b(3101,!1)}()),a=!0),a&&n.splice(l,0,eF())}return{duration:r,delay:o,easing:s}}(e,n,t)}function Si(e,n,t){n.forEach((i,r)=>{const o=xb(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Ro(e,n){n.forEach((t,i)=>{const r=xb(i);e.style[r]=""})}function Vc(e){return Array.isArray(e)?1==e.length?e[0]:function lY(e,n=null){return{type:G.Sequence,steps:e,options:n}}(e):e}const Db=new RegExp("{{\\s*(.+?)\\s*}}","g");function cF(e){let n=[];if("string"==typeof e){let t;for(;t=Db.exec(e);)n.push(t[1]);Db.lastIndex=0}return n}function Bc(e,n,t){const i=`${e}`,r=i.replace(Db,(o,s)=>{let a=n[s];return null==a&&(t.push(function E7(){return new b(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const dX=/-+([a-z0-9])/g;function xb(e){return e.replace(dX,(...n)=>n[1].toUpperCase())}function En(e,n,t){switch(n.type){case G.Trigger:return e.visitTrigger(n,t);case G.State:return e.visitState(n,t);case G.Transition:return e.visitTransition(n,t);case G.Sequence:return e.visitSequence(n,t);case G.Group:return e.visitGroup(n,t);case G.Animate:return e.visitAnimate(n,t);case G.Keyframes:return e.visitKeyframes(n,t);case G.Style:return e.visitStyle(n,t);case G.Reference:return e.visitReference(n,t);case G.AnimateChild:return e.visitAnimateChild(n,t);case G.AnimateRef:return e.visitAnimateRef(n,t);case G.Query:return e.visitQuery(n,t);case G.Stagger:return e.visitStagger(n,t);default:throw function D7(){return new b(3004,!1)}()}}function Sb(e,n){return window.getComputedStyle(e)[n]}const fX=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 dF extends bb{normalizePropertyName(n,t){return xb(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(fX.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function x7(){return new b(3005,!1)}())}return s+o}}const Vf=new Set(["true","1"]),Bf=new Set(["false","0"]);function uF(e,n){const t=Vf.has(e)||Bf.has(e),i=Vf.has(n)||Bf.has(n);return(r,o)=>{let s="*"==e||e==r,a="*"==n||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?Vf.has(e):Bf.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Vf.has(n):Bf.has(n)),s&&a}}const _X=new RegExp("s*:selfs*,?","g");function Ib(e,n,t,i){return new vX(e).build(n,t,i)}class vX{_driver;constructor(n){this._driver=n}build(n,t,i){const r=new wX(t);return this._resetContextStyleTimingState(r),En(this,Vc(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function S7(){return new b(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==G.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==G.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function I7(){return new b(3007,!1)}())}),{type:G.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{cF(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function M7(){return new b(3008,!1)}(0,o.values()))}return{type:G.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=En(this,Vc(n.animation),t),r=function pX(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function mX(e,n,t){if(":"==e[0]){const l=function gX(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function V7(){return new b(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function L7(){return new b(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(uF(r,s)),"<"==o[0]&&("*"!=r||"*"!=s)&&n.push(uF(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:G.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:No(n.options)}}visitSequence(n,t){return{type:G.Sequence,steps:n.steps.map(i=>En(this,i,t)),options:No(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=En(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:G.Group,steps:o,options:No(n.options)}}visitAnimate(n,t){const i=function EX(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Mb(Pf(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Mb(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Pf(t,n);return Mb(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:On({});if(o.type==G.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=On(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:G.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Zi?i.push(a):t.errors.push(new b(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:G.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function A7(){return new b(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function cX(e,n,t){const i=n.params||{},r=cF(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function C7(){return new b(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:G.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function k7(){return new b(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(y=>{const v=this._makeStyleAst(y,t);let E=null!=v.offset?v.offset:function CX(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(v.styles),I=0;return null!=E&&(o++,I=v.offset=E),l=l||I<0||I>1,a=a||I<c,c=I,s.push(I),v});l&&t.errors.push(function R7(){return new b(3012,!1)}()),a&&t.errors.push(function N7(){return new b(3200,!1)}());const u=n.steps.length;let f=0;o>0&&o<u?t.errors.push(function F7(){return new b(3202,!1)}()):0==o&&(f=1/(u-1));const h=u-1,p=t.currentTime,m=t.currentAnimateTimings,_=m.duration;return d.forEach((y,v)=>{const E=f>0?v==h?1:f*v:s[v],I=E*_;t.currentTime=p+m.delay+I,m.duration=I,this._validateStyleAst(y,t),y.offset=E,i.styles.push(y)}),i}visitReference(n,t){return{type:G.Reference,animation:En(this,Vc(n.animation),t),options:No(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:G.AnimateChild,options:No(n.options)}}visitAnimateRef(n,t){return{type:G.AnimateRef,animation:this.visitReference(n.animation,t),options:No(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function yX(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(_X,"")),e=e.replace(/@\*/g,Of).replace(/@\w+/g,t=>Of+"-"+t.slice(1)).replace(/:animating/g,Cb),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Cn(t.collectedStyles,t.currentQuerySelector,new Map);const a=En(this,Vc(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:G.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:No(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function O7(){return new b(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Pf(n.timings,t.errors,!0);return{type:G.Stagger,animation:En(this,Vc(n.animation),t),timings:i,options:null}}}class wX{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}}function No(e){return e?(e={...e}).params&&(e.params=function bX(e){return e?{...e}:null}(e.params)):e={},e}function Mb(e,n,t){return{duration:e,delay:n,easing:t}}function Tb(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class jf{_map=new Map;get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const SX=new RegExp(":enter","g"),MX=new RegExp(":leave","g");function Ab(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new TX).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class TX{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new jf;const u=new kb(n,t,c,r,o,d,[]);u.options=l;const f=l.delay?Ki(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),En(this,i,u);const h=u.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let m=h.length-1;m>=0;m--){const _=h[m];if(_.element===t){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Tb(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Ki(Bc(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Ki(i.duration):null,a=null!=i.delay?Ki(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),En(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==G.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Hf);const s=Ki(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>En(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Ki(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),En(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Pf(t.params?Bc(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==G.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?Ki(r.delay):0;o&&(t.previousNode.type===G.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Hf);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),En(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;En(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Hf={};class kb{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Hf;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Uf(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Ki(i.duration)),null!=i.delay&&(r.delay=Ki(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Bc(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new kb(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Hf,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new AX(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(SX,"."+this._enterClassName)).replace(MX,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function P7(){return new b(3014,!1)}()),a}}class Uf{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new Uf(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Zi),this._currentKeyframe.set(t,Zi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function kX(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,Zi)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Bc(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Zi),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===Zi&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Tb(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class AX extends Uf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",pF(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",pF((t+h*i)/s)),o.push(f)}i=s,t=0,r="",n=o}return Tb(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function pF(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function mF(e,n,t,i,r,o,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const Rb={};class gF{_triggerName;ast;_stateStyles;constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function RX(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||Rb,p=this.buildStyles(i,a&&a.params||Rb,u),m=l&&l.params||Rb,_=this.buildStyles(r,m,u),y=new Set,v=new Map,E=new Map,I="void"===r,P={params:_F(m,f),delay:this.ast.options?.delay},W=d?[]:Ab(n,t,this.ast.animation,o,s,p,_,P,c,u);let J=0;return W.forEach(ye=>{J=Math.max(ye.duration+ye.delay,J)}),u.length?mF(t,this._triggerName,i,r,I,p,_,[],[],v,E,J,u):(W.forEach(ye=>{const Ii=ye.element,ga=Cn(v,Ii,new Set);ye.preStyleProps.forEach(Fo=>ga.add(Fo));const NF=Cn(E,Ii,new Set);ye.postStyleProps.forEach(Fo=>NF.add(Fo)),Ii!==t&&y.add(Ii)}),mF(t,this._triggerName,i,r,I,p,_,W,[...y.values()],v,E,J))}}function _F(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class NX{styles;defaultParams;normalizer;constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=_F(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Bc(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class OX{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,t.states.forEach(r=>{this.states.set(r.name,new NX(r.style,r.options&&r.options.params||{},i))}),vF(this.states,"true","1"),vF(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new gF(n,r,this.states))}),this.fallbackTransition=function PX(e,n){return new gF(e,{type:G.Transition,animation:{type:G.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function vF(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const LX=new jf;class VX{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i}register(n,t){const i=[],o=Ib(this._driver,t,i,[]);if(i.length)throw function z7(){return new b(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=tF(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=Ab(this._driver,t,o,wb,Nf,new Map,new Map,i,LX,r),s.forEach(d=>{const u=Cn(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function $7(){return new b(3300,!1)}()),s=[]),r.length)throw function G7(){return new b(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,Zi))})});const c=Ar(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function q7(){return new b(3301,!1)}();return t}listen(n,t,i,r){const o=gb(t,"","","");return pb(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const yF="ng-animate-queued",Nb="ng-animate-disabled",zX=[],bF={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$X={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ii="__ng_removed";class Fb{namespaceId;value;options;get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function ZX(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const jc="void",Ob=new Fb(jc);class GX{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+n,Vn(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function W7(){return new b(3302,!1)}();if(null==i||0==i.length)throw function Z7(){return new b(3303,!1)}();if(!function YX(e){return"start"==e||"done"==e}(i))throw function Y7(){return new b(3400,!1)}();const o=Cn(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Cn(this._engine.statesByElement,n,new Map);return a.has(t)||(Vn(n,Ff),Vn(n,Ff+"-"+t),a.set(t,Ob)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function K7(){return new b(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new Pb(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(Vn(n,Ff),Vn(n,Ff+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new Fb(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Ob),c.value!==jc&&l.value===c.value){if(!function XX(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const m=[],_=o.matchStyles(l.value,l.params,m),y=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Ro(n,_),Si(n,y)})}return}const f=Cn(this._engine.playersByElement,n,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(Vn(n,yF),s.onStart(()=>{ma(n,yF)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(n);if(_){let y=_.indexOf(s);y>=0&&_.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,Of,!0);i.forEach(r=>{if(r[ii])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,jc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Ar(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Ob,d=new Fb(jc),u=new Pb(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[ii];(!o||o===bF)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){Vn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=gb(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,pb(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class qX{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,t)=>{};_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new GX(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(zf(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!zf(t))return;const o=t[ii];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Vn(n,Nb)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),ma(n,Nb))}removeNode(n,t,i){if(zf(t)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[ii]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return zf(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Of,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,Cb,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Ar(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[ii];if(t&&t.setForRemoval){if(n[ii]=bF,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(Nb)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Vn(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ar(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Q7(){return new b(3402,!1)}()}_flushAnimations(n,t){const i=new jf,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(k=>{d.add(k);const V=this.driver.query(k,".ng-animate-queued",!0);for(let H=0;H<V.length;H++)d.add(V[H])});const u=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=EF(f,this.collectedEnterElements),p=new Map;let m=0;h.forEach((k,V)=>{const H=wb+m++;p.set(V,H),k.forEach(de=>Vn(de,H))});const _=[],y=new Set,v=new Set;for(let k=0;k<this.collectedLeaveElements.length;k++){const V=this.collectedLeaveElements[k],H=V[ii];H&&H.setForRemoval&&(_.push(V),y.add(V),H.hasAnimation?this.driver.query(V,".ng-star-inserted",!0).forEach(de=>y.add(de)):v.add(V))}const E=new Map,I=EF(f,Array.from(y));I.forEach((k,V)=>{const H=Nf+m++;E.set(V,H),k.forEach(de=>Vn(de,H))}),n.push(()=>{h.forEach((k,V)=>{const H=p.get(V);k.forEach(de=>ma(de,H))}),I.forEach((k,V)=>{const H=E.get(V);k.forEach(de=>ma(de,H))}),_.forEach(k=>{this.processLeaveNode(k)})});const P=[],W=[];for(let k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(t).forEach(H=>{const de=H.player,Ct=H.element;if(P.push(de),this.collectedEnterElements.length){const Bt=Ct[ii];if(Bt&&Bt.setForMove){if(Bt.previousTriggersValues&&Bt.previousTriggersValues.has(H.triggerName)){const Oo=Bt.previousTriggersValues.get(H.triggerName),Bn=this.statesByElement.get(H.element);if(Bn&&Bn.has(H.triggerName)){const Gf=Bn.get(H.triggerName);Gf.value=Oo,Bn.set(H.triggerName,Gf)}}return void de.destroy()}}const Mi=!u||!this.driver.containsElement(u,Ct),Dn=E.get(Ct),kr=p.get(Ct),$e=this._buildInstruction(H,i,kr,Dn,Mi);if($e.errors&&$e.errors.length)return void W.push($e);if(Mi)return de.onStart(()=>Ro(Ct,$e.fromStyles)),de.onDestroy(()=>Si(Ct,$e.toStyles)),void r.push(de);if(H.isFallbackTransition)return de.onStart(()=>Ro(Ct,$e.fromStyles)),de.onDestroy(()=>Si(Ct,$e.toStyles)),void r.push(de);const PF=[];$e.timelines.forEach(Bt=>{Bt.stretchStartingKeyframe=!0,this.disabledNodes.has(Bt.element)||PF.push(Bt)}),$e.timelines=PF,i.append(Ct,$e.timelines),s.push({instruction:$e,player:de,element:Ct}),$e.queriedElements.forEach(Bt=>Cn(a,Bt,[]).push(de)),$e.preStyleProps.forEach((Bt,Oo)=>{if(Bt.size){let Bn=l.get(Oo);Bn||l.set(Oo,Bn=new Set),Bt.forEach((Gf,jb)=>Bn.add(jb))}}),$e.postStyleProps.forEach((Bt,Oo)=>{let Bn=c.get(Oo);Bn||c.set(Oo,Bn=new Set),Bt.forEach((Gf,jb)=>Bn.add(jb))})});if(W.length){const k=[];W.forEach(V=>{k.push(function X7(){return new b(3505,!1)}())}),P.forEach(V=>V.destroy()),this.reportError(k)}const J=new Map,ye=new Map;s.forEach(k=>{const V=k.element;i.has(V)&&(ye.set(V,V),this._beforeAnimationBuild(k.player.namespaceId,k.instruction,J))}),r.forEach(k=>{const V=k.element;this._getPreviousPlayers(V,!1,k.namespaceId,k.triggerName,null).forEach(de=>{Cn(J,V,[]).push(de),de.destroy()})});const Ii=_.filter(k=>xF(k,l,c)),ga=new Map;CF(ga,this.driver,v,c,Zi).forEach(k=>{xF(k,l,c)&&Ii.push(k)});const Fo=new Map;h.forEach((k,V)=>{CF(Fo,this.driver,new Set(k),l,"!")}),Ii.forEach(k=>{const V=ga.get(k),H=Fo.get(k);ga.set(k,new Map([...V?.entries()??[],...H?.entries()??[]]))});const Bb=[],FF=[],OF={};s.forEach(k=>{const{element:V,player:H,instruction:de}=k;if(i.has(V)){if(d.has(V))return H.onDestroy(()=>Si(V,de.toStyles)),H.disabled=!0,H.overrideTotalTime(de.totalTime),void r.push(H);let Ct=OF;if(ye.size>1){let Dn=V;const kr=[];for(;Dn=Dn.parentNode;){const $e=ye.get(Dn);if($e){Ct=$e;break}kr.push(Dn)}kr.forEach($e=>ye.set($e,Ct))}const Mi=this._buildAnimation(H.namespaceId,de,J,o,Fo,ga);if(H.setRealPlayer(Mi),Ct===OF)Bb.push(H);else{const Dn=this.playersByElement.get(Ct);Dn&&Dn.length&&(H.parentPlayer=Ar(Dn)),r.push(H)}}else Ro(V,de.fromStyles),H.onDestroy(()=>Si(V,de.toStyles)),FF.push(H),d.has(V)&&r.push(H)}),FF.forEach(k=>{const V=o.get(k.element);if(V&&V.length){const H=Ar(V);k.setRealPlayer(H)}}),r.forEach(k=>{k.parentPlayer?k.syncPlayerEvents(k.parentPlayer):k.destroy()});for(let k=0;k<_.length;k++){const V=_[k],H=V[ii];if(ma(V,Nf),H&&H.hasAnimation)continue;let de=[];if(a.size){let Mi=a.get(V);Mi&&Mi.length&&de.push(...Mi);let Dn=this.driver.query(V,Cb,!0);for(let kr=0;kr<Dn.length;kr++){let $e=a.get(Dn[kr]);$e&&$e.length&&de.push(...$e)}}const Ct=de.filter(Mi=>!Mi.destroyed);Ct.length?KX(this,V,Ct):this.processLeaveNode(V)}return _.length=0,Bb.forEach(k=>{this.players.push(k),k.onDone(()=>{k.destroy();const V=this.players.indexOf(k);this.players.splice(V,1)}),k.play()}),Bb}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==jc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=Cn(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),u.push(h)})}Ro(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(p=>{const m=p.element;d.add(m);const _=m[ii];if(_&&_.removedBeforeQueried)return new kc(p.duration,p.delay);const y=m!==l,v=function QX(e){const n=[];return DF(e,n),n}((i.get(m)||zX).map(J=>J.getRealPlayer())).filter(J=>!!J.element&&J.element===m),E=o.get(m),I=s.get(m),P=tF(this._normalizer,p.keyframes,E,I),W=this._buildPlayer(p,P,v);if(p.subTimeline&&r&&u.add(m),y){const J=new Pb(n,a,m);J.setRealPlayer(W),c.push(J)}return W});c.forEach(p=>{Cn(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function WX(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Vn(p,aF));const h=Ar(f);return h.onDestroy(()=>{d.forEach(p=>ma(p,aF)),Si(l,t.toStyles)}),u.forEach(p=>{Cn(r,p,[]).push(h)}),h}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new kc(n.duration,n.delay)}}class Pb{namespaceId;triggerName;element;_player=new kc;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>pb(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Cn(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function zf(e){return e&&1===e.nodeType}function wF(e,n){const t=e.style.display;return e.style.display=n??"none",t}function CF(e,n,t,i,r){const o=[];t.forEach(l=>o.push(wF(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[ii]=$X,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>wF(l,o[a++])),s}function EF(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function Vn(e,n){e.classList?.add(n)}function ma(e,n){e.classList?.remove(n)}function KX(e,n,t){Ar(t).onDone(()=>e.processLeaveNode(n))}function DF(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof sN?DF(i.players,n):n.push(i)}}function xF(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(o=>r.add(o)):n.set(e,i),t.delete(e),!0}class Hc{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new qX(n.body,t,i),this._timelineEngine=new VX(n.body,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=Ib(this._driver,o,l,[]);if(l.length)throw function H7(){return new b(3404,!1)}();a=function FX(e,n,t){return new OX(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=nF(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=nF(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let eJ=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Si(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Si(this._element,this._initialStyles),this._endStyles&&(Si(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ro(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ro(this._element,this._endStyles),this._endStyles=null),Si(this._element,this._initialStyles),this._state=3)}}return e})();function Lb(e){let n=null;return e.forEach((t,i)=>{(function tJ(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class SF{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:Sb(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class IF{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return rF(n,t)}getParentElement(n){return _b(n)}query(n,t,i){return oF(n,t,i)}computeStyle(n,t,i){return Sb(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof SF);(function uX(e,n){return 0===e||0===n})(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function lX(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function hX(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Sb(e,a)))}}return n}(n,u,c);const f=function JX(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=Lb(n[0]),n.length>1&&(i=Lb(n[n.length-1]))):n instanceof Map&&(t=Lb(n)),t||i?new eJ(e,t,i):null}(n,u);return new SF(n,u,l,f)}}const MF="@.disabled";class TF{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==MF?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class nJ extends TF{factory;constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==MF?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function iJ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function rJ(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class oJ{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new TF("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new nJ(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}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()}}const AF=[{provide:bb,useFactory:function aJ(){return new dF}},{provide:Hc,useClass:(()=>{class e extends Hc{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||e)(M(ae),M(yb),M(bb))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})()},{provide:pu,useFactory:function lJ(e,n,t){return new oJ(e,n,t)},deps:[mv,Hc,q]}],Vb=[{provide:yb,useFactory:()=>new IF},{provide:Gr,useValue:"BrowserAnimations"},...AF],kF=[{provide:yb,useClass:vb},{provide:Gr,useValue:"NoopAnimations"},...AF];let cJ=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?kF:Vb}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({providers:Vb,imports:[fT]})}return e})(),dJ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({})}return e})(),uJ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,dJ,bN]})}return e})(),fJ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ne({type:e});static \u0275inj=Ie({imports:[Zt,Nc,Nc,Zt]})}return e})(),pJ=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ne({type:e,bootstrap:[y7]})}static{this.\u0275inj=Ie({providers:[B9(wo(Ir.LegacyInterceptors,[{provide:$k,useFactory:M9},{provide:Cc,useExisting:$k,multi:!0}]))],imports:[fT,r7,cJ,uJ,sZ,jY,fJ,jK,n7.forRoot({loader:wc}),c7,v7]})}}return e})();IG().bootstrapModule(pJ).catch(e=>console.error(e))}},_a=>{_a(_a.s=344)}]); \ No newline at end of file