From 1aab07853ad718fdddd2b5dd48a4d1a9fe931392 Mon Sep 17 00:00:00 2001 From: d10sfan Date: Mon, 12 Feb 2024 15:29:30 +0000 Subject: [PATCH] deploy: luxtorpeda-dev/packages@a4d5ea8dbf61395e038f18223199c6d075bf7adc --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 81859d73..f5ff4e80 100644 --- a/main.js +++ b/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebui=self.webpackChunkwebui||[]).push([[179],{407:()=>{function Ds(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)}let $e=null,xl=1;const zr=Symbol("SIGNAL");function Le(e){const n=$e;return $e=e,n}function z_(e){if((!Es(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==xl)){if(!e.producerMustRecompute(e)&&!Hu(e))return e.dirty=!1,void(e.lastCleanEpoch=xl);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=xl}}function Hu(e){Gr(e);for(let n=0;n0}function Gr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let J_=null;function se(e){return"function"==typeof e}function $u(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 zu=$u(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 Il(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Ke{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(se(i))try{i()}catch(o){n=o instanceof zu?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{rv(o)}catch(s){n=n??[],s instanceof zu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new zu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)rv(n);else{if(n instanceof Ke){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)&&Il(t,n)}remove(n){const{_finalizers:t}=this;t&&Il(t,n),n instanceof Ke&&n._removeParent(this)}}Ke.EMPTY=(()=>{const e=new Ke;return e.closed=!0,e})();const nv=Ke.EMPTY;function iv(e){return e instanceof Ke||e&&"closed"in e&&se(e.remove)&&se(e.add)&&se(e.unsubscribe)}function rv(e){se(e)?e():e.unsubscribe()}const er={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sl={setTimeout(e,n,...t){const{delegate:i}=Sl;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Sl;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ov(e){Sl.setTimeout(()=>{const{onUnhandledError:n}=er;if(!n)throw e;n(e)})}function Gu(){}const gA=qu("C",void 0,void 0);function qu(e,n,t){return{kind:e,value:n,error:t}}let tr=null;function Ml(e){if(er.useDeprecatedSynchronousErrorHandling){const n=!tr;if(n&&(tr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=tr;if(tr=null,t)throw i}}else e()}class Wu extends Ke{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,iv(n)&&n.add(this)):this.destination=DA}static create(n,t,i){return new Is(n,t,i)}next(n){this.isStopped?Zu(function vA(e){return qu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Zu(function _A(e){return qu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Zu(gA,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 bA=Function.prototype.bind;function Yu(e,n){return bA.call(e,n)}class wA{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Tl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Tl(i)}else Tl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Tl(t)}}}class Is extends Wu{constructor(n,t,i){let r;if(super(),se(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&er.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Yu(n.next,o),error:n.error&&Yu(n.error,o),complete:n.complete&&Yu(n.complete,o)}):r=n}this.destination=new wA(r)}}function Tl(e){er.useDeprecatedSynchronousErrorHandling?function yA(e){er.useDeprecatedSynchronousErrorHandling&&tr&&(tr.errorThrown=!0,tr.error=e)}(e):ov(e)}function Zu(e,n){const{onStoppedNotification:t}=er;t&&Sl.setTimeout(()=>t(e,n))}const DA={closed:!0,next:Gu,error:function CA(e){throw e},complete:Gu},Ku="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ii(e){return e}function sv(e){return 0===e.length?Ii: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 IA(e){return e&&e instanceof Wu||function EA(e){return e&&se(e.next)&&se(e.error)&&se(e.complete)}(e)&&iv(e)}(t)?t:new Is(t,i,r);return Ml(()=>{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=av(i))((r,o)=>{const s=new Is({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)}[Ku](){return this}pipe(...t){return sv(t)(this)}toPromise(t){return new(t=av(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function av(e){var n;return null!==(n=e??er.Promise)&&void 0!==n?n:Promise}const SA=$u(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ce=(()=>{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 lv(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new SA}next(t){Ml(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Ml(()=>{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(){Ml(()=>{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?nv:(this.currentObservers=null,o.push(t),new Ke(()=>{this.currentObservers=null,Il(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 lv(n,t),e})();class lv extends ce{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:nv}}class Ut extends ce{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 cv(e){return se(e?.lift)}function ze(e){return n=>{if(cv(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 Re(e,n,t,i,r){return new MA(e,n,t,i,r)}class MA extends Wu{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 Z(e,n){return ze((t,i)=>{let r=0;t.subscribe(Re(i,o=>{i.next(e.call(n,o,r++))}))})}const dv="https://g.co/ng/security#xss";class y extends Error{constructor(n,t){super(function qr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ge(e){for(let n in e)if(e[n]===ge)return n;throw Error("Could not find renamed property on target object.")}function AA(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function nt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(nt).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 Qu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const RA=ge({__forward_ref__:ge});function we(e){return e.__forward_ref__=we,e.toString=function(){return nt(this())},e}function B(e){return Al(e)?e():e}function Al(e){return"function"==typeof e&&e.hasOwnProperty(RA)&&e.__forward_ref__===we}function Xu(e){return e&&!!e.\u0275providers}const Ss=ge({\u0275cmp:ge}),Ju=ge({\u0275dir:ge}),eh=ge({\u0275pipe:ge}),fv=ge({\u0275mod:ge}),si=ge({\u0275fac:ge}),Ms=ge({__NG_ELEMENT_ID__:ge}),pv=ge({__NG_ENV_ID__:ge});function z(e){return"string"==typeof e?e:null==e?"":String(e)}function th(e,n){throw new y(-201,!1)}function Ft(e,n){null==e&&function j(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(n,e,null,"!=")}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Se(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rl(e){return mv(e,Ol)||mv(e,gv)}function mv(e,n){return e.hasOwnProperty(n)?e[n]:null}function kl(e){return e&&(e.hasOwnProperty(nh)||e.hasOwnProperty(jA))?e[nh]:null}const Ol=ge({\u0275prov:ge}),nh=ge({\u0275inj:ge}),gv=ge({ngInjectableDef:ge}),jA=ge({ngInjectorDef:ge});var J=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}(J||{});let ih;function _v(){return ih}function Pt(e){const n=ih;return ih=e,n}function vv(e,n,t){const i=Rl(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&J.Optional?null:void 0!==n?n:void th()}const me=globalThis;class D{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=I({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ts={},lh="__NG_DI_FLAG__",Nl="ngTempTokenPath",$A=/\n/gm,bv="__source";let Wr;function Mi(e){const n=Wr;return Wr=e,n}function qA(e,n=J.Default){if(void 0===Wr)throw new y(-203,!1);return null===Wr?vv(e,void 0,n):Wr.get(e,n&J.Optional?null:void 0,n)}function C(e,n=J.Default){return(_v()||qA)(B(e),n)}function x(e,n=J.Default){return C(e,Fl(n))}function Fl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ch(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==Cv(f,c,0)||2&i&&c!==h){if(bn(i))return!1;s=!0}}}}else{if(!s&&!bn(i)&&!bn(l))return!1;if(s&&bn(l))continue;s=!1,i=l|1&i}}return bn(i)||s}function bn(e){return 0==(1&e)}function JA(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!bn(s)&&(n+=Tv(o,r),r=""),i=s,o=o||!bn(i);t++}return""!==r&&(n+=Tv(o,r)),n}function nn(e){return ai(()=>{const n=Rv(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""};kv(t);const i=e.dependencies;return t.directiveDefs=Ll(i,!1),t.pipeDefs=Ll(i,!0),t.id=function dR(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,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].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function aR(e){return Q(e)||it(e)}function lR(e){return null!==e}function ke(e){return ai(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Av(e,n){if(null==e)return Fn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=T.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==T.None?[i,a]:i,n[o]=s):t[o]=i}return t}function k(e){return ai(()=>{const n=Rv(e);return kv(n),n})}function Lt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[Ss]||null}function it(e){return e[Ju]||null}function dt(e){return e[eh]||null}function pt(e,n){const t=e[fv]||null;if(!t&&!0===n)throw new Error(`Type ${nt(e)} does not have '\u0275mod' property.`);return t}function Rv(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||Fn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Av(e.inputs,n),outputs:Av(e.outputs),debugInfo:null}}function kv(e){e.features?.forEach(n=>n(e))}function Ll(e,n){if(!e)return null;const t=n?dt:aR;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(lR)}const Me=0,E=1,F=2,Ge=3,wn=4,mt=5,Cn=6,Yr=7,De=8,xt=9,li=10,W=11,ks=12,Ov=13,Zr=14,Oe=15,Os=16,Kr=17,Pn=18,Ns=19,Nv=20,Ai=21,Vl=22,nr=23,G=25,uh=1,Ln=7,Qr=9,qe=10;var hh=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(hh||{});function gt(e){return Array.isArray(e)&&"object"==typeof e[uh]}function _t(e){return Array.isArray(e)&&!0===e[uh]}function fh(e){return 0!=(4&e.flags)}function ir(e){return e.componentOffset>-1}function jl(e){return 1==(1&e.flags)}function Dn(e){return!!e.template}function ph(e){return 0!=(512&e[F])}function rr(e,n){return e.hasOwnProperty(si)?e[si]:null}class pR{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Vv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function zt(){return Bv}function Bv(e){return e.type.prototype.ngOnChanges&&(e.setInput=gR),mR}function mR(){const e=Hv(this),n=e?.current;if(n){const t=e.previous;if(t===Fn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function gR(e,n,t,i,r){const o=this.declaredInputs[i],s=Hv(e)||function _R(e,n){return e[jv]=n}(e,{previous:Fn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new pR(c&&c.currentValue,t,l===Fn),Vv(e,n,r,t)}zt.ngInherit=!0;const jv="__ngSimpleChanges__";function Hv(e){return e[jv]||null}const Vn=function(e,n,t){},Uv="svg";let zv=!1;function ve(e){for(;Array.isArray(e);)e=e[Me];return e}function Ps(e,n){return ve(n[e])}function Et(e,n){return ve(n[e.index])}function Ls(e,n){return e.data[n]}function Gt(e,n){const t=n[e];return gt(t)?t:t[Me]}function yh(e){return 128==(128&e[F])}function Bn(e,n){return null==n?null:e[n]}function Gv(e){e[Kr]=0}function DR(e){1024&e[F]||(e[F]|=1024,yh(e)&&Vs(e))}function Wv(e){return 9216&e[F]||e[nr]?.dirty}function bh(e){Wv(e)?Vs(e):64&e[F]&&(function yR(){return zv}()?(e[F]|=1024,Vs(e)):e[li].changeDetectionScheduler?.notify())}function Vs(e){e[li].changeDetectionScheduler?.notify();let n=or(e);for(;null!==n&&!(8192&n[F])&&(n[F]|=8192,yh(n));)n=or(n)}function Hl(e,n){if(256==(256&e[F]))throw new y(911,!1);null===e[Ai]&&(e[Ai]=[]),e[Ai].push(n)}function or(e){const n=e[Ge];return _t(n)?n[Ge]:n}const U={lFrame:oy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zv(){return U.bindingsEnabled}function Jr(){return null!==U.skipHydrationRootTNode}function w(){return U.lFrame.lView}function te(){return U.lFrame.tView}function ye(){let e=Xv();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xv(){return U.lFrame.currentTNode}function jn(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function Ch(){return U.lFrame.isParent}function Dh(){U.lFrame.isParent=!1}function Hn(){return U.lFrame.bindingIndex++}function di(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function NR(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,xh(n)}function xh(e){U.lFrame.currentDirectiveIndex=e}function ny(){return U.lFrame.currentQueryIndex}function Ih(e){U.lFrame.currentQueryIndex=e}function PR(e){const n=e[E];return 2===n.type?n.declTNode:1===n.type?e[mt]:null}function iy(e,n,t){if(t&J.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&J.Host||(r=PR(o),null===r||(o=o[Zr],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=ry();return i.currentTNode=n,i.lView=e,!0}function Sh(e){const n=ry(),t=e[E];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function ry(){const e=U.lFrame,n=null===e?null:e.child;return null===n?oy(e):n}function oy(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 sy(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ay=sy;function Mh(){const e=sy();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 vt(){return U.lFrame.selectedIndex}function sr(e){U.lFrame.selectedIndex=e}function Ie(){const e=U.lFrame;return Ls(e.tView,e.selectedIndex)}let dy=!0;function Ul(){return dy}function Ri(e){dy=e}function $l(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Kr]+=65536),(a>14>16&&(3&e[F])===n&&(e[F]+=16384,hy(a,o)):hy(a,o)}const eo=-1;class js{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Rh(e){return e!==eo}function Hs(e){return 32767&e}function Us(e,n){let t=function WR(e){return e>>16}(e),i=n;for(;t>0;)i=i[Zr],t--;return i}let kh=!0;function ql(e){const n=kh;return kh=e,n}const fy=255,py=5;let YR=0;const Un={};function Wl(e,n){const t=my(e,n);if(-1!==t)return t;const i=n[E];i.firstCreatePass&&(e.injectorIndex=n.length,Oh(i.data,e),Oh(n,null),Oh(i.blueprint,null));const r=Yl(e,n),o=e.injectorIndex;if(Rh(r)){const s=Hs(r),a=Us(r,n),l=a[E].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Oh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function my(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Yl(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=Cy(r),null===i)return eo;if(t++,r=r[Zr],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return eo}function Nh(e,n,t){!function ZR(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Ms)&&(i=t[Ms]),null==i&&(i=t[Ms]=YR++);const r=i&fy;n.data[e+(r>>py)]|=1<=0?n&fy:JR:n}(t);if("function"==typeof o){if(!iy(n,e,i))return i&J.Host?gy(r,0,i):_y(n,t,i,r);try{let s;if(s=o(i),null!=s||i&J.Optional)return s;th()}finally{ay()}}else if("number"==typeof o){let s=null,a=my(e,n),l=eo,c=i&J.Host?n[Oe][mt]:null;for((-1===a||i&J.SkipSelf)&&(l=-1===a?Yl(e,n):n[a+8],l!==eo&&wy(i,!1)?(s=n[E],a=Hs(l),n=Us(l,n)):a=-1);-1!==a;){const d=n[E];if(by(o,a,d.data)){const u=QR(a,n,t,s,i,c);if(u!==Un)return u}l=n[a+8],l!==eo&&wy(i,n[E].data[a+8]===c)&&by(o,a,n)?(s=d,a=Hs(l),n=Us(l,n)):a=-1}}return r}function QR(e,n,t,i,r,o){const s=n[E],a=s.data[e+8],d=Zl(a,s,t,null==i?ir(a)&&kh:i!=s&&0!=(3&a.type),r&J.Host&&o===a);return null!==d?ar(n,s,d,a):Un}function Zl(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=r?a+d:e.directiveEnd;for(let f=i?a:a+d;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&Dn(f)&&f.type===t)return l}return null}function ar(e,n,t,i){let r=e[t];const o=n.data;if(function $R(e){return e instanceof js}(r)){const s=r;s.resolving&&function OA(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new y(-200,`Circular dependency in DI detected for ${e}${t}`)}(function de(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=ql(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Pt(s.injectImpl):null;iy(e,i,J.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function HR(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=Bv(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&&Pt(c),ql(a),s.resolving=!1,ay()}}return r}function by(e,n,t){return!!(t[n+(e>>py)]&1<{const n=e.prototype.constructor,t=n[si]||Fh(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[si]||Fh(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Fh(e){return Al(e)?()=>{const n=Fh(B(e));return n&&n()}:rr(e)}function Cy(e){const n=e[E],t=n.type;return 2===t?n.declTNode:1===t?e[mt]:null}function lr(e){return function KR(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{const i=function Ph(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(ro)?l[ro]:Object.defineProperty(l,ro,{value:[]})[ro];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})}function lo(e,n){e.forEach(t=>Array.isArray(t)?lo(t,n):n(t))}function xy(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Kl(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function qt(e,n,t){let i=co(e,n);return i>=0?e[1|i]=t:(i=~i,function Ey(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 Vh(e,n){const t=co(e,n);if(t>=0)return e[1|t]}function co(e,n){return function Iy(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<{t.push(s)};return lo(n,s=>{const a=s;tc(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ky(r,o),t}function ky(e,n){for(let t=0;t{n(o,i)})}}function tc(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=kl(e);const s=!o&&Q(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=kl(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)tc(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{lo(o.imports,d=>{tc(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&ky(c,n)}if(!a){const c=rr(r)||(()=>new r);n({provide:r,useFactory:c,deps:ae},r),n({provide:Hh,useValue:r,multi:!0},r),n({provide:dr,useValue:()=>C(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;$h(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function $h(e,n){for(let t of e)Xu(t)&&(t=t.\u0275providers),Array.isArray(t)?$h(t,n):n(t)}const Dk=ge({provide:String,useValue:ge});function zh(e){return null!==e&&"object"==typeof e&&Dk in e}function ur(e){return"function"==typeof e}const Gh=new D(""),nc={},Ek={};let qh;function ic(){return void 0===qh&&(qh=new ec),qh}class rn{}class ho extends rn{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yh(n,s=>this.processProvider(s)),this.records.set(Ay,fo(void 0,this)),r.has("environment")&&this.records.set(rn,fo(void 0,this));const o=this.records.get(Gh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Hh,ae,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Mi(this),i=Pt(void 0);try{return n()}finally{Mi(t),Pt(i)}}get(n,t=Ts,i=J.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(pv))return n[pv](this);i=Fl(i);const o=Mi(this),s=Pt(void 0);try{if(!(i&J.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function Ak(e){return"function"==typeof e||"object"==typeof e&&e instanceof D}(n)&&Rl(n);l=c&&this.injectableDefInScope(c)?fo(Wh(n),nc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&J.Self?ic():this.parent).get(n,t=i&J.Optional&&t===Ts?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Nl]=a[Nl]||[]).unshift(nt(n)),o)throw a;return function YA(e,n,t,i){const r=e[Nl];throw n[bv]&&r.unshift(n[bv]),e.message=function ZA(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=nt(n);if(Array.isArray(n))r=n.map(nt).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):nt(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace($A,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Nl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Pt(s),Mi(o)}}resolveInjectorInitializers(){const n=Mi(this),t=Pt(void 0);try{const r=this.get(dr,ae,J.Self);for(const o of r)o()}finally{Mi(n),Pt(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(nt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(n){let t=ur(n=B(n))?n:B(n&&n.provide);const i=function Sk(e){return zh(e)?fo(void 0,e.useValue):fo(Fy(e),nc)}(n);if(!ur(n)&&!0===n.multi){let r=this.records.get(t);r||(r=fo(void 0,nc,!0),r.factory=()=>ch(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===nc&&(t.value=Ek,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Tk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(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 Wh(e){const n=Rl(e),t=null!==n?n.factory:rr(e);if(null!==t)return t;if(e instanceof D)throw new y(204,!1);if(e instanceof Function)return function Ik(e){if(e.length>0)throw new y(204,!1);const t=function BA(e){return e&&(e[Ol]||e[gv])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new y(204,!1)}function Fy(e,n,t){let i;if(ur(e)){const r=B(e);return rr(r)||Wh(r)}if(zh(e))i=()=>B(e.useValue);else if(function Ny(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ch(e.deps||[]));else if(function Oy(e){return!(!e||!e.useExisting)}(e))i=()=>C(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function Mk(e){return!!e.deps}(e))return rr(r)||Wh(r);i=()=>new r(...ch(e.deps))}return i}function fo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yh(e,n){for(const t of e)Array.isArray(t)?Yh(t,n):t&&Xu(t)?Yh(t.\u0275providers,n):n(t)}function hr(e,n){e instanceof ho&&e.assertNotDestroyed();const i=Mi(e),r=Pt(void 0);try{return n()}finally{Mi(i),Pt(r)}}function By(e,n=null,t=null,i){const r=jy(e,n,t,i);return r.resolveInjectorInitializers(),r}function jy(e,n=null,t=null,i,r=new Set){const o=[t||ae,Ck(e)];return i=i||("object"==typeof e?void 0:nt(e)),new ho(o,n||ic(),i||null,r)}let Qh,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ts;static#t=this.NULL=new ec;static create(t,i){if(Array.isArray(t))return By({name:""},i,t,"");{const r=t.name??"";return By({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=I({token:e,providedIn:"any",factory:()=>C(Ay)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();const Ws=new D("",{providedIn:"root",factory:()=>Bk}),Bk="ng",Uy=new D(""),Ni=new D("",{providedIn:"platform",factory:()=>"unknown"}),Fi=new D(""),Xh=new D("",{providedIn:"root",factory:()=>function Oi(){if(void 0!==Qh)return Qh;if(typeof document<"u")return document;throw new y(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Wt(e){return e instanceof Function?e():e}function lc(e){return 128==(128&e.flags)}var Vi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Vi||{});const Zk=/^>|^->||--!>|)/g,Qk="\u200b$1\u200b";const rf=new Map;let Xk=0;const af="__ngContext__";function bt(e,n){gt(n)?(e[af]=n[Ns],function eO(e){rf.set(e[Ns],e)}(n)):e[af]=n}let lf;function cf(e,n){return lf(e,n)}function mo(e,n,t,i,r){if(null!=i){let o,s=!1;_t(i)?o=i:gt(i)&&(s=!0,i=i[Me]);const a=ve(i);0===e&&null!==t?null==r?db(n,t,a):fr(n,t,a,r||null,!0):1===e&&null!==t?fr(n,t,a,r||null,!0):2===e?function mc(e,n,t){const i=fc(e,n);i&&function gO(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function yO(e,n,t,i,r){const o=t[Ln];o!==ve(t)&&mo(n,e,i,o,r);for(let a=qe;an.replace(Kk,Qk))}(n))}function uc(e,n,t){return e.createElement(n,t)}function ab(e,n){gc(e,n,n[W],2,null,null)}function lb(e,n){const t=e[Qr],i=t.indexOf(n);t.splice(i,1)}function Qs(e,n){if(e.length<=qe)return;const t=qe+n,i=e[t];if(i){const r=i[Os];null!==r&&r!==e&&lb(r,i),n>0&&(e[t-1][wn]=i[wn]);const o=Kl(e,qe+n);!function cO(e,n){ab(e,n),n[Me]=null,n[mt]=null}(i[E],i);const s=o[Pn];null!==s&&s.detachView(o[E]),i[Ge]=null,i[wn]=null,i[F]&=-129}return i}function hc(e,n){if(!(256&n[F])){const t=n[W];t.destroyNode&&gc(e,n,t,3,null,null),function uO(e){let n=e[ks];if(!n)return uf(e[E],e);for(;n;){let t=null;if(gt(n))t=n[ks];else{const i=n[qe];i&&(t=i)}if(!t){for(;n&&!n[wn]&&n!==e;)gt(n)&&uf(n[E],n),n=n[Ge];null===n&&(n=e),gt(n)&&uf(n[E],n),t=n&&n[wn]}n=t}}(n)}}function uf(e,n){if(!(256&n[F])){n[F]&=-129,n[F]|=256,n[nr]&&function K_(e){if(Gr(e),Es(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[Yr]=null);const r=n[Ai];if(null!==r){n[Ai]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===yn.None||o===yn.Emulated)return null}return Et(i,t)}}(e,n.parent,t)}function fr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function db(e,n,t){e.appendChild(n,t)}function ub(e,n,t,i,r){null!==i?fr(e,n,t,i,r):db(e,n,t)}function fc(e,n){return e.parentNode(n)}function hb(e,n,t){return pb(e,n,t)}let ff,_c,pb=function fb(e,n,t){return 40&e.type?Et(e,t):null};function pc(e,n,t,i){const r=hf(e,i,n),o=n[W],a=hb(i.parent||n[mt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return _c}()?.createHTML(e)||e}class pr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dv})`}}class EO extends pr{getTypeName(){return"HTML"}}class IO extends pr{getTypeName(){return"Style"}}class SO extends pr{getTypeName(){return"Script"}}class MO extends pr{getTypeName(){return"URL"}}class TO extends pr{getTypeName(){return"ResourceURL"}}function Yt(e){return e instanceof pr?e.changingThisBreaksApplicationSecurity:e}function $n(e,n){const t=function AO(e){return e instanceof pr&&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 ${dv})`)}return t===n}class PO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(go(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class LO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=go(n),t}}const BO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc(e){return(e=String(e)).match(BO)?e:"unsafe:"+e}function ui(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Js(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Eb=ui("area,br,col,hr,img,wbr"),Ib=ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sb=ui("rp,rt"),vf=Js(Eb,Js(Ib,ui("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")),Js(Sb,ui("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")),Js(Sb,Ib)),yf=ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mb=Js(yf,ui("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"),ui("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")),jO=ui("script,style,template");class HO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;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)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!vf.hasOwnProperty(t))return this.sanitizedSomething=!0,!jO.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=n.nodeName.toLowerCase();vf.hasOwnProperty(t)&&!Eb.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Tb(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const UO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$O=/([^\#-~ |!])/g;function Tb(e){return e.replace(/&/g,"&").replace(UO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace($O,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let bc;function Ab(e,n){let t=null;try{bc=bc||function xb(e){const n=new LO(e);return function VO(){try{return!!(new window.DOMParser).parseFromString(go(""),"text/html")}catch{return!1}}()?new PO(n):n}(e);let i=n?String(n):"";t=bc.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=bc.getInertBodyElement(i)}while(i!==o);return go((new HO).sanitizeChildren(bf(t)||t))}finally{if(t){const i=bf(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function bf(e){return"content"in e&&function zO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ut=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}(ut||{});function _o(e){const n=function ea(){const e=w();return e&&e[li].sanitizer}();return n?n.sanitize(ut.URL,e)||"":$n(e,"URL")?Yt(e):yc(z(e))}class wf{}let Ob=()=>null;function Tf(e,n,t=!1){return Ob(e,n,t)}class oN{}class Vb{}class aN{resolveComponentFactory(n){throw function sN(e){const n=Error(`No component factory found for ${nt(e)}.`);return n.ngComponent=e,n}(n)}}let ra=(()=>{class e{static#e=this.NULL=new aN}return e})();function lN(){return wo(ye(),w())}function wo(e,n){return new _e(Et(e,n))}let _e=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=lN}return e})();function cN(e){return e instanceof _e?e.nativeElement:e}class Of{}let hi=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function dN(){const e=w(),t=Gt(ye().index,e);return(gt(t)?t:e)[W]}()}return e})(),uN=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();const Nf={};function Ic(e){return!!Ff(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ff(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Hb{constructor(){}supports(n){return Ic(n)}create(n){return new _N(n)}}const gN=(e,n)=>n;class _N{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||gN}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<$b(i,r,o)?t:i,a=$b(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 h=0;h{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 vN(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 Ub),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 Ub),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 vN{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class yN{constructor(){this._head=null,this._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 Ub{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new yN,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 $b(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{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 wN(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 wN{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Gb(){return new Pf([new Hb])}let Pf=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:Gb});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||Gb()),deps:[[e,new zs,new cr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new y(901,!1)}}return e})();function qb(){return new Sc([new zb])}let Sc=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:qb});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||qb()),deps:[[e,new zs,new cr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new y(901,!1)}}return e})();function oa(e,n,t,i,r=!1){for(;null!==t;){const o=n[t.index];null!==o&&i.push(ve(o)),_t(o)&&Wb(o,i);const s=t.type;if(8&s)oa(e,n,t.child,i);else if(32&s){const a=cf(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=gb(n,t);if(Array.isArray(a))i.push(...a);else{const l=or(n[Oe]);oa(l[E],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function Wb(e,n){for(let t=qe;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Vs(e.lView)},consumerOnSignalRead(){this.lView[nr]=this}};function Zb(e){return Qb(e[ks])}function Kb(e){return Qb(e[wn])}function Qb(e){for(;null!==e&&!_t(e);)e=e[wn];return e}function Lf(e){return e.ngOriginalError}class on{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Lf(n);for(;t&&Lf(t);)t=Lf(t);return t||null}}const Jb=new D("",{providedIn:"root",factory:()=>x(on).handleError.bind(void 0)}),tw=new D("",{providedIn:"root",factory:()=>!1}),Y={};function O(e=1){ow(te(),w(),vt()+e,!1)}function ow(e,n,t,i){if(!i)if(3==(3&n[F])){const o=e.preOrderCheckHooks;null!==o&&zl(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Gl(n,o,0,t)}sr(t)}function v(e,n=J.Default){const t=w();return null===t?C(e,n):vy(ye(),t,B(e),n)}function aw(e,n,t,i,r,o){const s=Le(null);try{let a=null;r&T.SignalBased&&(a=n[i][zr]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&T.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,i):Vv(n,a,i,o)}finally{Le(s)}}function Tc(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[Me]=r,u[F]=204|i,(null!==c||e&&2048&e[F])&&(u[F]|=2048),Gv(u),u[Ge]=u[Zr]=e,u[De]=t,u[li]=s||e&&e[li],u[W]=a||e&&e[W],u[xt]=l||e&&e[xt]||null,u[mt]=o,u[Ns]=function Jk(){return Xk++}(),u[Cn]=d,u[Nv]=c,u[Oe]=2==n.type?e[Oe]:u,u}function Co(e,n,t,i,r){let o=e.data[n];if(null===o)o=function Vf(e,n,t,i,r){const o=Xv(),s=Ch(),l=e.data[n]=function HN(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Jr()&&(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 OR(){return U.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function Bs(){const e=U.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return jn(o,!0),o}function sa(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;oG&&ow(e,n,G,!1),Vn(s?2:0,r),t(i,r)}finally{sr(o),Vn(s?3:1,r)}}function Bf(e,n,t){if(fh(n)){const i=Le(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function uw(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=T.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?hw(i,t,c,a,l):hw(i,t,c,a)}return i}function hw(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 Zt(e,n,t,i,r,o,s,a){const l=Et(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Wf(e,t,d,i,r),ir(n)&&function zN(e,n){const t=Gt(n,e);16&t[F]||(t[F]|=64)}(t,n.index)):3&n.type&&(i=function $N(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 $f(e,n,t,i){if(Zv()){const r=null===i?null:{"":-1},o=function KN(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){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,sa(e,t,r.hostVars,Y),r)}function zn(e,n,t,i,r,o){const s=Et(e,n);!function Gf(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[W],s,o,e.value,t,i,r)}function nF(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function EN(e){e.lView[nr]!==e&&(e.lView=null,Yb.push(e))}(a)),Mh()}}function bw(e,n){for(let t=Zb(e);null!==t;t=Kb(t))for(let i=qe;i-1&&(Qs(n,i),Kl(t,i))}this._attachedToViewContainer=!1}hc(this._lView[E],this._lView)}onDestroy(n){Hl(this._lView,n)}markForCheck(){aa(this._cdRefInjectingView||this._lView)}detach(){this._lView[F]&=-129}reattach(){bh(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,function Yf(e,n=!0){const t=e[li],i=t.rendererFactory;i.begin?.();try{!function oF(e){Zf(e,0);let n=0;for(;Wv(e);){if(100===n)throw new y(103,!1);n++,Zf(e,1)}}(e)}catch(o){throw n&&Rc(e,o),o}finally{i.end?.(),t.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ab(this._lView[E],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n,bh(this._lView)}}let Gn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dF}return e})();function dF(e){return function uF(e,n,t){if(ir(e)&&!t){const i=Gt(e.index,n);return new la(i,i)}return 47&e.type?new la(n[Oe],n):null}(ye(),w(),16==(16&e))}let kc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=mF;static#t=this.__NG_ENV_ID__=t=>t}return e})();class pF extends kc{constructor(n){super(),this._lView=n}onDestroy(n){return Hl(this._lView,n),()=>function wh(e,n){if(null===e[Ai])return;const t=e[Ai].indexOf(n);-1!==t&&e[Ai].splice(t,1)}(this._lView,n)}}function mF(){return new pF(w())}const Dw=new Set;function mr(e){Dw.has(e)||(Dw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Kf(e){return n=>{setTimeout(e,void 0,n)}}const ue=class wF extends ce{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}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=Kf(o),r&&(r=Kf(r)),s&&(s=Kf(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ke&&n.add(a),a}};function xw(...e){}class q{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function CF(){const e="function"==typeof me.requestAnimationFrame;let n=me[e?"requestAnimationFrame":"setTimeout"],t=me[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function EF(e){const n=()=>{!function xF(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Xf(e),e.isCheckStableRunning=!0,Qf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Xf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function IF(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return Ew(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Iw(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return Ew(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Iw(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Xf(e),Qf(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!q.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(q.isInAngularZone())throw new y(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,DF,xw,xw);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 DF={};function Qf(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 Xf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ew(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Iw(e){e._nesting--,Qf(e)}class Sw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}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)}}var gr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(gr||{});const Mw={destroy(){}};function Aw(e,n){!n&&function Zh(e){if(!_v()&&!function GA(){return Wr}())throw new y(-203,!1)}();const t=n?.injector??x(yt);if(!function Pi(e){return"browser"===(e??x(yt)).get(Ni)}(t))return Mw;mr("NgAfterNextRender");const i=t.get(ca),r=i.handler??=new kw,o=n?.phase??gr.MixedReadWrite,s=()=>{r.unregister(l),a()},a=t.get(kc).onDestroy(s),l=new Rw(t,o,()=>{s(),e()});return r.register(l),{destroy:s}}class Rw{constructor(n,t,i){this.phase=t,this.callbackFn=i,this.zone=n.get(q),this.errorHandler=n.get(on,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class kw{constructor(){this.executingCallbacks=!1,this.buckets={[gr.EarlyRead]:new Set,[gr.Write]:new Set,[gr.MixedReadWrite]:new Set,[gr.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){let n=!1;this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)n=!0,i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);return this.deferredCallbacks.clear(),n}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let ca=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of t)r();return!!this.handler?.execute()||t.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function TF(e,n){const t=Gt(n,e),i=t[E];!function AF(e,n){for(let t=n.length;t0&&yb(e,t,o.join(" "))}}(h,V,p,i),void 0!==t&&function jF(e,n,t){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Rs(r.hostAttrs,t=Rs(t,r.hostAttrs))}}(i)}function UF(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 Nc(e){return e===Fn?{}:e===ae?[]:e}function zF(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function GF(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function qF(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function qn(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}let zw=()=>null;function Do(e,n){return zw(e,n)}function ma(e,n,t,i){const r=n.tView,a=Tc(e,r,t,4096&e[F]?4096:16,null,n,null,null,null,i?.injector??null,i?.dehydratedView??null);a[Os]=e[n.index];const c=e[Pn];return null!==c&&(a[Pn]=c.createEmbeddedView(r)),Jf(r,a,t),a}function xo(e,n){return!n||null===n.firstChild||lc(e)}function ga(e,n,t,i=!0){const r=n[E];if(function hO(e,n,t,i){const r=qe+i,o=t.length;i>0&&(t[r-1][wn]=n),i{class e{static#e=this.__NG_ELEMENT_ID__=yP}return e})();function yP(){return Yw(ye(),w())}const bP=sn,qw=class extends bP{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return wo(this._hostTNode,this._hostLView)}get injector(){return new rt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Yl(this._hostTNode,this._hostLView);if(Rh(n)){const t=Us(n,this._hostLView),i=Hs(n);return new rt(t[E].data[i+8],t)}return new rt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ww(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-qe}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=Do(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,xo(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function $s(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 da(Q(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(rn,null);m&&(o=m)}const d=Q(l.componentType??{}),u=Do(this._lContainer,d?.id??null),f=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(f.hostView,a,xo(this._hostTNode,u)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function CR(e){return _t(e[Ge])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ge],c=new qw(l,l[mt],l[Ge]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ga(s,r,o,i),n.attachToViewContainerRef(),xy(sp(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ww(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Qs(this._lContainer,t);i&&(Kl(sp(this._lContainer),t),hc(i[E],i))}detach(n){const t=this._adjustIndex(n,-1),i=Qs(this._lContainer,t);return i&&null!=Kl(sp(this._lContainer),t)?new la(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ww(e){return e[8]}function sp(e){return e[8]||(e[8]=[])}function Yw(e,n){let t;const i=n[e.index];return _t(i)?t=i:(t=mw(i,n,null,e),n[e.index]=t,Ac(n,t)),Zw(t,n,e,i),new qw(t,e,n)}let Zw=function Qw(e,n,t,i){if(e[Ln])return;let r;r=8&t.type?ve(i):function wP(e,n){const t=e[W],i=t.createComment(""),r=Et(n,e);return fr(t,fc(t,r),i,function _O(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Ln]=r},ap=()=>!1;function Qe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Te(e,n,t,i,r,o,s,a){const l=w(),c=te(),d=e+G,u=c.firstCreatePass?function EP(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Co(n,e,4,s||null,Bn(c,a));$f(n,t,d,Bn(c,l)),$l(n,d);const u=d.tView=Uf(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,c,l,n,t,i,r,o,s):c.data[d];jn(u,!1);const h=Xw(c,l,u,e);Ul()&&pc(c,l,h,u),bt(h,l);const f=mw(h,l,h,u);return l[d]=f,Ac(l,f),function Kw(e,n,t){return ap(e,n,t)}(f,u,l),jl(u)&&jf(c,l,u),null!=s&&Hf(l,u,a),Te}let Xw=function Jw(e,n,t,i){return Ri(!0),n[W].createComment("")};function je(e,n,t,i){const r=w();return Qe(r,Hn(),n)&&(te(),zn(Ie(),r,e,n,t,i)),je}function ko(e,n,t,i){return Qe(e,Hn(),t)?n+z(t)+i:Y}function Gc(e,n){return e<<17|n<<2}function ji(e){return e>>17&32767}function gp(e){return 2|e}function yr(e){return(131068&e)>>2}function _p(e,n){return-131069&e|n<<2}function vp(e){return 1|e}function RC(e,n,t,i){const r=e[t+1],o=null===n;let s=i?ji(r):yr(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];d1(e[s],n)&&(a=!0,e[s+1]=i?vp(c):gp(c)),s=i?ji(c):yr(c)}a&&(e[t+1]=i?gp(r):vp(r))}function d1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&co(e,n)>=0}const st={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kC(e){return e.substring(st.key,st.keyEnd)}function OC(e,n){const t=st.textEnd;return t===n?-1:(n=st.keyEnd=function p1(e,n,t){for(;n32;)n++;return n}(e,st.key=n,t),jo(e,n,t))}function jo(e,n,t){for(;n=0;t=OC(n,t))qt(e,kC(n),!0)}function xn(e,n,t,i){const r=w(),o=te(),s=di(2);o.firstUpdatePass&&BC(o,e,s,i),n!==Y&&Qe(r,s,n)&&HC(o,o.data[vt()],r,r[W],e,r[s+1]=function E1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=nt(Yt(e)))),e}(n,t),i,s)}function VC(e,n){return n>=e.expandoStartIndex}function BC(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[vt()],s=VC(e,t);$C(o,i)&&null===n&&!s&&(n=!1),n=function v1(e,n,t,i){const r=function Eh(e){const n=U.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=wa(t=wp(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=wp(r,e,n,t,i),null===o){let l=function y1(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==yr(i))return e[ji(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=wp(null,e,n,l[1],i),l=wa(l,n.attrs,i),function b1(e,n,t,i){e[ji(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function w1(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const h=ji(e[a+1]);e[i+1]=Gc(h,a),0!==h&&(e[h+1]=_p(e[h+1],i)),e[a+1]=function s1(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Gc(a,0),0!==a&&(e[a+1]=_p(e[a+1],i)),a=i;else e[i+1]=Gc(l,0),0===a?a=i:e[l+1]=_p(e[l+1],i),l=i;c&&(e[i+1]=gp(e[i+1])),RC(e,d,i,!0),RC(e,d,i,!1),function c1(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&co(o,n)>=0&&(t[i+1]=vp(t[i+1]))}(n,d,e,i,o),s=Gc(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function wp(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=t[r+1];h===Y&&(h=u?ae:void 0);let f=u?Vh(h,i):d===i?h:void 0;if(c&&!qc(f)&&(f=Vh(l,i)),qc(f)&&(a=f,s))return a;const p=e[r+1];r=s?ji(p):yr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Vh(l,i))}return a}function qc(e){return void 0!==e}function $C(e,n){return 0!=(e.flags&(n?8:16))}function Kn(e,n,t){mr("NgControlFlow");const i=w(),r=Hn(),o=function xp(e,n){return e[n]}(i,G+e);if(Qe(i,r,n)){const a=Le(null);try{if(function op(e,n){const t=Qs(e,n);return void 0!==t&&hc(t[E],t),t}(o,0),-1!==n){const l=function Ep(e,n){return Ls(e,n)}(i[E],G+n),c=Do(o,l.tView.ssrId);ga(o,ma(i,l,t,{dehydratedView:c}),0,xo(l,c))}}finally{Le(a)}}else{const a=function Gw(e,n){const t=qe+n;if(t(Ri(!0),uc(i,r,function cy(){return U.lFrame.currentNamespace}()));function Ho(e,n,t){const i=w(),r=te(),o=e+G,s=r.firstCreatePass?function K1(e,n,t,i,r){const o=n.consts,s=Bn(o,i),a=Co(n,e,8,"ng-container",s);return null!==s&&Oc(a,s,!0),$f(n,t,a,Bn(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];jn(s,!0);const a=ZC(r,i,s,e);return i[o]=a,Ul()&&pc(r,i,a,s),bt(a,i),jl(s)&&(jf(r,i,s),Bf(r,s,i)),null!=t&&Hf(i,s),Ho}function Uo(){let e=ye();const n=te();return Ch()?Dh():(e=e.parent,jn(e,!1)),n.firstCreatePass&&($l(n,e),fh(e)&&n.queries.elementEnd(e)),Uo}let ZC=(e,n,t,i)=>(Ri(!0),df(n[W],""));function br(e,n,t){const i=w();return Qe(i,Hn(),n)&&Zt(te(),Ie(),i,e,n,i[W],t,!0),br}const zo="en-US";let eD=zo;function Sa(e){return!!e&&"function"==typeof e.then}function ED(e){return!!e&&"function"==typeof e.subscribe}function Ne(e,n,t,i){const r=w(),o=te(),s=ye();return function SD(e,n,t,i,r,o,s){const a=jl(i),c=e.firstCreatePass&&vw(e),d=n[De],u=_w(n);let h=!0;if(3&i.type||s){const m=Et(i,n),g=s?s(m):m,b=u.length,_=s?M=>s(ve(M[i.index])):i.index;let S=null;if(!s&&a&&(S=function ZL(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,h=!1;else{o=TD(i,n,d,o,!1);const M=t.listen(g,r,o);u.push(o,M),c&&c.push(r,_,b,b+1)}}else o=TD(i,n,d,o,!1);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const m=p.length;if(m)for(let g=0;g-1?Gt(e.index,n):n);let l=MD(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=MD(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function Ae(e=1){return function LR(e){return(U.lFrame.contextLView=function qv(e,n){for(;e>0;)n=n[Zr],e--;return n}(e,U.lFrame.contextLView))[De]}(e)}function KL(e,n){let t=null;const i=function eR(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{class e{static#e=this.__NG_ELEMENT_ID__=eV}return e})();const XL=pi,JL=class extends XL{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=ma(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:i});return new la(r)}};function eV(){return Qc(ye(),w())}function Qc(e,n){return 4&e.type?new JL(n,e,wo(e,n)):null}class Ap{constructor(n){this.queryList=n,this.matches=null}clone(){return new Ap(this.queryList)}setDirty(){this.queryList.setDirty()}}class Rp{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;o0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=qe;u(Ri(!0),function dc(e,n){return e.createText(n)}(n[W],i));function qo(e){return un("",e,""),qo}function un(e,n,t){const i=w(),r=ko(i,e,n,t);return r!==Y&&function fi(e,n,t){const i=Ps(n,e);!function sb(e,n,t){e.setValue(n,t)}(e[W],i,t)}(i,vt(),r),un}function Fp(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(ur(e)||!e.multi){const f=new js(c,r,v),p=Lp(l,n,r?d:d+h,u);-1===p?(Nh(Wl(a,s),o,l),Pp(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=Lp(l,n,d+h,u),p=Lp(l,n,d,d+h),g=p>=0&&t[p];if(r&&!g||!r&&!(f>=0&&t[f])){Nh(Wl(a,s),o,l);const b=function DV(e,n,t,i,r){const o=new js(e,t,v);return o.multi=[],o.index=n,o.componentProviders=0,ax(o,r,i&&!t),o}(r?CV:wV,t.length,r,i,c);!r&&g&&(t[p].providerFactory=b),Pp(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else Pp(o,e,f>-1?f:p,ax(t[r?p:f],c,!r&&i));!r&&i&&g&&t[p].componentProviders++}}}function Pp(e,n,t,i){const r=ur(n),o=function xk(e){return!!e.useClass}(n);if(r||o){const l=(o?B(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 ax(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Lp(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function bV(e,n,t){const i=te();if(i.firstCreatePass){const r=Dn(e);Fp(t,i.data,i.blueprint,r,!0),Fp(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}class Cr{}class lx{}class Bp extends Cr{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ow(this);const r=pt(n);this._bootstrapComponents=Wt(r.bootstrap),this._r3Injector=jy(n,t,[{provide:Cr,useValue:this},{provide:ra,useValue:this.componentFactoryResolver},...i],nt(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 jp extends lx{constructor(n){super(),this.moduleType=n}create(n){return new Bp(this.moduleType,n,[])}}class cx extends Cr{constructor(n){super(),this.componentFactoryResolver=new Ow(this),this.instance=null;const t=new ho([...n.providers,{provide:Cr,useValue:this},{provide:ra,useValue:this.componentFactoryResolver}],n.parent||ic(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Hp(e,n,t=null){return new cx({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let IV=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=Ry(0,t.type),r=i.length>0?Hp([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#e=this.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(C(rn))})}return e})();function Qn(e){mr("NgStandalone"),e.getStandaloneInjector=n=>n.get(IV).getOrCreateStandaloneInjector(e)}function vx(e,n,t,i,r,o){const s=n+t;return Qe(e,s,r)?function Wn(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function Ma(e,n){const t=e[n];return t===Y?void 0:t}(e,s+1)}function xx(e,n,t){const i=e+G,r=w(),o=function Xr(e,n){return e[n]}(r,i);return function Ta(e,n){return e[E].data[n].pure}(r,i)?vx(r,function It(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}let jx=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class w2{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Hx=(()=>{class e{compileModuleSync(t){return new jp(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Wt(pt(t).declarations).reduce((s,a)=>{const l=Q(a);return l&&s.push(new da(l)),s},[]);return new w2(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nd=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ut(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qx=new D(""),rd=new D("");let Kp,Yp=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Kp||(function Y2(e){Kp=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()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(C(q),C(Zp),C(rd))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Zp=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Kp?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Qp=new D("");let Xp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=x(Qp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Sa(o))t.push(o);else if(ED(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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Jp=new D("");function Zx(e,n){return Array.isArray(n)?n.reduce(Zx,e):{...e,...n}}let Ui=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=x(Jb),this.afterRenderEffectManager=x(ca),this.componentTypes=[],this.components=[],this.isStable=x(nd).hasPendingTasks.pipe(Z(t=>!t)),this._injector=x(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof Vb;if(!this._injector.get(Xp).done)throw!r&&function Ti(e){const n=Q(e)||it(e)||dt(e);return null!==n&&n.standalone}(t),new y(405,!1);let s;s=r?t:this._injector.get(ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function K2(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Cr),c=s.create(yt.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(qx,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),od(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{try{this.afterRenderEffectManager.execute()}catch(t){this.internalErrorHandler(t)}this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;od(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Jp,[]);[...this._bootstrapListeners,...i].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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>od(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new y(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function od(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let X2=(()=>{class e{constructor(){this.zone=x(q),this.applicationRef=x(Ui)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function J2(){const e=x(q),n=x(on);return t=>e.runOutsideAngular(()=>n.handleError(t))}let tB=(()=>{class e{constructor(){this.subscription=new Ke,this.initialized=!1,this.zone=x(q),this.pendingTasks=x(nd)}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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new D("",{providedIn:"root",factory:()=>x(Xn,J.Optional|J.SkipSelf)||function nB(){return typeof $localize<"u"&&$localize.locale||zo}()}),em=new D("");let Jx=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function SF(e="zone.js",n){return"noop"===e?new Sw:"zone.js"===e?new q(n):e}(i?.ngZone,function Xx(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function EV(e,n,t){return new Bp(e,n,t)}(t.moduleType,this.injector,function Qx(e){return[{provide:q,useFactory:e},{provide:dr,multi:!0,useFactory:()=>{const n=x(X2,{optional:!0});return()=>n.initialize()}},{provide:dr,multi:!0,useFactory:()=>{const n=x(tB);return()=>{n.initialize()}}},{provide:Jb,useFactory:J2}]}(()=>r)),s=o.injector.get(on,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{od(this._modules,o),a.unsubscribe()})}),function Yx(e,n,t){try{const i=t();return Sa(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(Xp);return a.runInitializers(),a.donePromise.then(()=>(function tD(e){Ft(e,"Expected localeId to be defined"),"string"==typeof e&&(eD=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Xn,zo)||zo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=Zx({},i);return function Z2(e,n,t){const i=new jp(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(Ui);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new y(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(em,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(C(yt))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),$i=null;const eE=new D("");function tE(e,n,t=[]){const i=`Platform: ${n}`,r=new D(i);return(o=[])=>{let s=tm();if(!s||s.injector.get(eE,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function oB(e){if($i&&!$i.get(eE,!1))throw new y(400,!1);(function Wx(){!function uA(e){J_=e}(()=>{throw new y(600,!1)})})(),$i=e;const n=e.get(Jx);(function iE(e){e.get(Uy,null)?.forEach(t=>t())})(e)}(function nE(e=[],n){return yt.create({name:n,providers:[{provide:Gh,useValue:"platform"},{provide:em,useValue:new Set([()=>$i=null])},...e]})}(a,i))}return function sB(e){const n=tm();if(!n)throw new y(401,!1);return n}()}}function tm(){return $i?.get(Jx)??null}const hB=tE(null,"core",[]);let fB=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ui))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();function Fe(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function lm(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let SE=null;function zi(){return SE}class $B{}const ee=new D("");let cm=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(GB),providedIn:"platform"})}return e})();const zB=new D("");let GB=(()=>{class e extends cm{constructor(){super(),this._doc=x(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return zi().getBaseHref(this._doc)}onPopState(t){const i=zi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=zi().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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function dm(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 ME(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 mi(e){return e&&"?"!==e[0]?"?"+e:e}let Er=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(AE),providedIn:"root"})}return e})();const TE=new D("");let AE=(()=>{class e extends Er{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??x(ee).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 dm(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+mi(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+mi(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+mi(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#e=this.\u0275fac=function(i){return new(i||e)(C(cm),C(TE,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qB=(()=>{class e extends Er{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=dm(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+mi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+mi(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#e=this.\u0275fac=function(i){return new(i||e)(C(cm),C(TE,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Ko=(()=>{class e{constructor(t){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function ZB(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(ME(RE(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+mi(i))}normalize(t){return e.stripTrailingSlash(function YB(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,RE(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+mi(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+mi(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,complete:r})}static#e=this.normalizeQueryParams=mi;static#t=this.joinWithSlash=dm;static#n=this.stripTrailingSlash=ME;static#i=this.\u0275fac=function(i){return new(i||e)(C(Er))};static#r=this.\u0275prov=I({token:e,factory:()=>function WB(){return new Ko(C(Er))}(),providedIn:"root"})}return e})();function RE(e){return e.replace(/\/index.html$/,"")}const bm=/\s+/,jE=[];let HE=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=jE,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(bm):jE}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(bm):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(bm).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(hi))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngClass",""]],inputs:{klass:[T.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class Fj{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 $E=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 Fj(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),zE(a,r)}});for(let r=0,o=i.length;r{zE(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(sn),v(pi),v(Pf))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zE(e,n){e.context.$implicit=n.item}let GE=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new Pj,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){qE("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){qE("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(sn),v(pi))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class Pj{constructor(){this.$implicit=null,this.ngIf=null}}function qE(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${nt(n)}'.`)}let YE=(()=>{class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=ZE}transform(t,i=ZE){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 iH(e,n){return{key:e,value:n}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||e)(v(Sc,16))};static#t=this.\u0275pipe=Lt({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function ZE(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{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();const QE="browser";function XE(e){return e===QE}function JE(e){return"server"===e}let dH=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>XE(x(Ni))?new uH(x(ee),window):new fH})}return e})();class uH{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}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 hH(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 fH{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class LH extends $B{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Sm extends LH{static makeCurrent(){!function UB(e){SE??=e}(new Sm)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 VH(){return Pa=Pa||document.querySelector("base"),Pa?Pa.getAttribute("href"):null}();return null==t?null:function BH(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Pa=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function Oj(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}(document.cookie,n)}}let Pa=null,HH=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Mm=new D("");let r0=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}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 y(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(C(Mm),C(q))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class o0{constructor(n){this._doc=n}}const Tm="ng-app-id";let s0=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=JE(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Tm}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(Tm),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Tm,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(Ws),C(Xh,8),C(Ni))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Am={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Rm=/%COMP%/g,GH=new D("",{providedIn:"root",factory:()=>!0});function l0(e,n){return n.map(t=>t.replace(Rm,e))}let km=(()=>{class e{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.rendererByCompId=new Map,this.platformIsServer=JE(a),this.defaultRenderer=new Om(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===yn.ShadowDom&&(i={...i,encapsulation:yn.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof d0?r.applyToHost(t):r instanceof Nm&&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 yn.Emulated:o=new d0(l,c,i,this.appId,d,s,a,u);break;case yn.ShadowDom:return new ZH(l,c,t,i,s,a,this.nonce,u);default:o=new Nm(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(C(r0),C(s0),C(Ws),C(GH),C(ee),C(Ni),C(q),C(Xh))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class Om{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Am[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(c0(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(c0(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new y(-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=Am[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Am[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&(Vi.DashCase|Vi.Important)?n.style.setProperty(t,i,r&Vi.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Vi.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=zi().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 c0(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ZH extends Om{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=l0(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Nm extends Om{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?l0(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class d0 extends Nm{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 qH(e){return"_ngcontent-%COMP%".replace(Rm,e)}(c),this.hostAttr=function WH(e){return"_nghost-%COMP%".replace(Rm,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 KH=(()=>{class e extends o0{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#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const u0=["alt","control","meta","shift"],QH={"\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"},XH={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let JH=(()=>{class e extends o0{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(()=>zi().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."),u0.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=QH[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"),u0.forEach(s=>{s!==r&&(0,XH[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#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const iU=tE(hB,"browser",[{provide:Ni,useValue:QE},{provide:Uy,useValue:function eU(){Sm.makeCurrent()},multi:!0},{provide:ee,useFactory:function nU(){return function Vk(e){Qh=e}(document),document},deps:[]}]),rU=new D(""),p0=[{provide:rd,useClass:class jH{addToWindow(n){me.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new y(5103,!1);return o},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(i=>{const r=me.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?zi().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:qx,useClass:Yp,deps:[q,Zp,rd]},{provide:Yp,useClass:Yp,deps:[q,Zp,rd]}],m0=[{provide:Gh,useValue:"root"},{provide:on,useFactory:function tU(){return new on},deps:[]},{provide:Mm,useClass:KH,multi:!0,deps:[ee,q,Ni]},{provide:Mm,useClass:JH,multi:!0,deps:[ee]},km,s0,r0,{provide:Of,useExisting:km},{provide:class pH{},useClass:HH,deps:[]},[]];let g0=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ws,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(C(rU,12))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[...m0,...p0],imports:[KE,fB]})}return e})(),oU=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(i){let r=null;return r=i?new(i||e):C(cU),r},providedIn:"root"})}return e})(),cU=(()=>{class e extends Fm{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case ut.NONE:return i;case ut.HTML:return $n(i,"HTML")?Yt(i):Ab(this._doc,String(i)).toString();case ut.STYLE:return $n(i,"Style")?Yt(i):i;case ut.SCRIPT:if($n(i,"Script"))return Yt(i);throw new y(5200,!1);case ut.URL:return $n(i,"URL")?Yt(i):yc(String(i));case ut.RESOURCE_URL:if($n(i,"ResourceURL"))return Yt(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return function RO(e){return new EO(e)}(t)}bypassSecurityTrustStyle(t){return function kO(e){return new IO(e)}(t)}bypassSecurityTrustScript(t){return function OO(e){return new SO(e)}(t)}bypassSecurityTrustUrl(t){return function NO(e){return new MO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function FO(e){return new TO(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gi(e){return this instanceof Gi?(this.v=e,this):new Gi(e)}function D0(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 Bm(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 jm=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function x0(e){return se(e?.then)}function E0(e){return se(e[Ku])}function I0(e){return Symbol.asyncIterator&&se(e?.[Symbol.asyncIterator])}function S0(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 M0=function kU(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function T0(e){return se(e?.[M0])}function A0(e){return function C0(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(f){return new Promise(function(p,m){o.push([h,f,p,m])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Gi?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](f))}catch(p){u(o[0][3],p)}}function c(h){a("next",h)}function d(h){a("throw",h)}function u(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Gi(t.read());if(r)return yield Gi(void 0);yield yield Gi(i)}}finally{t.releaseLock()}})}function R0(e){return se(e?.getReader)}function Ot(e){if(e instanceof Ve)return e;if(null!=e){if(E0(e))return function OU(e){return new Ve(n=>{const t=e[Ku]();if(se(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(jm(e))return function NU(e){return new Ve(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ov)})}(e);if(I0(e))return k0(e);if(T0(e))return function PU(e){return new Ve(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(R0(e))return function LU(e){return k0(A0(e))}(e)}throw S0(e)}function k0(e){return new Ve(n=>{(function VU(e,n){var t,i,r,o;return function b0(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=D0(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 vi(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 O0(e,n=0){return ze((t,i)=>{t.subscribe(Re(i,r=>vi(i,e,()=>i.next(r),n),()=>vi(i,e,()=>i.complete(),n),r=>vi(i,e,()=>i.error(r),n)))})}function N0(e,n=0){return ze((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function F0(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ve(t=>{vi(t,n,()=>{const i=e[Symbol.asyncIterator]();vi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function lt(e,n){return n?function zU(e,n){if(null!=e){if(E0(e))return function BU(e,n){return Ot(e).pipe(N0(n),O0(n))}(e,n);if(jm(e))return function HU(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(x0(e))return function jU(e,n){return Ot(e).pipe(N0(n),O0(n))}(e,n);if(I0(e))return F0(e,n);if(T0(e))return function UU(e,n){return new Ve(t=>{let i;return vi(t,n,()=>{i=e[M0](),vi(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)}),()=>se(i?.return)&&i.return()})}(e,n);if(R0(e))return function $U(e,n){return F0(A0(e),n)}(e,n)}throw S0(e)}(e,n):Ot(e)}function P0(e){return e&&se(e.schedule)}function Hm(e){return e[e.length-1]}function L0(e){return se(Hm(e))?e.pop():void 0}function Va(e){return P0(Hm(e))?e.pop():void 0}function N(...e){return lt(e,Va(e))}const{isArray:qU}=Array,{getPrototypeOf:WU,prototype:YU,keys:ZU}=Object;function V0(e){if(1===e.length){const n=e[0];if(qU(n))return{args:n,keys:null};if(function KU(e){return e&&"object"==typeof e&&WU(e)===YU}(n)){const t=ZU(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:QU}=Array;function Um(e){return Z(n=>function XU(e,n){return QU(n)?e(...n):e(n)}(e,n))}function B0(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function Sd(...e){const n=Va(e),t=L0(e),{args:i,keys:r}=V0(e);if(0===i.length)return lt([],n);const o=new Ve(function JU(e,n,t=Ii){return i=>{j0(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=lt(e[l],n);let d=!1;c.subscribe(Re(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>B0(r,s):Ii));return t?o.pipe(Um(t)):o}function j0(e,n,t){e?vi(t,e,n):n()}const Md=$u(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ht(e,n,t=1/0){return se(n)?ht((i,r)=>Z((o,s)=>n(i,o,r,s))(Ot(e(i,r))),t):("number"==typeof n&&(t=n),ze((i,r)=>function e$(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&n.complete()},f=m=>c{o&&n.next(m),c++;let g=!1;Ot(t(m,d++)).subscribe(Re(n,b=>{r?.(b),o?f(b):n.next(b)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&cp(b)):p(b)}h()}catch(b){n.error(b)}}))};return e.subscribe(Re(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,r,e,t)))}function Xo(e=1/0){return ht(Ii,e)}function Td(...e){return function t$(){return Xo(1)}()(lt(e,Va(e)))}function H0(e){return new Ve(n=>{Ot(e()).subscribe(n)})}function Ba(e,n){const t=se(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 $m(){return ze((e,n)=>{let t=null;e._refCount++;const i=Re(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 U0 extends Ve{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,cv(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 Ke;const t=this.getSubject();n.add(this.source.subscribe(Re(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ke.EMPTY)}return n}refCount(){return $m()(this)}}function Mn(e,n){return ze((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(Re(i,l=>{r?.unsubscribe();let c=0;const d=o++;Ot(e(l,d)).subscribe(r=Re(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Tn(e){return e<=0?()=>Jn:ze((n,t)=>{let i=0;n.subscribe(Re(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function Jo(...e){const n=Va(e);return ze((t,i)=>{(n?Td(e,t,n):Td(e,t)).subscribe(i)})}function Qt(e,n){return ze((t,i)=>{let r=0;t.subscribe(Re(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Ad(e){return ze((n,t)=>{let i=!1;n.subscribe(Re(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function $0(e=i$){return ze((n,t)=>{let i=!1;n.subscribe(Re(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function i$(){return new Md}function Ir(e,n){const t=arguments.length>=2;return i=>i.pipe(e?Qt((r,o)=>e(r,o,i)):Ii,Tn(1),t?Ad(n):$0(()=>new Md))}function es(e,n){return se(n)?ht(e,n,1):ht(e,1)}function et(e,n,t){const i=se(e)||n||t?{next:e,error:n,complete:t}:e;return i?ze((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Re(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)}))}):Ii}function Sr(e){return ze((n,t)=>{let o,i=null,r=!1;i=n.subscribe(Re(t,void 0,void 0,s=>{o=Ot(e(s,Sr(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function zm(e){return e<=0?()=>Jn:ze((n,t)=>{let i=[];n.subscribe(Re(t,r=>{i.push(r),e{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function Rd(e){return ze((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Ue(e){return ze((n,t)=>{Ot(e).subscribe(Re(t,()=>t.complete(),Gu)),!t.closed&&n.subscribe(t)})}const K="primary",ja=Symbol("RouteTitle");class l${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 ts(e){return new l$(e)}function c$(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.lengthi[o]===r)}return e===n}function G0(e){return e.length>0?e[e.length-1]:null}function qi(e){return function dU(e){return!!e&&(e instanceof Ve||se(e.lift)&&se(e.subscribe))}(e)?e:Sa(e)?lt(Promise.resolve(e)):N(e)}const u$={exact:function Y0(e,n,t){if(!Mr(e.segments,n.segments)||!kd(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!Y0(e.children[i],n.children[i],t))return!1;return!0},subset:Z0},q0={exact:function h$(e,n){return ei(e,n)},subset:function f$(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>z0(e[t],n[t]))},ignored:()=>!0};function W0(e,n,t){return u$[t.paths](e.root,n.root,t.matrixParams)&&q0[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function Z0(e,n,t){return K0(e,n,n.segments,t)}function K0(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!Mr(r,t)||n.hasChildren()||!kd(r,t,i))}if(e.segments.length===t.length){if(!Mr(e.segments,t)||!kd(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!Z0(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!!(Mr(e.segments,r)&&kd(e.segments,r,i)&&e.children[K])&&K0(e.children[K],n,o,i)}}function kd(e,n,t){return n.every((i,r)=>q0[t](e[r].parameters,i.parameters))}class ns{constructor(n=new be([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=ts(this.queryParams),this._queryParamMap}toString(){return g$.serialize(this)}}class be{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Od(this)}}class Ha{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ts(this.parameters),this._parameterMap}toString(){return J0(this)}}function Mr(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let is=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>new qm,providedIn:"root"})}return e})();class qm{parse(n){const t=new S$(n);return new ns(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ua(n.root,!0)}`,i=function y$(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${Nd(t)}=${Nd(r)}`).join("&"):`${Nd(t)}=${Nd(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function _$(e){return encodeURI(e)}(n.fragment)}`:""}`}}const g$=new qm;function Od(e){return e.segments.map(n=>J0(n)).join("/")}function Ua(e,n){if(!e.hasChildren())return Od(e);if(n){const t=e.children[K]?Ua(e.children[K],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==K&&i.push(`${r}:${Ua(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function m$(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===K&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==K&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===K?[Ua(e.children[K],!1)]:[`${r}:${Ua(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[K]?`${Od(e)}/${t[0]}`:`${Od(e)}/(${t.join("//")})`}}function Q0(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nd(e){return Q0(e).replace(/%3B/gi,";")}function Wm(e){return Q0(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fd(e){return decodeURIComponent(e)}function X0(e){return Fd(e.replace(/\+/g,"%20"))}function J0(e){return`${Wm(e.path)}${function v$(e){return Object.entries(e).map(([n,t])=>`;${Wm(n)}=${Wm(t)}`).join("")}(e.parameters)}`}const b$=/^[^\/()?;#]+/;function Ym(e){const n=e.match(b$);return n?n[0]:""}const w$=/^[^\/()?;=#]+/,D$=/^[^=?&#]+/,E$=/^[^&#]+/;class S${constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new be([],{}):new be([],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[K]=new be(n,t)),i}parseSegment(){const n=Ym(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new Ha(Fd(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function C$(e){const n=e.match(w$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=Ym(this.remaining);r&&(i=r,this.capture(i))}n[Fd(t)]=Fd(i)}parseQueryParam(n){const t=function x$(e){const n=e.match(D$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function I$(e){const n=e.match(E$);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=X0(t),o=X0(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=Ym(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new y(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=K);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[K]:new be([],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 y(4011,!1)}}function eI(e){return e.segments.length>0?new be([],{[K]:e}):e}function tI(e){const n={};for(const[i,r]of Object.entries(e.children)){const o=tI(r);if(i===K&&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 M$(e){if(1===e.numberOfChildren&&e.children[K]){const n=e.children[K];return new be(e.segments.concat(n.segments),n.children)}return e}(new be(e.segments,n))}function rs(e){return e instanceof ns}function nI(e){let n;const r=eI(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new be(o.url,s);return o===e&&(n=a),a}(e.root));return n??r}function iI(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Zm(r,r,r,t,i);const o=function A$(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new oI(!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 oI(t,n,i)}(n);if(o.toRoot())return Zm(r,r,new be([],{}),t,i);const s=function R$(e,n,t){if(e.isAbsolute)return new Ld(n,!0,0);if(!t)return new Ld(n,!1,NaN);if(null===t.parent)return new Ld(t,!0,0);const i=Pd(e.commands[0])?0:1;return function k$(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new y(4005,!1);r=i.segments.length}return new Ld(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?za(s.segmentGroup,s.index,o.commands):sI(s.segmentGroup,s.index,o.commands);return Zm(r,s.segmentGroup,a,t,i)}function Pd(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $a(e){return"object"==typeof e&&null!=e&&e.outlets}function Zm(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:rI(e,n,t);const a=eI(tI(s));return new ns(a,o,r)}function rI(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:rI(o,n,t)}),new be(e.segments,i)}class oI{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&Pd(i[0]))throw new y(4003,!1);const r=i.find($a);if(r&&r!==G0(i))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ld{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function sI(e,n,t){if(e??=new be([],{}),0===e.segments.length&&e.hasChildren())return za(e,n,t);const i=function N$(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=e.segments[r],a=t[i];if($a(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!lI(l,c,s))return o;i+=2}else{if(!lI(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.pathIndexo!==K)&&e.children[K]&&1===e.numberOfChildren&&0===e.children[K].segments.length){const o=za(e.children[K],n,t);return new be(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=sI(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new be(e.segments,r)}}function Km(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Km(new be([],{}),0,i))}),n}function aI(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function lI(e,n,t){return e==t.path&&ei(n,t.parameters)}const Ga="imperative";var ie=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}(ie||{});class ti{constructor(n,t){this.id=n,this.url=t}}class Vd extends ti{constructor(n,t,i="imperative",r=null){super(n,t),this.type=ie.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class yi extends ti{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var pn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(pn||{}),Bd=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Bd||{});class os extends ti{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ss extends ti{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=ie.NavigationSkipped}}class jd extends ti{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cI extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class P$ extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class L$ extends ti{constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class V$ extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B$ extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class j${constructor(n){this.route=n,this.type=ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class H${constructor(n){this.route=n,this.type=ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class U${constructor(n){this.snapshot=n,this.type=ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $${constructor(n){this.snapshot=n,this.type=ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z${constructor(n){this.snapshot=n,this.type=ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G${constructor(n){this.snapshot=n,this.type=ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dI{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=ie.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Qm{}class Xm{constructor(n){this.url=n}}class q${constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new qa,this.attachRef=null}}let qa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new q$,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class uI{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=Jm(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=Jm(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=eg(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return eg(n,this._root).map(t=>t.value)}}function Jm(e,n){if(e===n.value)return n;for(const t of n.children){const i=Jm(e,t);if(i)return i}return null}function eg(e,n){if(e===n.value)return[n];for(const t of n.children){const i=eg(e,t);if(i.length)return i.unshift(n),i}return[]}class An{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function as(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class hI extends uI{constructor(n,t){super(n),this.snapshot=t,ig(this,n)}toString(){return this.snapshot.toString()}}function fI(e){const n=function W$(e){const o=new ng([],{},{},"",{},K,e,null,{});return new pI("",new An(o,[]))}(e),t=new Ut([new Ha("",{})]),i=new Ut({}),r=new Ut({}),o=new Ut({}),s=new Ut(""),a=new ls(t,i,o,s,r,K,e,n.root);return a.snapshot=n.root,new hI(new An(a,[]),n)}class ls{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(Z(c=>c[ja]))??N(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(Z(n=>ts(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Z(n=>ts(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function tg(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&&gI(r)&&(i.resolve[ja]=r.title),i}class ng{get title(){return this.data?.[ja]}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??=ts(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ts(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pI extends uI{constructor(n,t){super(t),this.url=n,ig(this,t)}toString(){return mI(this._root)}}function ig(e,n){n.value._routerState=e,n.children.forEach(t=>ig(e,t))}function mI(e){const n=e.children.length>0?` { ${e.children.map(mI).join(", ")} } `:"";return`${e.value}${n}`}function rg(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ei(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),ei(n.params,t.params)||e.paramsSubject.next(t.params),function d$(e,n){if(e.length!==n.length)return!1;for(let t=0;tei(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||og(e.parent,n.parent))}function gI(e){return"string"==typeof e.title||null===e.title}let sg=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=K,this.activateEvents=new ue,this.deactivateEvents=new ue,this.attachEvents=new ue,this.detachEvents=new ue,this.parentContexts=x(qa),this.location=x(sn),this.changeDetector=x(Gn),this.environmentInjector=x(rn),this.inputBinder=x(Hd,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(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 y(4013,!1);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Y$(t,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[zt]})}return e})();class Y${constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===ls?this.route:n===qa?this.childContexts:this.parent.get(n,t)}}const Hd=new D("");let _I=(()=>{class e{constructor(){this.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=Sd([i.queryParams,i.params,i.data]).pipe(Mn(([o,s,a],l)=>(a={...o,...s,...a},0===l?N(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 HB(e){const n=Q(e);if(!n)return null;const t=new da(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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function Wa(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function K$(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return Wa(e,i,r);return Wa(e,i)})}(e,n,t);return new An(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=>Wa(e,a)),s}}const i=function Q$(e){return new ls(new Ut(e.url),new Ut(e.params),new Ut(e.queryParams),new Ut(e.fragment),new Ut(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>Wa(e,o));return new An(i,r)}}const vI="ngNavigationCancelingError";function yI(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=rs(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=bI(!1,pn.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function bI(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[vI]=!0,t.cancellationCode=n,t}function wI(e){return!!e&&e[vI]}let CI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["ng-component"]],standalone:!0,features:[Qn],decls:1,vars:0,template:function(i,r){1&i&&cn(0,"router-outlet")},dependencies:[sg],encapsulation:2})}return e})();function ag(e){const n=e.children&&e.children.map(ag),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==K&&(t.component=CI),t}function ni(e){return e.outlet||K}function Ya(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 oz{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),rg(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=as(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=as(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=as(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=as(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new G$(o.value.snapshot))}),n.children.length&&this.forwardEvent(new $$(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(rg(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),rg(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ya(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class DI{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Ud{constructor(n,t){this.component=n,this.route=t}}function sz(e,n,t){const i=e._root;return Za(i,n?n._root:null,t,[i.value])}function cs(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function VA(e){return null!==Rl(e)}(e)?n.get(e):e:i}function Za(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=as(n);return e.children.forEach(s=>{(function lz(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 cz(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Mr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Mr(e.url,n.url)||!ei(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!og(e,n)||!ei(e.queryParams,n.queryParams);default:return!og(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new DI(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Za(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ud(a.outlet.component,s))}else s&&Ka(n,a,r),r.canActivateChecks.push(new DI(i)),Za(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])=>Ka(a,t.getContext(s),r)),r}function Ka(e,n,t){const i=as(e),r=e.value;Object.entries(i).forEach(([o,s])=>{Ka(s,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Ud(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Qa(e){return"function"==typeof e}function xI(e){return e instanceof Md||"EmptyError"===e?.name}const $d=Symbol("INITIAL_VALUE");function ds(){return Mn(e=>Sd(e.map(n=>n.pipe(Tn(1),Jo($d)))).pipe(Z(n=>{for(const t of n)if(!0!==t){if(t===$d)return $d;if(!1===t||t instanceof ns)return t}return!0}),Qt(n=>n!==$d),Tn(1)))}function EI(e){return function xA(...e){return sv(e)}(et(n=>{if(rs(n))throw yI(0,n)}),Z(n=>!0===n))}class lg{constructor(n){this.segmentGroup=n||null}}class cg extends Error{constructor(n){super(),this.urlTree=n}}function us(e){return Ba(new lg(e))}class Mz{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 N(i);if(r.numberOfChildren>1||!r.children[K])return Ba(new y(4e3,!1));r=r.children[K]}}applyRedirectCommands(n,t,i){const r=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if(t.startsWith("/"))throw new cg(r);return r}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new ns(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.startsWith(":")){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 be(o,s)}createSegments(n,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new y(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 dg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tz(e,n,t,i,r){const o=ug(e,n,t);return o.matched?(i=function J$(e,n){return e.providers&&!e._injector&&(e._injector=Hp(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function Ez(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?N(r.map(s=>{const a=cs(s,e);return qi(function mz(e){return e&&Qa(e.canMatch)}(a)?a.canMatch(n,t):hr(e,()=>a(n,t)))})).pipe(ds(),EI()):N(!0)}(i,n,t).pipe(Z(s=>!0===s?o:{...dg}))):N(o)}function ug(e,n,t){if("**"===n.path)return function Az(e){return{matched:!0,parameters:e.length>0?G0(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...dg}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||c$)(t,e,n);if(!r)return{...dg};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 II(e,n,t,i){return t.length>0&&function Oz(e,n,t){return t.some(i=>zd(e,n,i)&&ni(i)!==K)}(e,t,i)?{segmentGroup:new be(n,kz(i,new be(t,e.children))),slicedSegments:[]}:0===t.length&&function Nz(e,n,t){return t.some(i=>zd(e,n,i))}(e,t,i)?{segmentGroup:new be(e.segments,Rz(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new be(e.segments,e.children),slicedSegments:t}}function Rz(e,n,t,i){const r={};for(const o of t)if(zd(e,n,o)&&!i[ni(o)]){const s=new be([],{});r[ni(o)]=s}return{...i,...r}}function kz(e,n){const t={};t[K]=n;for(const i of e)if(""===i.path&&ni(i)!==K){const r=new be([],{});t[ni(i)]=r}return t}function zd(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class Lz{}class jz{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 Mz(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}recognize(){const n=II(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(Z(t=>{const i=new ng([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},K,this.rootComponentType,null,{}),r=new An(i,t),o=new pI("",r),s=function T$(e,n,t=null,i=null){return iI(nI(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,K).pipe(Sr(i=>{if(i instanceof cg)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof lg?this.noMatchError(i):i}))}inheritParamsAndData(n,t){const i=n.value,r=tg(i,t,this.paramsInheritanceStrategy);i.params=Object.freeze(r.params),i.data=Object.freeze(r.data),n.children.forEach(o=>this.inheritParamsAndData(o,i))}processSegmentGroup(n,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i):this.processSegment(n,t,i,i.segments,r,!0).pipe(Z(o=>o instanceof An?[o]:[]))}processChildren(n,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return lt(r).pipe(es(o=>{const s=i.children[o],a=function iz(e,n){const t=e.filter(i=>ni(i)===n);return t.push(...e.filter(i=>ni(i)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function o$(e,n){return ze(function r$(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Re(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))}((o,s)=>(o.push(...s),o)),Ad(null),function s$(e,n){const t=arguments.length>=2;return i=>i.pipe(e?Qt((r,o)=>e(r,o,i)):Ii,zm(1),t?Ad(n):$0(()=>new Md))}(),ht(o=>{if(null===o)return us(i);const s=SI(o);return function Hz(e){e.sort((n,t)=>n.value.outlet===K?-1:t.value.outlet===K?1:n.value.outlet.localeCompare(t.value.outlet))}(s),N(s)}))}processSegment(n,t,i,r,o,s){return lt(t).pipe(es(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,i,r,o,s).pipe(Sr(l=>{if(l instanceof lg)return N(null);throw l}))),Ir(a=>!!a),Sr(a=>{if(xI(a))return function Pz(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?N(new Lz):us(i);throw a}))}processSegmentAgainstRoute(n,t,i,r,o,s,a){return function Fz(e,n,t,i){return!!(ni(e)===i||i!==K&&zd(n,t,e))&&ug(n,e,t).matched}(i,r,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s):us(r):us(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=ug(t,r,o);if(!a)return us(t);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,u).pipe(ht(h=>this.processSegment(n,i,t,h.concat(d),s,!1)))}matchSegmentAgainstRoute(n,t,i,r,o){const s=Tz(t,i,r,n);return"**"===i.path&&(t.children={}),s.pipe(Mn(a=>a.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Mn(({routes:l})=>{const c=i._loadedInjector??n,{consumedSegments:d,remainingSegments:u,parameters:h}=a,f=new ng(d,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function $z(e){return e.data||{}}(i),ni(i),i.component??i._loadedComponent??null,i,function zz(e){return e.resolve||{}}(i)),{segmentGroup:p,slicedSegments:m}=II(t,d,u,l);if(0===m.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(Z(b=>null===b?null:new An(f,b)));if(0===l.length&&0===m.length)return N(new An(f,[]));const g=ni(i)===o;return this.processSegment(c,l,p,m,g?K:o,!0).pipe(Z(b=>new An(f,b instanceof An?[b]:[])))})):us(t)))}getChildConfig(n,t,i){return t.children?N({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?N({routes:t._loadedRoutes,injector:t._loadedInjector}):function xz(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?N(!0):N(r.map(s=>{const a=cs(s,e);return qi(function uz(e){return e&&Qa(e.canLoad)}(a)?a.canLoad(n,t):hr(e,()=>a(n,t)))})).pipe(ds(),EI())}(n,t,i).pipe(ht(r=>r?this.configLoader.loadChildren(n,t).pipe(et(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function Sz(e){return Ba(bI(!1,pn.GuardRejected))}())):N({routes:[],injector:n})}}function Uz(e){const n=e.value.routeConfig;return n&&""===n.path}function SI(e){const n=[],t=new Set;for(const i of e){if(!Uz(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=SI(i.children);n.push(new An(i.value,r))}return n.filter(i=>!t.has(i))}function MI(e){const n=e.children.map(t=>MI(t)).flat();return[e,...n]}function hg(e){return Mn(n=>{const t=e(n);return t?lt(t).pipe(Z(()=>n)):N(n)})}let TI=(()=>{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===K);return i}getResolvedTitleForRoute(t){return t.data[ja]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(Kz),providedIn:"root"})}return e})(),Kz=(()=>{class e extends TI{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||e)(C(oU))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hs=new D("",{providedIn:"root",factory:()=>({})}),fs=new D("");let fg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=x(Hx)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return N(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=qi(t.loadComponent()).pipe(Z(AI),et(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Rd(()=>{this.componentLoaders.delete(t)})),r=new U0(i,()=>new ce).pipe($m());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return N({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function Qz(e,n,t,i){return qi(e.loadChildren()).pipe(Z(AI),ht(r=>r instanceof lx||Array.isArray(r)?N(r):lt(n.compileModuleAsync(r))),Z(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(t).injector,s=o.get(fs,[],{optional:!0,self:!0}).flat()),{routes:s.map(ag),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(Rd(()=>{this.childrenLoaders.delete(i)})),s=new U0(o,()=>new ce).pipe($m());return this.childrenLoaders.set(i,s),s}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function AI(e){return function Xz(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let pg=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(Jz),providedIn:"root"})}return e})(),Jz=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const RI=new D(""),kI=new D("");function e3(e,n,t){const i=e.get(kI),r=e.get(ee);return e.get(q).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),function t3(e){return new Promise(n=>{Aw(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&hr(e,()=>l({transition:a,from:n,to:t})),s})}let Gd=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ce,this.transitionAbortSubject=new ce,this.configLoader=x(fg),this.environmentInjector=x(rn),this.urlSerializer=x(is),this.rootContexts=x(qa),this.location=x(Ko),this.inputBindingEnabled=null!==x(Hd,{optional:!0}),this.titleStrategy=x(TI),this.options=x(hs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=x(pg),this.createViewTransition=x(RI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>N(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new H$(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new j$(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 Ut({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ga,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qt(o=>0!==o.id),Z(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Mn(o=>{this.currentTransition=o;let s=!1,a=!1;return N(o).pipe(et(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Mn(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new ss(l.id,this.urlSerializer.serialize(l.rawUrl),u,Bd.IgnoredSameUrlNavigation)),l.resolve(null),Jn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return N(l).pipe(Mn(u=>{const h=this.transitions?.getValue();return this.events.next(new Vd(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),h!==this.transitions?.getValue()?Jn:Promise.resolve(u)}),function Gz(e,n,t,i,r,o){return ht(s=>function Vz(e,n,t,i,r,o,s="emptyOnly"){return new jz(e,n,t,i,r,s,o).recognize()}(e,n,t,i,s.extractedUrl,r,o).pipe(Z(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),et(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects};const h=new cI(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:u,extractedUrl:h,source:f,restoredState:p,extras:m}=l,g=new Vd(u,this.urlSerializer.serialize(h),f,p);this.events.next(g);const b=fI(this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:b,urlAfterRedirects:h,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=h,N(o)}{const u="";return this.events.next(new ss(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Bd.IgnoredByUrlHandlingStrategy)),l.resolve(null),Jn}}),et(l=>{const c=new P$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Z(l=>(this.currentTransition=o={...l,guards:sz(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function gz(e,n){return ht(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?N({...t,guardsResult:!0}):function _z(e,n,t,i){return lt(e).pipe(ht(r=>function Dz(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?N(o.map(a=>{const l=Ya(n)??r,c=cs(a,l);return qi(function pz(e){return e&&Qa(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):hr(l,()=>c(e,n,t,i))).pipe(Ir())})).pipe(ds()):N(!0)}(r.component,r.route,t,n,i)),Ir(r=>!0!==r,!0))}(s,i,r,e).pipe(ht(a=>a&&function dz(e){return"boolean"==typeof e}(a)?function vz(e,n,t,i){return lt(n).pipe(es(r=>Td(function bz(e,n){return null!==e&&n&&n(new U$(e)),N(!0)}(r.route.parent,i),function yz(e,n){return null!==e&&n&&n(new z$(e)),N(!0)}(r.route,i),function Cz(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function az(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=>H0(()=>N(s.guards.map(l=>{const c=Ya(s.node)??t,d=cs(l,c);return qi(function fz(e){return e&&Qa(e.canActivateChild)}(d)?d.canActivateChild(i,e):hr(c,()=>d(i,e))).pipe(Ir())})).pipe(ds())));return N(o).pipe(ds())}(e,r.path,t),function wz(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return N(!0);const r=i.map(o=>H0(()=>{const s=Ya(n)??t,a=cs(o,s);return qi(function hz(e){return e&&Qa(e.canActivate)}(a)?a.canActivate(n,e):hr(s,()=>a(n,e))).pipe(Ir())}));return N(r).pipe(ds())}(e,r.route,t))),Ir(r=>!0!==r,!0))}(i,o,e,n):N(a)),Z(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),et(l=>{if(o.guardsResult=l.guardsResult,rs(l.guardsResult))throw yI(0,l.guardsResult);const c=new L$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Qt(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",pn.GuardRejected),!1)),hg(l=>{if(l.guards.canActivateChecks.length)return N(l).pipe(et(c=>{const d=new V$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Mn(c=>{let d=!1;return N(c).pipe(function qz(e,n){return ht(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return N(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 MI(l))s.add(c);let a=0;return lt(s).pipe(es(l=>o.has(l)?function Wz(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!gI(r)&&(o[ja]=r.title),function Yz(e,n,t,i){const r=Gm(e);if(0===r.length)return N({});const o={};return lt(r).pipe(ht(s=>function Zz(e,n,t,i){const r=Ya(n)??i,o=cs(e,r);return qi(o.resolve?o.resolve(n,t):hr(r,()=>o(n,t)))}(e[s],n,t,i).pipe(Ir(),et(a=>{o[s]=a}))),zm(1),function a$(e){return Z(()=>e)}(o),Sr(s=>xI(s)?Jn:Ba(s)))}(o,e,n,i).pipe(Z(s=>(e._resolvedData=s,e.data=tg(e,e.parent,t).resolve,null)))}(l,i,e,n):(l.data=tg(l,l.parent,e).resolve,N(void 0))),et(()=>a++),zm(1),ht(l=>a===s.size?N(t):Jn))})}(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",pn.NoDataFromResolver)}}))}),et(c=>{const d=new B$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),hg(l=>{const c=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(et(h=>{d.component=h}),Z(()=>{})));for(const h of d.children)u.push(...c(h));return u};return Sd(c(l.targetSnapshot.root)).pipe(Ad(null),Tn(1))}),hg(()=>this.afterPreactivation()),Mn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?lt(d).pipe(Z(()=>o)):N(o)}),Z(l=>{const c=function Z$(e,n,t){const i=Wa(e,n._root,t?t._root:void 0);return new hI(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),et(()=>{this.events.next(new Qm)}),((e,n,t,i)=>Z(r=>(new oz(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Tn(1),et({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new yi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Ue(this.transitionAbortSubject.pipe(et(l=>{throw l}))),Rd(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",pn.SupersededByNewNavigation),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Sr(l=>{if(a=!0,wI(l))this.events.next(new os(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function X$(e){return wI(e)&&rs(e.url)}(l)?this.events.next(new Xm(l.url)):o.resolve(!1);else{this.events.next(new jd(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(c)}}return Jn}))}))}cancelNavigationTransition(t,i,r){const o=new os(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function n3(e){return e!==Ga}let r3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(s3),providedIn:"root"})}return e})();class o3{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let s3=(()=>{class e extends o3{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(a3),providedIn:"root"})}return e})(),a3=(()=>{class e extends OI{constructor(){super(...arguments),this.location=x(Ko),this.urlSerializer=x(is),this.options=x(hs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=x(pg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ns,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=fI(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}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 Vd)this.stateMemento=this.createStateMemento();else if(t instanceof ss)this.rawUrlTree=i.initialUrl;else if(t instanceof cI){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(r,i)}}else t instanceof Qm?(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(this.rawUrlTree,i))):t instanceof os&&(t.code===pn.GuardRejected||t.code===pn.NoDataFromResolver)?this.restoreHistory(i):t instanceof jd?this.restoreHistory(i,!0):t instanceof yi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(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#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Xa||{});function NI(e,n){e.events.pipe(Qt(t=>t instanceof yi||t instanceof os||t instanceof jd||t instanceof ss),Z(t=>t instanceof yi||t instanceof ss?Xa.COMPLETE:t instanceof os&&(t.code===pn.Redirect||t.code===pn.SupersededByNewNavigation)?Xa.REDIRECTING:Xa.FAILED),Qt(t=>t!==Xa.REDIRECTING),Tn(1)).subscribe(()=>{n()})}function l3(e){throw e}const c3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},d3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=x(jx),this.stateManager=x(OI),this.options=x(hs,{optional:!0})||{},this.pendingTasks=x(nd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=x(Gd),this.urlSerializer=x(is),this.location=x(Ko),this.urlHandlingStrategy=x(pg),this._events=new ce,this.errorHandler=this.options.errorHandler||l3,this.navigated=!1,this.routeReuseStrategy=x(r3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=x(fs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!x(Hd,{optional:!0}),this.eventsSubscription=new Ke,this.isNgZoneEnabled=x(q)instanceof q&&q.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}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 os&&i.code!==pn.Redirect&&i.code!==pn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof yi)this.navigated=!0;else if(i instanceof Xm){const s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),a={info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||n3(r.source)};this.scheduleNavigation(s,Ga,null,a,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function h3(e){return!(e instanceof Qm||e instanceof Xm)})(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),Ga,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(ag),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){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=nI(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),u=this.currentUrlTree.root}return iI(u,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=rs(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ga,null,i)}navigate(t,i={skipLocationChange:!1}){return function u3(e){for(let n=0;n(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,h)=>{a=u,l=h});const d=this.pendingTasks.add();return NI(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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class FI{}let m3=(()=>{class e{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(Qt(t=>t instanceof yi),es(()=>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=Hp(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(Xo())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):N(null);const o=r.pipe(ht(s=>null===s?N(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(Xo()):o})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Rn),C(Hx),C(rn),C(FI),C(fg))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const gg=new D("");let PI=(()=>{class e{constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},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 Vd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof yi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ss&&t.code===Bd.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 dI&&(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 dI(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){!function sw(){throw new Error("invalid")}()};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function ii(e,n){return{\u0275kind:e,\u0275providers:n}}function VI(){const e=x(yt);return n=>{const t=e.get(Ui);if(n!==t.components[0])return;const i=e.get(Rn),r=e.get(BI);1===e.get(_g)&&i.initialNavigation(),e.get(jI,null,J.Optional)?.setUpPreloading(),e.get(gg,null,J.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const BI=new D("",{factory:()=>new ce}),_g=new D("",{providedIn:"root",factory:()=>1}),jI=new D("");function y3(e){return ii(0,[{provide:jI,useExisting:m3},{provide:FI,useExisting:e}])}function w3(e){return ii(9,[{provide:RI,useValue:e3},{provide:kI,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const HI=new D("ROUTER_FORROOT_GUARD"),C3=[Ko,{provide:is,useClass:qm},Rn,qa,{provide:ls,useFactory:function LI(e){return e.routerState.root},deps:[Rn]},fg,[]];let UI=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[C3,[],{provide:fs,multi:!0,useValue:t},{provide:HI,useFactory:I3,deps:[[Rn,new cr,new zs]]},{provide:hs,useValue:i||{}},i?.useHash?{provide:Er,useClass:qB}:{provide:Er,useClass:AE},{provide:gg,useFactory:()=>{const e=x(dH),n=x(q),t=x(hs),i=x(Gd),r=x(is);return t.scrollOffset&&e.setOffset(t.scrollOffset),new PI(r,i,e,n,t)}},i?.preloadingStrategy?y3(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?S3(i):[],i?.bindToComponentInputs?ii(8,[_I,{provide:Hd,useExisting:_I}]).\u0275providers:[],i?.enableViewTransitions?w3().\u0275providers:[],[{provide:$I,useFactory:VI},{provide:Jp,multi:!0,useExisting:$I}]]}}static forChild(t){return{ngModule:e,providers:[{provide:fs,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(i){return new(i||e)(C(HI,8))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();function I3(e){return"guarded"}function S3(e){return["disabled"===e.initialNavigation?ii(3,[{provide:Qp,multi:!0,useFactory:()=>{const n=x(Rn);return()=>{n.setUpLocationChangeListener()}}},{provide:_g,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?ii(2,[{provide:_g,useValue:0},{provide:Qp,multi:!0,deps:[yt],useFactory:n=>{const t=n.get(zB,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(Rn),o=n.get(BI);NI(r,()=>{i(!0)}),n.get(Gd).afterPreactivation=()=>(i(!0),o.closed?N(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const $I=new D("");let vg;try{vg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{vg=!1}let Ja,Tr,yg,Xt=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?XE(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!vg)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ni))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function el(e){return function T3(){if(null==Ja&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ja=!0}))}finally{Ja=Ja||!1}return Ja}()?e:!!e.capture}function A3(){if(null==Tr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Tr=!1,Tr;if("scrollBehavior"in document.documentElement.style)Tr=!0;else{const e=Element.prototype.scrollTo;Tr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Tr}function Wi(e){return e.composedPath?e.composedPath()[0]:e.target}function bg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Wd(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class X3 extends Ke{constructor(n,t){super()}schedule(n,t=0){return this}}const Yd={setInterval(e,n,...t){const{delegate:i}=Yd;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Yd;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class Dg extends X3{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 Yd.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&&Yd.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,Il(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const qI={now:()=>(qI.delegate||Date).now(),delegate:void 0};class il{constructor(n,t=il.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}il.now=qI.now;class xg extends il{constructor(n,t=il.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 Eg=new xg(Dg),J3=Eg;function WI(e,n=Eg){return ze((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{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function YI(e){return Qt((n,t)=>e<=t)}function t4(e,n){return e===n}let n4=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),r4=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[n4]})}return e})();function ZI(e){return null!=e&&"false"!=`${e}`}function KI(e,n=0){return function o4(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function Zd(e){return Array.isArray(e)?e:[e]}function tt(e){return null==e?"":"string"==typeof e?e:`${e}px`}function ms(e){return e instanceof _e?e.nativeElement:e}const QI=new Set;let Ar,s4=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):l4}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function a4(e,n){if(!QI.has(e))try{Ar||(Ar=document.createElement("style"),n&&(Ar.nonce=n),Ar.setAttribute("type","text/css"),document.head.appendChild(Ar)),Ar.sheet&&(Ar.sheet.insertRule(`@media ${e} {body{ }}`,0),QI.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(Xh,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function l4(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let c4=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return XI(Zd(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=Sd(XI(Zd(t)).map(s=>this._registerQuery(s).observable));return o=Td(o.pipe(Tn(1)),o.pipe(YI(1),WI(0))),o.pipe(Z(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(Jo(i),Z(({matches:s})=>({query:t,matches:s})),Ue(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(C(s4),C(q))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XI(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function Kd(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}const eS="cdk-describedby-message",Qd="cdk-describedby-host";let Ig=0,h4=(()=>{class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ig++,this._document=t,this._id=x(Ws)+"-"+Ig++}describe(t,i,r){if(!this._canBeDescribed(t,i))return;const o=Sg(i,r);"string"!=typeof i?(tS(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=Sg(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(`[${Qd}="${this._id}"]`);for(let i=0;i0!=r.indexOf(eS));t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){const r=this._messageRegistry.get(i);(function d4(e,n,t){const i=Kd(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(Qd,this._id),r.referenceCount++}_removeMessageReference(t,i){const r=this._messageRegistry.get(i);r.referenceCount--,function u4(e,n,t){const i=Kd(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(Qd)}_isElementDescribedByMessage(t,i){const r=Kd(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#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(Xt))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sg(e,n){return"string"==typeof e?`${n||""}/${e}`:e}function tS(e,n){e.id||(e.id=`${eS}-${n}-${Ig++}`)}class f4{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ce,this._typeaheadSubscription=Ke.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new ce,this.change=new ce,n instanceof Go&&(this._itemChangesSubscription=n.changes.subscribe(t=>{if(this._activeItem){const r=t.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}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){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(et(t=>this._pressedLetters.push(t)),WI(n),Qt(()=>this._pressedLetters.length>0),Z(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let r=1;r!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=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem=t[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_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 this._items instanceof Go?this._items.toArray():this._items}}class p4 extends f4{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}function iS(e){return 0===e.buttons||0===e.detail}function rS(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 b4=new D("cdk-input-modality-detector-options"),w4={ignoreKeys:[18,17,224,91,16]},gs=el({passive:!0,capture:!0});let C4=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new Ut(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Wi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(iS(s)?"keyboard":"mouse"),this._mostRecentTarget=Wi(s))},this._onTouchstart=s=>{rS(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Wi(s))},this._options={...w4,...o},this.modalityDetected=this._modality.pipe(YI(1)),this.modalityChanged=this.modalityDetected.pipe(function e4(e,n=Ii){return e=e??t4,ze((t,i)=>{let r,o=!0;t.subscribe(Re(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,gs),r.addEventListener("mousedown",this._onMousedown,gs),r.addEventListener("touchstart",this._onTouchstart,gs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,gs),document.removeEventListener("mousedown",this._onMousedown,gs),document.removeEventListener("touchstart",this._onTouchstart,gs))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(q),C(ee),C(b4,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xd=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Xd||{});const x4=new D("cdk-focus-monitor-default-options"),Jd=el({passive:!0,capture:!0});let Mg=(()=>{class e{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ce,this._rootNodeFocusAndBlurListener=a=>{for(let c=Wi(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Xd.IMMEDIATE}monitor(t,i=!1){const r=ms(t);if(!this._platform.isBrowser||1!==r.nodeType)return N();const o=function k3(e){if(function R3(){if(null==yg){const e=typeof document<"u"?document.head:null;yg=!(!e||!e.createShadowRoot&&!e.attachShadow)}return yg}()){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 ce,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=ms(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=ms(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===Xd.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===Xd.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=Wi(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,Jd),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Jd)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ue(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,Jd),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Jd),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=x(c4).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Rr.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 Rr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Rr.BLACK_ON_WHITE}return Rr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Tg,sS,aS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Rr.BLACK_ON_WHITE?t.add(Tg,sS):i===Rr.WHITE_ON_BLACK&&t.add(Tg,aS)}}static#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E4=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(C(lS))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[r4]})}return e})();const I4=new D("cdk-dir-doc",{providedIn:"root",factory:function S4(){return x(ee)}}),M4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let eu=(()=>{class e{constructor(t){this.value="ltr",this.change=new ue,t&&(this.value=function T4(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?M4.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#e=this.\u0275fac=function(i){return new(i||e)(C(I4,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rl=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();const R4=new D("mat-sanity-checks",{providedIn:"root",factory:function A4(){return!0}});let kn=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!bg()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(C(lS),C(R4,8),C(ee))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[rl,rl]})}return e})(),hS=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mn=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}(mn||{});class L4{constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=mn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const fS=el({passive:!0,capture:!0});class V4{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=Wi(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}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,fS)})}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,fS)))}}const pS={enterDuration:225,exitDuration:150},mS=el({passive:!0,capture:!0}),gS=["mousedown","touchstart"],_S=["mouseup","mouseleave","touchend","touchcancel"];class tu{static#e=this._eventManager=new V4;constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=ms(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...pS,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function j4(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),f=u.transitionDuration,p="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,m=new L4(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=mn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let g=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>this._finishRippleTransition(m),_=()=>this._destroyRipple(m);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",_),g={onTransitionEnd:b,onTransitionCancel:_}}),this._activeRipples.set(m,g),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===mn.FADING_OUT||n.state===mn.HIDDEN)return;const t=n.element,i={...pS,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=mn.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=ms(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,gS.forEach(i=>{tu._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(()=>{_S.forEach(t=>{this._triggerElement.addEventListener(t,this,mS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===mn.FADING_IN?this._startFadeOutTransition(n):n.state===mn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=mn.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=mn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=iS(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(n.state===mn.VISIBLE||n.config.terminateOnPointerUp&&n.state===mn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(gS.forEach(t=>tu._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&_S.forEach(t=>n.removeEventListener(t,this,mS)))}}const nu=new D("mat-ripple-global-options");let H4=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new tu(this,i,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(q),v(Xt),v(nu,8),v(Fi,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&jt("mat-ripple-unbounded",r.unbounded)},inputs:{color:[T.None,"matRippleColor","color"],unbounded:[T.None,"matRippleUnbounded","unbounded"],centered:[T.None,"matRippleCentered","centered"],radius:[T.None,"matRippleRadius","radius"],animation:[T.None,"matRippleAnimation","animation"],disabled:[T.None,"matRippleDisabled","disabled"],trigger:[T.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return e})(),U4=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,kn]})}return e})();const vS={capture:!0},yS=["focus","click","mouseenter","touchstart"],Ag="mat-ripple-loader-uninitialized",Rg="mat-ripple-loader-class-name",bS="mat-ripple-loader-centered",iu="mat-ripple-loader-disabled";let $4=(()=>{class e{constructor(){this._document=x(ee,{optional:!0}),this._animationMode=x(Fi,{optional:!0}),this._globalRippleOptions=x(nu,{optional:!0}),this._platform=x(Xt),this._ngZone=x(q),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;const r=t.target.closest(`[${Ag}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(const t of yS)this._document?.addEventListener(t,this._onInteraction,vS)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of yS)this._document?.removeEventListener(i,this._onInteraction,vS)}configureRipple(t,i){t.setAttribute(Ag,""),(i.className||!t.hasAttribute(Rg))&&t.setAttribute(Rg,i.className||""),i.centered&&t.setAttribute(bS,""),i.disabled&&t.setAttribute(iu,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){const r=this._hosts.get(t);r?r.disabled=i:i?t.setAttribute(iu,""):t.removeAttribute(iu)}_createRipple(t){if(!this._document)return;const i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();const r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(Rg)),t.append(r);const o=new H4(new _e(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=t,o.centered=t.hasAttribute(bS),o.disabled=t.hasAttribute(iu),this.attachRipple(t,o),o}attachRipple(t,i){t.removeAttribute(Ag),this._hosts.set(t,i)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kg(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Is({next:()=>{i.unsubscribe(),e()}});return Ot(n(...t)).subscribe(i)}class Og{}class bi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,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=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(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 bi?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 bi;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof bi?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)}}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 G4{encodeKey(n){return CS(n)}encodeValue(n){return CS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const W4=/%(\d[a-f0-9])/gi,Y4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function CS(e){return encodeURIComponent(e).replace(W4,(n,t)=>Y4[t]??n)}function ru(e){return`${e}`}class Yi{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new G4,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q4(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(ru):[ru(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 Yi({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(ru(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(ru(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 Z4{constructor(){this.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 DS(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function xS(e){return typeof Blob<"u"&&e instanceof Blob}function ES(e){return typeof FormData<"u"&&e instanceof FormData}class sl{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function K4(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 bi,this.context??=new Z4,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":au.set(h,n.setHeaders[h]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,h)=>u.set(h,n.setParams[h]),c)),new sl(t,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var Fg=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}(Fg||{});class X4{constructor(n,t=SS.Ok,i="OK"){this.headers=n.headers||new bi,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 al extends X4{constructor(n={}){super(n),this.type=Fg.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new al({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})}}var SS=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(SS||{});function Pg(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 Lg=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof sl)o=t;else{let l,c;l=r.headers instanceof bi?r.headers:new bi(r.headers),r.params&&(c=r.params instanceof Yi?r.params:new Yi({fromObject:r.params})),o=new sl(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=N(o).pipe(es(l=>this.handler.handle(l)));if(t instanceof sl||"events"===r.observe)return s;const a=s.pipe(Qt(l=>l instanceof al));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Z(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(Z(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(Z(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Z(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 Yi).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,Pg(r,i))}post(t,i,r={}){return this.request("POST",t,Pg(r,i))}put(t,i,r={}){return this.request("PUT",t,Pg(r,i))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Og))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const b8=["*"];let au;function ll(e){return function w8(){if(void 0===au&&(au=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(au=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return au}()?.createHTML(e)||e}function HS(e){return Error(`Unable to find icon with the name "${e}"`)}function US(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function $S(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Or{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let lu=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Or(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(ut.HTML,r);if(!s)throw $S(r);const a=ll(s);return this._addSvgIconConfig(t,i,new Or("",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 Or(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(ut.HTML,i);if(!o)throw $S(i);const s=ll(o);return this._addSvgIconSetConfig(t,new Or("",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(ut.RESOURCE_URL,t);if(!i)throw US(t);const r=this._cachedIconsByUrl.get(i);return r?N(cu(r)):this._loadSvgIconFromConfig(new Or(t,null)).pipe(et(o=>this._cachedIconsByUrl.set(i,o)),Z(o=>cu(o)))}getNamedSvgIcon(t,i=""){const r=zS(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):Ba(HS(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?N(cu(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Z(i=>cu(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?N(r):function wS(...e){const n=L0(e),{args:t,keys:i}=V0(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{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?B0(i,a):a),o.complete())}))}});return n?r.pipe(Um(n)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Sr(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ut.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),N(null)})))).pipe(Z(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw HS(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(et(i=>t.svgText=i),Z(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?N(null):this._fetchIcon(t).pipe(et(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(ll(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(ll("")),r=t.attributes;for(let o=0;oll(c)),Rd(()=>this._inProgressUrlFetches.delete(s)),function z4(e={}){const{connector:n=(()=>new ce),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return ze((m,g)=>{c++,!u&&!d&&h();const b=l=l??n();g.add(()=>{c--,0===c&&!u&&!d&&(a=kg(p,r))}),b.subscribe(g),!s&&c>0&&(s=new Is({next:_=>b.next(_),error:_=>{u=!0,h(),a=kg(f,t,_),b.error(_)},complete:()=>{d=!0,h(),a=kg(f,i),b.complete()}}),Ot(m).subscribe(s))})(o)}}());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(zS(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;rn?n.pathname+n.search:""}}}),GS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],M8=GS.map(e=>`[${e}]`).join(", "),T8=/^url\(['"]?#(.*?)['"]?\)$/;let A8=(()=>{class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,r,o,s,a){this._elementRef=t,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ke.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.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(M8),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(T8):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(Tn(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(lu),lr("aria-hidden"),v(I8),v(on),v(E8,8))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(je("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),bp(r.color?"mat-"+r.color:""),jt("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[T.HasDecoratorInputTransform,"inline","inline",Fe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[qn,Qn],ngContentSelectors:b8,decls:1,vars:0,template:function(i,r){1&i&&(Hi(),Mt(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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})(),R8=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,kn]})}return e})();function du(...e){const n=Va(e),t=function GU(e,n){return"number"==typeof Hm(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Ot(i[0]):Xo(t)(lt(i,n)):Jn}const On=new D("");Promise.resolve(),Promise.resolve();var $=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}($||{});const Ci="*";function gn(e){return{type:$.Style,styles:e,offset:null}}class ml{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=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 ZM{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,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}}function $5(e,n){1&e&&(R(0,"span",7),Mt(1,1),L())}function z5(e,n){1&e&&(R(0,"span",8),Mt(1,2),L())}const KM=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],QM=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function G5(e,n){1&e&&(R(0,"span",8),Mt(1,1),R(2,"span",9),function ly(){U.lFrame.currentNamespace=Uv}(),R(3,"svg",10),cn(4,"path",11),L()()())}function q5(e,n){1&e&&(R(0,"span",12),Mt(1,2),L())}const s_=["*"],Cu=new D("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),a_=new D("MatChipAvatar"),l_=new D("MatChipTrailingIcon"),c_=new D("MatChipRemove"),Du=new D("MatChip");let vs=(()=>{class e{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=t}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,i){this._elementRef=t,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,"BUTTON"===t.nativeElement.nodeName&&t.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#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(Du))};static#t=this.\u0275dir=k({type:e,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,r){1&i&&Ne("click",function(s){return r._handleClick(s)})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(je("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),jt("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:[T.HasDecoratorInputTransform,"disabled","disabled",Fe],tabIndex:[T.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?-1:lm(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[qn]})}return e})(),oG=0,ys=(()=>{class e{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}constructor(t,i,r,o,s,a,l,c){this._changeDetectorRef=t,this._elementRef=i,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=l,this._onFocus=new ce,this._onBlur=new ce,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+oG++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new ue,this.destroyed=new ue,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=x($4),this._document=s,this._animationsDisabled="NoopAnimations"===a,null!=c&&(this.tabIndex=parseInt(c)??-1),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=du(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||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(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_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}):this._ngZone.onStable.pipe(Tn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Gn),v(_e),v(q),v(Mg),v(ee),v(Fi,8),v(nu,8),lr("tabindex"))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,o){if(1&i&&(dn(o,a_,5),dn(o,l_,5),dn(o,c_,5),dn(o,a_,5),dn(o,l_,5),dn(o,c_,5)),2&i){let s;Tt(s=At())&&(r.leadingIcon=s.first),Tt(s=At())&&(r.trailingIcon=s.first),Tt(s=At())&&(r.removeIcon=s.first),Tt(s=At())&&(r._allLeadingIcons=s),Tt(s=At())&&(r._allTrailingIcons=s),Tt(s=At())&&(r._allRemoveIcons=s)}},viewQuery:function(i,r){if(1&i&&Xc(vs,5),2&i){let o;Tt(o=At())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(i,r){1&i&&Ne("keydown",function(s){return r._handleKeydown(s)}),2&i&&(br("id",r.id),je("role",r.role)("tabindex",r._getTabIndex())("aria-label",r.ariaLabel),bp("mat-"+(r.color||"primary")),jt("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:[T.None,"aria-label","ariaLabel"],ariaDescription:[T.None,"aria-description","ariaDescription"],value:"value",color:"color",removable:[T.HasDecoratorInputTransform,"removable","removable",Fe],highlighted:[T.HasDecoratorInputTransform,"highlighted","highlighted",Fe],disableRipple:[T.HasDecoratorInputTransform,"disableRipple","disableRipple",Fe],disabled:[T.HasDecoratorInputTransform,"disabled","disabled",Fe],tabIndex:[T.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?void 0:lm(t)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[le([{provide:Du,useExisting:e}]),qn,Qn],ngContentSelectors:QM,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","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-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(Hi(KM),cn(0,"span",0),R(1,"span",1)(2,"span",2),Te(3,$5,2,0,"span",3),R(4,"span",4),Mt(5),cn(6,"span",5),L()()(),Te(7,z5,2,0,"span",6)),2&i&&(O(2),X("isInteractive",!1),O(),Kn(3,r.leadingIcon?3:-1),O(4),Kn(7,r._hasTrailingIcon()?7:-1))},dependencies:[vs],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.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)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{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__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.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 .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),d_=(()=>{class e extends ys{constructor(){super(...arguments),this._defaultOptions=x(Cu,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new ue}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=t,this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(t){this._setSelectedState(t,!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}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#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275cmp=nn({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&&(br("id",r.id),je("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),jt("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:[T.HasDecoratorInputTransform,"selectable","selectable",Fe],selected:[T.HasDecoratorInputTransform,"selected","selected",Fe]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[le([{provide:ys,useExisting:e},{provide:Du,useExisting:e}]),qn,ne,Qn],ngContentSelectors:QM,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","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-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[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"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(Hi(KM),cn(0,"span",0),R(1,"span",1)(2,"button",2),Te(3,G5,5,0,"span",3),R(4,"span",4),Mt(5),cn(6,"span",5),L()()(),Te(7,q5,2,0,"span",6),R(8,"span",7),he(9),L()),2&i&&(O(2),X("tabIndex",r.tabIndex)("_allowFocusWhenDisabled",!0),je("aria-selected",r.ariaSelected)("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),O(),Kn(3,r._hasLeadingGraphic()?3:-1),O(4),Kn(7,r._hasTrailingIcon()?7:-1),O(),X("id",r._ariaDescriptionId),O(),qo(r.ariaDescription))},dependencies:[vs],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.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)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{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__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.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 .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),u_=(()=>{class e{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()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(t){this._explicitRole=t}get focused(){return this._hasFocusedChip()}constructor(t,i,r){this._elementRef=t,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new ce,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Go}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&&this._chips.forEach(t=>{t.disabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&tthis.tabIndex=t)}}_getChipStream(t){return this._chips.changes.pipe(Jo(null),Mn(()=>du(...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(Jo(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 p4(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(Ue(this._destroyed)).subscribe(({chip:t})=>{const i=t._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(Ue(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Jo(null),Ue(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Ue(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#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(Gn),v(eu,8))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-chip-set"]],contentQueries:function(i,r,o){if(1&i&&dn(o,ys,5),2&i){let s;Tt(s=At())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,r){1&i&&Ne("keydown",function(s){return r._handleKeydown(s)}),2&i&&je("role",r.role)},inputs:{disabled:[T.HasDecoratorInputTransform,"disabled","disabled",Fe],role:"role",tabIndex:[T.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?0:lm(t)]},standalone:!0,features:[qn,Qn],ngContentSelectors:s_,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Hi(),R(0,"div",0),Mt(1),L())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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 sG{constructor(n,t){this.source=n,this.value=t}}const aG={provide:On,useExisting:we(()=>h_),multi:!0};let h_=(()=>{class e extends u_{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=x(Cu,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(t,i)=>t===i,this.required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new ue,this._chips=void 0}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._syncListboxProperties()}get selected(){const t=this._chips.toArray().filter(i=>i.selected);return this.multiple?t:t[0]}get selectable(){return this._selectable}set selectable(t){this._selectable=t,this._syncListboxProperties()}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncListboxProperties()}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}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(Jo(null),Ue(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(Ue(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Ue(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 sG(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#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-chip-listbox"]],contentQueries:function(i,r,o){if(1&i&&dn(o,d_,5),2&i){let s;Tt(s=At())&&(r._chips=s)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(i,r){1&i&&Ne("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(s){return r._keydown(s)}),2&i&&(br("tabIndex",r.disabled||r.empty?-1:r.tabIndex),je("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),jt("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[T.HasDecoratorInputTransform,"multiple","multiple",Fe],ariaOrientation:[T.None,"aria-orientation","ariaOrientation"],selectable:[T.HasDecoratorInputTransform,"selectable","selectable",Fe],compareWith:"compareWith",required:[T.HasDecoratorInputTransform,"required","required",Fe],hideSingleSelectionIndicator:[T.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Fe],value:"value"},outputs:{change:"change"},standalone:!0,features:[le([aG]),qn,ne,Qn],ngContentSelectors:s_,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Hi(),R(0,"div",0),Mt(1),L())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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})(),uG=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[hS,{provide:Cu,useValue:{separatorKeyCodes:[13]}}],imports:[kn,U4,kn]})}return e})();const hG=["addListener","removeListener"],fG=["addEventListener","removeEventListener"],pG=["on","off"];function f_(e,n,t,i){if(se(t)&&(i=t,t=void 0),i)return f_(e,n,t).pipe(Um(i));const[r,o]=function _G(e){return se(e.addEventListener)&&se(e.removeEventListener)}(e)?fG.map(s=>a=>e[s](n,a,t)):function mG(e){return se(e.addListener)&&se(e.removeListener)}(e)?hG.map(tT(e,n)):function gG(e){return se(e.on)&&se(e.off)}(e)?pG.map(tT(e,n)):[];if(!r&&jm(e))return ht(s=>f_(s,n,t))(Ot(e));if(!r)throw new TypeError("Invalid event target");return new Ve(s=>{const a=(...l)=>s.next(1o(a)})}function tT(e,n){return t=>i=>e[t](n,i)}const gl={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=gl;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Ke(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=gl;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=gl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class yG extends xg{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 vG extends Dg{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=gl.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&&(gl.cancelAnimationFrame(t),n._scheduled=void 0)}});let p_,wG=1;const Eu={};function nT(e){return e in Eu&&(delete Eu[e],!0)}const CG={setImmediate(e){const n=wG++;return Eu[n]=!0,p_||(p_=Promise.resolve()),p_.then(()=>nT(n)&&e()),n},clearImmediate(e){nT(e)}},{setImmediate:DG,clearImmediate:xG}=CG,Iu={setImmediate(...e){const{delegate:n}=Iu;return(n?.setImmediate||DG)(...e)},clearImmediate(e){const{delegate:n}=Iu;return(n?.clearImmediate||xG)(e)},delegate:void 0};new class IG extends xg{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 EG extends Dg{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=Iu.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&&(Iu.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function iT(e,n=Eg){return function MG(e){return ze((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(Re(t,c=>{i=!0,r=c,o||Ot(e(c)).subscribe(o=Re(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function AG(e=0,n,t=J3){let i=-1;return null!=n&&(P0(n)?t=n:i=n),new Ve(r=>{let o=function TG(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)})}(e,n))}let rT=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ve(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(iT(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):N()}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(Qt(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=ms(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>f_(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(C(q),C(Xt),C(ee,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oT=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new ce,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(iT(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#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(q),C(ee,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_l=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})(),sT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[rl,_l,rl,_l]})}return e})();class m_{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 aT extends m_{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class OG extends m_{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 NG extends m_{constructor(n){super(),this.element=n instanceof _e?n.nativeElement:n}}class FG{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof aT?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof OG?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof NG?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class PG extends FG{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||yt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}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}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let lT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();const cT=A3();class LG{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,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=tt(-this._previousScrollPosition.left),n.style.top=tt(-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"),cT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),cT&&(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 VG{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Qt(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}}class dT{enable(){}disable(){}attach(){}}function g_(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function uT(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class BG{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}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();g_(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 jG=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new dT,this.close=s=>new VG(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new LG(this._viewportRuler,this._document),this.reposition=s=>new BG(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(i){return new(i||e)(C(rT),C(oT),C(q),C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class HG{constructor(n){if(this.scrollStrategy=new dT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class UG{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let hT=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$G=(()=>{class e extends hT{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(q,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zG=(()=>{class e extends hT{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Wi(o)},this._clickListener=o=>{const s=Wi(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(Xt),C(q,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fT=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||bg()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new ce,this._outsidePointerEvents=new ce,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(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._ngZone.onStable.pipe(Tn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),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._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(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=tt(this._config.width),n.height=tt(this._config.height),n.minWidth=tt(this._config.minWidth),n.minHeight=tt(this._config.minHeight),n.maxWidth=tt(this._config.maxWidth),n.maxHeight=tt(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=Zd(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Ue(du(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 pT="cdk-overlay-connected-position-bounding-box",qG=/([A-Za-z%]+)$/;class WG{get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ce,this._resizeSubscription=Ke.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(pT),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.visibleAreal&&(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&&Vr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(pT),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=gT(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),g=p*m;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,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=mT(this._overlayRef.getConfig().minHeight),a=mT(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=gT(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.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-n.x+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 f=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*f,u=n.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:h,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=tt(i.height),r.top=tt(i.top),r.bottom=tt(i.bottom),r.width=tt(i.width),r.left=tt(i.left),r.right=tt(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=tt(o)),s&&(r.maxWidth=tt(s))}this._lastBoundingBoxSize=i,Vr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Vr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Vr(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();Vr(i,this._getExactOverlayY(t,n,d)),Vr(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=tt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=tt(s.maxWidth):o&&(i.maxWidth="")),Vr(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=tt(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=tt(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:uT(n,i),isOriginOutsideView:g_(n,i),isOverlayClipped:uT(t,i),isOverlayOutsideView:g_(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&&Zd(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 _e)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 Vr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function mT(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(qG);return t&&"px"!==t?null:parseFloat(n)}return e||null}function gT(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 _T="cdk-global-overlay-wrapper";class YG{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._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(_T),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,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===d?(m="center",h?p=u:f=u):h?"left"===d||"end"===d?(m="flex-end",f=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",f=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":f,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(_T),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let ZG=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new YG}flexibleConnectedTo(t){return new WG(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||e)(C(oT),C(ee),C(Xt),C(fT))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KG=0,bs=(()=>{class e{constructor(t,i,r,o,s,a,l,c,d,u,h,f){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new HG(t);return s.direction=s.direction||this._directionality.value,new GG(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+KG++,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(Ui)),new PG(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||e)(C(jG),C(fT),C(ra),C(ZG),C($G),C(yt),C(q),C(ee),C(eu),C(Ko),C(zG),C(Fi,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const JG={provide:new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=x(bs);return()=>e.scrollStrategies.reposition()}}),deps:[bs],useFactory:function XG(e){return()=>e.scrollStrategies.reposition()}};let eq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[bs,JG],imports:[rl,lT,sT,sT]})}return e})();const tq=["tooltip"],yT=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const e=x(bs);return()=>e.scrollStrategies.reposition({scrollThrottle:20})}}),iq={provide:yT,deps:[bs],useFactory:function nq(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},oq=new D("mat-tooltip-default-options",{providedIn:"root",factory:function rq(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),bT="tooltip-panel",wT=el({passive:!0});let uq=(()=>{class e{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=ZI(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=ZI(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=KI(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=KI(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,r,o,s,a,l,c,d,u,h,f){this._overlay=t,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=h,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=hq,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ce,this._scrollStrategy=d,this._document=f,h&&(this._showDelay=h.showDelay,this._hideDelay=h.hideDelay,h.position&&(this.position=h.position),h.positionAtOrigin&&(this.positionAtOrigin=h.positionAtOrigin),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe(Ue(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ue(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{t.removeEventListener(i,r,wT)}),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 aT(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(Ue(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 _e)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(Ue(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}-${bT}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ue(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ue(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ue(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Wd(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(),this._ngZone.onMicrotaskEmpty.pipe(Tn(1),Ue(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_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}-${bT}-`;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(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),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=()=>{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,wT)})}_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"}}static#e=this.\u0275fac=function(i){return new(i||e)(v(bs),v(_e),v(rT),v(sn),v(q),v(Xt),v(h4),v(Mg),v(yT),v(eu),v(oq,8),v(ee))};static#t=this.\u0275dir=k({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){2&i&&jt("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[T.None,"matTooltipPosition","position"],positionAtOrigin:[T.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[T.None,"matTooltipDisabled","disabled"],showDelay:[T.None,"matTooltipShowDelay","showDelay"],hideDelay:[T.None,"matTooltipHideDelay","hideDelay"],touchGestures:[T.None,"matTooltipTouchGestures","touchGestures"],message:[T.None,"matTooltip","message"],tooltipClass:[T.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return e})(),hq=(()=>{class e{constructor(t,i,r){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ce,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===r}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,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#e=this.\u0275fac=function(i){return new(i||e)(v(Gn),v(_e),v(Fi,8))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(1&i&&Xc(tq,7),2&i){let o;Tt(o=At())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,r){1&i&&Ne("mouseleave",function(s){return r._handleMouseLeave(s)}),2&i&&wt("zoom",r.isVisible()?1:null)},standalone:!0,features:[Qn],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,r){1&i&&(R(0,"div",0,1),Ne("animationend",function(s){return r._handleAnimationEnd(s)}),R(2,"div",2),he(3),L()()),2&i&&(jt("mdc-tooltip--multiline",r._isMultiline),X("ngClass",r.tooltipClass),O(3),qo(r.message))},dependencies:[HE],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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})(),fq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[iq],imports:[E4,KE,eq,kn,kn,_l]})}return e})();function pq(e,n){if(1&e&&(R(0,"a",10),Ne("click",function(i){return i.stopPropagation()}),he(1),L()),2&e){const t=Ae().$implicit;Mp("href","https://store.steampowered.com/app/"+t.titleId,_o),O(),un(" ",t.game_name," ")}}function mq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit;O(),un(" ",t.game_name," ")}}function gq(e,n){if(1&e){const t=function KC(){return w()}();R(0,"mat-chip-option",11),Ne("click",function(r){const s=function Kv(e){return U.lFrame.contextLView=e,e[De]}(t).$implicit,a=Ae().$implicit;return function Qv(e){return U.lFrame.contextLView=null,e}(Ae().onEngineClicked(r,a,s.key))}),he(1),L()}if(2&e){const t=n.$implicit,i=Ae().$implicit;X("selected",Ae().titleEnginePicked[i.titleId]==t.key)("value",t.key),O(),un(" ",t.key," ")}}function _q(e,n){1&e&&(R(0,"mat-icon",29),he(1," sports_esports "),L()),2&e&&wt("color","darkgray")}function vq(e,n){1&e&&(R(0,"mat-icon",30),he(1," sports_esports "),L()),2&e&&wt("color","red")}function yq(e,n){1&e&&(R(0,"mat-icon",31),he(1," sports_esports "),L()),2&e&&wt("color","green")}function bq(e,n){1&e&&(R(0,"mat-icon",32),he(1," sports_esports "),L()),2&e&&wt("color","yellow")}function wq(e,n){1&e&&(R(0,"mat-icon",33),he(1," sports_esports "),L()),2&e&&wt("color","yellow")}function Cq(e,n){1&e&&(R(0,"mat-icon",34),he(1," sports_esports "),L()),2&e&&wt("color","yellow")}function Dq(e,n){1&e&&(R(0,"mat-icon",35),he(1," cloud_off "),L()),2&e&&wt("color","darkgray")}function xq(e,n){if(1&e&&(R(0,"mat-icon",14),he(1," cloud "),L()),2&e){const t=Ae(2).$implicit,i=Ae();wt("color","red"),X("matTooltip","Game Has Cloud Saves But Not Supported Due to "+i.translate_key(t.cloudIssueReason))}}function Eq(e,n){1&e&&(R(0,"mat-icon",36),he(1," cloud "),L()),2&e&&wt("color","darkgray")}function Iq(e,n){1&e&&(R(0,"mat-icon",37),he(1," cloud "),L()),2&e&&wt("color","green")}function Sq(e,n){if(1&e&&(R(0,"div",9)(1,"div",25),he(2,"Version"),L(),R(3,"div",26),he(4),L()()),2&e){const t=Ae(2).$implicit,i=Ae();O(4),un(" ",t.engines[i.titleEnginePicked[t.titleId]].version," ")}}function Mq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit;O(),un(" ",t.label," ")}}function Tq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit,i=Ae(5);O(),un(" ",i.NOTICE_MAP[t.value]," ")}}function Aq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit,i=Ae(5);O(),un(" ",i.NOTICE_MAP[t.key]," ")}}function Rq(e,n){if(1&e&&(R(0,"li"),Te(1,Mq,2,1,"div",6)(2,Tq,2,1,"div",6)(3,Aq,2,1,"div",6),L()),2&e){const t=n.$implicit;O(),X("ngIf",t.label),O(),X("ngIf",t.value),O(),X("ngIf",t.key&&!t.value&&!t.label)}}function kq(e,n){if(1&e&&(Ho(0),Te(1,Rq,4,3,"li",38),Uo()),2&e){const t=Ae(3).$implicit,i=Ae();O(),X("ngForOf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function Oq(e,n){if(1&e&&(Ho(0),R(1,"div",12)(2,"ul"),Te(3,kq,2,1,"ng-container",6),L()(),Uo()),2&e){const t=Ae(2).$implicit,i=Ae();O(3),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function Nq(e,n){if(1&e&&(Ho(0),R(1,"div",12)(2,"div",9)(3,"div",13)(4,"mat-icon",14),he(5," install_desktop "),L(),R(6,"mat-icon",14),he(7," desktop_windows "),L(),R(8,"mat-icon",14),he(9," construction "),L(),Te(10,_q,2,2,"mat-icon",15)(11,vq,2,2,"mat-icon",16)(12,yq,2,2,"mat-icon",17)(13,bq,2,2,"mat-icon",18)(14,wq,2,2,"mat-icon",19)(15,Cq,2,2,"mat-icon",20)(16,Dq,2,2,"mat-icon",21)(17,xq,2,3,"mat-icon",22)(18,Eq,2,2,"mat-icon",23)(19,Iq,2,2,"mat-icon",24),L()(),R(20,"div",9)(21,"div",25),he(22,"Engine"),L(),R(23,"div",26)(24,"a",27),he(25),L()()(),R(26,"div",9)(27,"div",25),he(28,"License"),L(),R(29,"div",26)(30,"a",27),he(31),L()()(),Te(32,Sq,5,1,"div",28),R(33,"div",9)(34,"div",25),he(35,"Contributor"),L(),R(36,"div",26)(37,"a",27),he(38),L()()()(),Te(39,Oq,4,1,"ng-container",6),Uo()),2&e){const t=Ae().$implicit,i=Ae();O(4),wt("color",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"yellow":"green"),X("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"Manual Steps Required":"Automatic Installation"),O(2),wt("color",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"red":"green"),X("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"Steam Overlay Disabled":"Steam Overlay Enabled"),O(2),wt("color",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"yellow":"green"),X("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"Engine May Have Missing Features":"Engine Considered Feature Complete"),O(2),X("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)),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerNotSupported),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&t.controllerSteamDefault),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&t.controllerSteamDefault),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&!t.controllerSteamDefault),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&!t.controllerSteamDefault),O(),X("ngIf",t.cloudNotAvailable),O(),X("ngIf",t.cloudAvailable&&t.cloudIssue),O(),X("ngIf",t.cloudAvailable&&!t.cloudSupported&&!t.cloudIssue),O(),X("ngIf",t.cloudAvailable&&t.cloudSupported),O(5),X("href",t.engines[i.titleEnginePicked[t.titleId]].engine_link,_o),O(),qo(i.titleEnginePicked[t.titleId]),O(5),X("href",t.engines[i.titleEnginePicked[t.titleId]].license_link,_o),O(),un(" ",t.engines[i.titleEnginePicked[t.titleId]].license," "),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].version),O(5),X("href",t.engines[i.titleEnginePicked[t.titleId]].author_link,_o),O(),un(" ",t.engines[i.titleEnginePicked[t.titleId]].author," "),O(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices||t.notices)}}function Fq(e,n){if(1&e&&(R(0,"div",2)(1,"div",3)(2,"div",4),Te(3,pq,2,2,"a",5)(4,mq,2,1,"div",6),L(),R(5,"div",7)(6,"mat-chip-listbox"),Te(7,gq,2,3,"mat-chip-option",8),function Dx(e,n){const t=te();let i;const r=e+G;t.firstCreatePass?(i=function WV(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=rr(i.type)),a=Pt(v);try{const l=ql(!1),c=o();return ql(l),function aV(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{Pt(a)}}(8,"keyvalue"),L()()(),R(9,"div",9),Te(10,Nq,40,27,"ng-container",6),L()()),2&e){const t=n.$implicit,i=Ae();O(3),X("ngIf",!t.isDefault),O(),X("ngIf",t.isDefault),O(3),X("ngForOf",xx(8,4,t.engines)),O(3),X("ngIf",i.titleEnginePicked[t.titleId])}}const Pq=[{path:"**",component:(()=>{class e{constructor(){this.titles=[],this.titleEnginePicked={},this.NOTICE_MAP={},this.runControllerCheck=!0}ngOnInit(){var t=this;return function Dl(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var o=e.apply(n,t);function s(l){Ds(o,i,r,s,a,"next",l)}function a(l){Ds(o,i,r,s,a,"throw",l)}s(void 0)})}}(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_nameo.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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["app-packages"]],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,"href","click"],[3,"selected","value","click"],[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&&(R(0,"div",0),Te(1,Fq,11,6,"div",1),L()),2&i&&(O(),X("ngForOf",r.titles))},dependencies:[$E,GE,A8,h_,d_,uq,YE],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})()}];let Lq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[UI.forRoot(Pq),UI]})}return e})(),Vq=(()=>{class e{constructor(){this.title="webui"}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,r){1&i&&cn(0,"router-outlet")},dependencies:[sg]})}return e})();function CT(e){return new y(3e3,!1)}function Xi(e){switch(e.length){case 0:return new ml;case 1:return e[0];default:return new ZM(e)}}function DT(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((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(f);break;case Ci:m=i.get(f);break;default:m=e.normalizeStyleValue(f,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function aW(e){return new y(3502,!1)}();return o}function __(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&v_(t,"start",e)));break;case"done":e.onDone(()=>i(t&&v_(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&v_(t,"destroy",e)))}}function v_(e,n,t){const o=y_(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 y_(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Jt(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function xT(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const yW=typeof document>"u"?null:document.documentElement;function b_(e){const n=e.parentNode||e.host||null;return n===yW?null:n}let Br=null,ET=!1;function IT(e,n){for(;n;){if(n===e)return!0;n=b_(n)}return!1}function ST(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let w_=(()=>{class e{validateStyleProperty(t){return function wW(e){Br||(Br=function CW(){return typeof document<"u"?document.body:null}()||{},ET=!!Br.style&&"WebkitAppearance"in Br.style);let n=!0;return Br.style&&!function bW(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Br.style,!n&&ET&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Br.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return IT(t,i)}getParentElement(t){return b_(t)}query(t,i,r){return ST(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new ml(r,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class C_{static#e=this.NOOP=new w_}class D_{}const xW=1e3,x_="ng-enter",Su="ng-leave",Mu="ng-trigger",Tu=".ng-trigger",TT="ng-animating",E_=".ng-animating";function xi(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:I_(parseFloat(n[1]),n[2])}function I_(e,n){return"s"===n?e*xW:e}function Au(e,n,t){return e.hasOwnProperty("duration")?e:function IW(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(CT()),{duration:0,delay:0,easing:""};r=I_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=I_(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 Bq(){return new y(3100,!1)}()),a=!0),o<0&&(n.push(function jq(){return new y(3101,!1)}()),a=!0),a&&n.splice(l,0,CT())}return{duration:r,delay:o,easing:s}}(e,n,t)}function ri(e,n,t){n.forEach((i,r)=>{const o=M_(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function jr(e,n){n.forEach((t,i)=>{const r=M_(i);e.style[r]=""})}function vl(e){return Array.isArray(e)?1==e.length?e[0]:function R5(e,n=null){return{type:$.Sequence,steps:e,options:n}}(e):e}const S_=new RegExp("{{\\s*(.+?)\\s*}}","g");function RT(e){let n=[];if("string"==typeof e){let t;for(;t=S_.exec(e);)n.push(t[1]);S_.lastIndex=0}return n}function yl(e,n,t){const i=`${e}`,r=i.replace(S_,(o,s)=>{let a=n[s];return null==a&&(t.push(function Uq(e){return new y(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const TW=/-+([a-z0-9])/g;function M_(e){return e.replace(TW,(...n)=>n[1].toUpperCase())}function en(e,n,t){switch(n.type){case $.Trigger:return e.visitTrigger(n,t);case $.State:return e.visitState(n,t);case $.Transition:return e.visitTransition(n,t);case $.Sequence:return e.visitSequence(n,t);case $.Group:return e.visitGroup(n,t);case $.Animate:return e.visitAnimate(n,t);case $.Keyframes:return e.visitKeyframes(n,t);case $.Style:return e.visitStyle(n,t);case $.Reference:return e.visitReference(n,t);case $.AnimateChild:return e.visitAnimateChild(n,t);case $.AnimateRef:return e.visitAnimateRef(n,t);case $.Query:return e.visitQuery(n,t);case $.Stagger:return e.visitStagger(n,t);default:throw function $q(e){return new y(3004,!1)}()}}function T_(e,n){return window.getComputedStyle(e)[n]}const kW=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 kT extends D_{normalizePropertyName(n,t){return M_(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(kW.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 zq(e,n){return new y(3005,!1)}())}return s+o}}const Ru="*";const ku=new Set(["true","1"]),Ou=new Set(["false","0"]);function OT(e,n){const t=ku.has(e)||Ou.has(e),i=ku.has(n)||Ou.has(n);return(r,o)=>{let s=e==Ru||e==r,a=n==Ru||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?ku.has(e):Ou.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?ku.has(n):Ou.has(n)),s&&a}}const PW=new RegExp("s*:selfs*,?","g");function A_(e,n,t,i){return new LW(e).build(n,t,i)}class LW{constructor(n){this._driver=n}build(n,t,i){const r=new jW(t);return this._resetContextStyleTimingState(r),en(this,vl(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 Gq(){return new y(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==$.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==$.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function qq(){return new y(3007,!1)}())}),{type:$.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=>{RT(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function Wq(e,n){return new y(3008,!1)}(0,o.values()))}return{type:$.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=en(this,vl(n.animation),t),r=function OW(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function NW(e,n,t){if(":"==e[0]){const l=function FW(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) *"}}(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 nW(e){return new y(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(OT(r,s)),"<"==o[0]&&(r!=Ru||s!=Ru)&&n.push(OT(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:$.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Hr(n.options)}}visitSequence(n,t){return{type:$.Sequence,steps:n.steps.map(i=>en(this,i,t)),options:Hr(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:$.Group,steps:o,options:Hr(n.options)}}visitAnimate(n,t){const i=function UW(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return R_(Au(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=R_(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Au(t,n);return R_(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:gn({});if(o.type==$.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=gn(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:$.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===Ci?i.push(a):t.errors.push(new y(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:$.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 Zq(e,n,t,i,r){return new y(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function MW(e,n,t){const i=n.params||{},r=RT(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function Hq(e){return new y(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:$.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Kq(){return new y(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(b=>{const _=this._makeStyleAst(b,t);let S=null!=_.offset?_.offset:function HW(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}(_.styles),M=0;return null!=S&&(o++,M=_.offset=S),l=l||M<0||M>1,a=a||M0&&o{const S=h>0?_==f?1:h*_:s[_],M=S*g;t.currentTime=p+m.delay+M,m.duration=M,this._validateStyleAst(b,t),b.offset=S,i.styles.push(b)}),i}visitReference(n,t){return{type:$.Reference,animation:en(this,vl(n.animation),t),options:Hr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:$.AnimateChild,options:Hr(n.options)}}visitAnimateRef(n,t){return{type:$.AnimateRef,animation:this.visitReference(n.animation,t),options:Hr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function VW(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(PW,"")),e=e.replace(/@\*/g,Tu).replace(/@\w+/g,t=>Tu+"-"+t.slice(1)).replace(/:animating/g,E_),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Jt(t.collectedStyles,t.currentQuerySelector,new Map);const a=en(this,vl(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:$.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Hr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function eW(){return new y(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Au(n.timings,t.errors,!0);return{type:$.Stagger,animation:en(this,vl(n.animation),t),timings:i,options:null}}}class jW{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hr(e){return e?(e={...e}).params&&(e.params=function BW(e){return e?{...e}:null}(e.params)):e={},e}function R_(e,n,t){return{duration:e,delay:n,easing:t}}function k_(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 Nu{constructor(){this._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 GW=new RegExp(":enter","g"),WW=new RegExp(":leave","g");function O_(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new YW).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class YW{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new Nu;const u=new N_(n,t,c,r,o,d,[]);u.options=l;const h=l.delay?xi(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),en(this,i,u);const f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const g=f[m];if(g.element===t){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[k_(t,[],[],[],0,h,"",!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:xi(yl(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?xi(i.duration):null,a=null!=i.delay?xi(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==$.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Fu);const s=xi(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?xi(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 Au(t.params?yl(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==$.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?xi(r.delay):0;o&&(t.previousNode.type===$.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Fu);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 Fu={};class N_{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.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Fu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Pu(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=xi(i.duration)),null!=i.delay&&(r.delay=xi(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]=yl(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 N_(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=Fu,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 ZW(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(GW,"."+this._enterClassName)).replace(WW,"."+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 tW(e){return new y(3014,!1)}()),a}}class Pu{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(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 Pu(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||Ci),this._currentKeyframe.set(t,Ci);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function KW(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,Ci)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=yl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ci),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===Ci&&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 k_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class ZW extends Pu{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",PT(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let h=new Map(n[u]);const f=h.get("offset");h.set("offset",PT((t+f*i)/s)),o.push(h)}i=s,t=0,r="",n=o}return k_(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function PT(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function LT(e,n,t,i,r,o,s,a,l,c,d,u,h){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:h}}const F_={};class VT{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function QW(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=[],h=this.ast.options&&this.ast.options.params||F_,p=this.buildStyles(i,a&&a.params||F_,u),m=l&&l.params||F_,g=this.buildStyles(r,m,u),b=new Set,_=new Map,S=new Map,M="void"===r,V={params:BT(m,h),delay:this.ast.options?.delay},re=d?[]:O_(n,t,this.ast.animation,o,s,p,g,V,c,u);let Ze=0;return re.forEach(ft=>{Ze=Math.max(ft.duration+ft.delay,Ze)}),u.length?LT(t,this._triggerName,i,r,M,p,g,[],[],_,S,Ze,u):(re.forEach(ft=>{const Ei=ft.element,Cs=Jt(_,Ei,new Set);ft.preStyleProps.forEach(Ur=>Cs.add(Ur));const tA=Jt(S,Ei,new Set);ft.postStyleProps.forEach(Ur=>tA.add(Ur)),Ei!==t&&b.add(Ei)}),LT(t,this._triggerName,i,r,M,p,g,re,[...b.values()],_,S,Ze))}}function BT(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class XW{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=BT(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=yl(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class e6{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new XW(r.style,r.options&&r.options.params||{},i))}),jT(this.states,"true","1"),jT(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new VT(n,r,this.states))}),this.fallbackTransition=function t6(e,n,t){return new VT(e,{type:$.Transition,animation:{type:$.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 jT(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 n6=new Nu;class i6{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=A_(this._driver,t,i,[]);if(i.length)throw function lW(e){return new y(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=DT(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=O_(this._driver,t,o,x_,Su,new Map,new Map,i,n6,r),s.forEach(d=>{const u=Jt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function cW(){return new y(3300,!1)}()),s=[]),r.length)throw function dW(e){return new y(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,Ci))})});const c=Xi(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 uW(e){return new y(3301,!1)}();return t}listen(n,t,i,r){const o=y_(t,"","","");return __(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 HT="ng-animate-queued",P_="ng-animate-disabled",l6=[],UT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},c6={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed";class L_{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function f6(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 bl="void",V_=new L_(bl);class d6{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,_n(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function hW(e,n){return new y(3302,!1)}();if(null==i||0==i.length)throw function fW(e){return new y(3303,!1)}();if(!function p6(e){return"start"==e||"done"==e}(i))throw function pW(e,n){return new y(3400,!1)}();const o=Jt(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Jt(this._engine.statesByElement,n,new Map);return a.has(t)||(_n(n,Mu),_n(n,Mu+"-"+t),a.set(t,V_)),()=>{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 mW(e){return new y(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new B_(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(_n(n,Mu),_n(n,Mu+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new L_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=V_),c.value!==bl&&l.value===c.value){if(!function _6(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r{jr(n,g),ri(n,b)})}return}const h=Jt(this._engine.playersByElement,n,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(_n(n,HT),s.onStart(()=>{ws(n,HT)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(n);if(g){let b=g.indexOf(s);b>=0&&g.splice(b,1)}}),this.players.push(s),h.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,Tu,!0);i.forEach(r=>{if(r[Nn])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,bl,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Xi(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)||V_,d=new L_(bl),u=new B_(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[Nn];(!o||o===UT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){_n(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=y_(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,__(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 u6{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}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 d6(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(Lu(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!Lu(t))return;const o=t[Nn];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),_n(n,P_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),ws(n,P_))}removeNode(n,t,i){if(Lu(t)){this.scheduler?.notify();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[Nn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return Lu(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,Tu,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,E_,!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 Xi(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Nn];if(t&&t.setForRemoval){if(n[Nn]=UT,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(P_)&&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;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Xi(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function gW(e){return new y(3402,!1)}()}_flushAnimations(n,t){const i=new Nu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(A=>{d.add(A);const P=this.driver.query(A,".ng-animate-queued",!0);for(let H=0;H{const H=x_+m++;p.set(P,H),A.forEach(oe=>_n(oe,H))});const g=[],b=new Set,_=new Set;for(let A=0;Ab.add(oe)):_.add(P))}const S=new Map,M=GT(h,Array.from(b));M.forEach((A,P)=>{const H=Su+m++;S.set(P,H),A.forEach(oe=>_n(oe,H))}),n.push(()=>{f.forEach((A,P)=>{const H=p.get(P);A.forEach(oe=>ws(oe,H))}),M.forEach((A,P)=>{const H=S.get(P);A.forEach(oe=>ws(oe,H))}),g.forEach(A=>{this.processLeaveNode(A)})});const V=[],re=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(t).forEach(H=>{const oe=H.player,ct=H.element;if(V.push(oe),this.collectedEnterElements.length){const Dt=ct[Nn];if(Dt&&Dt.setForMove){if(Dt.previousTriggersValues&&Dt.previousTriggersValues.has(H.triggerName)){const $r=Dt.previousTriggersValues.get(H.triggerName),vn=this.statesByElement.get(H.element);if(vn&&vn.has(H.triggerName)){const Bu=vn.get(H.triggerName);Bu.value=$r,vn.set(H.triggerName,Bu)}}return void oe.destroy()}}const oi=!u||!this.driver.containsElement(u,ct),tn=S.get(ct),Ji=p.get(ct),Pe=this._buildInstruction(H,i,Ji,tn,oi);if(Pe.errors&&Pe.errors.length)return void re.push(Pe);if(oi)return oe.onStart(()=>jr(ct,Pe.fromStyles)),oe.onDestroy(()=>ri(ct,Pe.toStyles)),void r.push(oe);if(H.isFallbackTransition)return oe.onStart(()=>jr(ct,Pe.fromStyles)),oe.onDestroy(()=>ri(ct,Pe.toStyles)),void r.push(oe);const rA=[];Pe.timelines.forEach(Dt=>{Dt.stretchStartingKeyframe=!0,this.disabledNodes.has(Dt.element)||rA.push(Dt)}),Pe.timelines=rA,i.append(ct,Pe.timelines),s.push({instruction:Pe,player:oe,element:ct}),Pe.queriedElements.forEach(Dt=>Jt(a,Dt,[]).push(oe)),Pe.preStyleProps.forEach((Dt,$r)=>{if(Dt.size){let vn=l.get($r);vn||l.set($r,vn=new Set),Dt.forEach((Bu,$_)=>vn.add($_))}}),Pe.postStyleProps.forEach((Dt,$r)=>{let vn=c.get($r);vn||c.set($r,vn=new Set),Dt.forEach((Bu,$_)=>vn.add($_))})});if(re.length){const A=[];re.forEach(P=>{A.push(function _W(e,n){return new y(3505,!1)}())}),V.forEach(P=>P.destroy()),this.reportError(A)}const Ze=new Map,ft=new Map;s.forEach(A=>{const P=A.element;i.has(P)&&(ft.set(P,P),this._beforeAnimationBuild(A.player.namespaceId,A.instruction,Ze))}),r.forEach(A=>{const P=A.element;this._getPreviousPlayers(P,!1,A.namespaceId,A.triggerName,null).forEach(oe=>{Jt(Ze,P,[]).push(oe),oe.destroy()})});const Ei=g.filter(A=>WT(A,l,c)),Cs=new Map;zT(Cs,this.driver,_,c,Ci).forEach(A=>{WT(A,l,c)&&Ei.push(A)});const Ur=new Map;f.forEach((A,P)=>{zT(Ur,this.driver,new Set(A),l,"!")}),Ei.forEach(A=>{const P=Cs.get(A),H=Ur.get(A);Cs.set(A,new Map([...P?.entries()??[],...H?.entries()??[]]))});const U_=[],nA=[],iA={};s.forEach(A=>{const{element:P,player:H,instruction:oe}=A;if(i.has(P)){if(d.has(P))return H.onDestroy(()=>ri(P,oe.toStyles)),H.disabled=!0,H.overrideTotalTime(oe.totalTime),void r.push(H);let ct=iA;if(ft.size>1){let tn=P;const Ji=[];for(;tn=tn.parentNode;){const Pe=ft.get(tn);if(Pe){ct=Pe;break}Ji.push(tn)}Ji.forEach(Pe=>ft.set(Pe,ct))}const oi=this._buildAnimation(H.namespaceId,oe,Ze,o,Ur,Cs);if(H.setRealPlayer(oi),ct===iA)U_.push(H);else{const tn=this.playersByElement.get(ct);tn&&tn.length&&(H.parentPlayer=Xi(tn)),r.push(H)}}else jr(P,oe.fromStyles),H.onDestroy(()=>ri(P,oe.toStyles)),nA.push(H),d.has(P)&&r.push(H)}),nA.forEach(A=>{const P=o.get(A.element);if(P&&P.length){const H=Xi(P);A.setRealPlayer(H)}}),r.forEach(A=>{A.parentPlayer?A.syncPlayerEvents(A.parentPlayer):A.destroy()});for(let A=0;A!oi.destroyed);ct.length?m6(this,P,ct):this.processLeaveNode(P)}return g.length=0,U_.forEach(A=>{this.players.push(A),A.onDone(()=>{A.destroy();const P=this.players.indexOf(A);this.players.splice(P,1)}),A.play()}),U_}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==bl;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=Jt(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}jr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,h=t.timelines.map(p=>{const m=p.element;d.add(m);const g=m[Nn];if(g&&g.removedBeforeQueried)return new ml(p.duration,p.delay);const b=m!==l,_=function g6(e){const n=[];return qT(e,n),n}((i.get(m)||l6).map(Ze=>Ze.getRealPlayer())).filter(Ze=>!!Ze.element&&Ze.element===m),S=o.get(m),M=s.get(m),V=DT(this._normalizer,p.keyframes,S,M),re=this._buildPlayer(p,V,_);if(p.subTimeline&&r&&u.add(m),b){const Ze=new B_(n,a,m);Ze.setRealPlayer(re),c.push(Ze)}return re});c.forEach(p=>{Jt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function h6(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=>_n(p,TT));const f=Xi(h);return f.onDestroy(()=>{d.forEach(p=>ws(p,TT)),ri(l,t.toStyles)}),u.forEach(p=>{Jt(r,p,[]).push(f)}),f}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new ml(n.duration,n.delay)}}class B_{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new ml,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>__(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){Jt(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 Lu(e){return e&&1===e.nodeType}function $T(e,n){const t=e.style.display;return e.style.display=n??"none",t}function zT(e,n,t,i,r){const o=[];t.forEach(l=>o.push($T(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=n.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Nn]=c6,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>$T(l,o[a++])),s}function GT(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 _n(e,n){e.classList?.add(n)}function ws(e,n){e.classList?.remove(n)}function m6(e,n,t){Xi(t).onDone(()=>e.processLeaveNode(n))}function qT(e,n){for(let t=0;tr.add(o)):n.set(e,i),t.delete(e),!0}class wl{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new u6(n.body,t,i,r),this._timelineEngine=new i6(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=A_(this._driver,o,l,[]);if(l.length)throw function sW(e,n){return new y(3404,!1)}();a=function JW(e,n,t){return new e6(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]=xT(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]=xT(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)}}class Cl{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=Cl.initialStylesByElement.get(n);r||Cl.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ri(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ri(this._element,this._initialStyles),this._endStyles&&(ri(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Cl.initialStylesByElement.delete(this._element),this._startStyles&&(jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jr(this._element,this._endStyles),this._endStyles=null),ri(this._element,this._initialStyles),this._state=3)}}function j_(e){let n=null;return e.forEach((t,i)=>{(function y6(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class YT{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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:T_(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class ZT{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return IT(n,t)}getParentElement(n){return b_(n)}query(n,t,i){return ST(n,t,i)}computeStyle(n,t,i){return T_(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(f=>f instanceof YT);(function AW(e,n){return 0===e||0===n})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function SW(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(f=>new Map(f));u=function RW(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;os.set(a,T_(e,a)))}}return n}(n,u,c);const h=function v6(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=j_(n[0]),n.length>1&&(i=j_(n[n.length-1]))):n instanceof Map&&(t=j_(n)),t||i?new Cl(e,t,i):null}(n,u);return new YT(n,u,l,h)}}const KT="@.disabled";class QT{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}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.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==KT?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 b6 extends QT{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==KT?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 w6(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 C6(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 D6{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,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 QT("",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 b6(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&&nt(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 XT=[{provide:D_,useFactory:function E6(){return new kT}},{provide:wl,useClass:(()=>{class e extends wl{constructor(t,i,r){super(t,i,r,x(wf,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(C_),C(D_))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})()},{provide:Of,useFactory:function I6(e,n,t){return new D6(e,n,t)},deps:[km,wl,q]}],H_=[{provide:C_,useFactory:()=>new ZT},{provide:Fi,useValue:"BrowserAnimations"},...XT],JT=[{provide:C_,useClass:w_},{provide:Fi,useValue:"NoopAnimations"},...XT];let S6=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?JT:H_}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:H_,imports:[g0]})}return e})(),M6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})(),T6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,M6,lT]})}return e})(),R6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,_l,_l,kn]})}return e})(),k6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e,bootstrap:[Vq]});static#n=this.\u0275inj=Se({imports:[g0,Lq,S6,T6,R8,uG,R6,fq]})}return e})();iU().bootstrapModule(k6).catch(e=>console.error(e))}},Ds=>{Ds(Ds.s=407)}]); \ No newline at end of file +"use strict";(self.webpackChunkwebui=self.webpackChunkwebui||[]).push([[179],{407:()=>{function Ds(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)}let $e=null,El=1;const zr=Symbol("SIGNAL");function Le(e){const n=$e;return $e=e,n}function G_(e){if((!Es(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==El)){if(!e.producerMustRecompute(e)&&!Uu(e))return e.dirty=!1,void(e.lastCleanEpoch=El);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=El}}function Uu(e){Gr(e);for(let n=0;n0}function Gr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ev=null;function se(e){return"function"==typeof e}function zu(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 Gu=zu(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 Sl(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Ke{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(se(i))try{i()}catch(o){n=o instanceof Gu?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{ov(o)}catch(s){n=n??[],s instanceof Gu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Gu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)ov(n);else{if(n instanceof Ke){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)&&Sl(t,n)}remove(n){const{_finalizers:t}=this;t&&Sl(t,n),n instanceof Ke&&n._removeParent(this)}}Ke.EMPTY=(()=>{const e=new Ke;return e.closed=!0,e})();const iv=Ke.EMPTY;function rv(e){return e instanceof Ke||e&&"closed"in e&&se(e.remove)&&se(e.add)&&se(e.unsubscribe)}function ov(e){se(e)?e():e.unsubscribe()}const er={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ml={setTimeout(e,n,...t){const{delegate:i}=Ml;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Ml;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sv(e){Ml.setTimeout(()=>{const{onUnhandledError:n}=er;if(!n)throw e;n(e)})}function qu(){}const vA=Wu("C",void 0,void 0);function Wu(e,n,t){return{kind:e,value:n,error:t}}let tr=null;function Tl(e){if(er.useDeprecatedSynchronousErrorHandling){const n=!tr;if(n&&(tr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=tr;if(tr=null,t)throw i}}else e()}class Yu extends Ke{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,rv(n)&&n.add(this)):this.destination=EA}static create(n,t,i){return new Is(n,t,i)}next(n){this.isStopped?Ku(function bA(e){return Wu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ku(function yA(e){return Wu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ku(vA,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 CA=Function.prototype.bind;function Zu(e,n){return CA.call(e,n)}class DA{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Al(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Al(i)}else Al(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Al(t)}}}class Is extends Yu{constructor(n,t,i){let r;if(super(),se(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&er.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Zu(n.next,o),error:n.error&&Zu(n.error,o),complete:n.complete&&Zu(n.complete,o)}):r=n}this.destination=new DA(r)}}function Al(e){er.useDeprecatedSynchronousErrorHandling?function wA(e){er.useDeprecatedSynchronousErrorHandling&&tr&&(tr.errorThrown=!0,tr.error=e)}(e):sv(e)}function Ku(e,n){const{onStoppedNotification:t}=er;t&&Ml.setTimeout(()=>t(e,n))}const EA={closed:!0,next:qu,error:function xA(e){throw e},complete:qu},Qu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ii(e){return e}function av(e){return 0===e.length?Ii: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 MA(e){return e&&e instanceof Yu||function SA(e){return e&&se(e.next)&&se(e.error)&&se(e.complete)}(e)&&rv(e)}(t)?t:new Is(t,i,r);return Tl(()=>{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=lv(i))((r,o)=>{const s=new Is({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)}[Qu](){return this}pipe(...t){return av(t)(this)}toPromise(t){return new(t=lv(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function lv(e){var n;return null!==(n=e??er.Promise)&&void 0!==n?n:Promise}const TA=zu(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ce=(()=>{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 cv(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new TA}next(t){Tl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Tl(()=>{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(){Tl(()=>{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?iv:(this.currentObservers=null,o.push(t),new Ke(()=>{this.currentObservers=null,Sl(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 cv(n,t),e})();class cv extends ce{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:iv}}class Ht extends ce{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 dv(e){return se(e?.lift)}function ze(e){return n=>{if(dv(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 Re(e,n,t,i,r){return new AA(e,n,t,i,r)}class AA extends Yu{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 Z(e,n){return ze((t,i)=>{let r=0;t.subscribe(Re(i,o=>{i.next(e.call(n,o,r++))}))})}const uv="https://g.co/ng/security#xss";class y extends Error{constructor(n,t){super(function qr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ge(e){for(let n in e)if(e[n]===ge)return n;throw Error("Could not find renamed property on target object.")}function kA(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function nt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(nt).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 Xu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const OA=ge({__forward_ref__:ge});function we(e){return e.__forward_ref__=we,e.toString=function(){return nt(this())},e}function B(e){return Rl(e)?e():e}function Rl(e){return"function"==typeof e&&e.hasOwnProperty(OA)&&e.__forward_ref__===we}function Ju(e){return e&&!!e.\u0275providers}const Ss=ge({\u0275cmp:ge}),eh=ge({\u0275dir:ge}),th=ge({\u0275pipe:ge}),pv=ge({\u0275mod:ge}),si=ge({\u0275fac:ge}),Ms=ge({__NG_ELEMENT_ID__:ge}),mv=ge({__NG_ENV_ID__:ge});function z(e){return"string"==typeof e?e:null==e?"":String(e)}function nh(e,n){throw new y(-201,!1)}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Se(e){return{providers:e.providers||[],imports:e.imports||[]}}function kl(e){return gv(e,Nl)||gv(e,_v)}function gv(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ol(e){return e&&(e.hasOwnProperty(ih)||e.hasOwnProperty(UA))?e[ih]:null}const Nl=ge({\u0275prov:ge}),ih=ge({\u0275inj:ge}),_v=ge({ngInjectableDef:ge}),UA=ge({ngInjectorDef:ge});var J=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}(J||{});let rh;function vv(){return rh}function Ft(e){const n=rh;return rh=e,n}function yv(e,n,t){const i=kl(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&J.Optional?null:void 0!==n?n:void nh()}const me=globalThis;class D{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=I({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ts={},ch="__NG_DI_FLAG__",Fl="ngTempTokenPath",GA=/\n/gm,wv="__source";let Wr;function Mi(e){const n=Wr;return Wr=e,n}function YA(e,n=J.Default){if(void 0===Wr)throw new y(-203,!1);return null===Wr?yv(e,void 0,n):Wr.get(e,n&J.Optional?null:void 0,n)}function C(e,n=J.Default){return(vv()||YA)(B(e),n)}function x(e,n=J.Default){return C(e,Pl(n))}function Pl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dh(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==Dv(f,c,0)||2&i&&c!==h){if(bn(i))return!1;s=!0}}}}else{if(!s&&!bn(i)&&!bn(l))return!1;if(s&&bn(l))continue;s=!1,i=l|1&i}}return bn(i)||s}function bn(e){return 0==(1&e)}function tR(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!bn(s)&&(n+=Av(o,r),r=""),i=s,o=o||!bn(i);t++}return""!==r&&(n+=Av(o,r)),n}function nn(e){return ai(()=>{const n=kv(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ll.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""};Ov(t);const i=e.dependencies;return t.directiveDefs=Vl(i,!1),t.pipeDefs=Vl(i,!0),t.id=function hR(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,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].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function cR(e){return Q(e)||it(e)}function dR(e){return null!==e}function ke(e){return ai(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Rv(e,n){if(null==e)return Fn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=T.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==T.None?[i,a]:i,n[o]=s):t[o]=i}return t}function k(e){return ai(()=>{const n=kv(e);return Ov(n),n})}function Pt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[Ss]||null}function it(e){return e[eh]||null}function dt(e){return e[th]||null}function pt(e,n){const t=e[pv]||null;if(!t&&!0===n)throw new Error(`Type ${nt(e)} does not have '\u0275mod' property.`);return t}function kv(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||Fn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rv(e.inputs,n),outputs:Rv(e.outputs),debugInfo:null}}function Ov(e){e.features?.forEach(n=>n(e))}function Vl(e,n){if(!e)return null;const t=n?dt:cR;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(dR)}const Me=0,E=1,O=2,Ge=3,wn=4,mt=5,Cn=6,Yr=7,De=8,xt=9,li=10,W=11,ks=12,Nv=13,Zr=14,Oe=15,Os=16,Kr=17,Pn=18,Ns=19,Fv=20,Ai=21,Bl=22,nr=23,G=25,hh=1,Ln=7,Qr=9,qe=10;var fh=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(fh||{});function gt(e){return Array.isArray(e)&&"object"==typeof e[hh]}function _t(e){return Array.isArray(e)&&!0===e[hh]}function ph(e){return 0!=(4&e.flags)}function ir(e){return e.componentOffset>-1}function Hl(e){return 1==(1&e.flags)}function Dn(e){return!!e.template}function mh(e){return 0!=(512&e[O])}function rr(e,n){return e.hasOwnProperty(si)?e[si]:null}class gR{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Bv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function zt(){return jv}function jv(e){return e.type.prototype.ngOnChanges&&(e.setInput=vR),_R}function _R(){const e=Uv(this),n=e?.current;if(n){const t=e.previous;if(t===Fn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function vR(e,n,t,i,r){const o=this.declaredInputs[i],s=Uv(e)||function yR(e,n){return e[Hv]=n}(e,{previous:Fn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new gR(c&&c.currentValue,t,l===Fn),Bv(e,n,r,t)}zt.ngInherit=!0;const Hv="__ngSimpleChanges__";function Uv(e){return e[Hv]||null}const Vn=function(e,n,t){},$v="svg";let Gv=!1;function ve(e){for(;Array.isArray(e);)e=e[Me];return e}function Ps(e,n){return ve(n[e])}function Et(e,n){return ve(n[e.index])}function Ls(e,n){return e.data[n]}function Gt(e,n){const t=n[e];return gt(t)?t:t[Me]}function bh(e){return 128==(128&e[O])}function Bn(e,n){return null==n?null:e[n]}function qv(e){e[Kr]=0}function ER(e){1024&e[O]||(e[O]|=1024,bh(e)&&Vs(e))}function wh(e){return!!(9216&e[O]||e[nr]?.dirty)}function Ch(e){wh(e)?Vs(e):64&e[O]&&(function wR(){return Gv}()?(e[O]|=1024,Vs(e)):e[li].changeDetectionScheduler?.notify())}function Vs(e){e[li].changeDetectionScheduler?.notify();let n=or(e);for(;null!==n&&!(8192&n[O])&&(n[O]|=8192,bh(n));)n=or(n)}function Ul(e,n){if(256==(256&e[O]))throw new y(911,!1);null===e[Ai]&&(e[Ai]=[]),e[Ai].push(n)}function or(e){const n=e[Ge];return _t(n)?n[Ge]:n}const U={lFrame:oy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Zv(){return U.bindingsEnabled}function Jr(){return null!==U.skipHydrationRootTNode}function w(){return U.lFrame.lView}function te(){return U.lFrame.tView}function ye(){let e=Xv();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xv(){return U.lFrame.currentTNode}function jn(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function xh(){return U.lFrame.isParent}function Eh(){U.lFrame.isParent=!1}function Hn(){return U.lFrame.bindingIndex++}function di(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function PR(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ih(n)}function Ih(e){U.lFrame.currentDirectiveIndex=e}function ny(){return U.lFrame.currentQueryIndex}function Mh(e){U.lFrame.currentQueryIndex=e}function VR(e){const n=e[E];return 2===n.type?n.declTNode:1===n.type?e[mt]:null}function iy(e,n,t){if(t&J.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&J.Host||(r=VR(o),null===r||(o=o[Zr],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=ry();return i.currentTNode=n,i.lView=e,!0}function Th(e){const n=ry(),t=e[E];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function ry(){const e=U.lFrame,n=null===e?null:e.child;return null===n?oy(e):n}function oy(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 sy(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ay=sy;function Ah(){const e=sy();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 vt(){return U.lFrame.selectedIndex}function sr(e){U.lFrame.selectedIndex=e}function Ie(){const e=U.lFrame;return Ls(e.tView,e.selectedIndex)}let dy=!0;function $l(){return dy}function Ri(e){dy=e}function zl(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Kr]+=65536),(a>14>16&&(3&e[O])===n&&(e[O]+=16384,hy(a,o)):hy(a,o)}const eo=-1;class js{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Oh(e){return e!==eo}function Hs(e){return 32767&e}function Us(e,n){let t=function ZR(e){return e>>16}(e),i=n;for(;t>0;)i=i[Zr],t--;return i}let Nh=!0;function Wl(e){const n=Nh;return Nh=e,n}const fy=255,py=5;let KR=0;const Un={};function Yl(e,n){const t=my(e,n);if(-1!==t)return t;const i=n[E];i.firstCreatePass&&(e.injectorIndex=n.length,Fh(i.data,e),Fh(n,null),Fh(i.blueprint,null));const r=Zl(e,n),o=e.injectorIndex;if(Oh(r)){const s=Hs(r),a=Us(r,n),l=a[E].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Fh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function my(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Zl(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=Cy(r),null===i)return eo;if(t++,r=r[Zr],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return eo}function Ph(e,n,t){!function QR(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Ms)&&(i=t[Ms]),null==i&&(i=t[Ms]=KR++);const r=i&fy;n.data[e+(r>>py)]|=1<=0?n&fy:tk:n}(t);if("function"==typeof o){if(!iy(n,e,i))return i&J.Host?gy(r,0,i):_y(n,t,i,r);try{let s;if(s=o(i),null!=s||i&J.Optional)return s;nh()}finally{ay()}}else if("number"==typeof o){let s=null,a=my(e,n),l=eo,c=i&J.Host?n[Oe][mt]:null;for((-1===a||i&J.SkipSelf)&&(l=-1===a?Zl(e,n):n[a+8],l!==eo&&wy(i,!1)?(s=n[E],a=Hs(l),n=Us(l,n)):a=-1);-1!==a;){const d=n[E];if(by(o,a,d.data)){const u=JR(a,n,t,s,i,c);if(u!==Un)return u}l=n[a+8],l!==eo&&wy(i,n[E].data[a+8]===c)&&by(o,a,n)?(s=d,a=Hs(l),n=Us(l,n)):a=-1}}return r}function JR(e,n,t,i,r,o){const s=n[E],a=s.data[e+8],d=Kl(a,s,t,null==i?ir(a)&&Nh:i!=s&&0!=(3&a.type),r&J.Host&&o===a);return null!==d?ar(n,s,d,a):Un}function Kl(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=r?a+d:e.directiveEnd;for(let f=i?a:a+d;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&Dn(f)&&f.type===t)return l}return null}function ar(e,n,t,i){let r=e[t];const o=n.data;if(function GR(e){return e instanceof js}(r)){const s=r;s.resolving&&function FA(e,n){throw n&&n.join(" > "),new y(-200,e)}(function de(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=Wl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ft(s.injectImpl):null;iy(e,i,J.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function $R(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=jv(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&&Ft(c),Wl(a),s.resolving=!1,ay()}}return r}function by(e,n,t){return!!(t[n+(e>>py)]&1<{const n=e.prototype.constructor,t=n[si]||Lh(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[si]||Lh(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Lh(e){return Rl(e)?()=>{const n=Lh(B(e));return n&&n()}:rr(e)}function Cy(e){const n=e[E],t=n.type;return 2===t?n.declTNode:1===t?e[mt]:null}function lr(e){return function XR(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{const i=function Vh(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(ro)?l[ro]:Object.defineProperty(l,ro,{value:[]})[ro];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})}function lo(e,n){e.forEach(t=>Array.isArray(t)?lo(t,n):n(t))}function xy(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ql(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function qt(e,n,t){let i=co(e,n);return i>=0?e[1|i]=t:(i=~i,function Ey(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 jh(e,n){const t=co(e,n);if(t>=0)return e[1|t]}function co(e,n){return function Iy(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<{t.push(s)};return lo(n,s=>{const a=s;nc(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ky(r,o),t}function ky(e,n){for(let t=0;t{n(o,i)})}}function nc(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=Ol(e);const s=!o&&Q(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ol(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)nc(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{lo(o.imports,d=>{nc(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&ky(c,n)}if(!a){const c=rr(r)||(()=>new r);n({provide:r,useFactory:c,deps:ae},r),n({provide:$h,useValue:r,multi:!0},r),n({provide:dr,useValue:()=>C(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Gh(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function Gh(e,n){for(let t of e)Ju(t)&&(t=t.\u0275providers),Array.isArray(t)?Gh(t,n):n(t)}const Ek=ge({provide:String,useValue:ge});function qh(e){return null!==e&&"object"==typeof e&&Ek in e}function ur(e){return"function"==typeof e}const Wh=new D(""),ic={},Sk={};let Yh;function rc(){return void 0===Yh&&(Yh=new tc),Yh}class rn{}class ho extends rn{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Kh(n,s=>this.processProvider(s)),this.records.set(Ay,fo(void 0,this)),r.has("environment")&&this.records.set(rn,fo(void 0,this));const o=this.records.get(Wh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($h,ae,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Mi(this),i=Ft(void 0);try{return n()}finally{Mi(t),Ft(i)}}get(n,t=Ts,i=J.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(mv))return n[mv](this);i=Pl(i);const o=Mi(this),s=Ft(void 0);try{if(!(i&J.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kk(e){return"function"==typeof e||"object"==typeof e&&e instanceof D}(n)&&kl(n);l=c&&this.injectableDefInScope(c)?fo(Zh(n),ic):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&J.Self?rc():this.parent).get(n,t=i&J.Optional&&t===Ts?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Fl]=a[Fl]||[]).unshift(nt(n)),o)throw a;return function KA(e,n,t,i){const r=e[Fl];throw n[wv]&&r.unshift(n[wv]),e.message=function QA(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=nt(n);if(Array.isArray(n))r=n.map(nt).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):nt(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(GA,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Fl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Ft(s),Mi(o)}}resolveInjectorInitializers(){const n=Mi(this),t=Ft(void 0);try{const r=this.get(dr,ae,J.Self);for(const o of r)o()}finally{Mi(n),Ft(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(nt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(n){let t=ur(n=B(n))?n:B(n&&n.provide);const i=function Tk(e){return qh(e)?fo(void 0,e.useValue):fo(Fy(e),ic)}(n);if(!ur(n)&&!0===n.multi){let r=this.records.get(t);r||(r=fo(void 0,ic,!0),r.factory=()=>dh(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===ic&&(t.value=Sk,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Rk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(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 Zh(e){const n=kl(e),t=null!==n?n.factory:rr(e);if(null!==t)return t;if(e instanceof D)throw new y(204,!1);if(e instanceof Function)return function Mk(e){if(e.length>0)throw new y(204,!1);const t=function HA(e){return e&&(e[Nl]||e[_v])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new y(204,!1)}function Fy(e,n,t){let i;if(ur(e)){const r=B(e);return rr(r)||Zh(r)}if(qh(e))i=()=>B(e.useValue);else if(function Ny(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...dh(e.deps||[]));else if(function Oy(e){return!(!e||!e.useExisting)}(e))i=()=>C(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function Ak(e){return!!e.deps}(e))return rr(r)||Zh(r);i=()=>new r(...dh(e.deps))}return i}function fo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Kh(e,n){for(const t of e)Array.isArray(t)?Kh(t,n):t&&Ju(t)?Kh(t.\u0275providers,n):n(t)}function hr(e,n){e instanceof ho&&e.assertNotDestroyed();const i=Mi(e),r=Ft(void 0);try{return n()}finally{Mi(i),Ft(r)}}function By(e,n=null,t=null,i){const r=jy(e,n,t,i);return r.resolveInjectorInitializers(),r}function jy(e,n=null,t=null,i,r=new Set){const o=[t||ae,xk(e)];return i=i||("object"==typeof e?void 0:nt(e)),new ho(o,n||rc(),i||null,r)}let Jh,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ts;static#t=this.NULL=new tc;static create(t,i){if(Array.isArray(t))return By({name:""},i,t,"");{const r=t.name??"";return By({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=I({token:e,providedIn:"any",factory:()=>C(Ay)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();const Ws=new D("",{providedIn:"root",factory:()=>Hk}),Hk="ng",Uy=new D(""),Ni=new D("",{providedIn:"platform",factory:()=>"unknown"}),Fi=new D(""),ef=new D("",{providedIn:"root",factory:()=>function Oi(){if(void 0!==Jh)return Jh;if(typeof document<"u")return document;throw new y(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Wt(e){return e instanceof Function?e():e}function cc(e){return 128==(128&e.flags)}var Vi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Vi||{});const Qk=/^>|^->||--!>|)/g,Jk="\u200b$1\u200b";const af=new Map;let eO=0;const cf="__ngContext__";function bt(e,n){gt(n)?(e[cf]=n[Ns],function nO(e){af.set(e[Ns],e)}(n)):e[cf]=n}let df;function uf(e,n){return df(e,n)}function mo(e,n,t,i,r){if(null!=i){let o,s=!1;_t(i)?o=i:gt(i)&&(s=!0,i=i[Me]);const a=ve(i);0===e&&null!==t?null==r?db(n,t,a):fr(n,t,a,r||null,!0):1===e&&null!==t?fr(n,t,a,r||null,!0):2===e?function gc(e,n,t){const i=pc(e,n);i&&function vO(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function wO(e,n,t,i,r){const o=t[Ln];o!==ve(t)&&mo(n,e,i,o,r);for(let a=qe;an.replace(Xk,Jk))}(n))}function hc(e,n,t){return e.createElement(n,t)}function ab(e,n){_c(e,n,n[W],2,null,null)}function lb(e,n){const t=e[Qr],i=t.indexOf(n);t.splice(i,1)}function Qs(e,n){if(e.length<=qe)return;const t=qe+n,i=e[t];if(i){const r=i[Os];null!==r&&r!==e&&lb(r,i),n>0&&(e[t-1][wn]=i[wn]);const o=Ql(e,qe+n);!function uO(e,n){ab(e,n),n[Me]=null,n[mt]=null}(i[E],i);const s=o[Pn];null!==s&&s.detachView(o[E]),i[Ge]=null,i[wn]=null,i[O]&=-129}return i}function fc(e,n){if(!(256&n[O])){const t=n[W];t.destroyNode&&_c(e,n,t,3,null,null),function fO(e){let n=e[ks];if(!n)return ff(e[E],e);for(;n;){let t=null;if(gt(n))t=n[ks];else{const i=n[qe];i&&(t=i)}if(!t){for(;n&&!n[wn]&&n!==e;)gt(n)&&ff(n[E],n),n=n[Ge];null===n&&(n=e),gt(n)&&ff(n[E],n),t=n&&n[wn]}n=t}}(n)}}function ff(e,n){if(!(256&n[O])){n[O]&=-129,n[O]|=256,n[nr]&&function Q_(e){if(Gr(e),Es(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[Yr]=null);const r=n[Ai];if(null!==r){n[Ai]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===yn.None||o===yn.Emulated)return null}return Et(i,t)}}(e,n.parent,t)}function fr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function db(e,n,t){e.appendChild(n,t)}function ub(e,n,t,i,r){null!==i?fr(e,n,t,i,r):db(e,n,t)}function pc(e,n){return e.parentNode(n)}function hb(e,n,t){return pb(e,n,t)}let mf,vc,pb=function fb(e,n,t){return 40&e.type?Et(e,t):null};function mc(e,n,t,i){const r=pf(e,i,n),o=n[W],a=hb(i.parent||n[mt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return vc}()?.createHTML(e)||e}class pr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${uv})`}}class SO extends pr{getTypeName(){return"HTML"}}class MO extends pr{getTypeName(){return"Style"}}class TO extends pr{getTypeName(){return"Script"}}class AO extends pr{getTypeName(){return"URL"}}class RO extends pr{getTypeName(){return"ResourceURL"}}function Yt(e){return e instanceof pr?e.changingThisBreaksApplicationSecurity:e}function $n(e,n){const t=function kO(e){return e instanceof pr&&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 ${uv})`)}return t===n}class VO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(go(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class BO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=go(n),t}}const HO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bc(e){return(e=String(e)).match(HO)?e:"unsafe:"+e}function ui(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Js(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Eb=ui("area,br,col,hr,img,wbr"),Ib=ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sb=ui("rp,rt"),bf=Js(Eb,Js(Ib,ui("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")),Js(Sb,ui("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")),Js(Sb,Ib)),wf=ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mb=Js(wf,ui("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"),ui("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")),UO=ui("script,style,template");class $O{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;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)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!bf.hasOwnProperty(t))return this.sanitizedSomething=!0,!UO.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=n.nodeName.toLowerCase();bf.hasOwnProperty(t)&&!Eb.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Tb(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const zO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GO=/([^\#-~ |!])/g;function Tb(e){return e.replace(/&/g,"&").replace(zO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(GO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let wc;function Ab(e,n){let t=null;try{wc=wc||function xb(e){const n=new BO(e);return function jO(){try{return!!(new window.DOMParser).parseFromString(go(""),"text/html")}catch{return!1}}()?new VO(n):n}(e);let i=n?String(n):"";t=wc.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=wc.getInertBodyElement(i)}while(i!==o);return go((new $O).sanitizeChildren(Cf(t)||t))}finally{if(t){const i=Cf(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Cf(e){return"content"in e&&function qO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ut=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}(ut||{});function _o(e){const n=function ea(){const e=w();return e&&e[li].sanitizer}();return n?n.sanitize(ut.URL,e)||"":$n(e,"URL")?Yt(e):bc(z(e))}class Df{}let Ob=()=>null;function Rf(e,n,t=!1){return Ob(e,n,t)}class aN{}class Vb{}class cN{resolveComponentFactory(n){throw function lN(e){const n=Error(`No component factory found for ${nt(e)}.`);return n.ngComponent=e,n}(n)}}let ra=(()=>{class e{static#e=this.NULL=new cN}return e})();function dN(){return wo(ye(),w())}function wo(e,n){return new _e(Et(e,n))}let _e=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=dN}return e})();function uN(e){return e instanceof _e?e.nativeElement:e}class Ff{}let hi=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function hN(){const e=w(),t=Gt(ye().index,e);return(gt(t)?t:e)[W]}()}return e})(),fN=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();const Pf={};function Sc(e){return!!Lf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Lf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Hb{constructor(){}supports(n){return Sc(n)}create(n){return new yN(n)}}const vN=(e,n)=>n;class yN{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||vN}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<$b(i,r,o)?t:i,a=$b(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 h=0;h{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 bN(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 Ub),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 Ub),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 bN{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class wN{constructor(){this._head=null,this._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 Ub{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new wN,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 $b(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{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 DN(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 DN{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Gb(){return new Vf([new Hb])}let Vf=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:Gb});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||Gb()),deps:[[e,new zs,new cr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new y(901,!1)}}return e})();function qb(){return new Mc([new zb])}let Mc=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:qb});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||qb()),deps:[[e,new zs,new cr]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new y(901,!1)}}return e})();function oa(e,n,t,i,r=!1){for(;null!==t;){const o=n[t.index];null!==o&&i.push(ve(o)),_t(o)&&Wb(o,i);const s=t.type;if(8&s)oa(e,n,t.child,i);else if(32&s){const a=uf(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=gb(n,t);if(Array.isArray(a))i.push(...a);else{const l=or(n[Oe]);oa(l[E],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function Wb(e,n){for(let t=qe;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Vs(e.lView)},consumerOnSignalRead(){this.lView[nr]=this}};function Zb(e){return Qb(e[ks])}function Kb(e){return Qb(e[wn])}function Qb(e){for(;null!==e&&!_t(e);)e=e[wn];return e}function Bf(e){return e.ngOriginalError}class on{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Bf(n);for(;t&&Bf(t);)t=Bf(t);return t||null}}const Jb=new D("",{providedIn:"root",factory:()=>x(on).handleError.bind(void 0)}),tw=new D("",{providedIn:"root",factory:()=>!1}),Y={};function N(e=1){ow(te(),w(),vt()+e,!1)}function ow(e,n,t,i){if(!i)if(3==(3&n[O])){const o=e.preOrderCheckHooks;null!==o&&Gl(n,o,t)}else{const o=e.preOrderHooks;null!==o&&ql(n,o,0,t)}sr(t)}function v(e,n=J.Default){const t=w();return null===t?C(e,n):vy(ye(),t,B(e),n)}function aw(e,n,t,i,r,o){const s=Le(null);try{let a=null;r&T.SignalBased&&(a=n[i][zr]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&T.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,i):Bv(n,a,i,o)}finally{Le(s)}}function Ac(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[Me]=r,u[O]=204|i,(null!==c||e&&2048&e[O])&&(u[O]|=2048),qv(u),u[Ge]=u[Zr]=e,u[De]=t,u[li]=s||e&&e[li],u[W]=a||e&&e[W],u[xt]=l||e&&e[xt]||null,u[mt]=o,u[Ns]=function tO(){return eO++}(),u[Cn]=d,u[Fv]=c,u[Oe]=2==n.type?e[Oe]:u,u}function Co(e,n,t,i,r){let o=e.data[n];if(null===o)o=function jf(e,n,t,i,r){const o=Xv(),s=xh(),l=e.data[n]=function $N(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Jr()&&(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 FR(){return U.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function Bs(){const e=U.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return jn(o,!0),o}function sa(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;oG&&ow(e,n,G,!1),Vn(s?2:0,r),t(i,r)}finally{sr(o),Vn(s?3:1,r)}}function Hf(e,n,t){if(ph(n)){const i=Le(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function uw(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=T.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?hw(i,t,c,a,l):hw(i,t,c,a)}return i}function hw(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 Zt(e,n,t,i,r,o,s,a){const l=Et(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Zf(e,t,d,i,r),ir(n)&&function qN(e,n){const t=Gt(n,e);16&t[O]||(t[O]|=64)}(t,n.index)):3&n.type&&(i=function GN(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 Gf(e,n,t,i){if(Zv()){const r=null===i?null:{"":-1},o=function XN(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){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,sa(e,t,r.hostVars,Y),r)}function zn(e,n,t,i,r,o){const s=Et(e,n);!function Wf(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[W],s,o,e.value,t,i,r)}function rF(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function SN(e){e.lView[nr]!==e&&(e.lView=null,Yb.push(e))}(a)),Ah()}}function ww(e,n){for(let t=Zb(e);null!==t;t=Kb(t))for(let i=qe;i-1&&(Qs(n,i),Ql(t,i))}this._attachedToViewContainer=!1}fc(this._lView[E],this._lView)}onDestroy(n){Ul(this._lView,n)}markForCheck(){aa(this._cdRefInjectingView||this._lView)}detach(){this._lView[O]&=-129}reattach(){Ch(this._lView),this._lView[O]|=128}detectChanges(){this._lView[O]|=1024,Oc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ab(this._lView[E],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n,Ch(this._lView)}}let Gn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uF}return e})();function uF(e){return function hF(e,n,t){if(ir(e)&&!t){const i=Gt(e.index,n);return new la(i,i)}return 47&e.type?new la(n[Oe],n):null}(ye(),w(),16==(16&e))}let Nc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=gF;static#t=this.__NG_ENV_ID__=t=>t}return e})();class mF extends Nc{constructor(n){super(),this._lView=n}onDestroy(n){return Ul(this._lView,n),()=>function Dh(e,n){if(null===e[Ai])return;const t=e[Ai].indexOf(n);-1!==t&&e[Ai].splice(t,1)}(this._lView,n)}}function gF(){return new mF(w())}const xw=new Set;function mr(e){xw.has(e)||(xw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qf(e){return n=>{setTimeout(e,void 0,n)}}const ue=class CF extends ce{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}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=Qf(o),r&&(r=Qf(r)),s&&(s=Qf(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ke&&n.add(a),a}};function Ew(...e){}class q{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function DF(){const e="function"==typeof me.requestAnimationFrame;let n=me[e?"requestAnimationFrame":"setTimeout"],t=me[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function IF(e){const n=()=>{!function EF(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Jf(e),e.isCheckStableRunning=!0,Xf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Jf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function SF(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return Iw(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Sw(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return Iw(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Sw(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Jf(e),Xf(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!q.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(q.isInAngularZone())throw new y(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,xF,Ew,Ew);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 xF={};function Xf(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 Jf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Iw(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sw(e){e._nesting--,Xf(e)}class Mw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}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)}}var gr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(gr||{});const Tw={destroy(){}};function Rw(e,n){!n&&function Qh(e){if(!vv()&&!function WA(){return Wr}())throw new y(-203,!1)}();const t=n?.injector??x(yt);if(!function Pi(e){return"browser"===(e??x(yt)).get(Ni)}(t))return Tw;mr("NgAfterNextRender");const i=t.get(ca),r=i.handler??=new Ow,o=n?.phase??gr.MixedReadWrite,s=()=>{r.unregister(l),a()},a=t.get(Nc).onDestroy(s),l=new kw(t,o,()=>{s(),e()});return r.register(l),{destroy:s}}class kw{constructor(n,t,i){this.phase=t,this.callbackFn=i,this.zone=n.get(q),this.errorHandler=n.get(on,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Ow{constructor(){this.executingCallbacks=!1,this.buckets={[gr.EarlyRead]:new Set,[gr.Write]:new Set,[gr.MixedReadWrite]:new Set,[gr.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let ca=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function AF(e,n){const t=Gt(n,e),i=t[E];!function RF(e,n){for(let t=n.length;t0&&yb(e,t,o.join(" "))}}(h,V,p,i),void 0!==t&&function HF(e,n,t){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Rs(r.hostAttrs,t=Rs(t,r.hostAttrs))}}(i)}function $F(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 Pc(e){return e===Fn?{}:e===ae?[]:e}function GF(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function qF(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function WF(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function qn(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}let Gw=()=>null;function Do(e,n){return Gw(e,n)}function ma(e,n,t,i){const r=n.tView,a=Ac(e,r,t,4096&e[O]?4096:16,null,n,null,null,null,i?.injector??null,i?.dehydratedView??null);a[Os]=e[n.index];const c=e[Pn];return null!==c&&(a[Pn]=c.createEmbeddedView(r)),ep(r,a,t),a}function xo(e,n){return!n||null===n.firstChild||cc(e)}function ga(e,n,t,i=!0){const r=n[E];if(function pO(e,n,t,i){const r=qe+i,o=t.length;i>0&&(t[r-1][wn]=n),i{class e{static#e=this.__NG_ELEMENT_ID__=bP}return e})();function bP(){return Zw(ye(),w())}const wP=sn,Ww=class extends wP{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return wo(this._hostTNode,this._hostLView)}get injector(){return new rt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Zl(this._hostTNode,this._hostLView);if(Oh(n)){const t=Us(n,this._hostLView),i=Hs(n);return new rt(t[E].data[i+8],t)}return new rt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Yw(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-qe}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=Do(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,xo(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function $s(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 da(Q(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(rn,null);m&&(o=m)}const d=Q(l.componentType??{}),u=Do(this._lContainer,d?.id??null),f=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(f.hostView,a,xo(this._hostTNode,u)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function xR(e){return _t(e[Ge])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ge],c=new Ww(l,l[mt],l[Ge]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ga(s,r,o,i),n.attachToViewContainerRef(),xy(ap(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Yw(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Qs(this._lContainer,t);i&&(Ql(ap(this._lContainer),t),fc(i[E],i))}detach(n){const t=this._adjustIndex(n,-1),i=Qs(this._lContainer,t);return i&&null!=Ql(ap(this._lContainer),t)?new la(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Yw(e){return e[8]}function ap(e){return e[8]||(e[8]=[])}function Zw(e,n){let t;const i=n[e.index];return _t(i)?t=i:(t=mw(i,n,null,e),n[e.index]=t,Rc(n,t)),Kw(t,n,e,i),new Ww(t,e,n)}let Kw=function Xw(e,n,t,i){if(e[Ln])return;let r;r=8&t.type?ve(i):function CP(e,n){const t=e[W],i=t.createComment(""),r=Et(n,e);return fr(t,pc(t,r),i,function yO(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Ln]=r},lp=()=>!1;class _r{}class Jw{}class cp extends _r{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nw(this);const r=pt(n);this._bootstrapComponents=Wt(r.bootstrap),this._r3Injector=jy(n,t,[{provide:_r,useValue:this},{provide:ra,useValue:this.componentFactoryResolver},...i],nt(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 dp extends Jw{constructor(n){super(),this.moduleType=n}create(n){return new cp(this.moduleType,n,[])}}class eC extends _r{constructor(n){super(),this.componentFactoryResolver=new Nw(this),this.instance=null;const t=new ho([...n.providers,{provide:_r,useValue:this},{provide:ra,useValue:this.componentFactoryResolver}],n.parent||rc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function up(e,n,t=null){return new eC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let _a=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ht(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Te(e,n,t,i,r,o,s,a){const l=w(),c=te(),d=e+G,u=c.firstCreatePass?function TP(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Co(n,e,4,s||null,Bn(c,a));Gf(n,t,d,Bn(c,l)),zl(n,d);const u=d.tView=zf(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,c,l,n,t,i,r,o,s):c.data[d];jn(u,!1);const h=tC(c,l,u,e);$l()&&mc(c,l,h,u),bt(h,l);const f=mw(h,l,h,u);return l[d]=f,Rc(l,f),function Qw(e,n,t){return lp(e,n,t)}(f,u,l),Hl(u)&&Uf(c,l,u),null!=s&&$f(l,u,a),Te}let tC=function nC(e,n,t,i){return Ri(!0),n[W].createComment("")};function je(e,n,t,i){const r=w();return Qe(r,Hn(),n)&&(te(),zn(Ie(),r,e,n,t,i)),je}function ko(e,n,t,i){return Qe(e,Hn(),t)?n+z(t)+i:Y}function Yc(e,n){return e<<17|n<<2}function ji(e){return e>>17&32767}function bp(e){return 2|e}function br(e){return(131068&e)>>2}function wp(e,n){return-131069&e|n<<2}function Cp(e){return 1|e}function NC(e,n,t,i){const r=e[t+1],o=null===n;let s=i?ji(r):br(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];p1(e[s],n)&&(a=!0,e[s+1]=i?Cp(c):bp(c)),s=i?ji(c):br(c)}a&&(e[t+1]=i?bp(r):Cp(r))}function p1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&co(e,n)>=0}const st={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function FC(e){return e.substring(st.key,st.keyEnd)}function PC(e,n){const t=st.textEnd;return t===n?-1:(n=st.keyEnd=function v1(e,n,t){for(;n32;)n++;return n}(e,st.key=n,t),jo(e,n,t))}function jo(e,n,t){for(;n=0;t=PC(n,t))qt(e,FC(n),!0)}function xn(e,n,t,i){const r=w(),o=te(),s=di(2);o.firstUpdatePass&&UC(o,e,s,i),n!==Y&&Qe(r,s,n)&&zC(o,o.data[vt()],r,r[W],e,r[s+1]=function T1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=nt(Yt(e)))),e}(n,t),i,s)}function HC(e,n){return n>=e.expandoStartIndex}function UC(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[vt()],s=HC(e,t);qC(o,i)&&null===n&&!s&&(n=!1),n=function C1(e,n,t,i){const r=function Sh(e){const n=U.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=Ca(t=Ep(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Ep(r,e,n,t,i),null===o){let l=function D1(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==br(i))return e[ji(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Ep(null,e,n,l[1],i),l=Ca(l,n.attrs,i),function x1(e,n,t,i){e[ji(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function E1(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const h=ji(e[a+1]);e[i+1]=Yc(h,a),0!==h&&(e[h+1]=wp(e[h+1],i)),e[a+1]=function d1(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Yc(a,0),0!==a&&(e[a+1]=wp(e[a+1],i)),a=i;else e[i+1]=Yc(l,0),0===a?a=i:e[l+1]=wp(e[l+1],i),l=i;c&&(e[i+1]=bp(e[i+1])),NC(e,d,i,!0),NC(e,d,i,!1),function f1(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&co(o,n)>=0&&(t[i+1]=Cp(t[i+1]))}(n,d,e,i,o),s=Yc(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Ep(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=t[r+1];h===Y&&(h=u?ae:void 0);let f=u?jh(h,i):d===i?h:void 0;if(c&&!Zc(f)&&(f=jh(l,i)),Zc(f)&&(a=f,s))return a;const p=e[r+1];r=s?ji(p):br(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=jh(l,i))}return a}function Zc(e){return void 0!==e}function qC(e,n){return 0!=(e.flags&(n?8:16))}function Kn(e,n,t){mr("NgControlFlow");const i=w(),r=Hn(),o=function Mp(e,n){return e[n]}(i,G+e);if(Qe(i,r,n)){const a=Le(null);try{if(function sp(e,n){const t=Qs(e,n);return void 0!==t&&fc(t[E],t),t}(o,0),-1!==n){const l=function Tp(e,n){return Ls(e,n)}(i[E],G+n),c=Do(o,l.tView.ssrId);ga(o,ma(i,l,t,{dehydratedView:c}),0,xo(l,c))}}finally{Le(a)}}else{const a=function qw(e,n){const t=qe+n;if(t(Ri(!0),hc(i,r,function cy(){return U.lFrame.currentNamespace}()));function Ho(e,n,t){const i=w(),r=te(),o=e+G,s=r.firstCreatePass?function eL(e,n,t,i,r){const o=n.consts,s=Bn(o,i),a=Co(n,e,8,"ng-container",s);return null!==s&&Fc(a,s,!0),Gf(n,t,a,Bn(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];jn(s,!0);const a=XC(r,i,s,e);return i[o]=a,$l()&&mc(r,i,a,s),bt(a,i),Hl(s)&&(Uf(r,i,s),Hf(r,s,i)),null!=t&&$f(i,s),Ho}function Uo(){let e=ye();const n=te();return xh()?Eh():(e=e.parent,jn(e,!1)),n.firstCreatePass&&(zl(n,e),ph(e)&&n.queries.elementEnd(e)),Uo}let XC=(e,n,t,i)=>(Ri(!0),hf(n[W],""));function wr(e,n,t){const i=w();return Qe(i,Hn(),n)&&Zt(te(),Ie(),i,e,n,i[W],t,!0),wr}const zo="en-US";let iD=zo;function Ma(e){return!!e&&"function"==typeof e.then}function MD(e){return!!e&&"function"==typeof e.subscribe}function Ne(e,n,t,i){const r=w(),o=te(),s=ye();return function AD(e,n,t,i,r,o,s){const a=Hl(i),c=e.firstCreatePass&&vw(e),d=n[De],u=_w(n);let h=!0;if(3&i.type||s){const m=Et(i,n),g=s?s(m):m,b=u.length,_=s?M=>s(ve(M[i.index])):i.index;let S=null;if(!s&&a&&(S=function JL(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,h=!1;else{o=kD(i,n,d,o,!1);const M=t.listen(g,r,o);u.push(o,M),c&&c.push(r,_,b,b+1)}}else o=kD(i,n,d,o,!1);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const m=p.length;if(m)for(let g=0;g-1?Gt(e.index,n):n);let l=RD(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=RD(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function Ae(e=1){return function BR(e){return(U.lFrame.contextLView=function Wv(e,n){for(;e>0;)n=n[Zr],e--;return n}(e,U.lFrame.contextLView))[De]}(e)}function eV(e,n){let t=null;const i=function nR(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{class e{static#e=this.__NG_ELEMENT_ID__=rV}return e})();const nV=pi,iV=class extends nV{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=ma(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:i});return new la(r)}};function rV(){return ed(ye(),w())}function ed(e,n){return 4&e.type?new iV(n,e,wo(e,n)):null}class Np{constructor(n){this.queryList=n,this.matches=null}clone(){return new Np(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fp{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;o0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=qe;u(Ri(!0),function uc(e,n){return e.createText(n)}(n[W],i));function qo(e){return un("",e,""),qo}function un(e,n,t){const i=w(),r=ko(i,e,n,t);return r!==Y&&function fi(e,n,t){const i=Ps(n,e);!function sb(e,n,t){e.setValue(n,t)}(e[W],i,t)}(i,vt(),r),un}function Bp(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(ur(e)||!e.multi){const f=new js(c,r,v),p=Hp(l,n,r?d:d+h,u);-1===p?(Ph(Yl(a,s),o,l),jp(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=Hp(l,n,d+h,u),p=Hp(l,n,d,d+h),g=p>=0&&t[p];if(r&&!g||!r&&!(f>=0&&t[f])){Ph(Yl(a,s),o,l);const b=function SV(e,n,t,i,r){const o=new js(e,t,v);return o.multi=[],o.index=n,o.componentProviders=0,dx(o,r,i&&!t),o}(r?IV:EV,t.length,r,i,c);!r&&g&&(t[p].providerFactory=b),jp(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else jp(o,e,f>-1?f:p,dx(t[r?p:f],c,!r&&i));!r&&i&&g&&t[p].componentProviders++}}}function jp(e,n,t,i){const r=ur(n),o=function Ik(e){return!!e.useClass}(n);if(r||o){const l=(o?B(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 dx(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Hp(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function xV(e,n,t){const i=te();if(i.firstCreatePass){const r=Dn(e);Bp(t,i.data,i.blueprint,r,!0),Bp(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let MV=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=Ry(0,t.type),r=i.length>0?up([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#e=this.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(C(rn))})}return e})();function Qn(e){mr("NgStandalone"),e.getStandaloneInjector=n=>n.get(MV).getOrCreateStandaloneInjector(e)}function yx(e,n,t,i,r,o){const s=n+t;return Qe(e,s,r)?function Wn(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function Ta(e,n){const t=e[n];return t===Y?void 0:t}(e,s+1)}function Ex(e,n,t){const i=e+G,r=w(),o=function Xr(e,n){return e[n]}(r,i);return function Aa(e,n){return e[E].data[n].pure}(r,i)?yx(r,function It(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}let Hx=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class C2{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Ux=(()=>{class e{compileModuleSync(t){return new dp(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Wt(pt(t).declarations).reduce((s,a)=>{const l=Q(a);return l&&s.push(new da(l)),s},[]);return new C2(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Wx=new D(""),od=new D("");let Qp,Zp=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Qp||(function Z2(e){Qp=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()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())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()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(C(q),C(Kp),C(od))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Kp=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Qp?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Xp=new D("");let Jp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=x(Xp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Ma(o))t.push(o);else if(MD(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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const em=new D("");function Kx(e,n){return Array.isArray(n)?n.reduce(Kx,e):{...e,...n}}let Ui=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=x(Jb),this.afterRenderEffectManager=x(ca),this.componentTypes=[],this.components=[],this.isStable=x(_a).hasPendingTasks.pipe(Z(t=>!t)),this._injector=x(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof Vb;if(!this._injector.get(Jp).done)throw!r&&function Ti(e){const n=Q(e)||it(e)||dt(e);return null!==n&&n.standalone}(t),new y(405,!1);let s;s=r?t:this._injector.get(ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Q2(e){return e.isBoundToModule}(s)?void 0:this._injector.get(_r),c=s.create(yt.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(Wx,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),sd(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let t=0;do{if(100===t)throw new y(103,!1);const i=0===t;for(let{_lView:r,notifyErrorHandler:o}of this._views)!i&&!Xx(r)||this.detectChangesInView(r,o,i);this.afterRenderEffectManager.execute(),t++}while(this._views.some(({_lView:i})=>Xx(i)))}detectChangesInView(t,i,r){let o;r?(o=0,t[O]|=1024):o=64&t[O]?0:1,Oc(t,i,o)}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;sd(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(em,[]);[...this._bootstrapListeners,...i].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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>sd(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new y(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sd(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Xx(e){return wh(e)}let J2=(()=>{class e{constructor(){this.zone=x(q),this.applicationRef=x(Ui)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eB(){const e=x(q),n=x(on);return t=>e.runOutsideAngular(()=>n.handleError(t))}let nB=(()=>{class e{constructor(){this.subscription=new Ke,this.initialized=!1,this.zone=x(q),this.pendingTasks=x(_a)}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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new D("",{providedIn:"root",factory:()=>x(Xn,J.Optional|J.SkipSelf)||function iB(){return typeof $localize<"u"&&$localize.locale||zo}()}),tm=new D("");let tE=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function MF(e="zone.js",n){return"noop"===e?new Mw:"zone.js"===e?new q(n):e}(i?.ngZone,function eE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function MP(e,n,t){return new cp(e,n,t)}(t.moduleType,this.injector,function Jx(e){return[{provide:q,useFactory:e},{provide:dr,multi:!0,useFactory:()=>{const n=x(J2,{optional:!0});return()=>n.initialize()}},{provide:dr,multi:!0,useFactory:()=>{const n=x(nB);return()=>{n.initialize()}}},{provide:Jb,useFactory:eB}]}(()=>r)),s=o.injector.get(on,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sd(this._modules,o),a.unsubscribe()})}),function Zx(e,n,t){try{const i=t();return Ma(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(Jp);return a.runInitializers(),a.donePromise.then(()=>(function rD(e){"string"==typeof e&&(iD=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Xn,zo)||zo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=Kx({},i);return function K2(e,n,t){const i=new dp(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(Ui);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new y(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(tm,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(C(yt))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),$i=null;const nE=new D("");function iE(e,n,t=[]){const i=`Platform: ${n}`,r=new D(i);return(o=[])=>{let s=nm();if(!s||s.injector.get(nE,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function sB(e){if($i&&!$i.get(nE,!1))throw new y(400,!1);(function Yx(){!function fA(e){ev=e}(()=>{throw new y(600,!1)})})(),$i=e;const n=e.get(tE);(function oE(e){e.get(Uy,null)?.forEach(t=>t())})(e)}(function rE(e=[],n){return yt.create({name:n,providers:[{provide:Wh,useValue:"platform"},{provide:tm,useValue:new Set([()=>$i=null])},...e]})}(a,i))}return function aB(e){const n=nm();if(!n)throw new y(401,!1);return n}()}}function nm(){return $i?.get(tE)??null}const fB=iE(null,"core",[]);let pB=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ui))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();function Fe(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function cm(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let TE=null;function zi(){return TE}class zB{}const ee=new D("");let dm=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(qB),providedIn:"platform"})}return e})();const GB=new D("");let qB=(()=>{class e extends dm{constructor(){super(),this._doc=x(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return zi().getBaseHref(this._doc)}onPopState(t){const i=zi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=zi().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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function um(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 AE(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 mi(e){return e&&"?"!==e[0]?"?"+e:e}let Er=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(kE),providedIn:"root"})}return e})();const RE=new D("");let kE=(()=>{class e extends Er{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??x(ee).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 um(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+mi(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+mi(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+mi(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#e=this.\u0275fac=function(i){return new(i||e)(C(dm),C(RE,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WB=(()=>{class e extends Er{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=um(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+mi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+mi(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#e=this.\u0275fac=function(i){return new(i||e)(C(dm),C(RE,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Ko=(()=>{class e{constructor(t){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function KB(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(AE(OE(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+mi(i))}normalize(t){return e.stripTrailingSlash(function ZB(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,OE(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+mi(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+mi(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,complete:r})}static#e=this.normalizeQueryParams=mi;static#t=this.joinWithSlash=um;static#n=this.stripTrailingSlash=AE;static#i=this.\u0275fac=function(i){return new(i||e)(C(Er))};static#r=this.\u0275prov=I({token:e,factory:()=>function YB(){return new Ko(C(Er))}(),providedIn:"root"})}return e})();function OE(e){return e.replace(/\/index.html$/,"")}const wm=/\s+/,UE=[];let $E=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=UE,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(wm):UE}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(wm):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(wm).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(hi))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngClass",""]],inputs:{klass:[T.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class Pj{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 GE=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 Pj(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),qE(a,r)}});for(let r=0,o=i.length;r{qE(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(sn),v(pi),v(Vf))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function qE(e,n){e.context.$implicit=n.item}let WE=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new Lj,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){YE("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){YE("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(sn),v(pi))};static#t=this.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class Lj{constructor(){this.$implicit=null,this.ngIf=null}}function YE(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${nt(n)}'.`)}let KE=(()=>{class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=QE}transform(t,i=QE){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 rH(e,n){return{key:e,value:n}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||e)(v(Mc,16))};static#t=this.\u0275pipe=Pt({name:"keyvalue",type:e,pure:!1,standalone:!0})}return e})();function QE(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{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();const JE="browser";function e0(e){return e===JE}function t0(e){return"server"===e}let uH=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>e0(x(Ni))?new hH(x(ee),window):new pH})}return e})();class hH{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}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 fH(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 pH{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class VH extends zB{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Mm extends VH{static makeCurrent(){!function $B(e){TE??=e}(new Mm)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 BH(){return La=La||document.querySelector("base"),La?La.getAttribute("href"):null}();return null==t?null:function jH(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){La=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function Nj(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}(document.cookie,n)}}let La=null,UH=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Tm=new D("");let s0=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}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 y(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(C(Tm),C(q))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class a0{constructor(n){this._doc=n}}const Am="ng-app-id";let l0=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=t0(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Am}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(Am),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Am,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(Ws),C(ef,8),C(Ni))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Rm={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},km=/%COMP%/g,qH=new D("",{providedIn:"root",factory:()=>!0});function d0(e,n){return n.map(t=>t.replace(km,e))}let Om=(()=>{class e{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.rendererByCompId=new Map,this.platformIsServer=t0(a),this.defaultRenderer=new Nm(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===yn.ShadowDom&&(i={...i,encapsulation:yn.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof h0?r.applyToHost(t):r instanceof Fm&&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 yn.Emulated:o=new h0(l,c,i,this.appId,d,s,a,u);break;case yn.ShadowDom:return new KH(l,c,t,i,s,a,this.nonce,u);default:o=new Fm(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(C(s0),C(l0),C(Ws),C(qH),C(ee),C(Ni),C(q),C(ef))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class Nm{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Rm[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(u0(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(u0(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new y(-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=Rm[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Rm[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&(Vi.DashCase|Vi.Important)?n.style.setProperty(t,i,r&Vi.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Vi.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=zi().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 u0(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class KH extends Nm{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=d0(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Fm extends Nm{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?d0(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h0 extends Fm{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 WH(e){return"_ngcontent-%COMP%".replace(km,e)}(c),this.hostAttr=function YH(e){return"_nghost-%COMP%".replace(km,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 QH=(()=>{class e extends a0{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#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const f0=["alt","control","meta","shift"],XH={"\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"},JH={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let eU=(()=>{class e extends a0{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(()=>zi().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."),f0.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=XH[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"),f0.forEach(s=>{s!==r&&(0,JH[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#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const rU=iE(fB,"browser",[{provide:Ni,useValue:JE},{provide:Uy,useValue:function tU(){Mm.makeCurrent()},multi:!0},{provide:ee,useFactory:function iU(){return function jk(e){Jh=e}(document),document},deps:[]}]),oU=new D(""),g0=[{provide:od,useClass:class HH{addToWindow(n){me.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new y(5103,!1);return o},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(i=>{const r=me.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?zi().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Wx,useClass:Zp,deps:[q,Kp,od]},{provide:Zp,useClass:Zp,deps:[q,Kp,od]}],_0=[{provide:Wh,useValue:"root"},{provide:on,useFactory:function nU(){return new on},deps:[]},{provide:Tm,useClass:QH,multi:!0,deps:[ee,q,Ni]},{provide:Tm,useClass:eU,multi:!0,deps:[ee]},Om,l0,s0,{provide:Ff,useExisting:Om},{provide:class mH{},useClass:UH,deps:[]},[]];let v0=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ws,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(C(oU,12))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[..._0,...g0],imports:[XE,pB]})}return e})(),sU=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(i){let r=null;return r=i?new(i||e):C(dU),r},providedIn:"root"})}return e})(),dU=(()=>{class e extends Pm{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case ut.NONE:return i;case ut.HTML:return $n(i,"HTML")?Yt(i):Ab(this._doc,String(i)).toString();case ut.STYLE:return $n(i,"Style")?Yt(i):i;case ut.SCRIPT:if($n(i,"Script"))return Yt(i);throw new y(5200,!1);case ut.URL:return $n(i,"URL")?Yt(i):bc(String(i));case ut.RESOURCE_URL:if($n(i,"ResourceURL"))return Yt(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return function OO(e){return new SO(e)}(t)}bypassSecurityTrustStyle(t){return function NO(e){return new MO(e)}(t)}bypassSecurityTrustScript(t){return function FO(e){return new TO(e)}(t)}bypassSecurityTrustUrl(t){return function PO(e){return new AO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function LO(e){return new RO(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gi(e){return this instanceof Gi?(this.v=e,this):new Gi(e)}function E0(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 jm(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 Hm=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function I0(e){return se(e?.then)}function S0(e){return se(e[Qu])}function M0(e){return Symbol.asyncIterator&&se(e?.[Symbol.asyncIterator])}function T0(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 A0=function OU(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function R0(e){return se(e?.[A0])}function k0(e){return function x0(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(f){return new Promise(function(p,m){o.push([h,f,p,m])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Gi?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](f))}catch(p){u(o[0][3],p)}}function c(h){a("next",h)}function d(h){a("throw",h)}function u(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Gi(t.read());if(r)return yield Gi(void 0);yield yield Gi(i)}}finally{t.releaseLock()}})}function O0(e){return se(e?.getReader)}function Ot(e){if(e instanceof Ve)return e;if(null!=e){if(S0(e))return function NU(e){return new Ve(n=>{const t=e[Qu]();if(se(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Hm(e))return function FU(e){return new Ve(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,sv)})}(e);if(M0(e))return N0(e);if(R0(e))return function LU(e){return new Ve(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(O0(e))return function VU(e){return N0(k0(e))}(e)}throw T0(e)}function N0(e){return new Ve(n=>{(function BU(e,n){var t,i,r,o;return function C0(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=E0(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 vi(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 F0(e,n=0){return ze((t,i)=>{t.subscribe(Re(i,r=>vi(i,e,()=>i.next(r),n),()=>vi(i,e,()=>i.complete(),n),r=>vi(i,e,()=>i.error(r),n)))})}function P0(e,n=0){return ze((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function L0(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ve(t=>{vi(t,n,()=>{const i=e[Symbol.asyncIterator]();vi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function lt(e,n){return n?function GU(e,n){if(null!=e){if(S0(e))return function jU(e,n){return Ot(e).pipe(P0(n),F0(n))}(e,n);if(Hm(e))return function UU(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(I0(e))return function HU(e,n){return Ot(e).pipe(P0(n),F0(n))}(e,n);if(M0(e))return L0(e,n);if(R0(e))return function $U(e,n){return new Ve(t=>{let i;return vi(t,n,()=>{i=e[A0](),vi(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)}),()=>se(i?.return)&&i.return()})}(e,n);if(O0(e))return function zU(e,n){return L0(k0(e),n)}(e,n)}throw T0(e)}(e,n):Ot(e)}function V0(e){return e&&se(e.schedule)}function Um(e){return e[e.length-1]}function B0(e){return se(Um(e))?e.pop():void 0}function Ba(e){return V0(Um(e))?e.pop():void 0}function F(...e){return lt(e,Ba(e))}const{isArray:WU}=Array,{getPrototypeOf:YU,prototype:ZU,keys:KU}=Object;function j0(e){if(1===e.length){const n=e[0];if(WU(n))return{args:n,keys:null};if(function QU(e){return e&&"object"==typeof e&&YU(e)===ZU}(n)){const t=KU(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:XU}=Array;function $m(e){return Z(n=>function JU(e,n){return XU(n)?e(...n):e(n)}(e,n))}function H0(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function Md(...e){const n=Ba(e),t=B0(e),{args:i,keys:r}=j0(e);if(0===i.length)return lt([],n);const o=new Ve(function e$(e,n,t=Ii){return i=>{U0(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=lt(e[l],n);let d=!1;c.subscribe(Re(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>H0(r,s):Ii));return t?o.pipe($m(t)):o}function U0(e,n,t){e?vi(t,e,n):n()}const Td=zu(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ht(e,n,t=1/0){return se(n)?ht((i,r)=>Z((o,s)=>n(i,o,r,s))(Ot(e(i,r))),t):("number"==typeof n&&(t=n),ze((i,r)=>function t$(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&n.complete()},f=m=>c{o&&n.next(m),c++;let g=!1;Ot(t(m,d++)).subscribe(Re(n,b=>{r?.(b),o?f(b):n.next(b)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&cp(b)):p(b)}h()}catch(b){n.error(b)}}))};return e.subscribe(Re(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,r,e,t)))}function Xo(e=1/0){return ht(Ii,e)}function Ad(...e){return function n$(){return Xo(1)}()(lt(e,Ba(e)))}function $0(e){return new Ve(n=>{Ot(e()).subscribe(n)})}function ja(e,n){const t=se(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 zm(){return ze((e,n)=>{let t=null;e._refCount++;const i=Re(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 z0 extends Ve{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,dv(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 Ke;const t=this.getSubject();n.add(this.source.subscribe(Re(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ke.EMPTY)}return n}refCount(){return zm()(this)}}function Mn(e,n){return ze((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(Re(i,l=>{r?.unsubscribe();let c=0;const d=o++;Ot(e(l,d)).subscribe(r=Re(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Tn(e){return e<=0?()=>Jn:ze((n,t)=>{let i=0;n.subscribe(Re(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function Jo(...e){const n=Ba(e);return ze((t,i)=>{(n?Ad(e,t,n):Ad(e,t)).subscribe(i)})}function Qt(e,n){return ze((t,i)=>{let r=0;t.subscribe(Re(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Rd(e){return ze((n,t)=>{let i=!1;n.subscribe(Re(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function G0(e=r$){return ze((n,t)=>{let i=!1;n.subscribe(Re(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function r$(){return new Td}function Ir(e,n){const t=arguments.length>=2;return i=>i.pipe(e?Qt((r,o)=>e(r,o,i)):Ii,Tn(1),t?Rd(n):G0(()=>new Td))}function es(e,n){return se(n)?ht(e,n,1):ht(e,1)}function et(e,n,t){const i=se(e)||n||t?{next:e,error:n,complete:t}:e;return i?ze((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Re(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)}))}):Ii}function Sr(e){return ze((n,t)=>{let o,i=null,r=!1;i=n.subscribe(Re(t,void 0,void 0,s=>{o=Ot(e(s,Sr(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Gm(e){return e<=0?()=>Jn:ze((n,t)=>{let i=[];n.subscribe(Re(t,r=>{i.push(r),e{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function kd(e){return ze((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Ue(e){return ze((n,t)=>{Ot(e).subscribe(Re(t,()=>t.complete(),qu)),!t.closed&&n.subscribe(t)})}const K="primary",Ha=Symbol("RouteTitle");class c${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 ts(e){return new c$(e)}function d$(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.lengthi[o]===r)}return e===n}function W0(e){return e.length>0?e[e.length-1]:null}function qi(e){return function uU(e){return!!e&&(e instanceof Ve||se(e.lift)&&se(e.subscribe))}(e)?e:Ma(e)?lt(Promise.resolve(e)):F(e)}const h$={exact:function K0(e,n,t){if(!Mr(e.segments,n.segments)||!Od(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!K0(e.children[i],n.children[i],t))return!1;return!0},subset:Q0},Y0={exact:function f$(e,n){return ei(e,n)},subset:function p$(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>q0(e[t],n[t]))},ignored:()=>!0};function Z0(e,n,t){return h$[t.paths](e.root,n.root,t.matrixParams)&&Y0[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function Q0(e,n,t){return X0(e,n,n.segments,t)}function X0(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!Mr(r,t)||n.hasChildren()||!Od(r,t,i))}if(e.segments.length===t.length){if(!Mr(e.segments,t)||!Od(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!Q0(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!!(Mr(e.segments,r)&&Od(e.segments,r,i)&&e.children[K])&&X0(e.children[K],n,o,i)}}function Od(e,n,t){return n.every((i,r)=>Y0[t](e[r].parameters,i.parameters))}class ns{constructor(n=new be([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=ts(this.queryParams),this._queryParamMap}toString(){return _$.serialize(this)}}class be{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nd(this)}}class Ua{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ts(this.parameters),this._parameterMap}toString(){return tI(this)}}function Mr(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let is=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>new Wm,providedIn:"root"})}return e})();class Wm{parse(n){const t=new M$(n);return new ns(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${$a(n.root,!0)}`,i=function b$(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${Fd(t)}=${Fd(r)}`).join("&"):`${Fd(t)}=${Fd(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function v$(e){return encodeURI(e)}(n.fragment)}`:""}`}}const _$=new Wm;function Nd(e){return e.segments.map(n=>tI(n)).join("/")}function $a(e,n){if(!e.hasChildren())return Nd(e);if(n){const t=e.children[K]?$a(e.children[K],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==K&&i.push(`${r}:${$a(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function g$(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===K&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==K&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===K?[$a(e.children[K],!1)]:[`${r}:${$a(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[K]?`${Nd(e)}/${t[0]}`:`${Nd(e)}/(${t.join("//")})`}}function J0(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fd(e){return J0(e).replace(/%3B/gi,";")}function Ym(e){return J0(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pd(e){return decodeURIComponent(e)}function eI(e){return Pd(e.replace(/\+/g,"%20"))}function tI(e){return`${Ym(e.path)}${function y$(e){return Object.entries(e).map(([n,t])=>`;${Ym(n)}=${Ym(t)}`).join("")}(e.parameters)}`}const w$=/^[^\/()?;#]+/;function Zm(e){const n=e.match(w$);return n?n[0]:""}const C$=/^[^\/()?;=#]+/,x$=/^[^=?&#]+/,I$=/^[^&#]+/;class M${constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new be([],{}):new be([],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[K]=new be(n,t)),i}parseSegment(){const n=Zm(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new Ua(Pd(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function D$(e){const n=e.match(C$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=Zm(this.remaining);r&&(i=r,this.capture(i))}n[Pd(t)]=Pd(i)}parseQueryParam(n){const t=function E$(e){const n=e.match(x$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function S$(e){const n=e.match(I$);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=eI(t),o=eI(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=Zm(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new y(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=K);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[K]:new be([],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 y(4011,!1)}}function nI(e){return e.segments.length>0?new be([],{[K]:e}):e}function iI(e){const n={};for(const[i,r]of Object.entries(e.children)){const o=iI(r);if(i===K&&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 T$(e){if(1===e.numberOfChildren&&e.children[K]){const n=e.children[K];return new be(e.segments.concat(n.segments),n.children)}return e}(new be(e.segments,n))}function rs(e){return e instanceof ns}function rI(e){let n;const r=nI(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new be(o.url,s);return o===e&&(n=a),a}(e.root));return n??r}function oI(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Km(r,r,r,t,i);const o=function R$(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new aI(!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 aI(t,n,i)}(n);if(o.toRoot())return Km(r,r,new be([],{}),t,i);const s=function k$(e,n,t){if(e.isAbsolute)return new Vd(n,!0,0);if(!t)return new Vd(n,!1,NaN);if(null===t.parent)return new Vd(t,!0,0);const i=Ld(e.commands[0])?0:1;return function O$(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new y(4005,!1);r=i.segments.length}return new Vd(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?Ga(s.segmentGroup,s.index,o.commands):lI(s.segmentGroup,s.index,o.commands);return Km(r,s.segmentGroup,a,t,i)}function Ld(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function za(e){return"object"==typeof e&&null!=e&&e.outlets}function Km(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:sI(e,n,t);const a=nI(iI(s));return new ns(a,o,r)}function sI(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:sI(o,n,t)}),new be(e.segments,i)}class aI{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&Ld(i[0]))throw new y(4003,!1);const r=i.find(za);if(r&&r!==W0(i))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Vd{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function lI(e,n,t){if(e??=new be([],{}),0===e.segments.length&&e.hasChildren())return Ga(e,n,t);const i=function F$(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=e.segments[r],a=t[i];if(za(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!dI(l,c,s))return o;i+=2}else{if(!dI(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.pathIndexo!==K)&&e.children[K]&&1===e.numberOfChildren&&0===e.children[K].segments.length){const o=Ga(e.children[K],n,t);return new be(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=lI(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new be(e.segments,r)}}function Qm(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Qm(new be([],{}),0,i))}),n}function cI(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function dI(e,n,t){return e==t.path&&ei(n,t.parameters)}const qa="imperative";var ie=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}(ie||{});class ti{constructor(n,t){this.id=n,this.url=t}}class Bd extends ti{constructor(n,t,i="imperative",r=null){super(n,t),this.type=ie.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class yi extends ti{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var pn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(pn||{}),jd=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(jd||{});class os extends ti{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ss extends ti{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=ie.NavigationSkipped}}class Hd extends ti{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class uI extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class L$ extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class V$ extends ti{constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class B$ extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class j$ extends ti{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H${constructor(n){this.route=n,this.type=ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class U${constructor(n){this.route=n,this.type=ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class $${constructor(n){this.snapshot=n,this.type=ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z${constructor(n){this.snapshot=n,this.type=ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G${constructor(n){this.snapshot=n,this.type=ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class q${constructor(n){this.snapshot=n,this.type=ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hI{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=ie.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Xm{}class Jm{constructor(n){this.url=n}}class W${constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Wa,this.attachRef=null}}let Wa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new W$,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class fI{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=eg(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=eg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=tg(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return tg(n,this._root).map(t=>t.value)}}function eg(e,n){if(e===n.value)return n;for(const t of n.children){const i=eg(e,t);if(i)return i}return null}function tg(e,n){if(e===n.value)return[n];for(const t of n.children){const i=tg(e,t);if(i.length)return i.unshift(n),i}return[]}class An{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function as(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class pI extends fI{constructor(n,t){super(n),this.snapshot=t,rg(this,n)}toString(){return this.snapshot.toString()}}function mI(e){const n=function Y$(e){const o=new ig([],{},{},"",{},K,e,null,{});return new gI("",new An(o,[]))}(e),t=new Ht([new Ua("",{})]),i=new Ht({}),r=new Ht({}),o=new Ht({}),s=new Ht(""),a=new ls(t,i,o,s,r,K,e,n.root);return a.snapshot=n.root,new pI(new An(a,[]),n)}class ls{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(Z(c=>c[Ha]))??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(Z(n=>ts(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Z(n=>ts(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ng(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&&vI(r)&&(i.resolve[Ha]=r.title),i}class ig{get title(){return this.data?.[Ha]}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??=ts(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ts(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gI extends fI{constructor(n,t){super(t),this.url=n,rg(this,t)}toString(){return _I(this._root)}}function rg(e,n){n.value._routerState=e,n.children.forEach(t=>rg(e,t))}function _I(e){const n=e.children.length>0?` { ${e.children.map(_I).join(", ")} } `:"";return`${e.value}${n}`}function og(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ei(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),ei(n.params,t.params)||e.paramsSubject.next(t.params),function u$(e,n){if(e.length!==n.length)return!1;for(let t=0;tei(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||sg(e.parent,n.parent))}function vI(e){return"string"==typeof e.title||null===e.title}let ag=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=K,this.activateEvents=new ue,this.deactivateEvents=new ue,this.attachEvents=new ue,this.detachEvents=new ue,this.parentContexts=x(Wa),this.location=x(sn),this.changeDetector=x(Gn),this.environmentInjector=x(rn),this.inputBinder=x(Ud,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(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 y(4013,!1);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Z$(t,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[zt]})}return e})();class Z${constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===ls?this.route:n===Wa?this.childContexts:this.parent.get(n,t)}}const Ud=new D("");let yI=(()=>{class e{constructor(){this.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=Md([i.queryParams,i.params,i.data]).pipe(Mn(([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 UB(e){const n=Q(e);if(!n)return null;const t=new da(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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function Ya(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function Q$(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return Ya(e,i,r);return Ya(e,i)})}(e,n,t);return new An(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=>Ya(e,a)),s}}const i=function X$(e){return new ls(new Ht(e.url),new Ht(e.params),new Ht(e.queryParams),new Ht(e.fragment),new Ht(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>Ya(e,o));return new An(i,r)}}const bI="ngNavigationCancelingError";function wI(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=rs(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=CI(!1,pn.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function CI(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[bI]=!0,t.cancellationCode=n,t}function DI(e){return!!e&&e[bI]}let xI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["ng-component"]],standalone:!0,features:[Qn],decls:1,vars:0,template:function(i,r){1&i&&cn(0,"router-outlet")},dependencies:[ag],encapsulation:2})}return e})();function lg(e){const n=e.children&&e.children.map(lg),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==K&&(t.component=xI),t}function ni(e){return e.outlet||K}function Za(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 sz{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),og(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=as(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=as(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=as(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=as(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new q$(o.value.snapshot))}),n.children.length&&this.forwardEvent(new z$(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(og(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),og(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Za(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class EI{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class $d{constructor(n,t){this.component=n,this.route=t}}function az(e,n,t){const i=e._root;return Ka(i,n?n._root:null,t,[i.value])}function cs(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function jA(e){return null!==kl(e)}(e)?n.get(e):e:i}function Ka(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=as(n);return e.children.forEach(s=>{(function cz(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 dz(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Mr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Mr(e.url,n.url)||!ei(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sg(e,n)||!ei(e.queryParams,n.queryParams);default:return!sg(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new EI(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Ka(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new $d(a.outlet.component,s))}else s&&Qa(n,a,r),r.canActivateChecks.push(new EI(i)),Ka(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])=>Qa(a,t.getContext(s),r)),r}function Qa(e,n,t){const i=as(e),r=e.value;Object.entries(i).forEach(([o,s])=>{Qa(s,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new $d(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Xa(e){return"function"==typeof e}function II(e){return e instanceof Td||"EmptyError"===e?.name}const zd=Symbol("INITIAL_VALUE");function ds(){return Mn(e=>Md(e.map(n=>n.pipe(Tn(1),Jo(zd)))).pipe(Z(n=>{for(const t of n)if(!0!==t){if(t===zd)return zd;if(!1===t||t instanceof ns)return t}return!0}),Qt(n=>n!==zd),Tn(1)))}function SI(e){return function IA(...e){return av(e)}(et(n=>{if(rs(n))throw wI(0,n)}),Z(n=>!0===n))}class cg{constructor(n){this.segmentGroup=n||null}}class dg extends Error{constructor(n){super(),this.urlTree=n}}function us(e){return ja(new cg(e))}class Tz{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[K])return ja(new y(4e3,!1));r=r.children[K]}}applyRedirectCommands(n,t,i){const r=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if(t.startsWith("/"))throw new dg(r);return r}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new ns(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.startsWith(":")){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 be(o,s)}createSegments(n,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new y(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 ug={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Az(e,n,t,i,r){const o=hg(e,n,t);return o.matched?(i=function ez(e,n){return e.providers&&!e._injector&&(e._injector=up(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function Iz(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?F(r.map(s=>{const a=cs(s,e);return qi(function gz(e){return e&&Xa(e.canMatch)}(a)?a.canMatch(n,t):hr(e,()=>a(n,t)))})).pipe(ds(),SI()):F(!0)}(i,n,t).pipe(Z(s=>!0===s?o:{...ug}))):F(o)}function hg(e,n,t){if("**"===n.path)return function Rz(e){return{matched:!0,parameters:e.length>0?W0(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...ug}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||d$)(t,e,n);if(!r)return{...ug};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 MI(e,n,t,i){return t.length>0&&function Nz(e,n,t){return t.some(i=>Gd(e,n,i)&&ni(i)!==K)}(e,t,i)?{segmentGroup:new be(n,Oz(i,new be(t,e.children))),slicedSegments:[]}:0===t.length&&function Fz(e,n,t){return t.some(i=>Gd(e,n,i))}(e,t,i)?{segmentGroup:new be(e.segments,kz(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new be(e.segments,e.children),slicedSegments:t}}function kz(e,n,t,i){const r={};for(const o of t)if(Gd(e,n,o)&&!i[ni(o)]){const s=new be([],{});r[ni(o)]=s}return{...i,...r}}function Oz(e,n){const t={};t[K]=n;for(const i of e)if(""===i.path&&ni(i)!==K){const r=new be([],{});t[ni(i)]=r}return t}function Gd(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class Vz{}class Hz{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 Tz(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}recognize(){const n=MI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(Z(t=>{const i=new ig([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},K,this.rootComponentType,null,{}),r=new An(i,t),o=new gI("",r),s=function A$(e,n,t=null,i=null){return oI(rI(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,K).pipe(Sr(i=>{if(i instanceof dg)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof cg?this.noMatchError(i):i}))}inheritParamsAndData(n,t){const i=n.value,r=ng(i,t,this.paramsInheritanceStrategy);i.params=Object.freeze(r.params),i.data=Object.freeze(r.data),n.children.forEach(o=>this.inheritParamsAndData(o,i))}processSegmentGroup(n,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i):this.processSegment(n,t,i,i.segments,r,!0).pipe(Z(o=>o instanceof An?[o]:[]))}processChildren(n,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return lt(r).pipe(es(o=>{const s=i.children[o],a=function rz(e,n){const t=e.filter(i=>ni(i)===n);return t.push(...e.filter(i=>ni(i)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function s$(e,n){return ze(function o$(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Re(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))}((o,s)=>(o.push(...s),o)),Rd(null),function a$(e,n){const t=arguments.length>=2;return i=>i.pipe(e?Qt((r,o)=>e(r,o,i)):Ii,Gm(1),t?Rd(n):G0(()=>new Td))}(),ht(o=>{if(null===o)return us(i);const s=TI(o);return function Uz(e){e.sort((n,t)=>n.value.outlet===K?-1:t.value.outlet===K?1:n.value.outlet.localeCompare(t.value.outlet))}(s),F(s)}))}processSegment(n,t,i,r,o,s){return lt(t).pipe(es(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,i,r,o,s).pipe(Sr(l=>{if(l instanceof cg)return F(null);throw l}))),Ir(a=>!!a),Sr(a=>{if(II(a))return function Lz(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?F(new Vz):us(i);throw a}))}processSegmentAgainstRoute(n,t,i,r,o,s,a){return function Pz(e,n,t,i){return!!(ni(e)===i||i!==K&&Gd(n,t,e))&&hg(n,e,t).matched}(i,r,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s):us(r):us(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=hg(t,r,o);if(!a)return us(t);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,u).pipe(ht(h=>this.processSegment(n,i,t,h.concat(d),s,!1)))}matchSegmentAgainstRoute(n,t,i,r,o){const s=Az(t,i,r,n);return"**"===i.path&&(t.children={}),s.pipe(Mn(a=>a.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Mn(({routes:l})=>{const c=i._loadedInjector??n,{consumedSegments:d,remainingSegments:u,parameters:h}=a,f=new ig(d,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function zz(e){return e.data||{}}(i),ni(i),i.component??i._loadedComponent??null,i,function Gz(e){return e.resolve||{}}(i)),{segmentGroup:p,slicedSegments:m}=MI(t,d,u,l);if(0===m.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(Z(b=>null===b?null:new An(f,b)));if(0===l.length&&0===m.length)return F(new An(f,[]));const g=ni(i)===o;return this.processSegment(c,l,p,m,g?K:o,!0).pipe(Z(b=>new An(f,b instanceof An?[b]:[])))})):us(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 Ez(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?F(!0):F(r.map(s=>{const a=cs(s,e);return qi(function hz(e){return e&&Xa(e.canLoad)}(a)?a.canLoad(n,t):hr(e,()=>a(n,t)))})).pipe(ds(),SI())}(n,t,i).pipe(ht(r=>r?this.configLoader.loadChildren(n,t).pipe(et(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function Mz(e){return ja(CI(!1,pn.GuardRejected))}())):F({routes:[],injector:n})}}function $z(e){const n=e.value.routeConfig;return n&&""===n.path}function TI(e){const n=[],t=new Set;for(const i of e){if(!$z(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=TI(i.children);n.push(new An(i.value,r))}return n.filter(i=>!t.has(i))}function AI(e){const n=e.children.map(t=>AI(t)).flat();return[e,...n]}function fg(e){return Mn(n=>{const t=e(n);return t?lt(t).pipe(Z(()=>n)):F(n)})}let RI=(()=>{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===K);return i}getResolvedTitleForRoute(t){return t.data[Ha]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(Qz),providedIn:"root"})}return e})(),Qz=(()=>{class e extends RI{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||e)(C(sU))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hs=new D("",{providedIn:"root",factory:()=>({})}),fs=new D("");let pg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=x(Ux)}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=qi(t.loadComponent()).pipe(Z(kI),et(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),kd(()=>{this.componentLoaders.delete(t)})),r=new z0(i,()=>new ce).pipe(zm());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 Xz(e,n,t,i){return qi(e.loadChildren()).pipe(Z(kI),ht(r=>r instanceof Jw||Array.isArray(r)?F(r):lt(n.compileModuleAsync(r))),Z(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(t).injector,s=o.get(fs,[],{optional:!0,self:!0}).flat()),{routes:s.map(lg),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(kd(()=>{this.childrenLoaders.delete(i)})),s=new z0(o,()=>new ce).pipe(zm());return this.childrenLoaders.set(i,s),s}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kI(e){return function Jz(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let mg=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(e3),providedIn:"root"})}return e})(),e3=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const OI=new D(""),NI=new D("");function t3(e,n,t){const i=e.get(NI),r=e.get(ee);return e.get(q).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),function n3(e){return new Promise(n=>{Rw(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&hr(e,()=>l({transition:a,from:n,to:t})),s})}let qd=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ce,this.transitionAbortSubject=new ce,this.configLoader=x(pg),this.environmentInjector=x(rn),this.urlSerializer=x(is),this.rootContexts=x(Wa),this.location=x(Ko),this.inputBindingEnabled=null!==x(Ud,{optional:!0}),this.titleStrategy=x(RI),this.options=x(hs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=x(mg),this.createViewTransition=x(OI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>F(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new U$(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new H$(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 Ht({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qa,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qt(o=>0!==o.id),Z(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Mn(o=>{this.currentTransition=o;let s=!1,a=!1;return F(o).pipe(et(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Mn(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new ss(l.id,this.urlSerializer.serialize(l.rawUrl),u,jd.IgnoredSameUrlNavigation)),l.resolve(null),Jn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return F(l).pipe(Mn(u=>{const h=this.transitions?.getValue();return this.events.next(new Bd(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),h!==this.transitions?.getValue()?Jn:Promise.resolve(u)}),function qz(e,n,t,i,r,o){return ht(s=>function Bz(e,n,t,i,r,o,s="emptyOnly"){return new Hz(e,n,t,i,r,s,o).recognize()}(e,n,t,i,s.extractedUrl,r,o).pipe(Z(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),et(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects};const h=new uI(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:u,extractedUrl:h,source:f,restoredState:p,extras:m}=l,g=new Bd(u,this.urlSerializer.serialize(h),f,p);this.events.next(g);const b=mI(this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:b,urlAfterRedirects:h,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=h,F(o)}{const u="";return this.events.next(new ss(l.id,this.urlSerializer.serialize(l.extractedUrl),u,jd.IgnoredByUrlHandlingStrategy)),l.resolve(null),Jn}}),et(l=>{const c=new L$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Z(l=>(this.currentTransition=o={...l,guards:az(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function _z(e,n){return ht(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?F({...t,guardsResult:!0}):function vz(e,n,t,i){return lt(e).pipe(ht(r=>function xz(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=Za(n)??r,c=cs(a,l);return qi(function mz(e){return e&&Xa(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):hr(l,()=>c(e,n,t,i))).pipe(Ir())})).pipe(ds()):F(!0)}(r.component,r.route,t,n,i)),Ir(r=>!0!==r,!0))}(s,i,r,e).pipe(ht(a=>a&&function uz(e){return"boolean"==typeof e}(a)?function yz(e,n,t,i){return lt(n).pipe(es(r=>Ad(function wz(e,n){return null!==e&&n&&n(new $$(e)),F(!0)}(r.route.parent,i),function bz(e,n){return null!==e&&n&&n(new G$(e)),F(!0)}(r.route,i),function Dz(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function lz(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=>$0(()=>F(s.guards.map(l=>{const c=Za(s.node)??t,d=cs(l,c);return qi(function pz(e){return e&&Xa(e.canActivateChild)}(d)?d.canActivateChild(i,e):hr(c,()=>d(i,e))).pipe(Ir())})).pipe(ds())));return F(o).pipe(ds())}(e,r.path,t),function Cz(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return F(!0);const r=i.map(o=>$0(()=>{const s=Za(n)??t,a=cs(o,s);return qi(function fz(e){return e&&Xa(e.canActivate)}(a)?a.canActivate(n,e):hr(s,()=>a(n,e))).pipe(Ir())}));return F(r).pipe(ds())}(e,r.route,t))),Ir(r=>!0!==r,!0))}(i,o,e,n):F(a)),Z(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),et(l=>{if(o.guardsResult=l.guardsResult,rs(l.guardsResult))throw wI(0,l.guardsResult);const c=new V$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Qt(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",pn.GuardRejected),!1)),fg(l=>{if(l.guards.canActivateChecks.length)return F(l).pipe(et(c=>{const d=new B$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Mn(c=>{let d=!1;return F(c).pipe(function Wz(e,n){return ht(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 AI(l))s.add(c);let a=0;return lt(s).pipe(es(l=>o.has(l)?function Yz(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!vI(r)&&(o[Ha]=r.title),function Zz(e,n,t,i){const r=qm(e);if(0===r.length)return F({});const o={};return lt(r).pipe(ht(s=>function Kz(e,n,t,i){const r=Za(n)??i,o=cs(e,r);return qi(o.resolve?o.resolve(n,t):hr(r,()=>o(n,t)))}(e[s],n,t,i).pipe(Ir(),et(a=>{o[s]=a}))),Gm(1),function l$(e){return Z(()=>e)}(o),Sr(s=>II(s)?Jn:ja(s)))}(o,e,n,i).pipe(Z(s=>(e._resolvedData=s,e.data=ng(e,e.parent,t).resolve,null)))}(l,i,e,n):(l.data=ng(l,l.parent,e).resolve,F(void 0))),et(()=>a++),Gm(1),ht(l=>a===s.size?F(t):Jn))})}(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",pn.NoDataFromResolver)}}))}),et(c=>{const d=new j$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),fg(l=>{const c=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(et(h=>{d.component=h}),Z(()=>{})));for(const h of d.children)u.push(...c(h));return u};return Md(c(l.targetSnapshot.root)).pipe(Rd(null),Tn(1))}),fg(()=>this.afterPreactivation()),Mn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?lt(d).pipe(Z(()=>o)):F(o)}),Z(l=>{const c=function K$(e,n,t){const i=Ya(e,n._root,t?t._root:void 0);return new pI(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),et(()=>{this.events.next(new Xm)}),((e,n,t,i)=>Z(r=>(new sz(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Tn(1),et({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new yi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Ue(this.transitionAbortSubject.pipe(et(l=>{throw l}))),kd(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",pn.SupersededByNewNavigation),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Sr(l=>{if(a=!0,DI(l))this.events.next(new os(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function J$(e){return DI(e)&&rs(e.url)}(l)?this.events.next(new Jm(l.url)):o.resolve(!1);else{this.events.next(new Hd(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(c)}}return Jn}))}))}cancelNavigationTransition(t,i,r){const o=new os(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function r3(e){return e!==qa}let o3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(a3),providedIn:"root"})}return e})();class s3{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let a3=(()=>{class e extends s3{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),FI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:()=>x(l3),providedIn:"root"})}return e})(),l3=(()=>{class e extends FI{constructor(){super(...arguments),this.location=x(Ko),this.urlSerializer=x(is),this.options=x(hs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=x(mg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ns,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mI(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}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 Bd)this.stateMemento=this.createStateMemento();else if(t instanceof ss)this.rawUrlTree=i.initialUrl;else if(t instanceof uI){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(r,i)}}else t instanceof Xm?(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(this.rawUrlTree,i))):t instanceof os&&(t.code===pn.GuardRejected||t.code===pn.NoDataFromResolver)?this.restoreHistory(i):t instanceof Hd?this.restoreHistory(i,!0):t instanceof yi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(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#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ja=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Ja||{});function PI(e,n){e.events.pipe(Qt(t=>t instanceof yi||t instanceof os||t instanceof Hd||t instanceof ss),Z(t=>t instanceof yi||t instanceof ss?Ja.COMPLETE:t instanceof os&&(t.code===pn.Redirect||t.code===pn.SupersededByNewNavigation)?Ja.REDIRECTING:Ja.FAILED),Qt(t=>t!==Ja.REDIRECTING),Tn(1)).subscribe(()=>{n()})}function c3(e){throw e}const d3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},u3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=x(Hx),this.stateManager=x(FI),this.options=x(hs,{optional:!0})||{},this.pendingTasks=x(_a),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=x(qd),this.urlSerializer=x(is),this.location=x(Ko),this.urlHandlingStrategy=x(mg),this._events=new ce,this.errorHandler=this.options.errorHandler||c3,this.navigated=!1,this.routeReuseStrategy=x(o3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=x(fs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!x(Ud,{optional:!0}),this.eventsSubscription=new Ke,this.isNgZoneEnabled=x(q)instanceof q&&q.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}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 os&&i.code!==pn.Redirect&&i.code!==pn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof yi)this.navigated=!0;else if(i instanceof Jm){const s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),a={info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||r3(r.source)};this.scheduleNavigation(s,qa,null,a,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function f3(e){return!(e instanceof Xm||e instanceof Jm)})(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),qa,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(lg),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){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=rI(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),u=this.currentUrlTree.root}return oI(u,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=rs(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,qa,null,i)}navigate(t,i={skipLocationChange:!1}){return function h3(e){for(let n=0;n(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,h)=>{a=u,l=h});const d=this.pendingTasks.add();return PI(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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class LI{}let g3=(()=>{class e{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(Qt(t=>t instanceof yi),es(()=>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=up(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(Xo())}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(ht(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(Xo()):o})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Rn),C(Ux),C(rn),C(LI),C(pg))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _g=new D("");let VI=(()=>{class e{constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},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 Bd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof yi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ss&&t.code===jd.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 hI&&(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 hI(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){!function sw(){throw new Error("invalid")}()};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function ii(e,n){return{\u0275kind:e,\u0275providers:n}}function jI(){const e=x(yt);return n=>{const t=e.get(Ui);if(n!==t.components[0])return;const i=e.get(Rn),r=e.get(HI);1===e.get(vg)&&i.initialNavigation(),e.get(UI,null,J.Optional)?.setUpPreloading(),e.get(_g,null,J.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const HI=new D("",{factory:()=>new ce}),vg=new D("",{providedIn:"root",factory:()=>1}),UI=new D("");function b3(e){return ii(0,[{provide:UI,useExisting:g3},{provide:LI,useExisting:e}])}function C3(e){return ii(9,[{provide:OI,useValue:t3},{provide:NI,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const $I=new D("ROUTER_FORROOT_GUARD"),D3=[Ko,{provide:is,useClass:Wm},Rn,Wa,{provide:ls,useFactory:function BI(e){return e.routerState.root},deps:[Rn]},pg,[]];let zI=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[D3,[],{provide:fs,multi:!0,useValue:t},{provide:$I,useFactory:S3,deps:[[Rn,new cr,new zs]]},{provide:hs,useValue:i||{}},i?.useHash?{provide:Er,useClass:WB}:{provide:Er,useClass:kE},{provide:_g,useFactory:()=>{const e=x(uH),n=x(q),t=x(hs),i=x(qd),r=x(is);return t.scrollOffset&&e.setOffset(t.scrollOffset),new VI(r,i,e,n,t)}},i?.preloadingStrategy?b3(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?M3(i):[],i?.bindToComponentInputs?ii(8,[yI,{provide:Ud,useExisting:yI}]).\u0275providers:[],i?.enableViewTransitions?C3().\u0275providers:[],[{provide:GI,useFactory:jI},{provide:em,multi:!0,useExisting:GI}]]}}static forChild(t){return{ngModule:e,providers:[{provide:fs,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(i){return new(i||e)(C($I,8))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();function S3(e){return"guarded"}function M3(e){return["disabled"===e.initialNavigation?ii(3,[{provide:Xp,multi:!0,useFactory:()=>{const n=x(Rn);return()=>{n.setUpLocationChangeListener()}}},{provide:vg,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?ii(2,[{provide:vg,useValue:0},{provide:Xp,multi:!0,deps:[yt],useFactory:n=>{const t=n.get(GB,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(Rn),o=n.get(HI);PI(r,()=>{i(!0)}),n.get(qd).afterPreactivation=()=>(i(!0),o.closed?F(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const GI=new D("");let yg;try{yg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{yg=!1}let el,Tr,bg,Xt=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?e0(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!yg)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ni))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tl(e){return function A3(){if(null==el&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>el=!0}))}finally{el=el||!1}return el}()?e:!!e.capture}function R3(){if(null==Tr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Tr=!1,Tr;if("scrollBehavior"in document.documentElement.style)Tr=!0;else{const e=Element.prototype.scrollTo;Tr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Tr}function Wi(e){return e.composedPath?e.composedPath()[0]:e.target}function wg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Yd(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class J3 extends Ke{constructor(n,t){super()}schedule(n,t=0){return this}}const Zd={setInterval(e,n,...t){const{delegate:i}=Zd;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Zd;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class xg extends J3{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 Zd.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&&Zd.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,Sl(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const YI={now:()=>(YI.delegate||Date).now(),delegate:void 0};class rl{constructor(n,t=rl.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}rl.now=YI.now;class Eg extends rl{constructor(n,t=rl.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 Ig=new Eg(xg),e4=Ig;function ZI(e,n=Ig){return ze((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{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function KI(e){return Qt((n,t)=>e<=t)}function n4(e,n){return e===n}let r4=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),o4=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[r4]})}return e})();function QI(e){return null!=e&&"false"!=`${e}`}function XI(e,n=0){return function s4(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function Kd(e){return Array.isArray(e)?e:[e]}function tt(e){return null==e?"":"string"==typeof e?e:`${e}px`}function ms(e){return e instanceof _e?e.nativeElement:e}const JI=new Set;let Ar,a4=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):c4}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function l4(e,n){if(!JI.has(e))try{Ar||(Ar=document.createElement("style"),n&&(Ar.nonce=n),Ar.setAttribute("type","text/css"),document.head.appendChild(Ar)),Ar.sheet&&(Ar.sheet.insertRule(`@media ${e} {body{ }}`,0),JI.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(ef,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function c4(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let d4=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return eS(Kd(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=Md(eS(Kd(t)).map(s=>this._registerQuery(s).observable));return o=Ad(o.pipe(Tn(1)),o.pipe(KI(1),ZI(0))),o.pipe(Z(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(Jo(i),Z(({matches:s})=>({query:t,matches:s})),Ue(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(C(a4),C(q))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eS(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function Qd(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}const nS="cdk-describedby-message",Xd="cdk-describedby-host";let Sg=0,f4=(()=>{class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Sg++,this._document=t,this._id=x(Ws)+"-"+Sg++}describe(t,i,r){if(!this._canBeDescribed(t,i))return;const o=Mg(i,r);"string"!=typeof i?(iS(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=Mg(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(`[${Xd}="${this._id}"]`);for(let i=0;i0!=r.indexOf(nS));t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){const r=this._messageRegistry.get(i);(function u4(e,n,t){const i=Qd(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(Xd,this._id),r.referenceCount++}_removeMessageReference(t,i){const r=this._messageRegistry.get(i);r.referenceCount--,function h4(e,n,t){const i=Qd(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(Xd)}_isElementDescribedByMessage(t,i){const r=Qd(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#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(Xt))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Mg(e,n){return"string"==typeof e?`${n||""}/${e}`:e}function iS(e,n){e.id||(e.id=`${nS}-${n}-${Sg++}`)}class p4{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ce,this._typeaheadSubscription=Ke.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new ce,this.change=new ce,n instanceof Go&&(this._itemChangesSubscription=n.changes.subscribe(t=>{if(this._activeItem){const r=t.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}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){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(et(t=>this._pressedLetters.push(t)),ZI(n),Qt(()=>this._pressedLetters.length>0),Z(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let r=1;r!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=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem=t[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_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 this._items instanceof Go?this._items.toArray():this._items}}class m4 extends p4{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}function oS(e){return 0===e.buttons||0===e.detail}function sS(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 w4=new D("cdk-input-modality-detector-options"),C4={ignoreKeys:[18,17,224,91,16]},gs=tl({passive:!0,capture:!0});let D4=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new Ht(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Wi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oS(s)?"keyboard":"mouse"),this._mostRecentTarget=Wi(s))},this._onTouchstart=s=>{sS(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Wi(s))},this._options={...C4,...o},this.modalityDetected=this._modality.pipe(KI(1)),this.modalityChanged=this.modalityDetected.pipe(function t4(e,n=Ii){return e=e??n4,ze((t,i)=>{let r,o=!0;t.subscribe(Re(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,gs),r.addEventListener("mousedown",this._onMousedown,gs),r.addEventListener("touchstart",this._onTouchstart,gs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,gs),document.removeEventListener("mousedown",this._onMousedown,gs),document.removeEventListener("touchstart",this._onTouchstart,gs))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(q),C(ee),C(w4,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Jd=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Jd||{});const E4=new D("cdk-focus-monitor-default-options"),eu=tl({passive:!0,capture:!0});let Tg=(()=>{class e{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ce,this._rootNodeFocusAndBlurListener=a=>{for(let c=Wi(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Jd.IMMEDIATE}monitor(t,i=!1){const r=ms(t);if(!this._platform.isBrowser||1!==r.nodeType)return F();const o=function O3(e){if(function k3(){if(null==bg){const e=typeof document<"u"?document.head:null;bg=!(!e||!e.createShadowRoot&&!e.attachShadow)}return bg}()){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 ce,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=ms(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=ms(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===Jd.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===Jd.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=Wi(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,eu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,eu)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ue(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,eu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,eu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=x(d4).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Rr.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 Rr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Rr.BLACK_ON_WHITE}return Rr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Ag,lS,cS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Rr.BLACK_ON_WHITE?t.add(Ag,lS):i===Rr.WHITE_ON_BLACK&&t.add(Ag,cS)}}static#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),I4=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(C(dS))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[o4]})}return e})();const S4=new D("cdk-dir-doc",{providedIn:"root",factory:function M4(){return x(ee)}}),T4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let tu=(()=>{class e{constructor(t){this.value="ltr",this.change=new ue,t&&(this.value=function A4(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?T4.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#e=this.\u0275fac=function(i){return new(i||e)(C(S4,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ol=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();const k4=new D("mat-sanity-checks",{providedIn:"root",factory:function R4(){return!0}});let kn=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!wg()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(C(dS),C(k4,8),C(ee))};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[ol,ol]})}return e})(),pS=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mn=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}(mn||{});class V4{constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=mn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const mS=tl({passive:!0,capture:!0});class B4{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=Wi(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}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,mS)})}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,mS)))}}const gS={enterDuration:225,exitDuration:150},_S=tl({passive:!0,capture:!0}),vS=["mousedown","touchstart"],yS=["mouseup","mouseleave","touchend","touchcancel"];class nu{static#e=this._eventManager=new B4;constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=ms(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...gS,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function H4(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),f=u.transitionDuration,p="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,m=new V4(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=mn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let g=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>this._finishRippleTransition(m),_=()=>this._destroyRipple(m);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",_),g={onTransitionEnd:b,onTransitionCancel:_}}),this._activeRipples.set(m,g),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===mn.FADING_OUT||n.state===mn.HIDDEN)return;const t=n.element,i={...gS,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=mn.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=ms(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,vS.forEach(i=>{nu._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(()=>{yS.forEach(t=>{this._triggerElement.addEventListener(t,this,_S)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===mn.FADING_IN?this._startFadeOutTransition(n):n.state===mn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=mn.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=mn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=oS(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(n.state===mn.VISIBLE||n.config.terminateOnPointerUp&&n.state===mn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(vS.forEach(t=>nu._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&yS.forEach(t=>n.removeEventListener(t,this,_S)))}}const iu=new D("mat-ripple-global-options");let U4=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new nu(this,i,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(q),v(Xt),v(iu,8),v(Fi,8))};static#t=this.\u0275dir=k({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&Bt("mat-ripple-unbounded",r.unbounded)},inputs:{color:[T.None,"matRippleColor","color"],unbounded:[T.None,"matRippleUnbounded","unbounded"],centered:[T.None,"matRippleCentered","centered"],radius:[T.None,"matRippleRadius","radius"],animation:[T.None,"matRippleAnimation","animation"],disabled:[T.None,"matRippleDisabled","disabled"],trigger:[T.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return e})(),$4=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,kn]})}return e})();const bS={capture:!0},wS=["focus","click","mouseenter","touchstart"],Rg="mat-ripple-loader-uninitialized",kg="mat-ripple-loader-class-name",CS="mat-ripple-loader-centered",ru="mat-ripple-loader-disabled";let z4=(()=>{class e{constructor(){this._document=x(ee,{optional:!0}),this._animationMode=x(Fi,{optional:!0}),this._globalRippleOptions=x(iu,{optional:!0}),this._platform=x(Xt),this._ngZone=x(q),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;const r=t.target.closest(`[${Rg}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(const t of wS)this._document?.addEventListener(t,this._onInteraction,bS)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of wS)this._document?.removeEventListener(i,this._onInteraction,bS)}configureRipple(t,i){t.setAttribute(Rg,""),(i.className||!t.hasAttribute(kg))&&t.setAttribute(kg,i.className||""),i.centered&&t.setAttribute(CS,""),i.disabled&&t.setAttribute(ru,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){const r=this._hosts.get(t);r?r.disabled=i:i?t.setAttribute(ru,""):t.removeAttribute(ru)}_createRipple(t){if(!this._document)return;const i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();const r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(kg)),t.append(r);const o=new U4(new _e(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=t,o.centered=t.hasAttribute(CS),o.disabled=t.hasAttribute(ru),this.attachRipple(t,o),o}attachRipple(t,i){t.removeAttribute(Rg),this._hosts.set(t,i)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Og(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Is({next:()=>{i.unsubscribe(),e()}});return Ot(n(...t)).subscribe(i)}class Ng{}class bi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,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=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(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 bi?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 bi;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof bi?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)}}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 q4{encodeKey(n){return xS(n)}encodeValue(n){return xS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Y4=/%(\d[a-f0-9])/gi,Z4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xS(e){return encodeURIComponent(e).replace(Y4,(n,t)=>Z4[t]??n)}function ou(e){return`${e}`}class Yi{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new q4,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W4(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(ou):[ou(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 Yi({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(ou(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(ou(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 K4{constructor(){this.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 ES(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function IS(e){return typeof Blob<"u"&&e instanceof Blob}function SS(e){return typeof FormData<"u"&&e instanceof FormData}class al{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function Q4(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 bi,this.context??=new K4,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":au.set(h,n.setHeaders[h]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,h)=>u.set(h,n.setParams[h]),c)),new al(t,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var Pg=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}(Pg||{});class J4{constructor(n,t=TS.Ok,i="OK"){this.headers=n.headers||new bi,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 ll extends J4{constructor(n={}){super(n),this.type=Pg.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new ll({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})}}var TS=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(TS||{});function Lg(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 Vg=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof al)o=t;else{let l,c;l=r.headers instanceof bi?r.headers:new bi(r.headers),r.params&&(c=r.params instanceof Yi?r.params:new Yi({fromObject:r.params})),o=new al(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(es(l=>this.handler.handle(l)));if(t instanceof al||"events"===r.observe)return s;const a=s.pipe(Qt(l=>l instanceof ll));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Z(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(Z(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(Z(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Z(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 Yi).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,Lg(r,i))}post(t,i,r={}){return this.request("POST",t,Lg(r,i))}put(t,i,r={}){return this.request("PUT",t,Lg(r,i))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ng))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const w8=["*"];let lu;function cl(e){return function C8(){if(void 0===lu&&(lu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(lu=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return lu}()?.createHTML(e)||e}function $S(e){return Error(`Unable to find icon with the name "${e}"`)}function zS(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function GS(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Or{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let cu=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Or(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(ut.HTML,r);if(!s)throw GS(r);const a=cl(s);return this._addSvgIconConfig(t,i,new Or("",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 Or(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(ut.HTML,i);if(!o)throw GS(i);const s=cl(o);return this._addSvgIconSetConfig(t,new Or("",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(ut.RESOURCE_URL,t);if(!i)throw zS(t);const r=this._cachedIconsByUrl.get(i);return r?F(du(r)):this._loadSvgIconFromConfig(new Or(t,null)).pipe(et(o=>this._cachedIconsByUrl.set(i,o)),Z(o=>du(o)))}getNamedSvgIcon(t,i=""){const r=qS(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):ja($S(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?F(du(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Z(i=>du(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?F(r):function DS(...e){const n=B0(e),{args:t,keys:i}=j0(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{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?H0(i,a):a),o.complete())}))}});return n?r.pipe($m(n)):r}(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Sr(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ut.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),F(null)})))).pipe(Z(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw $S(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(et(i=>t.svgText=i),Z(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?F(null):this._fetchIcon(t).pipe(et(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(cl(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(cl("")),r=t.attributes;for(let o=0;ocl(c)),kd(()=>this._inProgressUrlFetches.delete(s)),function G4(e={}){const{connector:n=(()=>new ce),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return ze((m,g)=>{c++,!u&&!d&&h();const b=l=l??n();g.add(()=>{c--,0===c&&!u&&!d&&(a=Og(p,r))}),b.subscribe(g),!s&&c>0&&(s=new Is({next:_=>b.next(_),error:_=>{u=!0,h(),a=Og(f,t,_),b.error(_)},complete:()=>{d=!0,h(),a=Og(f,i),b.complete()}}),Ot(m).subscribe(s))})(o)}}());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(qS(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;rn?n.pathname+n.search:""}}}),WS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],T8=WS.map(e=>`[${e}]`).join(", "),A8=/^url\(['"]?#(.*?)['"]?\)$/;let R8=(()=>{class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,r,o,s,a){this._elementRef=t,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ke.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.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(T8),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(A8):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(Tn(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(cu),lr("aria-hidden"),v(S8),v(on),v(I8,8))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(je("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),xp(r.color?"mat-"+r.color:""),Bt("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[T.HasDecoratorInputTransform,"inline","inline",Fe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[qn,Qn],ngContentSelectors:w8,decls:1,vars:0,template:function(i,r){1&i&&(Hi(),Mt(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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})(),k8=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,kn]})}return e})();function uu(...e){const n=Ba(e),t=function qU(e,n){return"number"==typeof Um(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Ot(i[0]):Xo(t)(lt(i,n)):Jn}const On=new D("");Promise.resolve(),Promise.resolve();var $=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}($||{});const Ci="*";function gn(e){return{type:$.Style,styles:e,offset:null}}class gl{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=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 QM{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,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}}function z5(e,n){1&e&&(R(0,"span",7),Mt(1,1),L())}function G5(e,n){1&e&&(R(0,"span",8),Mt(1,2),L())}const XM=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],JM=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function q5(e,n){1&e&&(R(0,"span",8),Mt(1,1),R(2,"span",9),function ly(){U.lFrame.currentNamespace=$v}(),R(3,"svg",10),cn(4,"path",11),L()()())}function W5(e,n){1&e&&(R(0,"span",12),Mt(1,2),L())}const a_=["*"],Du=new D("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),l_=new D("MatChipAvatar"),c_=new D("MatChipTrailingIcon"),d_=new D("MatChipRemove"),xu=new D("MatChip");let vs=(()=>{class e{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=t}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,i){this._elementRef=t,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,"BUTTON"===t.nativeElement.nodeName&&t.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#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(xu))};static#t=this.\u0275dir=k({type:e,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,r){1&i&&Ne("click",function(s){return r._handleClick(s)})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(je("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),Bt("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:[T.HasDecoratorInputTransform,"disabled","disabled",Fe],tabIndex:[T.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?-1:cm(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[qn]})}return e})(),sG=0,ys=(()=>{class e{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}constructor(t,i,r,o,s,a,l,c){this._changeDetectorRef=t,this._elementRef=i,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=l,this._onFocus=new ce,this._onBlur=new ce,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+sG++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new ue,this.destroyed=new ue,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=x(z4),this._document=s,this._animationsDisabled="NoopAnimations"===a,null!=c&&(this.tabIndex=parseInt(c)??-1),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=uu(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||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(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_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}):this._ngZone.onStable.pipe(Tn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Gn),v(_e),v(q),v(Tg),v(ee),v(Fi,8),v(iu,8),lr("tabindex"))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,o){if(1&i&&(dn(o,l_,5),dn(o,c_,5),dn(o,d_,5),dn(o,l_,5),dn(o,c_,5),dn(o,d_,5)),2&i){let s;Tt(s=At())&&(r.leadingIcon=s.first),Tt(s=At())&&(r.trailingIcon=s.first),Tt(s=At())&&(r.removeIcon=s.first),Tt(s=At())&&(r._allLeadingIcons=s),Tt(s=At())&&(r._allTrailingIcons=s),Tt(s=At())&&(r._allRemoveIcons=s)}},viewQuery:function(i,r){if(1&i&&td(vs,5),2&i){let o;Tt(o=At())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(i,r){1&i&&Ne("keydown",function(s){return r._handleKeydown(s)}),2&i&&(wr("id",r.id),je("role",r.role)("tabindex",r._getTabIndex())("aria-label",r.ariaLabel),xp("mat-"+(r.color||"primary")),Bt("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:[T.None,"aria-label","ariaLabel"],ariaDescription:[T.None,"aria-description","ariaDescription"],value:"value",color:"color",removable:[T.HasDecoratorInputTransform,"removable","removable",Fe],highlighted:[T.HasDecoratorInputTransform,"highlighted","highlighted",Fe],disableRipple:[T.HasDecoratorInputTransform,"disableRipple","disableRipple",Fe],disabled:[T.HasDecoratorInputTransform,"disabled","disabled",Fe],tabIndex:[T.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?void 0:cm(t)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[le([{provide:xu,useExisting:e}]),qn,Qn],ngContentSelectors:JM,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","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-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(Hi(XM),cn(0,"span",0),R(1,"span",1)(2,"span",2),Te(3,z5,2,0,"span",3),R(4,"span",4),Mt(5),cn(6,"span",5),L()()(),Te(7,G5,2,0,"span",6)),2&i&&(N(2),X("isInteractive",!1),N(),Kn(3,r.leadingIcon?3:-1),N(4),Kn(7,r._hasTrailingIcon()?7:-1))},dependencies:[vs],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.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)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{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__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.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 .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),u_=(()=>{class e extends ys{constructor(){super(...arguments),this._defaultOptions=x(Du,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new ue}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=t,this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(t){this._setSelectedState(t,!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}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#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275cmp=nn({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&&(wr("id",r.id),je("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),Bt("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:[T.HasDecoratorInputTransform,"selectable","selectable",Fe],selected:[T.HasDecoratorInputTransform,"selected","selected",Fe]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[le([{provide:ys,useExisting:e},{provide:xu,useExisting:e}]),qn,ne,Qn],ngContentSelectors:JM,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","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-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[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"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(Hi(XM),cn(0,"span",0),R(1,"span",1)(2,"button",2),Te(3,q5,5,0,"span",3),R(4,"span",4),Mt(5),cn(6,"span",5),L()()(),Te(7,W5,2,0,"span",6),R(8,"span",7),he(9),L()),2&i&&(N(2),X("tabIndex",r.tabIndex)("_allowFocusWhenDisabled",!0),je("aria-selected",r.ariaSelected)("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),N(),Kn(3,r._hasLeadingGraphic()?3:-1),N(4),Kn(7,r._hasTrailingIcon()?7:-1),N(),X("id",r._ariaDescriptionId),N(),qo(r.ariaDescription))},dependencies:[vs],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 .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{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{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.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__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.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--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.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)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{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__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.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}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{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__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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{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__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.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,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.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 .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),h_=(()=>{class e{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()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(t){this._explicitRole=t}get focused(){return this._hasFocusedChip()}constructor(t,i,r){this._elementRef=t,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new ce,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Go}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&&this._chips.forEach(t=>{t.disabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&tthis.tabIndex=t)}}_getChipStream(t){return this._chips.changes.pipe(Jo(null),Mn(()=>uu(...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(Jo(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 m4(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(Ue(this._destroyed)).subscribe(({chip:t})=>{const i=t._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(Ue(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Jo(null),Ue(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Ue(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#e=this.\u0275fac=function(i){return new(i||e)(v(_e),v(Gn),v(tu,8))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-chip-set"]],contentQueries:function(i,r,o){if(1&i&&dn(o,ys,5),2&i){let s;Tt(s=At())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,r){1&i&&Ne("keydown",function(s){return r._handleKeydown(s)}),2&i&&je("role",r.role)},inputs:{disabled:[T.HasDecoratorInputTransform,"disabled","disabled",Fe],role:"role",tabIndex:[T.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?0:cm(t)]},standalone:!0,features:[qn,Qn],ngContentSelectors:a_,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Hi(),R(0,"div",0),Mt(1),L())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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 aG{constructor(n,t){this.source=n,this.value=t}}const lG={provide:On,useExisting:we(()=>f_),multi:!0};let f_=(()=>{class e extends h_{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=x(Du,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(t,i)=>t===i,this.required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new ue,this._chips=void 0}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._syncListboxProperties()}get selected(){const t=this._chips.toArray().filter(i=>i.selected);return this.multiple?t:t[0]}get selectable(){return this._selectable}set selectable(t){this._selectable=t,this._syncListboxProperties()}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncListboxProperties()}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}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(Jo(null),Ue(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(Ue(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Ue(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 aG(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#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Be(e)))(r||e)}})();static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-chip-listbox"]],contentQueries:function(i,r,o){if(1&i&&dn(o,u_,5),2&i){let s;Tt(s=At())&&(r._chips=s)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(i,r){1&i&&Ne("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(s){return r._keydown(s)}),2&i&&(wr("tabIndex",r.disabled||r.empty?-1:r.tabIndex),je("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),Bt("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[T.HasDecoratorInputTransform,"multiple","multiple",Fe],ariaOrientation:[T.None,"aria-orientation","ariaOrientation"],selectable:[T.HasDecoratorInputTransform,"selectable","selectable",Fe],compareWith:"compareWith",required:[T.HasDecoratorInputTransform,"required","required",Fe],hideSingleSelectionIndicator:[T.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Fe],value:"value"},outputs:{change:"change"},standalone:!0,features:[le([lG]),qn,ne,Qn],ngContentSelectors:a_,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,r){1&i&&(Hi(),R(0,"div",0),Mt(1),L())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.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})(),hG=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[pS,{provide:Du,useValue:{separatorKeyCodes:[13]}}],imports:[kn,$4,kn]})}return e})();const fG=["addListener","removeListener"],pG=["addEventListener","removeEventListener"],mG=["on","off"];function p_(e,n,t,i){if(se(t)&&(i=t,t=void 0),i)return p_(e,n,t).pipe($m(i));const[r,o]=function vG(e){return se(e.addEventListener)&&se(e.removeEventListener)}(e)?pG.map(s=>a=>e[s](n,a,t)):function gG(e){return se(e.addListener)&&se(e.removeListener)}(e)?fG.map(iT(e,n)):function _G(e){return se(e.on)&&se(e.off)}(e)?mG.map(iT(e,n)):[];if(!r&&Hm(e))return ht(s=>p_(s,n,t))(Ot(e));if(!r)throw new TypeError("Invalid event target");return new Ve(s=>{const a=(...l)=>s.next(1o(a)})}function iT(e,n){return t=>i=>e[t](n,i)}const _l={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=_l;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Ke(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=_l;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=_l;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class bG extends Eg{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 yG extends xg{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=_l.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&&(_l.cancelAnimationFrame(t),n._scheduled=void 0)}});let m_,CG=1;const Iu={};function rT(e){return e in Iu&&(delete Iu[e],!0)}const DG={setImmediate(e){const n=CG++;return Iu[n]=!0,m_||(m_=Promise.resolve()),m_.then(()=>rT(n)&&e()),n},clearImmediate(e){rT(e)}},{setImmediate:xG,clearImmediate:EG}=DG,Su={setImmediate(...e){const{delegate:n}=Su;return(n?.setImmediate||xG)(...e)},clearImmediate(e){const{delegate:n}=Su;return(n?.clearImmediate||EG)(e)},delegate:void 0};new class SG extends Eg{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 IG extends xg{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=Su.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&&(Su.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function oT(e,n=Ig){return function TG(e){return ze((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(Re(t,c=>{i=!0,r=c,o||Ot(e(c)).subscribe(o=Re(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function RG(e=0,n,t=e4){let i=-1;return null!=n&&(V0(n)?t=n:i=n),new Ve(r=>{let o=function AG(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)})}(e,n))}let sT=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Ve(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(oT(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(Qt(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=ms(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>p_(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(C(q),C(Xt),C(ee,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aT=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new ce,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(oT(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#e=this.\u0275fac=function(i){return new(i||e)(C(Xt),C(q),C(ee,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vl=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})(),lT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[ol,vl,ol,vl]})}return e})();class g_{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 cT extends g_{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class NG extends g_{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 FG extends g_{constructor(n){super(),this.element=n instanceof _e?n.nativeElement:n}}class PG{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof cT?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof NG?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof FG?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class LG extends PG{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||yt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}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}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let dT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})();const uT=R3();class VG{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,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=tt(-this._previousScrollPosition.left),n.style.top=tt(-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"),uT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),uT&&(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 BG{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Qt(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}}class hT{enable(){}disable(){}attach(){}}function __(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function fT(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class jG{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}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();__(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 HG=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new hT,this.close=s=>new BG(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new VG(this._viewportRuler,this._document),this.reposition=s=>new jG(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(i){return new(i||e)(C(sT),C(aT),C(q),C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class UG{constructor(n){if(this.scrollStrategy=new hT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class $G{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let pT=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zG=(()=>{class e extends pT{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(q,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GG=(()=>{class e extends pT{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Wi(o)},this._clickListener=o=>{const s=Wi(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(Xt),C(q,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mT=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||wg()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new ce,this._outsidePointerEvents=new ce,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(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._ngZone.onStable.pipe(Tn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),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._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(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=tt(this._config.width),n.height=tt(this._config.height),n.minWidth=tt(this._config.minWidth),n.minHeight=tt(this._config.minHeight),n.maxWidth=tt(this._config.maxWidth),n.maxHeight=tt(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=Kd(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Ue(uu(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 gT="cdk-overlay-connected-position-bounding-box",WG=/([A-Za-z%]+)$/;class YG{get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ce,this._resizeSubscription=Ke.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(gT),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.visibleAreal&&(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&&Vr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(gT),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=vT(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,f),g=p*m;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,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=_T(this._overlayRef.getConfig().minHeight),a=_T(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=vT(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.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-n.x+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 f=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*f,u=n.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:h,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=tt(i.height),r.top=tt(i.top),r.bottom=tt(i.bottom),r.width=tt(i.width),r.left=tt(i.left),r.right=tt(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=tt(o)),s&&(r.maxWidth=tt(s))}this._lastBoundingBoxSize=i,Vr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Vr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Vr(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();Vr(i,this._getExactOverlayY(t,n,d)),Vr(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=tt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=tt(s.maxWidth):o&&(i.maxWidth="")),Vr(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=tt(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=tt(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fT(n,i),isOriginOutsideView:__(n,i),isOverlayClipped:fT(t,i),isOverlayOutsideView:__(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&&Kd(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 _e)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 Vr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function _T(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(WG);return t&&"px"!==t?null:parseFloat(n)}return e||null}function vT(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 yT="cdk-global-overlay-wrapper";class ZG{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._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(yT),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,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===d?(m="center",h?p=u:f=u):h?"left"===d||"end"===d?(m="flex-end",f=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",f=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":f,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(yT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let KG=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new ZG}flexibleConnectedTo(t){return new YG(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||e)(C(aT),C(ee),C(Xt),C(mT))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),QG=0,bs=(()=>{class e{constructor(t,i,r,o,s,a,l,c,d,u,h,f){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new UG(t);return s.direction=s.direction||this._directionality.value,new qG(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+QG++,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(Ui)),new LG(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||e)(C(HG),C(mT),C(ra),C(KG),C(zG),C(yt),C(q),C(ee),C(tu),C(Ko),C(GG),C(Fi,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const eq={provide:new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=x(bs);return()=>e.scrollStrategies.reposition()}}),deps:[bs],useFactory:function JG(e){return()=>e.scrollStrategies.reposition()}};let tq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[bs,eq],imports:[ol,dT,lT,lT]})}return e})();const nq=["tooltip"],wT=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const e=x(bs);return()=>e.scrollStrategies.reposition({scrollThrottle:20})}}),rq={provide:wT,deps:[bs],useFactory:function iq(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},sq=new D("mat-tooltip-default-options",{providedIn:"root",factory:function oq(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),CT="tooltip-panel",DT=tl({passive:!0});let hq=(()=>{class e{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=QI(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=QI(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=XI(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=XI(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,r,o,s,a,l,c,d,u,h,f){this._overlay=t,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=h,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=fq,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ce,this._scrollStrategy=d,this._document=f,h&&(this._showDelay=h.showDelay,this._hideDelay=h.hideDelay,h.position&&(this.position=h.position),h.positionAtOrigin&&(this.positionAtOrigin=h.positionAtOrigin),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe(Ue(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ue(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{t.removeEventListener(i,r,DT)}),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 cT(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(Ue(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 _e)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(Ue(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}-${CT}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ue(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ue(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ue(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Yd(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(),this._ngZone.onMicrotaskEmpty.pipe(Tn(1),Ue(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_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}-${CT}-`;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(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),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=()=>{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,DT)})}_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"}}static#e=this.\u0275fac=function(i){return new(i||e)(v(bs),v(_e),v(sT),v(sn),v(q),v(Xt),v(f4),v(Tg),v(wT),v(tu),v(sq,8),v(ee))};static#t=this.\u0275dir=k({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){2&i&&Bt("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[T.None,"matTooltipPosition","position"],positionAtOrigin:[T.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[T.None,"matTooltipDisabled","disabled"],showDelay:[T.None,"matTooltipShowDelay","showDelay"],hideDelay:[T.None,"matTooltipHideDelay","hideDelay"],touchGestures:[T.None,"matTooltipTouchGestures","touchGestures"],message:[T.None,"matTooltip","message"],tooltipClass:[T.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return e})(),fq=(()=>{class e{constructor(t,i,r){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ce,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===r}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,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#e=this.\u0275fac=function(i){return new(i||e)(v(Gn),v(_e),v(Fi,8))};static#t=this.\u0275cmp=nn({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(1&i&&td(nq,7),2&i){let o;Tt(o=At())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,r){1&i&&Ne("mouseleave",function(s){return r._handleMouseLeave(s)}),2&i&&wt("zoom",r.isVisible()?1:null)},standalone:!0,features:[Qn],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,r){1&i&&(R(0,"div",0,1),Ne("animationend",function(s){return r._handleAnimationEnd(s)}),R(2,"div",2),he(3),L()()),2&i&&(Bt("mdc-tooltip--multiline",r._isMultiline),X("ngClass",r.tooltipClass),N(3),qo(r.message))},dependencies:[$E],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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})(),pq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:[rq],imports:[I4,XE,tq,kn,kn,vl]})}return e})();function mq(e,n){if(1&e&&(R(0,"a",10),Ne("click",function(i){return i.stopPropagation()}),he(1),L()),2&e){const t=Ae().$implicit;kp("href","https://store.steampowered.com/app/"+t.titleId,_o),N(),un(" ",t.game_name," ")}}function gq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit;N(),un(" ",t.game_name," ")}}function _q(e,n){if(1&e){const t=function JC(){return w()}();R(0,"mat-chip-option",11),Ne("click",function(r){const s=function Kv(e){return U.lFrame.contextLView=e,e[De]}(t).$implicit,a=Ae().$implicit;return function Qv(e){return U.lFrame.contextLView=null,e}(Ae().onEngineClicked(r,a,s.key))}),he(1),L()}if(2&e){const t=n.$implicit,i=Ae().$implicit;X("selected",Ae().titleEnginePicked[i.titleId]==t.key)("value",t.key),N(),un(" ",t.key," ")}}function vq(e,n){1&e&&(R(0,"mat-icon",29),he(1," sports_esports "),L()),2&e&&wt("color","darkgray")}function yq(e,n){1&e&&(R(0,"mat-icon",30),he(1," sports_esports "),L()),2&e&&wt("color","red")}function bq(e,n){1&e&&(R(0,"mat-icon",31),he(1," sports_esports "),L()),2&e&&wt("color","green")}function wq(e,n){1&e&&(R(0,"mat-icon",32),he(1," sports_esports "),L()),2&e&&wt("color","yellow")}function Cq(e,n){1&e&&(R(0,"mat-icon",33),he(1," sports_esports "),L()),2&e&&wt("color","yellow")}function Dq(e,n){1&e&&(R(0,"mat-icon",34),he(1," sports_esports "),L()),2&e&&wt("color","yellow")}function xq(e,n){1&e&&(R(0,"mat-icon",35),he(1," cloud_off "),L()),2&e&&wt("color","darkgray")}function Eq(e,n){if(1&e&&(R(0,"mat-icon",14),he(1," cloud "),L()),2&e){const t=Ae(2).$implicit,i=Ae();wt("color","red"),X("matTooltip","Game Has Cloud Saves But Not Supported Due to "+i.translate_key(t.cloudIssueReason))}}function Iq(e,n){1&e&&(R(0,"mat-icon",36),he(1," cloud "),L()),2&e&&wt("color","darkgray")}function Sq(e,n){1&e&&(R(0,"mat-icon",37),he(1," cloud "),L()),2&e&&wt("color","green")}function Mq(e,n){if(1&e&&(R(0,"div",9)(1,"div",25),he(2,"Version"),L(),R(3,"div",26),he(4),L()()),2&e){const t=Ae(2).$implicit,i=Ae();N(4),un(" ",t.engines[i.titleEnginePicked[t.titleId]].version," ")}}function Tq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit;N(),un(" ",t.label," ")}}function Aq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit,i=Ae(5);N(),un(" ",i.NOTICE_MAP[t.value]," ")}}function Rq(e,n){if(1&e&&(R(0,"div"),he(1),L()),2&e){const t=Ae().$implicit,i=Ae(5);N(),un(" ",i.NOTICE_MAP[t.key]," ")}}function kq(e,n){if(1&e&&(R(0,"li"),Te(1,Tq,2,1,"div",6)(2,Aq,2,1,"div",6)(3,Rq,2,1,"div",6),L()),2&e){const t=n.$implicit;N(),X("ngIf",t.label),N(),X("ngIf",t.value),N(),X("ngIf",t.key&&!t.value&&!t.label)}}function Oq(e,n){if(1&e&&(Ho(0),Te(1,kq,4,3,"li",38),Uo()),2&e){const t=Ae(3).$implicit,i=Ae();N(),X("ngForOf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function Nq(e,n){if(1&e&&(Ho(0),R(1,"div",12)(2,"ul"),Te(3,Oq,2,1,"ng-container",6),L()(),Uo()),2&e){const t=Ae(2).$implicit,i=Ae();N(3),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices)}}function Fq(e,n){if(1&e&&(Ho(0),R(1,"div",12)(2,"div",9)(3,"div",13)(4,"mat-icon",14),he(5," install_desktop "),L(),R(6,"mat-icon",14),he(7," desktop_windows "),L(),R(8,"mat-icon",14),he(9," construction "),L(),Te(10,vq,2,2,"mat-icon",15)(11,yq,2,2,"mat-icon",16)(12,bq,2,2,"mat-icon",17)(13,wq,2,2,"mat-icon",18)(14,Cq,2,2,"mat-icon",19)(15,Dq,2,2,"mat-icon",20)(16,xq,2,2,"mat-icon",21)(17,Eq,2,3,"mat-icon",22)(18,Iq,2,2,"mat-icon",23)(19,Sq,2,2,"mat-icon",24),L()(),R(20,"div",9)(21,"div",25),he(22,"Engine"),L(),R(23,"div",26)(24,"a",27),he(25),L()()(),R(26,"div",9)(27,"div",25),he(28,"License"),L(),R(29,"div",26)(30,"a",27),he(31),L()()(),Te(32,Mq,5,1,"div",28),R(33,"div",9)(34,"div",25),he(35,"Contributor"),L(),R(36,"div",26)(37,"a",27),he(38),L()()()(),Te(39,Nq,4,1,"ng-container",6),Uo()),2&e){const t=Ae().$implicit,i=Ae();N(4),wt("color",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"yellow":"green"),X("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].manualSteps?"Manual Steps Required":"Automatic Installation"),N(2),wt("color",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"red":"green"),X("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].steamOverlayDisabled?"Steam Overlay Disabled":"Steam Overlay Enabled"),N(2),wt("color",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"yellow":"green"),X("matTooltip",t.engines[i.titleEnginePicked[t.titleId]].inProgress?"Engine May Have Missing Features":"Engine Considered Feature Complete"),N(2),X("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)),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerNotSupported),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&t.controllerSteamDefault),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&t.controllerSteamDefault),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupported&&!t.controllerSteamDefault),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].controllerSupportedManualGame&&!t.controllerSteamDefault),N(),X("ngIf",t.cloudNotAvailable),N(),X("ngIf",t.cloudAvailable&&t.cloudIssue),N(),X("ngIf",t.cloudAvailable&&!t.cloudSupported&&!t.cloudIssue),N(),X("ngIf",t.cloudAvailable&&t.cloudSupported),N(5),X("href",t.engines[i.titleEnginePicked[t.titleId]].engine_link,_o),N(),qo(i.titleEnginePicked[t.titleId]),N(5),X("href",t.engines[i.titleEnginePicked[t.titleId]].license_link,_o),N(),un(" ",t.engines[i.titleEnginePicked[t.titleId]].license," "),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].version),N(5),X("href",t.engines[i.titleEnginePicked[t.titleId]].author_link,_o),N(),un(" ",t.engines[i.titleEnginePicked[t.titleId]].author," "),N(),X("ngIf",t.engines[i.titleEnginePicked[t.titleId]].notices||t.notices)}}function Pq(e,n){if(1&e&&(R(0,"div",2)(1,"div",3)(2,"div",4),Te(3,mq,2,2,"a",5)(4,gq,2,1,"div",6),L(),R(5,"div",7)(6,"mat-chip-listbox"),Te(7,_q,2,3,"mat-chip-option",8),function xx(e,n){const t=te();let i;const r=e+G;t.firstCreatePass?(i=function YV(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=rr(i.type)),a=Ft(v);try{const l=Wl(!1),c=o();return Wl(l),function uV(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{Ft(a)}}(8,"keyvalue"),L()()(),R(9,"div",9),Te(10,Fq,40,27,"ng-container",6),L()()),2&e){const t=n.$implicit,i=Ae();N(3),X("ngIf",!t.isDefault),N(),X("ngIf",t.isDefault),N(3),X("ngForOf",Ex(8,4,t.engines)),N(3),X("ngIf",i.titleEnginePicked[t.titleId])}}const Lq=[{path:"**",component:(()=>{class e{constructor(){this.titles=[],this.titleEnginePicked={},this.NOTICE_MAP={},this.runControllerCheck=!0}ngOnInit(){var t=this;return function xl(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var o=e.apply(n,t);function s(l){Ds(o,i,r,s,a,"next",l)}function a(l){Ds(o,i,r,s,a,"throw",l)}s(void 0)})}}(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_nameo.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#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["app-packages"]],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,"href","click"],[3,"selected","value","click"],[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&&(R(0,"div",0),Te(1,Pq,11,6,"div",1),L()),2&i&&(N(),X("ngForOf",r.titles))},dependencies:[GE,WE,R8,f_,u_,hq,KE],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})()}];let Vq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[zI.forRoot(Lq),zI]})}return e})(),Bq=(()=>{class e{constructor(){this.title="webui"}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=nn({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,r){1&i&&cn(0,"router-outlet")},dependencies:[ag]})}return e})();function xT(e){return new y(3e3,!1)}function Xi(e){switch(e.length){case 0:return new gl;case 1:return e[0];default:return new QM(e)}}function ET(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((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(f);break;case Ci:m=i.get(f);break;default:m=e.normalizeStyleValue(f,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function lW(e){return new y(3502,!1)}();return o}function v_(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&y_(t,"start",e)));break;case"done":e.onDone(()=>i(t&&y_(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&y_(t,"destroy",e)))}}function y_(e,n,t){const o=b_(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 b_(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Jt(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function IT(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const bW=typeof document>"u"?null:document.documentElement;function w_(e){const n=e.parentNode||e.host||null;return n===bW?null:n}let Br=null,ST=!1;function MT(e,n){for(;n;){if(n===e)return!0;n=w_(n)}return!1}function TT(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let C_=(()=>{class e{validateStyleProperty(t){return function CW(e){Br||(Br=function DW(){return typeof document<"u"?document.body:null}()||{},ST=!!Br.style&&"WebkitAppearance"in Br.style);let n=!0;return Br.style&&!function wW(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Br.style,!n&&ST&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Br.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return MT(t,i)}getParentElement(t){return w_(t)}query(t,i,r){return TT(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new gl(r,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class D_{static#e=this.NOOP=new C_}class x_{}const EW=1e3,E_="ng-enter",Mu="ng-leave",Tu="ng-trigger",Au=".ng-trigger",RT="ng-animating",I_=".ng-animating";function xi(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:S_(parseFloat(n[1]),n[2])}function S_(e,n){return"s"===n?e*EW:e}function Ru(e,n,t){return e.hasOwnProperty("duration")?e:function SW(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(xT()),{duration:0,delay:0,easing:""};r=S_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=S_(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 jq(){return new y(3100,!1)}()),a=!0),o<0&&(n.push(function Hq(){return new y(3101,!1)}()),a=!0),a&&n.splice(l,0,xT())}return{duration:r,delay:o,easing:s}}(e,n,t)}function ri(e,n,t){n.forEach((i,r)=>{const o=T_(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function jr(e,n){n.forEach((t,i)=>{const r=T_(i);e.style[r]=""})}function yl(e){return Array.isArray(e)?1==e.length?e[0]:function k5(e,n=null){return{type:$.Sequence,steps:e,options:n}}(e):e}const M_=new RegExp("{{\\s*(.+?)\\s*}}","g");function OT(e){let n=[];if("string"==typeof e){let t;for(;t=M_.exec(e);)n.push(t[1]);M_.lastIndex=0}return n}function bl(e,n,t){const i=`${e}`,r=i.replace(M_,(o,s)=>{let a=n[s];return null==a&&(t.push(function $q(e){return new y(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const AW=/-+([a-z0-9])/g;function T_(e){return e.replace(AW,(...n)=>n[1].toUpperCase())}function en(e,n,t){switch(n.type){case $.Trigger:return e.visitTrigger(n,t);case $.State:return e.visitState(n,t);case $.Transition:return e.visitTransition(n,t);case $.Sequence:return e.visitSequence(n,t);case $.Group:return e.visitGroup(n,t);case $.Animate:return e.visitAnimate(n,t);case $.Keyframes:return e.visitKeyframes(n,t);case $.Style:return e.visitStyle(n,t);case $.Reference:return e.visitReference(n,t);case $.AnimateChild:return e.visitAnimateChild(n,t);case $.AnimateRef:return e.visitAnimateRef(n,t);case $.Query:return e.visitQuery(n,t);case $.Stagger:return e.visitStagger(n,t);default:throw function zq(e){return new y(3004,!1)}()}}function A_(e,n){return window.getComputedStyle(e)[n]}const OW=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 NT extends x_{normalizePropertyName(n,t){return T_(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(OW.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 Gq(e,n){return new y(3005,!1)}())}return s+o}}const ku="*";const Ou=new Set(["true","1"]),Nu=new Set(["false","0"]);function FT(e,n){const t=Ou.has(e)||Nu.has(e),i=Ou.has(n)||Nu.has(n);return(r,o)=>{let s=e==ku||e==r,a=n==ku||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?Ou.has(e):Nu.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Ou.has(n):Nu.has(n)),s&&a}}const LW=new RegExp("s*:selfs*,?","g");function R_(e,n,t,i){return new VW(e).build(n,t,i)}class VW{constructor(n){this._driver=n}build(n,t,i){const r=new HW(t);return this._resetContextStyleTimingState(r),en(this,yl(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 qq(){return new y(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==$.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==$.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function Wq(){return new y(3007,!1)}())}),{type:$.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=>{OT(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function Yq(e,n){return new y(3008,!1)}(0,o.values()))}return{type:$.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=en(this,yl(n.animation),t),r=function NW(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function FW(e,n,t){if(":"==e[0]){const l=function PW(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) *"}}(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 iW(e){return new y(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(FT(r,s)),"<"==o[0]&&(r!=ku||s!=ku)&&n.push(FT(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:$.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Hr(n.options)}}visitSequence(n,t){return{type:$.Sequence,steps:n.steps.map(i=>en(this,i,t)),options:Hr(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:$.Group,steps:o,options:Hr(n.options)}}visitAnimate(n,t){const i=function $W(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return k_(Ru(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=k_(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Ru(t,n);return k_(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:gn({});if(o.type==$.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=gn(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:$.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===Ci?i.push(a):t.errors.push(new y(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:$.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 Kq(e,n,t,i,r){return new y(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function TW(e,n,t){const i=n.params||{},r=OT(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function Uq(e){return new y(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:$.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Qq(){return new y(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(b=>{const _=this._makeStyleAst(b,t);let S=null!=_.offset?_.offset:function UW(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}(_.styles),M=0;return null!=S&&(o++,M=_.offset=S),l=l||M<0||M>1,a=a||M0&&o{const S=h>0?_==f?1:h*_:s[_],M=S*g;t.currentTime=p+m.delay+M,m.duration=M,this._validateStyleAst(b,t),b.offset=S,i.styles.push(b)}),i}visitReference(n,t){return{type:$.Reference,animation:en(this,yl(n.animation),t),options:Hr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:$.AnimateChild,options:Hr(n.options)}}visitAnimateRef(n,t){return{type:$.AnimateRef,animation:this.visitReference(n.animation,t),options:Hr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function BW(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(LW,"")),e=e.replace(/@\*/g,Au).replace(/@\w+/g,t=>Au+"-"+t.slice(1)).replace(/:animating/g,I_),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Jt(t.collectedStyles,t.currentQuerySelector,new Map);const a=en(this,yl(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:$.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Hr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function tW(){return new y(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Ru(n.timings,t.errors,!0);return{type:$.Stagger,animation:en(this,yl(n.animation),t),timings:i,options:null}}}class HW{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hr(e){return e?(e={...e}).params&&(e.params=function jW(e){return e?{...e}:null}(e.params)):e={},e}function k_(e,n,t){return{duration:e,delay:n,easing:t}}function O_(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 Fu{constructor(){this._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 qW=new RegExp(":enter","g"),YW=new RegExp(":leave","g");function N_(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new ZW).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class ZW{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new Fu;const u=new F_(n,t,c,r,o,d,[]);u.options=l;const h=l.delay?xi(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),en(this,i,u);const f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const g=f[m];if(g.element===t){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[O_(t,[],[],[],0,h,"",!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:xi(bl(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?xi(i.duration):null,a=null!=i.delay?xi(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==$.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Pu);const s=xi(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?xi(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 Ru(t.params?bl(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==$.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?xi(r.delay):0;o&&(t.previousNode.type===$.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Pu);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 Pu={};class F_{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.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Lu(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=xi(i.duration)),null!=i.delay&&(r.delay=xi(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]=bl(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 F_(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=Pu,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 KW(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(qW,"."+this._enterClassName)).replace(YW,"."+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 nW(e){return new y(3014,!1)}()),a}}class Lu{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(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 Lu(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||Ci),this._currentKeyframe.set(t,Ci);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function QW(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,Ci)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=bl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ci),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===Ci&&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 O_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class KW extends Lu{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",VT(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let h=new Map(n[u]);const f=h.get("offset");h.set("offset",VT((t+f*i)/s)),o.push(h)}i=s,t=0,r="",n=o}return O_(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function VT(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function BT(e,n,t,i,r,o,s,a,l,c,d,u,h){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:h}}const P_={};class jT{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function XW(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=[],h=this.ast.options&&this.ast.options.params||P_,p=this.buildStyles(i,a&&a.params||P_,u),m=l&&l.params||P_,g=this.buildStyles(r,m,u),b=new Set,_=new Map,S=new Map,M="void"===r,V={params:HT(m,h),delay:this.ast.options?.delay},re=d?[]:N_(n,t,this.ast.animation,o,s,p,g,V,c,u);let Ze=0;return re.forEach(ft=>{Ze=Math.max(ft.duration+ft.delay,Ze)}),u.length?BT(t,this._triggerName,i,r,M,p,g,[],[],_,S,Ze,u):(re.forEach(ft=>{const Ei=ft.element,Cs=Jt(_,Ei,new Set);ft.preStyleProps.forEach(Ur=>Cs.add(Ur));const iA=Jt(S,Ei,new Set);ft.postStyleProps.forEach(Ur=>iA.add(Ur)),Ei!==t&&b.add(Ei)}),BT(t,this._triggerName,i,r,M,p,g,re,[...b.values()],_,S,Ze))}}function HT(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class JW{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=HT(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=bl(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class t6{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new JW(r.style,r.options&&r.options.params||{},i))}),UT(this.states,"true","1"),UT(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new jT(n,r,this.states))}),this.fallbackTransition=function n6(e,n,t){return new jT(e,{type:$.Transition,animation:{type:$.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 UT(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 i6=new Fu;class r6{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=R_(this._driver,t,i,[]);if(i.length)throw function cW(e){return new y(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=ET(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=N_(this._driver,t,o,E_,Mu,new Map,new Map,i,i6,r),s.forEach(d=>{const u=Jt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function dW(){return new y(3300,!1)}()),s=[]),r.length)throw function uW(e){return new y(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,Ci))})});const c=Xi(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 hW(e){return new y(3301,!1)}();return t}listen(n,t,i,r){const o=b_(t,"","","");return v_(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 $T="ng-animate-queued",L_="ng-animate-disabled",c6=[],zT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},d6={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed";class V_{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function p6(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 wl="void",B_=new V_(wl);class u6{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,_n(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function fW(e,n){return new y(3302,!1)}();if(null==i||0==i.length)throw function pW(e){return new y(3303,!1)}();if(!function m6(e){return"start"==e||"done"==e}(i))throw function mW(e,n){return new y(3400,!1)}();const o=Jt(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Jt(this._engine.statesByElement,n,new Map);return a.has(t)||(_n(n,Tu),_n(n,Tu+"-"+t),a.set(t,B_)),()=>{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 gW(e){return new y(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new j_(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(_n(n,Tu),_n(n,Tu+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new V_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=B_),c.value!==wl&&l.value===c.value){if(!function v6(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r{jr(n,g),ri(n,b)})}return}const h=Jt(this._engine.playersByElement,n,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(_n(n,$T),s.onStart(()=>{ws(n,$T)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(n);if(g){let b=g.indexOf(s);b>=0&&g.splice(b,1)}}),this.players.push(s),h.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,Au,!0);i.forEach(r=>{if(r[Nn])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,wl,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Xi(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)||B_,d=new V_(wl),u=new j_(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[Nn];(!o||o===zT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){_n(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=b_(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,v_(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 h6{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}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 u6(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(Vu(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!Vu(t))return;const o=t[Nn];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),_n(n,L_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),ws(n,L_))}removeNode(n,t,i){if(Vu(t)){this.scheduler?.notify();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[Nn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return Vu(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,Au,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,I_,!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 Xi(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Nn];if(t&&t.setForRemoval){if(n[Nn]=zT,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(L_)&&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;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Xi(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function _W(e){return new y(3402,!1)}()}_flushAnimations(n,t){const i=new Fu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(A=>{d.add(A);const P=this.driver.query(A,".ng-animate-queued",!0);for(let H=0;H{const H=E_+m++;p.set(P,H),A.forEach(oe=>_n(oe,H))});const g=[],b=new Set,_=new Set;for(let A=0;Ab.add(oe)):_.add(P))}const S=new Map,M=WT(h,Array.from(b));M.forEach((A,P)=>{const H=Mu+m++;S.set(P,H),A.forEach(oe=>_n(oe,H))}),n.push(()=>{f.forEach((A,P)=>{const H=p.get(P);A.forEach(oe=>ws(oe,H))}),M.forEach((A,P)=>{const H=S.get(P);A.forEach(oe=>ws(oe,H))}),g.forEach(A=>{this.processLeaveNode(A)})});const V=[],re=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(t).forEach(H=>{const oe=H.player,ct=H.element;if(V.push(oe),this.collectedEnterElements.length){const Dt=ct[Nn];if(Dt&&Dt.setForMove){if(Dt.previousTriggersValues&&Dt.previousTriggersValues.has(H.triggerName)){const $r=Dt.previousTriggersValues.get(H.triggerName),vn=this.statesByElement.get(H.element);if(vn&&vn.has(H.triggerName)){const ju=vn.get(H.triggerName);ju.value=$r,vn.set(H.triggerName,ju)}}return void oe.destroy()}}const oi=!u||!this.driver.containsElement(u,ct),tn=S.get(ct),Ji=p.get(ct),Pe=this._buildInstruction(H,i,Ji,tn,oi);if(Pe.errors&&Pe.errors.length)return void re.push(Pe);if(oi)return oe.onStart(()=>jr(ct,Pe.fromStyles)),oe.onDestroy(()=>ri(ct,Pe.toStyles)),void r.push(oe);if(H.isFallbackTransition)return oe.onStart(()=>jr(ct,Pe.fromStyles)),oe.onDestroy(()=>ri(ct,Pe.toStyles)),void r.push(oe);const sA=[];Pe.timelines.forEach(Dt=>{Dt.stretchStartingKeyframe=!0,this.disabledNodes.has(Dt.element)||sA.push(Dt)}),Pe.timelines=sA,i.append(ct,Pe.timelines),s.push({instruction:Pe,player:oe,element:ct}),Pe.queriedElements.forEach(Dt=>Jt(a,Dt,[]).push(oe)),Pe.preStyleProps.forEach((Dt,$r)=>{if(Dt.size){let vn=l.get($r);vn||l.set($r,vn=new Set),Dt.forEach((ju,z_)=>vn.add(z_))}}),Pe.postStyleProps.forEach((Dt,$r)=>{let vn=c.get($r);vn||c.set($r,vn=new Set),Dt.forEach((ju,z_)=>vn.add(z_))})});if(re.length){const A=[];re.forEach(P=>{A.push(function vW(e,n){return new y(3505,!1)}())}),V.forEach(P=>P.destroy()),this.reportError(A)}const Ze=new Map,ft=new Map;s.forEach(A=>{const P=A.element;i.has(P)&&(ft.set(P,P),this._beforeAnimationBuild(A.player.namespaceId,A.instruction,Ze))}),r.forEach(A=>{const P=A.element;this._getPreviousPlayers(P,!1,A.namespaceId,A.triggerName,null).forEach(oe=>{Jt(Ze,P,[]).push(oe),oe.destroy()})});const Ei=g.filter(A=>ZT(A,l,c)),Cs=new Map;qT(Cs,this.driver,_,c,Ci).forEach(A=>{ZT(A,l,c)&&Ei.push(A)});const Ur=new Map;f.forEach((A,P)=>{qT(Ur,this.driver,new Set(A),l,"!")}),Ei.forEach(A=>{const P=Cs.get(A),H=Ur.get(A);Cs.set(A,new Map([...P?.entries()??[],...H?.entries()??[]]))});const $_=[],rA=[],oA={};s.forEach(A=>{const{element:P,player:H,instruction:oe}=A;if(i.has(P)){if(d.has(P))return H.onDestroy(()=>ri(P,oe.toStyles)),H.disabled=!0,H.overrideTotalTime(oe.totalTime),void r.push(H);let ct=oA;if(ft.size>1){let tn=P;const Ji=[];for(;tn=tn.parentNode;){const Pe=ft.get(tn);if(Pe){ct=Pe;break}Ji.push(tn)}Ji.forEach(Pe=>ft.set(Pe,ct))}const oi=this._buildAnimation(H.namespaceId,oe,Ze,o,Ur,Cs);if(H.setRealPlayer(oi),ct===oA)$_.push(H);else{const tn=this.playersByElement.get(ct);tn&&tn.length&&(H.parentPlayer=Xi(tn)),r.push(H)}}else jr(P,oe.fromStyles),H.onDestroy(()=>ri(P,oe.toStyles)),rA.push(H),d.has(P)&&r.push(H)}),rA.forEach(A=>{const P=o.get(A.element);if(P&&P.length){const H=Xi(P);A.setRealPlayer(H)}}),r.forEach(A=>{A.parentPlayer?A.syncPlayerEvents(A.parentPlayer):A.destroy()});for(let A=0;A!oi.destroyed);ct.length?g6(this,P,ct):this.processLeaveNode(P)}return g.length=0,$_.forEach(A=>{this.players.push(A),A.onDone(()=>{A.destroy();const P=this.players.indexOf(A);this.players.splice(P,1)}),A.play()}),$_}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==wl;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=Jt(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}jr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,h=t.timelines.map(p=>{const m=p.element;d.add(m);const g=m[Nn];if(g&&g.removedBeforeQueried)return new gl(p.duration,p.delay);const b=m!==l,_=function _6(e){const n=[];return YT(e,n),n}((i.get(m)||c6).map(Ze=>Ze.getRealPlayer())).filter(Ze=>!!Ze.element&&Ze.element===m),S=o.get(m),M=s.get(m),V=ET(this._normalizer,p.keyframes,S,M),re=this._buildPlayer(p,V,_);if(p.subTimeline&&r&&u.add(m),b){const Ze=new j_(n,a,m);Ze.setRealPlayer(re),c.push(Ze)}return re});c.forEach(p=>{Jt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function f6(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=>_n(p,RT));const f=Xi(h);return f.onDestroy(()=>{d.forEach(p=>ws(p,RT)),ri(l,t.toStyles)}),u.forEach(p=>{Jt(r,p,[]).push(f)}),f}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new gl(n.duration,n.delay)}}class j_{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new gl,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>v_(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){Jt(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 Vu(e){return e&&1===e.nodeType}function GT(e,n){const t=e.style.display;return e.style.display=n??"none",t}function qT(e,n,t,i,r){const o=[];t.forEach(l=>o.push(GT(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=n.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Nn]=d6,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>GT(l,o[a++])),s}function WT(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 _n(e,n){e.classList?.add(n)}function ws(e,n){e.classList?.remove(n)}function g6(e,n,t){Xi(t).onDone(()=>e.processLeaveNode(n))}function YT(e,n){for(let t=0;tr.add(o)):n.set(e,i),t.delete(e),!0}class Cl{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new h6(n.body,t,i,r),this._timelineEngine=new r6(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=R_(this._driver,o,l,[]);if(l.length)throw function aW(e,n){return new y(3404,!1)}();a=function e6(e,n,t){return new t6(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]=IT(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]=IT(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)}}class Dl{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=Dl.initialStylesByElement.get(n);r||Dl.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ri(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ri(this._element,this._initialStyles),this._endStyles&&(ri(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Dl.initialStylesByElement.delete(this._element),this._startStyles&&(jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jr(this._element,this._endStyles),this._endStyles=null),ri(this._element,this._initialStyles),this._state=3)}}function H_(e){let n=null;return e.forEach((t,i)=>{(function b6(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class KT{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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:A_(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class QT{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return MT(n,t)}getParentElement(n){return w_(n)}query(n,t,i){return TT(n,t,i)}computeStyle(n,t,i){return A_(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(f=>f instanceof KT);(function RW(e,n){return 0===e||0===n})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function MW(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(f=>new Map(f));u=function kW(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;os.set(a,A_(e,a)))}}return n}(n,u,c);const h=function y6(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=H_(n[0]),n.length>1&&(i=H_(n[n.length-1]))):n instanceof Map&&(t=H_(n)),t||i?new Dl(e,t,i):null}(n,u);return new KT(n,u,l,h)}}const XT="@.disabled";class JT{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}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.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==XT?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 w6 extends JT{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==XT?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 C6(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 D6(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 x6{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,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 JT("",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 w6(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&&nt(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 eA=[{provide:x_,useFactory:function I6(){return new NT}},{provide:Cl,useClass:(()=>{class e extends Cl{constructor(t,i,r){super(t,i,r,x(Df,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ee),C(D_),C(x_))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})()},{provide:Ff,useFactory:function S6(e,n,t){return new x6(e,n,t)},deps:[Om,Cl,q]}],U_=[{provide:D_,useFactory:()=>new QT},{provide:Fi,useValue:"BrowserAnimations"},...eA],tA=[{provide:D_,useClass:C_},{provide:Fi,useValue:"NoopAnimations"},...eA];let M6=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?tA:U_}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({providers:U_,imports:[v0]})}return e})(),T6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({})}return e})(),A6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,T6,dT]})}return e})(),k6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e});static#n=this.\u0275inj=Se({imports:[kn,vl,vl,kn]})}return e})(),O6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=ke({type:e,bootstrap:[Bq]});static#n=this.\u0275inj=Se({imports:[v0,Vq,M6,A6,k8,hG,k6,pq]})}return e})();rU().bootstrapModule(O6).catch(e=>console.error(e))}},Ds=>{Ds(Ds.s=407)}]); \ No newline at end of file